:root {
  --evo-ink: #0b0b0d;
  --evo-ink-soft: #151519;
  --evo-paper: #f5efe4;
  --evo-paper-soft: #fff8eb;
  --evo-copy: #f7f0e5;
  --evo-muted: #b7b1aa;
  --evo-orange: #ff5a1f;
  --evo-orange-soft: #ff8151;
  --evo-line: rgba(245, 239, 228, .22);
}

/* Homepage proof is runtime-fed; labels must remain readable at every state. */
.entrance .hero-proof small {
  color: #c7c2ba !important;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.35;
}
.entrance .hero-proof b { color: #fffaf1 !important; }
.entrance-live-status {
  max-width: 700px;
  margin: .85rem 0 0;
  color: #a9b1c1 !important;
  font-size: .78rem !important;
}
.entrance-live-status[data-state="live"]::before {
  content: "";
  display: inline-block;
  width: .55rem;
  height: .55rem;
  margin-right: .5rem;
  border-radius: 50%;
  background: #16d7aa;
  box-shadow: 0 0 0 .24rem rgba(22, 215, 170, .14);
}

/* Product pages now share one editorial instrument rather than unrelated themes. */
html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view, #compare-view) {
  --ink: var(--evo-copy);
  --muted: var(--evo-muted);
  --panel: var(--evo-ink-soft);
  --surface: var(--evo-ink-soft);
  color: var(--evo-copy) !important;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 90, 31, .12), transparent 28rem),
    linear-gradient(rgba(245,239,228,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,239,228,.035) 1px, transparent 1px),
    var(--evo-ink) !important;
  background-size: auto, 42px 42px, 42px 42px, auto !important;
  border-radius: 24px 24px 0 0;
  padding: clamp(22px, 4vw, 56px) !important;
}

html[data-theme] body:not(.entrance-active) #main-content :is(#asset-view, #watchlist-view) {
  --ink: var(--evo-copy);
  --muted: var(--evo-muted);
  --panel: var(--evo-ink-soft);
  --surface: var(--evo-ink-soft);
  color: var(--evo-copy) !important;
  background:
    radial-gradient(circle at 95% 4%, rgba(255, 90, 31, .1), transparent 30rem),
    linear-gradient(rgba(245,239,228,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,239,228,.03) 1px, transparent 1px),
    var(--evo-ink) !important;
  background-size: auto, 42px 42px, 42px 42px, auto !important;
  border-radius: 24px 24px 0 0;
  padding: clamp(22px, 4vw, 56px) !important;
}

html[data-theme] body:not(.entrance-active) #main-content :is(#portfolio-view, #report-view) {
  --ink: var(--evo-copy);
  --muted: var(--evo-muted);
  --panel: var(--evo-ink-soft);
  --surface: var(--evo-ink-soft);
  color: var(--evo-copy) !important;
  background:
    radial-gradient(circle at 94% 5%, rgba(255,90,31,.11), transparent 30rem),
    linear-gradient(rgba(245,239,228,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,239,228,.03) 1px, transparent 1px),
    var(--evo-ink) !important;
  background-size: auto, 42px 42px, 42px 42px, auto !important;
  border-radius: 24px 24px 0 0;
  padding: clamp(22px, 4vw, 56px) !important;
}

:is(#portfolio-view,#report-view) > .page-heading {
  position: relative !important;
  min-height: clamp(270px, 34vw, 410px);
  margin: 0 0 clamp(28px, 5vw, 58px) !important;
  padding: clamp(28px, 5vw, 70px) !important;
  overflow: hidden !important;
  border: 1px solid var(--evo-line) !important;
  border-radius: 22px !important;
  background: linear-gradient(128deg, #17171b 0 62%, #25130d 100%) !important;
  box-shadow: 12px 12px 0 var(--evo-orange) !important;
}
:is(#portfolio-view,#report-view) > .page-heading::after {
  position: absolute;
  right: clamp(20px,5vw,72px);
  bottom: clamp(-25px,-2vw,-5px);
  color: rgba(255,90,31,.9);
  font: 800 clamp(8rem,22vw,19rem)/.75 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing: -.12em;
  pointer-events: none;
}
#portfolio-view > .page-heading::after { content: "03"; }
#report-view > .page-heading::after { content: "04"; }
:is(#portfolio-view,#report-view) > .page-heading > * { position: relative; z-index: 1; max-width: 760px; }
:is(#portfolio-view,#report-view) > .page-heading h1 {
  margin-top: .65rem;
  color: var(--evo-copy) !important;
  font-size: clamp(3rem,8vw,7rem) !important;
  line-height: .9 !important;
  letter-spacing: -.06em !important;
}
:is(#portfolio-view,#report-view) > .page-heading > p:last-child {
  max-width: 56ch;
  margin-top: 1.35rem;
  color: #cbc5bd !important;
  font-size: clamp(1rem,1.5vw,1.22rem) !important;
}

:is(#portfolio-view,#report-view) :where(.panel,.research-portfolio-manager,.portfolio-overview,.portfolio-holdings,.portfolio-stress,.portfolio-factor,.portfolio-liquidity,.report-controls,.report-preview,.report-share-preview-card) {
  border-color: var(--evo-line) !important;
  border-radius: 20px !important;
  background: rgba(21,21,25,.97) !important;
  color: var(--evo-copy) !important;
  box-shadow: none !important;
}
:is(#portfolio-view,#report-view) :where(h1,h2,h3,h4,strong,b,label,dt) { color: var(--evo-copy) !important; }
:is(#portfolio-view,#report-view) :where(p,li,dd,small,time,figcaption) { color: var(--evo-muted) !important; }
:is(#portfolio-view,#report-view) :where(.label,.eyebrow) { color: var(--evo-orange-soft) !important; }
:is(#portfolio-view,#report-view) :where(input,select,textarea) {
  border-color: rgba(245,239,228,.42) !important;
  background: #0d0d10 !important;
  color: var(--evo-copy) !important;
}

#portfolio-view .research-portfolio-manager {
  grid-column: 1 / -1;
  border-top: 5px solid var(--evo-orange) !important;
  padding: clamp(22px,3vw,38px) !important;
}
#portfolio-view .research-portfolio-summary {
  border: 1px solid var(--evo-line);
  border-radius: 16px;
  background: var(--evo-paper) !important;
}
#portfolio-view .research-portfolio-summary :where(span,strong,b,small,p) { color: #29251f !important; }
#portfolio-view :where(.research-portfolio-form,.hypothetical-position-form) {
  padding: clamp(18px,2vw,28px) !important;
  border: 1px solid var(--evo-line) !important;
  border-radius: 16px !important;
  background: #101013 !important;
}
#portfolio-view .portfolio-kpis {
  gap: 1px !important;
  overflow: hidden;
  border: 1px solid rgba(21,19,16,.2);
  border-radius: 16px;
  background: rgba(21,19,16,.2) !important;
}
#portfolio-view .portfolio-kpis > div {
  min-height: 145px;
  padding: 22px !important;
  border: 0 !important;
  background: var(--evo-paper) !important;
}
#portfolio-view .portfolio-kpis :where(span,strong,b,small,p) { color: #29251f !important; }
#portfolio-view :where(.portfolio-stress-card,.portfolio-factor-card,.portfolio-liquidity-row,.portfolio-holding) {
  border-color: var(--evo-line) !important;
  background: #101013 !important;
}
#portfolio-view :where(.portfolio-stress-card,.portfolio-factor-card,.portfolio-liquidity-row,.portfolio-holding):hover {
  border-color: var(--evo-orange) !important;
}

