/* Shared quote indicators, research-view tabs, and Technical / News workspaces. */

/* Keep every research tab on one reading grid, independent of its theme. */
body.reading {
  --tr-reader-max-width: 1120px;
  --tr-reader-gutter: clamp(16px, 3.5vw, 44px);
}

/* Secondary views share the stock masthead and the same reader scroll surface. */
body.reading #report-content .tr-technical-tabs {
  box-sizing: border-box;
  width: min(var(--tr-reader-max-width, 1120px), 100%);
  margin: 0 auto;
  padding: 6px var(--tr-reader-gutter, clamp(16px, 3.5vw, 44px));
}
body.reading #report-content .tr-technical-tabs__group {
  display: flex;
  gap: 4px;
  width: 100%;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--tr-reading-line, #293944);
  border-radius: 0;
  background: transparent;
}
body.reading #report-content .tr-technical-tabs button {
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 0;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--tr-reading-muted, #a5b2bd);
  font: var(--tr-type-label-weight, 500) var(--tr-type-meta-size, 12px)/16px var(--tr-type-family, "IBM Plex Sans", system-ui, sans-serif);
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
body.reading #report-content .tr-technical-tabs button:hover {
  background: var(--tr-reading-raised, #16212a);
  color: var(--tr-reading-text, #e5edf2);
}
body.reading #report-content .tr-technical-tabs button[aria-selected="true"] {
  background: linear-gradient(transparent, color-mix(in srgb, var(--tr-reading-accent, #88b9d5) 8%, transparent));
  color: var(--tr-reading-text, #e5edf2);
}
body.reading #report-content .tr-technical-tabs button::after {
  content: '';
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
}
body.reading #report-content .tr-technical-tabs button[aria-selected="true"]::after {
  background: var(--tr-reading-accent, #88b9d5);
}
body.reading #report-content .tr-technical-tab-icon,
body.reading #report-content .tr-technical-tab-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
body.reading #report-content .tr-technical-tabs button:focus-visible {
  outline: 2px solid var(--tr-reading-accent, #88b9d5);
  outline-offset: -3px;
}
@media (max-width: 600px) {
  body.reading #report-content .tr-technical-tabs { padding-block: 6px; }
  body.reading #report-content .tr-technical-tabs__group { gap: 0; }
  body.reading #report-content .tr-technical-tabs button { padding-inline: 8px; }
  body.reading #report-content .tr-technical-tabs button::after { left: 8px; right: 8px; height: 2px; }
}
body.reading #report-content .tr-chart-loading {
  padding: 28px;
  color: var(--tr-reading-muted, #a0aeb8);
  font: 14px/1.5 "IBM Plex Sans", system-ui, sans-serif;
}
/* Technicals already names the view in its navigation. Keep source freshness
   close to the content without another publisher/title/description stack. */
html body.reading #report-content.report-content .tr-tab-header-frame.tr-technical-intro-frame {
  padding-top: 8px;
  padding-bottom: 12px;
}
body.reading #report-content .tr-technical-intro {
  margin: 0;
  padding: 0;
}
body.reading #report-content .tr-technical-intro__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body.reading #report-content .tr-technical-intro .tr-section-header__date {
  margin: 0;
  color: var(--tr-reading-muted, #a0aeb8);
  font: var(--tr-type-body-weight, 400) var(--tr-type-meta-size, 12px)/18px var(--tr-type-family, "IBM Plex Sans", system-ui, sans-serif);
  letter-spacing: 0;
  text-transform: none;
}
/* Keep the inline chart on the same reading grid as its heading and tabs.
   Specificity must also override the chart stylesheet loaded on demand. */
html body.reading.stock-chart-mode #report-content .chart-panel:not(.is-expanded) {
  box-sizing: border-box;
  width: min(var(--tr-reader-max-width, 1120px), 100%);
  margin-inline: auto;
  height: var(--tr-inline-chart-height, max(360px, calc(100dvh - var(--tr-reader-header-height) - 95px)));
  min-height: 360px;
  padding: 0 var(--tr-reader-gutter, clamp(16px, 3.5vw, 44px)) 12px;
  --tr-chart-content-inset: 0px;
}
/* The price chart and company sections are part of the reader canvas.
   Their on-demand stylesheet must not reintroduce a white rectangle or a
   second set of side gutters when the rest of the page uses Light's gray. */
html body.reading.stock-chart-mode #report-content .chart-page {
  --tr-chart-bg: var(--tr-reading-bg, #0b1116);
}
html body.reading.stock-chart-mode #report-content .chart-details {
  --details-bg: var(--tr-reading-bg, #0b1116);
  width: min(var(--tr-reader-max-width, 1120px), 100%);
  max-width: 100%;
  padding-inline: var(--tr-reader-gutter, clamp(16px, 3.5vw, 44px));
}
body.reading.stock-chart-mode #report-content .tr-chart-details-host {
  min-width: 0;
  padding-bottom: 56px;
}
/* Keep one real reader scroll surface as the company sections grow below it. */
body.reading.stock-chart-mode {
  height: 100dvh;
  box-sizing: border-box;
  overflow: hidden !important;
  padding-bottom: 0 !important;
}
html body.reading.technical-mode.stock-chart-mode {
  padding-top: var(--tr-reader-header-height) !important;
}
/* Match the mobile reader: reserve the masthead outside the scrolling area. */
body.reading.stock-chart-mode #player-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
body.reading.stock-chart-mode .container {
  height: calc(100dvh - var(--tr-reader-header-height));
  min-height: 0;
  overflow: hidden;
}
body.reading.stock-chart-mode #player {
  height: 100%;
  min-height: 0;
  overflow-y: auto !important;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}
body.reading.stock-chart-mode #report-content { flex: 0 0 auto; }
/* Chart's iframe already ends above the app footer. Do not subtract that
   footer a second time from the shared floating Back control. */
body.reading.stock-chart-mode #close-btn { bottom: 12px !important; }
body.reading {
  --tr-signal-top: 96px;
  --tr-signal-height: 44px;
  --tr-tabs-top: 148px;
  --tr-tabs-height: 43px;
  --tr-reader-header-height: calc(var(--tr-tabs-top) + var(--tr-tabs-height));
}

/* The masthead stays dark while its gradient and tabs collapse. A legacy
   per-symbol swatch underneath them otherwise flashes during the transition. */
body.reading #player-header {
  background: #000 !important;
}

body.reading:not(.report-header-compact) #player-header {
  min-height: var(--tr-reader-header-height) !important;
}

body.reading:not(.no-audio):not(.report-header-compact) #player-header {
  min-height: calc(var(--tr-reader-header-height) + 42px) !important;
}

body.reading .design-color-block {
  height: var(--tr-tabs-top) !important;
}

/* The compact quote row is 88px. The old timestamp band no longer reserves another 31px. */
body.reading.report-header-compact {
  --tr-reader-header-height: 88px;
}
body.reading.report-header-compact::before {
  height: var(--tr-reader-header-height) !important;
}
body.reading.report-header-compact #player-header {
  min-height: var(--tr-reader-header-height) !important;
}

body.reading .tr-signal-strip {
  position: absolute;
  top: var(--tr-signal-top);
  left: 0;
  z-index: 46;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  height: var(--tr-signal-height);
  padding-top: 0;
  padding-right: max(10px, env(safe-area-inset-right));
  padding-bottom: 0;
  padding-left: max(10px, env(safe-area-inset-left));
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #eef5f6;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  transform: none;
  overflow: visible;
}

/* Keep an active tooltip above the adjacent indicator group. */
body.reading .tr-signal-strip:is(:hover, :focus-within),
body.reading .tr-market-readout:is(:hover, :focus-within) {
  z-index: 48;
}

body.reading .tr-signal-cluster {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
}

body.reading .tr-signal-cluster--ai {
  position: relative;
  padding-left: 20px;
}

/* Keep the group separator inside the indicators, clear of the navigation. */
body.reading .tr-signal-cluster--ai::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 1px;
  background: rgba(126, 197, 199, .24);
  pointer-events: none;
}

body.reading .tr-signal-cluster__label {
  color: #94a9af;
  font: 600 9px/12px "IBM Plex Sans", system-ui, sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
}

body.reading .tr-signal-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.3vw, 16px);
  min-width: 0;
  height: 28px;
}

body.reading .tr-signal {
  position: relative;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--signal-color, #82929e);
  cursor: default;
  font: inherit;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

body.reading .tr-signal:focus-visible {
  outline: none;
}

body.reading .tr-signal:focus-visible .tr-signal__icon {
  border-radius: 2px;
  outline: 2px solid color-mix(in srgb, var(--signal-color, #82929e) 76%, white);
  outline-offset: 1px;
}

body.reading .tr-signal__icon {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
}

body.reading .tr-signal__icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

/* Factor detail stays crisp, matching the seven-factor card sprite. */
body.reading .tr-signal[data-profile-factor] .tr-signal__icon,
body.reading .tr-signal[data-profile-factor] .tr-signal__icon svg {
  width: 18px;
  height: 18px;
  filter: none;
}

body.reading .tr-market-readout {
  position: absolute;
  top: 30px;
  right: 20px;
  z-index: 47;
  display: grid;
  justify-items: start;
  gap: 1px;
  width: 132px;
  height: 54px;
}

body.reading .tr-market-readout > .tr-signal {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  width: auto;
  height: 18px;
  border-radius: 0;
}

body.reading .tr-market-readout .tr-signal__icon,
body.reading .tr-market-readout .tr-signal__icon svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  filter: none;
}

body.reading .tr-signal__reading {
  color: #b1bfc6;
  font: 700 10px/1.2 "IBM Plex Mono", ui-monospace, monospace;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 901px) {
  body.reading:not(.report-header-compact) .track-price__value,
  body.reading:not(.report-header-compact) .track-price__change-group {
    margin-right: 170px;
  }
}

body.reading .tr-signal__tooltip {
  pointer-events: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 7px);
  z-index: 90;
  display: grid;
  gap: 3px;
  width: max-content;
  max-width: min(188px, calc(100vw - 20px));
  padding: 7px 9px 8px;
  border: 1px solid rgba(126, 197, 199, .28);
  border-radius: 6px;
  background: rgba(3, 8, 11, .98);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .44);
  color: #dbe5e8;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 4px);
  transition: opacity 120ms ease, transform 120ms ease, visibility 120ms ease;
}

body.reading .tr-signal__tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-right: 1px solid rgba(126, 197, 199, .28);
  border-bottom: 1px solid rgba(126, 197, 199, .28);
  background: rgba(3, 8, 11, .98);
  transform: translate(-50%, -4px) rotate(45deg);
}

body.reading .tr-signal__tooltip strong {
  color: var(--signal-color, #82929e);
  font-size: .62rem;
  font-variant-numeric: tabular-nums;
  font-weight: 820;
  letter-spacing: .015em;
  white-space: nowrap;
}

body.reading .tr-signal__tooltip > span {
  color: #9eacb2;
  font-size: .55rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
}

body.reading .tr-signal:hover .tr-signal__tooltip,
body.reading .tr-signal:focus .tr-signal__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

body.reading .tr-signal:first-child .tr-signal__tooltip {
  left: 0;
  transform: translateY(4px);
}

body.reading .tr-signal:first-child:hover .tr-signal__tooltip,
body.reading .tr-signal:first-child:focus .tr-signal__tooltip {
  transform: translateY(0);
}

body.reading .tr-signal:first-child .tr-signal__tooltip::after {
  left: 14px;
}

body.reading .tr-signal:last-child .tr-signal__tooltip {
  right: 0;
  left: auto;
  transform: translateY(4px);
}

body.reading .tr-signal:last-child:hover .tr-signal__tooltip,
body.reading .tr-signal:last-child:focus .tr-signal__tooltip {
  transform: translateY(0);
}

body.reading .tr-signal:last-child .tr-signal__tooltip::after {
  right: 14px;
  left: auto;
}

/* Anchor edge tooltips inside the viewport for both dashboard groups. */
body.reading .tr-signal-group--profile > .tr-signal:nth-child(-n+3) .tr-signal__tooltip {
  left: 0;
  transform: translateY(4px);
}
body.reading .tr-signal-group--profile > .tr-signal:nth-child(-n+3):is(:hover, :focus) .tr-signal__tooltip {
  transform: translateY(0);
}
body.reading .tr-signal-group--profile > .tr-signal:nth-child(-n+3) .tr-signal__tooltip::after {
  left: 14px;
}
body.reading .tr-signal-group--ai > .tr-signal .tr-signal__tooltip,
body.reading .tr-market-readout > .tr-signal .tr-signal__tooltip {
  right: 0;
  left: auto;
  transform: translateY(4px);
}
body.reading .tr-signal-group--ai .tr-signal:is(:hover, :focus) .tr-signal__tooltip,
body.reading .tr-market-readout .tr-signal:is(:hover, :focus) .tr-signal__tooltip {
  transform: translateY(0);
}
body.reading .tr-signal-group--ai > .tr-signal .tr-signal__tooltip::after,
body.reading .tr-market-readout > .tr-signal .tr-signal__tooltip::after {
  right: 14px;
  left: auto;
}

@media (min-width: 901px) {
  body.reading .tr-market-readout > .tr-signal .tr-signal__tooltip {
    top: calc(100% + 7px);
    bottom: auto;
  }
  body.reading .tr-market-readout > .tr-signal .tr-signal__tooltip::after {
    top: auto;
    bottom: 100%;
    transform: translate(-50%, 4px) rotate(225deg);
  }
}

body.reading .tr-view-nav-wrap.price-range-line-full {
  position: absolute !important;
  top: calc(var(--tr-tabs-top) - 45px) !important;
  right: 0 !important;
  left: auto !important;
  z-index: 44 !important;
  width: 100vw !important;
  height: var(--tr-tabs-height) !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  transform: none !important;
}

body.reading .tr-view-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  height: 100%;
  border-top: 1px solid rgba(126, 197, 199, .24);
  border-bottom: 1px solid #000;
  background: linear-gradient(175deg, rgba(22, 49, 56, .98), rgba(0, 0, 0, 1));
}

