/* Across borders */
.borders-heading h2{font-size:29px}.border-side-switch{display:flex;gap:4px;padding:4px;border:1px solid #d5dccb;border-radius:7px;background:#f0f2e8}.border-side-switch button{min-height:38px;padding:8px 17px;font-size:12px;border-radius:4px;white-space:nowrap}.border-side-switch button[aria-pressed=true]{background:var(--green);color:#fffdf4;box-shadow:0 2px 4px #24443e18}.border-side-switch button:hover{box-shadow:inset 0 0 0 1px #8e9e86}.border-context{padding:0 24px 18px;display:flex;justify-content:space-between;gap:16px;align-items:center;color:#64715f;font-size:12px}.border-context p{margin:0;line-height:1.6}.border-context strong{font-size:15px;color:var(--ink);font-weight:600}.border-context p:last-child{white-space:nowrap}.border-context p:last-child>span{padding:0 9px;color:#a0aa96}.border-geography{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(330px,1fr);border-block:1px solid #dce2d3}.border-map-panel{min-width:0;background:#edf2ee}.border-panel-heading{padding:16px 19px;display:flex;align-items:center;justify-content:space-between;gap:12px}.border-panel-heading h3{font:19px var(--serif);margin:0}.border-panel-heading>span{font-size:11px;color:#68715f}.border-map-presets{display:flex;gap:7px}.border-map-presets button,.border-trail-controls>button{padding:7px 10px;border:1px solid #bdcbbb;border-radius:4px;font-size:11px;background:#ffffff80;min-height:34px}.border-map-presets button:hover,.border-trail-controls>button:hover{background:#fffdf5}.border-map{position:relative;overflow:hidden;height:clamp(365px,38vw,525px);min-height:365px;touch-action:none;cursor:grab;isolation:isolate}.border-map:active{cursor:grabbing}.border-map-svg{position:absolute;inset:0;width:100%;height:100%}.border-graticule{fill:none;stroke:#c4d2ce;stroke-width:.5;stroke-opacity:.55}.border-land{fill:#e0e6dc;stroke:#fafcf5;stroke-width:.6;vector-effect:non-scaling-stroke;transition:fill .15s}.border-land.has-people{fill:#93ad98;cursor:pointer;stroke:#5f7d68;stroke-width:.7}.border-land.on-trail{fill:#b6c695;stroke:#6b7751;stroke-width:1}.border-land.is-selected{fill:#315d51;stroke:#153f31;stroke-width:1.6}.border-map-routes path{fill:none;stroke:#a05f36;stroke-width:2.2;stroke-dasharray:6 4;vector-effect:non-scaling-stroke;pointer-events:none}.border-marker-leaders path{fill:none;stroke:#546e60;stroke-width:.8;opacity:.7;pointer-events:none}.border-map-markers{position:absolute;inset:0;pointer-events:none}.border-map-marker{position:absolute;pointer-events:auto;transform:translate(-50%,-50%);border:1px solid #6d8874;border-radius:5px;background:#fffcf4;box-shadow:0 2px 5px #203c3626;min-width:53px;min-height:32px;display:flex;align-items:center;justify-content:center;gap:5px;padding:5px 6px;font-size:11px;line-height:1}.border-map-marker>span{font-size:10px;letter-spacing:.3px}.border-map-marker strong{font-size:12px}.border-map-marker[aria-pressed=true]{background:#24483c;color:#fffefa;border:2px solid #18392f;box-shadow:0 0 0 3px #ffffffcc}.border-map-marker.on-trail:after{content:'';width:5px;height:5px;border-radius:50%;background:#a05f36;position:absolute;right:-3px;top:-3px;border:1px solid #fff}.border-map-marker:hover{box-shadow:0 0 0 3px #f9fcf3}.border-map-tooltip{position:absolute;z-index:6;transform:translateX(-50%);background:#203f35;color:#fffdf4;border-radius:5px;padding:10px 13px;min-width:215px;pointer-events:none;box-shadow:0 5px 15px #203c3625}.border-map-tooltip strong{display:block;font-size:12px}.border-map-tooltip span{display:block;margin-top:5px;font-size:11px;color:#e2e9d8}.border-map-key{position:absolute;left:18px;bottom:33px;display:flex;gap:6px;align-items:center;font-size:10px;color:#4c655a;pointer-events:none}.map-key-country{width:10px;height:10px;background:#93ad98;border:1px solid #5f7d68}.map-key-trail{width:20px;border-top:2px dashed #a05f36;margin-left:8px}.border-map-zoom{position:absolute;bottom:31px;right:16px;display:flex;flex-direction:column;border:1px solid #a8baa8;border-radius:5px;overflow:hidden;background:#fffdf5;box-shadow:0 3px 8px #203c3612}.border-map-zoom button{width:36px;height:36px;font-size:23px;line-height:1}.border-map-zoom button+button{border-top:1px solid #d9e0d1}.border-map-zoom button:hover{background:#e4ecd9}.border-map-credit{position:absolute;bottom:8px;right:15px;font-size:9px;color:#617368}.border-map-credit a{text-underline-offset:2px}.border-map-hint{font-size:11px;color:#607164;margin:0;padding:7px 19px 14px}.border-bars-panel{min-width:0;border-left:1px solid #dce2d3;padding-bottom:10px}.border-bars-panel .border-panel-heading{padding-bottom:8px}.border-bar-axis{display:flex;justify-content:space-between;margin:0 45px 4px 174px;font-size:9px;color:#6b7968}.border-country-bar{width:100%;display:grid;grid-template-columns:142px minmax(0,1fr) 26px;align-items:center;gap:9px;padding:6px 18px;min-height:32px;text-align:left;border-left:3px solid transparent}.border-country-bar:hover{background:#edf1e6}.border-country-bar[aria-pressed=true]{background:#e6eddd;border-left-color:#24443e}.border-bar-name{display:flex;gap:7px;align-items:center;font-size:11px;min-width:0}.border-bar-name>.country-badge .country-code{display:none}.border-bar-name .country-flag{font-size:16px}.border-bar-track{display:block;background:#e7ecdf;height:9px;border-left:1px solid #a1ad95}.border-bar-track>span{display:block;height:100%;min-width:2px;background:#6d8b70;border-radius:0 2px 2px 0}.border-country-bar[aria-pressed=true] .border-bar-track>span{background:#24443e}.border-country-bar>strong{text-align:right;font-size:11px;font-variant-numeric:tabular-nums}.border-country-bar.is-unknown{margin-top:5px;border-top:1px dashed #c4cdb9;padding-top:10px;min-height:39px}.is-unknown .border-bar-track>span{background:repeating-linear-gradient(135deg,#7e8874,#7e8874 2px,#c3caba 2px,#c3caba 4px)}.border-unknown-symbol{display:grid;place-items:center;width:16px;height:16px;border:1px dashed #829074;border-radius:50%;font-size:10px}.border-count-note{font-size:10px;line-height:1.6;color:#6c7765;margin:10px 20px 0}.border-trails{padding:22px 24px 19px;border-bottom:1px solid #dce2d3;background:#f9f8ef}.border-trail-heading{display:flex;justify-content:space-between;align-items:center;gap:18px}.border-trail-heading h3{font:27px var(--serif);margin:5px 0 0}.border-trail-controls{display:flex;align-items:center;gap:10px}.border-trail-controls label{font-size:11px;color:#6b7563}.border-trail-controls select{max-width:290px;min-height:38px;font-size:12px;padding:8px 10px;background:#fffcf5}.border-trail-description{margin:14px 0;font-size:13px;line-height:1.6;color:#50694f}.border-trail-steps{display:flex;list-style:none;padding:0 0 7px;margin:0;gap:23px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#bbc7ac transparent}.border-trail-steps li{flex:1 0 142px;position:relative;min-width:0}.border-trail-steps li+li:before{content:'→';position:absolute;left:-18px;top:48%;color:#82906e;font-size:16px}.border-trail-steps li.trail-gap:before{content:'⋯'}.border-trail-steps button{height:100%;width:100%;min-height:129px;text-align:left;padding:12px 13px;border:1px solid #d6ddc8;border-radius:6px;background:#fffcf5}.border-trail-steps button:hover{border-color:#7f9873;background:#eef1e4}.border-stop-year{display:flex;align-items:center;gap:9px;font-size:12px;color:#506d50;font-variant-numeric:tabular-nums}.border-stop-year>span{font-size:9px;border:1px solid #cdd8bc;border-radius:50%;width:21px;height:21px;display:grid;place-items:center;color:#738365}.border-trail-steps strong{display:block;font-size:12px;line-height:1.5;min-height:36px;margin:10px 0 9px;font-weight:550}.border-trail-steps strong>span{font-size:10px;color:#82906e}.border-stop-place{display:flex;gap:6px;align-items:center;font-size:11px;line-height:1.6}.border-stop-place .country-code{display:none}.border-stop-place .country-flag{font-size:16px}.border-trail-steps small{display:block;font-size:10px;line-height:1.5;color:#7d7967;margin-top:6px}.trail-gap button{border-style:dashed;background:#f0efe4}.trail-gap .border-stop-place{color:#7b7662}.border-trail-note{font-size:11px;line-height:1.7;color:#6b7562;margin:12px 0 0;max-width:1000px}.border-people{padding:22px 24px}.border-people-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}.border-people-heading h3{font:26px var(--serif);margin:6px 0 0;display:flex;align-items:center;gap:9px}.border-people-heading h3 .country-code{display:none}.border-people-heading h3 .country-flag{font-size:24px}.border-people-heading>span{font-size:11px;color:#6c7765}.border-people-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:340px;overflow:auto;scrollbar-width:thin;scrollbar-color:#bbc7ac transparent;padding:2px 3px}.border-person{display:flex;align-items:stretch;min-width:0;border:1px solid #dce2d3;border-radius:5px;background:#fcfcf5}.border-person-main{flex:1;min-width:0;text-align:left;padding:13px}.border-person-main strong{display:block;font-size:12px;line-height:1.4;font-weight:550}.border-person-main strong>span{color:#859574;font-size:11px}.border-person-main>span{display:block;font-size:11px;color:#697961;margin-top:6px}.border-person-main small{display:block;font-size:11px;line-height:1.5;color:#79816e;margin-top:5px;overflow-wrap:anywhere}.border-person-main:hover{background:#edf1e4}.border-person-path{padding:6px 12px;font-size:22px;border-left:1px solid #e3e8da;color:#6d825c;align-self:stretch}.border-person-path:hover{background:#e5ecda;color:#24443e}.border-method-note{padding:0 24px 20px;margin:0;font-size:10px;line-height:1.8;color:#77816c;max-width:1300px}
@media(min-width:1550px){.border-country-bar{padding-block:8px}.border-bar-track{height:10px}.border-map{height:525px}}
@media(max-width:1050px){.border-geography{grid-template-columns:minmax(0,1.45fr) minmax(305px,1fr)}.border-country-bar{grid-template-columns:132px minmax(0,1fr) 25px;padding-inline:13px;gap:6px}.border-bar-axis{margin-left:155px;margin-right:42px}.border-map .border-map-key{font-size:9px;gap:4px;left:12px}.border-context{align-items:flex-start;gap:10px}.border-people-list{grid-template-columns:repeat(2,minmax(0,1fr))}.border-trail-controls{flex-wrap:wrap;justify-content:flex-end;gap:7px}.border-trail-controls label{width:100%;text-align:right}}
@media(max-width:800px){.borders-heading{flex-wrap:wrap;gap:16px}.border-side-switch{width:100%;max-width:420px}.border-side-switch button{flex:1}.border-context{flex-direction:column;padding-bottom:16px}.border-geography{grid-template-columns:1fr}.border-map{height:400px}.border-bars-panel{border-left:0;border-top:1px solid #dce2d3;padding:4px 8px 16px}.border-country-bar{grid-template-columns:155px minmax(0,1fr) 30px;gap:12px;min-height:38px;padding-inline:15px}.border-bar-name{font-size:12px}.border-country-bar>strong{font-size:12px}.border-bar-axis{margin-left:185px;margin-right:48px}.border-trail-controls select{max-width:260px}.border-map .border-map-key{font-size:10px}.border-map-zoom button{width:42px;height:42px}}
@media(max-width:580px){.borders-heading h2{font-size:26px}.border-side-switch{max-width:none}.border-side-switch button{padding:8px 10px;min-height:38px}.border-context{padding:0 14px 15px;font-size:11px}.border-context p:last-child>span{padding:0 6px}.border-context strong{font-size:14px}.border-panel-heading{padding:14px 13px;gap:5px}.border-panel-heading h3{font-size:18px}.border-map-presets{gap:4px}.border-map-presets button{font-size:10px;padding:7px}.border-map{height:365px}.border-map-hint{font-size:10px;padding:5px 13px 12px;line-height:1.6}.border-map-key{bottom:34px}.border-map-credit{font-size:8px;right:12px}.border-map-marker{min-height:34px}.border-country-bar{grid-template-columns:136px minmax(0,1fr) 28px;gap:8px;padding:7px 10px;min-height:42px}.border-bar-name{font-size:11px}.border-bar-axis{margin-left:157px;margin-right:39px}.border-trails{padding:19px 14px}.border-trail-heading{align-items:flex-start;flex-direction:column;gap:13px}.border-trail-controls{width:100%;justify-content:flex-start}.border-trail-controls label{width:100%;text-align:left}.border-trail-controls select{flex:1;min-width:0;max-width:none;font-size:11px}.border-trail-controls>button{font-size:10px;min-height:38px}.border-trail-description{font-size:12px}.border-trail-steps li{flex:0 0 156px}.border-trail-note{font-size:10px}.border-people{padding:19px 14px}.border-people-heading{align-items:flex-start;flex-direction:column;gap:9px}.border-people-list{grid-template-columns:1fr;max-height:380px}.border-method-note{padding:0 14px 18px;font-size:10px}.border-count-note{font-size:10px;margin-left:14px}.border-person-main{padding:13px}.border-person-path{min-width:44px}}
.border-map-marker{min-height:44px}.border-map-marker>span{font-size:11px}.border-map-cluster{display:flex;flex-direction:column;gap:5px;padding:10px 12px;min-width:112px;border-color:#496d52;border-radius:7px;background:#f8fbee;box-shadow:0 0 0 5px #fffcf580,0 3px 10px #203c3630}.border-map-cluster>span{letter-spacing:.8px;font-size:10px}.border-map-cluster strong{font-size:15px;margin-left:4px}.border-map-cluster small{font-size:10px;color:#5f7754}.border-bar-axis{font-size:11px}
.border-graticule{vector-effect:non-scaling-stroke}.border-map-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 18px 13px;flex-wrap:wrap}.border-map-footer .border-map-hint{padding:0;flex:1;min-width:190px;line-height:1.7}.border-map-footer>button{padding:7px 9px;min-height:34px;border:1px solid #b9cbb7;border-radius:4px;font-size:11px;background:#fffcf5;white-space:nowrap}.border-map-footer>button:hover{background:#e0ead7}@media(max-width:580px){.border-map-footer{padding:4px 13px 12px}.border-map-footer .border-map-hint{font-size:10px}.border-map-footer>button{font-size:10px;min-height:38px}}
.atlas-body:has(#places-view:not([hidden])) .person-panel{position:fixed;top:14px;bottom:14px;right:20px;height:auto;width:340px;max-width:calc(100% - 28px);max-height:calc(100dvh - 28px);z-index:45;border:1px solid #cbd5bf;border-radius:8px;box-shadow:0 12px 50px #203c3633}@media(max-width:580px){.atlas-body:has(#places-view:not([hidden])) .person-panel{right:14px}}