#report-view .report-outcome-picker {
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 10px !important;
  margin-bottom: clamp(28px,4vw,52px) !important;
  padding: 0 !important;
  border: 0 !important;
}
#report-view .report-outcome-card {
  min-height: 190px;
  padding: 22px !important;
  border: 1px solid var(--evo-line) !important;
  border-radius: 16px !important;
  background: #151519 !important;
  color: var(--evo-copy) !important;
  text-align: left;
}
#report-view .report-outcome-card :where(strong,span) { color: var(--evo-copy) !important; }
#report-view .report-outcome-card small { color: var(--evo-muted) !important; }
#report-view .report-outcome-card:is(.active,[aria-pressed="true"]) {
  border-color: var(--evo-orange) !important;
  background: var(--evo-orange) !important;
  color: #130b08 !important;
}
#report-view .report-outcome-card:is(.active,[aria-pressed="true"]) * { color: #130b08 !important; }
#report-view .report-controls {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: clamp(20px,2.6vw,32px) !important;
  border-top: 5px solid var(--evo-orange) !important;
}
#report-view .report-advanced-settings,
#report-view .report-export-options {
  border: 1px solid var(--evo-line) !important;
  border-radius: 14px !important;
  background: #0d0d10 !important;
}
#report-view .section-picker {
  border-color: var(--evo-line) !important;
  background: #101013 !important;
}
#report-view .report-preview {
  overflow: hidden;
  padding: 0 !important;
}
#report-view .report-preview :where(.report-hero-card,.report-callout,.report-checklist,.report-method-disclosure,.report-snapshot-meta,.report-chapter-marker) {
  border-color: rgba(21,19,16,.22) !important;
}
#report-view .report-preview :where(.report-hero-card,.report-callout,.report-checklist,.report-method-disclosure,.report-snapshot-meta) {
  background: var(--evo-paper) !important;
}
#report-view .report-preview :where(.report-hero-card,.report-callout,.report-checklist,.report-method-disclosure,.report-snapshot-meta) :where(h1,h2,h3,h4,strong,b,span,p,small,li,dt,dd) {
  color: #29251f !important;
}
#report-view .report-chapter-marker {
  background: #151519 !important;
}
#report-view .report-chapter-marker :where(span,h2,p) { color: var(--evo-copy) !important; }
#report-view .report-reader-nav {
  border-color: var(--evo-line) !important;
  background: rgba(11,11,13,.94) !important;
  backdrop-filter: blur(16px);
}
#report-view .report-reader-nav button { color: var(--evo-copy) !important; }
#report-view .report-reader-nav button[aria-current="location"] {
  border-color: var(--evo-orange) !important;
  background: var(--evo-orange) !important;
  color: #130b08 !important;
}

/* Buddy becomes the visible intelligence process, using the same product palette. */
.dyor-buddy {
  overflow: hidden;
  border: 1px solid rgba(245,239,228,.28) !important;
  border-top: 5px solid var(--evo-orange) !important;
  border-radius: 22px !important;
  background: #111114 !important;
  color: var(--evo-copy) !important;
  box-shadow: 14px 18px 60px rgba(0,0,0,.5) !important;
}
.dyor-buddy :where(.buddy-handle,.buddy-thread,.buddy-compose,.buddy-suggestions,.buddy-context) {
  border-color: rgba(245,239,228,.18) !important;
  background: #111114 !important;
}
.dyor-buddy :where(h1,h2,h3,strong,b,label,summary) { color: var(--evo-copy) !important; }
.dyor-buddy :where(p,small,span,li) { color: var(--evo-muted) !important; }
.dyor-buddy .buddy-context { background: rgba(255,90,31,.09) !important; }
.dyor-buddy .buddy-context .label,
.dyor-buddy .buddy-answer-head small { color: var(--evo-orange-soft) !important; }
.dyor-buddy .buddy-compose textarea {
  border: 1px solid rgba(245,239,228,.3) !important;
  border-radius: 14px !important;
  background: #09090b !important;
  color: var(--evo-copy) !important;
}
.dyor-buddy .buddy-send-button,
.dyor-buddy .buddy-next-question {
  border-color: var(--evo-orange) !important;
  background: var(--evo-orange) !important;
  color: #130b08 !important;
}
.buddy-launcher {
  border: 2px solid var(--evo-paper) !important;
  background: #111114 !important;
  color: var(--evo-copy) !important;
  box-shadow: 5px 5px 0 var(--evo-orange) !important;
}
.buddy-launcher :where(b,small,kbd) { color: var(--evo-copy) !important; }
.buddy-launcher:hover,.buddy-launcher:focus-visible { background: #20130f !important; outline-color: var(--evo-orange) !important; }

/* Public output and learning surfaces complete the same narrative system. */
html[data-theme] body:not(.entrance-active) #main-content :is(#share-view,#newsletter-view,#support-view) {
  --ink: var(--evo-copy);
  --muted: var(--evo-muted);
  --panel: var(--evo-ink-soft);
  --surface: var(--evo-ink-soft);
  color: var(--evo-copy) !important;
  background:
    radial-gradient(circle at 94% 5%,rgba(255,90,31,.11),transparent 30rem),
    linear-gradient(rgba(245,239,228,.03) 1px,transparent 1px),
    linear-gradient(90deg,rgba(245,239,228,.03) 1px,transparent 1px),
    var(--evo-ink) !important;
  background-size: auto,42px 42px,42px 42px,auto !important;
  border-radius: 24px 24px 0 0;
  padding: clamp(22px,4vw,56px) !important;
}
:is(#share-view,#newsletter-view) > .page-heading,
#support-view .support-blog-hero {
  position: relative;
  min-height: clamp(280px,36vw,430px);
  margin: 0 0 clamp(28px,5vw,58px) !important;
  padding: clamp(28px,5vw,70px) !important;
  overflow: hidden;
  border: 1px solid var(--evo-line) !important;
  border-radius: 22px !important;
  background: linear-gradient(128deg,#17171b 0 62%,#25130d 100%) !important;
  box-shadow: 12px 12px 0 var(--evo-orange) !important;
}
:is(#share-view,#newsletter-view) > .page-heading::after,
#support-view .support-blog-hero::after {
  position: absolute;
  right: clamp(20px,5vw,72px);
  bottom: clamp(-25px,-2vw,-5px);
  color: rgba(255,90,31,.88);
  font: 800 clamp(8rem,22vw,19rem)/.75 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing: -.12em;
  pointer-events: none;
}
#share-view > .page-heading::after { content: "05"; }
#newsletter-view > .page-heading::after { content: "06"; }
#support-view .support-blog-hero::after { content: "07"; }
:is(#share-view,#newsletter-view) > .page-heading > *,
#support-view .support-blog-hero > * { position: relative; z-index: 1; max-width: 780px; }
:is(#share-view,#newsletter-view) > .page-heading h1,
#support-view .support-blog-hero h1 {
  margin-top: .65rem;
  color: var(--evo-copy) !important;
  font-size: clamp(3rem,8vw,7rem) !important;
  line-height: .9 !important;
  letter-spacing: -.06em !important;
}
:is(#share-view,#newsletter-view) > .page-heading > p:last-child,
#support-view .support-blog-hero > p {
  max-width: 58ch;
  margin-top: 1.35rem;
  color: #cbc5bd !important;
  font-size: clamp(1rem,1.5vw,1.22rem) !important;
}
:is(#share-view,#newsletter-view,#support-view) :where(.label,.eyebrow,.tip-kicker) { color: var(--evo-orange-soft) !important; }
:is(#share-view,#newsletter-view,#support-view) :where(.panel,.share-controls,.newsletter-cover-card,.newsletter-market-board,.newsletter-lead-story,.newsletter-side-note,.newsletter-queue-card,.support-blog-card) {
  border-color: var(--evo-line) !important;
  border-radius: 18px !important;
  background: #151519 !important;
  color: var(--evo-copy) !important;
  box-shadow: none !important;
}
:is(#share-view,#newsletter-view,#support-view) :where(h1,h2,h3,h4,strong,b,label,dt) { color: var(--evo-copy) !important; }
:is(#share-view,#newsletter-view,#support-view) :where(p,li,dd,small,time,figcaption) { color: var(--evo-muted) !important; }

#share-view .share-tile {
  border: 1px solid var(--evo-line) !important;
  border-radius: 22px !important;
  background: linear-gradient(145deg,#16161a,#26130d) !important;
  box-shadow: 12px 12px 0 var(--evo-orange) !important;
}
#share-view .share-controls {
  border-top: 5px solid var(--evo-orange) !important;
  padding: clamp(20px,2.6vw,32px) !important;
}
#share-view :where(select,input) {
  border-color: rgba(245,239,228,.42) !important;
  background: #0d0d10 !important;
  color: var(--evo-copy) !important;
}

#newsletter-view > .research-tip {
  border: 1px solid var(--evo-line) !important;
  border-left: 5px solid var(--evo-orange) !important;
  background: #151519 !important;
}
#newsletter-view .newsletter-cover-card {
  min-height: 390px;
  padding: clamp(26px,4vw,52px) !important;
  border-top: 5px solid var(--evo-orange) !important;
}
#newsletter-view .newsletter-cover-card h2 {
  max-width: 10ch;
  font-size: clamp(3rem,6vw,6rem) !important;
  line-height: .9 !important;
  letter-spacing: -.055em !important;
}
#newsletter-view .newsletter-market-board {
  padding: clamp(22px,3vw,38px) !important;
  background: var(--evo-paper) !important;
}
#newsletter-view .newsletter-market-board :where(h2,h3,strong,b,span,p,small) { color: #29251f !important; }
#newsletter-view .newsletter-lead-story { border-left: 5px solid var(--evo-orange) !important; }
#newsletter-view .newsletter-side-note { background: var(--evo-paper) !important; }
#newsletter-view .newsletter-side-note :where(h2,h3,strong,b,span,p,small) { color: #29251f !important; }

