.tr-route {--tr-ink:#253029;--tr-moss:#293e36;--tr-mute:#555f53;--tr-line:#c7c9bb;--tr-orange:#ffae77;color:var(--tr-ink)}
.tr-route :is(a,button):focus-visible,.tr-route [role=tabpanel]:focus-visible {outline:3px solid #b94719;outline-offset:4px}
.tr-route .tr-board :is(a,button):focus-visible {outline-color:#ffd5af}
.tr-heading {display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 28px}
.tr-heading h1 {margin:0 0 10px;font:400 clamp(50px,5.2vw,79px)/1.02 var(--serif);letter-spacing:-.05em}
.tr-heading p,.tr-station-intro p,.tr-handoff p {font-size:1rem;line-height:1.55;color:var(--tr-mute);max-width:64ch}
.tr-index,.tr-reference,.tr-handoff a {display:inline-flex;align-items:center;gap:8px;width:fit-content;color:#354a3f;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#9ca798;font-size:.9rem;font-weight:550}
.tr-index {margin-bottom:3px;flex-shrink:0}
.tr-board {color:#f5f5eb;padding:23px clamp(16px,3.2vw,48px) 0;border:1px solid #34483e;border-radius:7px;background-color:#182b24;background-image:linear-gradient(#58736022 1px,transparent 1px),linear-gradient(90deg,#58736022 1px,transparent 1px);background-size:20px 20px;box-shadow:inset 0 0 65px #081a142b}
.tr-board-top,.tr-next,.tr-total {display:flex;align-items:center;justify-content:space-between;gap:18px}
.tr-board-top h2 {font-size:1.23rem;letter-spacing:-.035em;font-weight:610;margin:0}
.tr-total {color:#d6e1d3;font:400 .78rem/1.4 var(--mono);gap:12px}
.tr-total progress {width:80px;height:5px;appearance:none;border:0;background:#4a5e50;accent-color:var(--tr-orange);border-radius:8px;overflow:hidden}
.tr-total progress::-webkit-progress-bar {background:#4a5e50}.tr-total progress::-webkit-progress-value {background:var(--tr-orange)}.tr-total progress::-moz-progress-bar {background:var(--tr-orange)}
.tr-stops {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:relative;isolation:isolate;margin:27px 0 22px}
.tr-stops::before {content:"";position:absolute;top:23px;left:12.5%;right:12.5%;height:4px;border-block:1px solid #aaba9e;background:#556755;z-index:-1}
.tr-stop {min-width:0;display:grid;justify-items:center;align-content:start;gap:10px;position:relative;background:transparent;padding:0 4px 6px;border:0;border-radius:4px;color:#d5e0d2;text-align:center;cursor:pointer}
.tr-stop:hover .tr-dot,.tr-stop[aria-selected=true] .tr-dot {background:var(--tr-orange);color:#202b23;border-color:#ffc497}
.tr-stop[aria-selected=true] .tr-tab-title {text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--tr-orange)}
.tr-dot {width:48px;height:48px;display:grid;place-items:center;outline:4px solid #20352b;border-radius:50%;background:#263b31;color:#d4ddcc;border:1px solid #95a88e}
.tr-done .tr-dot {color:#eef7df;background:#3e5744}
.tr-tab-copy {display:grid;justify-items:center;gap:4px}
.tr-tab-title {font-weight:610;font-size:1rem;line-height:1.3;color:#f5f6ee}
.tr-tab-copy small,.tr-next small,.tr-eyebrow,.tr-ex-name small {font:500 .75rem/1.45 var(--mono)}
.tr-tab-copy small {color:#c1cfc0}
.tr-next {padding:15px 0 18px;border-top:1px solid #5c7260}
.tr-next>span {display:grid;gap:3px}.tr-next small {color:#ffbc90}.tr-next strong {font-size:1rem;font-weight:550}
.tr-next a {display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;min-height:40px;border-radius:4px;background:#ffc093;color:#21261f;font-size:.875rem;font-weight:650}
.tr-next a:hover {background:#ffd4ad}
.tr-details {display:grid;grid-template-columns:minmax(220px,.88fr) minmax(270px,1.15fr);gap:26px clamp(22px,5vw,75px);margin-top:26px;padding:24px 0 12px;border-top:1px solid var(--tr-line);scroll-margin-top:16px}
.tr-station-intro {align-self:start}.tr-eyebrow {color:#9a4527;text-transform:uppercase;letter-spacing:.06em}
.tr-station-intro h2,.tr-handoff h3 {font:400 clamp(32px,3vw,46px)/1.09 var(--serif);letter-spacing:-.04em;margin:8px 0 10px}
.tr-reference {margin:13px 15px 0 0}
.tr-station-work {border-top:1px solid var(--tr-line);align-self:start}
.tr-exercise {display:flex;align-items:center;gap:14px;padding:13px 4px}
.tr-checkpoint {border-bottom:1px solid var(--tr-line)}
.tr-solo {display:inline-flex;align-items:center;gap:5px;margin:-5px 0 8px 58px;padding:5px 0;color:#465c40;font-size:.83rem;text-decoration:underline;text-underline-offset:3px}
.tr-exercise:hover .tr-ex-name strong {text-decoration:underline;text-underline-offset:3px}
.tr-ex-icon {width:40px;height:40px;display:grid;place-items:center;flex-shrink:0;background:#eaede3;border:1px solid #c5c9b9;border-radius:4px;color:#425142}
.tr-ex-name {display:grid;gap:2px}.tr-ex-name small {color:var(--tr-mute)}.tr-ex-name strong {font-size:1rem;font-weight:610}
.tr-ex-name>span {color:var(--tr-mute);font-size:.9rem;line-height:1.43}.tr-exercise>svg {margin-left:auto;flex-shrink:0}
.tr-handoff {grid-column:1/-1;background:#ededdf;border:1px solid #d4d6c7;border-radius:6px;padding:20px clamp(15px,2.4vw,33px)}
.tr-handoff h3 {font-size:clamp(29px,2.5vw,38px);margin-top:0}
.tr-handoff>div {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.tr-handoff h4 {margin:0 0 3px;font-size:1rem}.tr-handoff p {font-size:.94rem;line-height:1.5}
.tr-handoff a {margin:10px 13px 0 0}.tr-handoff a+a {font-weight:400}
@media(max-width:720px) {
  .tr-heading {align-items:start;flex-direction:column;gap:10px;margin-bottom:17px}
  .tr-details {grid-template-columns:1fr;gap:17px;margin-top:19px;padding:17px 0 0}
  .tr-board {padding:17px 14px 0}.tr-tab-title {font-size:.9rem}.tr-total progress {width:52px}
}
@media(max-width:520px) {
  .tr-board-top {gap:8px}.tr-total {gap:6px}.tr-total progress {display:none}
  .tr-stops {grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 8px;margin:17px 0 15px}
  .tr-stops::before {display:none}
  .tr-stop {grid-template-columns:auto 1fr;align-items:center;align-content:center;justify-items:start;border:1px solid #516352;border-radius:4px;gap:7px;padding:9px 7px;text-align:left;background:#22382e}
  .tr-stop[aria-selected=true] {border-color:var(--tr-orange)}
  .tr-dot {width:31px;height:31px;outline:none}.tr-dot svg {width:17px;height:17px}
  .tr-tab-copy {justify-items:start;gap:2px}.tr-tab-title {font-size:.87rem;line-height:1.2}.tr-tab-copy small {font-size:.69rem}
  .tr-next {gap:10px;align-items:center}.tr-next a {flex-shrink:0;font-size:.82rem;padding-inline:10px}
  .tr-handoff>div {grid-template-columns:1fr;gap:16px}.tr-exercise {gap:9px}
}
@media(max-width:355px) {
  .tr-stop {grid-template-columns:1fr;gap:5px}.tr-next {align-items:start;flex-direction:column}
}
