/* Scoped feed styles for World Timeline (keeps site-v2 chrome intact). */
#timeline .cx-querybar{display:flex;flex-wrap:wrap;gap:12px;padding:14px 22px 4px}
#timeline .cx-querybar input,#timeline .cx-querybar select{background:#081c2b;color:#eef8ff;border:1px solid #29495c;border-radius:6px;padding:8px 10px;font:inherit}
#timeline .cx-querybar input[type="search"]{flex:1 1 220px;min-width:180px}
#timeline .cx-queryfield{display:grid;gap:4px;color:#9ec1d6;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
#timeline .cx-queryfield input,#timeline .cx-queryfield select{font-weight:500;letter-spacing:0;text-transform:none;min-width:9.5rem}
#timeline .cx-queryfield input[type="date"]{color-scheme:dark}
#timeline .cx-feed,#timeline .cx-detail{scrollbar-width:thin;scrollbar-color:#3d7f98 #06141d}
#timeline .cx-feed::-webkit-scrollbar,#timeline .cx-detail::-webkit-scrollbar{width:10px;height:10px}
#timeline .cx-feed::-webkit-scrollbar-track,#timeline .cx-detail::-webkit-scrollbar-track{background:#06141d}
#timeline .cx-feed::-webkit-scrollbar-thumb,#timeline .cx-detail::-webkit-scrollbar-thumb{background:#3d7f98;border:2px solid #06141d;border-radius:8px}
#timeline .cx-feed::-webkit-scrollbar-thumb:hover,#timeline .cx-detail::-webkit-scrollbar-thumb:hover{background:#8feef3}
.cx-detail .event-assessment,.event-assessment{margin:8px 0 0}
.cx-detail .event-assessment summary,.event-assessment summary{cursor:pointer;color:#8feef3;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.assessment-section h4,.story-block h4{margin:16px 0 6px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#d7eef8}
.cx-detail .story-lead,.cx-detail .story-block p,.story-block p,.story-lead{margin:0;color:#d5e4ee;line-height:1.55}
.record-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px}
.record-chip{border:1px solid #2c6078;border-radius:999px;padding:4px 10px;color:#e7f6ff;font-size:12px;font-weight:700;text-transform:capitalize}
.record-chip.is-verified{border-color:#2f9a78;color:#b7f3dc}
.record-date{color:#9ec1d6;font-size:13px}
.cx-global{display:inline-block;margin:0 8px 4px 0;padding:1px 7px;border:1px solid #3d7f98;border-radius:999px;color:#8feef3;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.driver-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.driver-card{display:flex;gap:8px;align-items:flex-start;border:1px solid #24506a;border-radius:10px;padding:8px 10px;color:#e7f6ff}
.driver-card svg{width:18px;height:18px;flex:none;margin-top:2px;color:#8feef3}
.driver-card strong{display:block;font-size:13px;font-weight:700}
.driver-card span{display:block;margin-top:2px;color:#8ecfb8;font-size:12px}
.driver-card.negative span{color:#f0a8a8}
.detail-link{display:inline-flex;align-items:center;margin-top:16px;padding:8px 12px;border:1px solid #3d7f98;border-radius:8px;color:#d7eef8;font-size:13px;font-weight:700;text-decoration:none}
.detail-link::after{content:" ›";margin-left:6px}
.precision-info{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:6px;padding:0;border:0;border-radius:50%;background:transparent;color:#8feef3;vertical-align:middle;cursor:pointer}
.precision-info svg{width:16px;height:16px}
.precision-note{display:none;margin-top:6px;color:#91b0c0;font-size:12px;line-height:1.45}
.precision-info:hover+.precision-note,.precision-info:focus+.precision-note,.precision-note.is-open{display:block}
.source-distinction{display:block;margin-top:4px;color:#91b0c0;font-size:12px;line-height:1.4}
.dimension-detail{margin-top:22px;padding-top:8px;border-top:1px solid #1b3b4e}
.dimension-detail h2{margin:0 0 12px;font-size:18px}
.dimension-group{margin:0 0 14px}
.dimension-group p{margin:0 0 6px;color:#d5e4ee}
.dimension-group ul{margin:0;padding-left:18px;color:#c5d7e2}
@media(max-width:560px){.driver-grid{grid-template-columns:1fr}}
@media(min-width:681px){.event-assessment>summary{display:none}}
.event-columns{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(240px,.9fr);gap:28px}
.event-facts{min-width:0}
.fact-table-wrap{overflow-x:auto}
.fact-table,.source-table{width:100%;border-collapse:collapse}
.source-table{min-width:28rem}
.fact-table th,.fact-table td,.source-table th,.source-table td{text-align:left;padding:7px 10px;border-bottom:1px solid #1b3b4e;vertical-align:top}
.fact-table th{width:1%;white-space:nowrap;color:#8feef3;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.fact-table td,.source-table td{color:#eef8ff}
.source-table th{color:#8feef3;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.event-facts h4{margin:18px 0 8px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#d7eef8}
.assessment-link{display:inline-block;margin-top:16px;font-weight:800}
.approx-note{color:#91b0c0;font-size:13px}
@media(max-width:800px){.event-columns{grid-template-columns:1fr}}
#timeline .cx-charts{display:grid;gap:0;margin-top:40px;border:1px solid #2a5366;border-radius:12px;background:#081c2b;overflow:hidden}
#timeline .cx-chart{border:0;border-radius:0;background:transparent;padding:18px 18px 16px}
#timeline .cx-chart h3,#timeline .cx-chart-events h3{margin:0 0 6px;font-size:22px;font-weight:600}
#timeline .cx-chart-events h3{font-size:14px;letter-spacing:.08em;text-transform:uppercase;color:#6ce4ef}
#timeline .cx-chart-note{margin:0 0 12px;color:#a4bbcb;line-height:1.55}
#timeline .cx-chart-caption{margin:0;padding:12px 18px;border-top:1px solid #2a5366;color:#a4bbcb;line-height:1.55}
#timeline .cx-legend{display:flex;flex-wrap:wrap;gap:10px 18px;margin:0 0 12px}
#timeline .cx-legend-group{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}
#timeline .cx-legend-subs{display:flex;flex-wrap:wrap;gap:6px 10px}
#timeline .cx-legend-btn{display:inline-flex;align-items:center;gap:7px;margin:0;padding:2px 0;border:0;background:transparent;color:#e7f6ff;font:inherit;font-size:13px;cursor:pointer}
#timeline .cx-legend-btn[aria-pressed="false"]{opacity:.38}
#timeline .cx-legend-btn:focus-visible{outline:2px solid #65e7eb;outline-offset:2px}
#timeline .cx-legend-btn .swatch{width:22px;border-top:2px solid currentColor}
#timeline .cx-legend-btn.is-thick .swatch{border-top-width:4px}
#timeline .cx-legend-btn.is-dashed .swatch{border-top-style:dashed}
#timeline .cx-plot{width:100%}
#timeline .cx-plot svg{display:block;width:100%;height:auto;background:#05080c;border-radius:8px;cursor:crosshair}
#timeline .cx-plot svg circle[data-point]{cursor:pointer}
#timeline .cx-plot:focus{outline:2px solid #65e7eb;outline-offset:3px}
#timeline .cx-plot.is-loading{position:relative;min-height:240px;display:grid;place-items:center;overflow:hidden;background:#05080c;border-radius:8px}
#timeline .cx-plot-status{position:relative;z-index:1;margin:0;color:#8feef3;font-size:13px;font-weight:700;letter-spacing:.04em}
#timeline .cx-plot.is-loading::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(101,231,235,.16),transparent);background-size:42% 100%;background-repeat:no-repeat;animation:cx-plot-load 1.15s ease-in-out infinite}
@keyframes cx-plot-load{0%{background-position:-45% 0}100%{background-position:145% 0}}
#timeline .cx-chart-inspect{display:grid;gap:0;border-top:1px solid #2a5366}
#timeline #cx-chart-readout{margin:0;padding:14px 18px;color:#e7f6ff;line-height:1.5}
#timeline .cx-chart-slider{display:grid;gap:6px;width:100%;box-sizing:border-box;margin:0;padding:12px 18px 16px;border:0;border-top:1px solid #2a5366;border-radius:0;background:transparent;color:#9ec1d6;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
#timeline .cx-chart-slider input{width:100%;accent-color:#65e7eb}
#timeline .cx-zoom-track{position:relative;height:28px}
#timeline .cx-zoom-track::before{content:'';position:absolute;left:8px;right:8px;top:12px;height:4px;border-radius:2px;background:#1d4254}
#timeline .cx-zoom-fill{position:absolute;top:12px;height:4px;border-radius:2px;background:#65e7eb;pointer-events:none}
#timeline .cx-zoom-track input[type="range"]{position:absolute;left:0;top:0;width:100%;height:28px;margin:0;background:none;pointer-events:none;appearance:none;-webkit-appearance:none}
#timeline #cx-zoom-from{z-index:2}
#timeline #cx-zoom-to{z-index:3}
#timeline .cx-zoom-track input[type="range"]::-webkit-slider-runnable-track{height:4px;background:transparent}
#timeline .cx-zoom-track input[type="range"]::-webkit-slider-thumb{pointer-events:auto;-webkit-appearance:none;width:16px;height:16px;margin-top:-6px;border:0;border-radius:50%;background:#65e7eb;cursor:grab}
#timeline .cx-zoom-track input[type="range"]::-moz-range-track{height:4px;background:transparent;border:0}
#timeline .cx-zoom-track input[type="range"]::-moz-range-thumb{pointer-events:auto;width:16px;height:16px;border:0;border-radius:50%;background:#65e7eb;cursor:grab}
#timeline #cx-zoom-label{font-weight:650;letter-spacing:0;text-transform:none}
#timeline .cx-chart-events{border:0;border-top:1px solid #2a5366;border-radius:0;background:transparent;padding:16px 18px}
#timeline #cx-chart-list{max-height:320px;overflow:auto;margin-top:10px;scrollbar-width:thin;scrollbar-color:#3d7f98 #06141d}
@media(max-width:700px){#timeline .cx-chart,#timeline .cx-chart-events{padding:14px 12px}#timeline .cx-chart h3{font-size:18px}}