#support-view .support-blog { gap: clamp(18px,3vw,34px) !important; }
#support-view .support-blog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
#support-view .support-blog-actions a {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(245,239,228,.3) !important;
  border-radius: 999px !important;
  background: #0d0d10 !important;
  color: var(--evo-copy) !important;
}
#support-view .support-blog-actions a:is(.active,[aria-current="true"]) {
  border-color: var(--evo-orange) !important;
  background: var(--evo-orange) !important;
  color: #130b08 !important;
}
#support-view .support-buddy-entry {
  margin-top: 24px;
  border: 1px solid rgba(245,239,228,.22) !important;
  border-radius: 16px !important;
  background: rgba(11,11,13,.76) !important;
}
#support-view .support-blog-card {
  padding: clamp(24px,3vw,42px) !important;
  border-left: 5px solid transparent !important;
}
#support-view .support-blog-card:nth-of-type(even) {
  border-left-color: var(--evo-orange) !important;
  background: var(--evo-paper) !important;
}
#support-view .support-blog-card:nth-of-type(even) :where(h2,h3,h4,strong,b,p,li,small,span) { color: #29251f !important; }
#support-view .support-blog-card:nth-of-type(even) .label { color: #9d3400 !important; }

/* Common application chrome: quieter, clearer and aligned with the product pages. */
body:not(.entrance-active) .side-nav {
  border-color: rgba(245,239,228,.16) !important;
  background: rgba(10,10,12,.97) !important;
  color: var(--evo-copy) !important;
}
body:not(.entrance-active) .side-nav .brand { color: var(--evo-copy) !important; }
body:not(.entrance-active) .side-nav .dyor-y { color: var(--evo-orange) !important; }
body:not(.entrance-active) .side-nav .nav-link {
  border-color: transparent !important;
  color: #bdb7af !important;
}
body:not(.entrance-active) .side-nav .nav-link:is(.active,[aria-current="page"]),
body:not(.entrance-active) .side-nav .nav-link:hover {
  border-color: rgba(255,90,31,.42) !important;
  background: rgba(255,90,31,.11) !important;
  color: var(--evo-copy) !important;
}
body:not(.entrance-active) .site-footer {
  border-color: rgba(245,239,228,.18) !important;
  background: #0b0b0d !important;
  color: #aaa49c !important;
}
body:not(.entrance-active) .site-footer a { color: var(--evo-orange-soft) !important; }

:is(#share-view,#newsletter-view,#support-view) :where(button,a,summary,select,input):focus-visible,
body:not(.entrance-active) .side-nav :where(a,button,input):focus-visible {
  outline: 3px solid var(--evo-paper-soft) !important;
  outline-offset: 4px !important;
}

:is(#portfolio-view,#report-view) :where(button,a,summary,select,input,textarea):focus-visible,
.dyor-buddy :where(button,summary,textarea):focus-visible {
  outline: 3px solid var(--evo-paper-soft) !important;
  outline-offset: 4px !important;
}

#watchlist-view > .page-heading {
  position: relative;
  min-height: clamp(270px, 34vw, 410px);
  margin: 0 0 clamp(28px, 5vw, 58px) !important;
  padding: clamp(28px, 5vw, 70px) !important;
  overflow: hidden;
  border: 1px solid var(--evo-line) !important;
  border-radius: 22px !important;
  background: linear-gradient(128deg, #17171b 0 62%, #25130d 100%) !important;
  box-shadow: 12px 12px 0 var(--evo-orange) !important;
}
#watchlist-view > .page-heading::after {
  content: "02";
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: clamp(-24px, -2vw, -5px);
  color: rgba(255,90,31,.92);
  font: 800 clamp(8rem, 22vw, 19rem)/.75 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: -.12em;
  pointer-events: none;
}
#watchlist-view > .page-heading > * { position: relative; z-index: 1; max-width: 720px; }
#watchlist-view > .page-heading h1 {
  margin-top: .65rem;
  color: var(--evo-copy) !important;
  font-size: clamp(3rem, 8vw, 7rem) !important;
  line-height: .9 !important;
  letter-spacing: -.06em !important;
}
#watchlist-view > .page-heading > p:last-child {
  max-width: 54ch;
  margin-top: 1.35rem;
  color: #cbc5bd !important;
  font-size: clamp(1rem, 1.5vw, 1.22rem) !important;
}