body.reading .tr-view-tab {
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  border-right: 1px solid rgba(0, 0, 0, .78);
  background: transparent;
  color: rgba(235, 242, 243, .68);
  cursor: pointer;
  font: 760 .68rem/1 "IBM Plex Sans", system-ui, sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
}

body.reading .tr-view-tab:last-child { border-right: 0; }

body.reading .tr-view-tab::after {
  content: "";
  position: absolute;
  right: 18%;
  bottom: 0;
  left: 18%;
  height: 2px;
  background: #55cad2;
  box-shadow: 0 0 12px rgba(85, 202, 210, .7);
  opacity: 0;
  transform: scaleX(.55);
  transition: opacity 150ms ease, transform 150ms ease;
}

body.reading .tr-view-tab:hover,
body.reading .tr-view-tab:focus-visible {
  background: rgba(85, 202, 210, .07);
  color: #f4fbfc;
}

body.reading .tr-view-tab:focus-visible {
  outline: 2px solid #55cad2;
  outline-offset: -3px;
}

body.reading .tr-view-tab.is-active {
  background: linear-gradient(180deg, rgba(85, 202, 210, .13), rgba(85, 202, 210, .035));
  color: #fff;
}

body.reading .tr-view-tab.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

body.reading .tr-view-tab__icon {
  display: grid;
  flex: 0 0 24px;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #7ec5c7;
}

body.reading .tr-view-tab__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

/* Keep the legacy metadata node for reader hooks; native audio is its separate sibling. */
body.reading #player-header #audioSection {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.reading #audio-player {
  position: absolute !important;
  top: var(--tr-reader-header-height) !important;
  right: 0;
  left: 0;
  width: 100%;
  height: 40px;
  margin: 0 !important;
}

body.reading #audioSection.tr-technical-asof {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 12px;
}

body.reading #audioSection .tr-asof-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  max-width: 100%;
  overflow: hidden;
  color: #dce9ea;
  font: italic 700 .62rem/1 "IBM Plex Sans", system-ui, sans-serif;
  letter-spacing: .045em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

body.reading #audioSection .tr-asof-icon {
  display: inline-grid;
  flex: 0 0 17px;
  place-items: center;
  width: 17px;
  height: 17px;
  padding: 2px;
  border-radius: 3px;
  background: #000;
  color: #55cad2;
}

body.reading #audioSection .tr-asof-icon svg { width: 12px; height: 12px; }

body.reading.report-header-compact .tr-signal-strip,
body.reading.report-header-compact .tr-market-readout {
  display: none !important;
}

