/* Shared component styles for intelligence cards, timeline, tables. */
.card { background: var(--bg-2); border: 1px solid var(--border-1); border-radius: var(--r-2); padding: var(--sp-3); }
.card + .card { margin-top: var(--sp-2); }
.card header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.card h4 { margin: 0; font-size: 12px; font-weight: 600; color: var(--text-1); letter-spacing: .01em; }
.card .note { color: var(--text-3); font-size: 11px; margin: 0 0 6px; line-height: 1.4; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; font-size: 12px; margin: 0; }
.kv dt { color: var(--text-2); } .kv dd { margin: 0; text-align: right; }
.cov { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; font-size: 11px; color: var(--text-2); line-height: 1.35; }
table.mini { width: 100%; border-collapse: collapse; font-size: 12px; }
table.mini td, table.mini th { padding: 2px 0; } table.mini th { color: var(--text-3); font-weight: 500; font-size: 11px; text-align: left; }
.r { text-align: right !important; }
i.lv { display: inline-block; width: 14px; margin-right: 6px; vertical-align: middle; border-top: 2px dotted currentColor; }
.alert { display: grid; grid-template-columns: auto auto 1fr auto; gap: 8px; align-items: center; font-size: 12px; padding: 4px 0; border-top: 1px solid var(--border-1); }
.alert:first-of-type { border-top: 0; }
.ev-legend { display: grid; gap: 4px; font-size: 11px; color: var(--text-2); } .ev-legend div { display: grid; grid-template-columns: 96px 1fr; align-items: center; }
.prov { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-2); border: 1px solid var(--border-2); border-radius: var(--r-1); padding: 1px 7px; white-space: nowrap; }
.prov b { color: var(--text-1); font-weight: 600; }
.sess { font-family: var(--font-mono); font-size: 10.5px; padding: 1px 7px; border-radius: var(--r-1); font-weight: 600; white-space: nowrap; }
.sess-eth { color: #9cc3ff; border: 1px solid rgba(156,195,255,.45); }   /* Globex: blue, solid */
.sess-rth { color: #f0c987; border: 1px dashed rgba(240,201,135,.55); } /* Cash ref: amber, dashed */
.holiday { display: inline-flex; gap: 6px; align-items: center; font-size: 11px; color: var(--text-2); white-space: nowrap; }
table.grid { width: 100%; border-collapse: collapse; font-size: 12px; }
table.grid th { text-align: left; font-weight: 600; color: var(--text-3); font-size: 11px; padding: 5px 12px; position: sticky; top: 0; background: var(--bg-1); border-bottom: 1px solid var(--border-1); }
table.grid td { padding: 5px 12px; border-bottom: 1px solid var(--chart-grid); }
/* Timeline */
.tl { padding: 14px 16px 6px; }
.tl-track { position: relative; overflow: visible; height: 26px; background: var(--bg-2); border-radius: var(--r-1); border: 1px solid var(--border-1); }
.tl-seg { position: absolute; top: 3px; bottom: 3px; border-radius: 2px; overflow: hidden; font-size: 10px; font-family: var(--font-mono); display: flex; align-items: center; padding-left: 6px; white-space: nowrap; }
.tl-seg.covered { background: rgba(143,179,224,.16); border: 1px solid rgba(143,179,224,.4); color: var(--ev-observed); }
.tl-seg.unknown { min-width: 64px; background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(134,138,147,.35) 4px 6px); border: 1px solid var(--ev-unknown); color: var(--text-1); }
.tl-seg.not_loaded { border: 1px dashed var(--border-2); color: var(--text-3); }
.tl-asof { position: absolute; top: -6px; bottom: -6px; width: 0; border-left: 2px solid var(--gold-400); }
.tl-asof span { position: absolute; top: -13px; left: -14px; white-space: nowrap; font-size: 9px; font-family: var(--font-mono); color: var(--gold-200); }
.tl-events { position: relative; height: 22px; }
.tl-ev { position: absolute; top: 4px; transform: translateX(-6px); font-size: 11px; color: var(--chart-event); white-space: nowrap; }
.tl-ev span { margin-left: 3px; font-size: 10px; color: var(--text-2); }
.tl-axis { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-3); font-family: var(--font-mono); }
