/*
  Shared compact report header behavior for report reader surfaces.
  The scroll controller toggles body.report-header-compact while body.reading.
*/

body.reading #player-header,
body.reading .design-color-block,
body.reading #track-title,
body.reading .track-logo-report,
body.reading .symbol-readmode,
body.reading .track-price,
body.reading .track-price__value,
body.reading .track-price__change-group,
body.reading .patterns-button,
body.reading #audioSection,
body.reading #audio-player,
body.reading #report-company-name {
  transition:
    height 180ms ease,
    min-height 180ms ease,
    max-height 180ms ease,
    margin 180ms ease,
    padding 180ms ease,
    transform 180ms ease,
    top 180ms ease,
    font-size 180ms ease,
    opacity 180ms ease;
}

body.reading.report-header-compact {
  padding-top: 119px !important;
}

body.no-audio.reading.report-header-compact {
  padding-top: 105px !important;
}

body.reading.report-header-compact::before {
  height: 119px !important;
}

body.reading.report-header-compact #player-header {
  padding: 0 20px !important;
  min-height: 119px !important;
}

body.reading.report-header-compact #track-title {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin-bottom: 0 !important;
  min-height: 88px !important;
  padding: 24px 6px 0 6px !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

body.reading.report-header-compact .design-color-block {
  height: 88px !important;
}

body.reading.report-header-compact .price-caption {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  padding: 5px 0 !important;
  font-size: .6rem !important;
  line-height: normal !important;
  letter-spacing: .5px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.reading.report-header-compact .track-logo-report {
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  top: 0 !important;
  margin: 0 !important;
  position: relative !important;
  vertical-align: middle !important;
}

body.reading.report-header-compact .symbol-readmode,
body.reading.report-header-compact .report-symbol-txt {
  flex: 0 1 auto !important;
  font-size: 31px !important;
  top: 0 !important;
  position: relative !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

body.reading.report-header-compact #track-title > br,
body.reading.report-header-compact .tiny-logo {
  display: none !important;
}

body.reading.report-header-compact .track-price {
  position: static !important;
  display: flex !important;
  flex: 0 0 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  margin-left: auto !important;
  max-width: 48% !important;
  min-width: 0 !important;
  top: auto !important;
  right: 0 !important;
}

body.reading.report-header-compact .track-price__value {
  font-size: 1.28rem !important;
  margin: 0 !important;
  top: 0 !important;
  position: static !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body.reading.report-header-compact .track-price__change-group {
  margin: 0 !important;
  font-size: .6rem !important;
  line-height: 1 !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  align-items: center !important;
}

body.reading.report-header-compact .track-price__change,
body.reading.report-header-compact .track-price__pct {
  font-size: .6rem !important;
  line-height: 1 !important;
}

body.reading.report-header-compact .price-range-line-full {
  display: none !important;
}

body.reading.report-header-compact #audioSection {
  top: 88px !important;
  bottom: auto !important;
  min-height: 31px !important;
  height: 31px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 8px !important;
  line-height: 1 !important;
  overflow: hidden !important;
}

body.reading.report-header-compact #report-company-name {
  flex: 0 0 0 !important;
  width: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

body.reading.report-header-compact #audio-player {
  height: 0 !important;
  min-height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  opacity: 0 !important;
}

body.reading.report-header-compact #audioSection br {
  display: none !important;
}

body.reading.report-header-compact #audioSection > span:not(#report-company-name) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 100% !important;
  font-size: .65rem !important;
  line-height: 1 !important;
}

body.reading.report-header-compact #audioSection > span:not(#report-company-name) > span {
  position: static !important;
  top: auto !important;
  margin-top: 0 !important;
  vertical-align: middle !important;
}

body.reading.report-header-compact #audioSection > span:not(#report-company-name) svg {
  display: block !important;
}

@media (max-width: 380px) {
  body.reading.report-header-compact .symbol-readmode,
  body.reading.report-header-compact .report-symbol-txt {
    font-size: 25px !important;
  }

  body.reading.report-header-compact .track-price__value {
    font-size: 1.05rem !important;
  }

  body.reading.report-header-compact .track-price__change,
  body.reading.report-header-compact .track-price__pct,
  body.reading.report-header-compact .track-price__change-group {
    font-size: .52rem !important;
  }

  body.reading.report-header-compact .segment {
    font-size: .5rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.reading #player-header,
  body.reading .design-color-block,
  body.reading #track-title,
  body.reading .track-logo-report,
  body.reading .symbol-readmode,
  body.reading .track-price,
  body.reading .track-price__value,
  body.reading .track-price__change-group,
  body.reading .patterns-button,
  body.reading #audioSection,
  body.reading #audio-player,
  body.reading #report-company-name {
    transition: none !important;
  }
}

/*
  Responsive AI report reading surface.
  Keep these overrides scoped away from Stock Profile, whose layout is managed
  independently in each reader route.
*/
body.reading:not(.stock-profile-mode):not(.report-header-compact)::before {
  background: linear-gradient(
    to bottom,
    rgba(43, 104, 99, 0.78) 0%,
    rgba(0, 38, 91, 0.66) 45%,
    rgba(0, 38, 91, 0.42) 68%,
    rgba(0, 38, 91, 0.18) 85%,
    rgba(0, 38, 91, 0) 100%
  ) !important;
}

/*
  The legacy reader shell reserves 40px of body padding plus a 10px margin
  beneath the player. In reading mode that exposes the striped archive
  background above the fixed legal footer, so let the report surface meet it.
*/
body.reading:not(.stock-profile-mode) {
  padding-bottom: 0 !important;
  margin-bottom: 0;
}

/*
  Stock Profile uses the same reader shell and fixed legal footer. Its own
  readout already reserves bottom safe-area space, so remove the legacy body
  seam here without importing the report's light canvas or typography.
*/
body.reading.stock-profile-mode {
  padding-bottom: 0 !important;
  margin-bottom: 0;
}

body.reading:not(.stock-profile-mode) #report-content.report-content {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(20px, 3vw, 34px);
  padding-bottom: clamp(72px, 9vw, 96px);
  color: #2d3330;
  font-size: clamp(0.96rem, 0.925rem + 0.16vw, 1.0625rem);
  line-height: 1.6;
  letter-spacing: -0.006em;
  overflow-wrap: break-word;
}

body.reading:not(.stock-profile-mode) #report-content.report-content b,
body.reading:not(.stock-profile-mode) #report-content.report-content h2,
body.reading:not(.stock-profile-mode) #report-content.report-content h3 {
  display: block;
  margin: 1.65em 0 0.42em;
  color: #303633;
  font-family: "IBM Plex Sans", sans-serif !important;
  font-size: clamp(1.18rem, 1.11rem + 0.3vw, 1.38rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-wrap: balance;
}

body.reading:not(.stock-profile-mode) #report-content.report-content > b:first-child,
body.reading:not(.stock-profile-mode) #report-content.report-content > h2:first-child,
body.reading:not(.stock-profile-mode) #report-content.report-content > h3:first-child,
body.reading:not(.stock-profile-mode) #report-content.report-content .key-takeaway > b:first-child,
body.reading:not(.stock-profile-mode) #report-content.report-content .key-takeaway > h2:first-child,
body.reading:not(.stock-profile-mode) #report-content.report-content .key-takeaway > h3:first-child {
  margin-top: 0;
}

body.reading:not(.stock-profile-mode) #report-content.report-content b + br,
body.reading:not(.stock-profile-mode) #report-content.report-content h2 + br,
body.reading:not(.stock-profile-mode) #report-content.report-content h3 + br {
  display: none;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .key-takeaway {
  margin: 48px 0 30px;
  padding: 20px clamp(18px, 3vw, 26px) 22px;
  border-color: rgba(101, 119, 111, 0.2);
  background: rgba(255, 255, 255, 0.22);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .score-block {
  width: 100%;
  max-width: 700px;
  margin: 18px auto 24px;
  padding: clamp(19px, 3vw, 28px);
  border-color: rgba(101, 119, 111, 0.18);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .rating-chart,
body.reading:not(.stock-profile-mode) #report-content.report-content .vwap-chart,
body.reading:not(.stock-profile-mode) #report-content.report-content .target-chart,
body.reading:not(.stock-profile-mode) #report-content.report-content .rel-perf-chart,
body.reading:not(.stock-profile-mode) #report-content.report-content .ma-chart,
body.reading:not(.stock-profile-mode) #report-content.report-content .score-chart,
body.reading:not(.stock-profile-mode) #report-content.report-content .volitility-score-chart {
  display: block;
  width: 100%;
  height: auto;
  margin: 24px auto 30px;
  object-fit: contain;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .rating-chart,
body.reading:not(.stock-profile-mode) #report-content.report-content .vwap-chart,
body.reading:not(.stock-profile-mode) #report-content.report-content .target-chart,
body.reading:not(.stock-profile-mode) #report-content.report-content .rel-perf-chart {
  max-width: 560px;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .ma-chart,
body.reading:not(.stock-profile-mode) #report-content.report-content .volitility-score-chart {
  max-width: 520px;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .score-chart {
  max-width: 520px;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .trade-ranks-disclaimer {
  margin-top: 44px;
  margin-bottom: 0;
  padding-right: 52px;
  font-size: 0.86em;
  line-height: 1.55;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .report-chart-section {
  margin: 1.7em 0 2.2em;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .report-chart-section__copy > b:first-child,
body.reading:not(.stock-profile-mode) #report-content.report-content .report-chart-section__copy > h2:first-child,
body.reading:not(.stock-profile-mode) #report-content.report-content .report-chart-section__copy > h3:first-child {
  margin-top: 0;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .report-chart-section__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px 0 0;
  min-width: 0;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .report-chart-section__visual > img {
  margin: 0 auto;
}

/*
  Compact Back control shared by every report reader surface.
*/
body.reading #close-btn {
  position: fixed !important;
  top: auto !important;
  right: max(8px, calc((100vw - 860px) / 2 - 46px), env(safe-area-inset-right)) !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  border: 1px solid rgba(15, 20, 23, 0.34) !important;
  border-radius: 50% !important;
  background: #ff4545 !important;
  box-shadow: 0 4px 11px rgba(16, 22, 25, 0.24) !important;
  clip-path: none !important;
  color: #111719 !important;
  line-height: 1 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 120ms linear, background-color 120ms ease, box-shadow 120ms ease !important;
  -webkit-tap-highlight-color: transparent;
}

body.reading #close-btn:hover,
body.reading #close-btn:focus-visible {
  background: #ea3737 !important;
}

body.reading #close-btn:focus-visible {
  outline: 2px solid rgba(22, 104, 204, 0.46);
  outline-offset: 2px;
}

body.reading #close-btn > div {
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
}

body.reading #close-btn svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  transform: translateX(-2px) !important;
}

body.reading #close-btn svg path {
  stroke: currentColor !important;
}

body.reading #close-btn span {
  display: none !important;
}

/* Stock Profile is full-bleed; prevent its responsive canvas from creating a
   second horizontal scroll surface inside the reader. */
body.stock-profile-mode #player {
  overflow-x: hidden !important;
}

/* Keep the radar help affordance visually compact while preserving a
   reliable 44px touch target around it. */
body.stock-profile-mode .stock-profile-factor-info {
  top: 20px !important;
  right: -4px !important;
  width: 44px !important;
  height: 44px !important;
  border: 0 !important;
  background: transparent !important;
  font-size: .72rem !important;
  isolation: isolate;
}

body.stock-profile-mode .stock-profile-factor-info::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8px;
  border: 1px solid rgba(126, 197, 199, .58);
  border-radius: 50%;
  background: rgba(7, 18, 24, .82);
  pointer-events: none;
}

body.stock-profile-mode .stock-profile-factor-info:hover::before,
body.stock-profile-mode .stock-profile-factor-info:focus-visible::before {
  border-color: #55cad2;
  background: #10262d;
}

body.stock-profile-mode .stock-profile-factor-close {
  width: 44px !important;
  height: 44px !important;
}

body.stock-profile-mode .stock-profile-factor-info:focus-visible,
body.stock-profile-mode .stock-profile-factor-close:focus-visible {
  outline: 2px solid #55cad2 !important;
  outline-offset: 2px;
}

/* Shared market-indicators drawer. All reader routes render the same shell;
   mode-specific rules only change its maximum width. */
body.reading .metrics-drawer {
  --metrics-drawer-max: 1120px;
  position: fixed !important;
  top: var(--metrics-drawer-top, 145px) !important;
  z-index: 760 !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(79, 113, 121, 0.48) !important;
  border-radius: 10px !important;
  background: rgba(2, 7, 10, 0.985) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.56) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(126, 197, 199, 0.58) rgba(255, 255, 255, 0.05) !important;
}

body.reading .metrics-drawer[hidden],
body.reading .metrics-drawer.is-hidden {
  display: none !important;
}

body.reading.stock-profile-mode .metrics-drawer {
  --metrics-drawer-max: 760px;
}

body.reading .metrics-drawer::-webkit-scrollbar {
  display: block !important;
  width: 7px;
}

body.reading .metrics-drawer::-webkit-scrollbar-thumb {
  border: 2px solid rgba(2, 7, 10, 0.985);
  border-radius: 8px;
  background: rgba(126, 197, 199, 0.58);
}

body.reading .metrics-drawer-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 2px 2px 0 4px;
  color: #e7edf2;
  text-align: left;
}