/* Technical overview: descriptive market data, with a consistent reading scale. */
body.reading.technical-mode,
body.reading.technical-mode #player { background: #0b1116 !important; }
/* Header height changes must not be mistaken for an upward user scroll. */
body.reading.technical-mode #player { overflow-anchor: none; }
body.reading.technical-mode::before { display: none !important; }
body.reading.technical-mode #report-content.report-content,
body.reading #report-content.technical-content {
  width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: #0b1116 !important;
  box-shadow: none !important; color: #e5edf2 !important;
  font-family: "IBM Plex Sans", system-ui, sans-serif; line-height: 1.5;
}
.tr-technical-shell {
  --technical-line: #26333d; --technical-muted: #a0aeb8; --technical-accent: #78a8c6;
  width: min(var(--tr-reader-max-width, 1120px), 100%); margin: 0 auto;
  padding: 32px var(--tr-reader-gutter, clamp(16px, 3.5vw, 44px)) 80px;
  color: #e5edf2; font: 14px/1.55 "IBM Plex Sans", system-ui, sans-serif;
}
.tr-technical-shell *, .tr-technical-shell *::before, .tr-technical-shell *::after { box-sizing: border-box; }
.tr-technical-shell h1, .tr-technical-shell h2, .tr-technical-shell h3 {
  margin: 0 !important; color: #edf2f6 !important; font-family: inherit !important;
  font-style: normal !important; font-weight: 600 !important; letter-spacing: -.02em; text-transform: none !important;
}
.tr-technical-shell h1 { font-size: clamp(26px, 2.8vw, 34px) !important; line-height: 1.18 !important; }
.tr-technical-shell h2 { font-size: 21px !important; line-height: 1.3 !important; }
.tr-technical-shell h3 { font-size: 16px !important; line-height: 1.35 !important; letter-spacing: -.01em; }
.tr-technical-shell p { margin: 0; color: var(--technical-muted) !important; font-size: 14px !important; line-height: 1.6 !important; }
.tr-technical-heading { display: block; padding-bottom: 24px; }
.tr-technical-heading > p { margin: 12px 0 0 !important; max-width: 760px; font-size: 15px !important; }
.tr-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--technical-line); }
.tr-metric-card { min-width: 0; padding: 19px 20px; border-right: 1px solid var(--technical-line); }
.tr-metric-card:first-child { padding-left: 0; }
.tr-metric-card:last-child { border-right: 0; }
.tr-metric-card > span, .tr-metric-card > small { display: block; color: var(--technical-muted); font-size: 12px; line-height: 1.4; }
.tr-metric-card > strong { display: block; margin: 7px 0 5px; font-size: clamp(23px, 2.3vw, 28px); line-height: 1.2; font-weight: 600; color: #edf2f6; font-variant-numeric: tabular-nums; }
.tr-metric-card--positive > strong { color: #acd279; }
.tr-metric-card--negative > strong { color: #cf8d87; }
/* Keep both change bases adjacent, below a compact shared price readout. */
.tr-metric-card--latest { display:flex; align-items:baseline; flex-wrap:wrap; gap:5px 12px; padding:0 0 14px; border:0; }
.tr-metric-card--latest > strong { margin:0; }
.tr-metric-card--latest > small { margin-left:auto; }
@media (max-width:640px) {
  .tr-metric-card.tr-metric-card--latest { padding:0 0 14px; border:0; }
  .tr-metric-card--latest > small { flex-basis:100%; margin-left:0; }
}

.tr-technical-section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--technical-line); }
.tr-technical-section.tr-primary-chart { border-top: 0; padding-top: 0; margin-top: 28px; }
.tr-technical-shell .tr-technical-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 18px; }
.tr-technical-shell .tr-technical-section-heading > p { margin: 0 !important; text-align: right; font-size: 13px !important; }
.tr-price-chart, .tr-daily-chart { width: 100%; min-width: 0; box-sizing: border-box; background: #0c141a; border: 1px solid #22323d; border-radius: 4px; scrollbar-color: #506675 #131e27; scrollbar-width: thin; }
.tr-price-chart:focus-visible, .tr-daily-chart:focus-visible { outline: 2px solid var(--technical-accent); outline-offset: 3px; }
.tr-price-chart svg, .tr-daily-chart svg { display: block; width: 100%; min-width: 0; height: auto; }
.tr-chart-grid { stroke: #24343f; stroke-width: 1; }
.tr-chart-axis { fill: #a4b3bd; font: 500 13px/1 "IBM Plex Sans", sans-serif; }
.tr-chart-axis--caption { fill: #b8c5ce; font-weight: 600; }
.tr-candle line { stroke: currentColor; stroke-width: 1.2; }
.tr-candle rect { fill: currentColor; }
.tr-candle--up { color: #acd279; }
.tr-candle--down { color: #cf8d87; }
.tr-volume-bar { opacity: .66; }
.tr-volume-bar--up { fill: #acd279; }
.tr-volume-bar--down { fill: #cf8d87; }
.tr-vwap-line { fill: none; stroke: #a6bbd3; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.tr-daily-line, .tr-pace-line { fill: none; stroke: #78a8c6; stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.tr-sma-line { fill: none; stroke: #c3b68c; stroke-width: 1.6; stroke-dasharray: 5 3; vector-effect: non-scaling-stroke; }
.tr-technical-shell .tr-section-note { margin: 12px 0 0 !important; font-size: 12px !important; }
.tr-section-note strong { color: #bdcbd4; font-weight: 500; font-variant-numeric: tabular-nums; }
.tr-technical-shell { container-type: inline-size; container-name: technical-content; }

.tr-history-stats { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0 0 18px; }
.tr-history-stats div { display: flex; align-items: baseline; gap: 10px; }
.tr-history-stats dt { color: var(--technical-muted); font-size: 12px; }
.tr-history-stats dd { margin: 0; color: #dbe6ed; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.tr-measurement-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tr-measurement { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid var(--technical-line); border-radius: 4px; background: #0e171e; }
.tr-measurement-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.tr-measurement-unit { font-size: 12px; color: var(--technical-muted); }
.tr-measurement-value { display: block; margin: 14px 0 7px; color: #edf2f6; font-weight: 550; font-size: 32px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tr-measurement > p { font-size: 13px !important; }
.tr-pace-chart { margin: 16px 0 8px; }
.tr-pace-chart svg { display: block; width: 100%; height: auto; }
.tr-pace-baseline { stroke: #758992; stroke-width: 1; stroke-dasharray: 4 3; }
.tr-pace-chart .tr-chart-axis { font-size: 11px; }
.tr-technical-shell .tr-measurement-date { display: block; margin: auto 0 0 !important; padding-top: 16px; color: #94a4af !important; font-size: 11px !important; line-height: 1.5 !important; }
.tr-rsi-gauge { position: relative; height: 10px; margin-top: 32px; background: #283741; border-radius: 3px; }
.tr-rsi-band { position: absolute; left: 30%; right: 30%; height: 100%; background: #466172; border-inline: 1px solid #a2b5c1; }
.tr-rsi-gauge > i { position: absolute; top: -5px; width: 2px; height: 20px; background: #eef5f9; box-shadow: 0 0 0 2px #0e171e; }
.tr-gauge-labels { position: relative; height: 17px; color: #a4b3bd; font-size: 11px; margin-top: 7px; }
.tr-gauge-labels > span { position: absolute; transform: translateX(-50%); }
.tr-gauge-labels > span:nth-child(1) { left: 0; transform: none; }
.tr-gauge-labels > span:nth-child(2) { left: 30%; }
.tr-gauge-labels > span:nth-child(3) { left: 50%; }
.tr-gauge-labels > span:nth-child(4) { left: 70%; }
.tr-gauge-labels > span:nth-child(5) { right: 0; transform: none; }
.tr-macd-measurement { margin-top: 26px; }
.tr-macd-measurement .tr-measurement-heading p { margin: 7px 0 0 !important; font-size: 13px !important; }
.tr-macd-directions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.tr-macd-directions > div { min-width: 0; }
.tr-macd-directions dt { color: var(--technical-muted); font-size: 12px; line-height: 1.4; }
.tr-macd-directions dd { margin: 4px 0 0; font-size: 16px; font-weight: 500; line-height: 1.4; }
.tr-macd-table { width: 100%; margin-top: 16px; border-collapse: collapse; table-layout: fixed; text-align: right; font-variant-numeric: tabular-nums; }
.tr-macd-table caption { caption-side: bottom; padding-top: 10px; text-align: left; color: #94a4af; font-size: 12px; }
.tr-macd-table th, .tr-macd-table td { padding: 12px 14px; border-bottom: 1px solid var(--technical-line); font-size: 14px; font-weight: 500; }
.tr-macd-table thead th { background: #121e27; color: #b4c2cb; font-size: 12px; font-weight: 500; }
.tr-macd-table th:first-child { width: 34%; text-align: left; padding-left: 0; }
.tr-macd-table thead th:first-child { padding-left: 14px; }
.tr-macd-table th small { display: block; color: #94a4af; font-size: 11px; font-weight: 400; margin-top: 3px; }
.tr-reference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.tr-reference-grid h3 { margin-bottom: 12px !important; font-size: 14px !important; color: #bdcbd4 !important; }
.tr-reference-grid dl { margin: 0; }
.tr-reference-grid dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--technical-line); }
.tr-reference-grid dt { color: var(--technical-muted); font-size: 13px; }
.tr-reference-grid dd { margin: 0; color: #e1ebf1; font-size: 15px; font-variant-numeric: tabular-nums; }
.tr-technical-methods { margin-top: 34px; border-block: 1px solid var(--technical-line); }
.tr-technical-methods summary { cursor: pointer; padding: 16px 0; font-size: 14px; color: #c2d1db; }
.tr-technical-methods summary:focus-visible { outline: 2px solid var(--technical-accent); outline-offset: 2px; }
.tr-technical-methods dl { margin: 0 0 20px; }
.tr-technical-methods dl > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; padding: 12px 0; }
.tr-technical-methods dt { color: #c2d1db; font-size: 13px; }
.tr-technical-methods dd { margin: 0; color: var(--technical-muted); font-size: 13px; line-height: 1.65; }
.tr-technical-footer { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 20px 52px 0 0; }
.tr-technical-footer > p { max-width: 590px; font-size: 12px !important; }
.tr-research-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; flex-shrink: 0; padding: 9px 12px; border: 1px solid #445d6e; border-radius: 3px; background: transparent; color: #cee3ef; font: 500 13px/1.4 "IBM Plex Sans", sans-serif; cursor: pointer; }
.tr-research-link:hover { background: #172630; }
.tr-research-link:focus-visible { outline: 2px solid var(--technical-accent); outline-offset: 3px; }
.tr-chart-empty, .tr-measurement-empty { display: grid; min-height: 140px; place-items: center; padding: 20px; color: var(--technical-muted); font-size: 13px; background: #0e171e; border: 1px solid var(--technical-line); }
.tr-measurement-empty { min-height: 90px; margin-top: 16px; border: 0; }
.tr-technical-loading { display: flex; justify-content: center; gap: 8px; padding: 90px 0; }
.tr-technical-loading span { width: 7px; height: 7px; border-radius: 50%; background: #78a8c6; animation: trTechnicalPulse 1s ease-in-out infinite; }
.tr-technical-loading span:nth-child(2) { animation-delay: .12s; }
.tr-technical-loading span:nth-child(3) { animation-delay: .24s; }
@keyframes trTechnicalPulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.tr-technical-error { display: grid; gap: 12px; justify-items: center; padding: 50px 12px; text-align: center; color: var(--technical-muted); }
.tr-technical-error strong { color: #dbe6ed; font-size: 18px; }
.tr-technical-error button { padding: 10px 18px; color: #cee3ef; background: #172630; border: 1px solid #445d6e; border-radius: 3px; font: inherit; cursor: pointer; }
@media (max-width: 800px) {
  .tr-technical-shell { padding-top: 24px; }
  .tr-technical-shell .tr-technical-section-heading { display: block; }
  .tr-technical-shell .tr-technical-section-heading > p { margin-top: 6px !important; text-align: left; }
  .tr-metric-card { padding: 16px 12px; }
  .tr-metric-card > strong { font-size: 24px; }
  .tr-history-stats { gap: 8px 20px; }
}
@media (max-width: 640px) {
  .tr-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-metric-card:nth-child(2) { border-right: 0; }
  .tr-metric-card:nth-child(-n+2) { border-bottom: 1px solid var(--technical-line); }
  .tr-metric-card:nth-child(3) { padding-left: 0; }
  .tr-measurement-grid, .tr-reference-grid { grid-template-columns: 1fr; gap: 18px; }
  .tr-technical-methods dl > div { grid-template-columns: 1fr; gap: 5px; }
  .tr-technical-footer { flex-direction: column; padding-right: 0; }
  .tr-measurement { padding: 18px; }
  .tr-macd-table th, .tr-macd-table td { padding: 11px 4px; }
  .tr-macd-table thead th { font-size: 11px; }
  .tr-macd-table thead th:first-child { padding-left: 6px; }
}
@media (prefers-reduced-motion: reduce) { .tr-technical-loading span { animation: none; opacity: .7; } }

@media (max-width: 768px) {
  body.reading:not(.report-header-compact) {
    padding-top: var(--tr-reader-header-height) !important;
  }

  body.reading:not(.no-audio):not(.report-header-compact) {
    padding-top: calc(var(--tr-reader-header-height) + 42px) !important;
  }

  body.reading.stock-profile-mode:not(.report-header-compact),
  body.no-audio.reading.stock-profile-mode:not(.report-header-compact) {
    padding-top: var(--tr-reader-header-height) !important;
  }

  body.reading.report-header-compact,
  body.no-audio.reading.report-header-compact,
  body.reading.report-header-compact.stock-profile-mode,
  body.no-audio.reading.report-header-compact.stock-profile-mode {
    padding-top: var(--tr-reader-header-height) !important;
  }

  body.reading #player {
    padding-top: 0 !important;
  }

  body.reading.stock-profile-mode .stock-profile-readout {
    padding-top: 18px !important;
  }

  body.reading .tr-signal-strip {
    padding-right: max(8px, env(safe-area-inset-right));
    padding-left: max(8px, env(safe-area-inset-left));
  }
  body.reading .tr-view-tab { gap: 6px; padding-inline: 5px; font-size: .61rem; }

}

/* Separate market readings from the quote and score groups at narrower widths. */
@media (max-width: 900px) {
  body.reading:not(.report-header-compact) {
    --tr-signal-top: 132px;
    --tr-signal-height: 44px;
    --tr-tabs-top: 184px;
  }

  body.reading .tr-market-readout {
    top: 95px;
    right: 0;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 26px;
    padding: 0 8px;
  }

  body.reading .tr-market-readout > .tr-signal {
    height: 24px;
  }

  body.reading .tr-signal-strip {
    gap: 12px;
  }

  body.reading .tr-signal-cluster--ai {
    padding-left: 12px;
  }

  body.reading .tr-market-readout > .tr-signal .tr-signal__tooltip {
    right: auto;
    left: 50%;
    transform: translate(-50%, 4px);
  }
  body.reading .tr-market-readout .tr-signal:is(:hover, :focus) .tr-signal__tooltip {
    transform: translate(-50%, 0);
  }
  body.reading .tr-market-readout > .tr-signal .tr-signal__tooltip::after {
    right: auto;
    left: 50%;
  }
  body.reading .tr-market-readout .tr-signal:first-child .tr-signal__tooltip {
    left: 0;
    transform: translateY(4px);
  }
  body.reading .tr-market-readout .tr-signal:first-child:is(:hover, :focus) .tr-signal__tooltip {
    transform: translateY(0);
  }
  body.reading .tr-market-readout .tr-signal:first-child .tr-signal__tooltip::after {
    left: 14px;
  }
  body.reading .tr-market-readout .tr-signal:last-child .tr-signal__tooltip {
    right: 0;
    left: auto;
    transform: translateY(4px);
  }
  body.reading .tr-market-readout .tr-signal:last-child:is(:hover, :focus) .tr-signal__tooltip {
    transform: translateY(0);
  }
  body.reading .tr-market-readout .tr-signal:last-child .tr-signal__tooltip::after {
    right: 14px;
    left: auto;
  }
}

/* Leave the same 8px clearance below the indicator targets on phones. */
@media (max-width: 600px) {
  body.reading:not(.report-header-compact) {
    --tr-signal-top: 124px;
    --tr-tabs-top: 176px;
  }
}

@media (max-width: 380px) {
  body.reading .tr-signal-strip { gap: 10px; }
  body.reading .tr-signal-group { gap: 4px; }
  body.reading .tr-signal-cluster--ai { padding-left: 10px; }
  body.reading .tr-signal-strip .tr-signal { flex-basis: 24px; width: 24px; }
  body.reading .tr-market-readout { gap: 8px; }
  body.reading .tr-signal__reading { font-size: 9px; }
}

@media (max-width: 390px) {
  body.reading.report-header-compact .track-price__change { display: none !important; }
  body.reading.report-header-compact .track-price__change-group { gap: 0 !important; }
  body.reading .tr-signal__icon,
  body.reading .tr-signal__icon svg { width: 16px; height: 16px; }
  body.reading .tr-view-tab { letter-spacing: .035em; }
}

@media (max-width: 350px) {
  body.reading:not(.report-header-compact) #player-header {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  body.reading:not(.report-header-compact) .track-logo-report {
    width: 52px !important;
    height: 52px !important;
    top: -3px !important;
  }

  body.reading:not(.report-header-compact) .symbol-readmode,
  body.reading:not(.report-header-compact) .report-symbol-txt {
    top: -21px !important;
    margin-left: 2px !important;
    font-size: 31px !important;
  }

  body.reading:not(.report-header-compact) .track-price__value {
    margin-right: 12px !important;
    font-size: 1.58rem !important;
  }

  body.reading:not(.report-header-compact) .track-price__change-group,
  body.reading:not(.report-header-compact) .track-price__change,
  body.reading:not(.report-header-compact) .track-price__pct {
    margin-right: 12px !important;
    font-size: .62rem !important;
  }

  body.reading .tr-view-tab { gap: 4px; font-size: .56rem; }
}

@media (prefers-reduced-motion: reduce) {
  body.reading .tr-view-tab::after,
  body.reading .tr-signal__tooltip,
  .tr-technical-loading span { transition: none; animation: none; }
}

/* The report tab uses the same document/play artwork as the report cards. */
body.reading .tr-view-tab[data-workspace-action="report"] .tr-view-tab__icon {
  width:24px; height:24px; flex:0 0 24px;
}
body.reading .tr-view-tab[data-workspace-action="report"] .tr-view-tab__icon > svg {
  width:19px; height:24px;
}

/* Four readable, equal targets on small phones; compact headers continue to hide the tabs. */
@media (max-width: 420px) {
  body.reading:not(.report-header-compact) {
    --tr-tabs-height: 52px;
  }
  body.reading .tr-view-tab {
    flex-direction: column;
    gap: 4px;
    min-height: 52px;
    padding: 4px 2px 5px;
    font-size: 9px;
    line-height: 1;
    letter-spacing: .045em;
  }
  body.reading .tr-view-tab__icon { flex-basis: 24px; }
}

/* Stock-specific news reuses the provider's article markup without importing page-wide news styles. */
body.reading.stock-news-mode,
body.reading.stock-news-mode #player {
  background: var(--tr-reading-bg, #0b1116) !important;
}
body.reading.stock-news-mode #player { overflow-anchor: none; }
body.reading.stock-news-mode::before { display: none !important; }
body.reading.stock-news-mode #report-content.report-content.stock-news-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--tr-reading-bg, #0b1116) !important;
  box-shadow: none !important;
  color: var(--tr-reading-copy, #c6d0d7) !important;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  line-height: 1.55;
}
body.stock-news-mode #report-content .tr-stock-news {
  --technical-line: var(--tr-reading-line, #293944);
  --technical-muted: var(--tr-reading-muted, #a5b2bd);
  --technical-accent: var(--tr-reading-accent, #88b9d5);
  color: var(--tr-reading-copy, #c6d0d7);
}
body.stock-news-mode #report-content .tr-stock-news h1,
body.stock-news-mode #report-content .tr-stock-news .news-headline,
body.stock-news-mode #report-content .tr-stock-news .news-insight h3 {
  color: var(--tr-reading-text, #e5edf2) !important;
}
body.stock-news-mode #report-content .tr-stock-news .tr-technical-heading { padding-bottom: 0; }
body.stock-news-mode #report-content .tr-stock-news > p {
  max-width: 760px;
  margin: 12px 0 0 !important;
  font-size: 15px !important;
}
body.stock-news-mode #report-content .tr-news-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 18px;
}
/* News pagination must override the saved-report disclosure with the same class. */
body.stock-news-mode #report-content .tr-news-controls button,
html body.reading.stock-news-mode #report-content.report-content button.tr-news-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--technical-line);
  border-radius: 4px;
  background: var(--tr-reading-surface, #111a21);
  color: var(--tr-reading-text, #e5edf2);
  font: 500 13px/1.4 "IBM Plex Sans", system-ui, sans-serif;
  cursor: pointer;
  touch-action: manipulation;
}
body.stock-news-mode #report-content .tr-news-controls button:hover,
html body.reading.stock-news-mode #report-content.report-content button.tr-news-more:hover:not(:disabled) {
  border-color: var(--technical-accent);
  background: var(--tr-reading-raised, #16212a);
}
body.stock-news-mode #report-content .tr-stock-news :is(button, a):focus-visible {
  outline: 2px solid var(--technical-accent) !important;
  outline-offset: 3px;
}
body.stock-news-mode #report-content .tr-stock-news button:disabled {
  opacity: .55;
  cursor: wait;
}
body.stock-news-mode #report-content .tr-news-controls svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.stock-news-mode #report-content .tr-stock-news .tr-news-status {
  margin: 0 0 18px !important;
  padding: 12px 14px;
  border: 1px solid var(--technical-line);
  border-left: 2px solid var(--technical-accent);
  border-radius: 3px;
  background: var(--tr-reading-surface, #111a21);
  color: var(--tr-reading-copy, #c6d0d7) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}
body.stock-news-mode #report-content .tr-stock-news .tr-news-status[data-error="true"] {
  border-left-color: var(--tr-reading-negative, #cf8d87);
  color: var(--tr-reading-negative, #cf8d87) !important;
}
body.stock-news-mode #report-content .tr-news-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
body.stock-news-mode #report-content .news-story {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--technical-line);
  border-radius: 4px;
  background: var(--tr-reading-surface, #111a21);
  overflow-wrap: anywhere;
}
body.stock-news-mode #report-content .news-headline {
  font-size: 16px !important;
  line-height: 22px !important;
  font-weight:600;
  letter-spacing: normal;
  text-wrap:pretty;
}
body.stock-news-mode #report-content .news-headline a {
  color: inherit !important;
  text-decoration: none;
}
body.stock-news-mode #report-content .news-headline a:hover {
  color: var(--technical-accent) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.stock-news-mode #report-content .news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin: 12px 0 0;
  color: var(--technical-muted);
  font-size: 11px;
  line-height: 1.5;
}
body.stock-news-mode #report-content .news-source { font-weight: 600; }
body.stock-news-mode #report-content .news-tone {
  padding: 3px 6px;
  border: 1px solid var(--technical-line);
  border-radius: 3px;
  background: var(--tr-reading-raised, #16212a);
  color: var(--technical-muted);
  font-size: 10px;
  line-height: 1.4;
}
body.stock-news-mode #report-content .news-tone[data-tone="positive"] { color: var(--tr-reading-positive, #acd279); }
body.stock-news-mode #report-content .news-tone[data-tone="negative"] { color: var(--tr-reading-negative, #cf8d87); }
body.stock-news-mode #report-content .news-tone[data-tone="neutral"] { color: var(--tr-reading-neutral, #d5bf7b); }
body.stock-news-mode #report-content .tr-stock-news p.news-byline {
  margin: 8px 0 0 !important;
  color: var(--technical-muted) !important;
  font-size: 11px !important;
}
body.stock-news-mode #report-content .tr-stock-news p.news-summary {
  margin: 12px 0 0 !important;
  color: var(--tr-reading-copy, #c6d0d7) !important;
  font-size: 14px !important;
  line-height: 21px !important;
  white-space: pre-line;
}
body.stock-news-mode #report-content .news-insight {
  margin-top: 8px;
  padding: 0;
  border:0;
  border-block:1px solid var(--technical-line);
  background:transparent;
}
body.stock-news-mode #report-content .tr-stock-news .news-insight h3 {
  margin: 0 0 6px !important;
  color: var(--technical-accent) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  letter-spacing: 0;
}
body.stock-news-mode #report-content .tr-stock-news .news-insight p {
  margin: 0 !important;
  color: var(--tr-reading-copy, #c6d0d7) !important;
  padding:0 0 12px;
  font-size: 12px !important;
  line-height: 18px !important;
  white-space: pre-line;
}
body.stock-news-mode #report-content .news-story-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid var(--technical-line);
}
body.stock-news-mode #report-content .news-tickers { display: flex; flex-wrap: wrap; gap: 4px 8px; }
body.stock-news-mode #report-content .news-tickers a,
body.stock-news-mode #report-content .news-original {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-underline-offset: 3px;
}
body.stock-news-mode #report-content .news-tickers a { padding: 4px; color: var(--tr-reading-teal, #80bdad); }
body.stock-news-mode #report-content .news-original { gap: 7px; color: var(--technical-accent); text-decoration: none; }
body.stock-news-mode #report-content .news-original:hover { text-decoration: underline; }
body.stock-news-mode #report-content button.tr-news-more { margin-top: 24px; }
body.stock-news-mode #report-content .news-muted { color: var(--technical-muted); }
body.stock-news-mode #report-content .tr-stock-news .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body.stock-news-mode #report-content .tr-stock-news [hidden],
body.stock-news-mode #report-content .tr-news-status:empty { display: none !important; }
/* Article columns follow the reading area, including embedded/narrow panes. */
body.stock-news-mode #report-content .tr-stock-news { container-type: inline-size; container-name: stock-news; }
@container stock-news (min-width: 780px) {
  body.stock-news-mode #report-content .tr-news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  body.stock-news-mode #report-content .news-story { padding: 14px; }
  body.stock-news-mode #report-content .news-headline { font-size: 16px !important; }
}
@media print {
  body.stock-news-mode {
    --tr-reading-bg: #fff;
    --tr-reading-surface: #fff;
    --tr-reading-raised: #f1f3f3;
    --tr-reading-text: #18221f;
    --tr-reading-copy: #293a3e;
    --tr-reading-muted: #47585c;
    --tr-reading-line: #aab8b9;
    --tr-reading-accent: #235f7d;
    --tr-reading-teal: #20615b;
    --tr-reading-positive: #38612d;
    --tr-reading-negative: #894239;
    --tr-reading-neutral: #75571c;
  }
  body.stock-news-mode #report-content .tr-news-controls,
  body.stock-news-mode #report-content button.tr-news-more { display: none; }
  body.stock-news-mode #report-content .tr-news-list { display: block; }
  body.stock-news-mode #report-content .news-story { break-inside: avoid; margin-bottom: 18px; }
}

/* A shared content label connects all four views without repeating a large page title. */
body.reading #report-content.report-content .tr-view-superhead {
  margin: 0 0 4px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: var(--tr-reading-accent, #88b9d5) !important;
  color: color-mix(in srgb, var(--tr-reading-accent, #88b9d5) 70%, var(--tr-reading-muted, #a5b2bd)) !important;
  font: normal 650 11px/1.4 "IBM Plex Sans", system-ui, sans-serif !important;
  letter-spacing: .085em !important;
  text-transform: uppercase !important;
  text-align: left !important;
}
body.reading #report-content.report-content .tr-view-superhead + :is(h1, h2, p) {
  margin-top: 0 !important;
}
body.reading #report-content.report-content .tr-view-heading {
  margin: 0 0 12px !important;
  padding: 0 !important;
}
body.reading #report-content.report-content .tr-view-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  max-width: 100%;
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: var(--tr-reading-muted, #a5b2bd) !important;
  font: normal 400 11px/1.5 "IBM Plex Sans", system-ui, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
body.reading #report-content.report-content .tr-view-heading .tr-view-meta {
  margin-bottom: 0 !important;
}
body.reading #report-content.report-content .tr-view-meta + p {
  margin-top: 0 !important;
}
body.reading #report-content.tr-report-has-superhead :is(.tr-report-v4__brand, .tr-report-kicker) {
  display: none !important;
}
body.stock-news-mode #report-content .tr-stock-news .tr-news-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  margin: 0 0 16px;
  padding: 0;
}
body.reading.stock-news-mode #report-content.report-content .tr-news-heading .tr-view-superhead {
  min-width: 0;
  margin: 0 !important;
}
body.stock-news-mode #report-content .tr-stock-news button.tr-news-refresh {
  appearance: none;
  display: inline-grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  color: var(--technical-muted);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
body.stock-news-mode #report-content .tr-stock-news button.tr-news-refresh:hover:not(:disabled) {
  background: var(--tr-reading-raised, #16212a);
  color: var(--technical-accent);
}
body.stock-news-mode #report-content .tr-stock-news button.tr-news-refresh:focus-visible {
  outline: 2px solid var(--technical-accent) !important;
  outline-offset: -2px;
}
body.stock-news-mode #report-content .tr-stock-news button.tr-news-refresh > svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: center;
}
body.stock-news-mode #report-content .tr-stock-news button.tr-news-refresh[aria-busy="true"] > svg {
  animation: trNewsRefreshSpin .9s linear infinite;
}
@keyframes trNewsRefreshSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  body.stock-news-mode #report-content .tr-stock-news button.tr-news-refresh[aria-busy="true"] > svg { animation: none; }
}
@media print {
  body.stock-news-mode #report-content .tr-stock-news button.tr-news-refresh { display: none; }
}

/* Pointer-origin focus survives tab replacement without a keyboard outline.
   Keyboard input and frame re-entry restore the normal :focus-visible cue. */
html[data-tr-workspace-input="pointer"] body.reading .tr-view-tab:focus-visible,
html[data-tr-workspace-input="pointer"] body.reading #report-content .tr-technical-tabs button:focus-visible {
  outline: none;
}

/* General policy access belongs at the end of the reader, in normal flow.
   Contextual notices inside each tab retain their own placement and wording. */
html body.reading #report-content > .tr-reader-legal-footer {
  box-sizing: border-box;
  position: static;
  width: min(var(--tr-reader-max-width, 1120px), 100%);
  margin: 0 auto;
  padding: 0 var(--tr-reader-gutter, clamp(16px, 3.5vw, 44px)) 32px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}
html body.reading #report-content > .tr-reader-legal-footer .tr-reader-legal-footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  color: var(--tr-reading-muted, #a0aeb8) !important;
  font: 400 var(--tr-type-meta-size, 12px)/1.5 var(--tr-type-family, "IBM Plex Sans", system-ui, sans-serif) !important;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
html body.reading #report-content > .tr-reader-legal-footer .tr-reader-legal-footer__link:hover {
  color: var(--tr-reading-accent, #93bbd0) !important;
}
html body.reading #report-content > .tr-reader-legal-footer .tr-reader-legal-footer__link:focus-visible {
  outline: 2px solid var(--tr-reading-accent, #93bbd0) !important;
  outline-offset: 3px;
}
html body.reading #report-content > .tr-reader-legal-footer .tr-reader-legal-footer__news-note {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: var(--tr-reading-muted, #a0aeb8) !important;
  font: 400 var(--tr-type-meta-size, 12px)/1.5 var(--tr-type-family, "IBM Plex Sans", system-ui, sans-serif) !important;
  letter-spacing: 0;
  text-transform: none;
}
html body.reading #report-content > .tr-reader-legal-footer .tr-reader-legal-footer__news-note[hidden] { display: none !important; }

/* Replace the former terminal clearance with space for the in-flow link. */
html body.reading.stock-profile-mode #report-content.tr-reader-has-legal-footer > .stock-profile-readout,
html body.reading #report-content.tr-reader-has-legal-footer > .tr-stock-news,
html body.reading #report-content.tr-reader-has-legal-footer > #tr-technical-panel > .tr-technical-shell,
html body.reading.stock-chart-mode #report-content.tr-reader-has-legal-footer .tr-chart-details-host {
  padding-bottom: 24px !important;
}
/* The saved Report's container already supplies the shared reading-grid inset. */
html body.reading:not(.stock-profile-mode):not(.technical-mode) #report-content.tr-reader-has-legal-footer {
  padding-bottom: 32px !important;
}
html body.reading:not(.stock-profile-mode):not(.technical-mode) #report-content > .tr-reader-legal-footer {
  width: 100%;
  margin-top: 16px;
  padding: 0;
}

/* Manual disclosure of complete provider copy, shared with the main News feed. */
body.stock-news-mode #report-content .news-summary.is-collapsed {
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden;
}
body.stock-news-mode #report-content .news-summary-toggle {
  display:inline-flex; align-items:center; min-height:44px; padding:4px 0; border:0; background:transparent;
  color:var(--technical-accent); font:500 12px/16px "IBM Plex Sans",system-ui,sans-serif;
  text-decoration:underline; text-underline-offset:3px; cursor:pointer;
}
body.stock-news-mode #report-content .news-insight > summary {
  display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px;
  color:var(--technical-muted); font:500 12px/16px "IBM Plex Sans",system-ui,sans-serif; cursor:pointer; list-style:none;
}
body.stock-news-mode #report-content .news-insight > summary::-webkit-details-marker { display:none; }
body.stock-news-mode #report-content .news-insight > summary svg { width:14px; height:14px; flex:none; }
body.stock-news-mode #report-content .news-insight[open] > summary svg { transform:rotate(180deg); }
body.stock-news-mode #report-content .news-insight > summary:focus-visible { outline:2px solid var(--technical-accent); outline-offset:2px; }
@media print {
  body.stock-news-mode #report-content .news-summary.is-collapsed { display:block; overflow:visible; }
  body.stock-news-mode #report-content .news-summary-toggle { display:none; }
  body.stock-news-mode #report-content .news-insight:not([open]) > p { display:block; }
}

/* Technicals reading hierarchy: current readings, then historical context.
   Chart rendering and its controls retain their existing styles. */
html body.reading #report-content.technical-content #tr-technical-panel > .tr-technical-shell {
  padding-top: 0;
}
html body.reading #report-content.technical-content .tr-session-summary {
  overflow: hidden;
  border: 1px solid var(--technical-line);
  border-radius: 8px;
  background: var(--tr-reading-surface, #111a21);
}
html body.reading #report-content.technical-content .tr-session-summary-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 20px;
}
html body.reading #report-content.technical-content .tr-metric-card--latest {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 4px 12px;
  padding: 0;
  border: 0;
  flex-shrink: 0;
}
html body.reading #report-content.technical-content .tr-metric-card--latest > strong { margin: 0; }
html body.reading #report-content.technical-content .tr-metric-card--latest > small { grid-column: 1 / -1; margin: 0; }
html body.reading #report-content.technical-content .tr-session-summary-heading .tr-technical-observation {
  max-width: 44ch;
  margin: 0 !important;
  font-size: var(--tr-type-meta-size, 12px) !important;
  line-height: 1.5 !important;
}
html body.reading #report-content.technical-content .tr-metric-grid {
  border-bottom: 0;
  background: var(--tr-reading-bg, #0b1116);
}
html body.reading #report-content.technical-content .tr-metric-grid .tr-metric-card { padding: 16px 20px; }
html body.reading #report-content.technical-content .tr-metric-card > span,
html body.reading #report-content.technical-content .tr-metric-card > small {
  font-size: var(--tr-type-meta-size, 12px);
  line-height: 18px;
}
html body.reading #report-content.technical-content .tr-metric-card > small { margin-top: 6px; }
html body.reading #report-content.technical-content .tr-metric-card > strong { font-variant-numeric: tabular-nums lining-nums; }
html body.reading #report-content.technical-content .tr-indicator-section {
  margin-top: 28px;
  padding-top: 0;
  border-top: 0;
}
html body.reading #report-content.technical-content .tr-technical-section-heading { margin-bottom: 16px; }
html body.reading #report-content.technical-content .tr-technical-section-heading > p {
  font-size: var(--tr-type-meta-size, 12px) !important;
  line-height: 18px !important;
}
html body.reading #report-content.technical-content .tr-measurement-grid { gap: 16px; }
html body.reading #report-content.technical-content .tr-measurement {
  padding: 20px;
  border-radius: 8px;
  background: var(--tr-reading-surface, #111a21);
}
html body.reading #report-content.technical-content .tr-measurement-heading { align-items: center; }
html body.reading #report-content.technical-content .tr-measurement > p,
html body.reading #report-content.technical-content .tr-macd-measurement .tr-measurement-heading p {
  font-size: var(--tr-type-body-size, 14px) !important;
  line-height: 1.5 !important;
}
html body.reading #report-content.technical-content .tr-measurement p.tr-measurement-context {
  margin-top: 8px;
  font-size: var(--tr-type-meta-size, 12px) !important;
  line-height: 18px !important;
}
html body.reading #report-content.technical-content .tr-measurement-value { margin: 16px 0 8px; }
html body.reading #report-content.technical-content .tr-measurement-date {
  margin-top: auto !important;
  padding-top: 12px;
  font-size: var(--tr-type-meta-size, 12px) !important;
  line-height: 18px !important;
}
html body.reading #report-content.technical-content .tr-macd-measurement { margin-top: 16px; }
html body.reading #report-content.technical-content .tr-macd-directions {
  gap: 0;
  margin: 18px 0 0;
  padding: 12px 0;
  border-block: 1px solid var(--technical-line);
}
html body.reading #report-content.technical-content .tr-macd-directions > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--technical-line);
}
html body.reading #report-content.technical-content .tr-macd-table { margin-top: 16px; }
html body.reading #report-content.technical-content .tr-macd-table abbr[title] { text-decoration: none; cursor: help; }
html body.reading #report-content.technical-content .tr-macd-table thead th {
  padding: 10px 12px;
  color: var(--tr-reading-muted, #a5b2bd);
  background: var(--tr-reading-raised, #16212a);
  font-size: var(--tr-type-meta-size, 12px);
}
html body.reading #report-content.technical-content .tr-macd-table tbody :is(th,td) {
  padding: 12px;
  font-size: var(--tr-type-body-size, 14px);
}
html body.reading #report-content.technical-content .tr-macd-table tbody th { font-weight: 400; }
html body.reading #report-content.technical-content .tr-macd-table th:first-child { width: 36%; }
html body.reading #report-content.technical-content .tr-history-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 16px 0;
  border-block: 1px solid var(--technical-line);
}
html body.reading #report-content.technical-content .tr-history-stats > div { display: grid; gap: 6px; padding: 0 16px; }
html body.reading #report-content.technical-content .tr-history-stats > div:first-child { padding-left: 0; }
html body.reading #report-content.technical-content .tr-history-stats > div + div { border-left: 1px solid var(--technical-line); }
html body.reading #report-content.technical-content .tr-history-stats dd { font-size: 20px; line-height: 26px; }
html body.reading #report-content.technical-content .tr-reference-grid { gap: 16px; }
html body.reading #report-content.technical-content .tr-reference-grid > article {
  padding: 20px;
  border: 1px solid var(--technical-line);
  border-radius: 8px;
  background: var(--tr-reading-surface, #111a21);
}
html body.reading #report-content.technical-content .tr-reference-grid h3 {
  font-size: var(--tr-type-subsection-size, 16px) !important;
  min-height: 44px;
}
html body.reading #report-content.technical-content .tr-reference-grid dt { font-size: var(--tr-type-meta-size, 12px); }
html body.reading #report-content.technical-content .tr-reference-grid dd { font-size: var(--tr-type-body-size, 14px); font-weight: 500; }
html body.reading #report-content.technical-content .tr-technical-methods summary { min-height: 44px; }
@media (max-width: 700px) {
  html body.reading #report-content.technical-content .tr-session-summary-heading { display: block; padding: 16px; }
  html body.reading #report-content.technical-content .tr-session-summary-heading .tr-technical-observation { margin-top: 12px !important; max-width: none; }
  html body.reading #report-content.technical-content .tr-metric-grid .tr-metric-card { padding: 16px; }
}
@media (max-width: 400px) {
  html body.reading #report-content.technical-content .tr-metric-grid .tr-metric-card { padding: 14px 12px; }
  html body.reading #report-content.technical-content .tr-metric-grid .tr-metric-card > strong { font-size: 22px; white-space: nowrap; }
  html body.reading #report-content.technical-content .tr-measurement,
  html body.reading #report-content.technical-content .tr-reference-grid > article { padding: 16px; }
  html body.reading #report-content.technical-content .tr-macd-table thead th,
  html body.reading #report-content.technical-content .tr-macd-table tbody :is(th,td) { padding: 10px 4px; }
  html body.reading #report-content.technical-content .tr-macd-table th:first-child { width: 34%; }
  html body.reading #report-content.technical-content .tr-history-stats { grid-template-columns: 1fr; gap: 12px; }
  html body.reading #report-content.technical-content .tr-history-stats > div { display: flex; justify-content: space-between; align-items: baseline; padding: 0; }
  html body.reading #report-content.technical-content .tr-history-stats > div + div { border-left: 0; }
  html body.reading #report-content.technical-content .tr-reference-grid h3 { min-height: 0; }
}
@media (max-width: 360px) {
  html body.reading #report-content.technical-content .tr-metric-grid .tr-metric-card > strong { font-size: 20px; }
}

