/* Timeline page: axis marks, lanes, list rows. Accent is reserved for turning points. */
#tl-axis svg { display: block; font-family: "IBM Plex Sans", system-ui, sans-serif; }
.ax-year { stroke: #b9b09b; stroke-width: 1; }
.ax-month { stroke: #e3dccb; stroke-width: 1; }
.ax-ylabel { font-size: 12px; font-weight: 600; fill: #4a463e; }
.ax-mlabel { font-size: 9.5px; fill: #7a7466; }
.ax-guide { stroke: #1d1b17; stroke-width: 1; stroke-dasharray: 2 3; }
.lane-band { fill: #ece6d8; opacity: 0.55; }
.lane-label { font-size: 12px; fill: #1d1b17; }
.lane-count { font-size: 11px; fill: #7a7466; font-variant-numeric: tabular-nums; }
rect.ev { cursor: pointer; }
rect.ev-point, rect.ev-range { fill: #4a463e; }
rect.ev-month { fill: #fffdf8; stroke: #4a463e; stroke-width: 1; }
rect.ev-tp.ev-point, rect.ev-tp.ev-range { fill: #c4471d; }
rect.ev-tp.ev-month { stroke: #c4471d; fill: #f3d9cc; }
rect.ev:hover { stroke: #1d1b17; stroke-width: 1.5; }
rect.ev-sel { stroke: #1d1b17; stroke-width: 2; }
rect.ev-off { pointer-events: none; }
.tp-mark { cursor: pointer; }
.tp-mark rect { fill: #c4471d; }
.tp-mark text { fill: #fffdf8; font-size: 10px; font-weight: 600; }
.tp-mark:hover rect { fill: #1d1b17; }

.tl-row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 0.75rem; padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--edge); }
.tl-row.is-sel { background: var(--paper-deep); }
.tl-pick { line-height: 1.4; }
.tl-pick:hover .tl-text { text-decoration: underline; text-underline-offset: 2px; }
.tl-pick code, .tl-detail-text code { font-family: "IBM Plex Mono", monospace; font-size: 0.84em; background: var(--paper-deep); padding: 0 0.2rem; border-radius: 3px; }
.tl-toggle[aria-pressed="true"] { background: #1d1b17; color: #f5f1e8; border-color: #1d1b17; }
.tl-toggle[aria-pressed="true"] .text-ink-faint { color: #c9c2b2; }
#tl-labels .tl-toggle[aria-pressed="true"] { background: #fffdf8; color: #1d1b17; border-color: #1d1b17; }
#tl-labels .tl-toggle[aria-pressed="false"] { opacity: 0.5; }
.tl-turning.md { max-width: none; }
.tl-turning ol { list-style: none; margin-left: 0; counter-reset: tp; display: grid; gap: 1.1rem 2.5rem; }
@media (min-width: 1024px) { .tl-turning ol { grid-template-columns: 1fr 1fr; } }
.tl-turning ol > li { counter-increment: tp; position: relative; padding-left: 2.4rem; }
.tl-turning ol > li::before { content: counter(tp); position: absolute; left: 0; top: 0; font: 600 1.6rem/1 Newsreader, Georgia, serif; color: var(--accent); }
@media (max-width: 640px) { .tl-row { grid-template-columns: 1fr; gap: 0.2rem; } }
