/* Shared field-map palette, with line colors reserved for track identity. */
:root{color-scheme:light;--paper:#f8f6ee;--white:#fffdf6;--ink:#18221a;--muted:#556154;--rule:#d5d8c9;--green:#495f36;--light:#e9eddd;--orange:#c8510e;--blue:#145ed2;--radius:12px;--header:65px}
*{box-sizing:border-box}html{scroll-padding-top:calc(var(--header) + 10px);scrollbar-color:#838e74 var(--paper)}
body{min-height:100vh;margin:0;display:flex;flex-direction:column;background:var(--paper);color:var(--ink);font:16px/1.52 "Segoe UI",Arial,sans-serif}main{flex:1}a{color:#354e2d;text-decoration-thickness:.085em;text-underline-offset:.18em}a:hover{color:#1b391a}img,svg,canvas{max-width:100%}img{display:block;object-fit:cover}figure{margin:0}button,input,textarea{font:inherit;color:inherit}button,summary,input[type=checkbox]{cursor:pointer}
button,.action{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:.44rem .75rem;border:1px solid #a9b59b;border-radius:7px;background:#fffdf5;color:var(--ink);font-weight:650;font-size:.86rem;line-height:1.2;text-decoration:none;transition:background-color .16s,border-color .16s,transform .16s}
button:hover{background:#ebefdf;border-color:#708561}button:active,.action:active{transform:translateY(1px)}button:disabled{cursor:default;opacity:.5}button[aria-pressed=true],.action{background:var(--green);color:#fff;border-color:var(--green)}.action:hover,button[aria-pressed=true]:hover{background:#384c2a;color:white}.quiet{border-color:transparent;background:transparent;padding-inline:.35rem}
button[hidden],[hidden]{display:none!important}:focus-visible{outline:3px solid #926211;outline-offset:3px}input[type=checkbox]{accent-color:var(--green);width:19px;height:19px;margin:0;flex:none}input:not([type=checkbox]),textarea{width:100%;padding:.48rem .6rem;border:1px solid #a9b59b;background:#fffdf5;border-radius:6px}h1,h2,h3,p,ul,ol{margin-block-start:0}h1,h2,h3{line-height:1.16;letter-spacing:-.025em}h1{font-size:clamp(2rem,4.15vw,3.6rem);margin-bottom:.75rem}h2{font-size:clamp(1.4rem,2.55vw,2.14rem);margin-bottom:.7rem}h3{font-size:1.16rem;margin-bottom:.5rem}p{margin-bottom:.9rem}.skip{position:fixed;top:4px;left:8px;z-index:50;background:var(--white);padding:.6rem;transform:translateY(-120%)}.skip:focus{transform:none}
.site-header{position:sticky;z-index:20;top:0;background:var(--paper);border-bottom:1px solid var(--rule)}.header-inner,.footer-inner{max-width:1480px;margin:auto;padding-inline:clamp(16px,2.2vw,36px);display:flex;align-items:center;gap:1.35rem}.header-inner{height:var(--header);justify-content:space-between}.wordmark{display:inline-flex;align-items:center;gap:.58rem;color:var(--ink);font-size:1.22rem;font-weight:850;letter-spacing:.035em;text-decoration:none;white-space:nowrap}.ridge-mark{flex:none}.primary-nav,.site-footer nav{display:flex;align-items:center;gap:.43rem}.primary-nav a,.site-footer nav a{padding:.5rem .7rem;color:var(--ink);text-decoration:none;border-radius:6px;font-size:.91rem;font-weight:650;white-space:nowrap}.primary-nav a:hover,.site-footer nav a:hover{background:var(--light)}.primary-nav a[aria-current],.site-footer nav a[aria-current]{background:#e4ead6;color:#2e4528}.menu-toggle{display:none}.site-footer{border-top:1px solid var(--rule);margin-top:2.4rem;padding:1.45rem 0;background:#f0f1e5}.site-footer .footer-inner{flex-wrap:wrap;gap:.9rem 1.1rem}.site-footer p,.site-footer small{margin:0;color:var(--muted);font-size:.82rem}.site-footer nav{margin-left:auto}.site-footer .wordmark{font-size:1rem}.site-footer .ridge-mark{width:32px}
.crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;color:var(--muted);font-size:.87rem;margin:0 0 1.15rem}.crumbs a{font-weight:650}.wrap,.home-sections{width:min(1320px,calc(100% - 52px));margin-inline:auto}.wrap{padding:1.4rem 0}.lead{max-width:66ch;color:var(--muted);font-size:1.065rem}.section-label{font-size:.83rem;font-weight:720;color:#506343;letter-spacing:.035em;margin:0 0 .45rem}.page-top{margin-bottom:1.85rem}.article-cover{width:100%;height:auto;max-height:290px;aspect-ratio:2.4;object-position:center;border-radius:var(--radius);background:#e2e8d7}.home-sections>section{padding:clamp(1.45rem,4vw,3.1rem) 0;border-bottom:1px solid var(--rule)}.home-sections>section:last-child{border-bottom:none}.editorial-split{display:grid;grid-template-columns:minmax(240px, .78fr) minmax(0,1.48fr);gap:clamp(1rem,3.3vw,3rem);align-items:center}.case-feature .editorial-split{align-items:start}.route-diagram{display:block;width:100%;border:1px solid #b3bda7;border-radius:var(--radius)}figcaption{margin-top:.5rem;color:var(--muted);font-size:.85rem}.home-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem}.path-card,.guide-card{display:block;border:1px solid var(--rule);border-radius:var(--radius);background:#fffdf5;overflow:hidden;text-decoration:none;color:var(--ink)}.path-card{padding:1.05rem}.path-card h3,.guide-card h3{color:var(--ink)}.path-card p,.guide-card p{color:#4c574a;line-height:1.43}.path-card:hover,.guide-card:hover{border-color:#758a64;background:#f1f3e7}.path-link{display:block;font-weight:720;color:#3a522f}.guide-card img{width:100%;height:auto;aspect-ratio:2.08}.guide-card div{padding:1rem}.case-list{border-top:1px solid var(--rule)}.case-link{display:grid;grid-template-columns:1.5rem minmax(0,1fr) auto;align-items:center;gap:.7rem;border-bottom:1px solid var(--rule);padding:.9rem .35rem;text-decoration:none;color:var(--ink)}.case-link:hover{background:#eef0e3}.case-link strong,.case-link small{display:block}.case-link small{color:var(--muted)}.case-metrics{font-size:.82rem;color:var(--muted);text-align:right}
.workspace-grid{width:min(1560px,100%);margin-inline:auto;display:grid;grid-template-columns:minmax(0,2.76fr) minmax(303px,1fr);place-items:stretch;border-bottom:1px solid var(--rule)}
.map-area{position:relative;min-width:0;min-height:clamp(400px,46vw,556px);background:#dce6c9;border-bottom:1px solid #c5cfb5}
#map{position:absolute;inset:0}.map-tools{position:absolute;z-index:2;right:12px;top:12px;display:flex;align-items:flex-start;gap:.4rem;flex-wrap:wrap;justify-content:flex-end;max-width:calc(100% - 57px)}
.map-modes{display:flex}.map-modes button{border-radius:0;border-right:0}.map-modes button:first-child{border-radius:7px 0 0 7px}.map-modes button:last-child{border-right:1px solid #a9b59b;border-radius:0 7px 7px 0}.map-tools button{box-shadow:0 1px 3px #15230f28}
.map-notice{position:absolute;left:12px;right:12px;bottom:42px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:.6rem;max-width:480px;background:#fff9e8;border:1px solid #bdab78;padding:.5rem .65rem;border-radius:8px;color:#503822;font-size:.84rem}.map-notice button{flex:none}.map .maplibregl-ctrl-group,.map .maplibregl-ctrl-scale{background:#fffdf2;color:#2c3d27;border-color:#2c3d27}.map .maplibregl-ctrl button{min-height:29px;border-radius:0}.map .maplibregl-ctrl-attrib{background:#fffdf2;color:#2c3d27;max-width:min(410px,84vw)}
.track-panel{padding:clamp(1rem,2.1vw,1.7rem);border-left:1px solid var(--rule);border-bottom:1px solid var(--rule);min-width:0;display:flex;flex-direction:column;background:#fcfaf2}.track-panel h1,.track-panel h2{font-size:1.46rem;margin-bottom:.48rem}.panel-intro{font-size:.93rem;color:var(--muted)}.import-bar{display:flex;align-items:center;gap:.52rem;flex-wrap:wrap}.case-picker{position:relative;margin:.55rem 0 .25rem;font-size:.86rem}.case-picker summary{color:#3f5532;min-height:35px;padding:.42rem 0;font-weight:650}.case-picker[open]>div{position:absolute;z-index:6;left:0;right:0;padding:.45rem;display:grid;gap:.35rem;box-shadow:0 8px 25px #23341b35;border:1px solid #a9b59b;background:#fffdf5;border-radius:8px}.case-picker button{justify-content:start}
.sample-label{font-size:.82rem;color:var(--muted);margin:.38rem 0 .58rem}.track-row{border-top:1px solid var(--rule);padding:.56rem 0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.36rem}.track-label{display:flex;align-items:center;gap:.62rem;min-width:0;cursor:pointer}.track-names{min-width:0;overflow-wrap:anywhere}.track-names strong,.track-names small{display:block}.track-names small{color:var(--muted)}.track-0{--track:var(--orange)}.track-1{--track:var(--blue)}.track-row input{accent-color:var(--track)}.track-stats{border-collapse:collapse;text-align:right;width:100%;font-size:.82rem;table-layout:fixed}.track-stats th,.track-stats td{padding:.48rem .14rem;border-bottom:1px solid var(--rule);overflow-wrap:anywhere}.track-stats th:first-child{text-align:left}.track-stats thead th:not(:first-child){box-shadow:inset 0 -2px var(--track)}.work-status{font-size:.83rem;color:#694222;margin:.42rem 0}.work-status:empty{display:none}.map-footnote{font-size:.79rem;margin:auto 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}.map-footnote .quiet{font-size:.79rem}.profile-panel,.editor{grid-column:1/-1;padding:.7rem clamp(14px,2.1vw,32px)}.profile-panel{border-bottom:1px solid var(--rule);max-width:100%;background:#fbf9f1}.profile-panel summary,.editor summary{font-weight:750;padding:.43rem 0;min-height:38px}.profile-key{display:inline-flex;gap:.75rem;margin-left:1rem;font-size:.8rem;font-weight:550}.profile-key span::before{content:'';display:inline-block;vertical-align:.16em;margin-right:.42rem;background:var(--orange);width:16px;height:3px;border-radius:2px}.profile-key span+span::before{background:var(--blue)}.profile-instruction{font-size:.82rem;color:var(--muted);margin:.2rem 0}.profile-panel canvas{width:100%;height:150px;display:block;touch-action:none;cursor:crosshair}.editor summary span{font-weight:400;color:var(--muted);font-size:.85rem;margin-left:.5rem}.edit-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:clamp(1rem,4vw,3.5rem);padding:.5rem 0 .8rem}.edit-grid h2{font-size:1.1rem}.edit-actions,#range-form{display:flex;align-items:end;gap:.48rem;flex-wrap:wrap;margin:.65rem 0}.edit-actions button{font-size:.82rem}.edit-grid label{display:grid;font-size:.83rem;font-weight:650;gap:.25rem;width:112px}.issue-panel p,.edit-grid #selected-data{margin-bottom:.48rem;color:var(--muted);font-size:.88rem}.issue-panel ul,.preview-panel ul{padding-left:1.2rem;font-size:.86rem;max-height:285px;overflow:auto}.issue-panel li,.preview-panel li{margin-bottom:.5rem}.issue-panel li span{display:block;margin:.2rem 0;color:var(--muted)}.preview-panel{background:#f0eedc;padding:.8rem;border-left:3px solid #a78b49}.preview-panel ul{margin-bottom:0}
.guide-jumps{display:flex;flex-wrap:wrap;gap:.42rem;margin:-.45rem 0 1.4rem}.guide-jumps a{display:inline-flex;align-items:center;gap:.38rem;min-height:40px;padding:.28rem .68rem;border:1px solid var(--rule);border-radius:7px;background:#edefe1;text-decoration:none;font-weight:650}.guide-jumps a:hover{background:#e2ead5}.guide-jumps small{color:var(--muted);font-weight:550}.guide-group{margin-top:1.8rem}.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.article-layout{display:grid;grid-template-columns:minmax(190px,.63fr) minmax(0,2.07fr);gap:clamp(1rem,5vw,5rem);max-width:1130px}.guide-toc{position:sticky;top:calc(var(--header) + 1rem);align-self:start;padding:.85rem 1rem;background:#edefe1;border:1px solid var(--rule);border-radius:var(--radius)}.guide-toc a{display:block;padding:.33rem 0;font-size:.89rem}.guide-toc summary{font-weight:750;margin-bottom:.35rem;min-height:29px}.article-body{width:100%;max-width:750px;font-size:1.045rem}.article-body h2,.document h2{margin-top:1.7rem;font-size:1.48rem}.article-body figure,.case-detail figure{margin:1.25rem 0}.article-body p,.document p{line-height:1.68}.sources{border-top:1px solid var(--rule);margin-top:1.8rem}.document{max-width:820px;font-size:1.025rem}.contact-form{display:grid;gap:.7rem;max-width:480px}.contact-form label{display:grid;font-weight:650;gap:.35rem}.contact-form button{justify-self:start}.contact-form output{font-size:.89rem;color:var(--muted)}.case-detail{max-width:990px}.case-detail .editorial-split{margin:1.25rem 0}.case-detail ul{padding-left:1.3rem}.callout{padding:.9rem 1rem;background:#ecefdf;border-left:3px solid #6a8059;border-radius:0 7px 7px 0}.button-row{display:flex;flex-wrap:wrap;gap:.55rem;margin:.85rem 0}
@media(max-width:950px){.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-grid{grid-template-columns:minmax(0,1.75fr) minmax(275px,1fr)}.map-area{min-height:405px}.track-panel{padding:1rem}}
@media(max-width:720px){:root{--header:57px}.menu-toggle{display:inline-flex;gap:.42rem}.primary-nav{position:absolute;right:0;left:0;top:100%;padding:.7rem 1rem;display:grid;gap:.25rem;opacity:0;transform:translateY(-.4rem);visibility:hidden;background:#f8f6ee;border-bottom:1px solid var(--rule);transition:opacity .18s,transform .18s,visibility .18s}.primary-nav[data-open=true]{opacity:1;transform:none;visibility:visible}.primary-nav a{min-height:42px}.footer-inner{justify-content:space-between}.site-footer nav{margin-left:0;flex-wrap:wrap}.editorial-split,.article-layout{grid-template-columns:1fr}.guide-toc{position:static}.home-paths{gap:.65rem}.wrap,.home-sections{width:calc(100% - 32px)}}
@media(max-width:660px){.workspace-grid,.edit-grid,.home-paths,.guide-grid{grid-template-columns:1fr}.map-area{min-height:clamp(320px,74vw,420px)}.track-panel{border-left:0}.profile-panel,.editor{grid-column:1}.map-tools{right:9px;top:9px}.map-tools button{min-height:36px;font-size:.75rem;padding-inline:.49rem}.map-notice{font-size:.78rem;align-items:start}.profile-key{margin-left:.4rem;gap:.45rem}.case-metrics{display:none}.case-link{grid-template-columns:1.5rem minmax(0,1fr)}.site-footer{padding-top:1rem}.site-footer p{display:none}.site-footer .footer-inner{gap:.45rem}.article-cover{aspect-ratio:1.9}.guide-card img{aspect-ratio:2.45}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
.policy-toc{background:#edefe1;border:1px solid var(--rule);border-radius:var(--radius);padding:1rem;margin:1rem 0}.policy-toc ol{margin:.4rem 0 0;padding-left:1.25rem}.contact-form output{display:block;min-height:1.4em}
.profile-key{max-width:68%;vertical-align:middle}.profile-key span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.recommended-grid{grid-template-columns:minmax(0,800px)}.recommended-grid .guide-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);align-items:center}.recommended-grid .guide-card img{aspect-ratio:1.8}@media(max-width:460px){.recommended-grid .guide-card{display:block}.recommended-grid .guide-card img{aspect-ratio:2.45}.profile-key{max-width:53%}}
/* Keep the last menu link reachable on short screens and at high zoom. */
@media(max-width:720px){
  .menu-toggle {min-height:44px}
  .primary-nav {max-height:calc(100dvh - var(--header) - 1px);overflow-y:auto;overscroll-behavior-y:contain}
  .primary-nav a {display:flex;align-items:center;min-height:44px;width:fit-content;min-width:100%}
}

.home-paths .path-card {display:flex;flex-direction:column;padding:0}
.home-paths .path-card img {display:block;width:100%;height:auto;aspect-ratio:2.35;background:var(--light)}
.path-card-body {display:flex;flex:1;flex-direction:column;padding:1.05rem}
.path-card-body .path-link {margin-top:auto}
.home-guide-recommendation {margin-top:auto}
.home-guide-recommendation>span {display:block;color:var(--muted);font-size:.83rem}
.home-category-link,.home-all-guides {display:inline-block;font-weight:700}
.home-category-link {margin-top:.85rem}
.home-all-guides {margin-top:1rem;padding:.55rem .8rem;border:1px solid var(--rule);border-radius:8px}
.home-paths a,.home-all-guides,.guide-catalogue-section li a {text-decoration:none}
.home-paths a:hover,.home-all-guides:hover {color:#1b391a;background:var(--light)}
.home-paths a,.home-all-guides {border-radius:5px}
.home-demo-steps {padding-inline-start:1.3rem;margin-bottom:1.15rem}
.home-demo-steps li+li {margin-top:.38rem}
.home-route-figure {min-width:0}
.home-route-art,.home-profile-art {display:block;width:100%;border:1px solid var(--rule);border-radius:var(--radius)}
.home-route-art {background:#e9eddf}
.home-profile-art {background:#fcfaf2;fill:#4d574b;font:14px system-ui,sans-serif}
.home-record-figures {display:grid;gap:.8rem}
.home-demo .button-row {display:flex;flex-wrap:wrap;align-items:stretch;gap:.55rem}
.home-demo .button-row .home-all-guides {margin:0}
.home-demo .button-row a {display:inline-flex;align-items:center;min-height:44px}
.home-demo-credit {margin:.95rem 0 0;color:var(--muted);font-size:.85rem}

/* Home keeps the mode controls above the map at every width. */
.home-workbar {grid-column:1/-1;display:flex;align-items:center;gap:1rem;padding:.7rem clamp(.7rem,2vw,1.5rem);border-bottom:1px solid var(--rule);background:#fcfaf2}
.home-workbar h2 {font-size:1.3rem;margin:0}
/* Share the workspace edges and keep part of the interactive map in view. */
.home-hero {
  width:min(1560px,100%);
  margin-inline:auto;
  display:grid;
  grid-template-columns:minmax(0,37fr) minmax(0,63fr);
  min-height:clamp(340px,46svh,450px);
  background:var(--paper);
  border-bottom:1px solid var(--rule);
}
.home-hero-copy {
  align-self:center;
  padding:clamp(1.25rem,3.2vw,3.25rem) clamp(1rem,2.8vw,2.85rem);
}
.home-hero h1 {font-size:clamp(1.9rem,3.6vw,3.9rem);line-height:1.04;color:#233a26}
.home-hero h1 span {display:block}
.home-hero p {max-width:32ch;margin:0 0 1.3rem;font-size:clamp(1rem,1.4vw,1.28rem);text-wrap:pretty}
.home-hero .action {min-height:44px;padding-inline:1rem}
.home-hero-landscape {position:relative;overflow:hidden;min-width:0;background:#dee5d5}
.home-hero-landscape img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% center}
@media(max-width:760px) {
  .home-hero {grid-template-columns:1fr;min-height:0}
  .home-hero-copy {padding:1.15rem 1rem}
  .home-hero h1 {font-size:clamp(1.9rem,5.3vw,2.6rem);margin-bottom:.65rem}
  .home-hero p {margin-bottom:.9rem}
  .home-hero-landscape {height:clamp(130px,22svh,225px)}
}
@media(max-width:760px) and (max-height:650px) {
  .home-hero-landscape {height:clamp(92px,18svh,120px)}
}
.home-work-modes {display:flex;gap:.35rem}
.home-work-modes button[aria-pressed="true"] {background:#456038;color:#fffdf5;border-color:#456038}
#home-example {margin-inline-start:auto}
.home-workspace .track-panel {padding:1rem clamp(.85rem,2vw,1.45rem)}
.home-workspace .map-area {min-height:clamp(430px,37vw,545px)}
.home-section-head {display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.5rem;margin-bottom:1.1rem}
.home-section-head h2,.home-section-head a {margin:0}
.home-example-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem clamp(1rem,3vw,2.6rem)}
.home-demo {min-width:0;border-top:2px solid var(--rule);padding-top:1rem;display:grid;gap:1rem}
.home-demo-copy p:last-child {margin-bottom:0}
.home-route-art {max-height:255px}
.home-climb-profile,.home-example-credits {grid-column:1/-1}
.home-climb-profile {padding-top:.4rem}
.home-climb-profile .home-profile-art {height:auto;max-height:none}
.home-profile-compact {display:none}
.home-example-credits {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem clamp(1rem,3vw,2.6rem);color:var(--muted);font-size:.84rem}
.home-example-credits p {margin:0}
.home-distance-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.75rem,2.2vw,1.8rem);margin:0 0 1rem}
.home-distance-grid>div {border-top:2px solid var(--rule);padding-top:.75rem}
.home-distance-grid dt {font-weight:700}
.home-distance-grid dd {margin:0}
.home-distance-grid dd strong {display:block;color:#365330;font-size:1.45rem;font-variant-numeric:tabular-nums;margin:.2rem 0}
.home-distance-grid p {margin:0;color:var(--muted)}
.home-distance-actions {display:flex;align-items:center;flex-wrap:wrap;gap:.55rem}
.home-distance-actions .home-all-guides {margin:0}
.home-guide-path {min-width:0;border-top:2px solid var(--rule);padding-top:.85rem;display:flex;flex-direction:column}
.home-guide-path p {color:var(--muted)}
.home-guide-lead {display:block;border:1px solid var(--rule);border-radius:var(--radius);overflow:hidden;background:#fffdf5}
.home-guide-lead img {width:100%;aspect-ratio:2.3;height:auto}
.home-guide-lead strong {display:block;padding:.7rem .8rem}
.home-more-guides {list-style:none;margin:.55rem 0 0;padding:0}
.home-more-guides a {display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:.65rem;min-height:55px;padding:.35rem .2rem;border-bottom:1px solid var(--rule);font-weight:650;line-height:1.3}
.home-more-guides img {width:64px;aspect-ratio:1.6;height:auto;border-radius:5px}
.home-guide-path .home-category-link {align-self:start;margin-top:auto;padding-top:.65rem}

/* Practice pages pair steps with the checks a visitor can make in the workspace. */
.practice-content {max-width:1100px}
.practice-jumps {margin-bottom:0}
.practice-section {margin-top:1.65rem;border-top:1px solid var(--rule);padding:1.25rem 0 .4rem}
.practice-content>.practice-section:first-child {margin-top:.35rem}
.practice-columns {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1rem,3vw,2.1rem);align-items:start}
.practice-columns>div {min-width:0}
.practice-columns ol {padding-left:1.4rem}
.practice-columns ol li+li {margin-top:.55rem}
.practice-facts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1.35rem;margin:0}
.practice-facts-single {grid-template-columns:1fr}
.practice-facts>div {padding:.65rem 0;border-top:1px solid var(--rule)}
.practice-facts dt {font-weight:720}
.practice-facts dd {margin:0;color:var(--muted)}
.practice-aside {padding:1rem 1.1rem;border:1px solid var(--rule);border-radius:var(--radius);background:#eff1e5}
.practice-aside p:last-child,.practice-callout p {margin-bottom:0}
.practice-callout {display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem}
.case-task-groups {display:grid;gap:1.7rem}
.case-task-groups h2 {font-size:1.4rem;text-wrap:balance}
.case-task-list {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;list-style:none;padding:0;margin:0}
.case-task-list a {display:grid;grid-template-rows:auto 1fr;height:100%;border:1px solid var(--rule);border-radius:var(--radius);background:#fffdf5;text-decoration:none;line-height:1.35}
.case-task-list a:hover {background:var(--light);border-color:#758a64}
/* Thumbnails preview the data shape. The detail figure carries the readable labels. */
.case-thumb .route-diagram {border:0;border-radius:var(--radius) var(--radius) 0 0}
.case-thumb svg text {display:none}
.case-task-copy {display:grid;align-content:start;padding:.85rem;min-width:0}
.case-task-list small {display:block;color:var(--muted);margin-top:.22rem}
.case-file-count {font-size:.82rem;color:var(--muted);margin-top:.5rem;font-variant-numeric:tabular-nums}
.case-detail [data-group="files"] .home-all-guides {margin:0}
.case-detail .case-observation figure {margin:0}
.case-detail .case-observation {padding-top:1rem;border-top:1px solid var(--rule)}
.case-observation .route-diagram text {font-size:20px}
@media(max-width:920px) {
  .case-task-list {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px) {
  .practice-columns,.practice-facts {grid-template-columns:1fr}
  .practice-aside {padding:.85rem}
}
@media(max-width:520px) {
  .case-task-list {grid-template-columns:1fr;gap:.65rem}
  .case-task-list a {grid-template:1fr / minmax(78px,31%) minmax(0,1fr);align-items:center}
  .case-thumb {padding-left:.45rem}
  .case-thumb .route-diagram {border-radius:var(--radius)}
  .case-task-copy {padding:.65rem}
  .case-observation .route-diagram text {font-size:28px}
}
/* Let the longest copy set each shared row height without trimming titles. */
@media(min-width:721px) {
  .home-demo {grid-row:span 3;grid-template-rows:subgrid}
  .home-demo .home-route-art {height:clamp(145px,17vw,240px)}
  .home-demo .button-row {align-self:start}
}
@media(min-width:661px) {
  .home-paths {row-gap:.4rem}
  .home-guide-path {display:grid;grid-row:span 8;grid-template-rows:subgrid}
  .home-guide-recommendation {height:100%;margin:0}
  .home-guide-lead {height:100%}
  .home-more-guides {display:grid;grid-row:span 5;grid-template-rows:subgrid;margin:0}
  .home-more-guides a {height:100%}
}
@media(max-width:720px) {
  .home-workbar {flex-wrap:wrap;gap:.45rem}
  .home-workbar h2 {flex-basis:100%;font-size:1.15rem}
  .home-workbar button {font-size:.76rem;padding-inline:.46rem}
  .home-example-grid,.home-example-credits,.home-distance-grid {grid-template-columns:1fr}
  .home-profile-wide {display:none}
  .home-profile-compact {display:block}
}
@media(max-width:660px) {
  .home-workspace .map-area {min-height:clamp(320px,74vw,420px)}
  .home-guide-lead {display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center}
  .home-guide-lead img {aspect-ratio:1.4;height:100%;min-height:62px}
  .home-guide-path+ .home-guide-path {margin-top:.8rem}
}

/* Planner controls reuse the workspace theme and leave room for long point lists. */
.plan-toggle {align-self:flex-start;margin:0 0 .75rem}
[data-planning] #compare-title,[data-planning] [data-tool-description],
[data-planning] .profile-panel,[data-planning] .editor {display:none}
.plan-actions {display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.75rem}
#plan-via[aria-pressed="true"] {color:#fffdf5;background:#456038;border-color:#456038}
.plan-trails {display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;margin-bottom:.7rem}
.plan-trails button[aria-pressed="true"] {background:#e3ede3;border-color:#28685d;color:#24564e}
.plan-trail-key {width:2rem;border-top:3px dashed #216359}
.plan-trails p {flex-basis:100%;margin:0;font-size:.82rem}
.plan-point-unmatched {background:#f9ede1}
.plan-point-unmatched .plan-point-label,.plan-marker.plan-marker-unmatched {background:#8e391e}
.plan-point-unmatched small {color:#74321c}
#plan-locate {margin-bottom:.7rem}
.plan-points {list-style:none;padding:0;margin:0;max-height:12rem;overflow:auto}
.plan-points li {display:grid;grid-template-columns:1.7rem minmax(0,1fr) auto;align-items:center;gap:.5rem;padding:.38rem .15rem;border-bottom:1px solid var(--rule)}
.plan-points small {display:block;color:var(--muted)}
.plan-points button {font-size:.82rem;padding:.35rem}
.plan-point-label,.plan-marker {display:grid;place-items:center;border-radius:50%;background:#56336e;color:#fffdf5;font-size:.78rem;font-weight:750;min-width:1.55rem;height:1.55rem}
.plan-marker {min-width:2rem;height:2rem;border:2px solid #fffdf5;box-shadow:0 1px 5px #2228;cursor:grab;user-select:none;touch-action:none}
.plan-marker:active {cursor:grabbing}
.planning-map .maplibregl-canvas {cursor:crosshair}
.plan-total {display:flex;justify-content:space-between;gap:.5rem;margin:.7rem 0;padding:.5rem 0;border-top:1px solid var(--rule)}
#plan-total {font-weight:750;font-variant-numeric:tabular-nums}
.plan-map-readout {position:absolute;z-index:2;top:7rem;left:.55rem;margin:0;padding:.3rem .55rem;background:#fffdf5;color:var(--ink);border:1px solid var(--rule);border-radius:6px;font-size:.8rem;pointer-events:none}

/* Each category occupies a full row so a shorter category leaves no empty sidebar. */
.guide-catalogue {
  display:grid;
  gap:clamp(1.5rem,3vw,2.75rem);
}
.guide-catalogue-section {border-top:2px solid var(--rule);padding-top:1rem}
.guide-catalogue-section h3 {display:flex;flex-wrap:wrap;align-items:baseline;gap:.35rem .7rem}
.guide-catalogue-section small {color:var(--muted);font-weight:550}
.guide-catalogue-section ul {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  column-gap:clamp(.8rem,2vw,2rem);
  list-style:none;
  padding:0;
  margin:0;
}
.guide-catalogue-section li {border-bottom:1px solid var(--rule)}
.guide-catalogue-section li a {
  display:flex;
  align-items:center;
  gap:.75rem;
  min-height:58px;
  height:100%;
  padding:.48rem .35rem;
  border-radius:8px;
  line-height:1.35;
  font-weight:620;
}
.guide-catalogue-section li img {
  width:clamp(62px,7vw,96px);
  height:auto;
  aspect-ratio:16/10;
  flex:none;
  border-radius:6px;
  background:var(--light);
}
.guide-catalogue-section li span {min-width:0;overflow-wrap:anywhere}
.guide-catalogue-section li a:hover {background:var(--light)}
@media(max-width:720px){
  .guide-catalogue-section ul {grid-template-columns:minmax(0,1fr)}
}

/* Footer groups share the same route labels as the header and guide catalogue. */
.site-footer .footer-inner {
  display:grid;
  grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr));
  align-items:start;
  gap:1.2rem clamp(.8rem,3vw,2rem);
}
.footer-brand {min-width:0}
.footer-brand p,.footer-brand small {display:block;margin-top:.38rem}
.site-footer nav {display:grid;justify-items:start;align-content:start;gap:.1rem;margin:0}
.site-footer nav strong {padding:.32rem .45rem;color:var(--ink);font-size:.91rem}
.site-footer nav a {padding:.34rem .45rem;white-space:normal}
@media(max-width:720px){
  .site-footer .footer-inner {grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-brand {grid-column:1/-1}
}
