.zr-routes-section .section-head{align-items:end}
.zr-route-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}
.zr-route-filters label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#647892}
.zr-route-filters select{width:100%;height:52px;padding:0 14px;border:1px solid #d3e0f0;border-radius:13px;background:#fff;color:#253853;font:600 13px Montserrat,Arial,sans-serif}
.zr-route-filters select:focus-visible{outline:2px solid #3565f4;outline-offset:2px}
.zr-route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.zr-route-card{display:flex;flex-direction:column;min-width:0;padding:19px;border:1px solid #d8e5f2;border-radius:18px;background:#fff;box-shadow:0 8px 25px rgba(42,74,116,.05)}
.zr-route-header{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;font-weight:800}
.zr-route-type{color:#3565f4;text-transform:uppercase;letter-spacing:.05em}
.zr-route-level{border-radius:999px;padding:5px 9px;background:#eaf2ff;color:#3157a3}
.zr-route-level.zr-medium{background:#fff1e9;color:#a9491b}
.zr-route-level.zr-hard{background:#edf0f4;color:#344056}
.zr-route-card h3{margin:13px 0 8px;font-size:18px;line-height:1.25}
.zr-route-metrics{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px}
.zr-route-metrics strong{font-size:25px;color:#254a9a}
.zr-route-metrics span{font-size:12px;font-weight:700;color:#61738a}
.zr-route-tech{display:flex;align-items:center;gap:6px;min-height:33px;font-size:12px;font-weight:700;color:#3565f4}
.zr-route-tech .track-icon{width:39px}
.zr-route-access,.zr-route-note{margin:4px 0;font-size:12px;color:#586b84}
.zr-route-note{line-height:1.45}
.zr-route-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:14px;border-top:1px solid #e6edf5;font-size:11px}
.zr-route-unknown{color:#6f7f93}
.zr-route-footer a{font-weight:700;white-space:nowrap;color:#3565f4}
.zr-route-subhead{grid-column:1/-1;margin-top:12px}
.zr-route-subhead h3{margin:0 0 3px;font-size:18px}
.zr-route-subhead p{margin:0;color:#65788f;font-size:12px}

.zr-route-empty{grid-column:1/-1;color:#65788f}
@media(max-width:960px){.zr-route-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.zr-route-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.zr-route-filters,.zr-route-grid{grid-template-columns:1fr}.zr-route-card{padding:16px}.zr-route-footer{align-items:flex-start;flex-direction:column}}
/* One explorer: shared filters, selection and map. */
.zr-explorer{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.3fr);gap:22px;align-items:start}
.zr-explorer .zr-route-grid{grid-template-columns:1fr}.zr-list-pane{max-height:820px;overflow:auto;padding:2px 8px 12px 2px;scrollbar-width:thin}.zr-map-pane{position:sticky;top:105px;border:1px solid #d3e0ef;border-radius:22px;overflow:hidden;background:#fff;min-width:0;scroll-margin-top:110px}.zr-map-toolbar{padding:15px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;font-size:13px;font-weight:700}.zr-map-toolbar>div{display:flex;flex-wrap:wrap;gap:3px;padding:4px;background:#edf2fa;border-radius:10px}.zr-map-toolbar button,.zr-view-switch button,#zr-clear-route{font:600 12px Montserrat,Arial,sans-serif;cursor:pointer;border:0;border-radius:8px;padding:10px;background:transparent;color:#35557e}.zr-map-toolbar button[aria-pressed=true],.zr-view-switch button[aria-pressed=true]{color:#fff;background:#365bfa}.zr-demo-label{background:#fff6dc;color:#82682a;padding:7px 14px;font-size:10px;text-align:center}.zr-map-pane svg{display:block;width:100%;max-height:520px}.zr-map-line{fill:none;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.zr-map-halo{fill:none;stroke:#9447e5;stroke-width:13;stroke-linejoin:round;opacity:0;pointer-events:none}.zr-map-route.active .zr-map-halo{opacity:1}.zr-map-hit{fill:none;stroke:transparent;stroke-width:20;cursor:pointer}.zr-map-hit:focus{stroke:#a166df55;outline:none}.zr-map-places{font:600 12px Montserrat,Arial;fill:#334d48;pointer-events:none}.zr-map-places circle{fill:white;stroke:#334d48;stroke-width:2}.zr-map-terrain{font:600 10px Arial;fill:#9aac9c;letter-spacing:2px}#zr-map-legend{padding:10px 14px;font-size:11px;line-height:1.6;color:#51657c;border-top:1px solid #e4ebf3}#zr-map-legend .zr-legend-source{display:block;margin-bottom:3px}#zr-map-selection{display:flex;justify-content:space-between;gap:10px;padding:18px;background:#f2f5ff;min-height:120px}#zr-map-selection h3{font-size:18px;margin:6px 0}#zr-map-selection p{font-size:12px;margin:6px 0}#zr-map-selection small{font-size:10px;color:#647a92}#zr-clear-route{align-self:flex-start;font-size:23px}.zr-route-footer{margin-top:10px}.zr-view-switch{display:flex;gap:7px;margin:0 0 17px}.zr-view-switch button{background:#eaf0fa}.zr-view-switch #zr-reset{margin-left:auto;background:transparent;text-decoration:underline}.zr-trip-extras .map-layout{display:block}.zr-trip-extras aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.zr-routes-section{scroll-margin-top:100px}
@media(min-width:761px){.zr-view-switch [data-view]{display:none}}
@media(max-width:760px){.zr-explorer{display:block}.zr-map-pane{position:relative;top:0;scroll-margin-top:100px}.zr-list-pane{max-height:none;overflow:visible;padding:0}.zr-explorer[data-view=list] .zr-map-pane{display:none}.zr-explorer[data-view=map] .zr-list-pane{display:none}.zr-map-pane svg{max-height:53vh;min-height:290px}.zr-route-filters{width:100%;min-width:0;grid-template-columns:minmax(0,1fr);gap:9px;margin:16px 0}.zr-route-filters label{min-width:0;font-size:11px}.zr-route-filters select{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;font-size:11px;padding:0 8px;height:46px}.zr-route-footer{flex-direction:row;align-items:center}.zr-trip-extras aside{grid-template-columns:1fr}.zr-view-switch{position:sticky;top:72px;z-index:4;background:#f4f8ff;padding:7px 0}.zr-view-switch button{padding:11px 8px;font-size:11px}.zr-map-toolbar>span{display:none}.zr-map-toolbar{justify-content:center;padding:9px}.zr-map-toolbar button{font-size:11px}.zr-route-card h3{font-size:18px}}

.zr-route-card{transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.zr-route-card.is-hovered,.zr-route-card:focus-visible{border-color:#9447e5;box-shadow:0 0 0 2px #9447e524,0 12px 30px #223b5b16;transform:translateY(-2px);outline:none}.zr-legend-source{flex-basis:100%;font-size:10px;color:#8998ac}.zr-legend-dot{display:inline-block;width:11px;height:11px;border-radius:50%;margin:0 4px 0 10px;vertical-align:-1px}.age-1{background:#a50058}.age-3{background:#e63288}.age-7{background:#d894b1}.age-unknown{background:#416cc4}.q-excellent{background:#11A95A}.q-very-good{background:#69C982}.q-passable{background:#F2C532}.q-limited{background:#F28B2A}.q-bad{background:#E64444}.q-unknown{background:#8996a8}.zr-demo-label{background:#f1f5fb;color:#647892}
.leaflet-zrPlannedPane-pane .zr-route-glow{filter:drop-shadow(0 0 4px rgba(255,255,255,.98)) drop-shadow(0 0 9px rgba(255,255,255,.9)) drop-shadow(0 0 15px rgba(139,205,255,.72));transition:opacity .18s ease,stroke-width .18s ease}
.zr-map-area-label{display:flex;align-items:center;gap:10px;color:#344e71}.zr-map-area-label select{font:600 12px Montserrat,Arial,sans-serif;color:#35557e;background:#fff;border:1px solid #d5e2f2;border-radius:8px;padding:9px 12px}.zr-map-places text{paint-order:stroke;stroke:#eff5ef;stroke-width:4px;stroke-linejoin:round}.zr-map-places circle{fill:#fff;stroke:#35557e;stroke-width:2px}.zr-selected-halo{fill:none;stroke:#fff;stroke-width:13;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 3px #14253c88);pointer-events:none}.zr-selected-route{fill:none;stroke:#7C3AED;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.zr-route-highlight-chip{display:inline-block;padding:4px 8px;border-radius:999px;background:#f1eaff;color:#6326c8;font-weight:800}.zr-show-route{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:13px;align-self:flex-start;padding:10px 13px;border:1px solid #d7c4ff;border-radius:10px;background:#f5efff;color:#6326c8;font:700 12px Montserrat,Arial,sans-serif;cursor:pointer}.zr-show-route:hover{background:#eadfff;border-color:#7C3AED}.zr-show-route img{width:17px;height:17px;filter:brightness(0) saturate(100%) invert(24%) sepia(74%) saturate(2423%) hue-rotate(217deg) brightness(91%) contrast(95%)}.section-nav-heading{display:flex;align-items:center;gap:11px}.section-nav-heading .nav-icon,.zr-map-area-label [data-nav-heading] .nav-icon{width:31px;height:31px;flex:0 0 31px;color:#365bfa}.section-nav-heading .nav-icon img,.zr-map-area-label [data-nav-heading] .nav-icon img{width:100%;height:100%;object-fit:contain}.zr-map-area-label [data-nav-heading]{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:800}.area-weather .eyebrow{display:flex;align-items:center;gap:8px}.area-weather .eyebrow .nav-icon{width:23px;height:23px}.area-weather .eyebrow .nav-icon svg{width:100%;height:100%}@media(max-width:760px){.zr-map-area-label{width:100%;justify-content:space-between}.zr-map-area-label select{max-width:66%}}
.zr-selected-legend{background:#7C3AED}.zr-route-highlight-chip:before{content:"";display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:50%;background:#7C3AED}.support .section-nav-heading .nav-icon{color:#fff}
.zr-routes-section.zr-map-open .zr-view-switch{position:relative;top:auto;z-index:auto}
.zr-routes-section.zr-map-open .zr-map-pane{position:relative;top:auto}

.zr-route-map-link{display:block;width:max-content;max-width:100%;margin:8px 0 0;color:#4165ef;font:700 12px Montserrat,Arial,sans-serif;text-decoration:underline;text-underline-offset:3px}.zr-route-card .zr-show-route{display:inline-flex}
.zr-groomer-icon{display:inline-block;width:22px;height:22px;flex:0 0 22px;vertical-align:middle;margin-right:6px;background:currentColor;-webkit-mask:url("assets/icon-groomer.svg") center/contain no-repeat;mask:url("assets/icon-groomer.svg") center/contain no-repeat}.zr-map-title{display:flex;align-items:center;font-weight:800;color:#344e71}.zr-routes-section.zr-map-open .zr-view-switch{position:relative;top:auto;z-index:auto}.zr-routes-section.zr-map-open .zr-map-pane{position:relative;top:auto}

.nav-icon.gps-map-icon{width:52px;gap:2px}.nav-icon.gps-map-icon img{width:23px;height:23px;flex:0 0 23px}

.nav-icon.gps-map-icon{width:31px;height:27px;flex:0 0 31px;gap:0}.nav-icon.gps-map-icon svg{display:block;width:31px;height:27px}

.nav-icon.gps-map-icon{width:31px;height:31px;flex:0 0 31px;gap:0}.nav-icon.gps-map-icon svg{display:block;width:31px;height:31px}
.zr-selected-halo{stroke:#fff;stroke-width:14;filter:drop-shadow(0 1px 3px #14253c55)}.zr-selected-outline{fill:none;stroke:#193754;stroke-width:9;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.zr-selected-route{fill:none;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.zr-selected-legend{background:#193754}.zr-route-highlight-chip{background:#edf3f9;color:#193754}.zr-route-highlight-chip:before{background:#193754}

/* Keep the live result count above the list without pushing route cards below the map. */
@media(min-width:761px){
  .zr-list-pane{position:relative;padding-top:0}
  .zr-list-pane>.route-count{position:absolute;top:-25px;left:2px;margin:0}
}

/* Let fallback columns participate in the same three-column area card grid. */
#area-panel .area-panel-fallback{display:contents}

/* Georeferenced routes on the Mapy.com winter basemap. */
#zr-map-canvas{height:clamp(420px,52vw,720px);min-height:420px;background:#edf2f6}
#zr-map-canvas .leaflet-container{width:100%;height:100%;font:12px Montserrat,Arial,sans-serif;background:#edf2f6}
#zr-map-canvas .leaflet-tooltip{max-width:260px;white-space:normal;color:#23344d;font-weight:700}
.zr-demo-label{background:#f1f5fb;color:#526987;font-size:11px}
.zr-map-pane .leaflet-control-attribution{font-size:9px}
@media(max-width:760px){#zr-map-canvas{height:55vh;min-height:360px}.zr-map-pane .leaflet-control-zoom{display:none}}
.zr-route-map-link.is-unavailable{color:#72839c;text-decoration:none;cursor:default}

@media(min-width:761px){.zr-route-card .zr-show-route{display:none!important}}