/* Profile and Report share a quiet section rail with explicit overflow controls. */
html body.reading #report-content > .tr-reader-section-nav-slot > .tr-reader-section-nav {
  box-sizing: border-box;
  position: relative;
  top: auto;
  z-index: 30;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 6px var(--tr-reader-gutter, clamp(16px, 3.5vw, 44px));
  background: var(--tr-reading-bg, #0b1116);
}
html body.reading #report-content .tr-reader-section-nav__toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border-bottom: 1px solid var(--tr-reading-line, #293944);
}
html body.reading #report-content .tr-reader-section-nav__scroll {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
}
html body.reading #report-content .tr-reader-section-nav__links {
  box-sizing: border-box;
  display: flex;
  flex: 1 1 auto;
  gap: 4px;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html body.reading #report-content .tr-reader-section-nav__links::-webkit-scrollbar { display: none; }
html body.reading #report-content .tr-reader-section-nav__links > a,
html body.reading #report-content .tr-reader-section-nav__all-links > a,
html body.reading #report-content .tr-reader-section-nav button {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--tr-reading-muted, #a5b2bd) !important;
  font: var(--tr-type-label-weight, 500) var(--tr-type-meta-size, 12px)/16px var(--tr-type-family, "IBM Plex Sans", system-ui, sans-serif) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  box-shadow: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
