.route-page .page-intro { padding:42px 0 32px; }
.route-page .page-intro h1 { font-size:clamp(27px,3vw,40px); }
.route-page .page-intro>p:last-child { margin-top:16px; }
.route-explorer { border:1px solid var(--line); background:#fff; padding:24px; }
.route-page .map-toolbar { background:none; padding:0; gap:18px; }
.route-page .control-group { min-width:0; }
.route-page .control-group label { font-size:13px; font-weight:500; }
.route-page .control-group select { border-radius:4px; font-size:16px; min-height:48px; }
.route-map-actions { display:flex; justify-content:space-between; align-items:center; gap:16px; margin:22px 0 14px; flex-wrap:wrap; }
.route-page .route-legend { margin:0; gap:20px; }
.route-page .route-legend span { font-size:13px; }
.route-page .route-legend i { width:24px; height:0; border-top:4px solid; }
.route-key-am { border-color:#287e96!important; }
.route-key-in { border-color:#243e66!important; border-top-style:dashed!important; }
.route-key-out { border-color:#716091!important; border-top-style:dotted!important; }
.route-map-buttons { display:flex; gap:8px; }
.route-map-buttons button,.route-landmarks button { border:1px solid #c5d3df; color:var(--ink); background:linear-gradient(145deg,#ffffffeb,#e9f1f8d9); border-radius:22px; min-height:44px; padding:8px 14px; font-size:13px; }
.route-map-buttons button:hover,.route-landmarks button:hover { background:#edf4f9; }
.route-map-buttons button:disabled { opacity:.5; cursor:default; }
.route-page #map { height:510px; border-radius:4px; background:#e9eff3; }
.route-page .route-status { margin:12px 0 4px!important; font-size:14px; color:var(--ink); }
.location-status { font-size:12px; color:var(--muted); }
.route-landmarks { display:flex; gap:14px; align-items:center; margin-top:18px; border-top:1px solid var(--line); padding-top:16px; }
.route-landmarks>span { white-space:nowrap; font-size:13px; }
#landmark-links { display:flex; flex-wrap:wrap; gap:8px; }
.route-guidance { display:flex; align-items:center; justify-content:space-between; gap:12px 24px; padding:22px 0; border-bottom:1px solid var(--line); }
.route-guidance p { font-size:14px; }
.route-guidance a { flex-shrink:0; }
.route-stops { padding-top:48px; }
.route-page .point-list-columns { grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
.route-page .point-column { border-top-color:#287e96; }
.route-page .point-column[data-part=in] { border-top-color:#243e66; }
.route-page .point-column[data-part=out] { border-top-color:#716091; }
.route-page .column-title { font:600 19px var(--serif); margin-bottom:16px; }
.route-page .point-card { display:flex; align-items:center; gap:12px; padding:14px 0; text-align:left; }
.route-page .point-card strong { font:500 14px/1.7 var(--sans); }
.point-number { display:inline-flex; flex-shrink:0; align-items:center; justify-content:center; width:26px; height:26px; border-radius:50%; background:#edf3f7; font-size:12px; color:var(--accent); }
.route-marker { background:white; border:2px solid var(--point-color); border-radius:50%; color:var(--point-color); font:700 11px/22px var(--sans); text-align:center; box-shadow:0 1px 4px #23364b33; }
.route-page .leaflet-control-zoom a { width:40px; height:40px; line-height:40px; }
.route-page .leaflet-popup-content { font:500 14px/1.8 var(--sans); }
.route-page .leaflet-popup-content small { display:block; font-size:12px; color:var(--muted); }
.route-help { margin-bottom:60px; }
@media(max-width:700px) {
  .route-page .page-intro { padding:24px 0; }
  .route-page .page-intro>p:last-child { font-size:14px; }
  .route-explorer { padding:14px; margin-inline:-8px; }
  .route-page .map-toolbar { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
  .route-page .control-group { gap:5px; }
  .route-page .control-group:last-child { grid-column:1/-1; }
  .route-map-actions { margin-top:16px; gap:12px; }
  .route-page .route-legend { width:100%; justify-content:space-between; gap:8px; }
  .route-map-buttons { width:100%; }
  .route-map-buttons button { flex:1; }
  .route-page #map { height:clamp(290px,52svh,440px); }
  .route-landmarks { align-items:flex-start; flex-direction:column; gap:10px; }
  .route-guidance { align-items:flex-start; flex-direction:column; padding:20px 0; }
  .route-page .point-list-columns { grid-template-columns:1fr; }
  .route-stops { padding-top:32px; }
  .route-page .section-heading { gap:12px; }
  .route-page .point-column { padding:18px; }
}

.route-marker-am { --point-color:#287e96; }
.route-marker-in { --point-color:#243e66; }
.route-marker-out { --point-color:#716091; }