#asset-view > .asset-browser-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 54px) !important;
  border: 1px solid var(--evo-line) !important;
  border-radius: 22px !important;
  background: linear-gradient(135deg, #17171b 0 68%, #26130d 100%) !important;
  box-shadow: 12px 12px 0 var(--evo-orange) !important;
}
#asset-view > .asset-browser-panel::before {
  content: "01";
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  top: clamp(10px, 3vw, 34px);
  color: rgba(255,90,31,.2);
  font: 800 clamp(6rem, 16vw, 14rem)/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: -.12em;
  pointer-events: none;
}
#asset-view > .asset-browser-panel > * { position: relative; z-index: 1; }
#asset-view .asset-browser-panel > .panel-heading h2 {
  max-width: 10ch;
  color: var(--evo-copy) !important;
  font-size: clamp(3rem, 7vw, 6.8rem) !important;
  line-height: .9 !important;
  letter-spacing: -.06em !important;
}
#asset-view .asset-browser-panel > .panel-heading p:last-child {
  max-width: 58ch;
  color: #c7c1b9 !important;
  font-size: clamp(1rem, 1.4vw, 1.18rem) !important;
}

#asset-view :where(.asset-browser-panel, .asset-research-card-header, .research-snapshot),
#watchlist-view :where(.watchlist-summary, .watchlist-main, .watchlist-briefing, .watchlist-card, .watch-alert-card, .saved-evidence-change-card, .research-engine-surface) {
  border-color: var(--evo-line) !important;
  background: rgba(21,21,25,.97) !important;
  color: var(--evo-copy) !important;
}
#asset-view :where(.asset-browser-panel, .asset-research-card-header, .research-snapshot),
#watchlist-view :where(.watchlist-summary, .watchlist-main, .watchlist-briefing) { border-radius: 20px !important; }
#asset-view :where(h1,h2,h3,h4,strong,b,label,dt),
#watchlist-view :where(h1,h2,h3,h4,strong,b,label,dt,.asset-identity-copy strong,.asset-identity-copy small) { color: var(--evo-copy) !important; }
#asset-view :where(p,li,dd,small,time,figcaption),
#watchlist-view :where(p,li,dd,small,time,figcaption,.watchlist-card-summary,.saved-workflow-state,.saved-state-control span) { color: var(--evo-muted) !important; }
#asset-view :where(.label,.eyebrow), #watchlist-view :where(.label,.eyebrow,.tip-kicker) { color: var(--evo-orange-soft) !important; }

#asset-view .asset-browser-tools,
#watchlist-view .watchlist-options {
  border: 1px solid var(--evo-line) !important;
  border-radius: 14px !important;
  background: #0d0d10 !important;
}
#asset-view :where(input,select), #watchlist-view :where(input,select) {
  border-color: rgba(245,239,228,.4) !important;
  background: #0d0d10 !important;
  color: var(--evo-copy) !important;
}
#asset-view :where(.segmented button,.asset-filter-chips button),
#watchlist-view .saved-state-filters button {
  border-color: rgba(245,239,228,.26) !important;
  background: #0d0d10 !important;
  color: var(--evo-copy) !important;
}
#asset-view :where(.segmented button,.asset-filter-chips button):is(.active,[aria-pressed="true"]),
#watchlist-view .saved-state-filters button:is(.active,[aria-pressed="true"]) {
  border-color: var(--evo-orange) !important;
  background: var(--evo-orange) !important;
  color: #130b08 !important;
}
#asset-view .universe-asset-card {
  border: 1px solid var(--evo-line) !important;
  border-radius: 16px !important;
}
#asset-view .universe-asset-card:hover,
#asset-view .universe-asset-card:focus-within { border-color: var(--evo-orange) !important; transform: translateY(-3px); }
#asset-view .asset-research-card-header { border-top: 5px solid var(--evo-orange) !important; }
#asset-view .research-snapshot { border-left: 5px solid var(--evo-orange) !important; }
#asset-view .snapshot-knowledge-grid article,
#asset-view .snapshot-essential-facts > * {
  border-color: rgba(21,19,16,.22) !important;
  background: var(--evo-paper) !important;
}
#asset-view .snapshot-knowledge-grid article :where(span,strong,p),
#asset-view .snapshot-essential-facts > * :where(span,strong,b,small,p) { color: #29251f !important; }

#watchlist-view > .research-tip {
  margin-bottom: 22px;
  border: 1px solid var(--evo-line) !important;
  border-left: 5px solid var(--evo-orange) !important;
  background: #151519 !important;
  color: var(--evo-copy) !important;
}
#watchlist-view .watchlist-summary { border-top: 5px solid var(--evo-orange) !important; }
#watchlist-view #watchlist-count {
  display: block;
  margin: .5rem 0;
  color: var(--evo-orange-soft) !important;
  font-size: clamp(4.5rem, 10vw, 8rem) !important;
  line-height: .82 !important;
  letter-spacing: -.07em;
}

:is(#asset-view,#watchlist-view) :where(button,a,summary,select,input):focus-visible {
  outline: 3px solid var(--evo-paper-soft) !important;
  outline-offset: 4px !important;
}

html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view, #compare-view) > .page-heading {
  position: relative;
  max-width: 1040px !important;
  min-height: clamp(270px, 38vw, 430px);
  margin: 0 0 clamp(28px, 5vw, 64px) !important;
  padding: clamp(28px, 5vw, 72px) !important;
  overflow: hidden;
  border: 1px solid var(--evo-line) !important;
  border-radius: 22px !important;
  background: linear-gradient(128deg, #17171b 0 62%, #25130d 100%) !important;
  box-shadow: 12px 12px 0 var(--evo-orange) !important;
}
html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view, #compare-view) > .page-heading::after {
  content: "";
  position: absolute;
  right: clamp(-120px, -8vw, -50px);
  bottom: clamp(-150px, -10vw, -70px);
  width: clamp(260px, 35vw, 520px);
  aspect-ratio: 1;
  border: clamp(35px, 5vw, 72px) solid var(--evo-orange);
  border-radius: 50%;
  opacity: .88;
  pointer-events: none;
}
html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view, #compare-view) > .page-heading > * {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view, #compare-view) > .page-heading :where(h1, h2, strong) {
  color: var(--evo-copy) !important;
}
html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view, #compare-view) > .page-heading h1 {
  max-width: 15ch;
  margin-top: .65rem;
  font-size: clamp(2.7rem, 7vw, 6.8rem) !important;
  line-height: .92 !important;
  letter-spacing: -.055em !important;
}
html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view, #compare-view) > .page-heading > p:last-child {
  max-width: 58ch;
  margin-top: 1.3rem;
  color: #cbc5bd !important;
  font-size: clamp(1rem, 1.55vw, 1.28rem) !important;
  line-height: 1.55 !important;
}
html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view, #compare-view) .eyebrow,
html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view, #compare-view) .label {
  color: var(--evo-orange-soft) !important;
}