html body.reading #report-content .tr-reader-section-nav__links > a {
  position: relative;
  padding: 0 12px;
  white-space: nowrap;
}
html body.reading #report-content .tr-reader-section-nav__links > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
}
html body.reading #report-content .tr-reader-section-nav__links > a[aria-current="location"] {
  color: var(--tr-reading-text, #e5edf2) !important;
  background: linear-gradient(transparent, color-mix(in srgb, var(--tr-reading-accent, #88b9d5) 8%, transparent));
}
html body.reading #report-content .tr-reader-section-nav__links > a[aria-current="location"]::after {
  background: var(--tr-reading-accent, #88b9d5);
}
html body.reading #report-content .tr-reader-section-nav__links > a:hover,
html body.reading #report-content .tr-reader-section-nav button:hover:not(:disabled),
html body.reading #report-content .tr-reader-section-nav__all-links > a:hover {
  background: var(--tr-reading-raised, #16212a);
  color: var(--tr-reading-text, #e5edf2) !important;
}
html body.reading #report-content .tr-reader-section-nav :is(a, button):focus-visible {
  outline: 2px solid var(--tr-reading-accent, #88b9d5);
  outline-offset: -3px;
}
html body.reading #report-content .tr-reader-section-nav button.tr-reader-section-nav__arrow {
  width: 44px;
  height: 44px;
  padding: 0;
}
html body.reading #report-content .tr-reader-section-nav button.tr-reader-section-nav__arrow:disabled {
  opacity: .3;
  cursor: default;
}
html body.reading #report-content .tr-reader-section-nav__toggle {
  gap: 8px;
  padding: 0 10px;
  position: relative;
  isolation: isolate;
  border: 0 !important;
  color: var(--tr-reading-text, #e5edf2) !important;
}
/* A 32px control face inside the unchanged 44px interaction target. */
html body.reading #report-content .tr-reader-section-nav__toggle::before {
  content: '';
  position: absolute;
  inset: 6px 0;
  z-index: -1;
  border: 1px solid var(--tr-reading-line, #293944);
  border-radius: 6px;
  background: var(--tr-reading-surface, #111a21);
  pointer-events: none;
}
html body.reading #report-content .tr-reader-section-nav button.tr-reader-section-nav__toggle:is(:hover, [aria-expanded="true"]) {
  background: transparent;
}
html body.reading #report-content .tr-reader-section-nav__toggle:is(:hover, [aria-expanded="true"])::before {
  background: var(--tr-reading-raised, #16212a);
  border-color: var(--tr-reading-accent, #88b9d5);
}
html body.reading #report-content .tr-reader-section-nav button svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html body.reading #report-content .tr-reader-section-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
html body.reading #report-content .tr-reader-section-nav__menu {
  box-sizing: border-box;
  position: fixed;
  z-index: 32;
  width: min(320px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  padding: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--tr-reading-line, #293944);
  border-radius: 12px;
  background: var(--tr-reading-surface, #111a21);
  box-shadow: 0 12px 32px #0003;
}
html body.reading #report-content .tr-reader-section-nav .tr-reader-section-nav__caption {
  margin: 0;
  padding: 8px 12px;
  color: var(--tr-reading-muted, #a5b2bd);
  font: var(--tr-type-label-weight, 500) var(--tr-type-meta-size, 12px)/16px var(--tr-type-family, "IBM Plex Sans", system-ui, sans-serif);
  letter-spacing: 0;
  text-transform: none;
}
html body.reading #report-content .tr-reader-section-nav__all-links { display: grid; }
html body.reading #report-content .tr-reader-section-nav__all-links > a {
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  white-space: normal;
  text-align: left;
  font-size: var(--tr-type-body-size, 14px) !important;
  line-height: 20px !important;
}
html body.reading #report-content .tr-reader-section-nav__all-links > a::after {
  content: '';
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: transparent;
}
html body.reading #report-content .tr-reader-section-nav__all-links > a[aria-current="location"] {
  color: var(--tr-reading-text, #e5edf2) !important;
  background: var(--tr-reading-raised, #16212a);
}
html body.reading #report-content .tr-reader-section-nav__all-links > a[aria-current="location"]::after {
  background: var(--tr-reading-accent, #88b9d5);
}
html body.reading #report-content .tr-reader-section-nav [hidden] { display: none !important; }
/* Reports already supply the shared side gutters; Profile supplies them below. */
html body.reading:not(.stock-profile-mode):not(.technical-mode) #report-content.report-content.tr-report-has-section-header:has(> .tr-reader-section-nav-slot) { padding-top: 0 !important; }
html body.reading:not(.stock-profile-mode):not(.technical-mode) #report-content > .tr-reader-section-nav-slot > .tr-reader-section-nav { padding-inline: 0; }
html body.reading.stock-profile-mode #report-content > .tr-reader-section-nav-slot + .stock-profile-readout { padding-top: 12px !important; }
html body.reading #report-content > .tr-reader-section-nav-slot {
  box-sizing: border-box;
  width: min(var(--tr-reader-max-width, 1120px), 100%);
  max-width: 100%;
  margin: 0 auto;
}
html body.reading #report-content > .tr-reader-section-nav-slot > .tr-reader-section-nav.is-pinned {
  position: fixed;
  top: var(--tr-section-nav-top, 0px);
  left: var(--tr-section-nav-left, 0px);
  width: var(--tr-section-nav-width, 100%);
  max-width: none;
}
html body.reading:not(.stock-profile-mode) #report-content > .tr-reader-section-nav-slot { margin-bottom: 12px; }
@media (max-width: 600px) {
  html body.reading #report-content > .tr-reader-section-nav-slot > .tr-reader-section-nav { padding-block: 6px; }
  html body.reading #report-content .tr-reader-section-nav__toolbar { gap: 4px; }
  html body.reading #report-content .tr-reader-section-nav button.tr-reader-section-nav__arrow { display: none; }
  html body.reading #report-content .tr-reader-section-nav__links { gap: 0; }
  html body.reading #report-content .tr-reader-section-nav__links > a { padding-inline: 8px; }
  html body.reading #report-content .tr-reader-section-nav__links > a::after { left: 8px; right: 8px; height: 2px; }
  html body.reading #report-content .tr-reader-section-nav__toggle { gap: 4px; padding-inline: 8px; }
  html body.reading #report-content .tr-reader-section-nav button.tr-reader-section-nav__toggle svg { width: 14px; height: 14px; }
}
@media print {
  html body.reading #report-content > .tr-reader-section-nav-slot { display: none; }
}

/* Keep explanatory labels outside the scaled volume trace. */
body.reading #report-content .tr-pace-chart__captions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  color: var(--technical-muted);
}

