.overview-price-history { margin: 18px 0; scroll-margin-top: 120px; }
.overview-price-history .card-subtitle { max-width: 760px; }
.overview-price-link { margin: 6px 0 1px; padding-left: 0; }
.price-history-panel { min-width: 0; }
.price-history-toolbar, .price-chart-controls { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 5px 0 12px; }
.price-history-toolbar > span { color: var(--ink-soft); font-size: .72rem; font-weight: 600; }
.price-history-toolbar fieldset { display: flex; gap: 5px; margin: 0; padding: 0; border: 0; }
.price-history-toolbar .button { min-height: 30px; padding: 5px 9px; font-size: .68rem; }
.price-history-chart { width: 100%; height: 228px; min-width: 0; overflow: hidden; }
.price-history-panel[data-chart-height="245"] .price-history-chart { height: 245px; }
.price-history-panel[data-chart-height="260"] .price-history-chart { height: 260px; }
.price-chart-message, .price-chart-crosshair, .price-history-source, .price-history-credit { margin: 8px 0 0; color: var(--ink-muted); font-size: .68rem; line-height: 1.5; }
.price-chart-message:empty { display: none; }
.price-history-source { margin-top: 10px; }
.price-history-credit { font-size: .63rem; }
.price-history-credit a, .market-attribution a { color: var(--ink-soft); text-underline-offset: 3px; }
.price-history-legend { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-top: 10px; }
.price-history-legend span { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: .68rem; }
.price-history-legend span > i { width: 9px; height: 9px; border-radius: 50%; background: var(--price-series); }
.price-history-legend small { color: var(--ink-muted); font-size: .63rem; }
.price-history-legend.single-price-legend span > i { width: 16px; height: 2px; border-radius: 0; }
.price-history-panel [data-price-chart] { border-bottom: 1px solid #edf0f5; }
.price-chart-controls { justify-content: flex-start; align-items: end; margin: 4px 0 12px; }
.price-chart-controls label { display: grid; gap: 5px; color: var(--ink-soft); font-size: .68rem; font-weight: 600; }
.price-chart-controls .field { min-width: 220px; }
.price-chart-controls label + label .field { min-width: 130px; }
.advanced-price-chart { width: 100%; height: 535px; overflow: hidden; border: 1px solid var(--chart-border, #dfe6ef); border-radius: 10px; background: #fff; }
.advanced-price-chart > [data-tradingview-target], .advanced-price-chart .tradingview-widget-container { width: 100%; height: 100%; }
.advanced-price-chart .tradingview-widget-copyright { height: 32px; padding: 7px 10px 0; color: var(--ink-muted); text-align: right; font-size: 10px; }
.advanced-price-chart .tradingview-widget-copyright a { color: var(--ink-soft); text-decoration: none; }
.market-performance { scroll-margin-top: 120px; }
.market-performance .card-subtitle { max-width: 780px; }
.market-performance .market-attribution, .market-performance .market-unavailable { max-width: 850px; margin: 12px 0 0; color: var(--ink-muted); font-size: .68rem; line-height: 1.55; }
.price-forecast-link { display: inline-flex; margin: 10px 0 2px; }
.stock-price-history { border-top: 1px solid var(--line); }
.stock-price-history > p { max-width: 620px; }
.stock-price-history .price-history-toolbar { margin-top: 12px; }
@media (max-width: 690px) {
  .price-history-toolbar, .price-chart-controls { align-items: flex-start; flex-direction: column; }
  .price-chart-controls { width: 100%; }
  .price-chart-controls label, .price-chart-controls .field, .price-chart-controls label + label .field { width: 100%; min-width: 0; }
  .price-history-chart { height: 210px; }
  .price-history-panel[data-chart-height="245"] .price-history-chart { height: 220px; }
  .price-history-panel[data-chart-height="260"] .price-history-chart { height: 230px; }
  .advanced-price-chart { height: 430px; margin-inline: -1px; width: calc(100% + 2px); }
  .price-history-legend { gap: 8px 11px; }
}