html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view, #compare-view) :where(.panel, .discover-filter-rail, .compare-controls, .compare-main > section) {
  border-color: var(--evo-line) !important;
  background: rgba(21, 21, 25, .96) !important;
  color: var(--evo-copy) !important;
  box-shadow: none !important;
}
html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view, #compare-view) :where(h2,h3,h4,strong,b,label,dt) {
  color: var(--evo-copy) !important;
}
html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view, #compare-view) :where(p,li,dd,small,time,figcaption) {
  color: var(--evo-muted) !important;
}
html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view, #compare-view) :where(select,input,textarea) {
  border-color: rgba(245,239,228,.42) !important;
  background: #0d0d10 !important;
  color: var(--evo-copy) !important;
}

#discover-view .discover-filter-rail { padding: clamp(18px, 3vw, 32px) !important; }
#discover-view .discover-view-stack {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: none !important;
}
#discover-view .discover-view-stack button {
  min-height: 58px !important;
  padding: 13px 16px !important;
  border: 1px solid rgba(245,239,228,.26) !important;
  border-radius: 12px !important;
  background: #0d0d10 !important;
  color: var(--evo-copy) !important;
  text-align: left !important;
}
#discover-view .discover-view-stack button:is(.active,[aria-pressed="true"]) {
  border-color: var(--evo-orange) !important;
  background: var(--evo-orange) !important;
  color: #130b08 !important;
}
#discover-view :is(#global-radar, .live-discovery-panel) { border-radius: 20px !important; }
#discover-view .live-discovery-panel { border-top: 4px solid var(--evo-orange) !important; }

#compare-view .compare-layout { gap: clamp(18px, 3vw, 34px) !important; }
#compare-view .compare-controls {
  border-top: 4px solid var(--evo-orange) !important;
  border-radius: 18px !important;
}
#compare-view .compare-hero-card {
  background: var(--evo-paper) !important;
  border-radius: 20px !important;
}
#compare-view .compare-hero-card :where(h2,h3,strong,b) { color: #151310 !important; }
#compare-view .compare-hero-card :where(p,span,small,li,dd) { color: #514b43 !important; }

:is(#discover-view,#compare-view) :where(button,a,summary,select,input):focus-visible {
  outline: 3px solid var(--evo-paper-soft) !important;
  outline-offset: 4px !important;
}

/* Interactive evidence objects: motion explains relationships, selection reveals meaning. */
#asset-view .evidence-constellation {
  min-height: 300px;
  margin: 34px 0 18px;
  overflow: visible;
  border: 1px solid var(--evo-line) !important;
  border-radius: 50% 50% 22px 22px;
  background:
    radial-gradient(circle at 50% 50%,rgba(255,90,31,.19),transparent 24%),
    radial-gradient(circle at 50% 50%,transparent 0 32%,rgba(245,239,228,.12) 32.3% 32.7%,transparent 33%),
    #101013 !important;
}
#asset-view .constellation-core {
  width: 104px;
  height: 104px;
  border: 2px solid var(--evo-orange) !important;
  background: #111114 !important;
  color: var(--evo-copy) !important;
  box-shadow: 0 0 0 12px rgba(255,90,31,.08),0 0 44px rgba(255,90,31,.19);
}
#asset-view .constellation-core :where(b,small) { color: var(--evo-copy) !important; }
#asset-view .constellation-line {
  background: linear-gradient(90deg,var(--evo-orange),rgba(255,90,31,.08)) !important;
  animation: evidence-line-pulse 3.2s ease-in-out infinite;
}
#asset-view .constellation-line.line-two { animation-delay: .45s; }
#asset-view .constellation-line.line-three { animation-delay: .9s; }
#asset-view .constellation-node {
  display: grid;
  min-width: 112px;
  min-height: 58px;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid rgba(245,239,228,.34) !important;
  border-radius: 14px !important;
  background: #151519 !important;
  color: var(--evo-copy) !important;
  font: 800 .76rem/1.1 inherit;
  cursor: pointer;
  transition: transform .2s ease,border-color .2s ease,background-color .2s ease;
}
#asset-view .constellation-node small { color: var(--evo-muted) !important; font-size: .65rem !important; font-weight: 650; }
#asset-view .constellation-node:is(:hover,:focus-visible,.active) {
  z-index: 4;
  border-color: var(--evo-orange) !important;
  background: var(--evo-orange) !important;
  color: #130b08 !important;
  transform: translateY(-3px) scale(1.03);
}
#asset-view .constellation-node:is(:hover,:focus-visible,.active) small { color: #332018 !important; }
#asset-view .workspace-lens-readout {
  display: grid;
  gap: 7px;
  min-height: 145px;
  padding: 22px;
  border: 1px solid rgba(21,19,16,.2);
  border-left: 5px solid var(--evo-orange);
  border-radius: 14px;
  background: var(--evo-paper) !important;
}
#asset-view .workspace-lens-readout span { color: #9d3400 !important; font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
#asset-view .workspace-lens-readout :where(strong,p) { color: #29251f !important; }
#asset-view .workspace-lens-readout strong { font-size: 1.15rem; }
#asset-view .workspace-lens-readout p { max-width: 68ch; margin: 0; }

#portfolio-view .portfolio-factor-card {
  width: 100%;
  min-height: 190px;
  padding: 20px !important;
  color: var(--evo-copy) !important;
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease,border-color .2s ease;
}
#portfolio-view .portfolio-factor-card:hover,
#portfolio-view .portfolio-factor-card:focus-visible,
#portfolio-view .portfolio-factor-card.expanded { transform: translateY(-3px); border-color: var(--evo-orange) !important; }
#portfolio-view .portfolio-factor-card em {
  color: var(--evo-orange-soft) !important;
  font-size: .72rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#portfolio-view .portfolio-factor-detail {
  display: none;
  margin-top: 8px;
  color: var(--evo-muted) !important;
}
#portfolio-view .portfolio-factor-card.expanded .portfolio-factor-detail { display: block; }

@keyframes evidence-line-pulse {
  0%,100% { opacity: .35; }
  50% { opacity: 1; }
}

