/* Narrow repairs: preserve the original materials and infographic colour language. */
@layer dte-market-reading {
  :is(#mkOdds,#mkBreadth,#mkCross) > h3,
  #mkOdds .odds-head .gx-title,
  #mkBreadth .dc-jhs-head,
  #mkBreadth .dc-jhs-head > span > b { color:var(--aku-text)!important; }
  #mkBreadth .dc-jhs-head small { color:var(--aku-copy)!important; font-size:14px!important; line-height:1.6!important; }
  html[data-theme="light"] #mkBreadth :is(.dc-sf-kicker,.dc-sf-badge,.dc-sf-wing-sub b) { color:var(--aku-text)!important; }
  #mkOdds .ofv-pct { opacity:1!important; }
  #mkOdds .is-match-stage .ofv-pct { font-size:26px!important; line-height:1.15!important; font-weight:800!important; }
  html[data-theme="light"] #mkOdds .is-base-stage .ofv-pct { color:var(--aku-text)!important; }
  html[data-theme="light"] #mkOdds .is-match-stage .ofv-pct { color:var(--aku-text)!important; }
  html[data-theme="light"] #mkOdds .odds-verdict.is-good .is-match-stage .ofv-pct { color:var(--aku-good-ink)!important; }
  html[data-theme="light"] #mkOdds .odds-verdict.is-bad .is-match-stage .ofv-pct { color:var(--aku-bad-ink)!important; }
  html[data-theme="light"] #mkOdds .odds-delta-pill { color:var(--aku-text)!important; }
  html[data-theme="light"] #mkOdds .osp-flow-head { color:var(--aku-copy)!important; }
  #mkOdds .mg-weak { opacity:1!important; }
  #mkOdds .mg-table span { color:var(--aku-copy)!important; opacity:1!important; }
  :is(#mkOdds,#mkBreadth,#mkCross,#mkSweepRadar,#deskSweepMirror) summary::after { color:var(--aku-copy)!important; }
  :is(#mkSweepRadar,#deskSweepMirror) :is(.msr-hud-sub,.msr-fold-sub,.msr-st-lbl) { color:var(--aku-copy)!important; opacity:1!important; }

  /* Give name/ticker and weight independent rows without changing weighted widths. */
  #mkBreadth .hm-cell { justify-content:flex-start!important; gap:12px!important; }
  #mkBreadth .hm-cell-main { flex-direction:column!important; align-items:flex-start!important; gap:6px!important; }
  #mkBreadth .hm-cell-head { display:flex!important; flex-direction:column!important; align-items:flex-start!important; gap:8px!important; }
  #mkBreadth .hm-sec-id { display:grid!important; grid-template-columns:24px minmax(0,1fr)!important; gap:2px 8px!important; width:100%; }
  #mkBreadth .hm-sec-id .hm-ico { grid-column:1; grid-row:1 / 3; }
  #mkBreadth .hm-sec-id b { grid-column:2; min-width:0; overflow-wrap:anywhere; line-height:1.5!important; }
  #mkBreadth .hm-sec-id small { grid-column:2; margin:0!important; opacity:1!important; }
  #mkBreadth .hm-weight-pill { position:static!important; flex:none!important; margin:0!important; align-self:flex-start; max-width:100%; }
  #mkBreadth .dc-jhs-head { align-items:flex-start!important; gap:8px!important; }
  #mkBreadth .dc-sca-energy-hud { max-width:100%!important; min-width:0!important; }
  #mkBreadth .dc-sca-beam-pct { max-width:100%!important; box-sizing:border-box!important; white-space:normal!important; overflow-wrap:anywhere; height:auto!important; line-height:1.5!important; }
  #mkBreadth .dc-jhs-map-scroll { min-width:0; max-width:100%; overflow-x:auto; overscroll-behavior-inline:contain; }
  #mkBreadth .dc-jhs-map-scroll:focus-visible { outline:2px solid var(--aku-accent); outline-offset:4px; }
  #mkBreadth .dc-jhs-scroll-hint { display:none; }
  @media(max-width:600px) {
    #mkBreadth .sp500-heatmap-grid { min-width:720px!important; }
    #mkBreadth .dc-jhs-scroll-hint { display:block; margin:8px 0; font-size:14px; color:var(--aku-copy)!important; }
  }

  html[data-theme="light"] :is(#mkBreadth,#mkCross,#mkMacd,#deskMacdMirror) :is(.up,.is-sup,.smf-pct) {
    color:color-mix(in srgb,var(--aku-good) 75%,var(--aku-text))!important;
  }
  :is(#mkMacd,#deskMacdMirror) .mk-evidence-body .chip.c-green { color:var(--aku-box-green-ink)!important; background:var(--aku-box-green-bg)!important; opacity:1!important; }
  html:not([data-theme="light"]) :is(#mkLevels,#deskLevelsMirror) .dc-es-tick.is-near-cabin .dc-est-tag {
    background:var(--aku-sky-3)!important; color:var(--aku-text)!important;
  }
  html:not([data-theme="light"]) :is(#mkLevels,#deskLevelsMirror) .dc-es-tick.is-near-cabin .dc-est-tag :is(b,small) { color:inherit!important; }
  /* Keep the companion and its greeting available after reading, off data glyphs. */
  body:has(#panel-market:not([hidden])) #slime-mate {
    position:relative!important; inset:auto!important; top:auto!important; right:auto!important; bottom:auto!important; left:auto!important;
    margin:16px auto!important; transform:none!important; z-index:1!important;
  }
}
