.timeline-wrap { overflow-x: auto; border: 1px solid var(--border-dark); background: #101c26; }
.timeline-row { display: grid; grid-template-columns: 180px 1fr; min-width: 720px; border-bottom: 1px solid var(--border-dark); }
.timeline-meta { padding: 10px; font-size: 12px; display: flex; flex-direction: column; gap: 4px; }
.timeline-track { position: relative; display: flex; min-height: 52px; }
.t-cell { flex: 1; min-width: 28px; display: flex; align-items: flex-end; justify-content: center; font-size: 10px; font-family: var(--mono); padding-bottom: 4px; }
.p-night { background: #0e1820; }
.p-dawn { background: #1a3340; }
.p-day { background: #27414c; }
.p-evening { background: #1e2c36; }
.p-late { background: #121c24; }
.t-skip { background-image: repeating-linear-gradient(45deg, transparent, transparent 4px, rgba(184,77,77,0.25) 4px, rgba(184,77,77,0.25) 8px); }
.t-cursor { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--copper); pointer-events: none; }
.legend-periods { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted-light); margin: 8px 0; }
.legend-periods span { padding: 4px 8px; }
@media (max-width: 760px) {
  .timeline-row { grid-template-columns: 120px 1fr; }
}
