.eok-terrain{--tm-blue:#245f78;--tm-orange:#b96336;--tm-ink:#153444;--tm-paper:#f7f4ed;color:var(--tm-ink);background:var(--tm-paper);border:1px solid #d9d3c7;margin:24px 0;font-family:inherit;isolation:isolate}
.eok-terrain *{box-sizing:border-box}.eok-terrain button,.eok-terrain select{font:inherit;color:inherit}.eok-terrain button{cursor:pointer}.eok-terrain button:focus-visible,.eok-terrain select:focus-visible,.eok-terrain input:focus-visible{outline:3px solid #bf773e;outline-offset:3px}
.tm-head{padding:24px 26px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px}.tm-kicker{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#8f5836;font-weight:700}.tm-head h3{font-family:Georgia,serif;font-size:30px;font-weight:400;margin:7px 0}.tm-head p{font-size:13px;margin:0;color:#53636b}.tm-expand,.tm-fit{border:1px solid #ccc5b8;background:#fffaf2;padding:9px 12px;font-size:12px;white-space:nowrap}
.tm-days{display:flex;gap:5px;padding:0 24px 18px;overflow-x:auto}.tm-days button{flex:1;min-width:49px;border:1px solid #d8d3c9;padding:10px 5px;background:transparent;font-size:12px}.tm-days button[aria-pressed=true]{background:var(--tm-ink);border-color:var(--tm-ink);color:white}.tm-days button:first-child{min-width:66px}
.tm-body{display:grid;grid-template-columns:minmax(0,1fr) 235px;border-top:1px solid #ded8ce;border-bottom:1px solid #ded8ce}.tm-canvas{height:470px;background:#e4e5d7;z-index:0}.tm-canvas .leaflet-tile{filter:saturate(.65)}.tm-canvas a{color:#254e65}.tm-canvas .leaflet-control-attribution{font-size:9px;line-height:1.35;max-width:100%;background:#fffffff0}.tm-canvas .leaflet-tooltip{font-family:inherit;border:0;border-radius:0;box-shadow:0 1px 7px #152d4422;color:#153444;font-size:11px;padding:4px 7px}.tm-pin{border:0!important;background:none!important}.tm-pin span{display:flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:50%;background:#fffaf3;border:2px solid #245f78;color:#153444;font:bold 11px Georgia,serif;box-shadow:0 1px 4px #15344455}.tm-pin.tm-summit span{background:#b96336;color:white;border-color:#fff}.tm-side{padding:22px 20px;background:#f3efe6;display:flex;flex-direction:column;gap:12px}.tm-side h4{font-family:Georgia,serif;font-weight:400;font-size:24px;line-height:1.2;margin:0}.tm-side p{font-size:12px;line-height:1.7;margin:0}.tm-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-block:1px solid #d9d1c4;padding:14px 0}.tm-stats strong{font-size:18px;display:block;font-weight:500}.tm-stats span{font-size:10px;color:#53636b;text-transform:uppercase;letter-spacing:.06em}.tm-side label{font-size:11px;font-weight:600}.tm-side select{width:100%;border:1px solid #cbc5b8;border-radius:0;background:#fffaf3;font-size:12px;padding:9px}.tm-place{font-size:12px!important;border-left:2px solid #b96336;padding-left:10px}.tm-status{font-size:11px!important;color:#52626a}.tm-foot{padding:18px 24px}.tm-controls{display:flex;gap:12px;align-items:center}.tm-play{border:0;background:var(--tm-ink);color:#fff!important;min-width:143px;font-size:12px;padding:12px}.tm-controls label{flex:1;font-size:10px;letter-spacing:.06em;text-transform:uppercase}.tm-controls input{width:100%;accent-color:#245f78;display:block;margin-top:6px}.tm-progress{font-size:12px;min-width:31px}.tm-legend{display:flex;gap:18px;font-size:10px;margin:14px 0 5px}.tm-legend span:before{content:'';width:18px;display:inline-block;margin-right:6px;border-top:3px solid #245f78;vertical-align:middle}.tm-legend span:last-child:before{border-color:#b96336}.tm-profile{width:100%;height:130px;display:block;cursor:crosshair;touch-action:pan-y}.tm-profile text{fill:#607078;font-size:10px;font-family:inherit}.tm-profile .tm-grid{stroke:#d8d4cb;stroke-width:1}.tm-profile .tm-elevation-line{fill:none;stroke:#245f78;stroke-width:2}.tm-profile .tm-profile-cursor{stroke:#b96336;stroke-width:1.5}.tm-notes{font-size:10px!important;line-height:1.6!important;color:#59676b;margin:10px 0 0!important}.tm-notes a{color:inherit;text-decoration:underline}.tm-dialog{padding:0;border:0;max-width:1280px;width:96vw;max-height:95vh;background:#f7f4ed;overflow:auto}.tm-dialog::backdrop{background:#102b3de0}.tm-dialog-close{display:block;margin:12px 14px 0 auto;padding:9px 18px;border:1px solid #bdb7aa;background:#f7f4ed;font:inherit;cursor:pointer}.tm-dialog .eok-terrain{margin:10px 14px 14px}.tm-dialog .tm-canvas{height:min(55vh,620px)}.tm-dialog .tm-expand{display:none}
@media(min-width:1100px){.tm-dialog .tm-body{grid-template-columns:minmax(0,1fr) 270px}}
.detail-layout:has(#map:not([hidden])){grid-template-columns:minmax(0,1fr)}
.detail-layout:has(#map:not([hidden]))>.detail-sidebar{display:none}
.detail-layout:has(#map:not([hidden]))>.route-guide{grid-column:1/-1;min-width:0;max-width:none}
.tm-canvas{height:320px;background:#ece9df}
.tm-canvas .leaflet-tile{filter:grayscale(1) sepia(.2) contrast(.8) brightness(1.13);opacity:.72!important}
.tm-head{padding:14px 22px 10px}.tm-head h3{font-size:27px;margin:4px 0}.tm-head p{font-size:11px}
.tm-days{padding-bottom:10px}.tm-days button{padding:8px 5px}
.tm-side{padding:14px 18px;gap:8px}.tm-side h4{font-size:22px}.tm-side .tm-description{display:none}.tm-stats{padding:8px 0}.tm-side .tm-fit{padding:7px 10px}.tm-place{min-height:32px}
.tm-foot{padding:6px 22px 10px}.tm-profile{height:104px}
.tm-bottom{background:#f7f4ed;padding-top:8px;border-top:1px solid #ded8ce;position:sticky;bottom:0;z-index:2}
.tm-bottom .tm-legend{margin:8px 0}.tm-source-credits{display:block;font-size:9px;color:#667277}.tm-notes{margin-top:6px!important}
.tm-dialog{max-height:96dvh}.tm-dialog .eok-terrain{margin-top:5px}.tm-dialog-close{margin-top:7px;padding:6px 14px}.tm-dialog .tm-canvas{height:clamp(240px,34dvh,340px)}
@media(max-width:700px){.detail-layout>.detail-sidebar{order:1;grid-row:auto}.detail-layout>.route-guide{order:0;grid-row:auto}}
@media(max-width:700px){.tm-head{padding:18px 15px;align-items:flex-start}.tm-head h3{font-size:25px}.tm-head p{font-size:11px}.tm-expand{font-size:10px;padding:9px}.tm-days{padding:0 14px 14px;gap:4px}.tm-days button{min-width:43px;font-size:11px}.tm-body{grid-template-columns:1fr}.tm-canvas{height:385px}.tm-side{padding:17px;gap:9px}.tm-side h4{font-size:23px}.tm-stats{padding:10px 0}.tm-side p{font-size:12px}.tm-foot{padding:16px 14px}.tm-play{min-width:124px;padding:12px 8px;font-size:11px}.tm-controls{gap:9px}.tm-controls label{font-size:9px}.tm-profile{height:120px}.tm-dialog{width:98vw}.tm-dialog .eok-terrain{margin:8px}.tm-dialog .tm-canvas{height:45vh;min-height:280px}}
@media(max-width:700px){.eok-terrain{display:flex;flex-direction:column}.tm-head{order:1;padding:12px 14px 8px}.tm-head h3{font-size:23px}.tm-head p{display:none}.tm-days{order:2;padding-bottom:8px}.tm-body{display:contents}.tm-canvas,.tm-dialog .tm-canvas{order:3;height:clamp(205px,30dvh,270px);min-height:0}.tm-foot{order:4;padding:4px 12px 8px}.tm-profile{height:95px}.tm-side{order:5;border-top:1px solid #ded8ce}.tm-source-credits{font-size:8px}.tm-dialog .tm-profile{height:88px}.tm-bottom{padding-top:6px}}
.tm-body,.tm-dialog .tm-body{grid-template-columns:minmax(0,1fr)}.tm-bottom{position:static}.tm-summary{font-size:11px!important;margin:0!important;padding:0 22px 10px;color:#53636b}.tm-more{border-top:1px solid #ded8ce;order:6}.tm-more summary{cursor:pointer;padding:10px 22px;font-size:11px}.tm-more .tm-side{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px}.tm-more .tm-description{display:block}.tm-canvas{height:300px}.tm-dialog .tm-canvas{height:clamp(210px,33dvh,300px)}.tm-dialog .tm-head{padding:8px 20px}.tm-dialog .tm-head h3{font-size:23px}.tm-dialog .tm-head p{display:none}.tm-dialog .tm-profile{height:96px}.tm-dialog .tm-summary{padding-bottom:6px}.tm-dialog .tm-days{padding-bottom:7px}@media(max-width:700px){.tm-summary{order:2;padding:0 14px 8px}.tm-more .tm-side{display:flex}.tm-dialog .tm-canvas,.tm-canvas{height:clamp(205px,29dvh,255px)}.tm-dialog .tm-profile{height:88px}}
.tm-canvas{height:520px}.tm-dialog .tm-canvas{height:clamp(420px,58dvh,650px)}.tm-zoom button{display:block;width:32px;height:32px;border:0;background:#fff;color:#153444;font:bold 22px Arial,sans-serif;cursor:pointer;line-height:30px;padding:0}.tm-zoom button+button{border-top:1px solid #ccc}.tm-zoom button:hover{background:#f3efe6}.tm-zoom button:disabled{color:#aaa;cursor:default}.tm-zoom button:focus-visible{outline:3px solid #b96336;outline-offset:2px}@media(max-width:700px){.tm-canvas,.tm-dialog .tm-canvas{height:400px}}
.tm-stop-caption{position:absolute;z-index:690;left:50%;bottom:36px;transform:translateX(-50%);max-width:calc(100% - 32px);padding:9px 18px;background:#f7f4edf2;border:1px solid #d8cbbb;box-shadow:0 3px 18px #15344412;color:#153444;font:500 16px Georgia,serif;letter-spacing:.02em;text-align:center;pointer-events:none}.tm-summit-celebration{position:absolute;z-index:680;width:108px;height:144px;pointer-events:none}.tm-summit-celebration img{width:108px!important;height:144px!important;max-width:none;object-fit:contain}.tm-stop-caption[hidden],.tm-summit-celebration[hidden]{display:none!important}@media(max-width:700px){.tm-stop-caption{font-size:14px;padding:8px 12px;bottom:48px}}
.tm-stop-caption{left:auto;bottom:auto;transform:none;width:max-content;max-width:min(250px,calc(100% - 24px));padding:10px 17px;background:#173746;border:1px solid #426071;border-radius:5px;box-shadow:0 4px 16px #102b3d30;color:#fff8e9;font-family:Georgia,serif;font-size:15px;letter-spacing:.015em;line-height:1.3}.tm-stop-caption strong{display:block;font-weight:700}.tm-stop-caption span{display:block;margin-top:3px;color:#e3d3b7;font:500 11px system-ui,sans-serif;letter-spacing:.08em}.tm-stop-caption::after{content:"";position:absolute;left:var(--tm-pointer-x,50%);bottom:-7px;transform:translateX(-50%);border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #173746}.tm-stop-caption.is-below::after{top:-7px;bottom:auto;border-top:0;border-bottom:7px solid #173746}.tm-summit-celebration::before{content:"";position:absolute;top:134px;left:37px;width:42px;height:7px;border-radius:50%;background:#15344445;filter:blur(1.5px)}.tm-summit-celebration img{position:relative}.tm-canvas .leaflet-tooltip{background:#173746;color:#fff8e9;font:700 14px Georgia,serif;border:1px solid #426071;border-radius:5px;padding:9px 13px;box-shadow:0 4px 14px #102b3d25}.tm-canvas .leaflet-tooltip-top::before{border-top-color:#173746}.tm-canvas .leaflet-tooltip-bottom::before{border-bottom-color:#173746}.tm-canvas .leaflet-tooltip-left::before{border-left-color:#173746}.tm-canvas .leaflet-tooltip-right::before{border-right-color:#173746}@media(max-width:700px){.tm-stop-caption{bottom:auto;font-size:14px;padding:9px 13px}}
.eok-terrain{scroll-margin-top:10px}.tm-head,.tm-dialog .tm-head{padding:9px 20px 7px;gap:12px}.tm-head .tm-kicker,.tm-head p{display:none}.tm-head h3,.tm-dialog .tm-head h3{font-size:24px;margin:0}.tm-expand{padding:7px 11px}.tm-days,.tm-dialog .tm-days{padding:0 20px 7px}.tm-days button{padding:7px 5px}.tm-summary,.tm-dialog .tm-summary{padding:0 20px 7px}.tm-foot{padding:4px 20px 6px}.tm-profile,.tm-dialog .tm-profile{height:90px}.tm-bottom{padding-top:5px}.tm-bottom .tm-legend{margin:7px 0 4px}.tm-caption{font-size:10px!important;line-height:1.3!important;margin:4px 0 0!important;color:#59676b}.tm-more>summary{padding:8px 20px}.tm-more>.tm-notes{padding:0 20px 12px}.tm-canvas,.tm-dialog .tm-canvas{height:var(--tm-map-height,clamp(280px,52dvh,650px))}.tm-dialog{max-height:calc(100dvh - 16px);margin:8px auto}.tm-dialog .eok-terrain{margin:4px 10px 8px}.tm-dialog-close{margin-top:6px}@media(max-width:700px){.tm-head,.tm-dialog .tm-head{padding:9px 12px 7px}.tm-head h3,.tm-dialog .tm-head h3{font-size:20px}.tm-days,.tm-dialog .tm-days{padding:0 12px 7px}.tm-summary,.tm-dialog .tm-summary{padding:0 12px 6px;font-size:10px!important}.tm-foot{padding:3px 12px 6px}.tm-profile,.tm-dialog .tm-profile{height:82px}.tm-canvas,.tm-dialog .tm-canvas{height:var(--tm-map-height,320px)}}

/* Forest terrain: preserve real relief while giving the explorer a distinct green surface. */
.tm-canvas{background:#244e2c}.tm-canvas .leaflet-tile{filter:url(#tm-forest-relief);opacity:1!important}
.tm-stop-caption{font-size:12px;padding:6px 10px;max-width:210px;border-radius:4px}.tm-stop-caption span{font-size:10px;margin-top:2px;letter-spacing:.04em}.tm-canvas .leaflet-tooltip{font-size:12px;padding:6px 9px;border-radius:4px}
.tm-summit-celebration,.tm-summit-celebration img{width:54px!important;height:72px!important}.tm-summit-celebration{animation:tm-climber-arrive .28s ease-out both;will-change:opacity}.tm-summit-celebration::before{top:67px;left:18.5px;width:21px;height:3.5px;background:#10271970;filter:blur(1px)}
@keyframes tm-climber-arrive{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.tm-summit-celebration{animation:none}}
@media(max-width:700px){.tm-stop-caption{font-size:12px;padding:6px 9px}}

/* One-screen explorer: the elevation profile is also the journey scrubber. */
.tm-foot{position:relative}.tm-progress{position:absolute;top:4px;right:23px;font-size:10px;background:#f7f4eddd;padding:2px 5px;pointer-events:none}.tm-bottom{display:none}.tm-caption{margin:1px 0 0!important}.tm-profile,.tm-dialog .tm-profile{height:96px;cursor:crosshair}.tm-profile:focus-visible{outline:2px solid #b96336;outline-offset:-2px}.tm-map-play .tm-play{min-width:0;font-size:12px;padding:10px 15px;border:1px solid #ffffff65;box-shadow:0 2px 9px #10271935;border-radius:3px}.tm-map-play{margin-bottom:8px!important}.tm-loading{min-height:50vh;background:#244e2c;color:#fff8e9;display:grid;place-items:center;font-size:14px}.tm-canvas{min-height:0!important}
@media(max-width:700px){.tm-profile,.tm-dialog .tm-profile{height:80px}.tm-progress{right:14px}.tm-map-play .tm-play{font-size:11px;padding:8px 11px}.tm-head h3{font-size:18px}.tm-days button{padding:5px}.tm-more>summary{padding:5px 12px}}
