.history-timeline{min-width:0}.history-time-plot{touch-action:pan-y;color:var(--accent);cursor:crosshair}.history-time-plot svg{width:100%;height:190px}.history-time-plot .hist-line{stroke:var(--accent);stroke-width:2;fill:none}.history-time-plot circle{fill:var(--accent);stroke:var(--panel);stroke-width:1}.history-time-plot circle.night-dot{fill:#b59afd}.history-time-grid{stroke:var(--line);stroke-width:1;stroke-dasharray:3 5}#historySelectedLine{stroke:var(--text);stroke-width:1;stroke-dasharray:4 4;opacity:.7}.history-time-plot #historySelectedDot{fill:var(--panel);stroke:var(--text);stroke-width:2}.history-time-axis{position:relative;height:43px;margin:10px 0 0}.history-time-tick{position:absolute;top:0;transform:translateX(-50%);text-align:center;white-space:nowrap;font-size:10px;line-height:1.6;color:var(--muted)}.history-time-tick b,.history-time-tick span{display:block}.history-time-tick b{color:var(--text);font-weight:600}.history-time-tick.tick-0{transform:none;text-align:left}.history-time-tick.tick-4{transform:translateX(-100%);text-align:right}.history-time-hint,.history-time-note{font-size:11px;color:var(--muted);line-height:1.6;margin:10px 0}.history-time-selection{padding:14px;border-radius:14px;background:var(--panel2);border:1px solid var(--line);display:grid;gap:6px;min-height:90px}.history-time-selection b{font-size:13px;line-height:1.5;color:var(--text)}.history-time-selection span{font-size:12px;color:var(--accent)}.history-time-selection small{font-size:11px;color:var(--muted)}.history-time-plot:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.history-time-plot .chart-scale{pointer-events:none}@media(max-width:360px){.history-time-tick{font-size:9px}.history-time-selection b{font-size:12px}}
/* Keep the selection visible even when old chart entry animations are disabled. */
.history-time-plot .hist-line{animation:none!important;stroke-dasharray:none;stroke-dashoffset:0;filter:none}.history-time-plot circle{animation:none!important;opacity:1!important}.history-time-plot .chart-scale span{font-size:10px;color:var(--muted)}
