.trail-map-controls { display: flex; align-items: end; flex-wrap: wrap; gap: .75rem 1.25rem; }
.trail-map-controls label { display: grid; gap: .25rem; font-weight: 700; }
.trail-map-controls select { min-block-size: 2.75rem; min-inline-size: 12rem; padding-inline: .65rem; font: inherit; }
.trail-layer-controls { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 .35rem; }
.trail-layer-button { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.65rem; padding: .5rem .8rem; border: 1px solid #6f806f; border-radius: 999px; background: #fff; color: #1d3424; font: 700 .95rem/1.2 system-ui; cursor: pointer; }
.trail-layer-button[aria-pressed="true"] { background: #183e2b; border-color: #183e2b; color: #fff; }
.trail-layer-button:focus-visible { outline: 3px solid #c06b16; outline-offset: 2px; }
.trail-search-button { text-decoration: none; background: #e7f1e8; border-color: #69936f; }
.trail-search-button:hover { background: #d4e8d8; }
.layer-dot { width: .8rem; height: .8rem; border: 2px solid currentColor; border-radius: 50%; background: #29452c; }
.layer-dot-repeater { background: #8d3ccc; }
.layer-dot-mvum { background: #d08b22; }
.layer-dot-shop { background: #155b94; }
.layer-dot-fuel { background: #bc5a1b; }
.layer-dot-repair { background: #66727e; }
#trail-layer-status { min-height: 1.4em; margin: .35rem 0 .8rem; }
.repeater-pin { display: grid; place-items: center; width: 18px; height: 18px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 1px 5px #0009; color: #fff; font: 700 12px/1 system-ui; }
.repeater-pin { background: #8d3ccc; }
.shop-pin { display: grid; place-items: center; background: #155b94; color: #fff; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 1px 5px #0009; font: 700 14px/1 system-ui; }
.trail-map-legend { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin: .35rem 0 .65rem; font-size: .88rem; color: #273c2b; }
.trail-map-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.legend-symbol { display: inline-grid; place-items: center; width: 17px; height: 17px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #56695a; color: #fff; font: 700 10px/1 system-ui; font-style: normal; }
.legend-trail { background: #29452c; }
.legend-repeater { background: #8d3ccc; }
.legend-mvum { width: 22px; height: 4px; border: 0; border-radius: 0; background: #d08b22; box-shadow: none; }
.legend-mvum-trail { width: 22px; height: 4px; border: 0; border-radius: 0; background: #8a3fb5; box-shadow: none; }
.legend-shop { background: #155b94; }
.legend-location { background: #176bc4; }
#trail-map { block-size: clamp(30rem, 76vh, 54rem); border-radius: .65rem; border: 1px solid var(--line); z-index: 0; }
.trail-shop-results { margin: 1rem 0; padding: 1rem; background: #f5f8f3; border: 1px solid #c5d3c5; border-radius: .7rem; }
.trail-shop-results[hidden] { display: none; }
.trail-shop-results h2 { margin: 0 0 .3rem; font-size: 1.25rem; }
.trail-shop-results > p { margin: 0 0 .8rem; }
.trail-shop-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap: .7rem; }
.trail-shop-card { padding: .8rem; background: #fff; border: 1px solid #d3ddd2; border-radius: .5rem; }
.trail-shop-card p { margin: .3rem 0 .6rem; font-size: .9rem; }
.trail-shop-card button { border: 0; padding: 0; color: #155b94; cursor: pointer; font: inherit; text-decoration: underline; }
.trail-pin { display: grid; place-items: center; background: #29452c; border: 2px solid white; border-radius: 50%; color: white; box-shadow: 0 1px 4px #0008; font: 700 11px/1 system-ui; }
.trail-pin:focus-visible { outline: 3px solid #151515; outline-offset: 2px; }
.trail-popup { max-block-size: 14rem; overflow-y: auto; }
.trail-popup p { margin: .35rem 0; }
.trail-popup section + section { border-top: 1px solid #ccc; margin-top: .65rem; padding-top: .65rem; }
.cleanup-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.25rem; align-items: center; }
.cleanup-intro figure { margin: 0; text-align: center; }
.cleanup-intro img { display: block; inline-size: min(100%, 12rem); block-size: auto; margin: 0 auto .5rem; }
.cleanup-intro figcaption { font-size: .9rem; }