@media (max-width: 900px) {
  html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view, #compare-view) {
    border-radius: 0;
    padding: 18px !important;
  }
  html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view, #compare-view) > .page-heading {
    min-height: 330px;
    margin-top: 18px !important;
    padding: 30px 24px !important;
    box-shadow: 7px 7px 0 var(--evo-orange) !important;
  }
  html[data-theme] body:not(.entrance-active) #main-content :is(#discover-view, #compare-view) > .page-heading h1 {
    font-size: clamp(2.55rem, 11vw, 5rem) !important;
  }
  #discover-view .discover-view-stack { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  #compare-view .compare-controls { position: static !important; }
  html[data-theme] body:not(.entrance-active) #main-content :is(#asset-view,#watchlist-view) {
    border-radius: 0;
    padding: 18px !important;
  }
  #asset-view > .asset-browser-panel,
  #watchlist-view > .page-heading { box-shadow: 7px 7px 0 var(--evo-orange) !important; }
  #asset-view .asset-browser-panel > .panel-heading { grid-template-columns: 1fr !important; }
  #asset-view .asset-browser-panel > .panel-heading h2,
  #watchlist-view > .page-heading h1 { font-size: clamp(2.7rem, 12vw, 5rem) !important; }
  html[data-theme] body:not(.entrance-active) #main-content :is(#portfolio-view,#report-view) {
    border-radius: 0;
    padding: 18px !important;
  }
  :is(#portfolio-view,#report-view) > .page-heading { box-shadow: 7px 7px 0 var(--evo-orange) !important; }
  :is(#portfolio-view,#report-view) > .page-heading h1 { font-size: clamp(2.7rem,12vw,5rem) !important; }
  #report-view .report-outcome-picker { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  #report-view .report-controls { position: static; }
  html[data-theme] body:not(.entrance-active) #main-content :is(#share-view,#newsletter-view,#support-view) {
    border-radius: 0;
    padding: 18px !important;
  }
  :is(#share-view,#newsletter-view) > .page-heading,
  #support-view .support-blog-hero,
  #share-view .share-tile { box-shadow: 7px 7px 0 var(--evo-orange) !important; }
  :is(#share-view,#newsletter-view) > .page-heading h1,
  #support-view .support-blog-hero h1 { font-size: clamp(2.65rem,12vw,5rem) !important; }
}

@media (max-width: 560px) {
  .entrance .hero-proof { grid-template-columns: 1fr !important; gap: 1rem; }
  #discover-view .discover-view-stack { grid-template-columns: 1fr !important; }
  #report-view .report-outcome-picker { grid-template-columns: 1fr !important; }
  #report-view .report-outcome-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  :is(#discover-view,#compare-view,#asset-view,#portfolio-view) *, .entrance-live-status::before { animation: none !important; transition: none !important; }
}

/* Preferred palette direction: black, white, dark grey, iron and orange-red. */
:root {
  --dyor-void: #000000;
  --dyor-black: #111111;
  --dyor-white: #f2f2f2;
  --dyor-dark-grey: #333333;
  --dyor-dark-grey-deep: #202020;
  --dyor-iron: #202020;
  --dyor-iron-muted: #b9b9b9;
  --dyor-orange-red: #ff4d00;
  --dyor-orange-red-soft: #ff7542;
  --evo-ink: var(--dyor-black);
  --evo-ink-soft: var(--dyor-dark-grey-deep);
  --evo-paper: var(--dyor-white);
  --evo-paper-soft: #ffffff;
  --evo-copy: var(--dyor-white);
  --evo-muted: var(--dyor-iron-muted);
  --evo-orange: var(--dyor-orange-red);
  --evo-orange-soft: var(--dyor-orange-red-soft);
  --evo-line: rgba(217, 220, 225, .24);
}

/* Cross-product palette roles. Legacy semantic colours do not drive these authored surfaces. */
:is(#asset-view,#compare-view,#report-view) {
  --accent: var(--dyor-orange-red);
  --orange: var(--dyor-orange-red);
  --lime: var(--dyor-iron);
  --green: var(--dyor-iron);
  --blue: var(--dyor-dark-grey);
  --blue-strong: var(--dyor-dark-grey);
  --cream: var(--dyor-white);
  --white: var(--dyor-white);
}

/* Radar becomes a chronological evidence instrument, not a stack of generic cards. */
#discover-view .radar-shell {
  overflow: visible;
  border-top: 1px solid var(--dyor-iron);
  background: var(--dyor-black) !important;
}
#discover-view .radar-shell::before {
  width: 4px;
  background: var(--dyor-orange-red);
  opacity: 1;
}
#discover-view .radar-filter-row button {
  border-color: rgba(217,220,225,.34);
  background: var(--dyor-dark-grey-deep);
  color: var(--dyor-iron);
}
#discover-view .radar-filter-row button:is(.active,[aria-pressed="true"],:hover,:focus-visible) {
  border-color: var(--dyor-orange-red);
  background: var(--dyor-orange-red);
  color: var(--dyor-black);
}
#discover-view .radar-summary { gap: 1px; background: rgba(217,220,225,.26); }
#discover-view .radar-summary article {
  min-height: 126px;
  border: 0;
  border-radius: 0;
  background: var(--dyor-dark-grey-deep);
}
#discover-view .radar-summary strong { color: var(--dyor-white) !important; font-size: clamp(1.6rem,3vw,2.8rem); }
#discover-view .radar-summary :where(span,small) { color: var(--dyor-iron-muted) !important; }

#discover-view .radar-timeline {
  gap: 0;
  padding: clamp(18px,3vw,34px) 0 clamp(18px,3vw,34px) clamp(30px,4vw,52px);
}
#discover-view .radar-timeline::before {
  left: 13px;
  width: 2px;
  background: linear-gradient(var(--dyor-orange-red),var(--dyor-iron),var(--dyor-dark-grey));
}
#discover-view .radar-event {
  margin: 0 0 14px;
  overflow: visible;
  border: 1px solid rgba(217,220,225,.3);
  border-radius: 0;
  background: var(--dyor-dark-grey-deep);
  transition: border-color .2s ease,transform .2s ease,background-color .2s ease;
}
#discover-view .radar-event::before {
  left: calc(clamp(30px,4vw,52px) * -1 + 7px);
  top: 27px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--dyor-black);
  background: var(--dyor-iron);
  box-shadow: 0 0 0 1px var(--dyor-iron);
}
#discover-view .radar-event[data-materiality="CRITICAL"]::before,
#discover-view .radar-event[data-materiality="HIGH"]::before { background: var(--dyor-orange-red); box-shadow: 0 0 0 1px var(--dyor-orange-red),0 0 0 8px rgba(240,68,0,.12); }
#discover-view .radar-event:is(:hover,:focus-within,[open]) {
  border-color: var(--dyor-orange-red);
  background: #1e1f22;
  transform: translateX(4px);
}
#discover-view .radar-event summary {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr) auto;
  gap: clamp(14px,2vw,28px);
  align-items: start;
  padding: clamp(18px,2.6vw,30px);
}
#discover-view .radar-sequence { color: var(--dyor-orange-red-soft) !important; font: 800 1.05rem/1 var(--font-mono,monospace); }
#discover-view .radar-sequence small { color: var(--dyor-iron-muted) !important; font-size: .62rem; }
#discover-view .radar-event-summary { min-width: 0; }
#discover-view .radar-event-topline span,
#discover-view .radar-dimensions span {
  border-color: rgba(217,220,225,.35);
  border-radius: 0;
  color: var(--dyor-iron) !important;
}
#discover-view .radar-event h3 { color: var(--dyor-white) !important; font-size: clamp(1.18rem,2vw,1.75rem); }
#discover-view .radar-event :where(p,.radar-event-meta) { color: var(--dyor-iron-muted) !important; }
#discover-view .radar-expand-cue { display: flex; gap: 10px; align-items: center; color: var(--dyor-iron) !important; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
#discover-view .radar-expand-cue b { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--dyor-iron); color: var(--dyor-white) !important; font-size: 1rem; transition: transform .25s ease,background-color .25s ease,color .25s ease; }
#discover-view .radar-event[open] .radar-expand-cue b { border-color: var(--dyor-orange-red); background: var(--dyor-orange-red); color: var(--dyor-black) !important; transform: rotate(45deg); }

