/* Compact interface shared by every page. Colour tokens are themed separately. */
.nav-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.site-nav>a{display:flex;align-items:center;gap:6px}.profile-edit-link{display:inline-block;min-height:44px;padding:7px 0;font-size:.8rem}.planning-controls h2{font-size:1.12rem}.result-actions .quiet{flex-grow:0}
.card h2{font-size:1.15rem}.card .actions{gap:6px}.card .actions button,.card .actions .button{font-size:.8rem;padding:9px 12px}.card .actions details{margin:0}.card .actions summary{font-size:.8rem;min-height:44px;padding:10px 8px}.list-controls{margin:8px 0 14px}.list-controls [role=status]{font-size:.8rem;margin:3px 0}.auth{margin:14px auto}.auth__race{height:125px}
html{scroll-padding-top:80px}body{overflow-x:clip}header.site-header{max-width:1240px;padding:14px 24px;gap:16px}.brand .brand__icon{width:38px;height:38px}.brand .brand__words{font-size:1.2rem}.brand__words span{font-size:.66rem}.site-nav{gap:6px}.site-nav>a,.nav-more>summary{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 12px;border-radius:10px;font-size:.85rem}.site-nav>a[aria-current=page]{background:var(--green);color:white}.nav-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.nav-menu button{width:100%;text-align:left;margin-top:6px}.site-nav .nav-more>summary{list-style:none}.site-nav .nav-more>summary::-webkit-details-marker{display:none}.hero{padding:8px 0 14px;margin:0;max-width:900px}.hero h1{font-size:clamp(1.7rem,3vw,2.6rem);margin:.25em 0}.hero .lead{font-size:.95rem;margin:.4em 0}.hero--race{min-height:190px;padding:20px 28px;margin:0 0 18px}.hero--race h1{font-size:clamp(1.8rem,3.3vw,2.8rem)}.hero--race::after{bottom:14px;left:28px;height:3px}.hero--race .lead{font-size:.95rem}.hero__copy>p:last-child{margin:8px 0}.hero__copy .button{font-size:.8rem;min-height:38px;padding:8px 12px}.panel,.card{padding:18px;border-radius:16px}.panel{margin-bottom:14px}h2{font-size:1.35rem;margin:10px 0}h3{margin:8px 0}.fields{gap:10px}.fields input,.fields select{margin:4px 0 8px;padding:9px 11px;min-height:44px}p{margin:.65em 0}.help-details{font-size:.85rem}.help-details>summary{font-weight:600}.help-details p{font-size:.83rem}.planning-controls{margin:0 0 16px;border:1px solid var(--line);border-radius:16px;background:#fff8}.planning-controls>summary{padding:12px 18px}.planning-controls>.panel{margin:0;border:0;border-radius:0;background:transparent}.planning-controls>.panel:last-child{border-radius:0 0 16px 16px}.planning-controls[open]>.panel+.panel{border-top:1px solid var(--line)}.section-head{gap:10px}.section-head .actions{gap:6px}.actions{gap:8px}.stats{gap:8px;margin:10px 0;grid-template-columns:repeat(4,minmax(0,1fr))}.stat{padding:10px 12px;border-radius:12px}.stat strong{font-size:1.35rem;margin-top:2px}.stat span{font-size:.73rem}.more-metrics{margin:6px 0}.more-metrics .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.result-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;position:sticky;top:0;z-index:900;background:var(--paper);padding:6px 0;margin:8px 0}.result-tabs button{background:transparent;border:1px solid var(--line);color:var(--ink);padding:9px 5px;min-height:44px;font-size:.86rem}.result-tabs button[aria-selected=true]{background:var(--green);border-color:var(--green);color:white}.route-figure{margin:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:white}.route-figure .map{border-radius:0;height:400px}.route-elevation{border-top:1px solid var(--line);padding:6px 10px 4px}.route-elevation .profile-chart{height:110px}.route-elevation .route-position{min-height:28px;margin:3px 0}.route-position-value{font-size:.76rem}.route-elevation>summary{font-size:.8rem}.result-summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.result-summary h2{font-size:1.45rem}.result-summary .eyebrow{margin:0}.route-note{font-size:.83rem}.result-alternatives{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(210px,1fr);gap:8px;overflow-x:auto;scroll-snap-type:x proximity;margin:10px 0;padding-bottom:3px}.route-card{padding:10px 12px;margin:0;scroll-snap-align:start;min-width:0}.route-card h3{font-size:.9rem;margin:0}.route-card p{font-size:.77rem;margin:4px 0}.route-card button{font-size:.77rem;padding:7px 10px;min-height:36px}.comfort-mini{font-size:.8rem}.comfort-mini strong{font-size:.86rem}.result-actions{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.result-actions>button,.result-actions>a{font-size:.83rem;padding:9px 12px;min-height:44px}#results{scroll-margin-top:8px}#route-comparison{margin:8px 0}.result-help{margin:8px 0}.result-help>summary{font-size:.82rem}th,td{padding:10px 8px;font-size:.84rem}.dropzone{padding:16px}.dropzone p{margin:4px 0}.dropzone input{margin-bottom:5px}.segment-card{padding:12px;margin:8px 0}.workout-chart{height:140px}.workout-card{gap:5px}.workout-card p{font-size:.85rem}.footer-meta{padding:10px 12px;margin-bottom:10px}footer{padding:16px 24px 24px;font-size:.8rem}input,select,textarea{font-size:16px}#profile-status:empty{display:none}
@media(max-width:760px){body:has(.member-nav){padding-bottom:calc(66px + env(safe-area-inset-bottom))}header.site-header{padding:9px 12px;gap:8px;flex-direction:row;align-items:center;min-height:54px}.brand .brand__words{font-size:1.1rem}.brand__words span{display:none}.brand .brand__icon{width:32px;height:32px}.member-nav{position:fixed;bottom:0;left:0;right:0;z-index:4000;background:#fffffff5;border-top:1px solid var(--line);display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:0;padding:4px 4px calc(4px + env(safe-area-inset-bottom));box-shadow:0 -4px 20px #0000000a}.site-nav.member-nav>a,.member-nav .nav-more>summary{flex-direction:column;gap:2px;padding:4px 1px;font-size:.65rem;line-height:1.2;min-height:48px;margin:0}.member-nav .nav-icon{width:20px;height:20px}.member-nav .nav-menu{position:fixed;bottom:calc(65px + env(safe-area-inset-bottom));top:auto;right:8px;max-width:calc(100vw - 16px);max-height:65dvh;overflow-y:auto;box-shadow:0 -8px 35px #0002}.member-nav .nav-more{margin:0}.site-nav:not(.member-nav){gap:4px}.site-nav:not(.member-nav)>a{padding:5px 8px;font-size:.8rem}.hero--race{min-height:126px;padding:15px 18px;margin-bottom:12px;background-position:68% 45%;border-radius:16px}.hero--race h1{font-size:1.65rem;max-width:250px}.hero__copy{max-width:78%}.hero--race .lead,.hero__copy>p:last-child{display:none}.hero--race::after{bottom:10px;left:18px;width:45px}.hero .eyebrow{font-size:.64rem;margin:2px 0}.hero h1{font-size:1.65rem}.hero .lead{font-size:.86rem}.hero{padding:4px 0 12px}.panel,.card{padding:12px;border-radius:14px}main{padding:4px 12px 20px}.fields,.fields.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fields label{font-size:.8rem}input,select,textarea{min-width:0;width:100%}.section-head{flex-direction:row;align-items:center;flex-wrap:wrap}.planning-controls>summary{padding:11px 12px}.planning-controls .section-head .badge{display:none}.map{height:280px}.route-figure .map{height:clamp(250px,42dvh,380px)}.route-elevation{padding:3px 6px}.route-elevation .profile-chart{height:94px}.stats{gap:5px;grid-template-columns:repeat(4,minmax(0,1fr))}.stat{padding:8px 6px;border-top-width:2px;min-width:0}.stat strong{font-size:1.1rem;overflow-wrap:anywhere}.stat span{font-size:.65rem;line-height:1.3;display:block}.result-summary h2{font-size:1.12rem}.result-summary .eyebrow{display:none}.result-summary button{padding:7px 10px;font-size:.76rem;min-height:40px}.result-tabs{padding:4px 0;gap:3px;margin:6px 0}.result-tabs button{font-size:.78rem}.result-alternatives{grid-auto-columns:minmax(175px,70%);gap:6px;margin:7px 0}.route-card{padding:8px 10px}.route-card p{font-size:.7rem}.result-actions>button,.result-actions>a{flex:1 1 auto;text-align:center;font-size:.77rem;padding:8px}.result-actions>details{flex:1 1 100%}.result-help{margin:5px 0}.dropzone{padding:12px}.dropzone input{font-size:13px}.dropzone strong{font-size:.87rem}.notice{padding:10px 12px;font-size:.85rem}.auth{margin:8px auto}.auth__race{height:95px;margin-bottom:14px}.auth h1{font-size:1.7rem}.workout-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.workout-grid{grid-template-columns:1fr}.workout-chart{height:120px}footer{padding:12px 12px 18px}.footer-meta{font-size:.71rem;gap:4px}.footer-meta .footer-build{font-size:.68rem}footer>small{font-size:.7rem}}
@media(max-width:360px){.site-nav.member-nav>a,.member-nav .nav-more>summary{font-size:.6rem}.fields{gap:6px}.route-card button{font-size:.72rem}.stat strong{font-size:1rem}}

.comfort-bars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem 1.5rem;margin:1rem 0}.comfort-aspect{display:grid;grid-template-columns:1fr auto;gap:.3rem;font-size:.9rem}.comfort-track{grid-column:1/-1;background:#e0e7ef;height:.65rem;border-radius:1rem;overflow:hidden}.comfort-track>span{display:block;height:100%;background:var(--green,#1265b8);border-radius:inherit}.comfort-track.unknown{background:repeating-linear-gradient(135deg,#dce2ea,#dce2ea 4px,#f7f9fc 4px,#f7f9fc 8px)}.comfort-aspect small{grid-column:1/-1;color:var(--muted)}.calculation{font-variant-numeric:tabular-nums;padding:.65rem;background:#edf3fa;border-radius:.5rem;overflow-wrap:anywhere}output[data-weight-output]{display:block;font-size:.8rem;font-weight:400}input[type=range]{accent-color:#176bc2;min-height:44px;padding:0;width:100%}@media(max-width:480px){.comfort-bars{gap:.8rem;}.comfort-aspect{grid-template-columns:1fr}.comfort-aspect strong{font-size:.8rem}.comfort-track,.comfort-aspect small{grid-column:1}}

.layer-switches{display:flex;flex-wrap:wrap;gap:.35rem .9rem}.layer-switches label{min-height:44px;display:flex;align-items:center;border:1px solid var(--line);padding:0 .6rem;border-radius:2rem}.layer-switches input{margin:0 .5rem 0 0}

/* Blue light through the original race photograph; no additional image service. */
.hero--race,.auth__race{background-color:#1976c7;background-blend-mode:luminosity}.hero--race::before{background:linear-gradient(90deg,#071d3bec 0%,#0d326bd9 38%,#1464af33 100%)}.hero--race::after{background:#8ed5ff;box-shadow:16px 0 0 -1px #8ed5ff66}.auth__race::after{background:linear-gradient(0deg,#071e58a8,#1b79bd33)}.footer-status-dot{background:#2477bd}.map .leaflet-control-attribution{font-size:10px}.route-elevation>p:not(.route-position-value){font-size:.75rem;margin:.3rem 0}.route-elevation label{font-size:.75rem}.route-elevation input{margin:.1rem 0}.route-elevation .profile-chart{height:105px}.notice:not(.warning):not(.error){background:#e8f2ff;border-color:#bad1eb}.panel>.badge{background:#e6f0fc;color:#214c7d;border-color:#388bc7}@media(max-width:760px){.hero--race::before{background:linear-gradient(90deg,#071d3bf5,#0c326bd9 70%,#1464af70)}.route-elevation .profile-chart{height:90px}.route-elevation>p:not(.route-position-value){display:none}.layer-switches{gap:.25rem}.layer-switches label{font-size:.75rem;padding:0 .45rem}.section-head{gap:.5rem}}

@media(max-width:760px){#workout-cards.workout-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(245px,85%);grid-template-columns:none;overflow-x:auto;scroll-snap-type:x proximity;gap:10px;padding-bottom:8px}.workout-card{scroll-snap-align:start}.route-position{min-height:44px!important}.workout-block{padding:10px}.comfort-aspect strong{color:#214c7d}}

.route-card button{min-height:44px}

.trial-banner{font-size:.8rem;margin:6px 0 12px}.trial-banner strong{color:#164b83}[data-trial] #workout-save,[data-trial] #workout-copy,[data-trial] #workout-delete,[data-trial] #workout-origin{display:none!important}

[data-trial] .workout-library,[data-trial] label:has(#workout-origin){display:none!important}

/* A compact, keyboard-accessible entry to the four product areas. */
.feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.feature-tile{position:relative;display:flex;gap:20px;align-items:center;min-height:160px;padding:24px;border:1px solid #c9dced;border-radius:18px;background:linear-gradient(135deg,#fff,#edf5ff);text-decoration:none;color:var(--ink);box-shadow:0 10px 30px -25px #18447266}.feature-tile:hover{border-color:#4489cf;background:#e8f3ff}.feature-tile h2{margin:0 0 8px;font-size:1.4rem}.feature-tile p{margin:0;max-width:360px;font-size:.9rem;color:var(--muted)}.feature-icon{display:grid;place-items:center;width:64px;height:64px;flex:none;border-radius:16px;background:#daeaff;color:#145ca5}.feature-icon svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.feature-arrow{align-self:flex-start;margin-left:auto;font-size:1.1rem;color:#376797}.home-hero .hero__copy{max-width:75%}.tour-navigation{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 14px}.tour-navigation .button{font-size:.85rem;padding:10px 14px}@media(max-width:760px){.feature-grid{gap:10px}.feature-tile{min-height:165px;display:block;padding:14px 12px;border-radius:14px}.feature-tile h2{font-size:1rem;margin:10px 0 5px}.feature-tile p{font-size:.76rem;line-height:1.4}.feature-icon{width:42px;height:42px;border-radius:11px}.feature-icon svg{width:26px;height:26px}.feature-arrow{position:absolute;right:12px;top:14px}.home-hero .hero__copy{max-width:85%}.home-hero h1{max-width:240px}.tour-navigation .button{font-size:.78rem;padding:9px 11px}}

@media(max-width:760px){.home-hero{min-height:90px;padding:12px 16px}.home-hero h1{font-size:1.4rem;max-width:none}.feature-tile{min-height:150px;padding:12px}.feature-icon{width:36px;height:36px}.feature-icon svg{width:24px;height:24px}.feature-tile h2{margin:8px 0 4px}.feature-tile p{line-height:1.35}}

.workout-map-placement{padding:8px 10px 0}.workout-map-placement select{max-width:340px;margin:3px 0 8px}.profile-workout-curve{stroke:#852a89;stroke-width:2.5;stroke-dasharray:6 3}.profile-workout-legend{display:block;color:#702175;font-weight:600}.profile-workout-legend::before{content:'';display:inline-block;width:20px;border-top:2px dashed currentColor;vertical-align:middle;margin-right:6px}

.workout-map-placement small{display:block;margin-bottom:6px;color:#146438}

.route-wind-form{display:flex;flex-wrap:wrap;align-items:end;gap:6px 12px;padding:8px 10px}.route-wind-form label{min-width:8rem}.route-wind-form input,.route-wind-form select{margin:3px 0 0}.route-wind-form output,.route-wind-form small{flex-basis:100%}.profile-daylight{pointer-events:none}.daylight-twilight{fill:#9ca3aa;fill-opacity:.24}.daylight-night{fill:#4f565d;fill-opacity:.45}.daylight-event{stroke:#46515b;stroke-width:1.5;stroke-dasharray:4 3;vector-effect:non-scaling-stroke}.profile-weather{height:42px;position:relative;margin:0 10px}.weather-symbol{position:absolute;top:0;transform:translateX(-50%);width:20px;height:20px}.weather-symbol.weather-rain{top:20px}.weather-symbol svg,.map-weather svg{display:block;width:20px;height:20px;stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round}.map-weather{background:#fff;border-radius:50%}.weather-head{color:#b32629}.weather-tail{color:#18713a}.weather-neutral{color:#59636e}.weather-rain{color:#145c9a;stroke-width:1.5}

.map-layers{margin:0 0 8px;padding:0 10px 6px;border:1px solid var(--line);border-radius:12px;background:white}.map-layers .layer-switches{margin-bottom:6px}.layer-swatch{display:inline-block;width:16px;flex:none;border-top:4px solid;margin-right:6px;border-radius:2px}.map-layers p{font-size:.78rem}
.daylight-bike-light{stroke-linejoin:round;stroke-linecap:round}.bike-light-beam{fill:#ffdc55;opacity:.72}.bike-light-wheels{fill:#eff3fc;stroke:#263c52;stroke-width:2.1}.bike-light-frame{fill:none;stroke:#263c52;stroke-width:2.2}.bike-light-headlight{fill:#fff5a4;stroke:#825315;stroke-width:1.15}.bike-light-taillight{fill:#f34b61;stroke:#95233f;stroke-width:1.15}
.profile-grade-green{fill:#3ca06f;--grade-color:#3ca06f}.profile-grade-yellow{fill:#efc438;--grade-color:#efc438}.profile-grade-red{fill:#db554c;--grade-color:#db554c}.profile-grade-black{fill:#171a20;--grade-color:#171a20}
.profile-grade-legend{display:flex;flex-wrap:wrap;gap:.25rem .8rem;font-size:.8rem;margin:.35rem 0}.profile-grade-legend span{display:inline-flex;align-items:center;gap:.3rem}.profile-grade-legend span::before{content:'';width:.75rem;height:.6rem;background:var(--grade-color);border-radius:.1rem}
.profile-weather.has-temperature{height:62px}.weather-symbol.weather-temperature{top:42px}.weather-temperature{background:white;color:#174c6a;font-size:.72rem;font-weight:600;line-height:20px;white-space:nowrap;width:max-content!important;padding:0 .22rem;border-radius:.35rem}
.result-alternatives{align-items:start}
.route-card-disclosure{margin:0}.route-card-disclosure>summary{padding:.2rem 0;min-height:44px}.route-card-disclosure>summary strong{font-variant-numeric:tabular-nums}.route-card-disclosure>summary small{display:block;margin-top:.15rem;font-weight:500}.route-card-disclosure .actions{margin-top:.5rem}
#route-key-metrics{margin:.25rem 0}.weather-help{flex-basis:100%;margin:0}.weather-help>summary{padding:.25rem 0;font-size:.8rem}
@media(min-width:761px){#route-key-metrics>summary{display:none}}
@media(max-width:760px){
 #route-key-metrics>summary{padding:.4rem 0;font-size:.8rem}
 .route-figure .map{height:clamp(165px,calc(100svh - 410px),305px)}
 .result-alternatives{grid-auto-columns:minmax(145px,42%)}
 .result-tabs{margin:3px 0}.route-elevation .profile-chart{height:82px}
 #search-summary{margin:.2rem 0;font-size:.75rem}

}

.route-card .route-card-select{display:block;width:100%;text-align:left;background:transparent;color:var(--ink);padding:4px 0;font-variant-numeric:tabular-nums}.route-card-select small{display:block;font-weight:500}.route-card-select[aria-pressed=true] strong{color:#1764b5}.route-card-disclosure>summary{display:list-item;font-size:.78rem;align-content:center;color:var(--muted)}

.point-pick-status{margin:0 0 6px;font-size:.84rem;font-weight:650}
.route-card .route-card-select{position:relative;padding-right:50px}
.route-thumbnail{position:absolute;right:0;top:50%;transform:translateY(-50%);width:44px;height:32px;pointer-events:none}
.route-card-select small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.library-thumbnail{display:block;width:100%;max-width:320px;height:auto;aspect-ratio:5/2;border-radius:8px;background:#edf2ee}
.thumbnail-credit{font-size:.72rem}
.planning-map-actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}.planning-info{position:relative;margin:0}.planning-info[open]{z-index:1001}.planning-info summary{display:list-item;align-content:center;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:10px;cursor:pointer}.planning-info-body{position:absolute;top:calc(100% + 6px);right:0;width:min(360px,calc(100vw - 54px));max-height:55dvh;overflow:auto;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:white;box-shadow:0 6px 20px #0002;font-size:.85rem}.planning-info-body small{font-size:inherit}
.community-stop-icon { filter: drop-shadow(0 1px 2px #0009); }
.studio-map-frame {
 position: relative;
 isolation: isolate;
}
.studio-map-tools {
 position: absolute;
 z-index: 1;
 inset: 8px 8px auto 52px;
 display: grid;
 justify-items: end;
 gap: 5px;
 pointer-events: none;
}
.studio-map-tools[hidden],
.studio-map-actions button[hidden],
.studio-map-actions:has(> button:only-child[hidden]) { display: none; }
.studio-map-actions {
 display: flex;
 flex-wrap: wrap;
 justify-content: flex-end;
 gap: 3px;
 padding: 3px;
 background: white;
 border: 1px solid var(--line);
 border-radius: 11px;
 box-shadow: 0 2px 8px #152d4b29;
}
.studio-map-actions button {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 4px;
 min-height: 44px;
 min-width: 44px;
 padding: 4px 8px;
 background: white;
 color: var(--ink);
 font-size: .78rem;
 line-height: 1.1;
 pointer-events: auto;
}
.studio-map-actions button:hover { background: #e8f2ff; }
.studio-map-actions button[aria-pressed="true"] { background: var(--green); color: white; }
.studio-map-actions button:disabled { opacity: .48; cursor: default; }
.studio-map-actions button:focus-visible { outline-offset: -2px; }
.studio-map-picking.leaflet-grab { cursor: crosshair; }
.studio-map-tools #studio-edit-status,
.studio-map-tools #studio-workout-editor {
 margin: 0;
 max-width: min(100%, 430px);
 padding: 4px 8px;
 border: 1px solid var(--line);
 border-radius: 8px;
 background: white;
 font-size: .78rem;
}
.studio-map-tools #studio-edit-status:empty { display: none; }
.studio-map-tools #studio-workout-editor { pointer-events: auto; }
.studio-map-tools #studio-workout-editor > summary { padding: 4px 0; }
@media (max-width: 760px) {
 .studio-map-actions button { flex-direction: column; padding: 4px; font-size: .66rem; }
 .studio-map-actions .nav-icon { width: 16px; height: 16px; }
 .route-figure .studio-map-frame .map { height: clamp(220px, 42svh, 325px); }
}
#result-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:.15rem .65rem}
#result-heading h2{margin:0}
#result-heading span{white-space:nowrap}
.liquid-action-icon{display:none}
.inline-studio-tools{display:none}

.detour-icon-cross { stroke: #c62828; stroke-width: 2.5; }
.detour-cross {
    color: #b42318;
    font: 800 17px/18px sans-serif;
    text-align: center;
    text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff;
}
.detour-picked-cross { font-size: 23px; }

.ride-together-icon { position: relative; display: inline-flex; }
.site-nav .ride-together-notice:not([hidden]) {
 position: absolute;
 inset: -2px -3px auto auto;
 width: 9px;
 height: 9px;
 border: 1px solid white;
 border-radius: 50%;
 background: #188548;
}

.tour-section-header { margin-bottom: 1.15rem; }
.tour-section-header h1 { margin: 0 0 .65rem; }
.tour-section-tabs {
 display: grid;
 grid-auto-flow: column;
 grid-auto-columns: minmax(0, 1fr);
 gap: .35rem;
 max-width: 46rem;
 padding: .3rem;
 border: 1px solid var(--line);
 border-radius: .75rem;
 background: var(--paper);
}
.tour-section-tabs .button {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: .35rem;
 min-height: 44px;
 margin: 0;
 padding: .35rem .2rem;
 white-space: nowrap;
}
.tour-section-heading {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: space-between;
 gap: .5rem;
 margin-bottom: .75rem;
}
.tour-section-heading h2, .tour-section-heading .button { margin: 0; }
.tour-list-actions > summary { cursor: pointer; font-weight: 650; }
@media (max-width: 480px) {
 .tour-section-tabs .button { flex-direction: column; font-size: .79rem; }
}
main:not(:has(.tour-management[open])) .library-bulk-choice { display: none; }
