/* Spacing and drilling timeline (/timeline/). The text sections reuse the charts page's classes. */
.timeline-page { --tl-map: #1b2025; --tl-card: #2a3238; --tl-line: #3a444c; --tl-ink: #eef2f5; --tl-ink2: #c7d6de; --tl-mute: #9aa7b1;
  --tl-new: #0096ff; --tl-more: #d95926; --tl-fresh: #f4f1c4; --tl-old: #71808c; --tl-land: #2b3740; }
.tl-intro { padding-bottom: clamp(24px, 3vw, 40px); }
.tl-app { padding-top: clamp(18px, 2.5vw, 30px); }
.tl-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tl-bar { display: flex; align-items: center; gap: 10px; }
.tl-bar button { font: inherit; font-weight: 650; border-radius: 6px; padding: 9px 18px; cursor: pointer; min-width: 96px; }
.tl-bar button:disabled { opacity: .5; cursor: default; }
.tl-primary { color: #20262b; background: #fff; border: 0; }
.tl-bar .tl-ghost { color: var(--tl-ink); background: var(--tl-card); border: 1px solid var(--tl-line); min-width: 58px; font-weight: 500; }
.tl-bar button:focus-visible, #tl-t:focus-visible, .tl-zoom button:focus-visible { outline: 2px solid var(--tl-new); outline-offset: 2px; }
#tl-when { margin-left: auto; color: #fff; font-size: clamp(19px, 2vw, 24px); font-weight: 650; font-variant-numeric: tabular-nums; }
#tl-t { display: block; width: 100%; margin: 10px 0 0; accent-color: #fff; }
.tl-mapwrap { position: relative; margin-top: 10px; border: 1px solid var(--tl-line); border-radius: 6px; overflow: hidden; background: var(--tl-map); }
#tl-map { display: block; width: 100%; height: min(64vh, 680px); touch-action: none; cursor: grab; }
.tl-tally { position: absolute; left: 8px; top: 8px; font-size: 12.5px; line-height: 1.45; color: var(--tl-ink2); pointer-events: none;
  background: rgba(27, 32, 37, .86); border: 1px solid var(--tl-line); border-radius: 6px; padding: 5px 9px; }
.tl-tally:empty { display: none; }
.tl-tally b { color: #fff; font-variant-numeric: tabular-nums; }
.tl-zoom { position: absolute; right: 8px; top: 8px; display: flex; flex-direction: column; gap: 6px; }
.tl-zoom button { width: 40px; height: 40px; font: 600 20px/1 var(--sans); color: var(--tl-ink); background: rgba(42, 50, 56, .92); border: 1px solid var(--tl-line); border-radius: 6px; cursor: pointer; }
.tl-zoom .tl-wide { font-size: 11px; font-weight: 500; }
.charts-section p.tl-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; font-size: 13px; color: var(--tl-ink2); }
.tl-sw { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.tl-ln { display: inline-block; width: 16px; height: 0; border-top: 2px solid; margin-right: 6px; vertical-align: 4px; }
.tl-new { background: var(--tl-new); } .tl-more { background: var(--tl-more); } .tl-land { background: var(--tl-land); border: 1px solid #46525b; }
.tl-fresh { border-color: var(--tl-fresh); } .tl-old { border-color: var(--tl-old); }
.tl-card { background: var(--tl-card); border: 1px solid var(--tl-line); border-radius: 6px; padding: 12px 16px; margin: 14px 0 0; max-width: 900px; }
.charts-section .tl-card p { margin: 0; font-size: 14.5px; color: var(--tl-ink2); }
.tl-app .page-width { padding-bottom: clamp(32px, 4vw, 56px); }
.tl-unit { border-top: 1px solid var(--tl-line); padding: 10px 0 4px; margin-top: 10px; }
.tl-unit h3 { margin: 0; font-size: 16px; color: #fff; }
.charts-section .tl-unit .tl-where { margin: 2px 0 0; font-size: 13px; color: var(--tl-mute); overflow-wrap: anywhere; }
.tl-unit svg { display: block; width: 100%; max-width: 640px; height: 54px; margin: 6px 0 2px; }
.tl-unit ul { list-style: none; margin: 4px 0 0; padding: 0; font-size: 14px; color: var(--tl-ink2); }
.tl-unit li { padding: 2px 0; }
.tl-unit li b { color: #fff; font-weight: 650; font-variant-numeric: tabular-nums; }
.tl-card a { color: #8ec5f1; }
.charts-section p.tl-lede { max-width: 78ch; font-size: 15px; color: var(--tl-ink2); margin: 8px 0 0; }
.charts-section p.tl-lede:last-child { padding-bottom: clamp(32px, 4vw, 56px); margin-top: 18px; }
.tl-strip { max-width: 900px; }
.tl-row { margin-top: 14px; }
.tl-cap { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; color: var(--tl-ink2); }
.tl-cap span:last-child { color: var(--tl-mute); font-variant-numeric: tabular-nums; }
.tl-row svg { display: block; width: 100%; height: 50px; cursor: pointer; }
.tl-yrs { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--tl-mute); font-variant-numeric: tabular-nums; margin-top: 2px; }
@media (max-width: 640px) {
  #tl-map { height: 58vh; }
  .tl-bar button { min-width: 84px; padding: 9px 14px; }
}