#discover-view .radar-event-detail {
  display: grid;
  gap: 0;
  padding: 0 clamp(18px,2.6vw,30px) clamp(18px,2.6vw,30px);
  border-color: rgba(217,220,225,.28);
  animation: radar-detail-enter .35s cubic-bezier(.2,.8,.2,1) both;
}
#discover-view .radar-event-flow {
  display: grid;
  grid-template-columns: minmax(95px,1fr) minmax(30px,.35fr) minmax(95px,1fr) minmax(30px,.35fr) minmax(95px,1fr);
  align-items: center;
  gap: 10px;
  padding: clamp(20px,3vw,34px) 0;
}
#discover-view .radar-event-flow div { display: grid; gap: 5px; }
#discover-view .radar-event-flow div::before { content: ""; width: 10px; height: 10px; border: 2px solid var(--dyor-dark-grey); background: var(--dyor-black); }
#discover-view .radar-event-flow .complete::before { border-color: var(--dyor-orange-red); background: var(--dyor-orange-red); }
#discover-view .radar-event-flow .pending::before { border-color: var(--dyor-iron); }
#discover-view .radar-event-flow span { color: var(--dyor-orange-red-soft) !important; font: 750 .65rem/1.2 var(--font-mono,monospace); letter-spacing: .08em; text-transform: uppercase; }
#discover-view .radar-event-flow strong { color: var(--dyor-white) !important; }
#discover-view .radar-event-flow small { color: var(--dyor-iron-muted) !important; }
#discover-view .radar-event-flow i { height: 1px; background: linear-gradient(90deg,var(--dyor-orange-red),var(--dyor-iron)); transform-origin: left; animation: radar-line-grow .55s .12s ease both; }

#discover-view :is(.radar-meaning,.radar-uncertainty),
#discover-view .radar-evidence-trail > header {
  display: grid;
  grid-template-columns: 52px minmax(0,1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(217,220,225,.24);
}
#discover-view .radar-detail-index { color: var(--dyor-orange-red-soft) !important; font: 800 .72rem/1 var(--font-mono,monospace); }
#discover-view .radar-event-detail h4 { margin: 0 0 8px; color: var(--dyor-white) !important; }
#discover-view .radar-before-after { gap: 1px; margin: 0 0 22px 70px; background: rgba(217,220,225,.28); }
#discover-view .radar-before-after div { min-height: 112px; border: 0; border-radius: 0; background: var(--dyor-black); }
#discover-view .radar-before-after span { color: var(--dyor-iron-muted) !important; }
#discover-view .radar-before-after strong { color: var(--dyor-white) !important; }
#discover-view .radar-dimensions { margin: 0 0 22px 70px; }
#discover-view .radar-evidence-list { display: grid; gap: 1px; margin: 0 0 22px 70px; padding: 0; background: rgba(217,220,225,.25); list-style: none; }
#discover-view .radar-evidence-list li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 14px; background: var(--dyor-black); }
#discover-view .radar-evidence-list a { color: var(--dyor-white) !important; text-decoration-color: var(--dyor-orange-red); text-underline-offset: 4px; }
#discover-view .radar-evidence-list small { color: var(--dyor-iron-muted) !important; }
#discover-view .radar-uncertainty { border-left: 4px solid var(--dyor-orange-red); padding-left: 16px; background: linear-gradient(90deg,rgba(240,68,0,.08),transparent 55%); }
#discover-view .radar-event-footer { padding-top: 18px; border-top: 1px solid rgba(217,220,225,.24); }
#discover-view .radar-event-footer :where(small,p) { color: var(--dyor-iron-muted) !important; }

@keyframes radar-detail-enter { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes radar-line-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 700px) {
  #discover-view .radar-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #discover-view .radar-event summary { grid-template-columns: 42px minmax(0,1fr); }
  #discover-view .radar-expand-cue { grid-column: 2; }
  #discover-view .radar-event-flow { grid-template-columns: 1fr; }
  #discover-view .radar-event-flow i { width: 1px; height: 22px; margin-left: 5px; background: linear-gradient(var(--dyor-orange-red),var(--dyor-iron)); animation: none; }
  #discover-view .radar-before-after,
  #discover-view .radar-dimensions,
  #discover-view .radar-evidence-list { margin-left: 0; }
  #discover-view .radar-evidence-list li { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  #discover-view :is(.radar-event-detail,.radar-event-flow i) { animation: none !important; }
  #discover-view .radar-event:is(:hover,:focus-within,[open]) { transform: none; }
}

/* Asset intelligence: editorial light/dark inversion with orange used as a signal. */
#asset-view .asset-editorial-stage {
  border-color: var(--dyor-black) !important;
  background: var(--dyor-white) !important;
  color: var(--dyor-black) !important;
}
#asset-view .asset-editorial-stage::before {
  background:
    linear-gradient(90deg,rgba(17,17,17,.055) 1px,transparent 1px) 0 0/52px 52px,
    linear-gradient(rgba(17,17,17,.055) 1px,transparent 1px) 0 0/52px 52px !important;
}
#asset-view .asset-stage-index { border-color: var(--dyor-black); }
#asset-view .asset-stage-index :where(span,b,small),
#asset-view .asset-stage-thesis :where(h2,p,.asset-stage-kicker) { color: var(--dyor-black) !important; }
#asset-view .asset-stage-thesis h2 { max-width: 11ch; }
#asset-view .asset-live-pulse { background: var(--dyor-orange-red); box-shadow: 0 0 0 7px rgba(255,77,0,.14); }
#asset-view .asset-signal-field { border-color: var(--dyor-black); background: var(--dyor-black); color: var(--dyor-white); }
#asset-view .asset-signal-field :where(strong,.asset-stage-question strong) { color: var(--dyor-white) !important; }
#asset-view .asset-signal-field :where(small,span) { color: var(--dyor-iron-muted) !important; }
#asset-view .asset-stage-question span { color: var(--dyor-orange-red-soft) !important; }
#asset-view .asset-signal-axis i { background: rgba(242,242,242,.16); }
#asset-view .asset-signal-axis b { background: var(--dyor-orange-red) !important; }
#asset-view .asset-stage-actions .primary-button,
#asset-view .asset-action-dock .primary-button { border-color: var(--dyor-black) !important; background: var(--dyor-orange-red) !important; color: var(--dyor-black) !important; box-shadow: none !important; }

#asset-view .asset-data-board {
  gap: 1px !important;
  overflow: hidden;
  background: var(--dyor-iron);
}
#asset-view .asset-data-board :is(.data-tile,.primary-data-tile) {
  min-height: 220px;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--dyor-dark-grey-deep) !important;
}
#asset-view .asset-data-board .primary-data-tile { background: var(--dyor-white) !important; }
#asset-view .asset-data-board .primary-data-tile :where(span,strong,b,p,small) { color: var(--dyor-black) !important; }
#asset-view .asset-data-board .data-tile :where(strong,b) { color: var(--dyor-white) !important; }
#asset-view .asset-data-board .data-tile :where(span,p,small) { color: var(--dyor-iron-muted) !important; }

