:root{color-scheme:light;--ink:#172d2b;--muted:#536966;--line:#dce6e2;--bg:#f2f6f4;--panel:#fff;--side:#142f2e;--side-dark:#102827;--accent:#245e50;--hover:#eaf3ef;--shadow:0 2px 5px #173c3010;font-family:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}
body{margin:0}
button,input,select,textarea{font:inherit}
a{color:#245e50;text-decoration:none}
a:hover{text-decoration:underline}
:focus-visible{outline:3px solid #c47b39;outline-offset:3px}
.skip,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.skip:focus{top:8px;left:8px;z-index:10;width:auto;height:auto;overflow:visible;clip-path:none;background:white;padding:10px}
.layout{min-height:100vh;display:grid;grid-template-columns:230px minmax(0,1fr)}
.sidebar{height:100dvh;position:sticky;top:0;padding:25px 16px 17px;display:flex;flex-direction:column;background:linear-gradient(165deg,var(--side),var(--side-dark));color:#e4f0eb;overflow:auto}
.brand{display:flex;align-items:center;gap:12px;font-weight:760;letter-spacing:.07em;color:#f2fff8;line-height:1.25;margin:0 8px 39px}
.brand:hover{text-decoration:none}
.brand small{display:block;font-size:.78rem;font-weight:610;letter-spacing:.21em;color:#a3c3b7;margin-top:3px}
.mark{width:39px;height:39px;display:grid;place-items:center;border:1px solid #63877a;background:#244941;border-radius:9px;color:#dcf0e4;font-size:22px}
.sidebar-label{font-size:.76rem;letter-spacing:.13em;color:#a6c0b8;font-weight:700;margin:0 10px 10px}
nav{display:grid;gap:4px}
nav a{padding:10px 9px;display:flex;align-items:center;gap:11px;color:#cedfd9;font-size:.9rem;font-weight:570;border-radius:7px;border:1px solid transparent;white-space:nowrap}
nav a:hover{background:#244740;text-decoration:none}
nav a[aria-current]{color:white;background:#2b5148;border-color:#477568}
.nav-icon{width:20px;text-align:center;font-size:1.14rem;font-weight:650;color:#abd0c0}
.sidebar-bottom{margin-top:auto;padding:24px 8px 2px;display:flex;align-items:center;gap:8px;font-size:.87rem;color:#b5cbc3}
.status-dot,.hero-date span{height:7px;width:7px;border-radius:50%;background:#a2d2a8;flex:none}
.body{min-width:0}
.topbar{min-height:67px;padding:10px clamp(17px,3vw,42px);border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px}
.crumb,#attempt-controls{display:flex;align-items:center;gap:10px;min-width:0;font-size:.9rem}
.crumb span{color:var(--muted)}
.crumb strong{font-size:.94rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.slash{opacity:.55}
.attempt-picker select{max-width:210px}
.mobile-menu{display:none!important}
main{padding:28px clamp(17px,3vw,42px) 48px;max-width:1600px;margin:auto}
.hero{min-height:249px;border-radius:13px;color:#fff;display:flex;align-items:center;overflow:hidden;background:#213e3b;background-image:linear-gradient(92deg,#112d2cef 0%,#173633c9 39%,#1736335e 76%,#17363328 100%),url('/sawatch.webp');background-position:center,center 52%;background-size:cover;box-shadow:var(--shadow)}
.hero-content{padding:33px clamp(20px,4vw,43px)}
.hero-date{display:inline-flex;align-items:center;gap:8px;border:1px solid #a1c3b564;background:#163c36b5;color:#e3f4e8;padding:5px 10px;border-radius:20px;font-size:.84rem;font-weight:700;letter-spacing:.06em}
h1,h2,h3,p{margin:0}
.hero h1{font-size:clamp(2.15rem,4vw,3.35rem);letter-spacing:-.055em;line-height:1.06;margin:12px 0}
.hero p{color:#e0eee8;margin-bottom:20px;max-width:65ch;line-height:1.5}
.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:7px;padding:8px 12px;min-height:36px;cursor:pointer;font-weight:670;font-size:.88rem;background:#fff;color:#254842;text-decoration:none;white-space:nowrap}
.button:hover{background:#edf5f0;text-decoration:none}
.button:disabled{opacity:.55;cursor:progress}
.primary{color:white;background:#245e50;border-color:#245e50}
.primary:hover{color:white;background:#1a4b3f}
.hero-button{background:#e5f3e9;border-color:#e5f3e9;color:#173d32}
.panel{border:1px solid var(--line);border-radius:11px;background:var(--panel);box-shadow:var(--shadow);min-width:0}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:17px 0 21px}
.stat{padding:16px;color:var(--ink);display:flex;flex-direction:column;gap:4px}
.stat:hover{text-decoration:none;border-color:#9cbcb0}
.stat-top{display:flex;align-items:center;gap:9px;margin-bottom:4px}
.stat-icon{display:grid;place-items:center;color:#286451;background:#e6f2eb;border-radius:7px;width:31px;height:31px;font-weight:650}
.stat strong{font-size:1.55rem;line-height:1}
.stat small,.meta,.mini-list small{font-size:.86rem;color:var(--muted)}
.overview-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(245px,1fr);gap:16px;align-items:start}
.overview-grid>*{min-width:0}
.stack{display:grid;gap:16px}
.panel-heading{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line)}
.panel-heading h2,.detail-grid h2{font-size:1.06rem;letter-spacing:-.02em}
.panel-heading a{font-size:.88rem;font-weight:670}
.panel-body{padding:15px 16px}
.panel-body p,.route-summary p{margin-top:10px;color:var(--muted);line-height:1.52}
.window-title{font-weight:730;margin-bottom:8px}
.table-wrap{overflow:auto;border-radius:0 0 10px 10px}
table{border-collapse:collapse;width:100%;text-align:left;font-size:.9rem}
th{background:#f7faf8;color:#46615b;text-align:left;font-weight:680;font-size:.85rem}
th,td{padding:12px 13px;border-bottom:1px solid #e6eeea;vertical-align:top}
td:not(:first-child),th{white-space:nowrap}
tr:last-child td{border-bottom:0}
td:first-child{min-width:170px}
.text-button{border:0;padding:0;color:#1b5b4c;background:transparent;text-align:left;cursor:pointer;font-weight:690}
.text-button:hover{text-decoration:underline}
td .meta{margin-top:4px}
.badge{border-radius:20px;font-size:.875rem;line-height:1.3;font-weight:650;display:inline-flex;padding:3px 8px;color:#36554d;background:#eef4f1;white-space:nowrap}
.badge.green{background:#e2f3e6;color:#265c3e}
.badge.amber{background:#fff1d6;color:#744614}
.badge.orange{background:#fae9d9;color:#7e3b1a}
.mini-list{margin:0;padding:0;list-style:none}
.mini-list li{padding:11px 16px;border-bottom:1px solid var(--line)}
.mini-list li:last-child{border-bottom:0}
.mini-list small{display:block;margin-top:4px}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:2px 0 22px}
.page-heading h1{font-size:clamp(1.85rem,4vw,2.55rem);letter-spacing:-.048em;line-height:1.12}
.page-heading p{margin-top:8px;color:var(--muted);line-height:1.5}
.filters{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.search{display:flex;align-items:center;gap:6px;background:white;border:1px solid var(--line);border-radius:7px;padding:0 9px;flex:0 1 315px}
.search input{border:none!important;min-width:0;padding-left:2px!important;width:100%}
.search span{font-size:1.23rem;color:var(--muted)}
.filter-label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:.87rem}
.results-count{font-size:.87rem;color:var(--muted)}
input,select,textarea{background:#fff;color:var(--ink);border:1px solid #c9d9d3;border-radius:6px;min-height:36px;padding:7px 9px}
select{appearance:none;padding-right:31px;background-image:linear-gradient(45deg,transparent 50%,#40625a 50%),linear-gradient(135deg,#40625a 50%,transparent 50%);background-position:calc(100% - 14px) 52%,calc(100% - 9px) 52%;background-size:5px 5px;background-repeat:no-repeat}
textarea{resize:vertical}
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px}
.record-card{padding:16px;display:flex;flex-direction:column;align-items:flex-start}
.record-card h3{font-size:1.06rem;margin:9px 0 4px}
.record-card p{margin-top:9px;line-height:1.48}
.record-badges{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.record-notes{white-space:pre-wrap;overflow-wrap:anywhere}
.question{font-weight:650}
.record-foot{margin-top:auto;padding-top:13px;color:var(--muted);font-size:.87rem}
.source-link{font-size:.88rem;font-weight:670;text-decoration:underline;text-underline-offset:3px;display:inline-block}
.record-foot .source-link,.mini-list .source-link{margin-left:9px}
.empty,.loading{padding:20px;color:var(--muted)}
.empty p{margin:7px 0 14px}
.empty.compact{padding:11px 16px;font-size:.88rem}
.route-summary,.segment-card{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px}
.route-summary{margin-bottom:16px}
.timeline{display:grid;gap:10px;border-left:2px solid #9ebcaf;padding-left:15px}
.segment-card{position:relative;color:var(--ink)}
.segment-card::before{content:"";position:absolute;left:-22px;top:21px;width:10px;height:10px;background:#4f8070;border:2px solid var(--bg);border-radius:50%}
.segment-card:hover{text-decoration:none;border-color:#9cbcb0}
.segment-card h2{font-size:1.12rem;margin:4px 0}
.segment-card p{color:var(--muted)}
.back{display:inline-block;margin-bottom:9px;font-size:.9rem;font-weight:700}
.segment-detail{padding:17px;margin-bottom:14px}
.detail-grid{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:16px;margin:13px 0;color:var(--ink)}
.detail-grid p{margin-top:5px;color:var(--muted);white-space:pre-wrap;line-height:1.46}
.segment-detail~.panel{margin-top:12px}
.icon-button{background:#eaf2ee;color:#264a40;border:1px solid var(--line);border-radius:7px;width:36px;height:36px;display:grid;place-items:center;cursor:pointer;font-weight:700}
dialog{border:1px solid #a8beb4;border-radius:12px;width:min(660px,calc(100vw - 26px));max-height:90vh;overflow:auto;color:var(--ink);padding:0;box-shadow:0 18px 75px #102d2b4f}
dialog::backdrop{background:#0926238c}
.dialog-head,.dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:#f8fbf9}
.dialog-head{border-bottom:1px solid var(--line)}
.dialog-head h2{font-size:1.22rem}
.dialog-actions{justify-content:flex-end;border-top:1px solid var(--line)}
.form-grid{padding:16px 18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.field{display:flex;flex-direction:column;gap:5px;min-width:0}
.field span{font-size:.87rem;font-weight:650}
.field.wide,.field:has([name="url"]){grid-column:1/-1}
.form-error{padding:0 18px 8px;color:#9f3127;font-size:.9rem}
.form-error:empty{display:none}
#toast{position:fixed;bottom:19px;right:19px;background:#163b32;color:white;padding:11px 15px;border-radius:8px;opacity:0;pointer-events:none;z-index:8}
#toast.visible{opacity:1}
@media(max-width:1100px){.overview-grid{grid-template-columns:minmax(0,1fr)}.stack{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.layout{grid-template-columns:minmax(0,1fr)}.sidebar{display:none;position:fixed;z-index:5;top:0;left:0;width:230px;height:100dvh;box-shadow:0 8px 30px #152b2977}.nav-open .sidebar{display:flex}.nav-open .mobile-menu{position:fixed;left:239px;top:13px;z-index:6}.mobile-menu{display:grid!important}.topbar{min-height:61px}.crumb>span{display:none}.hero{min-height:222px}main{padding-top:18px}}
@media(max-width:510px){.stats,.stack{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stack,.detail-grid{grid-template-columns:minmax(0,1fr)}.attempt-picker select{max-width:128px;font-size:.85rem}.crumb strong{display:none}.topbar{gap:6px}.page-heading{align-items:flex-start}.page-heading p{font-size:.93rem}.page-heading .button{white-space:normal}.stat{padding:11px}.stat b{font-size:.93rem}.stat small{font-size:.81rem}.hero p{font-size:.9rem}.form-grid{grid-template-columns:minmax(0,1fr)}}
.hero-links,.crew-links,.checkpoint-links,.crew-extras{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}
.hero-button.secondary{background:#173c36b5;border-color:#abc6ba;color:#fff}
.hero-button.secondary:hover{background:#245e50}
.entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:17px 0 20px}
.entry-card{display:block;padding:18px;color:var(--ink)}
.entry-card:hover{text-decoration:none;border-color:#9cbcb0}
.entry-card h2{margin:8px 0 5px;font-size:1.17rem}
.entry-card p,.subheading p{color:var(--muted);line-height:1.5}
.entry-card small{display:block;margin-top:8px;color:var(--muted)}
.checkpoint-list{display:grid;gap:10px;margin-top:23px}
.subheading h2{font-size:1.25rem;margin-bottom:5px}
.checkpoint{padding:15px 17px}
.checkpoint-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:flex-start}
.checkpoint h3{font-size:1.1rem;margin:4px 0 8px}
.checkpoint-roles{margin:2px 0 9px;padding-left:20px;color:var(--ink)}
.checkpoint-roles li{margin:5px 0;line-height:1.45}
.checkpoint-roles .badge{margin-left:3px}
.checkpoint-links a,.segment-adjacent a{font-weight:660;font-size:.9rem}
.crew-extras{margin-top:16px}
.section-cards{padding:14px}
.section-cards .panel{box-shadow:none}
.panel-body>.source-link{margin-top:8px}
.segment-adjacent{display:flex;justify-content:space-between;gap:12px;margin:19px 0 0}
.segment-adjacent small{display:block;color:var(--muted);margin-bottom:4px}
@media(max-width:510px){.entry-grid{grid-template-columns:minmax(0,1fr)}.segment-card .badge{white-space:normal;text-align:center}}

.record-notes{white-space:pre-line;line-height:1.6}.checkpoint h2{font-size:1.25rem;margin:8px 0}.checkpoint-list{margin-bottom:24px}

.support-list,.access-list{display:grid;gap:14px}.responsibility,.access-point{padding:18px}.responsibility h3{font-size:1.2rem;margin:3px 0}.responsibility dl{display:grid;grid-template-columns:150px 1fr;gap:8px;margin:14px 0 0}.responsibility dt{font-weight:650}.responsibility dd{margin:0}.access-point h2{font-size:1.2rem;margin:0}.support-list{margin:14px 0}.access-list{margin:18px 0}@media(max-width:510px){.responsibility dl{grid-template-columns:1fr;gap:5px}.responsibility dd{margin-bottom:9px}}
.scouting-gallery{margin:22px 0 28px;overflow:hidden}.gallery-heading{padding:22px 24px 16px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.gallery-heading h2{font-size:1.6rem;margin:4px 0 6px}.gallery-heading p{margin:0;color:var(--muted);line-height:1.5}.eyebrow{font-size:.875rem!important;font-weight:750;letter-spacing:.09em;color:var(--accent)!important}.gallery-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.gallery-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px;padding:16px 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#f5f8f6}.gallery-toolbar label{display:grid;gap:6px;font-size:.9rem;font-weight:650}.gallery-toolbar select{background:white;border:1px solid #b7cbc2;border-radius:6px;padding:9px 12px;min-height:42px;color:var(--ink)}.gallery-toolbar .pending-toggle{display:flex;align-items:center;gap:7px;min-height:42px;font-weight:500}.pending-toggle input{width:18px;height:18px}.gallery-note{padding:12px 24px;font-size:.9rem;line-height:1.5;background:#eef5f1;color:#3d5d51}.gallery-error{margin:12px 24px;color:#952c26}.media-stage{position:relative;background:#102723;min-height:420px;display:flex;align-items:center;justify-content:center;padding:0;overflow:hidden}.study-photo,.study-video,.drive-preview{display:block;width:100%;height:520px;max-height:70vh;object-fit:contain;border:0}.drive-preview{background:white}.media-ready,.media-wait{min-height:420px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;padding:30px;color:#f0faf5;text-align:center}.media-ready p,.media-wait p{font-size:.9rem;max-width:440px;line-height:1.5;color:#c0d7cc}.media-ready>img{max-width:280px;max-height:190px;object-fit:contain}.media-ready strong{font-size:1.2rem}.media-glyph{font-size:4rem;color:#bed3c7}.media-details{display:flex;justify-content:space-between;gap:14px;padding:20px 24px 0;flex-wrap:wrap}.media-details h3{font-size:1.35rem;margin:5px 0}.media-details p{margin:5px 0;color:var(--muted)}.media-caption{margin:0;padding:10px 24px 20px;line-height:1.6;white-space:pre-line;color:var(--muted)}.gallery-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 24px 20px}.gallery-pagination span{font-size:.95rem;color:var(--muted)}.button:disabled{opacity:.4;cursor:default}.nearby-media{padding:18px 24px;background:#f3f7f4;border-top:1px solid var(--line)}.nearby-media h3{margin:0 0 6px;font-size:1.05rem}.nearby-media p{font-size:.9rem;color:var(--muted);margin:6px 0 12px}.nearby-buttons{display:flex;gap:8px;flex-wrap:wrap}.media-strip{display:flex;gap:10px;overflow-x:auto;padding:18px 24px;scrollbar-width:thin;border-top:1px solid var(--line)}.media-thumb{flex:0 0 190px;border:2px solid #dce6e0;background:#fff;padding:0;text-align:left;overflow:hidden;border-radius:9px;cursor:pointer;color:var(--ink)}.media-thumb.is-selected{border-color:#bc682c;background:#fff8ef}.media-thumb>img,.thumb-symbol{display:flex;align-items:center;justify-content:center;width:100%;height:95px;object-fit:cover;background:#e2ece6;font-size:2rem;color:#406550}.media-thumb>span:not(.thumb-symbol){display:block;padding:10px}.media-thumb strong{display:block;font-size:.9rem}.media-thumb small{display:block;margin-top:5px;font-size:.875rem;color:var(--muted)}.gallery-footer{padding:14px 24px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);font-size:.875rem;color:var(--muted);line-height:1.6}.gallery-map{background:#e1e7df;position:relative}.gallery-map svg{display:block;width:100%;max-height:540px}.route-line{stroke:#205b45;stroke-width:4;fill:none;stroke-linejoin:round;stroke-linecap:round}.route-halo{stroke:white;stroke-width:8;fill:none}.media-pin{fill:#2f6853;stroke:white;stroke-width:2}.selected-pin{fill:#c56828;stroke:white;stroke-width:3}.endpoint-pin{fill:#102b2a;stroke:white;stroke-width:2}.map-label{font-weight:750;fill:#102b2a;stroke:white;paint-order:stroke;stroke-width:4px;stroke-linejoin:round}.gallery-map g[role=button]{cursor:pointer}.gallery-map g[role=button]:focus circle{stroke:#e6a34f;stroke-width:5}.map-caption{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:10px 16px;font-size:.875rem;color:var(--muted);line-height:1.5}.gallery-manage{border-top:1px solid var(--line);padding:14px 24px;font-size:.9rem}.gallery-manage summary{cursor:pointer;font-weight:650}.gallery-manage p{line-height:1.6;color:var(--muted)}
@media(max-width:900px){.gallery-heading{flex-direction:column}.gallery-toolbar{gap:12px}.study-photo,.study-video,.drive-preview{height:440px}.media-stage,.media-ready,.media-wait{min-height:340px}}
@media(max-width:510px){.gallery-heading,.gallery-toolbar{padding:16px}.gallery-toolbar label{flex:1;min-width:120px}.gallery-heading h2{font-size:1.4rem}.gallery-actions .button{font-size:.875rem}.study-photo,.study-video,.drive-preview{height:360px;max-height:60vh}.media-stage,.media-ready,.media-wait{min-height:280px}.media-details{padding:16px 16px 0}.media-details h3{font-size:1.2rem}.media-caption{padding:10px 16px 16px}.gallery-pagination{padding:0 16px 16px}.media-strip{padding:14px 16px}.media-thumb{flex-basis:165px}.nearby-media{padding:16px}}
/* The map and numbered route stops are the primary navigation. */
.map-study-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start;border-top:1px solid var(--line)}.route-map-column{min-width:0;position:sticky;top:76px;border-right:1px solid var(--line);background:#f5f8f5}.route-viewer-column{min-width:0;background:#fff}.map-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;flex-wrap:wrap;font-size:.875rem;color:var(--muted)}.map-tools>div{display:flex;gap:6px}.map-tools .button{font-size:.875rem;padding:6px 9px}.route-map-column .gallery-map svg{max-height:none;touch-action:none;user-select:none;cursor:grab}.route-map-column .gallery-map svg:active{cursor:grabbing}.stop-number{fill:#fff;font-weight:750;text-anchor:middle;pointer-events:none}.pin-leader{pointer-events:none;stroke:#5b7668;stroke-width:1.5}.stop-unavailable{opacity:.28}.review-pin{fill:#78654d;stroke:#fff;stroke-width:2}.route-stop-pin:focus{outline:none}.route-stop-pin:focus circle{stroke:#e4a04f;stroke-width:5}.route-direction-label{align-self:center;margin-left:auto;font-size:.9rem;font-weight:650;color:#365e48}.stop-list-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:14px 16px 8px}.stop-list-heading h3{margin:0;font-size:1rem}.stop-list-heading span{font-size:.875rem;color:var(--muted)}.route-stop-list{max-height:220px;overflow-y:auto;padding:0 10px 12px;scrollbar-width:thin}.route-stop-row{width:100%;display:flex;gap:12px;align-items:center;text-align:left;padding:11px 12px;border:1px solid transparent;background:transparent;border-radius:8px;color:var(--ink);cursor:pointer}.route-stop-row:hover{background:#e5eee8}.route-stop-row.is-selected{background:#fff3e5;border-color:#d9a674}.route-stop-row>b{display:grid;place-items:center;flex-shrink:0;border-radius:50%;width:29px;height:29px;background:#285f4c;color:white;font-size:.9rem}.route-stop-row.is-selected>b{background:#b56129}.route-stop-row strong{display:block;font-size:.95rem}.route-stop-row small{display:block;font-size:.875rem;margin-top:3px;color:var(--muted)}.active-stop-heading{display:flex;gap:12px;align-items:center;padding:18px 18px 14px;background:#fcf8f1}.active-stop-heading h3{font-size:1.2rem;margin:0 0 5px}.active-stop-heading p{font-size:.95rem;margin:0;color:var(--muted)}.stop-chip{background:#b56129;color:white;padding:8px 11px;border-radius:7px;white-space:nowrap;font-weight:700}.stop-progress{height:4px}.stop-progress svg{display:block;width:100%;height:4px}.route-viewer-column .media-stage{min-height:300px}.route-viewer-column .study-photo,.route-viewer-column .study-video,.route-viewer-column .drive-preview{height:380px;max-height:55vh}.route-viewer-column .media-details{padding:18px 18px 0}.route-viewer-column .media-details h3{font-size:1.25rem}.route-viewer-column .media-caption{padding:10px 18px 15px}.route-viewer-column .gallery-pagination{padding:16px 18px;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line)}.route-viewer-column .gallery-pagination .button{font-size:.9rem}.stop-visits{padding:14px 18px;background:#f4f7f3;border-top:1px solid var(--line)}.stop-visits h4{margin:0 0 10px;font-size:.95rem}.stop-visit-buttons{display:flex;flex-wrap:wrap;gap:8px}.visit-button{border:1px solid #c8d7cc;background:white;border-radius:7px;padding:9px 11px;cursor:pointer;text-align:left;color:var(--ink)}.visit-button span{display:block;font-size:.875rem;color:var(--muted)}.visit-button strong{display:block;font-size:.9rem;margin-top:4px}.visit-button.is-selected{border:2px solid #b56129;background:#fff5e8}.review-locations{padding:16px 24px;border-top:1px solid var(--line)}.review-locations summary{cursor:pointer;font-weight:650}.review-locations p{color:var(--muted);font-size:.9rem;line-height:1.6}.review-locations .button{margin:5px 8px 0 0}
@media(max-width:1100px){.map-study-layout{grid-template-columns:minmax(0,1fr)}.route-map-column{position:static;border-right:0;border-bottom:1px solid var(--line)}.route-map-column .gallery-map svg{max-height:500px}.route-stop-list{display:flex;max-height:none;overflow:auto;padding:8px 14px 14px}.route-stop-row{flex:0 0 220px;width:220px;background:#fff;border-color:var(--line)}.route-viewer-column{scroll-margin-top:75px}.route-viewer-column .study-photo,.route-viewer-column .study-video,.route-viewer-column .drive-preview{height:450px}}
@media(max-width:510px){.map-tools{padding:10px}.map-tools>span{width:100%}.stop-list-heading{padding:12px 12px 5px}.route-stop-row{flex-basis:190px}.active-stop-heading{padding:14px 12px}.active-stop-heading h3{font-size:1.1rem}.route-viewer-column .media-stage{min-height:260px}.route-viewer-column .study-photo,.route-viewer-column .study-video,.route-viewer-column .drive-preview{height:360px}.stop-visits{padding:14px 12px}.route-direction-label{margin-left:0}.review-locations{padding:16px}.stop-visit-buttons{max-height:180px;overflow:auto}}
@media(min-width:1101px) and (max-height:850px){.route-stop-list{max-height:150px}.route-map-column .gallery-map svg{max-height:370px}}
.direction-chevron{fill:none;stroke:#e6ac4b;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.clean-player{width:100%;background:#102723}.clean-player .study-video{display:block;width:100%;cursor:pointer}.video-control-region{background:#f1f6f2;color:var(--ink);padding:12px 14px;border-top:1px solid #c9d8ce}.video-transport{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.video-transport[hidden]{display:none}.video-transport .button{font-size:.9rem;padding:7px 10px;min-height:40px}.video-transport [data-video-time]{font-size:.9rem;font-variant-numeric:tabular-nums;white-space:nowrap}.video-seek-label{display:flex;gap:8px;align-items:center;flex:1 1 180px;font-size:.875rem}.video-seek-label input{width:100%;height:32px;accent-color:#285f4c}.video-speed-label select{min-height:40px;border:1px solid #bed1c3;background:#fff;border-radius:6px;color:var(--ink);padding:4px 8px}.video-controls-toggle{display:block;margin-top:8px;font-size:.9rem;min-height:32px}.video-error{margin:8px 0 0;font-size:.9rem;line-height:1.5;color:#854522}.video-error:empty,.native-import-status:empty{display:none}.native-import-status{padding:14px 24px;background:#edf6ee;color:#234d35;font-size:.95rem;margin:0}.clean-player:fullscreen{height:100vh;display:flex;flex-direction:column;justify-content:center;background:#000}.clean-player:fullscreen .study-video{height:calc(100vh - 120px)!important;max-height:none!important}.clean-player video::-webkit-media-controls{display:none!important}
@media(max-width:510px){.video-control-region{padding:10px}.video-transport{gap:6px}.video-seek-label{flex-basis:100%;order:5}.video-transport [data-video-time]{margin-left:auto}.video-transport .button{min-height:44px}.video-controls-toggle{min-height:40px}.native-import-status{padding:12px 16px}}
.gallery-heading .leg-distance{font-size:1.05rem;font-weight:650;color:var(--ink);margin:0;align-self:center}

/* Direct route selection */
.segment-nav-heading{margin:22px 10px 6px}.segment-nav-link{white-space:normal;align-items:flex-start;line-height:1.35}.segment-number{flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#315c50;color:#fff}.segment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px}.segment-choice{display:flex;flex-direction:column;gap:7px;padding:16px;border:1px solid var(--line);border-radius:8px;color:var(--ink)}.segment-choice:hover{background:#edf5f0;border-color:#789f90;text-decoration:none}.master-map{display:block;padding:20px;margin-bottom:18px;background:#e5f2eb;border-color:#8db09e;color:#173e32}.master-map h2{font-size:1.15rem}.master-map p{margin-top:7px}.instructions details{margin:20px 0}.instructions summary{cursor:pointer;font-weight:700}.instructions .record-notes{line-height:1.6}

.checkpoint-instructions+.checkpoint-instructions{border-top:1px solid var(--line);padding-top:22px;margin-top:22px}

.home-hero{margin-bottom:22px}.scouting-gallery .empty h3{margin-bottom:12px}.scouting-gallery .empty .crew-links{margin-top:18px}

.crew-approach{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.crew-approach>.meta{margin:8px 0 14px}.crew-approach .crew-links{margin-top:14px}.crew-approach-map svg{width:100%;display:block}

.hike-in-heading{font-size:1rem;margin:20px 0 12px}

.gallery-map .map-label,.gallery-map .endpoint-pin,.gallery-map .route-halo,.gallery-map .route-line{pointer-events:none}

.live-tracking{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 26px;margin-bottom:18px;background:#a94f1d;border:2px solid #a94f1d;color:#fff;box-shadow:0 5px 18px #6e361b20}.live-tracking h2{font-size:clamp(1.3rem,3vw,1.65rem);letter-spacing:.07em;line-height:1.2}.live-tracking p{margin-top:8px;font-size:1rem;color:#fff;line-height:1.45}.live-tracking-action{display:inline-flex;align-items:center;justify-content:center;flex:none;background:#fff;color:#7b3612;border-radius:8px;padding:13px 20px;font-weight:750;font-size:1rem}.live-tracking:hover{background:#8d3d13;border-color:#8d3d13;color:#fff;text-decoration:none}.live-tracking:focus-visible{outline:3px solid #e3b254;outline-offset:3px}@media(max-width:600px){.live-tracking{align-items:flex-start;flex-direction:column;padding:22px;gap:17px}.live-tracking-action{width:100%}}

.map-directions-heading{font-size:1rem;margin:18px 0 10px}.hike-in-map-links:not(:empty){margin-top:14px}.active-stop-heading .media-capture-date{margin-top:6px;font-size:.9rem;font-weight:650;color:var(--ink)}

.active-stop-heading .media-note{font-size:.875rem;line-height:1.45;margin-top:6px}
