/* Timeline date rail: fixed to the right edge while the timeline is visible (it lives inside #timeline-home). */
.timeline-date-rail{position:fixed;z-index:20;top:calc(var(--app-sticky-offset,var(--app-topbar-height,64px)) + var(--app-page-toolbar-height,0px) + 1.5rem);bottom:1.5rem;right:.35rem;width:4.25rem;touch-action:none;user-select:none;-webkit-user-select:none;cursor:ns-resize;outline:none}
.timeline-date-rail[hidden]{display:none}
.timeline-date-rail-track{position:absolute;top:0;bottom:0;right:.55rem;width:2px;border-radius:2px;background:var(--app-border)}
.timeline-date-rail-ticks{position:absolute;inset:0;pointer-events:none}
.timeline-date-rail-tick{position:absolute;right:.35rem;width:.6rem;height:2px;margin-top:-1px;background:var(--app-border);display:flex;align-items:center;justify-content:flex-end}
.timeline-date-rail-label{position:absolute;right:.9rem;font-size:.7rem;line-height:1;color:var(--app-muted);white-space:nowrap}
.timeline-date-rail-thumb{position:absolute;right:.35rem;width:.6rem;height:1.5rem;margin-top:-.75rem;border-radius:var(--app-radius-pill,999px);background:var(--app-accent);box-shadow:var(--app-shadow-sm);transition:top .12s ease-out}
.timeline-date-rail.is-dragging .timeline-date-rail-thumb{transition:none}
.timeline-date-rail-bubble{position:absolute;right:1.5rem;min-width:3rem;margin-top:-1rem;padding:.35rem .65rem;border-radius:var(--app-radius);background:var(--app-accent);color:var(--app-accent-text);box-shadow:var(--app-menu-shadow);font-size:.9rem;font-weight:700;text-align:center;pointer-events:none;opacity:0;transform:translateX(6px);transition:opacity .15s ease,transform .15s ease}
.timeline-date-rail-bubble.is-visible{opacity:1;transform:none}
.timeline-date-rail:hover .timeline-date-rail-label,.timeline-date-rail:focus-visible .timeline-date-rail-label{color:var(--app-text)}
.timeline-date-rail:focus-visible{outline:2px solid var(--app-focus,var(--app-accent));outline-offset:2px;border-radius:var(--app-radius)}
/* Leave room so cards never sit under the rail. */
/* Rail width (4.25rem) + its right offset (.35rem) + a gap; the id selector outranks the flat-page reset in timeline-header.css. */
@media(min-width:601px){body:has(.timeline-date-rail:not([hidden])) #timeline-home.timeline-shell{padding-right:5rem}}
/* Phones: only a slim scroll thumb on the edge, no tick labels. */
@media(max-width:600px){
  .timeline-date-rail{width:1.75rem;right:0}
  .timeline-date-rail-label,.timeline-date-rail-tick{display:none}
  .timeline-date-rail-track{right:.5rem;opacity:.6}
  .timeline-date-rail-thumb{right:.3rem;width:.7rem}
  .timeline-date-rail-bubble{right:2.1rem}
}
@media(prefers-reduced-motion:reduce){.timeline-date-rail-thumb,.timeline-date-rail-bubble{transition:none;transform:none}}
@media(min-width:601px){body:has(.timeline-date-rail:not([hidden])) #person-page-view.timeline-shell{padding-right:5rem}}