body.reading .metrics-drawer-title {
  display: block;
  font: 800 .76rem/1.15 "IBM Plex Sans", system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.reading .metrics-drawer-subtitle {
  display: block;
  margin-top: 3px;
  color: rgba(231, 237, 242, 0.62);
  font: 600 .58rem/1.25 "IBM Plex Sans", system-ui, sans-serif;
  letter-spacing: .03em;
}

body.reading .metrics-drawer [data-metrics-close] {
  position: static !important;
  flex: 0 0 44px;
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 50% !important;
  background: #ff4545 !important;
  clip-path: none !important;
  color: #111719 !important;
  cursor: pointer;
  line-height: 1 !important;
  opacity: .94 !important;
}

body.reading .metrics-drawer [data-metrics-close]:hover,
body.reading .metrics-drawer [data-metrics-close]:focus-visible {
  background: #ea3737 !important;
}

body.reading .metrics-drawer [data-metrics-close]:focus-visible {
  outline: 2px solid #55cad2 !important;
  outline-offset: 2px;
}

body.reading .metrics-drawer [data-metrics-close] > span {
  position: static !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  color: currentColor !important;
}

/*
  Phones use a fixed quote header. Keep its intentional 70px compensation
  stable when the compact-header controller changes state so the profile does
  not jump down while scrolling.
*/
@media (max-width: 768px) {
  body.reading.stock-profile-mode,
  body.no-audio.reading.stock-profile-mode,
  body.reading.report-header-compact.stock-profile-mode,
  body.no-audio.reading.report-header-compact.stock-profile-mode {
    padding-top: 70px !important;
  }

  body.reading.stock-profile-mode #audioSection.stock-profile-asof {
    box-sizing: border-box !important;
    overflow: visible !important;
    padding-right: max(12px, env(safe-area-inset-right)) !important;
    padding-left: max(12px, env(safe-area-inset-left)) !important;
  }

  body.reading.stock-profile-mode #audioSection.stock-profile-asof > span:not(#report-company-name) {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.reading .metrics-drawer {
    left: max(8px, env(safe-area-inset-left)) !important;
    right: max(8px, env(safe-area-inset-right)) !important;
    bottom: auto !important;
    width: auto !important;
    max-height: max(160px, calc(100dvh - var(--metrics-drawer-top, 145px) - 68px - env(safe-area-inset-bottom))) !important;
    padding: 8px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    transform: none !important;
  }

  body.reading .metrics-drawer .vol-display,
  body.reading .metrics-drawer .rsi-display,
  body.reading .metrics-drawer .momentum-chart-full {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 11px 10px !important;
    transform: none !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 6px !important;
    background: #05080b !important;
    clip-path: none !important;
  }

  body.reading .metrics-drawer #metrics-macd > div {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }
}

