.station-page { max-width: 52rem; margin: 0 auto; padding: 2rem clamp(1rem,5vw,3.5rem) 4rem; }
.station-head { margin: 2rem 0 1.5rem; }
.station-head h1, .station-route h2 { font: 400 clamp(2.6rem,8vw,5rem)/1.04 "Instrument Serif",Georgia,serif; margin: 0; }
.station-head p, .station-tally, .station-page footer { color: var(--atlas-ui-text-muted); }
.line-index { border-block: 1px solid var(--atlas-ui-divider); padding: .6rem 0; }
.line-index > div { display: flex; align-items: baseline; gap: .8rem; }
.line-index > div > span, .station-route header span { font: .75rem var(--atlas-typography-mono); letter-spacing: .09em; color: var(--atlas-ui-reflection); }
.line-index > div > span { min-width: 2rem; }
.line-index > div > div { display: flex; flex-wrap: wrap; }
.line-index a { display: grid; place-items:center; min-width: 44px; min-height: 44px; color: var(--atlas-ui-text-muted); text-decoration: none; font-weight: 600; }
.line-index a[aria-current], .line-index a:hover { color: var(--atlas-ui-action); text-decoration: underline; text-underline-offset: .4em; }
.line-index a:focus-visible, .station-route li a:focus-visible { outline-offset: -2px; }
.station-route { margin: 2rem 0; }
.station-route header { display: flex; align-items: center; justify-content:space-between; gap: 1rem; flex-wrap:wrap; }
.station-route h2 { font-size: clamp(2rem,6vw,3.75rem); margin-top: .25rem; }
.station-route ol { padding:0; margin:1.5rem 0; list-style:none; }
.station-route li { position:relative; }
.station-route li:not(:last-child)::before { content:""; position:absolute; top:50%; bottom:-50%; left:11px; width:1px; background:var(--atlas-ui-border); pointer-events:none; }
.station-route li a { display:grid; grid-template-columns:24px minmax(0,1fr) auto; gap:clamp(.45rem,2vw,1rem); align-items:center; min-height:48px; padding: .4rem 0; color:inherit; text-decoration:none; }
.station-route li a:hover b, .station-route li a:focus-visible b { color:var(--atlas-ui-action); }
.station-route li i { z-index:1; justify-self:center; width:10px; height:10px; border:1px solid var(--atlas-ui-border); border-radius:50%; background:var(--atlas-ui-canvas); }
.station-route li[data-state=visited] i { width:14px; height:14px; border:3px double var(--atlas-ui-canvas); background:var(--atlas-ui-action); outline:1px solid var(--atlas-ui-action); }
.station-route li[data-state=passed] i { border:2px solid var(--atlas-ui-reflection); }
.station-route small { color:var(--atlas-ui-text-muted); text-align:right; }
.station-page footer { font-size:.8rem; line-height:1.7; }
@media(max-width:490px){.station-page{padding-top:1rem}.station-head{margin-top:1.25rem}.station-route li a{grid-template-columns:24px minmax(0,1fr);row-gap:0}.station-route li i{grid-row:span 2}.station-route li small{grid-column:2;text-align:left}.station-route header .button{min-height:44px}}
