/* Local history disclosure: all styling stays inside this component. */
.ttcr-market-history { grid-column: 1 / -1; min-width: 0; max-width: 100%; border-top: 1px solid #d8e3eb; margin-top: 3px; padding-top: 5px; color: #19394e; font-size: 12px; line-height: 1.5; }
.ttcr-market-history *, .ttcr-market-history *::before, .ttcr-market-history *::after { box-sizing: border-box; }
.ttcr-market-history > .ttcr-market-history-summary { display: list-item; width: fit-content; max-width: 100%; margin: 0; padding: 5px 2px; color: #225e83; cursor: pointer; font-size: 12px; font-weight: 650; line-height: 1.5; }
.ttcr-market-history-summary .ttcr-market-history-seasonal-badge { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; margin-inline-start: 4px; padding: 1px 5px; border: 1px solid #e1d1a9; border-radius: 3px; background: #fbf8ef; color: #715017; vertical-align: baseline; font-size: 10px; font-weight: 650; line-height: 1.4; white-space: nowrap; }
.ttcr-market-history-summary .ttcr-market-history-seasonal-dot { display: inline-block; flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: #a67a29; }
.ttcr-market-history summary:focus-visible, .ttcr-market-history button:focus-visible, .ttcr-market-history-chart:focus-visible, .ttcr-market-history-chart-scroll:focus-visible, .ttcr-market-history-table-scroll:focus-visible { outline: 3px solid #986714; outline-offset: 3px; border-radius: 3px; }
.ttcr-market-history-panel { min-width: 0; padding: 9px 0 3px; }
.ttcr-market-history .ttcr-market-history-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ttcr-market-history [hidden] { display: none !important; }
.ttcr-market-history .ttcr-market-history-period { appearance: none; display: inline-flex; justify-content: center; align-items: center; min-height: 36px; min-width: 64px; max-width: 100%; width: auto; margin: 0; padding: 6px 10px; border: 1px solid #b9ccda; border-radius: 4px; box-shadow: none; background: #f2f6f9; color: #22516f; font: inherit; font-size: 12px; font-weight: 650; letter-spacing: 0; line-height: 1.4; text-transform: none; text-decoration: none; cursor: pointer; }
.ttcr-market-history .ttcr-market-history-period:hover { background: #e1edf5; border-color: #225e83; }
.ttcr-market-history .ttcr-market-history-period[aria-pressed="true"] { background: #22516f; color: #fff; border-color: #22516f; }
.ttcr-market-history p.ttcr-market-history-range { margin: 0 0 4px; font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ttcr-market-history p.ttcr-market-history-unit { margin: 0 0 4px; color: #516674; font-size: 11px; overflow-wrap: anywhere; }
.ttcr-market-history-chart-scroll { max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; padding: 4px; border: 1px solid #e0e8ee; border-radius: 4px; background: #fff; }
.ttcr-market-history .ttcr-market-history-chart { display: block; width: 100%; min-width: 420px; max-width: none; height: auto; overflow: visible; color: #225e83; }
.ttcr-market-history-gridline { stroke: #dbe5ec; stroke-width: 1; vector-effect: non-scaling-stroke; }
.ttcr-market-history-axis { fill: #445f71; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 14px; font-weight: 400; font-variant-numeric: tabular-nums; }
.ttcr-market-history-line { stroke: #225e83; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ttcr-market-history-point { fill: #225e83; stroke: #fff; stroke-width: .7; vector-effect: non-scaling-stroke; }
.ttcr-market-history-guide { stroke: #796022; stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; pointer-events: none; }
.ttcr-market-history-focus-point { fill: #b68528; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; pointer-events: none; }
.ttcr-market-history p.ttcr-market-history-tooltip { margin: 7px 0 0; padding: 7px 9px; border-left: 3px solid #b68528; background: #fbf8f0; color: #19394e; font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ttcr-market-history p.ttcr-market-history-note, .ttcr-market-history p.ttcr-market-history-inspect { margin: 8px 0 0; color: #516674; font-size: 11px; line-height: 1.55; }
.ttcr-market-history-values { margin-top: 11px; }
.ttcr-market-history-values > summary { width: fit-content; max-width: 100%; padding: 5px 2px; color: #225e83; cursor: pointer; font-size: 12px; font-weight: 650; }
.ttcr-market-history-table-scroll { max-height: 300px; max-width: 100%; overflow: auto; margin-top: 7px; border: 1px solid #d8e3eb; border-radius: 4px; }
.ttcr-market-history .ttcr-market-history-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; background: #fff; color: #19394e; font: inherit; font-size: 12px; font-variant-numeric: tabular-nums; }
.ttcr-market-history .ttcr-market-history-table th, .ttcr-market-history .ttcr-market-history-table td { padding: 7px 10px; border: 0; border-bottom: 1px solid #e1e9ef; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.ttcr-market-history .ttcr-market-history-table thead th { position: sticky; top: 0; z-index: 1; background: #edf3f7; font-weight: 650; }
.ttcr-market-history .ttcr-market-history-table tbody th { font-weight: 400; white-space: nowrap; }
.ttcr-market-history .ttcr-market-history-table td { text-align: right; }
.ttcr-market-history-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.ttcr-market-history .ttcr-market-comparisons { margin: 12px 0 0; padding: 10px; border: 1px solid #d8e3eb; border-radius: 4px; background: #f4f8fb; min-width: 0; }
.ttcr-market-history .ttcr-market-comparisons-heading { margin: 0 0 3px; color: #19394e; font-size: 12px; line-height: 1.5; }
.ttcr-market-history .ttcr-market-comparisons-anchor { margin: 0 0 8px; color: #516674; font-size: 11px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ttcr-market-comparisons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 10px; min-width: 0; }
.ttcr-market-comparison { min-width: 0; }
.ttcr-market-history .ttcr-market-comparison-label { margin: 0 0 3px; font-size: 11px; font-weight: 650; color: #516674; }
.ttcr-market-history .ttcr-market-comparison-value { margin: 0 0 3px; font-size: 13px; font-weight: 650; color: #19394e; line-height: 1.5; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ttcr-market-history .ttcr-market-comparison-detail { margin: 0 0 4px; color: #516674; font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; }
.ttcr-market-comparison-method { margin-top: 7px; }
.ttcr-market-comparison-method > summary { width: fit-content; max-width: 100%; padding: 5px 2px; font-size: 11px; color: #225e83; cursor: pointer; }
.ttcr-market-history .ttcr-market-comparison-method p { margin: 7px 0; color: #516674; font-size: 11px; line-height: 1.55; }
.ttcr-market-history .ttcr-market-comparison-table { width: 100%; margin: 8px 0 0; border-collapse: collapse; background: #fff; color: #19394e; font-size: 11px; font-variant-numeric: tabular-nums; }
.ttcr-market-history .ttcr-market-comparison-table caption { padding: 5px; text-align: left; font-size: 11px; color: #516674; }
.ttcr-market-history .ttcr-market-comparison-table th, .ttcr-market-history .ttcr-market-comparison-table td { padding: 5px 7px; border: 1px solid #d8e3eb; text-align: left; font-size: 11px; overflow-wrap: anywhere; }
.ttcr-market-history .ttcr-market-comparison-table tbody th { font-weight: 400; }
.ttcr-market-history .ttcr-market-comparison-table td { text-align: right; }
/* Seasonal overlay stays closed until requested and uses the same expanded card. */
.ttcr-market-history .ttcr-market-seasonal { margin-top: 10px; padding-top: 7px; border-top: 1px solid #d8e3eb; min-width: 0; }
.ttcr-market-seasonal > summary, .ttcr-market-seasonal-values > summary { width: fit-content; max-width: 100%; padding: 5px 2px; color: #225e83; cursor: pointer; font-size: 12px; line-height: 1.5; font-weight: 650; }
.ttcr-market-history .ttcr-market-seasonal-legend { display: flex; flex-wrap: wrap; gap: 7px 18px; list-style: none; padding: 0; margin: 9px 0 5px; font-size: 12px; color: #19394e; }
.ttcr-market-seasonal-legend li { display: flex; align-items: center; gap: 6px; padding: 0; margin: 0; list-style: none; }
.ttcr-seasonal-key { display: inline-block; width: 25px; height: 0; border-top: 3px solid #174a70; }
.ttcr-seasonal-key-previous { border-top: 3px dashed #93621c; }
.ttcr-seasonal-key-range { height: 10px; border: 1px solid #9bb8cf; background: #d2e1ed; }
.ttcr-market-seasonal-chart-scroll { max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; padding: 4px; border: 1px solid #d8e3eb; border-radius: 4px; background: #fff; }
.ttcr-market-history .ttcr-market-seasonal-chart { display: block; width: 100%; min-width: 480px; max-width: none; height: auto; overflow: visible; }
.ttcr-market-seasonal-line { stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ttcr-market-seasonal-current { stroke: #174a70; }
.ttcr-market-seasonal-previous { stroke: #93621c; stroke-dasharray: 6 4; }
.ttcr-market-seasonal-point { stroke-width: .5; stroke: #fff; vector-effect: non-scaling-stroke; }
.ttcr-market-seasonal-point.ttcr-market-seasonal-current { fill: #174a70; stroke: #fff; }
.ttcr-market-seasonal-point.ttcr-market-seasonal-previous { fill: #93621c; stroke: #fff; stroke-dasharray: none; }
.ttcr-market-seasonal-band { fill: #d2e1ed; stroke: #9bb8cf; stroke-width: 1; vector-effect: non-scaling-stroke; }
.ttcr-market-seasonal-guide { stroke: #6b4a11; stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; pointer-events: none; }
.ttcr-market-history p.ttcr-market-seasonal-note, .ttcr-market-history p.ttcr-market-seasonal-inspect { margin: 8px 0; color: #516674; font-size: 11px; line-height: 1.55; }
.ttcr-market-history p.ttcr-market-seasonal-tooltip { margin: 8px 0; padding: 8px 10px; border-left: 3px solid #93621c; background: #fbf8f0; color: #19394e; font-size: 12px; line-height: 1.6; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ttcr-market-seasonal-table-scroll { max-width: 100%; max-height: 320px; overflow: auto; margin-top: 6px; border: 1px solid #d8e3eb; border-radius: 4px; }
.ttcr-market-history .ttcr-market-seasonal-table { width: 100%; min-width: 550px; margin: 0; border: 0; border-collapse: collapse; background: #fff; color: #19394e; font: inherit; font-size: 11px; font-variant-numeric: tabular-nums; }
.ttcr-market-history .ttcr-market-seasonal-table caption { text-align: left; padding: 6px 9px; color: #516674; font-size: 11px; }
.ttcr-market-history .ttcr-market-seasonal-table th, .ttcr-market-history .ttcr-market-seasonal-table td { border: 0; border-bottom: 1px solid #e1e9ef; padding: 6px 9px; text-align: left; vertical-align: top; font-size: 11px; overflow-wrap: anywhere; }
.ttcr-market-history .ttcr-market-seasonal-table thead th { position: sticky; top: 0; z-index: 1; background: #edf3f7; font-weight: 650; }
.ttcr-market-history .ttcr-market-seasonal-table tbody th { font-weight: 400; white-space: nowrap; }
.ttcr-market-seasonal-chart:focus-visible, .ttcr-market-seasonal-chart-scroll:focus-visible, .ttcr-market-seasonal-table-scroll:focus-visible { outline: 3px solid #986714; outline-offset: 3px; border-radius: 3px; }
@media (forced-colors: active) {
	.ttcr-market-history-summary .ttcr-market-history-seasonal-badge { border-color: ButtonText; background: Canvas; color: CanvasText; }
	.ttcr-market-history-summary .ttcr-market-history-seasonal-dot { background: CanvasText; }
	.ttcr-market-seasonal-current, .ttcr-market-seasonal-previous, .ttcr-market-seasonal-guide { stroke: CanvasText; }
	.ttcr-market-seasonal-point.ttcr-market-seasonal-current, .ttcr-market-seasonal-point.ttcr-market-seasonal-previous { fill: CanvasText; stroke: Canvas; }
	.ttcr-market-seasonal-band { fill: Canvas; stroke: GrayText; }
	.ttcr-market-history-line, .ttcr-market-history-guide { stroke: CanvasText; }
	.ttcr-market-history-point, .ttcr-market-history-focus-point, .ttcr-market-history-axis { fill: CanvasText; }
	.ttcr-market-history .ttcr-market-history-period[aria-pressed="true"] { border-width: 3px; }
}
@media print {
	.ttcr-market-seasonal-inspect, .ttcr-market-seasonal-tooltip { display: none !important; }
	.ttcr-market-seasonal-chart-scroll, .ttcr-market-seasonal-table-scroll { overflow: visible; max-height: none; }
	.ttcr-market-history .ttcr-market-seasonal-chart, .ttcr-market-history .ttcr-market-seasonal-table { min-width: 0; }
	.ttcr-market-history-toolbar, .ttcr-market-history-inspect, .ttcr-market-history-tooltip { display: none !important; }
	.ttcr-market-history-chart-scroll, .ttcr-market-history-table-scroll { overflow: visible; max-height: none; }
	.ttcr-market-history .ttcr-market-history-chart { min-width: 0; }
}
