.first-trip-map {margin-block:clamp(2rem,4vw,4rem)}
.first-trip-map fieldset {border:0;padding:0;min-width:0;margin:1.25rem 0 0}
.first-trip-map legend {margin:0 0 .45rem;padding:0;font-size:.92rem;font-weight:650}
.first-trip-radio {width:1px;height:1px;position:absolute;opacity:0;clip-path:inset(50%)}
.first-trip-radio + label {display:inline-flex;align-items:center;justify-content:center;min-height:2.75rem;min-width:3rem;padding:.45rem clamp(.5rem,1.8vw,1rem);border:1px solid #87978a;color:#203c2c;border-radius:3px;margin:0 .3rem .4rem 0;font-weight:600;cursor:pointer}
.first-trip-radio:checked + label {color:#fffdf6;background:#254733;border-color:#254733}
.first-trip-radio:focus-visible + label {outline:3px solid #a65a39;outline-offset:2px}
.first-trip-panel {display:none;border-block:1px solid #c5cebf;padding:1.15rem 0;grid-template-columns:minmax(0,1.4fr) minmax(13rem,1fr);align-items:center;gap:clamp(1rem,3vw,2.2rem)}
.first-trip-radio[value="0"]:checked ~ .first-trip-panels > :nth-child(1),
.first-trip-radio[value="1"]:checked ~ .first-trip-panels > :nth-child(2),
.first-trip-radio[value="2"]:checked ~ .first-trip-panels > :nth-child(3),
.first-trip-radio[value="3"]:checked ~ .first-trip-panels > :nth-child(4) {display:grid}
.first-trip-route-detail p {margin:0 0 1rem}
.first-trip-route-detail a {text-underline-offset:.2em;font-weight:650}
.first-trip-cartography svg {display:block;width:100%;height:auto;background:#e8eee9;border:1px solid #c1ccbc}
.first-region path {fill:#d1dcc9;stroke:#eff0e4;stroke-width:.75}
.first-journey polyline {fill:none;stroke-width:2;stroke-linejoin:round}
.first-journey-rail {stroke:#255542}
.first-journey-bus {stroke:#715637;stroke-dasharray:5 2}
.first-journey-car {stroke:#793e28;stroke-dasharray:.5 3;stroke-linecap:round}
.first-towns circle {fill:#243d2e;stroke:#fff8e8;stroke-width:1.1}
.first-towns text {fill:#21372a;paint-order:stroke;stroke:#f3f3e6;stroke-width:2;font:650 8.5px var(--sans,sans-serif)}
.first-trip-legend {display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:.4rem 0 0;gap:.25rem .95rem;color:#374d40;font-size:.85rem}
.first-trip-legend li {display:flex;align-items:center;gap:.3rem}
.first-trip-legend i {width:1.35rem;border-top:2px solid #255542}
.first-trip-legend .first-line-bus {border-top:2px dashed #715637}
.first-trip-legend .first-line-car {border-top:3px dotted #793e28}
.first-trip-cart-credit {display:block;margin-top:.4rem;color:#495b4e;font-size:.8rem}
.first-trip-transfers {list-style:none;padding:1.05rem 1.15rem;margin:0;background:#edf0e4;color:#233e2e}
.first-trip-transfers li {position:relative;padding:0 0 .15rem 1.6rem;margin:0}
.first-trip-transfers li::before {content:"";position:absolute;top:.5rem;left:.14rem;background:#fffdf6;border:2px solid #345a46;border-radius:50%;width:.58rem;height:.58rem;z-index:1;box-sizing:border-box}
.first-trip-transfers li + li {padding-top:.55rem}
.first-trip-transfers li + li::before {top:auto;bottom:.6rem}
.first-trip-transfers li + li::after {content:"";position:absolute;border-left:2px solid #64826d;top:-.7rem;bottom:.75rem;left:.34rem}
.first-trip-transfers span {display:block;font-size:.82rem;line-height:1.2;margin-bottom:.25rem;color:#52634f}
.first-trip-transfers strong {display:block;line-height:1.3}
@media(max-width:640px){.first-trip-panel{grid-template-columns:minmax(0,1fr)}}
@media(forced-colors:active){.first-trip-radio:checked + label {outline:3px solid Highlight;outline-offset:-4px}.first-trip-radio:focus-visible + label{outline:3px dotted Highlight;outline-offset:1px}.first-region path{fill:Canvas;stroke:GrayText}.first-journey polyline,.first-towns circle{stroke:CanvasText}.first-towns circle,.first-towns text{fill:CanvasText}.first-towns text{stroke:Canvas}}
