/* DYOR product system — translates the public research direction into the app. */
html[data-theme] body:not(.entrance-active){--ink:#FFFFFF;--muted:#a7a7a7;--muted-soft:#a7a7a7;--paper:#111111;--jet:#111111;--black-blue:#111111;--coal:#111111;--charcoal:#111111;--slate-charcoal:#111111;--panel:#111111;--panel-strong:#111111;--panel-soft:rgba(255,255,255,.025);--line:#333333;--accent:#E85002;--accent-strong:#ff702b;--success:#a7a7a7;--amber:#ff8a3d;--red:#ff5877;--radius-card:10px;background:#111111!important;color:var(--ink)!important;font-family:"Satoshi",Inter,"Helvetica Neue",Arial,sans-serif!important}
html[data-theme] body:not(.entrance-active) .app-shell,html[data-theme] body:not(.entrance-active) main,html[data-theme] body:not(.entrance-active) .view.active-view{background:#111111!important;color:var(--ink)!important}
html[data-theme] body:not(.entrance-active) main{background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:68px 68px!important}

html[data-theme] body:not(.entrance-active) .side-nav{min-height:72px!important;border:0!important;border-bottom:1px solid var(--line)!important;background:#111111!important;box-shadow:none!important;backdrop-filter:blur(18px)}
html[data-theme] body:not(.entrance-active) .side-nav{display:grid!important;grid-template-columns:minmax(112px,auto) minmax(0,1fr) minmax(280px,auto)!important;gap:clamp(18px,2.2vw,38px)!important;padding-inline:clamp(24px,4vw,64px)!important}
html[data-theme] body:not(.entrance-active) .side-nav nav{display:flex!important;align-items:stretch!important;gap:4px!important;min-width:0!important}
html[data-theme] body:not(.entrance-active) .brand{border:0!important;background:transparent!important;box-shadow:none!important}
html[data-theme] body:not(.entrance-active) .brand strong{color:var(--ink)!important;font-size:1rem!important;letter-spacing:-.02em!important}
html[data-theme] body:not(.entrance-active) .brand strong span{color:var(--accent)!important}
html[data-theme] body:not(.entrance-active) .nav-link,html[data-theme] body:not(.entrance-active) .secondary-nav-menu>summary{border:0!important;border-radius:6px!important;background:transparent!important;color:var(--muted)!important;box-shadow:none!important;font-size:.7rem!important;letter-spacing:.06em!important;text-transform:uppercase}
html[data-theme] body:not(.entrance-active) .nav-link{min-width:max-content!important;padding-inline:12px!important;white-space:nowrap!important}
html[data-theme] body:not(.entrance-active) .nav-link:hover,html[data-theme] body:not(.entrance-active) .nav-link:focus-visible{background:#111111!important;color:var(--ink)!important}
html[data-theme] body:not(.entrance-active) .nav-link.active,html[data-theme] body:not(.entrance-active) .nav-link[aria-current=page]{background:color-mix(in srgb,var(--accent) 12%,transparent)!important;color:var(--accent)!important;box-shadow:inset 0 -1px 0 var(--accent)!important}
html[data-theme] body:not(.entrance-active) .nav-link::before,html[data-theme] body:not(.entrance-active) .nav-link::after{content:none!important;display:none!important}
html[data-theme] body:not(.entrance-active) .global-search input,html[data-theme] body:not(.entrance-active) input,html[data-theme] body:not(.entrance-active) select,html[data-theme] body:not(.entrance-active) textarea{border-color:var(--line)!important;background:#111111!important;color:var(--ink)!important;box-shadow:none!important}
html[data-theme] body:not(.entrance-active) :is(input,select,textarea):focus{border-color:var(--amber)!important;outline:3px solid rgba(255,138,61,.09)!important;outline-offset:0!important}

html[data-theme] body:not(.entrance-active) .page-heading{max-width:1600px!important;margin-inline:auto!important;padding:clamp(38px,5vw,72px) clamp(22px,4vw,64px) 20px!important;border:0!important;background:transparent!important;box-shadow:none!important}
html[data-theme] body:not(.entrance-active) .page-heading .eyebrow,html[data-theme] body:not(.entrance-active) .label{color:var(--accent)!important;font-size:.66rem!important;letter-spacing:.14em!important;text-transform:uppercase}
html[data-theme] body:not(.entrance-active) .page-heading h1{max-width:900px!important;margin:.3em 0 .2em!important;color:var(--ink)!important;font-size:clamp(2.7rem,5vw,5.4rem)!important;line-height:.95!important;letter-spacing:-.055em!important}
html[data-theme] body:not(.entrance-active) .page-heading p:not(.eyebrow){color:var(--muted)!important;font-size:1rem!important;line-height:1.6!important}

html[data-theme] body:not(.entrance-active) :where(.panel,.asset-browser-panel,.research-screen-shell,.research-engine-surface,.radar-shell,.research-workspace,.report-controls,.support-topic-card,.watchlist-card,.discover-row,.read-card,.metric-card,.source-card,.research-card){border:1px solid var(--line)!important;border-radius:10px!important;background:#111111!important;color:var(--ink)!important;box-shadow:none!important}
html[data-theme] body:not(.entrance-active) :where(.panel,.asset-browser-panel,.research-screen-shell,.research-engine-surface,.radar-shell,.research-workspace,.report-controls,.support-topic-card,.watchlist-card,.discover-row,.read-card,.metric-card,.source-card,.research-card) :where(h1,h2,h3,h4,strong,b){color:#FFFFFF!important}
html[data-theme] body:not(.entrance-active) :where(.panel,.asset-browser-panel,.research-screen-shell,.research-engine-surface,.radar-shell,.research-workspace,.report-controls,.support-topic-card,.watchlist-card,.discover-row,.read-card,.metric-card,.source-card,.research-card) :where(p,li,small,span,dt,dd,label){color:#b8b8b8!important}
html[data-theme] body:not(.entrance-active) :where(.discover-top-controls,.discover-workbench,.asset-browser-shell,.research-layout,.report-builder,.support-layout){width:min(1600px,calc(100% - 44px))!important;margin-inline:auto!important}

html[data-theme] body:not(.entrance-active) :where(.primary-button,button.active,[aria-pressed=true]:not(.info-dot)){border-color:var(--accent)!important;background:var(--accent)!important;color:#111111!important;box-shadow:none!important}
html[data-theme] body:not(.entrance-active) :where(.primary-button,button.active,[aria-pressed=true]:not(.info-dot)):hover{background:var(--accent-strong)!important}
html[data-theme] body:not(.entrance-active) :where(.text-button,a:not(.nav-link)):hover{color:var(--amber)!important}
html[data-theme] body:not(.entrance-active) :where(button,.text-button,.save-button){border-radius:7px!important;box-shadow:none!important}
html[data-theme] body:not(.entrance-active) :where(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--amber)!important;outline-offset:3px!important}
html[data-theme] body:not(.entrance-active) .info-dot{border-color:var(--line)!important;background:transparent!important;color:var(--muted)!important}

html[data-theme] body:not(.entrance-active) .buddy-launcher{border:1px solid color-mix(in srgb,var(--accent) 55%,var(--line))!important;border-radius:13px!important;background:#111111!important;color:var(--ink)!important;box-shadow:0 14px 45px rgba(0,0,0,.35)!important}
html[data-theme] body:not(.entrance-active) .buddy-launcher b{color:var(--ink)!important}html[data-theme] body:not(.entrance-active) .buddy-launcher :where(small,kbd){color:var(--muted)!important}
html[data-theme] body:not(.entrance-active) .buddy-launcher:hover{border-color:var(--amber)!important;background:#111111!important;outline:0!important}

html[data-theme] body:not(.entrance-active) :where(.status-chip,.badge,.research-state,.signal-chip,[class*=status]){box-shadow:none!important}
html[data-theme] body:not(.entrance-active) :where(.warning,.attention,.materiality-high,[data-state=watch]){border-color:color-mix(in srgb,var(--amber) 55%,var(--line))!important;color:var(--amber)!important}
html[data-theme] body:not(.entrance-active) :where(.panel,.discover-row,.watchlist-card,.research-card){transition:border-color .2s ease,transform .2s ease,background-color .2s ease}
html[data-theme] body:not(.entrance-active) :where(.discover-row,.watchlist-card,.research-card):hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent) 46%,var(--line))!important}

@media(max-width:1120px){html[data-theme] body:not(.entrance-active) .side-nav{grid-template-columns:auto minmax(0,1fr)!important;padding-inline:24px!important}html[data-theme] body:not(.entrance-active) .side-nav .nav-utilities{grid-column:1/-1!important;width:100%!important}html[data-theme] body:not(.entrance-active) .nav-link{padding-inline:9px!important;font-size:.66rem!important}}
@media(max-width:840px){html[data-theme] body:not(.entrance-active) .side-nav{min-height:64px!important;padding-inline:16px!important}html[data-theme] body:not(.entrance-active) .page-heading{padding-inline:18px!important}html[data-theme] body:not(.entrance-active) :where(.discover-top-controls,.discover-workbench,.asset-browser-shell,.research-layout,.report-builder,.support-layout){width:calc(100% - 28px)!important}}
@media(prefers-reduced-motion:reduce){html[data-theme] body:not(.entrance-active) :where(.panel,.discover-row,.watchlist-card,.research-card){transition:none}}

/* Defeat legacy light-theme content locks without flattening semantic states. */
html[data-theme] body:not(.entrance-active) main .view.active-view :where(h1,h2,h3,h4,h5,strong,b){color:#FFFFFF!important}
html[data-theme] body:not(.entrance-active) main .view.active-view :where(p,li,dt,dd,figcaption,blockquote){color:#b8b8b8!important}
html[data-theme] body:not(.entrance-active) main .view.active-view :where(.eyebrow,.label){color:var(--accent)!important}
html[data-theme] body:not(.entrance-active) .side-nav :where(a,span,strong,summary){opacity:1;color:var(--muted)!important}
html[data-theme] body:not(.entrance-active) .side-nav .brand :where(strong,span){color:var(--ink)!important}
html[data-theme] body:not(.entrance-active) .side-nav .brand strong span{color:var(--accent)!important}
html[data-theme] body:not(.entrance-active) .side-nav .nav-link.active :where(span,strong),html[data-theme] body:not(.entrance-active) .side-nav .nav-link[aria-current=page] :where(span,strong){color:var(--accent)!important}
html[data-theme] body:not(.entrance-active) main .view.active-view :where(.warning,.attention,.materiality-high,[data-state=watch],.negative){color:var(--amber)!important}
html[data-theme] body:not(.entrance-active) #main-content .view.active-view .panel,html[data-theme] body:not(.entrance-active) #main-content .view.active-view #research-screener{border-color:var(--line)!important;background:#111111!important;color:var(--ink)!important;box-shadow:none!important}
html[data-theme] body:not(.entrance-active) #main-content .view.active-view #research-screener :where(h1,h2,h3,h4,strong,b,span){color:var(--ink)!important}
html[data-theme] body:not(.entrance-active) #main-content .view.active-view #research-screener :where(p,small,label){color:var(--muted)!important}
html[data-theme] body:not(.entrance-active) #main-content .view.active-view #research-screener :where(button.active,[aria-pressed=true]){border-color:var(--accent)!important;background:var(--accent)!important;color:#111111!important}
html[data-theme] body:not(.entrance-active) #main-content .view.active-view #research-screener *{color:inherit!important}
html[data-theme] body:not(.entrance-active) #main-content .view.active-view #research-screener :where(p,small,label){color:var(--muted)!important}
html[data-theme] body:not(.entrance-active) #main-content .view.active-view #research-screener :where(.label,.eyebrow){color:var(--accent)!important}
html[data-theme] body:not(.entrance-active) #main-content .view.active-view #research-screener :where(button.active,[aria-pressed=true]),html[data-theme] body:not(.entrance-active) #main-content .view.active-view #research-screener :where(button.active,[aria-pressed=true]) *{color:#111111!important}
html[data-theme] body:not(.entrance-active) #main-content .view.active-view> .page-heading :where(h1,h2,h3,strong){color:var(--ink)!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener :where(h1,h2,h3,h4,strong,b,span){color:var(--ink)!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener :where(p,small,label){color:var(--muted)!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener :where(button.active,[aria-pressed=true]),html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener :where(button.active,[aria-pressed=true]) *{color:#111111!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener .re-result-card{background:#111111!important;border:1px solid #646464!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener .re-result-card :where(h3,h4,strong){color:#FFFFFF!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener .re-result-card :where(li,small,footer span){color:#b8b8b8!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener .re-result-card .re-state{color:#07100d!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener .re-result-card .primary-button{background:#E85002!important;color:#111111!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view :is(#global-radar,.live-discovery-panel){background:#111111!important;border-color:#646464!important;color:#FFFFFF!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view :is(#global-radar,.live-discovery-panel) :where(h1,h2,h3,h4,h5,strong,b){color:#FFFFFF!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view :is(#global-radar,.live-discovery-panel) :where(p,li,small,time,dt,dd,figcaption){color:#b8b8b8!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view #global-radar :where(button:not(.active):not([aria-pressed=true])){color:#d4d8e2!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view #global-radar :where(button.active,[aria-pressed=true]){background:#E85002!important;color:#111111!important}

/* Route-level legibility guardrails. Legacy editorial rules use route IDs, so match
   that specificity here instead of relying on the generic dark-system tokens. */
html[data-theme] body:not(.entrance-active) #main-content #discover-view .page-heading h1,
html[data-theme] body:not(.entrance-active) #main-content #watchlist-view .page-heading h1{color:#FFFFFF!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view .page-heading>p:not(.eyebrow),
html[data-theme] body:not(.entrance-active) #main-content #watchlist-view .page-heading>p:not(.eyebrow){color:#b8b8b8!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener .re-heading h2{color:#FFFFFF!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener .re-heading>div>p:not(.eyebrow),
html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener .re-status{color:#b8b8b8!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener .re-presets button:not(.active){background:#111111!important;border-color:#646464!important;color:#FFFFFF!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener .re-presets button:not(.active) strong{color:#FFFFFF!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener .re-presets button:not(.active) span{color:#b8b8b8!important}
html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener .text-button{color:var(--accent)!important;background:transparent!important;border-color:var(--accent)!important}

html[data-theme] body:not(.entrance-active) #main-content #watchlist-view .research-tip{background:linear-gradient(90deg,rgba(255,138,61,.1),rgba(22,215,170,.035))!important;border:1px solid #646464!important;border-right:3px solid #ff8a3d!important;color:#FFFFFF!important}
html[data-theme] body:not(.entrance-active) #main-content #watchlist-view .research-tip .tip-kicker{color:var(--amber)!important}
html[data-theme] body:not(.entrance-active) #main-content #watchlist-view .research-tip p{color:#b6bdcc!important}
html[data-theme] body:not(.entrance-active) #main-content #watchlist-view .re-conditions-summary .re-heading h2{color:#FFFFFF!important}
html[data-theme] body:not(.entrance-active) #main-content #watchlist-view .re-conditions-summary .re-heading p:not(.eyebrow){color:#b8b8b8!important}
html[data-theme] body:not(.entrance-active) #main-content #watchlist-view .re-empty{background:#111111!important;border:1px solid #646464!important;color:#FFFFFF!important}
html[data-theme] body:not(.entrance-active) #main-content #watchlist-view .re-empty strong{color:#FFFFFF!important}
html[data-theme] body:not(.entrance-active) #main-content #watchlist-view .re-empty p{color:#b8b8b8!important}
html[data-theme] body:not(.entrance-active) #main-content #watchlist-view :where(select,input,button:not(.info-dot):not(.buddy-tooltip-button)){color:#FFFFFF!important}
html[data-theme] body:not(.entrance-active) #main-content #report-view :where(select,textarea,input:not([type=checkbox]):not([type=radio])){background:#111111!important;border-color:#646464!important;color:#FFFFFF!important}
html[data-theme] body:not(.entrance-active) #main-content #report-view :where(select,textarea,input)::placeholder{color:#9da6b9!important;opacity:1!important}

@media(prefers-contrast:more){html[data-theme] body:not(.entrance-active){--muted:#b8bfd0;--line:#646464}html[data-theme] body:not(.entrance-active) :where(.panel,.research-engine-surface,.watchlist-card){border-width:2px!important}}

@media(max-width:840px){
  html[data-theme] body:not(.entrance-active) .side-nav{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;min-height:68px!important;padding:10px 16px!important;align-items:center!important}
  html[data-theme] body:not(.entrance-active) .side-nav .brand{min-height:44px!important;padding:0!important}
  html[data-theme] body:not(.entrance-active) .mobile-nav-toggle{display:inline-flex!important;min-width:96px!important;min-height:44px!important;border:1px solid #646464!important;background:#111111!important;color:#FFFFFF!important;box-shadow:none!important}
  html[data-theme] body:not(.entrance-active) .side-nav nav,
  html[data-theme] body:not(.entrance-active) .side-nav :where(.global-search,.command-centre-launcher,.theme-toggle,.source-status){display:none!important}
  html[data-theme] body:not(.entrance-active) .side-nav.mobile-nav-open nav{display:grid!important;grid-column:1/-1!important;grid-template-columns:1fr!important;gap:4px!important;padding-top:8px!important}
  html[data-theme] body:not(.entrance-active) .side-nav.mobile-nav-open .nav-link{display:flex!important;width:100%!important;min-height:48px!important;padding:10px 12px!important}
  html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener .re-heading{display:grid!important;grid-template-columns:1fr!important;gap:18px!important}
  html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener .re-heading .text-button{width:100%!important;min-height:48px!important}
  html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener .re-presets{display:grid!important;grid-template-columns:1fr!important;overflow:visible!important}
  html[data-theme] body:not(.entrance-active) #main-content #watchlist-view .research-tip{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding:18px!important}
}

/* Core product composition: DOM order is reading and keyboard order. */
html[data-theme] body:not(.entrance-active) #main-content > .view.active-view {
  width: min(1440px, 100%); margin-inline: auto; padding: clamp(16px, 3vw, 40px);
  box-sizing: border-box; background-image: none !important;
}
html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view,#watchlist-view,#compare-view) > * { order: 0 !important; }
html[data-theme] body:not(.entrance-active) #main-content .page-heading { width:100%!important; padding:20px 0 28px!important; margin:0!important; }
html[data-theme] body:not(.entrance-active) #main-content .page-heading h1 { font-size:clamp(2rem,4vw,3.5rem)!important; line-height:1.12!important; letter-spacing:-.035em!important; }
html[data-theme] body:not(.entrance-active) #main-content .view > :is(.discover-top-controls,.discover-workbench,.research-layout,.watchlist-layout,.compare-layout,.report-builder) { width:100%!important; margin-inline:0!important; min-width:0; }
html[data-theme] body:not(.entrance-active) #main-content :is(.discover-row,.re-result-card,.re-question,.re-summary-grid article,.re-divergence-list article,.re-condition-list article,.watchlist-card,.compare-metric) {
  background:#111111!important; background-image:none!important; color:#FFFFFF!important; border-color:#646464!important; box-shadow:none!important;
}
html[data-theme] body:not(.entrance-active) #main-content :is(.re-question,.re-result-card,.compare-metric) :is(h2,h3,h4,strong,summary,label,legend) { color:#FFFFFF!important; }
html[data-theme] body:not(.entrance-active) #main-content :is(.re-question,.re-result-card,.compare-metric) :is(p,small,dt,dd,span:not(.re-state)) { color:#b8b8b8!important; }
html[data-theme] body:not(.entrance-active) #main-content .re-state { color:#11100f!important; }
html[data-theme] body:not(.entrance-active) #main-content :is(button,.text-button,.save-button,summary) { white-space:normal; overflow-wrap:normal; word-break:normal; line-height:1.35; text-transform:none!important; }
html[data-theme] body:not(.entrance-active) #main-content :is(h1,h2,h3,h4,p,li,dd) { word-break:normal; hyphens:none; }
html[data-theme] body:not(.entrance-active) #main-content :is(code,.technical-string,.technical-id,.source-url,.re-provenance dd) { overflow-wrap:anywhere; }
html[data-theme] body:not(.entrance-active) #main-content :is(.re-heading,.panel-heading,.discover-results-header,.compare-header) { flex-wrap:wrap; gap:16px; }
html[data-theme] body:not(.entrance-active) #main-content :is(.re-empty,.re-buddy) { background:#111111!important; color:#b8b8b8!important; }
html[data-theme] body:not(.entrance-active) #main-content :is(.re-empty,.re-buddy) :is(strong,p,span) { color:inherit!important; }

/* Asset identity stays first and has space independent of its action count. */
html[data-theme] body:not(.entrance-active) #asset-view #asset-read-accordion > .asset-header {
  display:grid!important; grid-template-columns:minmax(0,1fr) minmax(220px,.65fr)!important;
  grid-template-areas:"top top" "identity price" "tags price"!important;
  gap:18px 28px!important; min-height:0!important; height:auto!important; padding:24px!important;
  background:#111111!important; background-image:none!important; border:1px solid #646464!important; border-radius:10px!important; box-shadow:none!important;
}
html[data-theme] body:not(.entrance-active) #asset-view .asset-header::before,
html[data-theme] body:not(.entrance-active) #asset-view .asset-header::after { content:none!important; }
html[data-theme] body:not(.entrance-active) #asset-view .asset-card-topline { grid-area:top!important; position:static!important; display:flex!important; justify-content:space-between; align-items:center; gap:12px; }
html[data-theme] body:not(.entrance-active) #asset-view .asset-card-identity-row { grid-area:identity!important; display:flex!important; align-items:center; gap:16px; min-width:0; }
html[data-theme] body:not(.entrance-active) #asset-view .asset-card-name { min-width:0; width:auto!important; }
html[data-theme] body:not(.entrance-active) #asset-view #asset-title { font-size:clamp(2rem,4vw,3.25rem)!important; line-height:1.12!important; margin:4px 0!important; max-width:100%!important; }
html[data-theme] body:not(.entrance-active) #asset-view .asset-detail-logo { width:56px!important; height:56px!important; flex:0 0 56px; }
html[data-theme] body:not(.entrance-active) #asset-view .asset-tag-strip { grid-area:tags!important; display:flex!important; flex-wrap:wrap; width:auto!important; gap:8px; }
html[data-theme] body:not(.entrance-active) #asset-view #asset-read-accordion .asset-price { grid-area:price!important; position:static!important; width:auto!important; min-width:0!important; display:flex!important; flex-direction:column; align-items:flex-start!important; gap:10px!important; border:0!important; padding:0!important; background:transparent!important; }
html[data-theme] body:not(.entrance-active) #asset-view .asset-price-actions { display:flex!important; flex-wrap:wrap; gap:8px!important; width:100%!important; }
html[data-theme] body:not(.entrance-active) #asset-view .asset-price-actions > * { margin:0!important; min-height:44px; max-width:100%; }
html[data-theme] body:not(.entrance-active) #asset-view .asset-price-actions :is(a,button,summary) { padding:10px 14px!important; box-shadow:none!important; }
html[data-theme] body:not(.entrance-active) #asset-view .research-mode-bar { position:static!important; display:flex!important; justify-content:space-between; flex-wrap:wrap; gap:16px; padding:18px 0!important; background:transparent!important; box-shadow:none!important; }
html[data-theme] body:not(.entrance-active) #asset-view .research-mode-actions { display:flex!important; flex-wrap:wrap; gap:8px; }
html[data-theme] body:not(.entrance-active) #asset-view .research-mode-actions button { min-height:44px; }
#research-engine-workspace { margin-block:24px; }
#research-engine-workspace [data-re-research-body] { display:grid; gap:12px; }
#research-engine-workspace .re-section-disclosure { padding:0!important; }
#research-engine-workspace .re-section-disclosure > summary { padding:18px 20px; cursor:pointer; font-size:1rem; font-weight:650; min-height:56px; }
#research-engine-workspace .re-section-content { padding:0 20px 20px; }
#research-engine-workspace .re-section-disclosure:not([open]) > .re-section-content { display:none!important; }
#research-engine-workspace .re-section-disclosure .eyebrow { margin-top:0; }
#research-engine-workspace .re-section-disclosure > summary:focus-visible { outline-offset:-4px!important; }
#research-engine-workspace .re-condition-form fieldset { grid-template-columns:repeat(2,minmax(0,1fr)); }
#research-engine-workspace .re-condition-form :is(input,select) { width:100%; min-width:0; }

/* Offscreen assistants must not remain in the keyboard or accessibility order. */
body:not(.buddy-open) #dyor-buddy { visibility:hidden!important; pointer-events:none!important; }
body.buddy-open #dyor-buddy { visibility:visible!important; }
html[data-theme] body:not(.entrance-active) .buddy-launcher { width:52px!important; min-width:52px!important; height:52px!important; padding:8px!important; right:16px!important; bottom:16px!important; }
html[data-theme] body:not(.entrance-active) .buddy-launcher > :is(span:nth-child(2),kbd) { display:none!important; }
@media(max-width:760px) {
  html[data-theme] body:not(.entrance-active) #asset-view #asset-read-accordion > .asset-header { grid-template-columns:minmax(0,1fr)!important; grid-template-areas:"top" "identity" "tags" "price"!important; padding:18px!important; gap:16px!important; }
  html[data-theme] body:not(.entrance-active) #asset-view .research-mode-actions { width:100%; display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr)); }
  html[data-theme] body:not(.entrance-active) #asset-view .research-mode-actions button { padding:10px 8px!important; font-size:.85rem!important; }
  html[data-theme] body:not(.entrance-active) #main-content :is(.compare-layout,.compare-main,.watchlist-layout,.discover-workbench) { grid-template-columns:minmax(0,1fr)!important; }
  #research-engine-workspace .re-condition-form fieldset { grid-template-columns:minmax(0,1fr); }
  .re-review-list,.re-summary-grid,.evidence-loop__answers { grid-template-columns:minmax(0,1fr); }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto!important; } }

html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view,#compare-view,#watchlist-view,#asset-view,#report-view) { padding:clamp(16px,3vw,40px)!important; background-image:none!important; }
html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view,#compare-view,#watchlist-view,#asset-view,#report-view) > .page-heading { padding:16px 0 24px!important; min-height:0!important; width:100%!important; border:0!important; background:transparent!important; box-shadow:none!important; }
html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view,#compare-view,#watchlist-view,#asset-view,#report-view) > .page-heading::before,
html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view,#compare-view,#watchlist-view,#asset-view,#report-view) > .page-heading::after { content:none!important; }
html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view,#compare-view,#watchlist-view,#asset-view,#report-view) > .page-heading h1 { font-size:clamp(2rem,4vw,3.5rem)!important; line-height:1.15!important; max-width:24ch!important; margin:10px 0 14px!important; }
html[data-theme] body:not(.entrance-active) #asset-view #asset-read-accordion > * { order:0!important; }
html[data-theme] body:not(.entrance-active) #asset-view #asset-read-accordion .asset-card-identity-row { flex-direction:row!important; align-items:center!important; justify-content:flex-start!important; }
html[data-theme] body:not(.entrance-active) #asset-view #asset-read-accordion .asset-card-name { flex:1; }
html[data-theme] body:not(.entrance-active) #asset-view #asset-read-accordion #asset-title::after,
html[data-theme] body:not(.entrance-active) #asset-view #asset-read-accordion #asset-title::before { content:none!important; }
html[data-theme] body:not(.entrance-active) #asset-view #asset-read-accordion .asset-price-actions :is(a,button,summary) { box-shadow:none!important; border:1px solid #646464!important; background:#111111!important; color:#FFFFFF!important; border-radius:6px!important; }
html[data-theme] body:not(.entrance-active) #asset-view #asset-read-accordion .asset-detail-logo :is(.asset-logo,img) { width:100%!important; height:100%!important; object-fit:contain!important; background:transparent!important; filter:none!important; }
html[data-theme] body:not(.entrance-active) #main-content .tooltip-actions { display:inline-flex!important; flex-wrap:nowrap!important; align-items:center!important; vertical-align:middle; gap:2px!important; margin-left:4px; }
html[data-theme] body:not(.entrance-active) #main-content .tooltip-actions :is(.info-dot,.buddy-tooltip-button) { display:inline-flex!important; align-items:center!important; justify-content:center!important; width:36px!important; height:36px!important; min-width:36px!important; min-height:36px!important; padding:0!important; margin:0!important; border:1px solid #646464!important; background:#111111!important; color:#b8b8b8!important; border-radius:50%!important; box-shadow:none!important; font-size:12px!important; }
html[data-theme] body:not(.entrance-active) #main-content .tooltip-actions svg { width:16px!important; height:16px!important; }
.discover-pagination { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding:18px 0; }
@media(max-width:760px) {
  html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener .re-presets { display:flex!important; overflow-x:auto!important; scroll-snap-type:x mandatory; gap:10px!important; padding-bottom:10px!important; }
  html[data-theme] body:not(.entrance-active) #main-content #discover-view #research-screener .re-presets button { flex:0 0 85%; min-width:0!important; min-height:104px!important; scroll-snap-align:start; }
}
/* Component display rules must never reveal data explicitly marked hidden. */
html[data-theme] body:not(.entrance-active) #main-content :is(#asset-view,#discover-view,#compare-view,#watchlist-view,#report-view) [hidden] { display:none!important; }
html[data-theme] body:not(.entrance-active) #asset-view #asset-read-accordion .research-mode-bar { min-height:0!important; height:auto!important; margin:0!important; padding:16px 0!important; justify-content:flex-start!important; gap:12px!important; }
html[data-theme] body:not(.entrance-active) #asset-view #asset-read-accordion .asset-price-actions :is(#asset-save-button,.text-button,.save-button,.asset-action-menu) { width:auto!important; min-width:0!important; flex:0 1 auto!important; }
html[data-theme] body:not(.entrance-active) #asset-view #research-snapshot { padding:20px!important; display:grid!important; gap:18px!important; background:#111111!important; border:1px solid #646464!important; border-radius:10px!important; }
html[data-theme] body:not(.entrance-active) #asset-view #research-snapshot > * { margin:0!important; min-height:0!important; }
html[data-theme] body:not(.entrance-active) #asset-view #research-snapshot .research-snapshot-heading { display:flex!important; flex-wrap:wrap; align-items:flex-start!important; gap:16px!important; }
html[data-theme] body:not(.entrance-active) #asset-view #research-snapshot #snapshot-evidence-confidence { width:auto!important; padding:0 0 0 12px!important; min-height:0!important; display:grid!important; gap:4px!important; }
html[data-theme] body:not(.entrance-active) #asset-view #research-snapshot #snapshot-evidence-confidence strong { font-size:1.4rem!important; line-height:1.2!important; }
html[data-theme] body:not(.entrance-active) #asset-view #research-snapshot #snapshot-finding { font-size:1.25rem!important; line-height:1.45!important; letter-spacing:0!important; max-width:65ch!important; margin:8px 0!important; }
html[data-theme] body:not(.entrance-active) #asset-view #research-snapshot :is(.snapshot-finding,.snapshot-knowledge-grid article,.snapshot-essential-facts article) { padding:14px!important; background:#111111!important; min-height:0!important; border:1px solid #646464!important; }
html[data-theme] body:not(.entrance-active) #asset-view #research-snapshot :is(h2,h3,strong,b,span,small,p,dt,dd) { color:#FFFFFF!important; }
html[data-theme] body:not(.entrance-active) #asset-view #research-snapshot :is(.snapshot-knowledge-grid,.snapshot-essential-facts) { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:12px!important; }
html[data-theme] body:not(.entrance-active) #asset-view #research-snapshot .snapshot-knowledge-grid { grid-template-columns:repeat(3,minmax(0,1fr))!important; }
html[data-theme] body:not(.entrance-active) #asset-view #research-snapshot .snapshot-knowledge-grid strong { font-size:1rem!important; line-height:1.5!important; }
html[data-theme] body:not(.entrance-active) #asset-view #research-snapshot .snapshot-essential-facts strong { font-size:1.2rem!important; line-height:1.3!important; }
html[data-theme] body:not(.entrance-active) #asset-view #research-snapshot .snapshot-essential-facts small { font-size:.75rem!important; overflow-wrap:anywhere!important; }
html[data-theme] body:not(.entrance-active) #asset-view #research-mission { padding:0!important; background:transparent!important; border:0!important; }
#research-mission details > summary { cursor:pointer; padding:14px 0; font-weight:650; }
#research-mission details:not([open]) > :not(summary) { display:none!important; }
@media(max-width:760px) {
 html[data-theme] body:not(.entrance-active) #asset-view #research-snapshot .snapshot-knowledge-grid { grid-template-columns:minmax(0,1fr)!important; }
 html[data-theme] body:not(.entrance-active) #asset-view #research-snapshot .snapshot-footer { display:grid!important; grid-template-columns:1fr!important; gap:14px!important; padding:0!important; }
 html[data-theme] body:not(.entrance-active) #asset-view #research-snapshot .contextual-disclosures { grid-template-columns:1fr!important; }
}

html[data-theme] body:not(.entrance-active) #asset-view #asset-read-accordion .research-mode-bar > div:first-child { display:grid!important; gap:4px!important; color:#FFFFFF!important; }
html[data-theme] body:not(.entrance-active) #asset-view #asset-read-accordion .research-mode-bar > div:first-child :is(.label,strong) { display:none!important; }
html[data-theme] body:not(.entrance-active) #asset-view #asset-read-accordion .research-mode-bar small { color:#b8b8b8!important; font-size:.875rem!important; line-height:1.45!important; }
html[data-theme] body:not(.entrance-active) #main-content #discover-view .live-discovery-panel :is(section,.live-queue) { background:#111111!important; color:#FFFFFF!important; }
html[data-theme] body:not(.entrance-active) #main-content #discover-view .live-discovery-panel :is(h3,summary,summary span) { color:#FFFFFF!important; }
/* Keep foreground and surface colors paired across older component themes. */
html[data-theme] body:not(.entrance-active) #main-content #asset-view .server-evidence-summary :is(.label,h2,p,strong,a) { color:#FFFFFF!important; }
html[data-theme] body:not(.entrance-active) #main-content #compare-view .compare-hero-card { background:#111111!important; color:#FFFFFF!important; }
html[data-theme] body:not(.entrance-active) #main-content #compare-view .compare-hero-card :is(.label,h2,strong,small,p) { color:#FFFFFF!important; }
html[data-theme] body:not(.entrance-active) #main-content #watchlist-view :is(.watchlist-card,.empty-state) :is(strong,small,p,dt,dd,.saved-workflow-state,.saved-state-control span) { color:#FFFFFF!important; }
html[data-theme] body:not(.entrance-active) #main-content #watchlist-view .watchlist-card button[data-asset] { background:#E85002!important; color:#11100f!important; }
html[data-theme] body:not(.entrance-active) #main-content #report-view :is(#report-advanced-settings > summary,.report-export-options > summary,.report-chapter-marker > span) { color:#FFFFFF!important; }
html[data-theme] body:not(.entrance-active) #main-content #report-view :is([data-report-outcome].active,[data-report-chapter-target][aria-current]) :is(span,strong,small) { color:#11100f!important; }
html[data-theme] body:not(.entrance-active) .secondary-nav-menu:not([open]) > .secondary-nav-links { display:none!important; }
html[data-theme] body:not(.entrance-active) #main-content #compare-view .compare-hero-card { box-shadow:none!important; border:1px solid #646464!important; border-radius:10px!important; }
html[data-theme] body:not(.entrance-active) #main-content #compare-view .compare-hero-card::after,
html[data-theme] body:not(.entrance-active) #main-content #compare-view .compare-hero-card::before { content:none!important; }
html[data-theme] body:not(.entrance-active) #main-content #compare-view .compare-main > :is(.compare-risk-table-panel:has(#compare-risk-table:empty),.compare-matrix-panel:has(#compare-matrix:empty),.compare-context-panel:has(#compare-context:empty)) { display:none!important; }
html[data-theme] body:not(.entrance-active) #main-content #compare-view .compare-evidence-grid section > div { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px; }
html[data-theme] body:not(.entrance-active) #main-content #compare-view .compare-hero-card > div > span { color:#FFFFFF!important; }

/* Use one navigation breakpoint through tablet and narrow desktop widths. */
@media(max-width:1120px){
  html[data-theme] body:not(.entrance-active) .side-nav{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;min-height:68px!important;padding:10px 16px!important;align-items:center!important}
  html[data-theme] body:not(.entrance-active) .side-nav .brand{min-height:44px!important;padding:0!important}
  html[data-theme] body:not(.entrance-active) .mobile-nav-toggle{display:inline-flex!important;min-width:96px!important;min-height:44px!important;border:1px solid #646464!important;background:#111111!important;color:#FFFFFF!important;box-shadow:none!important}
  html[data-theme] body:not(.entrance-active) .side-nav nav,
  html[data-theme] body:not(.entrance-active) .side-nav :where(.global-search,.command-centre-launcher,.theme-toggle,.source-status){display:none!important}
  html[data-theme] body:not(.entrance-active) .side-nav.mobile-nav-open nav{display:grid!important;grid-column:1/-1!important;grid-template-columns:1fr!important;gap:4px!important;padding-top:8px!important}
  html[data-theme] body:not(.entrance-active) .side-nav.mobile-nav-open .nav-link{display:flex!important;width:100%!important;min-height:48px!important;padding:10px 12px!important}

  html[data-theme] body:not(.entrance-active) .side-nav { height:auto!important; }
  html[data-theme] body:not(.entrance-active) .side-nav.mobile-nav-open { max-height:100svh!important; overflow-y:auto!important; }
  html[data-theme] body:not(.entrance-active) .secondary-nav-links { position:static!important; }
}
@media(min-width:1121px){ html[data-theme] body:not(.entrance-active) .mobile-nav-toggle { display:none!important; } }
/* Status text on the reference dark-gray surface must remain readable. */
html[data-theme] body:not(.entrance-active) #main-content #asset-view #research-snapshot #snapshot-essential-facts .data-status b { color:#f9f9f9!important; }
/* Pure-white copy on the simplified dark-gray research panels. */
html[data-theme] body:not(.entrance-active) #main-content #watchlist-view :is(.watchlist-summary,.watchlist-briefing,.saved-evidence-monitor) :is(.label,h2,h3,#saved-evidence-monitor-title,#watchlist-summary-copy) { color:#FFFFFF!important; }

/* Homepage continuity: open canvas, quiet separators, one action accent. */
html[data-theme] body:not(.entrance-active) .side-nav{background:#111111!important;border-bottom:1px solid #333333!important;backdrop-filter:none;box-shadow:none!important}
html[data-theme] body:not(.entrance-active) .side-nav :is(.nav-link,.secondary-nav-menu>summary){background:transparent!important;border:0!important;border-radius:0!important;font-size:.7rem!important;letter-spacing:.1em!important;font-weight:700!important}
html[data-theme] body:not(.entrance-active) .side-nav .nav-link.active{color:#FFFFFF!important;box-shadow:inset 0 -2px #E85002!important}
html[data-theme] body:not(.entrance-active) .side-nav .brand strong{color:#FFFFFF!important}
html[data-theme] body:not(.entrance-active) #main-content :is(.asset-hero,.asset-overview,.asset-header,.page-heading){border:0!important;box-shadow:none!important;background:transparent!important}
html[data-theme] body:not(.entrance-active) #main-content :is(.page-heading h1,#asset-title){font-size:clamp(2.6rem,5.5vw,5.5rem)!important;letter-spacing:-.055em!important;line-height:1.03!important;text-wrap:balance}
html[data-theme] body:not(.entrance-active) #main-content :is(.panel,.research-snapshot,.research-engine-surface,.re-question,.report-controls){border-color:#333333!important;background:#111111!important;box-shadow:none!important}
html[data-theme] body:not(.entrance-active) #main-content :is(.snapshot-knowledge-grid article,.re-summary-grid article,.metric-card){background:transparent!important;border:0!important;border-top:1px solid #333333!important;border-radius:0!important;box-shadow:none!important}
html[data-theme] body:not(.entrance-active) :is(.primary-button,.entrance-button){border-radius:999px!important;padding:14px 22px!important;font-weight:700!important}
html[data-theme] body:not(.entrance-active) #main-content :is(p,li){text-wrap:pretty}
html[data-theme] body:not(.entrance-active) #main-content .page-heading>p:not(.eyebrow){max-width:56ch!important;color:#b8b8b8!important}
html[data-theme] body:not(.entrance-active) #main-content details.research-tip{margin-block:12px 24px!important;padding:14px 0!important;background:transparent!important;border:0!important;border-block:1px solid #333333!important}
html[data-theme] body:not(.entrance-active) #main-content details.research-tip>summary{cursor:pointer;color:#b8b8b8!important;min-height:32px;align-content:center}
html[data-theme] body:not(.entrance-active) #main-content details.research-tip>p{max-width:70ch}
html[data-theme] body:not(.entrance-active) #main-content .research-mode-bar{gap:16px!important;justify-content:space-between!important;flex-wrap:wrap!important}
html[data-theme] body:not(.entrance-active) #main-content .research-mode-actions{display:flex!important;gap:4px!important;flex-wrap:wrap!important;padding:4px!important;border:1px solid #333333!important;border-radius:999px!important}
html[data-theme] body:not(.entrance-active) #main-content .research-mode-actions button{border:0!important;background:transparent!important;border-radius:999px!important;min-height:44px!important}
html[data-theme] body:not(.entrance-active) #main-content .research-mode-actions button[aria-pressed=true]{background:#FFFFFF!important;color:#111111!important}
/* The tape's status must not collide with animated prices. */
.entrance-active .market-tape-status{min-width:0!important;max-width:210px!important;overflow:hidden}
.entrance-active .market-tape-status [data-market-tape-state]{font-size:.65rem!important;letter-spacing:.06em!important;white-space:normal!important}
.entrance-active .market-tape-window{min-width:0;overflow:hidden}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 :is(button,.entrance-button,.primary-button,.text-button){transition:background-color .18s ease,border-color .18s ease,transform .18s ease!important}
 :is(.entrance-button,.primary-button):hover{transform:translateY(-2px)}
 :is(.re-result-card,.watchlist-card,.report-outcome-card):hover{border-color:#a7a7a7!important}
}
@media(prefers-reduced-motion:no-preference){button:active,.entrance-button:active{transform:scale(.98)} details>summary{transition:color .18s ease}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}}
@media(max-width:600px){
 html[data-theme] body:not(.entrance-active) #main-content .research-mode-actions{border-radius:14px!important;width:100%;justify-content:space-between}
 html[data-theme] body:not(.entrance-active) #main-content .research-mode-actions button{flex:1;min-width:0;font-size:.75rem!important;padding-inline:8px!important}
 html[data-theme] body:not(.entrance-active) #main-content .page-heading{padding-top:32px!important}
}
.market-tape-paused .market-tape-track{animation-play-state:paused!important}
.entrance-active .market-tape-pause{border:0!important;background:transparent!important;color:#FFFFFF!important;font-size:.7rem;min-height:44px;text-decoration:underline;text-underline-offset:4px;padding:0 8px!important;cursor:pointer}
@media(prefers-reduced-motion:reduce){.market-tape-pause{display:none!important}}
html[data-theme] body:not(.entrance-active) #main-content #asset-view #asset-read-accordion>.asset-header{border:0!important;padding-inline:0!important;background:transparent!important;box-shadow:none!important}
html[data-theme] body:not(.entrance-active) #main-content .research-mode-actions button[aria-selected=true]{background:#FFFFFF!important;color:#111111!important}
html[data-theme] body:not(.entrance-active) #discover-view .live-discovery-panel::before{content:none!important}
html[data-theme] body:not(.entrance-active) :is(.eyebrow,.label,.snapshot-kicker,.asset-tags){font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important}
html[data-theme] body:not(.entrance-active) .side-nav nav{border:0!important;box-shadow:none!important}
html[data-theme] body:not(.entrance-active) #main-content .view.active-view details.research-tip.page-tip{display:block!important;width:calc(100% - 44px)!important;max-width:1472px!important;margin-inline:auto!important}
html[data-theme] body:not(.entrance-active) #main-content .view.active-view details.research-tip.page-tip>summary{display:list-item!important}
