.timeline-period { padding: 10px 16px; border: 1px solid #dce6e0; border-radius: 24px; color: #345d49; white-space: nowrap; }
.timeline-scroll { overflow-x: auto; }
.timeline-chart { display: block; width: 100%; }
.timeline-grid { stroke: #e2eae5; stroke-width: 1; }
.timeline-axis { fill: #53665d; font-size: 11px; }
.timeline-year-divider { stroke: #8a9f92; stroke-width: 1.5; }
.timeline-year-label { fill: #244e3d; font-size: 14px; font-weight: 700; }
.timeline-regular { fill: #2f6f56; background: #2f6f56; }
.timeline-cp { fill: #8995cf; background: #8995cf; }
.timeline-legend { display: flex; gap: 20px; font-size: 12px; color: #53665d; }
.timeline-legend { flex-wrap: wrap; }
.timeline-average-line { stroke: #bc3f49; stroke-width: 2.5; stroke-dasharray: 1 6; stroke-linecap: round; }
.timeline-average-label { fill: #a72f3a; font-size: 12px; font-weight: 700; paint-order: stroke; stroke: white; stroke-width: 4px; }
.timeline-legend .timeline-average-key { width: 20px; height: 0; border-top: 3px dotted #bc3f49; border-radius: 0; vertical-align: middle; }
.timeline-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.timeline-provisional rect:not(:first-child) { opacity: .5; }
.timeline-bar { cursor: help; outline: none; }
.timeline-hover-value { opacity: 0; fill: #244e3d; font-size: 12px; font-weight: 700; paint-order: stroke; stroke: white; stroke-width: 4px; }
.timeline-bar:hover .timeline-hover-value, .timeline-bar:focus .timeline-hover-value { opacity: 1; }
.timeline-bar:hover rect:not(:first-child), .timeline-bar:focus rect:not(:first-child) { stroke: #173d2d; stroke-width: 2; }
.timeline-heatmap { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 5px; text-align: center; }
.timeline-heatmap th { font-size: 12px; color: #53665d; padding: 5px; }
.timeline-heat-cell { display: block; padding: 14px 6px; border-radius: 6px; font-size: 12px; font-variant-numeric: tabular-nums; }
.timeline-no-data { color: #9baba1; }
.timeline-heat-legend { display: flex; align-items: center; gap: 5px; margin: 16px 0; color: #53665d; font-size: 11px; }
.timeline-heat-legend span { margin: 0 6px; }
.timeline-heat-legend i { width: 22px; height: 12px; border-radius: 3px; }
.timeline-heat-cell { border: 1px solid #e2eae5; }
.timeline-table td, .timeline-table th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.timeline-details summary { cursor: pointer; font-size: 18px; font-weight: 600; color: #244e3d; }
.timeline-details[open] summary { margin-bottom: 18px; }
.timeline-averages-heading { font-size: 16px; margin: 24px 0 12px; }
.timeline-year-averages { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0; }
.timeline-year-averages > div { padding: 16px; background: #f6faf7; border: 1px solid #dce6e0; border-radius: 10px; }
.timeline-year-averages dt { color: #53665d; font-size: 13px; }
.timeline-year-averages dd { margin: 8px 0; font-size: 22px; font-weight: 700; color: #244e3d; font-variant-numeric: tabular-nums; }
.timeline-year-averages small { font-size: 11px; font-weight: 400; }
.timeline-year-averages p { margin: 0; font-size: 11px; color: #53665d; }
.timeline-year-averages .timeline-year-total { margin-top: 14px; padding-top: 12px; border-top: 1px solid #dce6e0; font-size: 13px; }
.timeline-year-total strong { display: block; margin: 4px 0; color: #244e3d; font-size: 20px; }
.timeline-calendar-year + .timeline-calendar-year { border-top: 1px solid #e2eae5; margin-top: 18px; padding-top: 22px; }
.timeline-calendar-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.timeline-calendar-heading h3 { font-size: 20px; color: #244e3d; margin: 0; }
.timeline-calendar-heading > span { color: #53665d; font-size: 12px; }
.timeline-calendar { --day-size: 16px; --day-gap: 4px; display: grid; grid-template-columns: 34px max-content; grid-template-rows: 20px auto; gap: 5px 8px; width: max-content; padding: 44px 12px 12px; }
.timeline-calendar-months { grid-column: 2; display: grid; grid-template-columns: repeat(var(--calendar-weeks), var(--day-size)); gap: var(--day-gap); font-size: 11px; color: #53665d; }
.timeline-calendar-weekdays { grid-column: 1; display: grid; grid-template-rows: repeat(7, var(--day-size)); gap: var(--day-gap); font-size: 10px; color: #53665d; align-items: center; }
.timeline-calendar-days { grid-column: 2; display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, var(--day-size)); grid-template-columns: repeat(var(--calendar-weeks), var(--day-size)); gap: var(--day-gap); }
.timeline-day { display: block; width: var(--day-size); height: var(--day-size); border: 1px solid #d8e2dc; border-radius: 3px; position: relative; }
.timeline-day[tabindex] { cursor: help; }
.timeline-day-today { border: 2px solid #8995cf; }
.timeline-day-future { background: #fafcfb; border-style: dashed; }
.timeline-day:hover, .timeline-day:focus-visible { outline: 2px solid #244e3d; outline-offset: 2px; z-index: 2; }
.timeline-day[data-tooltip]:hover::after, .timeline-day[data-tooltip]:focus-visible::after { content: attr(data-tooltip); position: absolute; bottom: calc(100% + 8px); left: -6px; width: 210px; white-space: normal; background: #244e3d; color: white; padding: 8px 10px; border-radius: 6px; font-size: 11px; line-height: 1.5; box-shadow: 0 4px 12px #0002; pointer-events: none; }
.timeline-insight-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.timeline-insight-nav a { padding: 9px 14px; border: 1px solid #dce6e0; background: white; border-radius: 24px; color: #345d49; font-size: 12px; text-decoration: none; }
.timeline-insight-nav a:hover { background: #eaf4ee; }
.trading-timeline section[id] { scroll-margin-top: 20px; }
.insight-race { display: block; width: 100%; min-width: 750px; }
.insight-cutoff { stroke: #a75258; stroke-dasharray: 4 5; }
.insight-race-point { opacity: 0; cursor: help; }
.insight-race-point:hover, .insight-race-point:focus { opacity: 1; stroke: white; stroke-width: 2; r: 6; }
.insight-comparisons { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.insight-comparisons > div { border-top: 3px solid; padding: 14px; background: #f6faf7; border-radius: 4px 4px 10px 10px; }
.insight-comparisons span { display: block; color: #53665d; font-size: 12px; }
.insight-comparisons strong { display: block; margin-top: 8px; color: #244e3d; font-size: 24px; }
.insight-comparisons small { font-size: 12px; font-weight: 400; }
.insight-checkout { border-spacing: 4px; border-collapse: separate; min-width: 650px; width: 100%; table-layout: fixed; }
.insight-checkout th { font-size: 11px; color: #53665d; text-align: center; }
.insight-checkout th:first-child { width: 70px; text-align: left; }
.insight-checkout td span { display: block; height: 30px; border: 1px solid #e2eae5; border-radius: 4px; }
.insight-channel-legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 16px 0; font-size: 12px; color: #53665d; }
.insight-channel-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; }
.insight-channel-cp { background: #8995cf; }
.insight-channel-tw { background: #dc995c; }
.insight-channel-direct { background: #2f6f56; }
.insight-channel-other { background: #9cacb6; }
.insight-channel-chart { display: grid; grid-template-columns: repeat(var(--month-count), minmax(22px, 1fr)); gap: 6px; min-width: max(700px, calc(var(--month-count) * 30px)); padding: 10px 0; }
.insight-channel-stack { display: flex; flex-direction: column-reverse; height: 210px; background: #f6faf7; border-radius: 4px; overflow: hidden; }
.insight-channel-stack > span { display: block; flex-shrink: 0; }
.insight-channel-month { display: block; text-align: center; font-size: 10px; color: #53665d; margin-top: 8px; }
.insight-fingerprints { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 20px; }
.insight-fingerprints article { border: 1px solid #dce6e0; border-radius: 12px; padding: 16px; background: #f6faf7; min-width: 0; }
.insight-fingerprints h3 { font-size: 16px; color: #244e3d; }
.insight-fingerprints svg { width: 100%; display: block; }
.insight-fingerprint-line { stroke: #2f6f56; stroke-width: 3; fill: none; stroke-linejoin: round; }
