
.timeline-enabled .hero{min-height:0;grid-template-columns:1fr 300px;padding:30px;gap:28px}
.timeline-enabled .hero-left{min-height:0;gap:24px}
.timeline-enabled .hero-conclusion{font-size:32px;line-height:1.3;margin-top:10px}
.timeline-enabled .hero h1{font-size:44px}
.timeline-enabled .hero-right{gap:12px}
.timeline-enabled .hero-right .fresh-feed{display:none}
.timeline-enabled #mainlineScore{font-size:25px;margin:8px 0}
.timeline-enabled .stars{font-size:15px;color:#6b581c}
.timeline-panel{margin-top:24px;padding:26px;background:#fffefb}
.timeline-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:22px}
.timeline-header h2{font-size:27px;line-height:1.35;margin:5px 0}
.timeline-eyebrow{font-size:12px;color:#727568;letter-spacing:.04em;margin-bottom:7px}
.timeline-zone,.timeline-muted,.timeline-source{font-size:12px;color:#686b63;line-height:1.7}
.timeline-controls{display:grid;grid-template-columns:minmax(220px,1.6fr) 1.25fr 1.15fr auto;gap:15px;align-items:end}
.timeline-controls label,.timeline-control-label,.timeline-point-select{display:block;font-size:12px;color:#50584d;line-height:1.6}
.timeline-controls input,.timeline-controls select,.timeline-point-select select{display:block;width:100%;min-height:44px;border:1px solid #b9c1b4;border-radius:8px;background:#fff;padding:10px 12px;margin-top:6px;font:inherit;font-size:14px;color:#202920;box-sizing:border-box}
.timeline-controls input{margin-bottom:6px}
.timeline-controls button,.timeline-point-select button{min-height:44px;padding:10px 12px;background:#fff;border:1px solid #aeb9a7;border-radius:8px;cursor:pointer;font:inherit;font-size:13px;white-space:nowrap}
.timeline-controls button[aria-pressed=true]{background:#1d493c;color:#fff;border-color:#1d493c}
.timeline-controls button:disabled{opacity:.5;cursor:default}
.timeline-ranges{display:flex;gap:5px;margin-top:6px}
.timeline-return{display:flex;flex-direction:column;gap:6px}
.timeline-boundary{margin:20px 0;padding:14px 18px;background:#f4f2e7;border-left:4px solid #b59a43;border-radius:4px;font-size:13px;line-height:1.7}
.timeline-boundary p{margin:4px 0}
.timeline-warning{color:#9b3428;font-weight:600}
.timeline-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}
.timeline-insight{border:1px solid #ccd3c7;border-top:4px solid #4b6677;border-radius:9px;padding:18px;background:#fff;min-width:0}
.timeline-insight.positive{border-top-color:#286b47}
.timeline-insight.negative{border-top-color:#a44535}
.timeline-insight.mixed{border-top-color:#926526}
.timeline-insight h3{font-size:21px;margin:5px 0 18px}
.timeline-insight h4{font-size:12px;margin:16px 0 5px;color:#52604b}
.timeline-insight p{font-size:14px;line-height:1.75;margin:5px 0;overflow-wrap:anywhere}
.timeline-who{font-weight:700}
.timeline-flags{font-size:12px!important;font-weight:600;color:#785019;background:#faf3df;padding:8px 10px;border-radius:6px;line-height:1.7}
.timeline-link{border:0;background:none;padding:12px 0;color:#255b47;font:inherit;cursor:pointer;min-height:44px;text-align:left}
.timeline-chart-panel{border:1px solid #d3d9cf;border-radius:10px;padding:20px;margin:24px 0;background:#fff}
.timeline-chart-heading{display:flex;justify-content:space-between;align-items:baseline;gap:14px}
.timeline-chart-heading h3{font-size:18px;margin:0 0 12px}
.timeline-chart-heading span{font-size:12px;color:#73786b}
.timeline-legend{display:flex;gap:24px;font-size:13px;margin:8px 0 10px}
.timeline-legend span{display:flex;align-items:center;gap:7px}
.timeline-legend i{width:18px;height:3px;background:currentColor}
.metric-0{color:#385e86;stroke:#385e86;fill:#385e86}
.metric-1{color:#28764e;stroke:#28764e;fill:#28764e}
.metric-2{color:#b44b3f;stroke:#b44b3f;fill:#b44b3f}
#historyChart svg{display:block;width:100%;height:auto;min-height:190px;overflow:visible}
.timeline-line{fill:none;stroke-width:2.4;stroke-linejoin:round}
.timeline-grid{stroke:#e6e9e2;stroke-width:1}
.timeline-axis{font-family:inherit;font-size:13px;fill:#73786b;stroke:none}
.timeline-gap{fill:#e8e5d9;opacity:.4}
.timeline-point{cursor:pointer;outline:none}
.timeline-point.selected circle{stroke-width:3;stroke:#181e17}
.timeline-point:focus circle{stroke-width:4;stroke:#111}
.timeline-point-select{max-width:440px}
.timeline-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:18px 0 0}
.timeline-metrics>div{border-top:2px solid currentColor;background:#f7f9f5;padding:12px}
.timeline-metrics span{display:block;font-size:12px}
.timeline-metrics strong{display:block;font-size:26px;margin-top:5px}
.timeline-detail-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:28px;align-items:start;margin:28px 0}
.timeline-detail-grid h3{font-size:20px;margin:10px 0}
.timeline-event{padding:14px 0;border-bottom:1px solid #e1e6db;font-size:13px;line-height:1.7}
.timeline-event p{margin:7px 0}
.timeline-event-type{display:inline-block;border:1px solid #c4cdbb;padding:3px 9px;border-radius:20px;font-size:12px}
.timeline-event-delta{font-weight:700}
.timeline-evidence{padding:18px 0;border-bottom:1px solid #dce1d7;font-size:13px;line-height:1.75;overflow-wrap:anywhere}
.timeline-evidence h4{font-size:15px;margin:5px 0}
.timeline-evidence p{margin:8px 0}
.timeline-evidence code{font-size:11px;word-break:break-all}
.timeline-clocks{display:grid;grid-template-columns:108px 1fr;gap:5px 12px;font-size:12px;margin:12px 0}
.timeline-clocks dt{color:#6c7366}
.timeline-clocks dd{margin:0}
.timeline-panel details summary,.timeline-legacy summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:13px;font-weight:600;color:#425b40}
.timeline-panel details summary:before,.timeline-legacy>summary:before{content:'▸';margin-right:8px}
.timeline-panel details[open]>summary:before,.timeline-legacy[open]>summary:before{content:'▾'}
.timeline-legacy{margin:20px 0 0}
.timeline-empty{padding:28px;background:#f5f5ec;border:1px dashed #b5bcae;border-radius:8px;font-size:14px;line-height:1.8}
@media(max-width:1000px){.timeline-controls{grid-template-columns:1.5fr 1fr}.timeline-return{flex-direction:row}.timeline-insights{gap:10px}.timeline-insight{padding:14px}.timeline-chart-heading{display:block}}
@media(max-width:700px){.timeline-enabled .hero{display:block;padding:20px}.timeline-enabled .hero h1{font-size:35px}.timeline-enabled .hero-conclusion{font-size:25px}.timeline-enabled .hero-right{display:none}.timeline-enabled .hero-left{gap:12px}.timeline-panel{padding:16px 12px}.timeline-header{display:block}.timeline-header h2{font-size:23px}.timeline-controls{grid-template-columns:1fr}.timeline-ranges button{flex:1}.timeline-return{display:flex}.timeline-return button{flex:1}.timeline-boundary{padding:12px;font-size:12px}.timeline-insights{grid-template-columns:1fr}.timeline-insight{padding:16px}.timeline-chart-panel{padding:12px}.timeline-legend{gap:14px;font-size:12px}#historyChart svg{min-height:230px}.timeline-axis{font-size:15px}.timeline-metrics{gap:7px}.timeline-metrics>div{padding:9px 6px}.timeline-metrics strong{font-size:22px}.timeline-detail-grid{grid-template-columns:1fr;gap:20px}.timeline-clocks{grid-template-columns:100px 1fr}}

.timeline-event-rail{display:flex;gap:8px;overflow-x:auto;margin-top:14px;padding-bottom:6px}
.timeline-event-rail button{flex:0 0 auto;min-width:126px;min-height:54px;border:1px solid #bec8b4;border-radius:8px;padding:9px 12px;background:#fff;text-align:left;color:#354e38;cursor:pointer}
.timeline-event-rail button[aria-pressed=true]{background:#edf4e8;border:2px solid #365d37}
.timeline-event-rail span{display:block;font-size:11px;color:#6d7367}
.timeline-event-rail strong{display:block;font-size:12px;margin-top:5px}

.timeline-hero-intro{font-size:14px;line-height:1.8;max-width:640px;color:#505b4d;margin:14px 0}
.timeline-health{margin-top:10px;font-size:12px;color:#626b5d;line-height:1.7}
.timeline-health summary{cursor:pointer;min-height:36px;display:flex;align-items:center}
.timeline-health summary:before{content:"▸";margin-right:8px}
.timeline-health[open] summary:before{content:"▾"}
.timeline-health #indexHealth{font-size:12px;padding:10px 0}

/* The selected historical identity is explicit, including unavailable selections. */
.timeline-selection-status{margin:16px 0;padding:16px 18px;border:1px solid #98afa0;border-left:5px solid #4a7659;background:#f1f7f0;color:#244732;font-size:14px;font-weight:600;line-height:1.7;overflow-wrap:anywhere}
.timeline-selection-status[hidden]{display:none}
.timeline-selection-status.is-error{border-color:#c27b63;border-left-color:#a84729;background:#fff0e8;color:#782c17}

/* Aligned panels remove curve occlusion while keeping absolute values and gaps. */
.timeline-chart-controls{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 12px}
.timeline-chart-controls button{font:inherit;font-size:13px;min-height:44px;padding:9px 14px;border:1px solid #a9b4c3;border-radius:7px;background:#fff;color:#263d5c;cursor:pointer}
.timeline-chart-controls button[aria-pressed=true]{background:#263d5c;color:#fff;border-color:#263d5c}
.timeline-chart-controls button:focus-visible{outline:2px solid #244974;outline-offset:3px}
.timeline-chart-scale{font-size:12px;color:#495463;line-height:1.7;margin:10px 0 6px;overflow-wrap:anywhere}
#historyChart .timeline-chart-view svg{min-height:0;width:100%;height:auto;overflow:visible}
#historyChart .timeline-axis{font-size:11px;fill:#495463}
#historyChart .timeline-panel-label{font:600 13px sans-serif;stroke:none;fill:currentColor}
#historyChart .timeline-hit-marker{opacity:0;pointer-events:none}
#historyChart .timeline-point.endpoint .timeline-hit-marker{opacity:.75}
#historyChart .timeline-point.selected .timeline-hit-marker,#historyChart .timeline-point:focus .timeline-hit-marker{opacity:1;stroke:#233247;stroke-width:2.2;r:4}
#historyChart .timeline-current-marker circle{stroke:#233247;stroke-width:2;pointer-events:none}
#historyChart .timeline-selected-cursor{stroke:#495463;stroke-width:1;stroke-dasharray:3 4;pointer-events:none}
#historyChart [data-chart-view=combined] .timeline-line.metric-1{stroke-dasharray:8 4}
#historyChart [data-chart-view=combined] .timeline-line.metric-2{stroke-dasharray:2 4}
#historyChart .timeline-line{fill:none;stroke-width:2.2;vector-effect:non-scaling-stroke;pointer-events:none}
.timeline-point:focus{outline:none}
@media(max-width:700px){.timeline-chart-controls button{flex:1}.timeline-legend{flex-wrap:wrap;gap:8px 16px}#historyChart .timeline-axis{font-size:11px}}

/* Keep evidence directions distinct even after the global focus stylesheet. */
.timeline-chart-panel{--timeline-positive:#00796b;--timeline-negative:#c62828}
.timeline-chart-panel .metric-1{color:var(--timeline-positive);stroke:var(--timeline-positive)}
.timeline-chart-panel .metric-2{color:var(--timeline-negative);stroke:var(--timeline-negative)}
.timeline-chart-panel circle.metric-1{fill:var(--timeline-positive)}
.timeline-chart-panel circle.metric-2{fill:var(--timeline-negative)}
.timeline-chart-panel .timeline-legend .metric-1 i{height:0;background:none;border-top:3px dashed currentColor}
.timeline-chart-panel .timeline-legend .metric-2 i{height:0;background:none;border-top:3px dotted currentColor}