@media (max-width: 480px) {
  body.reading:not(.stock-profile-mode) #report-content.report-content {
    padding: 18px 17px 80px;
    font-size: 0.96rem;
    line-height: 1.58;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .key-takeaway {
    margin-top: 48px;
    padding: 17px 16px 19px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .score-block {
    padding: 18px 16px 20px;
  }
}

/*
  Tablet and desktop report canvas.

  The compact phone reader is intentionally left unchanged above. On wider
  viewports, let the report and its visuals use the available space while
  keeping a readable centered column and a calm outer canvas.
*/
@media (min-width: 769px) {
  /*
    The legacy no-audio reader adds 70px of body padding and a 225px decorative
    fade. Reports already cancel both on desktop; Stock Profile shares that
    shell and must start at the same top edge while retaining its dark surface.
  */
  body.reading.stock-profile-mode,
  body.no-audio.reading.stock-profile-mode,
  body.reading.report-header-compact.stock-profile-mode {
    padding-top: 0 !important;
  }

  body.reading.stock-profile-mode::before {
    display: none !important;
  }

  body.reading:not(.stock-profile-mode) {
    --report-reader-max: 1120px;
    --report-reader-inset: clamp(40px, 7vw, 96px);
    padding-top: 0 !important;
  }

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

  body.reading:not(.stock-profile-mode)::before {
    display: none !important;
  }

  body.reading:not(.stock-profile-mode) #player {
    background: #edf1ed;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content {
    width: calc(100% - var(--report-reader-inset));
    max-width: var(--report-reader-max);
    padding: clamp(30px, 4vw, 50px);
    padding-bottom: clamp(84px, 8vw, 112px);
    border-top: 0;
    border-bottom: 0;
    border-radius: 0;
    box-shadow:
      -1px 0 rgba(74, 91, 83, 0.08),
      1px 0 rgba(74, 91, 83, 0.08);
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .key-takeaway {
    margin-top: 34px;
    padding: 22px clamp(22px, 3vw, 32px) 25px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .score-block {
    max-width: 960px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .rating-chart,
  body.reading:not(.stock-profile-mode) #report-content.report-content .vwap-chart,
  body.reading:not(.stock-profile-mode) #report-content.report-content .target-chart,
  body.reading:not(.stock-profile-mode) #report-content.report-content .rel-perf-chart {
    max-width: 560px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .ma-chart,
  body.reading:not(.stock-profile-mode) #report-content.report-content .volitility-score-chart,
  body.reading:not(.stock-profile-mode) #report-content.report-content .score-chart {
    max-width: 520px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .report-chart-section__visual > img[data-report-chart-variant="wide"] {
    max-width: 760px;
  }

  body.reading .metrics-drawer {
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: min(calc(100vw - 32px), var(--metrics-drawer-max, 1120px)) !important;
    max-height: calc(100dvh - var(--metrics-drawer-top, 145px) - 72px) !important;
    padding: 10px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    transform: translateX(-50%) !important;
  }

  body.reading .metrics-drawer .vol-display,
  body.reading .metrics-drawer .rsi-display,
  body.reading .metrics-drawer .momentum-chart-full {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 6px !important;
    background: #05080b !important;
    clip-path: none !important;
  }

  body.reading .metrics-drawer .vol-display {
    padding: 12px 14px 11px !important;
  }

  body.reading .metrics-drawer .rsi-display {
    padding: 12px 14px 11px !important;
  }

  body.reading .metrics-drawer .momentum-chart-full {
    grid-column: 1 / -1;
    padding: 12px 14px 13px !important;
  }

  body.reading:not(.stock-profile-mode) #close-btn {
    right: max(
      10px,
      calc((100vw - var(--report-reader-max)) / 2 - 46px),
      env(safe-area-inset-right)
    ) !important;
  }

  /* Dock Back beside the profile's readable column instead of the viewport. */
  body.reading.stock-profile-mode #close-btn {
    right: max(
      10px,
      calc((100vw - 760px) / 2 - 46px),
      env(safe-area-inset-right)
    ) !important;
  }
}

@media (min-width: 1440px) {
  body.reading:not(.stock-profile-mode) {
    --report-reader-max: 1160px;
  }

}

@media (min-width: 1024px) {
  body.reading:not(.stock-profile-mode) #report-content.report-content .report-chart-section {
    display: block;
    margin: clamp(34px, 4.2vw, 54px) 0;
    padding: 0 0 clamp(34px, 4vw, 48px);
    border: 0;
    border-bottom: 1px solid rgba(74, 91, 83, 0.12);
    background: transparent;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .report-chart-section__copy {
    width: min(100%, 760px);
    padding: 0;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .report-chart-section__copy > p:last-child {
    margin-bottom: 0;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .report-chart-section__visual {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: clamp(22px, 2.8vw, 32px) auto 0;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .report-chart-section__visual > img {
    width: 100%;
    max-width: 760px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .report-chart-section__visual > img[data-report-chart-variant="wide"] {
    max-width: 920px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .score-block {
    display: grid;
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
    gap: clamp(22px, 3vw, 38px);
    align-items: center;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .score-block .score-chart {
    width: 100%;
    max-width: 320px;
    margin: 0;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .score-block > p {
    margin: 0;
  }
}

/*
  Professional research-note layout (report contract V2).
  Legacy reports keep the rules above; new reports carry .tr-report-v2 and
  receive a denser editorial hierarchy with responsive exhibits.
*/
body.reading:not(.stock-profile-mode) #report-content.report-content:has(.tr-report-v2) {
  max-width: 1180px;
  padding: clamp(24px, 3.2vw, 40px);
  background: #fbfcfa;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v2 {
  --tr-ink: #18221f;
  --tr-muted: #66716d;
  --tr-line: rgba(37, 56, 50, 0.14);
  --tr-paper: #fbfcfa;
  --tr-blue: #1768d4;
  --tr-teal: #147e78;
  --tr-amber: #a76316;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  color: var(--tr-ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(0.98rem, 0.94rem + 0.15vw, 1.06rem);
  line-height: 1.62;
  letter-spacing: -0.006em;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v2 *,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v2 *::before,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v2 *::after {
  box-sizing: border-box;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v2 p {
  margin: 0;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v2 h1,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v2 h2,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v2 h3 {
  margin: 0;
  color: var(--tr-ink);
  font-family: "IBM Plex Sans", system-ui, sans-serif !important;
  font-style: normal;
  text-wrap: balance;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-masthead {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-section-label {
  color: var(--tr-blue);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.2;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 0;
}

/* The reader's AI Stock Analysis strip owns report identity and the timestamp.
   Suppress duplicate labels in saved reports as well as the current template. */
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-masthead .tr-report-kicker,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-masthead .tr-report-asof {
  display: none;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v2 .tr-report-title-row h1 {
  margin-top: 0;
  font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.22;
  text-wrap: pretty;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-title-row h1 span {
  /* The persistent stock header already supplies the ticker. */
  display: none;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-brief {
  max-width: 72ch;
  text-wrap: pretty;
  padding: 0;
  border: 0;
  color: #3e4a46;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 24px;
  margin: 24px 0 0;
  border-top: 1px solid var(--tr-line);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-snapshot-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-snapshot-grid > div {
  min-width: 0;
  padding: 14px 0;
  border: 0;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-snapshot-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-snapshot-grid dt {
  color: var(--tr-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-snapshot-grid dd {
  margin: 4px 0 0;
  color: var(--tr-ink);
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-snapshot-grid small {
  display: block;
  margin-top: 4px;
  color: var(--tr-muted);
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.35;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-snapshot-grid [data-tone="positive"] dd {
  color: #18735b;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-snapshot-grid [data-tone="negative"] dd,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-snapshot-grid [data-tone="caution"] dd {
  color: #9a5715;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-executive-summary {
  margin: 26px 0 0;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--tr-line);
  background: transparent;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-executive-summary > .tr-section-label {
  display: none;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v2 .tr-executive-summary h2 {
  margin-top: 0;
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-executive-thesis {
  max-width: 810px;
  margin-top: 12px !important;
  color: #313c38;
  font-size: clamp(1.04rem, 0.98rem + 0.2vw, 1.17rem);
  line-height: 1.58;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-key-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--tr-line);
  background: var(--tr-line);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-key-point {
  min-width: 0;
  padding: 17px 18px 18px;
  background: rgba(251, 252, 250, 0.92);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-key-point > span,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-bottom-line > span {
  display: block;
  margin-bottom: 6px;
  color: var(--tr-teal);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-key-point--risk > span {
  color: var(--tr-amber);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-key-point p {
  color: #3c4743;
  font-size: 0.91rem;
  line-height: 1.5;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-bottom-line {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--tr-line);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-bottom-line > span {
  margin: 4px 0 0;
  color: var(--tr-blue);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-bottom-line p {
  color: #28332f;
  font-weight: 570;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-section {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: clamp(30px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--tr-line);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-section-heading {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 12px;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-section-heading > span {
  color: var(--tr-blue);
  font-size: 0.7rem;
  font-weight: 780;
  letter-spacing: 0.08em;
}

/* Number and title stay together; the Technical tab uses the shared class
   for a separate, edge-aligned layout. Keep this override inside reports. */
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v2 .tr-section-heading {
  justify-content: flex-start;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v2 .tr-section-heading > span {
  flex: 0 0 auto;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v2 .tr-section-heading h2 {
  min-width: 0;
  text-align: left;
  font-size: clamp(1.23rem, 1.13rem + 0.32vw, 1.48rem);
  font-weight: 720;
  letter-spacing: -0.022em;
  line-height: 1.2;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-section > p {
  max-width: 760px;
  color: #35403c;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-exhibit-stack {
  display: grid;
  gap: 24px;
  width: min(100%, 820px);
  margin: 24px auto 0;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-exhibit {
  width: min(100%, 820px);
  margin: 24px auto 0;
  overflow: hidden;
  border: 1px solid var(--tr-line);
  background: var(--tr-paper);
  box-shadow: 0 7px 18px rgba(24, 34, 31, 0.04);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-exhibit-stack .tr-exhibit {
  margin-top: 0;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-exhibit picture {
  display: block;
  width: 100%;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-exhibit img,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-exhibit .rel-perf-chart,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-exhibit .ma-chart,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-exhibit .vwap-chart {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  object-fit: contain;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-exhibit figcaption {
  display: flex;
  gap: 9px;
  padding: 11px 14px 12px;
  border-top: 1px solid var(--tr-line);
  color: var(--tr-muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-exhibit figcaption span {
  flex: 0 0 auto;
  color: var(--tr-blue);
  font-weight: 720;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-two-column-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--tr-line);
  background: var(--tr-line);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-two-column-notes > div {
  padding: 20px;
  background: rgba(251, 252, 250, 0.84);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v2 .tr-two-column-notes h3 {
  margin-bottom: 7px;
  color: var(--tr-teal);
  font-size: 0.77rem;
  font-weight: 760;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-two-column-notes > div:last-child h3 {
  color: var(--tr-amber);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-two-column-notes p {
  color: #3b4642;
  font-size: 0.93rem;
  line-height: 1.52;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-panel {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--tr-line);
  background: var(--tr-paper);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-panel-head {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid var(--tr-line);
  background: rgba(23, 104, 212, 0.035);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v2 .tr-data-panel-head h3 {
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-panel-head > span {
  color: var(--tr-muted);
  font-size: 0.68rem;
  line-height: 1.3;
  text-align: right;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-table-wrap {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-panel table {
  width: 100%;
  min-width: 640px;
  border: 0;
  border-collapse: collapse;
  color: #35403c;
  font-size: 0.79rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-panel th,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-panel td {
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid rgba(37, 56, 50, 0.09);
  text-align: right;
  white-space: nowrap;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-panel thead th {
  color: var(--tr-muted);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-panel th:first-child,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-panel td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 154px;
  background: var(--tr-paper);
  text-align: left;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-panel tbody th {
  color: #293530;
  font-weight: 620;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-panel tbody tr:last-child th,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-panel tbody tr:last-child td {
  border-bottom: 0;
}

/* Financial trends keep the original table for desktop, print and no-JS use.
   Phones show every reported period beneath its full metric label. */
.tr-mobile-trends {
  display: none;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-panel .tr-data-panel-head h3 {
  font-size: var(--tr-type-subsection-size, 16px);
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.3;
  text-transform: none;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-panel .tr-data-panel-head > span {
  font-size: 12px;
  line-height: 18px;
}

@media screen {
@container report-data (max-width: 639px) {
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-table--enhanced {
    display: none;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-trends {
    display: block;
    color: var(--tr-ink);
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-trend {
    margin: 0;
    padding: 10px 14px;
    border: 0;
    border-bottom: 1px solid var(--tr-line);
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-trend:last-child {
    border-bottom: 0;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-trend__label {
    margin: 0 0 6px;
    padding: 0;
    color: var(--tr-ink);
    font-size: var(--tr-type-body-size, 14px);
    font-weight: 500;
    line-height: 20px;
    letter-spacing: normal;
    text-transform: none;
    overflow-wrap: anywhere;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-trend__values {
    display: grid;
    grid-template-columns: repeat(var(--tr-trend-periods), minmax(0, 1fr));
    gap: 4px;
    margin: 0;
    padding: 0;
    font-variant-numeric: tabular-nums;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-trend__values > div {
    min-width: 0;
    text-align: right;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-trend__values dt {
    margin: 0 0 3px;
    padding: 0;
    color: var(--tr-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: normal;
    text-transform: none;
    overflow-wrap: anywhere;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-trend__values dd {
    margin: 0;
    padding: 0;
    color: var(--tr-ink);
    font-size: var(--tr-type-body-size, 14px);
    font-weight: 500;
    line-height: 20px;
    letter-spacing: normal;
    overflow-wrap: anywhere;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-trend__values > div:last-child dd {
    font-weight: 600;
  }
}
}

@media screen and (max-width: 420px) {
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-trend__values--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 10px;
  }
}

@media screen and (max-width: 360px) {
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-trend__values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 10px;
  }
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-research-scorecard {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin-top: 16px;
  border: 1px solid var(--tr-line);
  background: var(--tr-line);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-research-factor {
  flex: 1 1 calc(25% - 1px);
  min-width: 0;
  padding: 14px 15px;
  background: var(--tr-paper);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-research-factor:nth-child(n+5) {
  flex-grow: 1;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-research-factor > span,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-position-card > span {
  display: block;
  color: var(--tr-muted);
  font-size: 0.66rem;
  font-weight: 690;
  letter-spacing: 0.055em;
  line-height: 1.25;
  text-transform: uppercase;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-research-factor strong {
  display: block;
  margin-top: 6px;
  color: var(--tr-ink);
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
  font-weight: 730;
  line-height: 1;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-research-factor[data-tone="positive"] strong {
  color: #18735b;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-research-factor[data-tone="caution"] strong {
  color: #9a5715;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-research-factor small {
  color: var(--tr-muted);
  font-size: 0.64rem;
  line-height: 1.2;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-score-chip {
  display: inline-block;
  min-width: 68px;
  padding: 3px 7px;
  border-radius: 2px;
  background: rgba(102, 113, 109, 0.09);
  color: #4b5652;
  font-size: 0.7rem;
  font-weight: 680;
  text-align: center;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-score-chip[data-tone="positive"] {
  background: rgba(20, 126, 120, 0.1);
  color: #176c60;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-score-chip[data-tone="caution"] {
  background: rgba(167, 99, 22, 0.1);
  color: #8d5114;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-positioning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--tr-line);
  background: var(--tr-line);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-position-card {
  min-width: 0;
  padding: 18px;
  background: var(--tr-paper);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-position-card strong {
  display: block;
  margin-top: 8px;
  color: var(--tr-ink);
  font-size: 1.02rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1.25;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-position-card p {
  margin-top: 7px;
  color: #46514d;
  font-size: 0.79rem;
  line-height: 1.45;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-position-card small {
  display: block;
  margin-top: 11px;
  color: var(--tr-muted);
  font-size: 0.66rem;
  line-height: 1.3;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-note {
  margin-top: 9px !important;
  color: var(--tr-muted) !important;
  font-size: 0.68rem;
  line-height: 1.4;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-capital-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--tr-line);
  background: var(--tr-line);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-capital-strip > div {
  min-width: 0;
  padding: 14px 16px;
  background: rgba(251, 252, 250, 0.86);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-capital-strip span,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-capital-strip small {
  display: block;
  color: var(--tr-muted);
  font-size: 0.65rem;
  line-height: 1.3;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-capital-strip span {
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-capital-strip strong {
  display: block;
  margin: 6px 0 4px;
  color: var(--tr-ink);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1.2;
}

/* Compact disclosure: visible freshness at a glance, detail only on demand. */
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-disclosure {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-top: 1px solid var(--tr-line);
  background: transparent;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-disclosure > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 12px 0 0;
  color: #34413c;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-disclosure > summary::-webkit-details-marker {
  display: none;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-disclosure > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #64706b;
  border-bottom: 1.5px solid #64706b;
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
  transition: transform 150ms ease;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-disclosure[open] > summary::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-disclosure > summary:focus-visible {
  outline: 2px solid rgba(23, 104, 212, 0.55);
  outline-offset: -2px;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-disclosure > summary > span {
  color: #34413c;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-disclosure > summary > small {
  color: var(--tr-muted);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  line-height: 1.4;
  text-align: right;
  white-space: normal;
  text-wrap: pretty;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-disclosure[open] > summary {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--tr-line);
  background: transparent;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--tr-line);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-item {
  min-width: 0;
  padding: 12px 13px 13px;
  background: var(--tr-paper);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-item:last-child {
  grid-column: span 2;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-item-head {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  justify-content: space-between;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v2 .tr-source-item h3 {
  color: #34413c;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-status {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 5px;
  align-items: center;
  color: #53605b;
  font-size: 0.55rem;
  font-weight: 690;
  letter-spacing: 0.035em;
  line-height: 1.25;
  text-align: right;
  text-transform: uppercase;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7b8782;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-item[data-source-status="available"] .tr-source-status {
  color: #176f62;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-item[data-source-status="available"] .tr-source-status::before {
  background: #17806e;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-item[data-source-status="delayed"] .tr-source-status,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-item[data-source-status="limited"] .tr-source-status {
  color: #8b6118;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-item[data-source-status="delayed"] .tr-source-status::before,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-item[data-source-status="limited"] .tr-source-status::before {
  background: #b47a1c;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-item[data-source-status="unavailable"] {
  background: #f5f6f4;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-item[data-source-status="unavailable"] .tr-source-status,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-item[data-source-status="unavailable"] p {
  color: #7b8581;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-item p {
  margin-top: 7px !important;
  color: #4a5752;
  font-size: 0.68rem;
  line-height: 1.4;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-item time,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-item > small {
  display: block;
  margin-top: 7px;
  color: var(--tr-muted);
  font-size: 0.6rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-item time + small {
  margin-top: 2px;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-note {
  padding: 9px 13px;
  border-top: 1px solid var(--tr-line);
  background: #f7f9f7;
  color: var(--tr-muted);
  font-size: 0.62rem;
  line-height: 1.4;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-trail,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-risk-register {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--tr-line);
  background: var(--tr-paper);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-trail > ul,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-risk-register > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-trail > ul > li {
  display: grid;
  grid-template-columns: minmax(96px, 0.7fr) minmax(0, 3fr) auto;
  gap: 14px;
  align-items: baseline;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(37, 56, 50, 0.09);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-trail > ul > li:last-child {
  border-bottom: 0;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-trail li > span {
  color: var(--tr-teal);
  font-size: 0.64rem;
  font-weight: 720;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-trail li[data-source="news"] > span {
  color: var(--tr-blue);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-trail a {
  color: #273630;
  font-size: 0.79rem;
  font-weight: 610;
  line-height: 1.35;
  text-decoration-color: rgba(23, 104, 212, 0.28);
  text-underline-offset: 3px;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-trail small {
  color: var(--tr-muted);
  font-size: 0.66rem;
  white-space: nowrap;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-company-news {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--tr-line);
  background: var(--tr-paper);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-readthrough {
  display: grid;
  grid-template-columns: minmax(118px, 0.24fr) minmax(0, 1fr);
  gap: 20px;
  padding: 17px 20px 18px;
  border-top: 1px solid var(--tr-line);
  border-bottom: 1px solid var(--tr-line);
  background: linear-gradient(90deg, rgba(23, 104, 212, 0.055), rgba(23, 104, 212, 0.018));
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-readthrough > strong {
  color: var(--tr-blue);
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.065em;
  line-height: 1.35;
  text-transform: uppercase;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-readthrough > p {
  margin: 0 !important;
  color: #394842;
  font-size: 0.77rem;
  line-height: 1.55;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-group + .tr-news-group {
  border-top: 1px solid var(--tr-line);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-group-head {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  padding: 15px 20px 12px;
  background: #f7f9f8;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-group-head h4 {
  margin: 0;
  color: #2c3a35;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.055em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-group-head span {
  color: var(--tr-muted);
  font-size: 0.61rem;
  line-height: 1.35;
  white-space: nowrap;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--tr-line);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-group[data-news-group="direct"] .tr-news-grid {
  grid-template-columns: 1fr;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-group[data-news-group="featured"] .tr-news-grid,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-grid--featured,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-featured {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-card {
  position: relative;
  min-width: 0;
  padding: 18px 20px 20px;
  background: var(--tr-paper);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-group[data-news-group="featured"] .tr-news-card {
  padding-top: 20px;
  box-shadow: inset 0 2px 0 rgba(23, 104, 212, 0.22);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  align-items: center;
  margin: 8px 0 12px;
  color: var(--tr-muted);
  font-size: 0.65rem;
  line-height: 1.25;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-meta > span {
  color: #5b6863;
  font-weight: 560;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-meta > span strong {
  color: var(--tr-muted);
  font-size: 0.58rem;
  font-weight: 730;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-meta small {
  padding: 3px 7px;
  border: 1px solid rgba(77, 91, 84, 0.18);
  border-radius: 999px;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-meta .tr-news-type,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-meta [data-news-type] {
  border-color: rgba(56, 73, 67, 0.16);
  background: rgba(56, 73, 67, 0.045);
  color: #52605a;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-meta .tr-news-type[data-news-type="issuer_reported"],
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-meta [data-news-type="issuer_reported"] {
  border-color: rgba(23, 104, 212, 0.24);
  background: rgba(23, 104, 212, 0.055);
  color: #205eae;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-meta .tr-news-type[data-news-type="company_coverage"],
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-meta [data-news-type="company_coverage"] {
  border-color: rgba(20, 126, 120, 0.23);
  background: rgba(20, 126, 120, 0.055);
  color: #176f69;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-meta .tr-news-type[data-news-type="industry_context"],
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-meta [data-news-type="industry_context"] {
  border-color: rgba(96, 106, 101, 0.2);
  background: rgba(96, 106, 101, 0.045);
  color: #616b67;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-meta small[data-tone="positive"] {
  color: #117b62;
  border-color: rgba(17, 123, 98, 0.24);
  background: rgba(17, 123, 98, 0.055);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-meta small[data-tone="negative"] {
  color: #a34c3f;
  border-color: rgba(163, 76, 63, 0.24);
  background: rgba(163, 76, 63, 0.055);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-meta small[data-tone="neutral"] {
  color: #8a6518;
  border-color: rgba(138, 101, 24, 0.24);
  background: rgba(138, 101, 24, 0.055);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-card h4 {
  margin: 0;
  color: var(--tr-ink);
  font-size: 0.94rem;
  font-weight: 690;
  line-height: 1.34;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-card .tr-news-summary {
  margin: 0 !important;
  color: #46534e;
  font-size: 0.8rem;
  line-height: 1.55;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-card .tr-news-insight {
  margin: 12px 0 0 !important;
  padding: 10px 12px;
  border-left: 2px solid rgba(23, 104, 212, 0.48);
  background: rgba(23, 104, 212, 0.035);
  color: #46534e;
  font-size: 0.75rem;
  line-height: 1.52;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-card .tr-news-insight strong {
  display: block;
  margin-bottom: 3px;
  color: var(--tr-blue);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-more {
  border-top: 1px solid var(--tr-line);
  background: #f7f9f8;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-more > summary {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: #3a4843;
  cursor: pointer;
  font-size: 0.69rem;
  font-weight: 690;
  letter-spacing: 0.025em;
  line-height: 1.35;
  list-style: none;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-more > summary::-webkit-details-marker {
  display: none;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-more > summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--tr-blue);
  font-size: 1rem;
  font-weight: 520;
  line-height: 1;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-more[open] > summary {
  border-bottom: 1px solid var(--tr-line);
  background: rgba(23, 104, 212, 0.025);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-more[open] > summary::after {
  content: "−";
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-more > summary:focus-visible {
  outline: 2px solid rgba(23, 104, 212, 0.55);
  outline-offset: -2px;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-card--compact {
  padding: 14px 16px 15px;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-card--compact h4 {
  font-size: 0.82rem;
  line-height: 1.35;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-card--compact .tr-news-meta {
  gap: 5px 9px;
  margin: 7px 0 9px;
  font-size: 0.61rem;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-card--compact .tr-news-summary {
  font-size: 0.73rem;
  line-height: 1.47;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-card--compact .tr-news-insight {
  margin-top: 9px !important;
  padding: 8px 10px;
  font-size: 0.69rem;
  line-height: 1.45;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-more > .tr-news-empty {
  padding: 11px 16px 13px;
  border-top: 1px solid var(--tr-line);
  background: var(--tr-paper);
  font-size: 0.68rem;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-empty {
  padding: 18px 20px;
  color: var(--tr-muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-evidence-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 10px;
  padding: 10px 12px;
  border-top: 1px solid rgba(37, 56, 50, 0.1);
  border-bottom: 1px solid rgba(37, 56, 50, 0.1);
  color: var(--tr-muted);
  font-size: 0.61rem;
  line-height: 1.45;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-evidence-note > strong {
  flex: 0 0 auto;
  color: #3c4a45;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-evidence-note > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-evidence-note span:not(:last-child)::after {
  content: "·";
  margin-left: 12px;
  color: rgba(77, 91, 84, 0.42);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-risk-register > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--tr-line);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-risk-register li {
  min-width: 0;
  padding: 13px 16px;
  background: var(--tr-paper);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-risk-register li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-risk-register strong,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-risk-register span {
  display: block;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-risk-register strong {
  color: #34413c;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-risk-register span {
  margin-top: 4px;
  color: var(--tr-muted);
  font-size: 0.64rem;
  line-height: 1.35;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-factor-intro {
  margin-bottom: 18px !important;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-factor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-factor {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--tr-line);
  background: var(--tr-paper);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-factor-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--tr-line);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-factor-head > span {
  color: var(--tr-muted);
  font-size: 0.73rem;
  font-weight: 720;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-factor-score::after {
  content: "/100";
  margin-left: 2px;
  color: var(--tr-muted);
  font-size: 0.58em;
  font-weight: 560;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-factor-score {
  color: var(--tr-blue);
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
  font-weight: 760;
  line-height: 1;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-factor-coverage {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 10px;
  padding: 4px 7px;
  border: 1px solid rgba(83, 96, 90, 0.16);
  border-radius: 999px;
  background: rgba(83, 96, 90, 0.045);
  color: #5e6965;
  font-size: 0.58rem;
  font-variant-numeric: tabular-nums;
  font-weight: 690;
  letter-spacing: 0.025em;
  line-height: 1.2;
  white-space: nowrap;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-factor-coverage::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #77827e;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-factor-coverage[data-coverage-band="broad"] {
  border-color: rgba(20, 126, 120, 0.22);
  background: rgba(20, 126, 120, 0.055);
  color: #176f66;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-factor-coverage[data-coverage-band="broad"]::before {
  background: #168276;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-factor-coverage[data-coverage-band="moderate"] {
  border-color: rgba(167, 99, 22, 0.22);
  background: rgba(167, 99, 22, 0.055);
  color: #8a5b1c;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-factor-coverage[data-coverage-band="moderate"]::before {
  background: #ad711d;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-factor-coverage[data-coverage-band="limited"] {
  border-color: rgba(150, 77, 63, 0.22);
  background: rgba(150, 77, 63, 0.05);
  color: #8d5146;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-factor-coverage[data-coverage-band="limited"]::before {
  background: #a85c4c;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-factor p {
  margin-top: 12px;
  color: #46514d;
  font-size: 0.86rem;
  line-height: 1.48;
}

/* Fundamental trends use inline SVG so they remain sharp at every reader size. */
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-exhibit {
  width: 100%;
  max-width: none;
  margin: 22px auto 0;
  overflow: hidden;
  border: 1px solid var(--tr-line);
  background: var(--tr-paper);
  box-shadow: 0 7px 18px rgba(24, 34, 31, 0.04);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-exhibit > svg,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-exhibit svg[data-tr-chart="fundamental-trend"] {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-chart {
  width: 100%;
  background: #fbfcfa;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 15px 17px 13px;
  background: rgba(23, 104, 212, 0.035);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-head > div {
  min-width: 0;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-kicker,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-description,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-meta,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-label span,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-latest span,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-latest small {
  display: block;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-kicker {
  color: #293530;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.055em;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-description {
  margin-top: 2px;
  color: var(--tr-muted);
  font-size: 0.69rem;
  line-height: 1.35;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-meta {
  flex: 0 0 auto;
  padding-top: 2px;
  color: var(--tr-muted);
  font-size: 0.65rem;
  letter-spacing: 0.025em;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 142px;
  gap: 16px;
  align-items: center;
  min-height: 104px;
  padding: 10px 17px;
  border-top: 1px solid var(--tr-line);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-label strong {
  display: block;
  color: #2c3934;
  font-size: 0.75rem;
  font-weight: 740;
  letter-spacing: 0.045em;
  line-height: 1.25;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-label span,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-latest span {
  margin-top: 4px;
  color: #7a8581;
  font-size: 0.61rem;
  font-weight: 680;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-row svg {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  overflow: visible;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-latest {
  min-width: 0;
  text-align: right;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-latest strong {
  display: block;
  margin-top: 1px;
  color: #26332e;
  font-size: 1.03rem;
  font-variant-numeric: tabular-nums;
  font-weight: 720;
  line-height: 1.25;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-latest small {
  margin-top: 3px;
  font-size: 0.66rem;
  font-variant-numeric: tabular-nums;
  font-weight: 640;
  line-height: 1.3;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-delta--up {
  color: var(--tr-teal);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-delta--down,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-missing {
  color: var(--tr-amber);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-delta--flat {
  color: var(--tr-muted);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-exhibit figcaption {
  display: flex;
  gap: 9px;
  padding: 10px 14px 11px;
  border-top: 1px solid var(--tr-line);
  color: var(--tr-muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-exhibit figcaption span {
  flex: 0 0 auto;
  color: var(--tr-blue);
  font-weight: 720;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-footer {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 25px 0 8px;
  color: var(--tr-muted);
  font-size: 0.75rem;
  line-height: 1.48;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-footer .tr-methodology,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-footer .tr-data-freshness,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-footer .trade-ranks-disclaimer {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-footer .tr-data-freshness,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-footer .trade-ranks-disclaimer {
  margin-top: 9px;
}

@media (max-width: 820px) {
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-key-points,
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-factor-grid {
    grid-template-columns: 1fr;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-research-scorecard {
    display: flex;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-research-factor,
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-research-factor:nth-child(n+5) {
    flex: 1 1 calc(50% - 1px);
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-research-factor:last-child:nth-child(odd) {
    flex-basis: 100%;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-positioning-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-row {
    grid-template-columns: 125px minmax(0, 1fr) 122px;
    gap: 11px;
    padding-left: 14px;
    padding-right: 14px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-meta {
    max-width: 245px;
    white-space: normal;
  }
}

@media (max-width: 820px) {
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-snapshot-grid > div:nth-child(n+3) {
    border-top: 1px solid var(--tr-line);
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-snapshot-grid--five > div:nth-child(5) {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 20px;
    align-items: center;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-snapshot-grid--five > div:nth-child(5) dd {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-snapshot-grid--five > div:nth-child(5) small {
    grid-column: 1;
  }
}

@media (max-width: 600px) {
  body.reading:not(.stock-profile-mode) #report-content.report-content:has(.tr-report-v2) {
    padding: 24px 22px 76px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-panel-head {
    display: block;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-panel-head > span {
    display: block;
    margin-top: 3px;
    text-align: left;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-panel table {
    min-width: 590px;
    font-size: 0.73rem;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-panel th,
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-panel td {
    padding: 10px 11px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-head {
    display: block;
    padding: 13px 14px 11px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-meta {
    max-width: none;
    margin-top: 6px;
    text-align: left;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
    min-height: 0;
    padding: 13px 14px 11px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-row svg {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-latest {
    grid-column: 2;
    grid-row: 1;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-label {
    grid-column: 1;
    grid-row: 1;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-bottom-line {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-section {
    padding: 29px 8px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-two-column-notes {
    grid-template-columns: 1fr;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-capital-strip,
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-grid,
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-grid,
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-risk-register > ul,
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-positioning-grid {
    grid-template-columns: 1fr;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-risk-register li:last-child:nth-child(odd) {
    grid-column: auto;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-trail > ul > li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-trail small {
    white-space: normal;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-disclosure > summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    padding: 12px 0 0;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-disclosure > summary > small {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
    white-space: normal;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-disclosure > summary::after {
    grid-column: 2;
    grid-row: 1;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-item {
    padding: 11px 12px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-item:last-child {
    grid-column: auto;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-card {
    padding: 16px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-card--compact {
    padding: 13px 14px 14px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-more > summary {
    padding: 11px 16px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-readthrough {
    display: block;
    padding: 15px 16px 16px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-readthrough > p {
    margin-top: 6px !important;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-group-head {
    display: block;
    padding: 13px 16px 10px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-news-group-head span {
    display: block;
    margin-top: 4px;
    white-space: normal;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-evidence-note {
    display: block;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-evidence-note > div {
    margin-top: 6px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-exhibit {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-exhibit figcaption {
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-disclosure > summary::after {
    transition: none;
  }
}

/* Stock-profile premium research promo: shared hierarchy and responsive layout. */
body.stock-profile-mode .stock-profile-ai-insights,
body.stock-profile-mode .stock-profile-ai-insights *,
body.stock-profile-mode .stock-profile-ai-insights *::before,
body.stock-profile-mode .stock-profile-ai-insights *::after {
  box-sizing: border-box;
}

body.stock-profile-mode .stock-profile-ai-insights {
  --tr-promo-cyan: #26c3df;
  --tr-promo-cyan-soft: rgba(38, 195, 223, .12);
  --tr-promo-line: rgba(126, 197, 199, .2);
  --tr-promo-card: rgba(8, 22, 28, .74);
  --tr-promo-copy: #c3ced4;
  padding-bottom: 24px;
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-insights-header {
  padding: 26px 24px 22px;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-insights-eyebrow {
  gap: 9px;
  color: var(--tr-promo-cyan);
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.25;
}

body.stock-profile-mode .stock-profile-section.stock-profile-ai-insights .stock-profile-insights-header h2 {
  max-width: 720px;
  margin: 13px 0 9px;
  color: #f2f7f8;
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.32rem, 3vw, 1.68rem);
  font-weight: 650;
  letter-spacing: -.015em;
  line-height: 1.13;
  text-align: left;
  text-wrap: balance;
}

body.stock-profile-mode .stock-profile-section.stock-profile-ai-insights .stock-profile-insights-header p.stock-profile-insights-intro {
  max-width: 720px;
  margin: 0;
  padding: 0;
  color: #afbdc5;
  font-size: .93rem;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
  text-wrap: pretty;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-proof > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 9px;
  color: #b8dfe5;
  border: 1px solid rgba(73, 195, 207, .28);
  border-radius: 999px;
  background: rgba(14, 52, 61, .45);
  font-size: .61rem;
  font-weight: 600;
  letter-spacing: .035em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-proof > span::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #43d6c7;
  box-shadow: 0 0 0 3px rgba(67, 214, 199, .09);
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-takeaway {
  margin-right: 24px;
  margin-left: 24px;
  padding: 19px 19px 17px;
  border: 1px solid rgba(149, 194, 201, .42);
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-takeaway-title,
body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-coverage-title,
body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-summary-title {
  color: var(--tr-promo-cyan);
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .105em;
  line-height: 1.25;
  text-align: left;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-takeaway p.stock-profile-takeaway-copy {
  max-width: 720px;
  margin: 11px 0 0;
  color: #26373c;
  font-size: .89rem;
  font-weight: 450;
  line-height: 1.56;
  text-align: left;
  text-wrap: pretty;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-actions {
  width: auto;
  margin: 18px 24px 0;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-link {
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  width: 100%;
  min-height: 70px;
  padding: 10px 17px 10px 14px;
  border: 1px solid rgba(202, 252, 255, .28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .18);
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-link:focus-visible {
  outline: 3px solid #55d7ea;
  outline-offset: 3px;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-icon,
body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-icon > svg {
  width: 44px;
  height: 44px;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-copy {
  min-width: 0;
  gap: 4px;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-title {
  color: #071014;
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.22;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-meta {
  color: #263b40;
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .025em;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-open {
  min-height: 44px;
  padding-left: 12px;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-coverage {
  margin: 23px 24px 0;
  padding-top: 20px;
  border-top: 1px solid var(--tr-promo-line);
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-coverage-note {
  max-width: 700px;
  margin-top: 7px;
  color: #82959d;
  font-size: .64rem;
  font-weight: 500;
  line-height: 1.42;
  text-align: left;
  text-wrap: pretty;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-coverage-item {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 96px;
  padding: 14px 15px 15px;
  overflow: hidden;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(126, 197, 199, .18);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(14, 36, 43, .78), rgba(7, 20, 26, .78));
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-coverage-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #2cc5de, rgba(44, 197, 222, .16));
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-coverage-item strong {
  display: block;
  color: #eef5f6;
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.25;
  text-transform: none;
  overflow-wrap: anywhere;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-coverage-item small {
  display: block;
  color: #95a7af;
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-summary {
  margin: 23px 24px 0;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid var(--tr-promo-line);
  border-radius: 0;
  background: transparent;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-summary-note {
  max-width: 700px;
  margin: 7px 0 12px;
  color: #8fa0a9;
  font-size: .66rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  text-wrap: pretty;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-card,
body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-card + .stock-profile-score-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 50px;
  padding: 7px 9px;
  border: 1px solid rgba(126, 197, 199, .16);
  border-radius: 7px;
  background: var(--tr-promo-card);
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-icon svg {
  width: 21px;
  height: 21px;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-copy {
  min-width: 0;
  gap: 4px;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-label {
  color: #eef4f5;
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .65rem;
  font-weight: 700;
}

body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-number {
  font-size: .92rem;
}

@media (max-width: 700px) {
  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-label-long {
    display: none;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-label-short {
    display: inline;
  }
}

@media (max-width: 560px) {
  body.stock-profile-mode .stock-profile-ai-insights {
    padding-bottom: 18px;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-insights-header {
    padding: 21px 16px 18px;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-insights-eyebrow {
    max-width: calc(100% - 42px);
    font-size: .58rem;
  }

  body.stock-profile-mode .stock-profile-section.stock-profile-ai-insights .stock-profile-insights-header h2 {
    margin-top: 11px;
    font-size: clamp(1.18rem, 5.7vw, 1.4rem);
    font-weight: 650;
    line-height: 1.16;
  }

  body.stock-profile-mode .stock-profile-section.stock-profile-ai-insights .stock-profile-insights-header p.stock-profile-insights-intro {
    font-size: .82rem;
    line-height: 1.5;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-proof {
    gap: 6px;
    margin-top: 14px;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-proof > span {
    min-height: 26px;
    padding: 4px 8px;
    font-size: .54rem;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-takeaway {
    margin-right: 16px;
    margin-left: 16px;
    padding: 17px 15px 15px;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-takeaway p.stock-profile-takeaway-copy {
    font-size: .81rem;
    font-weight: 400;
    line-height: 1.54;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-actions {
    width: auto;
    margin: 16px 16px 0;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-link {
    grid-template-columns: 40px minmax(0, 1fr) 24px;
    gap: 9px;
    min-height: 64px;
    padding: 9px 11px;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-icon,
  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-icon > svg {
    width: 40px;
    height: 40px;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-title {
    font-size: .86rem;
    line-height: 1.18;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-meta {
    font-size: .55rem;
    line-height: 1.38;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-open {
    width: 24px;
    min-height: 44px;
    padding-left: 7px;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-open-label {
    display: none;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-coverage {
    margin: 21px 16px 0;
    padding-top: 18px;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-coverage-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 12px;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-coverage-note {
    font-size: .59rem;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-coverage-item {
    min-height: 0;
    padding: 12px 13px 13px;
    gap: 5px;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-coverage-item strong {
    font-size: .72rem;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-coverage-item small {
    font-size: .65rem;
    line-height: 1.42;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-summary {
    margin: 21px 16px 0;
    padding-top: 18px;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-summary-note {
    margin-bottom: 10px;
    font-size: .6rem;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-card,
  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-card + .stock-profile-score-card {
    gap: 4px;
    min-height: 46px;
    padding: 6px 4px;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-icon {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-icon svg {
    width: 18px;
    height: 18px;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-label {
    font-size: .57rem;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-number {
    font-size: .8rem;
  }
}

@media (max-width: 360px) {
  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-proof > span {
    white-space: normal;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-link {
    grid-template-columns: 38px minmax(0, 1fr) 22px;
    gap: 7px;
    padding-right: 9px;
    padding-left: 9px;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-icon,
  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-icon > svg {
    width: 38px;
    height: 38px;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-title {
    font-size: .8rem;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-report-meta {
    font-size: .52rem;
  }

  body.stock-profile-mode .stock-profile-ai-insights .stock-profile-score-icon {
    display: none;
  }
}

/* Symbol fitting uses the visible quote bounds, including changing live prices. */
body.reading #track-title .report-symbol-txt,
body.reading #track-title .symbol-readmode {
  display: inline-block;
  min-width: 0 !important;
  white-space: nowrap;
}
body.reading #track-title .report-symbol-txt,
body.reading #track-title .track-logo-report,
body.reading #track-title .track-price__value,
body.reading #track-title .track-price__change-group {
  transition: none !important;
}
/* An exceptional long symbol/large quote can borrow room from the artwork. */
body.reading:not(.report-header-compact) #track-title.tr-masthead-tight .track-logo-report {
  width: 44px !important;
  height: 44px !important;
}
body.reading:not(.report-header-compact) #track-title.tr-masthead-tight .track-price__value {
  font-size: 1.25rem !important;
}
body.reading:not(.report-header-compact) #track-title.tr-masthead-tight .track-price__change-group,
body.reading:not(.report-header-compact) #track-title.tr-masthead-tight .track-price__change,
body.reading:not(.report-header-compact) #track-title.tr-masthead-tight .track-price__pct {
  font-size: .65rem !important;
}
/* The compact quote keeps both readings inside its own column on phones. */
@media (max-width: 600px) {
  body.reading.report-header-compact #track-title .track-price {
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 4px !important;
  }
  body.reading.report-header-compact #track-title .track-price__change-group {
    flex: 0 0 auto !important;
  }
}

/* Dedicated valuation view; native table remains the desktop/print/no-JS view. */
.tr-mobile-valuations {
  display: none;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-valuation-panel .tr-data-panel-head h3 {
  font-size: var(--tr-type-subsection-size, 16px);
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.3;
  text-transform: none;
}

@media screen {
@container report-data (max-width: 639px) {
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-valuation-table--enhanced {
    display: none;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-valuations {
    display: block;
    color: var(--tr-ink);
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-valuation {
    margin: 0;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--tr-line);
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-valuation:last-child {
    border-bottom: 0;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-valuation__label {
    margin: 0 0 8px;
    padding: 0;
    color: var(--tr-ink);
    font-size: var(--tr-type-body-size, 14px);
    font-weight: 500;
    line-height: 20px;
    letter-spacing: normal;
    text-transform: none;
    overflow-wrap: anywhere;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-valuation__values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    margin: 0;
    padding: 0;
    font-variant-numeric: tabular-nums;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-valuation__values > div {
    min-width: 0;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-valuation__values dt {
    margin: 0 0 3px;
    padding: 0;
    color: var(--tr-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: normal;
    text-transform: none;
    overflow-wrap: anywhere;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-valuation__values dd {
    margin: 0;
    padding: 0;
    color: var(--tr-ink);
    font-size: var(--tr-type-body-size, 14px);
    font-weight: 500;
    line-height: 20px;
    letter-spacing: normal;
    overflow-wrap: anywhere;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-valuation__values > div:not(.tr-mobile-valuation__peers) dd {
    display: flex;
    align-items: center;
    min-height: 26px;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-valuation__values .tr-score-chip {
    min-width: 0;
    max-width: 100%;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-valuation__peers {
    grid-column: 1 / -1;
  }

  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-valuation__peers dd {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
  }
}
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-valuation-panel .tr-data-panel-head > span { font-size:12px; line-height:18px; }

@media screen {
@container report-data (max-width: 639px) {
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-valuation__peers { display:flex; flex-wrap:wrap; align-items:baseline; gap:0 6px; }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-valuation__peers dt { margin:0; }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-valuation__peers dd { min-width:0; }
}
}

/* Native SVG is retained for desktop, print and unrecognized chart shapes. */
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-row svg.tr-fundamental-mobile-chart {
  display: none;
}

@media screen {
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-row--responsive > svg[data-tr-series]:not(.tr-fundamental-mobile-chart) {
    display: none;
  }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-row svg.tr-fundamental-mobile-chart {
    display: block;
    width: 100%;
    height: 120px;
    overflow: visible;
    grid-column: 2;
    grid-row: 1;
    font-family: var(--tr-type-family, "IBM Plex Sans", system-ui, sans-serif);
    font-variant-numeric: tabular-nums;
  }
  .tr-fundamental-mobile-chart .tr-fundamental-mobile-guide,
  .tr-fundamental-mobile-chart .tr-fundamental-mobile-zero {
    stroke: var(--tr-line);
    stroke-width: 1;
  }
  .tr-fundamental-mobile-chart .tr-fundamental-mobile-guide {
    stroke-dasharray: 2 4;
  }
  .tr-fundamental-mobile-chart .tr-fundamental-mobile-zero {
    stroke: var(--tr-muted);
    opacity: .55;
  }
  .tr-fundamental-mobile-chart .tr-fundamental-mobile-line {
    stroke: var(--tr-blue);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .tr-fundamental-mobile-chart .tr-fundamental-mobile-point {
    fill: var(--tr-paper);
    stroke: var(--tr-blue);
    stroke-width: 2;
  }
  .tr-fundamental-mobile-chart .tr-fundamental-mobile-point[data-latest="true"] {
    fill: var(--tr-blue);
  }
  .tr-fundamental-mobile-chart .tr-fundamental-mobile-point.is-negative {
    fill: var(--tr-amber);
    stroke: var(--tr-amber);
  }
  .tr-fundamental-mobile-chart .tr-fundamental-mobile-value {
    fill: var(--tr-ink);
    font-size: 12px;
    font-weight: 400;
  }
  .tr-fundamental-mobile-chart .tr-fundamental-mobile-value[data-latest="true"] {
    font-weight: 600;
  }
  .tr-fundamental-mobile-chart .tr-fundamental-mobile-date {
    fill: var(--tr-muted);
    font-size: 11px;
    font-weight: 400;
  }
}

/* Select a compact table only when its actual content area cannot fit it. */
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-data-panel {
  container-type: inline-size;
  container-name: report-data;
}
@media screen {
@container report-operating (max-width:700px) {
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-row--responsive {
    grid-template-columns: minmax(0,1fr) auto;
    gap: 8px 14px;
  }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-row--responsive .tr-fundamental-label {grid-column:1;grid-row:1;}
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-row--responsive .tr-fundamental-latest {grid-column:2;grid-row:1;}
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-row--responsive svg.tr-fundamental-mobile-chart {grid-column:1 / -1;grid-row:2;}
}
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-chart {
  container-type: inline-size;
  container-name: report-operating;
}
@media screen {
  @container report-operating (max-width:700px) {
    body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-row {
      grid-template-columns: minmax(0,1fr) auto;
      gap: 8px 14px;
    }
    body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-label {grid-column:1;grid-row:1;}
    body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-latest {grid-column:2;grid-row:1;}
    body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-row > svg {grid-column:1 / -1;grid-row:2;}
  }
  @container report-operating (min-width:600px) and (max-width:700px) {
    body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-rows {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
    body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-row:nth-child(even) {border-left:1px solid var(--tr-line);}
  }
}

/* Append after the existing reader rules. This pass applies only to the
   current saved v3 document; masthead, Profile and legacy reports retain theirs. */
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 {
  font-family: var(--tr-type-family, "IBM Plex Sans", system-ui, sans-serif);
  font-size: var(--tr-type-body-size, 14px);
  line-height: 22px;
  letter-spacing: normal;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(
  .tr-executive-thesis,
  .tr-key-point p,
  .tr-bottom-line p,
  .tr-report-section > p,
  .tr-two-column-notes p,
  .tr-news-readthrough > p,
  .tr-news-card .tr-news-summary,
  .tr-news-card .tr-news-insight,
  .tr-factor p
) {
  font-size: var(--tr-type-body-size, 14px);
  line-height: 22px;
  letter-spacing: normal;
  /* Keep short final lines with their paragraph as the reader resizes. */
  text-wrap: pretty;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(
  .tr-executive-summary h2,
  .tr-section-heading h2
) {
  font-size: var(--tr-type-section-size, 21px);
  font-weight: var(--tr-type-heading-weight, 600);
  line-height: 26px;
  letter-spacing: normal;
  text-transform: none;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(
  .tr-two-column-notes h3,
  .tr-data-panel-head h3,
  .tr-source-item h3,
  .tr-news-group-head h4,
  .tr-news-card h4
) {
  font-size: var(--tr-type-subsection-size, 16px);
  font-weight: var(--tr-type-heading-weight, 600);
  line-height: 20px;
  letter-spacing: normal;
  text-transform: none;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(
  .tr-data-panel-head > span,
  .tr-data-note,
  .tr-position-card p,
  .tr-source-disclosure > summary > span,
  .tr-source-disclosure > summary > small,
  .tr-source-item p,
  .tr-source-item time,
  .tr-source-item > small,
  .tr-source-note,
  .tr-news-group-head > span,
  .tr-news-meta,
  .tr-news-card--compact .tr-news-meta,
  .tr-news-more > .tr-news-empty,
  .tr-news-empty,
  .tr-evidence-note,
  .tr-risk-register span,
  .tr-fundamental-description,
  .tr-fundamental-meta,
  .tr-report-footer,
  .tr-exhibit figcaption,
  .tr-fundamental-exhibit figcaption
) {
  font-size: var(--tr-type-meta-size, 12px);
  line-height: 18px;
  letter-spacing: normal;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(
  .tr-news-readthrough > strong,
  .tr-news-insight > strong,
  .tr-news-meta > span strong,
  .tr-evidence-note > strong
) {
  font-size: var(--tr-type-meta-size, 12px);
  font-weight: var(--tr-type-label-weight, 500);
  line-height: 18px;
  letter-spacing: normal;
  text-transform: none;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(
  .tr-source-status,
  .tr-factor-coverage,
  .tr-news-meta small,
  .tr-position-card small,
  .tr-research-factor small,
  .tr-source-trail small,
  .tr-snapshot-grid small,
  .tr-capital-strip small,
  .tr-fundamental-latest small
) {
  font-size: var(--tr-type-dense-size, 11px);
  line-height: 16px;
  letter-spacing: normal;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(
  .tr-source-status,
  .tr-factor-coverage,
  .tr-news-meta small
) {
  font-weight: var(--tr-type-label-weight, 500);
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Compact research captions keep their intentional uppercase treatment. */
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(
  .tr-section-label,
  .tr-key-point > span,
  .tr-bottom-line > span,
  .tr-research-factor > span,
  .tr-position-card > span,
  .tr-capital-strip span,
  .tr-factor-head > span,
  .tr-fundamental-kicker,
  .tr-fundamental-label span,
  .tr-fundamental-latest span,
  .tr-source-trail li > span
) {
  font-size: var(--tr-type-dense-size, 11px);
  font-weight: var(--tr-type-label-weight, 500);
  line-height: 16px;
  letter-spacing: .02em;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(
  .tr-risk-register strong,
  .tr-fundamental-label strong,
  .tr-source-trail a
) {
  font-size: var(--tr-type-body-size, 14px);
  font-weight: var(--tr-type-label-weight, 500);
  line-height: 20px;
  letter-spacing: normal;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-data-panel table {
  font-size: var(--tr-type-body-size, 14px);
  line-height: 20px;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-data-panel thead th {
  font-size: var(--tr-type-meta-size, 12px);
  font-weight: var(--tr-type-label-weight, 500);
  line-height: 18px;
  letter-spacing: .02em;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-data-panel tbody th {
  font-weight: var(--tr-type-label-weight, 500);
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-data-panel .tr-score-chip {
  font-size: var(--tr-type-body-size, 14px);
  font-weight: var(--tr-type-label-weight, 500);
  line-height: 20px;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-source-item-head {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-source-item-head > h3 {
  min-width: 0;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-source-status {
  flex: 0 1 auto;
  min-width: 0;
  text-align: left;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-source-status::before,
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-factor-coverage::before {
  flex-shrink: 0;
}

body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-news-more > summary {
  min-height: 44px;
  font-size: var(--tr-type-meta-size, 12px);
  font-weight: var(--tr-type-label-weight, 500);
  line-height: 18px;
  letter-spacing: normal;
}

@media (max-width: 600px) {
  /* Match the featured selectors; a generic .tr-news-grid override loses to
     their desktop minmax(300px, 1fr), clipping cards inside a narrow panel. */
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(
    .tr-news-group[data-news-group="featured"] .tr-news-grid,
    .tr-news-grid--featured,
    .tr-news-featured
  ) {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Report metadata uses its shared reading role at every device width. */
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 {
  --tr-type-meta-size:12px;
  --tr-type-dense-size:11px;
}
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-data-panel-head {align-items:flex-start;flex-wrap:wrap;gap:6px 20px;}
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-data-panel-head h3 {flex:0 1 auto;}
body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-data-panel-head > span {flex:1 1 280px;min-width:0;}

/* Compact saved-report scores; preserve the source scores, tones and rationale. */
@media screen {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-research-scorecard {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin-top: 20px;
    border: 0;
    background: transparent !important;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-research-factor {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 44px;
    padding: 10px 0;
    border-bottom: 1px solid var(--tr-reading-line, var(--tr-line));
    background: transparent !important;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-research-factor > span {
    min-width: 0;
    color: var(--tr-reading-text, var(--tr-ink));
    font-size: var(--tr-type-body-size, 14px);
    font-weight: 500;
    line-height: 20px;
    letter-spacing: normal;
    text-transform: none;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-research-factor strong {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    margin: 0;
    font-size: var(--tr-type-subsection-size, 16px);
    font-weight: 600;
    line-height: 20px;
    white-space: nowrap;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-research-factor .tr-research-factor__denominator {
    color: var(--tr-reading-muted, var(--tr-muted));
    font-size: var(--tr-type-meta-size, 12px);
    font-weight: 400;
    line-height: 18px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-research-factor > small {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-factor-grid {
    gap: 0 24px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-factor {
    display: flex;
    flex-direction: column;
    padding: 14px 0;
    border: 0 !important;
    border-top: 1px solid var(--tr-reading-line, var(--tr-line)) !important;
    background: transparent !important;
    box-shadow: none;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-factor-head {
    order: 0;
    align-items: baseline;
    gap: 12px;
    padding: 0;
    border: 0;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-factor-head > span {
    font-size: var(--tr-type-body-size, 14px);
    font-weight: 600;
    line-height: 20px;
    letter-spacing: normal;
    text-transform: none;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-factor-score {
    flex: 0 0 auto;
    font-size: var(--tr-type-section-size, 21px);
    font-weight: 600;
    line-height: 26px;
    white-space: nowrap;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-factor-score::after {
    margin-left: 4px;
    font-size: var(--tr-type-meta-size, 12px);
    font-weight: 400;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-factor > p {
    order: 1;
    margin: 8px 0 0 !important;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-factor-coverage {
    order: 2;
    display: block;
    margin: 8px 0 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    color: var(--tr-reading-muted, var(--tr-muted)) !important;
    font-size: var(--tr-type-meta-size, 12px);
    font-weight: 400;
    line-height: 18px;
    letter-spacing: normal;
    white-space: normal;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-factor-coverage::before { display: none; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-factor-coverage[hidden] { display: none !important; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-factor-coverage-summary {
    margin: 12px 0 0 !important;
    color: var(--tr-reading-muted, var(--tr-muted)) !important;
    font-size: var(--tr-type-meta-size, 12px) !important;
    font-weight: 400;
    line-height: 18px !important;
  }
}
@media screen and (max-width: 360px) {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-research-scorecard { grid-template-columns: minmax(0, 1fr); }
}

/* Financial summaries retain the saved table for print and optional history. */
@media screen {
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-panel > .tr-trend-table--digest { display: none; }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-trends[data-tr-digest] { display: block; color: var(--tr-ink); }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-trends .tr-trend-latest__period {
    margin: 0; padding: 12px 16px 4px; color: var(--tr-muted); font: 400 12px/18px var(--tr-type-family, "IBM Plex Sans", sans-serif); letter-spacing: normal; text-transform: none;
  }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-latest { margin: 0; padding: 0 16px 8px; }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-latest > div {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 8px 16px; padding: 10px 0; border-bottom: 1px solid var(--tr-line);
  }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-latest > div:last-child { border-bottom: 0; }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-latest :is(dt, dd) {
    margin: 0; padding: 0; color: var(--tr-ink); font: 500 14px/20px var(--tr-type-family, "IBM Plex Sans", sans-serif); letter-spacing: normal; text-transform: none; overflow-wrap: anywhere;
  }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-latest dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; max-width: 18ch; }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-history { border-top: 1px solid var(--tr-line); }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-history > summary {
    box-sizing: border-box; min-height: 44px; padding: 12px 16px; color: var(--tr-ink); font: 500 14px/20px var(--tr-type-family, "IBM Plex Sans", sans-serif); cursor: pointer;
  }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-history > summary:hover { background: var(--tr-reading-raised, #16212a); }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-history > summary:focus-visible { outline: 2px solid var(--tr-reading-accent, #78a8c6); outline-offset: -3px; }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-history__cards { display: none; }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-history__table { overflow-x: auto; }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-history-grid { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-history-grid :is(th, td) {
    padding: 10px 14px; border-bottom: 1px solid var(--tr-line); color: var(--tr-ink); font: 500 14px/20px var(--tr-type-family, "IBM Plex Sans", sans-serif); text-align: right;
  }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-history-grid th:first-child { text-align: left; }
  body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-history-grid thead th { color: var(--tr-muted); font-size: 12px; font-weight: 400; }
  @container report-data (max-width: 639px) {
    body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-history__cards { display: block; }
    body.reading:not(.stock-profile-mode) #report-content.report-content .tr-trend-history__table { display: none; }
  }
}

/* Shared labels and aligned values make valuation comparisons scannable. */
@media screen {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-valuation-panel > .tr-valuation-table--enhanced { display: none; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-mobile-valuations[data-tr-valuation-compact] { display: block; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-valuation-summary {
    width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; font-variant-numeric: tabular-nums;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-valuation-summary :is(th, td) {
    position: static; left: auto; z-index: auto; min-width: 0; padding: 12px 14px;
    color: var(--tr-reading-text, var(--tr-ink)); background: transparent; text-align: right;
    font: 500 14px/20px var(--tr-type-family, "IBM Plex Sans", sans-serif);
    white-space: normal; overflow-wrap: anywhere; letter-spacing: normal; text-transform: none;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-valuation-summary th:first-child { width: 40%; text-align: left; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-valuation-summary thead th {
    padding-block: 10px; color: var(--tr-reading-muted, var(--tr-muted)); font-size: 12px; font-weight: 400; line-height: 18px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-valuation-summary .tr-score-chip {
    display: inline; min-width: 0; padding: 0; border: 0; border-radius: 0;
    background: transparent !important; font: inherit !important; white-space: normal;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-valuation-summary .tr-valuation-denominator {
    color: var(--tr-reading-muted, var(--tr-muted)); font-size: 12px; font-weight: 400; line-height: 18px; white-space: nowrap;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-valuation-peer-note,
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-valuation-peer-row td {
    margin: 0 !important; padding: 10px 14px; color: var(--tr-reading-muted, var(--tr-muted)) !important;
    font: 400 12px/18px var(--tr-type-family, "IBM Plex Sans", sans-serif) !important;
    text-align: left; white-space: normal; overflow-wrap: anywhere;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-valuation-peer-note { border-top: 1px solid var(--tr-reading-line, var(--tr-line)); }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-valuation-peer-label { font-weight: 500; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-valuation-peer-row td { padding-top: 0; }
  @container report-data (max-width: 359px) {
    html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-valuation-summary :is(th, td) { padding-inline: 10px; }
    html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-valuation-summary th:first-child { width: 38%; }
  }
}

/* Audit: leave room for the rotated disclosure icon and keep it perceptible. */
@media screen {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-disclosure > summary::after {
    margin-right: 4px; border-color: var(--tr-reading-muted, #64706b) !important;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-source-disclosure > summary:focus-visible {
    outline-color: var(--tr-reading-accent, #78a8c6) !important;
  }
  /* Small colored labels need more contrast against Light's raised panels. */
  html[data-reading-theme="light"] body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(.tr-key-point--risk > span, .tr-two-column-notes > div:last-child h3) {
    color: #684d19 !important;
  }
  html[data-reading-theme="light"] body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(.tr-news-readthrough > strong, .tr-news-insight > strong) {
    color: #205670 !important;
  }
}

/* Sources describe the document's inputs, beside its publication metadata. */
html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-report-document-header--sources > .tr-report-document-meta {
  margin-bottom: 0;
}
html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-source-disclosure--header {
  border: 0 !important;
  margin: 0 0 8px;
  overflow: visible;
}
html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-source-disclosure--header > summary {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 0 4px !important;
  border: 0 !important;
}
html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-source-disclosure--header > summary > small[hidden] {
  display: none !important;
}
html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-source-disclosure--header[open] {
  margin-bottom: 16px;
}
html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-source-disclosure--header .tr-source-date-context {
  font-size: var(--tr-type-dense-size, 11px) !important;
  line-height: 16px !important;
  color: var(--tr-reading-muted, var(--tr-muted)) !important;
}
@media print {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-source-disclosure--header::details-content {
    display: block;
    content-visibility: visible;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-source-disclosure--header > summary {
    margin-left: 0;
    min-height: 0;
    padding: 8px 0 !important;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-source-disclosure--header > summary::after {
    display: none;
  }
}

/* Supporting report context stays secondary to the saved research. */
@media screen {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-source-disclosure > summary {
    padding: 6px 0;
    gap: 2px 12px;
    min-height: 44px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-source-disclosure > summary > :is(span, small) {
    color: var(--tr-reading-muted, var(--tr-muted)) !important;
    font-size: var(--tr-type-dense-size, 11px) !important;
    line-height: 16px !important;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-capital-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    column-gap: 1px;
    row-gap: 0;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-capital-strip > div {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    padding: 12px;
    row-gap: 4px;
    overflow-wrap: anywhere;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-capital-strip strong {
    margin: 0;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: normal;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-company-news--digest .tr-news-group-head--digest {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    clip-path: inset(50%);
    overflow: hidden;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-company-news--digest .tr-news-card {
    padding: 16px;
    box-shadow: none;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-company-news--digest .tr-news-meta {
    gap: 4px 10px;
    margin: 6px 0 12px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-company-news--digest .tr-news-meta small {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    padding: 0;
    color: var(--tr-reading-muted, var(--tr-muted));
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-company-news--digest .tr-news-insight {
    margin: 0 !important;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(.tr-news-summary-details, .tr-news-coverage-details) {
    margin: 8px 0 0;
    color: var(--tr-reading-muted, var(--tr-muted));
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(.tr-news-summary-details, .tr-news-coverage-details) > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 4px 0;
    cursor: pointer;
    list-style: none;
    font-size: var(--tr-type-meta-size, 12px);
    line-height: 18px;
    font-weight: 500;
    color: var(--tr-reading-muted, var(--tr-muted));
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(.tr-news-summary-details, .tr-news-coverage-details) > summary::-webkit-details-marker {
    display: none;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(.tr-news-summary-details, .tr-news-coverage-details) > summary::after {
    content: '+';
    flex: 0 0 auto;
    font-size: 16px;
    font-weight: 400;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(.tr-news-summary-details, .tr-news-coverage-details)[open] > summary::after {
    content: '−';
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(.tr-news-summary-details, .tr-news-coverage-details) > summary:focus-visible {
    outline: 2px solid var(--tr-reading-accent, #78a8c6);
    outline-offset: 2px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-company-news--digest .tr-news-summary-details .tr-news-summary {
    margin: 4px 0 8px !important;
    color: var(--tr-reading-text, var(--tr-ink));
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-news-coverage-details {
    border-top: 1px solid var(--tr-reading-line, var(--tr-line));
    margin: 0;
    padding: 0 16px 8px;
    font-size: var(--tr-type-meta-size, 12px);
    line-height: 18px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-news-coverage-details .tr-news-readthrough {
    display: block;
    padding: 8px 0;
    background: transparent;
    border: 0;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-news-coverage-details .tr-news-readthrough > strong {
    display: none;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-news-coverage-details .tr-news-readthrough > p {
    font-size: var(--tr-type-meta-size, 12px);
    line-height: 18px;
    color: var(--tr-reading-muted, var(--tr-muted));
  }
}
@media screen and (max-width: 600px) {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-capital-strip > div {
    padding: 10px 8px;
  }
}
@media print {
  .tr-news-summary-details, .tr-news-coverage-details { display: contents !important; }
  .tr-news-summary-details::details-content, .tr-news-coverage-details::details-content { display: contents !important; content-visibility: visible !important; }
  .tr-news-summary-details > summary, .tr-news-coverage-details > summary { display: none !important; }
}
@media screen {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range .tr-range-visual {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 12px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-range-track {
    position: relative;
    height: 4px;
    margin: 0 5px;
    background: var(--tr-reading-line, var(--tr-line));
    border-radius: 2px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-range-marker {
    position: absolute;
    top: 50%;
    left: var(--tr-range-position);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--tr-reading-accent, #78a8c6);
    transform: translate(-50%, -50%);
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-range-labels {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 5px;
    color: var(--tr-reading-muted, var(--tr-muted));
    font-size: var(--tr-type-dense-size, 11px);
    line-height: 16px;
    font-weight: 400;
    letter-spacing: normal;
  }
}
@media print { .tr-range-visual { display: none !important; } }

@media screen {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-news-coverage-stat { display: block; font-size: var(--tr-type-meta-size, 12px); line-height: 18px; }
}

/* The report's own saved prices make the range meaningful at every width. */
@media screen, print {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-grid--five:has(> .tr-snapshot-range--priced) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-grid > .tr-snapshot-range--priced {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 12px;
    align-items: center;
    border-top: 1px solid var(--tr-reading-line, var(--tr-line));
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced > dt {
    grid-column: 1;
    grid-row: 1;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced > .tr-range-position {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    color: var(--tr-reading-muted, var(--tr-muted)) !important;
    font-size: var(--tr-type-meta-size, 12px) !important;
    line-height: 18px;
    font-weight: 500;
    letter-spacing: normal;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced > dd,
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced > small {
    display: none;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-visual {
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-price {
    position: relative;
    left: var(--tr-range-position);
    transform: translateX(calc(0% - var(--tr-range-position)));
    display: flex;
    flex-direction: column;
    align-items: center;
    width: max-content;
    max-width: 100%;
    margin-bottom: 8px;
    text-align: center;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-price > span,
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-endpoint > span {
    display: block;
    color: var(--tr-reading-muted, var(--tr-muted));
    font-size: var(--tr-type-dense-size, 11px);
    line-height: 16px;
    font-weight: 400;
    letter-spacing: normal;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-price > strong {
    display: block;
    color: var(--tr-reading-text, var(--tr-ink));
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: normal;
    white-space: nowrap;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-track {
    margin-inline: 5px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-labels {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-top: 6px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-endpoint {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 4px;
    min-width: 0;
    max-width: calc((100% - 16px) / 2);
    text-align: left;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-endpoint:last-child {
    justify-content: flex-end;
    text-align: right;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-endpoint > :is(span, strong) {
    display: block;
    color: var(--tr-reading-muted, var(--tr-muted));
    font-size: var(--tr-type-meta-size, 12px);
    line-height: 18px;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    letter-spacing: normal;
    white-space: nowrap;
  }
}
@media screen and (max-width: 820px) {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-grid--five:has(> .tr-snapshot-range--priced) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media print {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-visual {
    display: block !important;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-track {
    position: relative;
    height: 4px;
    background: #aaa;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-marker {
    position: absolute;
    top: 50%;
    left: var(--tr-range-position);
    width: 8px;
    height: 8px;
    border: 1px solid #333;
    border-radius: 50%;
    background: #333;
    transform: translate(-50%, -50%);
  }
}
@media print {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced :is(.tr-range-price > strong, .tr-range-endpoint > strong) {
    color: #172a33 !important;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced :is(dt, .tr-range-position, .tr-range-price > span, .tr-range-endpoint > span) {
    color: #505a60 !important;
  }
}

/* The closing price belongs to the marker; its dated legend repeats that dot. */
@media screen, print {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-callout {
    margin: 0 5px 8px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-price {
    left: clamp(var(--tr-range-label-half, 0px), var(--tr-range-position), calc(100% - var(--tr-range-label-half, 0px)));
    transform: translateX(-50%);
    margin-bottom: 0;
    align-items: center;
    text-align: center;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--tr-reading-muted, var(--tr-muted));
    font-size: var(--tr-type-dense-size, 11px);
    line-height: 16px;
    font-weight: 400;
    letter-spacing: normal;
    text-align: center;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-date::before {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tr-reading-accent, #78a8c6);
  }
}
@media print {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-date {
    color: #505a60 !important;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-snapshot-range--priced .tr-range-date::before {
    border: 1px solid #333;
    background: #333;
  }
}

/* Saved factor scores introduce their corresponding report evidence. */
@media screen, print {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    margin: 20px 0 8px;
    padding: 0;
    border: 0;
    background: transparent;
    break-inside: avoid;
    break-after: avoid;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores__items {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores--operating .tr-section-scores__items {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores .tr-research-factor {
    display: flex;
    flex: none;
    align-items: baseline;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent !important;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores .tr-research-factor > span {
    color: var(--tr-reading-text, var(--tr-ink));
    font-size: var(--tr-type-body-size, 14px);
    line-height: 20px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores .tr-research-factor > strong {
    display: inline-flex;
    align-items: baseline;
    flex-shrink: 0;
    gap: 4px;
    margin: 0;
    font-size: var(--tr-type-subsection-size, 16px);
    line-height: 20px;
    font-weight: 600;
    white-space: nowrap;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores .tr-research-factor__denominator {
    color: var(--tr-reading-muted, var(--tr-muted));
    font-size: var(--tr-type-meta-size, 12px);
    line-height: 18px;
    font-weight: 400;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores .tr-research-factor > small {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 p.tr-section-scores__date {
    margin: 0 !important;
    padding: 0;
    color: var(--tr-reading-muted, var(--tr-muted)) !important;
    font-size: var(--tr-type-dense-size, 11px) !important;
    line-height: 16px !important;
    font-weight: 400;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores + :is(.tr-data-panel, .tr-exhibit) {
    margin-top: 8px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(.tr-section-score-source, .tr-section-score-method) {
    font-size: var(--tr-type-meta-size, 12px) !important;
    line-height: 18px !important;
  }
}
@media screen and (max-width: 600px) {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores--operating .tr-research-factor {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores--operating .tr-section-scores__items {
    gap: 8px;
  }
}

/* Contained score strips separate model values from section numbering. */
@media screen, print {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores--intro {
    display: block;
    margin: 16px 0 16px;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--tr-reading-line, var(--tr-line)) 65%, transparent);
    border-radius: 4px;
    background: var(--tr-reading-raised, #16212a);
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-heading:has(+ .tr-section-scores--intro) { margin-bottom: 16px; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-data-panel > .tr-section-scores--intro { margin: 12px 16px 8px; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores--intro[data-score-section="performance"] { margin-top: 24px; margin-bottom: 0; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores--intro .tr-research-factor { flex-wrap: wrap; justify-content: space-between; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores--intro:not(.tr-section-scores--operating) .tr-research-factor { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores--intro:not(.tr-section-scores--operating) .tr-research-factor > strong { justify-self: end; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores--operating.tr-section-scores--intro .tr-research-factor { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-score-intro-heading,
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-score-intro-heading > span {
    margin: 0 !important;
    padding: 0;
    color: var(--tr-reading-text, var(--tr-ink)) !important;
    font-size: var(--tr-type-subsection-size, 16px) !important;
    line-height: 20px !important;
    font-weight: 600 !important;
    text-transform: none;
    letter-spacing: normal;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-score-intro-context { margin-top: 4px; padding: 0; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-score-intro-stamp { display: inline-block; white-space: nowrap; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-score-source-methods { padding: 12px 13px; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-score-source-methods h3,
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-score-source-methods dt {
    margin: 0 !important;
    padding: 0;
    color: var(--tr-report-caption-color, var(--tr-reading-muted, var(--tr-muted))) !important;
    font: 500 var(--tr-type-dense-size, 11px)/16px var(--tr-type-family, "IBM Plex Sans", sans-serif) !important;
    letter-spacing: normal;
    text-transform: none;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-score-source-methods dl { margin: 8px 0 0; padding: 0; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-score-source-methods dl > div { margin-top: 8px; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-score-source-methods dd { margin: 2px 0 0; padding: 0; }
}

/* One dense-caption role for report dates, provenance, and supporting context.
 * Deliberately excludes prose, metric values/labels, chart axes/legends, and
 * source-link titles. Source controls retain their native keyboard targets. */
@media screen, print {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 :is(
    p.tr-report-document-date,
    p.tr-report-document-date time,
    .tr-section-scores__date,
    .tr-section-scores__date span,
    .tr-section-scores__date time,
    .tr-data-panel-head > span,
    .tr-data-note,
    .tr-trend-latest__period,
    .tr-valuation-peer-note,
    .tr-valuation-peer-row td,
    .tr-valuation-peer-label,
    .tr-source-item p,
    .tr-source-item time,
    .tr-source-item > small,
    .tr-source-note,
    .tr-source-date-context,
    .tr-factor-coverage,
    .tr-factor-coverage-summary,
    .tr-position-card small,
    .tr-capital-strip small,
    .tr-snapshot-grid small,
    .tr-fundamental-description,
    .tr-fundamental-meta,
    .tr-news-meta,
    .tr-news-meta > span,
    .tr-news-meta > span strong,
    .tr-news-meta time,
    .tr-news-group-head > span,
    .tr-evidence-note,
    .tr-evidence-note > strong,
    .tr-source-trail small,
    .tr-data-freshness,
    .tr-methodology,
    .tr-exhibit figcaption,
    .tr-exhibit figcaption > span,
    .tr-exhibit figcaption > strong,
    .tr-fundamental-exhibit figcaption,
    .tr-fundamental-exhibit figcaption > span,
    .tr-range-date,
    .tr-section-score-source,
    .tr-section-score-method,
    .tr-score-source-methods dd
  ) {
    font-family: var(--tr-type-family, "IBM Plex Sans", system-ui, sans-serif) !important;
    font-size: var(--tr-type-dense-size, 11px) !important;
    line-height: 16px !important;
    font-weight: 400 !important;
    color: var(--tr-report-caption-color, var(--tr-reading-muted, var(--tr-muted))) !important;
    letter-spacing: normal !important;
  }
}

@media print {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 { --tr-report-caption-color: #505a60; }
}

@media print {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores--intro {
    background: transparent;
    border-color: #c5cbcf;
  }
}

/* Compact operating charts: keep all source values and readable SVG text. */
@media screen {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-head {
    display: block;
    padding: 8px 12px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-meta {
    margin-top: 2px;
    padding-top: 0;
    max-width: none;
    text-align: left;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-redundant-caption {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-row {
    padding: 8px 12px;
    gap: 6px 12px;
    min-height: 0;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-label {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 6px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-label span { margin-top: 0; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-row svg.tr-fundamental-mobile-chart { height: 100px; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-exhibit figcaption { padding: 8px 12px; }
}

/* One interpretation caption per exhibit; row units retain currency context. */
html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-fundamental-meta--consolidated { display: none !important; }
html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-exhibit figcaption.tr-caption-consolidated { display: block; }

/* Financial panels share one title/period row, readable figures and a quiet footer. */
@media screen {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-trend-panel:has(> .tr-mobile-trends[data-tr-digest]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-trend-panel:has(> .tr-mobile-trends[data-tr-digest]) > .tr-data-panel-head,
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-trend-panel > .tr-mobile-trends[data-tr-digest] { display: contents; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-trend-panel:has(> .tr-mobile-trends[data-tr-digest]) > .tr-data-panel-head h3 {
    grid-column: 1; grid-row: 1; align-self: baseline;
    margin: 0 !important; padding: 10px 12px;
    font-size: 16px !important; line-height: 20px !important;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-trend-panel > .tr-mobile-trends[data-tr-digest] > .tr-trend-latest__period {
    grid-column: 2; grid-row: 1; align-self: baseline;
    margin: 0 !important; padding: 10px 12px 10px 0; white-space: nowrap;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-trend-panel > .tr-section-scores--intro {
    grid-column: 1 / -1; grid-row: 2; margin: 8px 12px 8px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-trend-panel .tr-trend-latest {
    grid-column: 1 / -1; grid-row: 3; padding: 0 12px 4px;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-trend-panel .tr-trend-latest > div { padding: 8px 0; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-trend-panel .tr-trend-history {
    grid-column: 1 / -1; grid-row: 4; min-width: 0;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-trend-panel .tr-trend-history > summary {
    min-height: 44px; padding: 12px; font-size: 12px; line-height: 20px; font-weight: 500;
    color: var(--tr-reading-muted, var(--tr-muted));
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-trend-panel:has(> .tr-mobile-trends[data-tr-digest]) > .tr-data-panel-head > span {
    grid-column: 1 / -1; grid-row: 5; margin: 0; padding: 8px 12px;
    border-top: 1px solid var(--tr-reading-line, var(--tr-line));
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-capital-strip:has(> .tr-capital-heading) {
    margin-top: 16px; border: 1px solid var(--tr-reading-line, var(--tr-line));
    grid-template-rows: auto auto auto auto;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-capital-heading {
    grid-column: 1 / -1; margin: 0 !important; padding: 10px 12px;
    font-size: 16px !important; line-height: 20px !important;
    background: var(--tr-reading-raised, #16212a);
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-capital-strip strong { font-size: 14px; line-height: 20px; }
}
@media print {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-capital-heading { grid-column: 1 / -1; }
}

/* Direction belongs to growth/return changes, not amounts or valuation levels. */
html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 [data-tr-change-tone="up"] { color: var(--tr-teal) !important; }
html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 [data-tr-change-tone="down"] { color: var(--tr-amber) !important; }
html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 [data-tr-change-tone="flat"] { color: var(--tr-reading-text, var(--tr-ink)) !important; }
html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-fundamental-missing { color: var(--tr-reading-muted, var(--tr-muted)) !important; }
@media screen {
  .tr-fundamental-mobile-chart .tr-fundamental-mobile-point.is-negative { fill: var(--tr-paper); stroke: var(--tr-blue); }
  .tr-fundamental-mobile-chart .tr-fundamental-mobile-point.is-negative[data-latest="true"] { fill: var(--tr-blue); }
}

/* The score container owns its label; its border is interrupted by quiet text. */
@media screen, print {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores--intro {
    position: relative;
    border-top-color: transparent;
    --tr-score-border: color-mix(in srgb, var(--tr-reading-line, var(--tr-line)) 65%, transparent);
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-score-container-label {
    position: absolute;
    top: -7px; left: -1px; right: -1px;
    display: flex; align-items: center; gap: 6px;
    color: var(--tr-report-caption-color, var(--tr-reading-muted, var(--tr-muted)));
    font: 500 var(--tr-type-caption-size, 10px)/12px var(--tr-type-family, "IBM Plex Sans", sans-serif);
    letter-spacing: .02em;
    white-space: nowrap;
    pointer-events: none;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-score-container-label::before,
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-score-container-label::after {
    content: ""; border-top: 1px solid var(--tr-score-border); height: 0;
  }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-score-container-label::before { flex: 0 0 7px; }
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-score-container-label::after { flex: 1 1 auto; }
}
@media print {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-section-scores--intro { --tr-score-border: #c5cbcf; }
}

/* Numeric neutral ratings use the shared blue; unavailable scores stay neutral. */
html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 { --tr-score-neutral: var(--tr-reading-accent, var(--tr-blue)); }
html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-research-factor[data-tone="neutral"] > strong[data-tr-rated-score],
html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-score-chip[data-tone="neutral"][data-tr-rated-score] { color: var(--tr-score-neutral) !important; }
html[data-reading-theme="light"] body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 { --tr-score-neutral: #205670; }
html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-research-factor[data-tone="neutral"] > strong:not([data-tr-rated-score]),
html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 .tr-score-chip[data-tone="neutral"]:not([data-tr-rated-score]) { color: var(--tr-report-caption-color, var(--tr-reading-muted, var(--tr-muted))) !important; }
@media print {
  html body.reading:not(.stock-profile-mode) #report-content.report-content .tr-report-v3 { --tr-score-neutral: #235f7d !important; }
}

/* Report link action shares the first-row Close geometry and stays out of the document. */
html body #tr-report-copy-link { display: none; }
html body.reading #player-header.tr-report-copy-ready {
  --tr-report-copy-edge: max(4px, env(safe-area-inset-right));
}
html body.reading #player-header #tr-report-copy-link {
  position: absolute; top: 0; right: calc(var(--tr-report-copy-edge) + 44px);
  display: grid; place-items: center; z-index: 10; isolation: isolate;
  width: 44px; min-width: 44px; height: 44px; min-height: 44px;
  margin: 0; padding: 0; box-sizing: border-box; border: 0; border-radius: 8px;
  color: #b8cbd5; background: transparent; box-shadow: none; clip-path: none;
  transform: translateX(4px); cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
html body.reading #player-header #tr-report-copy-link::after {
  content: ''; position: absolute; z-index: -1; inset: 6px; box-sizing: border-box;
  border: 1px solid rgba(184,203,213,.16); border-radius: 6px;
  background: rgba(165,201,222,.04); pointer-events: none;
}
html body.reading #player-header #tr-report-copy-link svg { width: 20px; height: 20px; stroke-width: 2; }
html body.reading #player-header #tr-report-copy-link .tr-report-copied-icon { display: none; }
html body.reading #player-header #tr-report-copy-link.is-copied .tr-report-copied-icon { display: block; }
html body.reading #player-header #tr-report-copy-link.is-copied .tr-report-link-icon { display: none; }
html body.reading #player-header #tr-report-copy-link.is-copied { color: #80bdad; }
html body.reading #player-header #tr-report-copy-link:is(:hover,:focus-visible) { color: #e5edf2; outline: none; }
html body.reading #player-header #tr-report-copy-link:is(:hover,:focus-visible)::after {
  border-color: rgba(184,203,213,.32); background: rgba(165,201,222,.14);
}
html body.reading #player-header #tr-report-copy-link:focus-visible::after { outline: 2px solid #a5c9de; outline-offset: 1px; }
html body.reading #player-header #tr-report-copy-link[aria-disabled="true"] { cursor: wait; }
html body.reading.tr-masthead-v2.report-header-compact #player-header #tr-report-copy-link {
  top: calc((var(--tr-compact-identity-height) - 44px) / 2);
}
html body.reading.tr-masthead-v2 #player-header.tr-report-copy-ready #tr-reader-header-toggle,
html body.reading.tr-masthead-v2:not(.report-header-compact) #player-header.tr-report-copy-ready #tr-reader-header-toggle {
  right: calc(var(--tr-report-copy-edge) + 88px);
}
html body.reading.tr-masthead-v2.tr-masthead-awards.report-header-compact #player-header.tr-report-copy-ready #track-title {
  grid-template-columns: minmax(0, 1fr) 192px;
}
html body.reading.tr-masthead-v2 #player-header.tr-report-copy-ready #track-title .price-caption {
  padding-right: max(144px, calc(env(safe-area-inset-right) + 140px)) !important;
}
@media (min-width: 768px) {
  html body.reading.tr-masthead-v2:not(.report-header-compact) #player-header.tr-report-copy-ready {
    --tr-report-copy-edge: max(8px, env(safe-area-inset-right));
  }
}
@media (min-width: 1024px) {
  html body.reading.tr-masthead-v2 #player-header.tr-report-copy-ready,
  html body.reading.tr-masthead-v2:not(.report-header-compact) #player-header.tr-report-copy-ready {
    --tr-report-copy-edge: var(--tr-masthead-content-inset);
  }
}
/* Keep the full Dashboard label; only wrap stock actions if the row cannot fit. */
html body.reading.tr-masthead-v2.report-header-compact:has(#player-header.tr-report-copy-ready.tr-report-copy-wrap) {
  --tr-compact-identity-height: 96px;
  padding-top: var(--tr-reader-header-height) !important;
}
html body.reading.tr-masthead-v2.report-header-compact #player-header.tr-report-copy-wrap :is(#close-btn,#tr-report-copy-link,#tr-reader-header-toggle) {
  top: 4px !important;
}
html body.reading.tr-masthead-v2.tr-masthead-awards.report-header-compact #player-header.tr-report-copy-wrap #track-title .tr-masthead-identity {
  position: relative; align-items: flex-start; padding-top: 12px; padding-bottom: 56px;
}
html body.reading.tr-masthead-v2.tr-masthead-awards.report-header-compact #player-header.tr-report-copy-wrap #track-title .tr-masthead-name,
html body.reading.tr-masthead-v2.tr-masthead-awards.report-header-compact #player-header.tr-report-copy-wrap #track-title .tr-masthead-symbol-line {
  position: static; overflow: visible;
}
html body.reading.tr-masthead-v2.tr-masthead-awards.report-header-compact #player-header.tr-report-copy-wrap #track-title .tr-masthead-symbol-line { min-height: 28px; }
html body.reading.tr-masthead-v2.tr-masthead-awards.report-header-compact #player-header.tr-report-copy-wrap #track-title .tr-masthead-symbol-line > :is(.tr-masthead-report-request,.tr-score-toggle,.tr-reader-watchlist) {
  position: absolute !important; top: 52px !important; bottom: auto !important; right: auto !important;
  width: 28px !important; min-width: 28px !important; height: 44px !important; min-height: 44px !important;
  margin: 0 !important; padding: 0 !important; transform: none !important;
}
html body.reading.tr-masthead-v2.tr-masthead-awards.report-header-compact #player-header.tr-report-copy-wrap #track-title .tr-masthead-report-request {
  left: var(--tr-report-actions-left) !important;
}
html body.reading.tr-masthead-v2.tr-masthead-awards.report-header-compact #player-header.tr-report-copy-wrap #track-title .tr-score-toggle {
  left: calc(var(--tr-report-actions-left) + 28px) !important;
}
html body.reading.tr-masthead-v2.tr-masthead-awards.report-header-compact #player-header.tr-report-copy-wrap #track-title .tr-reader-watchlist {
  left: calc(var(--tr-report-actions-left) + 56px) !important;
}
html body .tr-report-copy-status {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
html body.reading #report-content .tr-report-copy-fallback {
  display: flex; align-items: flex-end; gap: 8px; margin: 8px 0 16px;
}
html body.reading #report-content .tr-report-copy-fallback[hidden] { display: none; }
html body.reading #report-content .tr-report-copy-fallback label {
  flex: 1; min-width: 0; color: var(--tr-reading-copy, #d7e4ed);
  font: 400 12px/18px var(--tr-type-family, 'IBM Plex Sans', sans-serif);
}
html body.reading #report-content .tr-report-copy-fallback input {
  display: block; width: 100%; min-height: 44px; box-sizing: border-box; margin-top: 6px;
  font: 400 16px/22px var(--tr-type-family, 'IBM Plex Sans', sans-serif);
  color: var(--tr-reading-text, #d7e4ed); background: var(--tr-reading-bg, #101b25);
  border: 1px solid var(--tr-reading-line, #536570); border-radius: 4px; padding: 8px;
}
html body.reading #report-content .tr-report-copy-fallback button {
  min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid var(--tr-reading-line, #536570);
  border-radius: 4px; color: var(--tr-reading-text, #d7e4ed); background: transparent; cursor: pointer;
  font: 500 12px/16px var(--tr-type-family, 'IBM Plex Sans', sans-serif);
}
html body.reading #report-content .tr-report-copy-fallback :is(input,button):focus-visible {
  outline: 2px solid var(--tr-reading-accent, #78a8c6); outline-offset: 2px;
}
@media print {
  html body.reading #player-header #tr-report-copy-link,
  html body.reading #report-content .tr-report-copy-fallback { display: none !important; }
}
