:root{color-scheme:light;--ink:#213b33;--muted:#50665d;--paper:#e9ebe2;--rule:#83968a;--rust:#91412f}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 Georgia,serif}main{max-width:1150px;margin:auto;padding:24px 48px 36px}a{color:inherit;text-underline-offset:4px}a:hover{color:var(--rust)}:focus-visible{outline:3px solid #9e422d;outline-offset:4px}.skip{position:absolute;top:-100px;background:white;padding:12px}.skip:focus{top:12px}.mast,footer,.chart-caption,.eyebrow,.sheet-head p,.index,.distance,.stamp,.number,legend{font:12px/1.5 ui-monospace,monospace;letter-spacing:.06em}.mast{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-block:1px solid var(--rule)}.intro{display:grid;grid-template-columns:1.45fr 1fr;gap:48px;align-items:end;padding:36px 0 32px}.eyebrow{text-transform:uppercase;color:var(--muted);margin:0 0 12px}h1{font-size:clamp(3rem,8vw,6rem);font-weight:400;line-height:.91;letter-spacing:-.065em;margin:0}h2{font-weight:400;line-height:1.12;margin:0;font-size:clamp(1.65rem,3vw,2.35rem)}.intro-note{border-left:1px solid var(--rule);padding:0 0 0 24px;max-width:340px;font-size:1.13rem}.intro-note p{margin:0 0 13px}.stamp{display:inline-block;color:var(--rust);border:1px solid var(--rust);padding:5px 9px;transform:rotate(-2deg);margin-top:8px}.atlas{border:1px solid var(--rule);padding:18px;background:#f0f1e9}.sheet-head{display:flex;gap:16px;justify-content:space-between;align-items:center;margin:0 0 14px}.sheet-head p{margin:5px 0 0;color:var(--muted)}fieldset{border:0;margin:0;padding:0;min-width:0}legend{color:var(--muted);margin-bottom:4px}fieldset label{display:inline-flex;gap:5px;align-items:center;min-height:44px;padding:6px 8px;font:14px ui-monospace,monospace;cursor:pointer}input{accent-color:#315c52;width:17px;height:17px}.chart svg{width:100%;display:block;border:1px solid var(--rule);height:auto}.contours{stroke:#8c9e8d;stroke-width:1;opacity:.65;fill:none}.river{fill:none;stroke:#79a7a1;stroke-width:32;stroke-linecap:round;stroke-linejoin:round}.revision,.third{display:none;stroke:#658e89}.river-lines{stroke:#32584f}.map-text{font:12px ui-monospace,monospace;fill:#3c554a}.map-text .region{letter-spacing:2px;font-size:12px}.names{font-size:14px;font-weight:600}.station-mark circle{fill:#f5f2e7;stroke:#2c4a3f;stroke-width:2}.station-mark text{font:bold 15px ui-monospace,monospace;text-anchor:middle;fill:#263c35}.edition-note{fill:#8d3e2d;stroke:none;font:italic 19px Georgia,serif}.edition-note path{stroke:#8d3e2d;fill:none;stroke-dasharray:4 4}.note2,.note3{display:none}.atlas[data-edition="2"] .original,.atlas[data-edition="3"] .original,.atlas[data-edition="2"] .note1,.atlas[data-edition="3"] .note1{display:none}.atlas[data-edition="2"] .revision,.atlas[data-edition="2"] .note2,.atlas[data-edition="3"] .third,.atlas[data-edition="3"] .note3{display:block}.chart-caption{display:flex;justify-content:space-between;gap:12px;color:var(--muted);padding:9px 0}.index{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--rule)}.index a{display:flex;align-items:center;gap:8px;padding:14px 8px;min-height:48px;text-decoration:none}.index a:hover{text-decoration:underline}.index a span{color:var(--rust)}.records{max-width:790px;margin:48px auto}.section-head{margin-bottom:22px}.section-head p:last-child{color:var(--muted);margin:8px 0}details{border-top:1px solid var(--rule);scroll-margin:16px}details:last-child{border-bottom:1px solid var(--rule)}summary{padding:16px 4px;cursor:pointer;font-size:1.3rem;min-height:48px}summary:hover{color:var(--rust)}.number{color:var(--rust);margin:0 10px}.distance{float:right;color:var(--muted);padding-top:5px}.entry{padding:0 24px 20px;max-width:690px}.entry b{font:600 13px ui-monospace,monospace;margin-right:10px}.entry p{margin:0 0 12px}table{border-collapse:collapse;width:100%;margin-top:15px}caption{text-align:left;font-style:italic}th,td{text-align:left;border-bottom:1px solid var(--rule);padding:8px}footer{border-top:1px solid var(--rule);padding-top:16px;display:flex;justify-content:space-between;gap:16px}.loose{max-width:680px;margin:70px auto}.loose h1{font-size:clamp(3rem,7vw,5rem);margin:20px 0}.loose blockquote{border-left:2px solid var(--rust);margin:30px 0;padding:12px 20px;font-size:1.3rem}@media(max-width:650px){main{padding:16px 16px 24px}.intro{grid-template-columns:1fr;gap:22px;padding:28px 0}.intro-note{padding-left:15px;font-size:1rem}.atlas{padding:10px}.sheet-head{align-items:flex-start;flex-direction:column;gap:4px}.chart-caption{flex-direction:column;gap:3px}.index{grid-template-columns:1fr 1fr}.records{margin:36px auto}.entry{padding:0 12px 16px}.mast,footer{font-size:10px}.distance{font-size:11px}summary{font-size:1.1rem}.map-text{font-size:15px}.names{font-size:17px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Comparison traces: selected course is solid; other courses are fine dashed lines. */
.river-lines .river{display:block;stroke:#647e73;stroke-width:3;stroke-dasharray:8 6;stroke-linecap:round}
.atlas .river-lines .original{stroke:#67918a;stroke-width:25;stroke-dasharray:none}
.atlas:has(input[value="2"]:checked) .river-lines .original,.atlas:has(input[value="3"]:checked) .river-lines .original{stroke:#647e73;stroke-width:3;stroke-dasharray:8 6}
.atlas:has(input[value="2"]:checked) .river-lines .revision,.atlas:has(input[value="3"]:checked) .river-lines .third{stroke:#67918a;stroke-width:25;stroke-dasharray:none}
.atlas .river-lines .river{display:block!important}
.map-text{fill:#203a32;paint-order:stroke;stroke:#e4e9dc;stroke-width:2.5px;stroke-linejoin:round}
.station-mark .hit{fill:transparent;stroke:none}
.station-mark a:hover circle:not(.hit),.station-mark a:focus-visible circle:not(.hit){stroke:#91412f;stroke-width:4}
.s2,.s3{display:none}
.atlas:has(input[value="2"]:checked) .s1,.atlas:has(input[value="3"]:checked) .s1{display:none}
.atlas:has(input[value="2"]:checked) .s2,.atlas:has(input[value="3"]:checked) .s3{display:block}
.atlas:has(input[value="2"]:checked) .note1,.atlas:has(input[value="3"]:checked) .note1{display:none}
.atlas:has(input[value="2"]:checked) .note2,.atlas:has(input[value="3"]:checked) .note3{display:block}
body:has(input[value="1"]:checked) .entry p:nth-child(1),body:has(input[value="2"]:checked) .entry p:nth-child(2),body:has(input[value="3"]:checked) .entry p:nth-child(3){border-left:3px solid var(--rust);padding-left:10px}
@media(max-width:650px){.map-text .region{font-size:16px;letter-spacing:1px}.edition-note{font-size:22px}}
.atlas .river-lines .original{stroke-dasharray:none}
.atlas:has(input[value="2"]:checked) .river-lines .original,.atlas:has(input[value="3"]:checked) .river-lines .original{stroke-dasharray:13 8;stroke:#405a50}
.atlas .river-lines .revision{stroke-dasharray:6 5;stroke:#6b5246}
.atlas .river-lines .third{stroke-dasharray:1 7;stroke:#284b40}
.atlas:has(input[value="2"]:checked) .river-lines .revision,.atlas:has(input[value="3"]:checked) .river-lines .third{stroke:#67918a;stroke-dasharray:none}
.map-scroll{overflow-x:auto}
@media(max-width:650px){.map-scroll svg{min-width:660px}.chart-caption{font-size:11px}.map-scroll{scrollbar-color:#50665d #e4e9dc}}
