/* Scoped light palette: independent of the base plugin's automatic dark mode. */
.ch-route .gpxrm{--gpxrm-track:#008a7a;--gpxrm-surface:#fff;--gpxrm-border:#dfeae5;--gpxrm-text:#183b35;--gpxrm-muted:#60756e;color-scheme:light;background:#fff;border-color:#dfeae5;box-shadow:0 6px 24px rgba(15,65,48,.06)}
.ch-route .gpxrm-map,.ch-route .gpxrm-placeholder{background:#edf5f1;color:#456658}
.ch-route .gpxrm-stats{gap:10px;padding:14px;background:#f1f7f4;border-top:1px solid #dfeae5}
.ch-route .gpxrm-stat{background:#fff;border:1px solid #deebe5;border-radius:11px;padding:14px 10px}
.ch-route .gpxrm-stat-label{color:#63766f;font-size:10.5px;font-weight:600;letter-spacing:.055em;line-height:1.4}
.ch-route .gpxrm-stat-value{color:#183b35;font-size:18px;font-weight:700;line-height:1.4}
.ch-route [data-gpxrm-stat="distance"],.ch-route [data-ch-route-stat="distance"],.ch-route [data-ch-route-auto="distance"]{color:#00796b}
.ch-route .gpxrm-elevation{background:linear-gradient(180deg,#fff 0%,#f6fbf8 100%);border-top:1px solid #dfeae5;padding:16px 14px 8px}
.ch-route .gpxrm-elevation-heading{color:#60756e;font-weight:600;letter-spacing:.06em;margin-bottom:8px}
.ch-route .ch-route-stats{grid-template-columns:repeat(var(--ch-route-columns,6),minmax(0,1fr))}
.ch-route .ch-route-stats .gpxrm-stat{min-width:0}
.ch-route .ch-route-stats .gpxrm-stat-value{overflow-wrap:anywhere}
@media(max-width:782px){.ch-route .ch-route-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ch-route .ch-route-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;max-width:640px;margin:20px auto 24px;padding:0}
.ch-route .ch-route-button{--ch-route-button-bg:#ff9a52;box-sizing:border-box;display:inline-flex;flex:1 1 260px;align-items:center;justify-content:center;gap:10px;min-height:54px;max-width:100%;padding:12px 18px;border:1px solid #ff9a52;border-radius:10px;background:var(--ch-route-button-bg);color:#fff;font:700 16px/1.3 system-ui,sans-serif;text-align:center;text-decoration:none;box-shadow:none;transition:background-color .15s ease,border-color .15s ease}
.ch-route .ch-route-button:hover{--ch-route-button-bg:#ffb17a;background:var(--ch-route-button-bg);border-color:#ffb17a;color:#fff;text-decoration:none}
.ch-route .ch-route-button:focus-visible{outline:3px solid #126a82;outline-offset:3px}
.ch-route .ch-route-button span{font-size:20px;line-height:1}
.ch-route .ch-route-heart{color:#d71920}
.ch-route .ch-route-map-icon{display:block;flex:0 0 30px;width:30px;height:30px;color:#fff}
.ch-route .ch-route-download-badge{fill:#00796b}
.ch-route .ch-route-video{margin:0;padding:0}
.ch-route .ch-route-video .wp-block-embed__wrapper{position:relative;aspect-ratio:16/9;padding:0;background:#111;border-radius:12px;overflow:hidden}
.ch-route .ch-route-video .wp-block-embed__wrapper::before{display:none}
.ch-route .ch-route-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.ch-route .ch-route-video .wp-block-embed__wrapper>a{display:flex;align-items:center;justify-content:center;min-height:100%;color:#fff;padding:20px;box-sizing:border-box;text-align:center}
.ch-route .ch-route-newsletter{margin:28px 0 0}
.ch-route .ch-route-affiliate:empty{display:none}
.ch-route .ch-route-before-video:not(:empty){margin-bottom:24px}
.ch-route .ch-route-after-newsletter:not(:empty){margin-top:24px}
.ch-route .ch-route-admin-note{font-size:14px;padding:12px;background:#fff4dc;color:#3c2a00;border:1px solid #dcc28a;border-radius:6px}
