@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#203f40;background:#f4f7f5;font-size:16px;--ink:#163d3f;--muted:#617878;--line:#dfe6e2;--green:#147a5c}*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #279c9b;outline-offset:3px}button{border:0;background:none}a{color:#176f68;text-underline-offset:3px}header{height:90px;padding:0 28px;display:flex;align-items:center;gap:36px;border-bottom:1px solid var(--line);background:#fff;position:relative;z-index:5}.brand{display:flex;gap:15px;align-items:center;flex:1}.brandmark{font-size:46px;font-weight:500;line-height:1;color:#24685f;transform:scaleX(1.15)}h1{font-size:20px;letter-spacing:.12em;margin:0;font-weight:800}h1 span{font-size:12px;letter-spacing:.15em;color:#66807d;font-weight:600}header p{font-size:14px;color:var(--muted);margin:5px 0 0}.trip{font-size:12px;letter-spacing:.08em;display:flex;flex-direction:column;gap:5px}.trip b{font-size:14px;letter-spacing:0;font-weight:500}.quiet{font-size:14px;border:1px solid var(--line);padding:10px 13px;border-radius:7px}main{height:calc(100dvh - 90px);display:grid;grid-template-columns:330px minmax(0,1fr);min-height:550px}.sidebar{background:#fbfcfa;border-right:1px solid var(--line);overflow:auto;display:flex;flex-direction:column;z-index:3}.base-intro{padding:25px 24px 20px;background:#f0f5f1}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.15em;color:#6a807b}.base-intro button{display:flex;justify-content:space-between;align-items:center;padding:9px 0 0;width:100%;text-align:left}.base-intro strong{font-family:Manrope,sans-serif;font-size:26px;letter-spacing:-.04em}.base-intro button>span{font-size:14px;color:#5e7971}.base-intro p{font-size:14px;line-height:1.6;color:#57716b;margin:9px 0 0}.tabs{display:flex;padding:0 15px;border-bottom:1px solid var(--line);background:#fbfcfa;position:sticky;top:0;z-index:2}.tabs button{flex:1;padding:17px 5px 14px;font-size:14px;border-bottom:2px solid transparent}.tabs button[aria-selected=true]{color:#126c55;border-bottom-color:#126c55;font-weight:700}.tabs span{font-size:11px;padding-left:3px;color:#81918c}.list-head{padding:18px 23px 9px;display:flex;flex-direction:column;gap:10px;font-size:12px;color:var(--muted)}.list-head label{font-size:13px;display:flex;align-items:center;gap:6px}input[type=checkbox]{accent-color:#217a61;margin:0}#item-list{padding:0 12px 10px}.item{display:flex;text-align:left;width:100%;padding:16px 12px;border-bottom:1px solid var(--line);gap:13px;border-radius:5px;align-items:flex-start}.item:hover{background:#edf3ee}.item.active{background:#e7f1e9;border-bottom-color:transparent;box-shadow:inset 3px 0 #1d7b5c}.item-number{font-size:12px;color:#688279;min-width:20px;margin-top:3px}.item-main{flex:1;min-width:0}.item strong{display:block;font-size:15px;font-weight:600;line-height:1.4}.item-meta{font-size:12px;display:block;color:#667e75;line-height:1.6;margin-top:5px}.tag{display:inline-block;font-size:11px;margin-top:8px;background:#edf3e9;color:#4b714e;padding:3px 6px;border-radius:4px}.tag.high{background:#faf0df;color:#916721}.item-arrow{font-size:15px;color:#76958a}.sidebar-foot{padding:22px 24px;margin-top:auto;background:#f0f5f1}.sidebar-foot p{font-size:13px;line-height:1.6;color:#62776e;margin:8px 0}.sidebar-foot a{font-size:13px}.map-wrap{position:relative;overflow:hidden;background:#dce6e3}#map{position:absolute;inset:0}.map-top{position:absolute;top:20px;left:20px;right:20px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;pointer-events:none}.view-buttons,.map-style{display:flex;background:rgba(255,255,255,.96);padding:4px;border-radius:9px;box-shadow:0 3px 18px #173b3520;pointer-events:auto}.view-buttons button,.map-style button{font-size:13px;white-space:nowrap;padding:9px 12px;border-radius:6px}.view-buttons button.active,.map-style button[aria-pressed=true]{background:var(--ink);color:white}.map-style button{font-size:12px}.map-tools{position:absolute;top:90px;right:20px;display:flex;flex-direction:column;gap:1px;border-radius:8px;overflow:hidden;box-shadow:0 3px 18px #173b3520}.map-tools button{background:#fff;width:40px;height:41px;font-size:22px}.map-tools button:hover{background:#eef5f0}#north{font-size:12px;display:flex;flex-direction:column;align-items:center;gap:1px}#north-arrow{font-size:17px;display:block}#measure[aria-pressed=true]{background:var(--ink);color:white}.terrain-controls{position:absolute;bottom:135px;left:20px;width:198px;background:#fffffff2;border-radius:9px;padding:13px 15px;box-shadow:0 3px 18px #173b3520}.terrain-controls>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:10px}.terrain-controls button{font-size:13px;font-weight:700;padding:0}.terrain-controls label{font-size:12px;color:#607872}.terrain-controls output{font-size:12px}input[type=range]{accent-color:#26785d;width:100%;margin:12px 0 5px;cursor:pointer}.height-row{display:flex;align-items:center;gap:9px;margin-top:5px}.height-row input{width:70px;flex:1;margin:0}.height-row output{width:28px}.legend{position:absolute;bottom:76px;left:20px;display:flex;gap:14px;padding:13px 15px;background:#fffffff2;border-radius:8px;box-shadow:0 3px 18px #173b3520;flex-wrap:wrap;max-width:calc(100% - 40px)}.legend label{font-size:12px;display:flex;gap:5px;align-items:center;cursor:pointer}.legend input{height:11px;width:11px}.line{width:16px;height:0;border-top:3px solid #168c66}.line.rail{border-color:#ca4d4c}.line.bus{border-color:#436fcc;border-top-style:dashed}.line.lift{border-color:#8c56b5;border-top-style:dashed}.map-bottom{position:absolute;bottom:32px;left:20px;right:20px;display:flex;justify-content:space-between;gap:10px;font-size:11px;pointer-events:none;color:#234e46}.map-bottom span{background:#ffffffdc;padding:5px 8px;border-radius:4px}.detail{position:absolute;right:76px;top:90px;width:340px;max-height:calc(100% - 190px);overflow:auto;background:#fffffff7;border-radius:12px;box-shadow:0 8px 40px #18332e30;padding:24px;backdrop-filter:blur(12px)}#close-detail{position:absolute;right:9px;top:7px;font-size:23px;color:#6c8580;line-height:1;padding:5px}.detail h2{font-family:Manrope,sans-serif;font-size:24px;line-height:1.2;letter-spacing:-.04em;margin:10px 0 9px;padding-right:9px}.detail p{font-size:14px;line-height:1.65;color:#516c62;margin:12px 0}.detail .detail-label{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#788d85;margin-top:18px;margin-bottom:4px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:19px 0 14px;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.stats strong{display:block;font-size:19px;letter-spacing:-.04em;white-space:nowrap}.stats span{font-size:11px;color:#7b8b84;display:block;margin-top:5px}.stats b{font-size:11px;font-weight:400;letter-spacing:0}.elev{height:8px;border-radius:4px;background:linear-gradient(90deg,#669d84,#d6dec7,#c1c3bd,#e5e7e6);position:relative;margin:12px 0 7px}.elev i{position:absolute;top:-3px;bottom:-3px;border:2px solid #1b7258;background:#59a37f75;border-radius:4px}.elev-labels{display:flex;justify-content:space-between;color:#7c8d85;font-size:11px}.height-note{font-size:12px!important;margin:7px 0 16px!important}.detail .notice{font-size:12px;line-height:1.6;background:#f8f2e6;border-left:2px solid #c4964f;padding:10px 12px}.detail a{font-size:13px;display:inline-block;margin-top:7px}.detail .outline{font-size:12px;display:block;width:100%;padding:10px;margin-top:15px;border:1px solid var(--line);border-radius:6px}.detail .geometry{font-size:11px;color:#7e8b85;margin-top:13px}.marker{border:0;display:flex;gap:5px;align-items:center;background:none;padding:4px;cursor:pointer}.marker-pin{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#fff;color:#1c6154;border:2px solid #3c756a;box-shadow:0 2px 6px #13372e40;font-size:12px;font-weight:700}.marker-label{font-size:12px;font-weight:600;background:#fffffff0;padding:4px 6px;border-radius:4px;box-shadow:0 1px 5px #13372e15;white-space:nowrap}.marker.base .marker-pin{background:#164d42;color:white;width:34px;height:34px}.marker.culture .marker-pin{border-color:#a47740;color:#99652c}.marker.peak .marker-pin{border-color:#73817c;color:#4c6058}.marker.selected .marker-pin{background:#204f44;color:white;box-shadow:0 0 0 5px #ffffff80}.marker.selected .marker-label{background:#204f44;color:white}.map-message{position:absolute;top:84px;left:20px;background:#fffffff2;max-width:300px;border-radius:8px;padding:10px 14px;font-size:13px;box-shadow:0 3px 15px #173b3520}.map-message[hidden]{display:none}.measure-result{position:absolute;top:88px;left:20px;background:#163d3ff5;color:white;padding:16px;border-radius:10px;width:285px}.measure-result strong{display:block;font-size:19px}.measure-result span{display:block;font-size:11px;opacity:.8;margin:7px 0}.measure-result button{font-size:12px;color:white;border:1px solid #ffffff55;border-radius:4px;padding:5px 10px;margin-right:5px}.maplibregl-ctrl-attrib{font-size:10px!important}.maplibregl-ctrl-scale{font-size:11px!important;background:#ffffffdd!important;border-color:#3f6156!important;margin-left:20px!important;margin-bottom:7px!important}.maplibregl-popup-content{font:14px 'DM Sans',sans-serif;color:var(--ink);padding:12px 15px!important;border-radius:8px!important}dialog{border:0;border-radius:16px;max-width:600px;width:calc(100% - 40px);max-height:85dvh;padding:35px;color:var(--ink);box-shadow:0 20px 100px #123a3a55}dialog::backdrop{background:#163d3f66;backdrop-filter:blur(4px)}dialog h2{font-size:28px;letter-spacing:-.04em}dialog h3{font-size:16px;margin-top:23px}dialog p{font-size:14px;line-height:1.7;color:#5b7169}.dialog-close{position:absolute;right:15px;top:10px;font-size:26px}#source-links{display:flex;flex-wrap:wrap;gap:8px 16px}#source-links a{font-size:13px}.fine{font-size:12px!important}
@media(min-width:1550px){main{grid-template-columns:365px 1fr}.detail{width:365px;right:85px}.view-buttons button{font-size:14px;padding:10px 16px}}@media(max-width:1150px){main{grid-template-columns:290px minmax(0,1fr)}.map-top{flex-wrap:wrap;right:15px;left:15px;gap:8px}.view-buttons button{font-size:12px;padding:8px}.map-style{margin-left:auto}.detail{width:285px;right:65px;top:128px;max-height:calc(100% - 225px);padding:20px}.map-tools{top:132px;right:15px}.detail h2{font-size:21px}.terrain-controls{bottom:146px;width:175px}.legend{gap:10px}.map-bottom span:last-child{display:none}.brandmark{font-size:35px}header{gap:20px;padding:0 20px}h1 span{display:block;font-size:10px;margin-top:4px}header p{font-size:12px}}@media(max-width:820px){header{height:76px;padding:0 15px}.trip{display:none}.brand{gap:10px}h1{font-size:17px}main{height:calc(100dvh - 76px);min-height:700px;display:flex;flex-direction:column}.sidebar{order:2;max-height:35%;flex:0 0 35%;border-top:1px solid var(--line)}.base-intro,.sidebar-foot{display:none}.map-wrap{flex:1;min-height:440px}.tabs{padding:0 12px}.tabs button{padding:12px 5px}.list-head{padding:8px 18px;flex-direction:row;justify-content:space-between}.item{padding:11px 9px}.item-meta{margin-top:3px}.tag{margin-top:4px}.item-number{font-size:11px}.map-top{top:10px;left:10px;right:10px}.view-buttons{flex:1;justify-content:space-between}.view-buttons button{padding:8px 6px;font-size:11px}.map-style{position:absolute;right:0;top:45px}.map-tools{top:102px;right:10px}.map-tools button{height:34px;width:34px}.detail{right:54px;top:61px;max-height:calc(100% - 122px);width:275px;padding:18px}.detail h2{font-size:21px}.detail p{font-size:13px}.terrain-controls{bottom:76px;left:10px;width:155px;padding:10px;z-index:0}.terrain-controls label{font-size:11px}.terrain-controls button{font-size:12px}.legend{bottom:37px;left:10px;padding:8px 10px;gap:10px;max-width:calc(100% - 20px)}.legend label{font-size:11px}.legend .line{width:11px}.map-bottom{display:none}.map-message{top:62px;left:10px;font-size:12px;max-width:230px}.measure-result{top:61px;left:10px;width:245px}.maplibregl-ctrl-scale{margin-left:10px!important}.height-row{gap:5px}.maplibregl-ctrl-attrib{max-width:230px}.quiet{font-size:12px;padding:9px}.stats strong{font-size:17px}dialog{padding:25px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.profile-head{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#667e72;margin-top:16px}.profile-head output{font-weight:600;color:#306b50}#profile-svg{width:100%;height:90px;display:block;margin-top:7px;cursor:crosshair;touch-action:pan-y}#profile-range{margin:8px 0 0}.profile-note{font-size:11px!important;color:#7d8c84!important;line-height:1.4!important;margin:3px 0 15px!important}

[hidden]{display:none!important}
.area-select{padding:14px 23px;border-bottom:1px solid var(--line)}.area-select label{font-size:12px;display:block;color:#60776d;margin-bottom:6px}.area-select select{width:100%;font:14px 'DM Sans',sans-serif;padding:9px 10px;border:1px solid #d5e0d7;border-radius:6px;background:#fff;color:var(--ink)}.journey-heading{margin:15px 0}.flex-chip{display:inline-block;font-size:12px;border:1px solid #abcbb8;color:#276446;background:#e9f3eb;padding:5px 8px;border-radius:5px}.journey-heading p{font-size:13px;line-height:1.6;margin:8px 0}.variant-buttons{display:flex;flex-wrap:wrap;gap:5px}.variant-buttons button{border:1px solid #cddcd0;border-radius:5px;padding:8px 9px;font-size:12px;background:#fff}.variant-buttons button[aria-pressed=true]{background:#1b654c;color:white;border-color:#1b654c}.detail .variant-title{font-size:15px;font-weight:600;color:#1d5843;margin:13px 0 5px}.walking-breakdown{font-size:12px;color:#64806f;display:flex;flex-direction:column;gap:4px}.journey-status{display:grid;grid-template-columns:1fr;gap:8px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;margin:20px 0}.journey-status>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.journey-status span{font-size:10px;letter-spacing:.1em;color:#7b8e80}.journey-status a,.journey-status b{font-size:12px;font-weight:400;margin:0}.detail .exit-intro{font-size:12px;margin:5px 0 12px}.exit-card{border:1px solid #d4e1d6;border-radius:7px;margin:9px 0;padding:12px;background:#f9fcf8}.exit-card.inspected{border-color:#277e59;box-shadow:0 0 0 2px #277e5922}.exit-title{display:flex;align-items:center;gap:7px;padding:0;width:100%;text-align:left}.exit-title>span{display:grid;place-items:center;width:23px;height:23px;flex-shrink:0;background:#26634d;color:white;border-radius:50%;font-size:11px}.exit-title strong{font-size:13px;line-height:1.4;flex:1}.exit-title small{font-size:10px;color:#688571}.detail .exit-card p{font-size:12px;line-height:1.6;margin:9px 0}.next-leg{display:flex;flex-direction:column;gap:5px;padding:10px;background:#edf4ec;border-radius:5px;font-size:11px;color:#50705b}.next-leg b{font-size:12px;color:#295c3e}.decision-actions{display:flex;gap:5px;flex-wrap:wrap;margin:9px 0}.decision-actions button{border:1px solid #bcd2c1;background:white;border-radius:4px;font-size:11px;padding:6px 7px}.decision-actions button:first-child{background:#286b50;color:#fff;border-color:#286b50}.detail .exit-card a{font-size:11px}.marker.journey-exit .marker-pin{border:3px solid #216944;background:#216944;color:white;box-shadow:0 0 0 4px #ffffffb0}.marker.journey-exit .marker-label{background:#f7fff7;color:#165638;border:1px solid #71a786}.marker.carriage .marker-pin{border-color:#aa713d;color:#975d2a}.line.carriage{border-color:#aa713d;border-top-style:dashed}.legend{gap:10px}.detail:has(.variant-buttons){width:375px}.terrain-controls{bottom:145px}@media(max-width:1150px){.detail:has(.variant-buttons){width:300px}.legend{max-width:calc(100% - 30px);gap:8px}.legend label{font-size:11px}}@media(max-width:820px){.area-select{padding:8px 15px;display:flex;align-items:center;gap:9px}.area-select label{font-size:11px;margin:0;white-space:nowrap}.area-select select{padding:6px;font-size:12px}.detail:has(.variant-buttons){width:280px}.legend{gap:7px;bottom:35px}.legend .line{display:none}.terrain-controls{bottom:82px}.variant-buttons button{padding:7px;font-size:11px}}

.rotation-row{margin-top:8px}.rotation-row label{display:flex;justify-content:space-between;align-items:center}.rotation-row input{margin-top:7px}