#asset-view :is(.network-activity-terminal,.development-terminal) {
  border-radius: 0 !important;
  background: var(--dyor-white) !important;
  color: var(--dyor-black) !important;
}
#asset-view :is(.network-activity-terminal,.development-terminal) :where(h2,h3,strong,b,.label) { color: var(--dyor-black) !important; }
#asset-view :is(.network-activity-terminal,.development-terminal) :where(p,span,small) { color: var(--dyor-dark-grey) !important; }
#asset-view :is(.network-metric-card,.development-metric) {
  border-color: rgba(17,17,17,.28) !important;
  border-radius: 0 !important;
  background: transparent !important;
}
#asset-view .development-lead-card { border-radius: 0 !important; background: var(--dyor-orange-red) !important; }
#asset-view .development-lead-card :where(strong,p,span,small) { color: var(--dyor-black) !important; }

/* Compare: two evidence columns connected by a single orange relationship axis. */
#compare-view .compare-controls {
  border: 1px solid var(--dyor-iron) !important;
  border-top: 8px solid var(--dyor-orange-red) !important;
  border-radius: 0 !important;
  background: var(--dyor-black) !important;
}
#compare-view .compare-controls :where(h2,h3,strong,label) { color: var(--dyor-white) !important; }
#compare-view .compare-controls :where(p,span,small) { color: var(--dyor-iron-muted) !important; }
#compare-view .compare-hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--dyor-black) !important;
  border-radius: 0 !important;
  background: var(--dyor-white) !important;
  box-shadow: 10px 10px 0 var(--dyor-orange-red) !important;
}
#compare-view .compare-hero-card::after {
  content: "VS";
  position: absolute;
  right: clamp(18px,4vw,54px);
  bottom: -0.12em;
  color: rgba(255,77,0,.2);
  font: 900 clamp(6rem,16vw,14rem)/.8 var(--font-display,sans-serif);
  pointer-events: none;
}
#compare-view .compare-hero-card :where(h2,h3,strong,b) { color: var(--dyor-black) !important; }
#compare-view .compare-hero-card :where(p,span,small,li,dd) { color: var(--dyor-dark-grey) !important; }
#compare-view :is(.compare-evidence-grid,.compare-main,.compare-metric-grid) { position: relative; }
#compare-view .compare-evidence-grid { gap: 1px; background: var(--dyor-iron); }
#compare-view .compare-evidence-grid > section {
  min-height: 260px;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--dyor-dark-grey-deep) !important;
}
#compare-view .compare-evidence-grid > section:nth-child(even) { background: var(--dyor-black) !important; }
#compare-view .compare-evidence-grid :where(h3,strong,b) { color: var(--dyor-white) !important; }
#compare-view .compare-evidence-grid :where(p,span,small,li) { color: var(--dyor-iron-muted) !important; }
#compare-view .compare-radar-row { border-left: 3px solid var(--dyor-orange-red) !important; border-radius: 0 !important; }
#compare-view :is(.bar-fill,.mini-metric i em) { background: var(--dyor-orange-red) !important; }

/* Reports: paper-led reading surface, black chapter breaks and restrained orange data emphasis. */
#report-view {
  --report-ink: var(--dyor-black);
  --report-paper: var(--dyor-white);
  --report-red: var(--dyor-orange-red);
  --report-blue: var(--dyor-dark-grey);
}
#report-view .report-outcome-picker { gap: 1px !important; border-color: var(--dyor-black) !important; background: var(--dyor-iron) !important; }
#report-view .report-outcome-card {
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--dyor-black) !important;
  color: var(--dyor-white) !important;
}
#report-view .report-outcome-card:is(:hover,.active,[aria-pressed="true"]) { background: var(--dyor-orange-red) !important; color: var(--dyor-black) !important; }
#report-view .report-controls {
  border: 1px solid var(--dyor-black) !important;
  border-top: 8px solid var(--dyor-orange-red) !important;
  border-radius: 0 !important;
  background: var(--dyor-white) !important;
  color: var(--dyor-black) !important;
}
#report-view .report-controls :where(h2,h3,h4,strong,b,label,span,summary,p,small) { color: var(--dyor-black) !important; }
#report-view .report-controls :where(select,input,textarea) { border-color: var(--dyor-iron) !important; background: white !important; color: var(--dyor-black) !important; }
#report-view .report-preview {
  border-color: var(--dyor-black) !important;
  border-radius: 0 !important;
  background: var(--dyor-white) !important;
  color: var(--dyor-black) !important;
  box-shadow: 10px 10px 0 var(--dyor-orange-red) !important;
}
#report-view .report-preview::before { border-color: var(--dyor-black); color: var(--dyor-black); }
#report-view .report-preview > .report-hero-card {
  border-color: var(--dyor-black) !important;
  background:
    radial-gradient(circle at 86% 22%,rgba(255,77,0,.28),transparent 18%),
    linear-gradient(135deg,transparent 0 66%,rgba(142,142,142,.16) 66% 100%) !important;
}
#report-view .report-preview .report-orb { border-color: var(--dyor-black) !important; background: var(--dyor-orange-red) !important; }
#report-view .report-preview :where(h1,h2,h3,h4,strong,b,dt) { color: var(--dyor-black) !important; }
#report-view .report-preview :where(p,li,dd,small,span,figcaption) { color: var(--dyor-dark-grey) !important; }
#report-view .report-preview .report-kpi-grid { gap: 1px !important; border: 0 !important; background: var(--dyor-black); }
#report-view .report-preview .report-kpi { border: 0 !important; background: var(--dyor-white) !important; }
#report-view .report-preview .report-kpi:nth-child(2) { background: var(--dyor-orange-red) !important; }
#report-view .report-preview .report-kpi :where(strong,span,small) { color: var(--dyor-black) !important; }
#report-view .report-preview :is(.report-verdict-card,.report-callout,.report-visual,.report-compare-card,.report-evidence,.report-category-section,.report-investor-read) {
  border-color: var(--dyor-iron) !important;
  border-radius: 0 !important;
  background: var(--dyor-white) !important;
}
#report-view .report-preview :is(.report-callout,.report-evidence):nth-of-type(even) { background: var(--dyor-black) !important; }
#report-view .report-preview :is(.report-callout,.report-evidence):nth-of-type(even) :where(h2,h3,h4,strong,b,p,li,span,small) { color: var(--dyor-white) !important; }
#report-view :where(button,a,summary,select,input,textarea):focus-visible,
#compare-view :where(button,a,summary,select,input,textarea):focus-visible,
#asset-view :where(button,a,summary,select,input,textarea):focus-visible { outline-color: var(--dyor-orange-red) !important; }

@media (max-width: 760px) {
  #asset-view .asset-data-board { grid-template-columns: 1fr !important; }
  #compare-view .compare-hero-card { box-shadow: 6px 6px 0 var(--dyor-orange-red) !important; }
  #report-view .report-preview { box-shadow: 6px 6px 0 var(--dyor-orange-red) !important; }
}