@media print {
  .tr-price-chart svg, .tr-daily-chart svg { min-width: 0; }
  .tr-chart-scroll-note { display: none; }
}

/* Indicators redraw to their content width; legends retain readable HTML text. */
.tr-indicator-plot { min-width: 0; width: 100%; }
.tr-indicator-chart-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 12px 0; color: var(--technical-muted); }
.tr-indicator-chart-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.tr-indicator-chart-legend svg { flex: 0 0 24px; width: 24px; height: 8px; }

/* The masthead and selected News tab already establish company and scope. */
html body.reading.stock-news-mode #report-content.report-content .tr-stock-news { padding-top: 6px; }
html body.reading.stock-news-mode #report-content .tr-news-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; margin:0 0 12px; padding:0; border:0; background:transparent; }
html body.reading.stock-news-mode #report-content .tr-news-feed-meta { display:flex; flex-wrap:wrap; gap:4px 12px; color:var(--tr-reading-muted,#a0aeb8); font:400 var(--tr-type-meta-size,12px)/16px var(--tr-type-family,"IBM Plex Sans",system-ui,sans-serif); }
html body.reading.stock-news-mode #report-content .tr-news-toolbar button.tr-news-refresh { display:flex; align-items:center; justify-content:center; gap:6px; flex:0 0 auto; width:auto; min-width:44px; font:500 var(--tr-type-meta-size,12px)/16px var(--tr-type-family,"IBM Plex Sans",system-ui,sans-serif); }
html body.reading.stock-news-mode #report-content .tr-news-toolbar button.tr-news-refresh svg { width:16px; height:16px; }
@media(max-width:600px) { html body.reading.stock-news-mode #report-content .tr-news-toolbar button.tr-news-refresh { width:44px; } html body.reading.stock-news-mode #report-content .tr-news-toolbar button.tr-news-refresh span { display:none; } }


/* The primary tabs, section band and detail band form one navigation stack.
   Only paint bleeds to the measured reader edges; controls keep the reading
   grid and the existing fixed-position slots retain their jump geometry. */
@media screen {
  html body.reading {
    --tr-nav-section-bg: color-mix(in srgb, var(--tr-reading-accent, #88b9d5) 18%, var(--tr-reading-bg, #0b1116));
    --tr-nav-detail-bg: color-mix(in srgb, var(--tr-reading-accent, #88b9d5) 9%, var(--tr-reading-bg, #0b1116));
    --tr-nav-glint: #a8d3ec;
    --tr-nav-recess: #020b14;
    --tr-nav-glint-mix: 7%;
    --tr-nav-recess-mix: 8%;
    --tr-nav-edge: #b4d9f033;
    --tr-nav-seam: #04132185;
    --tr-nav-shadow: #020b1666;
  }
  html[data-reading-theme="light"] body.reading {
    --tr-nav-section-bg: color-mix(in srgb, #b4cddd 65%, var(--tr-reading-bg, #d1d7d6));
    --tr-nav-detail-bg: color-mix(in srgb, #dbe6ed 70%, var(--tr-reading-bg, #d1d7d6));
    --tr-nav-glint: #ffffff;
    --tr-nav-recess: #415f78;
    --tr-nav-glint-mix: 10%;
    --tr-nav-recess-mix: 2%;
    --tr-nav-edge: #ffffff99;
    --tr-nav-seam: #41657755;
    --tr-nav-shadow: #18364a40;
  }
  html body.reading #report-content > .tr-reader-section-nav-slot > .tr-reader-section-nav,
  html body.reading #report-content .tr-technical-tabs,
  html body.reading #report-content .tr-reader-section-nav.tr-factor-evidence-nav {
    --tr-nav-band-bg: var(--tr-nav-section-bg);
    --tr-nav-band-top: color-mix(in srgb, var(--tr-nav-glint) var(--tr-nav-glint-mix), var(--tr-nav-band-bg));
    --tr-nav-band-bottom: color-mix(in srgb, var(--tr-nav-recess) var(--tr-nav-recess-mix), var(--tr-nav-band-bg));
    position: relative;
    isolation: isolate;
    padding-block: 4px;
    background: transparent;
  }
  html body.reading #report-content .tr-technical-tabs { z-index: 1; }
  html body.reading #report-content > .tr-reader-section-nav-slot > .tr-reader-section-nav.is-pinned,
  html body.reading #report-content .tr-reader-section-nav.tr-factor-evidence-nav.is-pinned { position: fixed; }
  html body.reading #report-content .tr-reader-section-nav.tr-factor-evidence-nav,
  html body.reading #report-content > .tr-reader-section-nav-slot > .tr-reader-section-nav[aria-label="Indicator sections"] {
    --tr-nav-band-bg: var(--tr-nav-detail-bg);
    padding-block: 2px;
  }
  html body.reading #report-content > .tr-reader-section-nav-slot > .tr-reader-section-nav::before,
  html body.reading #report-content .tr-technical-tabs::before,
  html body.reading #report-content .tr-reader-section-nav.tr-factor-evidence-nav::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: var(--tr-nav-surface-left, 0px);
    width: var(--tr-nav-surface-width, 100%);
    pointer-events: none;
    background: linear-gradient(180deg, var(--tr-nav-band-top), var(--tr-nav-band-bg) 45%, var(--tr-nav-band-bottom));
    box-shadow: inset 0 1px var(--tr-nav-edge), inset 0 -1px var(--tr-nav-seam), 0 4px 8px -5px var(--tr-nav-shadow);
  }
  html body.reading #report-content .tr-reader-section-nav.is-pinned::before {
    box-shadow: inset 0 1px var(--tr-nav-edge), inset 0 -1px var(--tr-nav-seam), 0 6px 12px -5px var(--tr-nav-shadow);
  }
  /* At the stacked factor position, cast one shadow from the lowest rail. */
  @media (max-width: 900px) {
    html body.reading:has(.tr-factor-evidence-nav.is-pinned-visible) #report-content > .tr-reader-section-nav-slot > .tr-reader-section-nav::before {
      box-shadow: inset 0 1px var(--tr-nav-edge), inset 0 -1px var(--tr-nav-seam);
    }
  }
  html body.reading #report-content .tr-reader-section-nav__toolbar,
  html body.reading #report-content .tr-technical-tabs__group { border-bottom: 0; }
  html body.reading #report-content .tr-reader-section-nav.tr-factor-evidence-nav .tr-reader-section-nav__links > a[aria-current="location"],
  html body.reading #report-content .tr-reader-section-nav[aria-label="Indicator sections"] .tr-reader-section-nav__links > a[aria-current="location"] { background: transparent; }
  /* Where touch scrolling replaces arrows, soften a clipped label to signal
     more destinations. Fully visible ends remain unmasked. */
  @media (max-width: 600px) {
    html body.reading #report-content .tr-reader-section-nav__scroll {
      --tr-nav-fade-start: #000;
      --tr-nav-fade-end: #000;
    }
    html body.reading #report-content .tr-reader-section-nav__scroll.has-previous { --tr-nav-fade-start: transparent; }
    html body.reading #report-content .tr-reader-section-nav__scroll.has-next { --tr-nav-fade-end: transparent; }
    html body.reading #report-content .tr-reader-section-nav__links {
      mask-image: linear-gradient(to right, var(--tr-nav-fade-start), #000 12px, #000 calc(100% - 12px), var(--tr-nav-fade-end));
    }
  }
  /* A short separator integrates the picker into the band, while the complete
     44px target and keyboard outline remain available. */
  html body.reading #report-content .tr-reader-section-nav__toggle::before {
    inset: 10px auto 10px 0;
    width: 1px;
    border: 0;
    border-radius: 0;
    background: color-mix(in srgb, var(--tr-reading-muted, #a5b2bd) 26%, transparent);
  }
  html body.reading #report-content .tr-reader-section-nav button.tr-reader-section-nav__toggle:is(:hover, [aria-expanded="true"]) {
    background: color-mix(in srgb, var(--tr-reading-accent, #88b9d5) 9%, transparent);
    color: var(--tr-reading-text, #e5edf2) !important;
  }
  html body.reading #report-content .tr-reader-section-nav__toggle:is(:hover, [aria-expanded="true"])::before {
    background: var(--tr-reading-accent, #88b9d5);
  }
}

/* Reader navigation: quieter section selection and a named factor picker. */
html body.reading #report-content .tr-reader-section-nav::before,
html body.reading #report-content .tr-technical-tabs::before { background: var(--tr-nav-band-bg); }
html body.reading #report-content .tr-reader-section-nav__links > a { isolation: isolate; }
html body.reading #report-content .tr-reader-section-nav__links > a::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 6px 0;
  border-radius: 999px;
  background: transparent;
}
/* Hover uses the same inset pill as selection, preserving the full hit target. */
html body.reading #report-content .tr-reader-section-nav__links > a:hover,
html body.reading #report-content .tr-reader-section-nav__links > a[aria-current="location"] { background: transparent; }
html body.reading #report-content .tr-reader-section-nav__links > a:hover::before {
  background: color-mix(in srgb, var(--tr-reading-accent, #88b9d5) 10%, transparent);
}
html body.reading #report-content .tr-reader-section-nav__links > a[aria-current="location"]::before {
  background: color-mix(in srgb, var(--tr-reading-accent, #88b9d5) 18%, transparent);
}
html body.reading #report-content .tr-reader-section-nav__links > a::after { display: none; }
html body.reading #report-content .tr-factor-evidence-nav .tr-reader-section-nav__links > a:not([aria-current="location"]),
html body.reading #report-content .tr-factor-evidence-nav .tr-reader-section-nav__arrow { display: none !important; }
html body.reading #report-content .tr-factor-evidence-nav .tr-reader-section-nav__links { mask-image: none; overflow: visible; }
html body.reading #report-content .tr-factor-evidence-nav .tr-reader-section-nav__links > a[aria-current="location"] {
  padding: 0;
  font-size: 16px !important;
  line-height: 20px !important;
  font-weight: 600 !important;
  white-space: normal;
  text-align: left;
}
html body.reading #report-content .tr-factor-evidence-nav .tr-reader-section-nav__links > a::before { display: none; }
html body.reading #report-content .tr-reader-section-nav button.tr-reader-section-nav__toggle { padding-inline: 12px; }
html body.reading #report-content .tr-reader-section-nav .tr-reader-section-nav__toggle::before {
  inset: 6px 0;
  width: auto;
  border: 1px solid color-mix(in srgb, var(--tr-reading-muted, #a5b2bd) 32%, transparent);
  border-radius: 9px;
  background: transparent;
}
html body.reading #report-content .tr-reader-section-nav .tr-reader-section-nav__toggle:is(:hover,[aria-expanded="true"])::before { background: transparent; }
/* Chart / Indicators follows the same section-pill padding and selected face. */
html body.reading #report-content .tr-technical-tabs__group { gap: 4px; }
html body.reading #report-content .tr-technical-tabs button {
  isolation: isolate;
  padding-inline: 12px;
  background: transparent;
}
html body.reading #report-content .tr-technical-tabs button::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 6px 0;
  border-radius: 999px;
  background: transparent;
}
html body.reading #report-content .tr-technical-tabs button:hover { background: transparent; }
html body.reading #report-content .tr-technical-tabs button:hover::before {
  background: color-mix(in srgb, var(--tr-reading-accent, #88b9d5) 10%, transparent);
}
html body.reading #report-content .tr-technical-tabs button[aria-selected="true"]::before {
  background: color-mix(in srgb, var(--tr-reading-accent, #88b9d5) 18%, transparent);
}
html body.reading #report-content .tr-technical-tabs button::after { display: none; }
@media (max-width: 380px) {
  html body.reading #report-content .tr-reader-section-nav:not(.tr-factor-evidence-nav) .tr-reader-section-nav__links > a,
  html body.reading #report-content .tr-technical-tabs button { padding-inline: 8px; }
}

  /* The factor title is the selector. Its score and coverage stay together
     while reading, instead of repeating the selection in a third tab bar. */
  html body.reading #report-content .tr-factor-nav-slot { margin-bottom: 12px; }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-detail:has(.tr-factor-context) .tr-empty { border-bottom: 0; padding-bottom: 12px; }
  html body.reading #report-content .tr-reader-section-nav.tr-factor-context { padding-block: 8px; }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-factor-context .tr-detail-heading { align-items: center; gap: 16px; }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-factor-context .tr-factor-identity { flex: 1 1 auto; min-width: 0; }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-factor-context h3 { margin: 0; }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-factor-context button.tr-reader-section-nav__toggle {
    justify-content: flex-start;
    gap: 8px;
    max-width: 100%;
    min-height: 44px;
    padding: 0;
    text-align: left;
    color: var(--tr-reading-text, #e5edf2) !important;
    font: var(--tr-type-heading-weight, 600) var(--tr-type-section-size, 21px)/1.3 var(--tr-type-family, "IBM Plex Sans", system-ui, sans-serif) !important;
  }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-factor-context button.tr-reader-section-nav__toggle svg { flex: 0 0 16px; width: 16px; height: 16px; color: var(--tr-reading-muted, #a5b2bd); }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-factor-context .tr-detail-heading .tr-kicker { margin: 0; line-height: 16px !important; }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-factor-context .tr-big-score { flex: 0 0 auto; }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-factor-context .tr-big-score span { margin-top: 3px; }
  /* Keep the denominator attached to its score, apart from measure coverage. */
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-factor-context .tr-big-score.tr-factor-score--numeric { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-factor-context .tr-big-score.tr-factor-score--numeric span { margin-top: 0; }
  html[data-reading-theme="light"] body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-factor-context .tr-big-score strong { color: color-mix(in srgb, var(--selected-color) 45%, #10232e); }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-factor-context .tr-reader-section-nav__menu { text-align: left; }
@media print {
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-factor-nav-slot { display: block !important; height: auto !important; margin: 0 0 12px; }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-factor-context { position: static !important; width: auto !important; visibility: visible !important; padding: 0; }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-factor-context .tr-reader-section-nav__toggle { font: inherit !important; padding: 0; color: inherit !important; }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-factor-context .tr-reader-section-nav__toggle svg,
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-factor-context .tr-reader-section-nav__menu { display: none !important; }
}

/* The factor name is the selector, with its own text-sized focus target. */
html body.reading #report-content .tr-factor-context .tr-reader-section-nav__toggle::before { display: none; }
html body.reading #report-content .tr-factor-context button.tr-reader-section-nav__toggle:is(:hover,[aria-expanded="true"]) { background: transparent; }
html body.reading #report-content .tr-factor-context .tr-big-score { text-align: right; }
@media screen and (min-width: 901px) {
  /* Match the evidence column's existing 28px left inset on its score edge. */
  html body.reading #report-content .tr-reader-section-nav.tr-factor-context { padding-right: 28px; }
}

/* Profile has two visible destinations; its duplicate section picker adds no value. */
html body.reading.stock-profile-mode #report-content > .tr-reader-section-nav-slot > nav[aria-label="Profile sections"] .tr-reader-section-nav__toggle,
html body.reading.stock-profile-mode #report-content > .tr-reader-section-nav-slot > nav[aria-label="Profile sections"] .tr-reader-section-nav__menu { display: none !important; }

/* Group the score date beneath its title and keep the chart close to that context. */
html body.reading.stock-profile-mode #report-content.report-content .stock-profile-factors > .tr-section-header { row-gap: 0; margin-bottom: 8px; }
html body.reading.stock-profile-mode #report-content.report-content .stock-profile-factors > .tr-section-header .tr-section-header__title { grid-row: 1; }
html body.reading.stock-profile-mode #report-content.report-content .stock-profile-factors > .tr-section-header .tr-section-header__action { grid-row: 1; height: 44px; }
html body.reading.stock-profile-mode #report-content.report-content .stock-profile-factors > .tr-section-header .tr-section-header__action button { margin: 0; }
html body.reading.stock-profile-mode #report-content.report-content .stock-profile-factors > .tr-section-header .tr-section-header__meta { grid-row: 2; margin-bottom: 0; }
html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-chart-note { margin: 8px 0 0 !important; }
html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-scale { margin-top: 8px; }
@media (max-width: 900px) {
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer { row-gap: 16px; }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-detail { padding-top: 12px; }
}

/* On phones the section link names the chart; put its source by the legend. */
html body.reading #report-content .tr-chart-source[hidden] { display: none !important; }
@media (max-width: 600px) {
  html body.reading.stock-profile-mode #report-content.report-content .stock-profile-factors > .tr-section-header.tr-mobile-chart-source { position: relative; display: block; height: 0; margin: 0; }
  html body.reading.stock-profile-mode #report-content .tr-mobile-chart-source .tr-section-header__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  html body.reading.stock-profile-mode #report-content.report-content .tr-chart-source { grid-template-columns: minmax(0, max-content); justify-content: center; gap: 0; margin: 4px 0 0; }
  html body.reading.stock-profile-mode #report-content.report-content .tr-chart-source .tr-section-header__meta { grid-row: 1; grid-column: 1; margin: 0; justify-content: flex-end; }
  html body.reading.stock-profile-mode #report-content.report-content .tr-mobile-chart-source .tr-section-header__action { position: absolute; top: 0; right: 0; z-index: 1; height: 44px; }
  html body.reading.stock-profile-mode #report-content.report-content .tr-mobile-chart-source .tr-section-header__action button { margin: 0; }
  html body.reading.stock-profile-mode #report-content.report-content .tr-chart-source p.tr-section-header__date { font-size: var(--tr-type-caption-size, 10px) !important; line-height: var(--tr-type-caption-line, 12px) !important; }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer { row-gap: 8px; }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-detail { border-top: 0; padding-top: 0; }
}

/* Bind the chart footer to the visible labels, not the empty SVG box edge. */
@media (max-width: 600px) {
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-radar-wrap { margin-bottom: 0; }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer .tr-chart-note { margin-top: calc(12px - var(--tr-radar-bottom-space, 0px)) !important; }
  html body.reading.stock-profile-mode #report-content .stock-profile-readout .tr-profile-explorer { row-gap: 24px; }
}

/* Mobile proximity: captions stay with their content, sections keep a clear break. */
@media (max-width: 600px) {
  html body.reading #report-content.report-content .tr-tab-header-frame.tr-technical-intro-frame { padding-bottom: 8px; }
  html body.reading.stock-chart-mode #report-content .chart-panel:not(.is-expanded) .chart-footer { padding-bottom: 12px; }
  html body.reading.stock-chart-mode #report-content.report-content .chart-details .details-section > h2 { margin-bottom: 12px; }

  html body.reading.technical-mode #report-content.technical-content .tr-technical-section:not(.tr-indicator-section):not(.tr-primary-chart) { margin-top: 24px; padding-top: 20px; }
  html body.reading.technical-mode #report-content.technical-content .tr-technical-section-heading { margin-bottom: 12px; }
  html body.reading.technical-mode #report-content.technical-content .tr-pace-chart { margin: 12px 0 0; }
  html body.reading.technical-mode #report-content.technical-content .tr-pace-chart .tr-measurement-date { padding-top: 6px; }
  html body.reading.technical-mode #report-content.technical-content .tr-measurement > .tr-measurement-date { padding-top: 8px; }
  html body.reading.technical-mode #report-content.technical-content .tr-section-note { margin-top: 8px !important; }
  html body.reading.technical-mode #report-content.technical-content .tr-reference-grid h3 { min-height: 0; margin-bottom: 8px !important; }

  html body.reading.stock-news-mode #report-content .tr-news-list { gap: 16px; }
  html body.reading.stock-news-mode #report-content .news-meta { margin-top: 6px; }
  html body.reading.stock-news-mode #report-content .tr-stock-news p.news-byline { margin-top: 4px !important; }
}

/* Balance tiers two and three around the same 44px interaction target. */
html body.reading #report-content .tr-technical-tabs,
html body.reading #report-content > .tr-reader-section-nav-slot > .tr-reader-section-nav { padding-block: 2px; }
html body.reading #report-content .tr-technical-tabs button[aria-selected="true"] { background: transparent; }

/* Indicators: price and meaning first; supporting calculations on demand. */
html body.reading #report-content.technical-content .tr-indicator-price__main { padding: 20px; }
html body.reading #report-content.technical-content .tr-indicator-price__label {
  display: block; color: var(--technical-muted); font-size: var(--tr-type-body-size, 14px); line-height: 1.5;
}
html body.reading #report-content.technical-content .tr-indicator-price__value {
  display: block; margin: 6px 0 8px; color: #edf2f6; font-size: 40px; line-height: 1.15; font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums; overflow-wrap: anywhere;
}
html body.reading #report-content.technical-content .tr-indicator-price__change { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
html body.reading #report-content.technical-content .tr-indicator-price__change strong { font-size: 21px; font-weight: 600; line-height: 1.4; }
html body.reading #report-content.technical-content .tr-indicator-price__change span { font-size: 14px; color: var(--technical-muted); }
html body.reading #report-content.technical-content .tr-price-up strong { color: #acd279; }
html body.reading #report-content.technical-content .tr-price-down strong { color: #cf8d87; }
html body.reading #report-content.technical-content .tr-indicator-price__context { margin-top: 12px !important; font-size: 14px !important; }
html body.reading #report-content.technical-content .tr-indicator-details { margin-top: 14px; border-top: 1px solid var(--technical-line); }
html body.reading #report-content.technical-content .tr-indicator-details > summary {
  min-height: 44px; padding: 12px 0; color: #c5dae6; font: 500 14px/20px var(--tr-type-family, "IBM Plex Sans", sans-serif); cursor: pointer;
}
html body.reading #report-content.technical-content .tr-indicator-details > summary::marker { color: #78a8c6; }
html body.reading #report-content.technical-content .tr-indicator-details > summary:focus-visible { outline: 2px solid #a5c9de; outline-offset: 2px; }
html body.reading #report-content.technical-content .tr-indicator-details__body { padding-bottom: 6px; }
html body.reading #report-content.technical-content .tr-indicator-details__body p { font-size: 14px !important; line-height: 1.55 !important; }
html body.reading #report-content.technical-content .tr-indicator-details__body p + p { margin-top: 10px !important; }
html body.reading #report-content.technical-content .tr-indicator-details__body a { color: #b4d8ec; text-decoration: underline; }
html body.reading #report-content.technical-content .tr-indicator-price > .tr-indicator-details { margin: 0; padding-inline: 20px; }
html body.reading #report-content.technical-content .tr-indicator-price .tr-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); background: transparent; border: 0; }
html body.reading #report-content.technical-content .tr-indicator-price .tr-metric-card { padding: 12px 12px 16px 0; border: 0; }
html body.reading #report-content.technical-content .tr-indicator-price .tr-metric-card > span { font-size: 14px; }
html body.reading #report-content.technical-content .tr-indicator-price .tr-metric-card > strong { font-size: 21px; }
html body.reading #report-content.technical-content .tr-measurement { display: block; }
html body.reading #report-content.technical-content .tr-measurement-value { margin: 14px 0 4px; font-size: 32px; line-height: 1.2; }
html body.reading #report-content.technical-content .tr-indicator-scale { font-size: 16px; color: var(--technical-muted); font-weight: 400; }
html body.reading #report-content.technical-content .tr-measurement > p.tr-indicator-takeaway { margin: 0 0 6px !important; font-size: 16px !important; font-weight: 500; color: #e5edf2 !important; }
html body.reading #report-content.technical-content .tr-measurement > p { font-size: 14px !important; line-height: 1.5 !important; }
html body.reading #report-content.technical-content .tr-measurement .tr-pace-chart { margin: 12px 0 0; }
html body.reading #report-content.technical-content .tr-measurement-date { margin-top: 0 !important; padding-top: 10px; }
html body.reading #report-content.technical-content .tr-macd-directions { margin: 14px 0 12px; padding: 0; border: 0; }
html body.reading #report-content.technical-content .tr-macd-directions dt { font-size: 14px; }
html body.reading #report-content.technical-content .tr-macd-directions dd { font-size: 21px; }
html body.reading #report-content.technical-content .tr-momentum-explainer { font-size: 14px !important; }
@media (max-width: 600px) {
  html body.reading #report-content.technical-content .tr-indicator-price__main { padding: 16px; }
  html body.reading #report-content.technical-content .tr-indicator-price > .tr-indicator-details { padding-inline: 16px; }
}

/* Indicator histories use their measured content width so labels stay legible. */
html body.reading #report-content.technical-content .tr-indicator-history { margin-top: 16px; border-radius: 4px; min-width: 0; }
html body.reading #report-content.technical-content .tr-indicator-history:focus-visible { outline: 2px solid #a5c9de; outline-offset: 3px; }
html body.reading #report-content.technical-content .tr-indicator-history svg { display: block; width: 100%; height: auto; touch-action: pan-y; }
html body.reading #report-content.technical-content .tr-indicator-history-readout { min-height: 21px; font-size: 14px !important; line-height: 1.5 !important; color: #dce8ef !important; font-variant-numeric: tabular-nums; }
html body.reading #report-content.technical-content [data-indicator-plot="macd"] .tr-indicator-history-readout { min-height: 42px; }
html body.reading #report-content.technical-content .tr-indicator-history-hint { margin-top: 8px !important; font-size: 12px !important; }
html body.reading #report-content.technical-content .tr-indicator-history-empty { padding: 16px 0; font-size: 14px !important; }
.tr-history-axis { fill: #a5b2bd; font: 12px var(--tr-type-family, "IBM Plex Sans", sans-serif); }
.tr-history-reference-band { fill: #78a8c60c; }
.tr-history-grid { stroke: #2c3c47; stroke-width: 1; }
.tr-history-threshold { stroke: #6c8595; stroke-dasharray: 4 4; }
.tr-history-line, .tr-history-signal { fill: none; stroke: #8fc8e4; stroke-width: 2; vector-effect: non-scaling-stroke; }
.tr-history-signal { stroke: #d8bd7d; stroke-dasharray: 5 3; }
.tr-history-bar--up { fill: #91b869; opacity: .65; }
.tr-history-bar--down { fill: #cc8981; opacity: .65; }
.tr-history-cursor { stroke: #dce8ef; stroke-width: 1; stroke-dasharray: 2 3; opacity: .7; }
html body.reading #report-content.technical-content .tr-history-period { font-size: 16px !important; color: #e5edf2 !important; font-weight: 500; }
.tr-history-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; color: #b8c8d2; font-size: 12px; }
.tr-history-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tr-history-legend i { display: inline-block; width: 20px; }
.tr-history-legend-line { border-top: 2px solid #8fc8e4; }
.tr-history-legend-signal { border-top: 2px dashed #d8bd7d; }
.tr-history-legend-bars { height: 10px; background: linear-gradient(90deg,#91b869 45%,transparent 45%,transparent 55%,#cc8981 55%); }
html body.reading #report-content.technical-content .tr-history-basis { margin-top: 12px !important; font-size: 12px !important; }

/* Shared closing research section for Profile and Technicals. */
html body.reading #report-content .tr-research-section {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 24px; padding: 24px; border: 1px solid var(--technical-line, #26333d);
  border-radius: 8px; background: var(--tr-reading-surface, #111a21);
}
html body.reading #report-content .tr-research-section__copy { min-width: 0; max-width: 60ch; }
html body.reading #report-content .tr-research-section__eyebrow {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
  color: #aec9d8; font-size: var(--tr-type-meta-size, 12px); line-height: 20px; font-weight: 500;
}
html body.reading #report-content .tr-research-section__eyebrow span { display: inline-flex; flex: 0 0 18px; }
html body.reading #report-content .tr-research-section__eyebrow svg { width: 18px; height: 18px; }
html body.reading #report-content .tr-research-section h2 { margin: 0 !important; color: #edf2f6 !important; font-family: inherit !important; font-weight: 600 !important; letter-spacing: -.02em; text-transform: none !important; font-size: var(--tr-type-section-size, 21px) !important; line-height: 1.3 !important; }
html body.reading #report-content .tr-research-section p { color: var(--technical-muted, #a0aeb8) !important; margin: 8px 0 0 !important; font-size: var(--tr-type-body-size, 14px) !important; line-height: 1.55 !important; }
html body.reading #report-content .tr-research-section .tr-research-link {
  min-height: 44px; padding: 12px 16px; gap: 20px; border: 1px solid #a8cadc;
  border-radius: 6px; background: #d7e9f2; color: #142a35;
  font-size: 14px; line-height: 20px; font-weight: 600;
}
html body.reading #report-content .tr-research-section .tr-research-link:hover { background: #e8f3f8; }
html body.reading #report-content .tr-research-section .tr-research-link:focus-visible { outline: 2px solid #a5c9de; outline-offset: 3px; }
@media (max-width: 700px) {
  html body.reading #report-content .tr-research-section { flex-direction: column; align-items: stretch; gap: 18px; padding: 20px; }
  html body.reading #report-content .tr-research-section .tr-research-link { width: 100%; }
}

/* Chart research follows the company details on the same reading grid. */
html body.reading.stock-chart-mode #report-content.tr-reader-has-legal-footer .tr-chart-details-host { padding-bottom: 0 !important; }
html body.reading.stock-chart-mode #report-content .chart-details { padding-bottom: 0; }
html body.reading.stock-chart-mode #report-content .tr-chart-research {
  box-sizing: border-box; width: min(var(--tr-reader-max-width, 1120px), 100%);
  margin-inline: auto; padding: 0 var(--tr-reader-gutter, clamp(16px, 3.5vw, 44px)) 24px;
}
html body.reading.stock-chart-mode #report-content .tr-chart-research .tr-research-section { margin-top: 0; }

/* Loaded-story sentiment counts share the compact News metadata row. */
html body.reading.stock-news-mode #report-content .tr-news-sentiment-summary { display:inline-flex; flex-wrap:wrap; gap:4px 12px; }
html body.reading.stock-news-mode #report-content .tr-news-sentiment-summary[hidden] { display:none; }
html body.reading.stock-news-mode #report-content .tr-news-sentiment-total { white-space:nowrap; font:inherit; }
html body.reading.stock-news-mode #report-content .tr-news-sentiment-total--positive { color:var(--tr-reading-positive,#afd477); }
html body.reading.stock-news-mode #report-content .tr-news-sentiment-total--negative { color:var(--tr-reading-negative,#d98e84); }
html body.reading.stock-news-mode #report-content .tr-news-sentiment-total--neutral { color:var(--tr-reading-neutral,#d8bf72); }

/* Sentiment totals are native toggle buttons; filtering never changes their counts. */
html body.reading.stock-news-mode #report-content .tr-news-feed-meta { align-items:center; gap:4px; }
html body.reading.stock-news-mode #report-content .tr-news-sentiment-summary:not([hidden]) { display:contents; }
/* Keep a generous hit area while the visible pill stays compact. */
html body.reading.stock-news-mode #report-content button.tr-news-filter { appearance:none; position:relative; isolation:isolate; display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; min-width:44px; min-height:44px; width:auto; margin:0; padding:8px 10px; border:0; border-radius:999px; background:transparent; box-shadow:none; color:inherit; font:inherit; white-space:nowrap; cursor:pointer; -webkit-tap-highlight-color:transparent; }
html body.reading.stock-news-mode #report-content button.tr-news-filter::before { content:""; position:absolute; inset:7px 0; z-index:-1; pointer-events:none; border:1px solid transparent; border-radius:inherit; background:transparent; }
html body.reading.stock-news-mode #report-content button.tr-news-filter[hidden],
html body.reading.stock-news-mode #report-content .tr-news-list > .news-story[hidden],
html body.reading.stock-news-mode #report-content .tr-news-filter-status[hidden] { display:none!important; }
html body.reading.stock-news-mode #report-content button.tr-news-filter:hover::before { background:color-mix(in srgb,var(--tr-reading-muted,#a0aeb8) 12%,transparent); }
html body.reading.stock-news-mode #report-content button.tr-news-filter[aria-pressed="true"]::before { background:color-mix(in srgb,var(--tr-reading-muted,#a0aeb8) 16%,transparent); border-color:color-mix(in srgb,var(--tr-reading-muted,#a0aeb8) 28%,transparent); }
html body.reading.stock-news-mode #report-content button.tr-news-filter:focus-visible { outline:2px solid var(--tr-reading-accent,#8bbbd2); outline-offset:2px; }
html body.reading.stock-news-mode #report-content button.tr-news-sentiment-total--positive { color:var(--tr-reading-positive,#afd477); }
html body.reading.stock-news-mode #report-content button.tr-news-sentiment-total--negative { color:var(--tr-reading-negative,#d98e84); }
html body.reading.stock-news-mode #report-content button.tr-news-sentiment-total--neutral { color:var(--tr-reading-neutral,#d8bf72); }
html body.reading.stock-news-mode #report-content .tr-news-actions { display:flex; align-items:center; flex:0 0 auto; gap:4px; }
html body.reading.stock-news-mode #report-content .tr-news-order { color:var(--tr-reading-muted,#a0aeb8); font:400 var(--tr-type-dense-size,11px)/var(--tr-type-dense-line,14px) var(--tr-type-family,"IBM Plex Sans",system-ui,sans-serif); white-space:nowrap; }
html body.reading.stock-news-mode #report-content .tr-news-filter-status { margin:0 0 12px !important; color:var(--tr-reading-muted,#a0aeb8); font:400 var(--tr-type-dense-size,11px)/var(--tr-type-dense-line,14px) var(--tr-type-family,"IBM Plex Sans",system-ui,sans-serif) !important; }

@media(max-width:600px) {
 html body.reading.stock-news-mode #report-content .tr-news-toolbar { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 12px; }
 html body.reading.stock-news-mode #report-content .tr-news-feed-meta { display:contents; }
 html body.reading.stock-news-mode #report-content [data-news-count] { grid-column:1; grid-row:1; justify-self:start; }
 html body.reading.stock-news-mode #report-content .tr-news-actions { grid-column:2; grid-row:1; }
 html body.reading.stock-news-mode #report-content .tr-news-sentiment-summary:not([hidden]) { display:flex; grid-column:1 / -1; grid-row:2; min-width:0; gap:4px; }
}
