/* Design Uplift 2.1. Explicit component families, shared with standalone routes.
   Analytical data keeps its own signed/directional semantics. */
:root{--du-canvas:#111111;--du-surface:#202020;--du-text:#f2f2f2;--du-muted:#b8b8b8;--du-line:#454545;--du-accent:#ff5b04;--du-paper:#f2f2ed;--du-ink:#171717}
html body{font-family:Arial,Helvetica,sans-serif}
html body :is(.universe-intro h1,.universe-header,.graph-node,.universe-intro){font-family:Arial,Helvetica,sans-serif!important}
html body :is(.universe-intro h1,.page-heading h1){letter-spacing:-.055em!important}
html body .universe-intro h1{font-size:clamp(2.1rem,4.4vw,4.5rem);line-height:1.05}
html[data-theme] body:not(.entrance-active) #main-content .view.active-view>.page-heading{padding-top:36px!important;padding-bottom:24px!important}
html[data-theme] body:not(.entrance-active) #main-content .view.active-view>.page-heading h1{font-size:clamp(2rem,4.3vw,4rem)!important}
html[data-theme] body:not(.entrance-active) #main-content .view.active-view>.page-heading :is(.eyebrow,.label){font-family:Arial,Helvetica,sans-serif!important;font-size:.72rem!important;letter-spacing:.13em!important}
/* New analytical components have isolated foreground/background ownership. */
html[data-theme] body #main-content :is(#discover-view,#asset-view) :is(#discovery-brief,#research-instrument){color:var(--du-text)!important;background:var(--du-canvas)!important;border:0!important;box-shadow:none!important;border-radius:0!important;font-family:Arial,Helvetica,sans-serif!important}
html[data-theme] body #main-content :is(#discover-view,#asset-view) :is(#discovery-brief,#research-instrument) :is(h2,h3,strong,b,button,span,small,p,label,dt,dd,a){color:inherit!important;font-family:inherit!important;overflow-wrap:normal!important;word-break:normal!important}
html[data-theme] body #main-content :is(#discover-view,#asset-view) :is(#discovery-brief,#research-instrument) :is(button,select){min-height:44px;cursor:pointer;background:var(--du-surface)!important;color:var(--du-text)!important;border:1px solid var(--du-line)!important;border-radius:4px!important;box-shadow:none!important;font-size:.875rem!important;padding:10px 12px}
html[data-theme] body #main-content :is(#discover-view,#asset-view) :is(#discovery-brief,#research-instrument) button[aria-pressed=true]{background:var(--du-text)!important;color:var(--du-ink)!important;border-color:var(--du-text)!important}
html[data-theme] body #main-content :is(#discover-view,#asset-view) :is(#discovery-brief,#research-instrument) button[aria-pressed=true] *{color:var(--du-ink)!important}
html[data-theme] body #main-content :is(#discover-view,#asset-view) :is(#discovery-brief,#research-instrument) :is(button,a,summary,select):focus-visible{outline:3px solid var(--du-accent)!important;outline-offset:4px!important}
html[data-theme] body #main-content :is(#discover-view,#asset-view) :is(#discovery-brief,#research-instrument) :is(.uplift-kicker,.uplift-caption,small,dt){font-size:.75rem!important;line-height:1.5!important}
html[data-theme] body #main-content :is(#discover-view,#asset-view) :is(#discovery-brief,#research-instrument) .uplift-kicker{display:block;color:#ff8a50!important;letter-spacing:.12em;text-transform:uppercase;font-weight:700}
html[data-theme] body #main-content :is(#discover-view,#asset-view) :is(#discovery-brief,#research-instrument) p{max-width:66ch;line-height:1.55;font-size:.95rem!important}
html[data-theme] body #main-content :is(#discover-view,#asset-view) :is(#discovery-brief,#research-instrument) h2{font-size:clamp(1.8rem,3.2vw,3.1rem)!important;line-height:1.08!important;letter-spacing:-.045em!important;max-width:none;margin:12px 0}
html[data-theme] body #main-content :is(#discover-view,#asset-view) :is(#discovery-brief,#research-instrument) h3{font-size:1.3rem!important;line-height:1.25!important;letter-spacing:-.02em!important}
html[data-theme] body #main-content :is(#discover-view,#asset-view) :is(#discovery-brief,#research-instrument) .primary-button{display:inline-flex!important;background:var(--du-accent)!important;color:var(--du-ink)!important;padding:14px 20px!important;margin-top:20px;border:0!important;text-decoration:none}
html[data-theme] body #main-content #discover-view #discovery-brief{display:block!important;width:min(1472px,calc(100% - 44px));margin:0 auto 40px;padding:28px 0;border-block:1px solid var(--du-line)!important}
.uplift-brief-head,.ri-head{display:flex;justify-content:space-between;gap:24px;align-items:center}
.uplift-brief-count,.uplift-coverage-number{display:grid;grid-template-columns:auto auto;align-items:center;gap:16px;min-width:max-content}
html[data-theme] body #main-content :is(#discover-view,#asset-view) :is(#discovery-brief,#research-instrument) :is(.uplift-brief-count,.uplift-coverage-number)>strong{font-size:clamp(2.6rem,5vw,4.5rem)!important;letter-spacing:-.06em!important;font-variant-numeric:tabular-nums}
.uplift-coverage-number strong span{font-size:1.5rem}
.uplift-brief-controls{display:flex;align-items:end;gap:16px;flex-wrap:wrap;border-block:1px solid var(--du-line);padding:18px 0;margin:20px 0}
.uplift-brief-controls>div{display:flex;gap:4px}
.uplift-brief-controls>label{display:grid;gap:4px;margin-left:auto}
.uplift-brief-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.85fr);gap:32px}
.uplift-brief-results ol{list-style:none;padding:0;margin:0;max-height:620px;overflow:auto;scrollbar-color:#777 #202020}
.uplift-brief-results li{position:relative;padding:0 0 12px}
html[data-theme] body #main-content #discover-view #discovery-brief .uplift-brief-results button{display:grid;width:100%;grid-template-columns:40px minmax(0,1fr) 18px;gap:14px;text-align:left;padding:20px!important;border:0!important;border-left:3px solid transparent!important}
html[data-theme] body #main-content #discover-view #discovery-brief .uplift-brief-results button[aria-pressed=true]{background:var(--du-surface)!important;color:var(--du-text)!important;border-left-color:var(--du-accent)!important}
html[data-theme] body #main-content #discover-view #discovery-brief .uplift-brief-results button[aria-pressed=true] *{color:var(--du-text)!important}
.uplift-brief-results button>span:nth-child(2){display:grid;gap:8px}
.uplift-brief-results button strong{font-size:1.1rem}
.uplift-event-index{font-variant-numeric:tabular-nums;font-size:1.35rem;font-weight:700}
.uplift-brief-layout[data-layout=list] .uplift-brief-results button{grid-template-columns:minmax(0,1fr) 18px!important;padding:12px!important}
.uplift-brief-layout[data-layout=list] .uplift-event-index{display:none}
.uplift-brief-inspector{padding:24px;background:var(--du-surface)!important;align-self:start;border-top:3px solid var(--du-accent)}
.uplift-brief-inspector dl{display:grid;gap:8px;margin:24px 0}.uplift-brief-inspector dd{margin:0 0 16px;line-height:1.5}.uplift-brief-inspector>a{display:block;margin-top:18px}
.uplift-caption{display:block;color:var(--du-muted);font-size:.8rem;line-height:1.5;margin:18px 0 0}
.uplift-empty{padding:28px 20px;align-content:center;min-height:210px}
.uplift-orbit{display:block;width:52px;height:52px;border:1px solid #777;border-radius:50%;position:relative;margin-bottom:24px}
.uplift-orbit:after{content:'';position:absolute;width:12px;height:12px;right:0;top:4px;background:var(--du-accent);border-radius:50%}
/* Existing research instrument, rebuilt with actual observations. */
html[data-theme] body #main-content #asset-view #research-instrument{display:block!important;margin:24px 0 32px;padding:24px 0!important;border-block:1px solid var(--du-line)!important}
html[data-theme] body #main-content #asset-view #research-instrument .ri-tools{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0 0;align-items:center}
html[data-theme] body #main-content #asset-view #research-instrument .ri-tabs{display:flex;gap:4px;flex-wrap:wrap;overflow:visible}
html[data-theme] body #main-content #asset-view #research-instrument .ri-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(240px,.8fr);gap:24px;padding-top:20px}
html[data-theme] body #main-content #asset-view #research-instrument .ri-stage{min-height:0!important;background:none!important;border:0!important;overflow:visible!important}
html[data-theme] body #main-content #asset-view #research-instrument .ri-inspector{padding:24px;background:var(--du-surface)!important;align-self:start;border:0!important;border-top:3px solid var(--du-accent)!important}
.uplift-inspector-value{font-size:clamp(1.8rem,3vw,3rem);font-variant-numeric:tabular-nums;letter-spacing:-.05em;margin:24px 0 12px}
.uplift-evidence-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html[data-theme] body #main-content #asset-view #research-instrument .uplift-evidence-grid button{display:grid;grid-template-columns:1fr auto;text-align:left;gap:10px;padding:16px!important;min-width:0!important;align-content:start}
.uplift-evidence-grid button>span:not(.uplift-evidence-mark){grid-column:1/-1;min-height:2.5em;line-height:1.3}
.uplift-evidence-grid button strong{font-variant-numeric:tabular-nums;font-size:1.4rem}.uplift-evidence-grid button small{grid-column:1/-1}
.uplift-evidence-grid button[data-state=supported] .uplift-evidence-mark{color:var(--du-accent)}
.uplift-instrument-footer{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--du-line);padding-top:20px;margin-top:20px;font-size:.8rem}
.uplift-price{margin:0}.uplift-price figcaption{display:grid;gap:10px}.uplift-price figcaption strong{font-size:2.3rem}.uplift-price figcaption small{font-size:.8rem}.uplift-price svg{width:100%;height:auto;overflow:visible;margin:24px 0 8px}.uplift-price svg text{fill:var(--du-muted);font:11px Arial,sans-serif}.uplift-grid{stroke:#454545;stroke-width:1}.uplift-point{fill:var(--du-accent)}
.uplift-point-picker{display:grid;gap:8px}.uplift-point-picker select{width:100%;min-width:0}
.uplift-event-trail{list-style:none;margin:0;padding:0}.uplift-event-trail li{display:grid;grid-template-columns:40px 1fr;gap:16px;padding:20px 0;border-bottom:1px solid var(--du-line)}
.uplift-risk-flow>div,.uplift-risk-flow>article{padding:20px;border-left:2px solid var(--du-accent);margin-bottom:16px;background:var(--du-surface)}
html[data-theme] body #main-content :is(#discover-view,#asset-view) :is(#discovery-brief,#research-instrument) .re-provenance{background:transparent!important;color:var(--du-text)!important;border:0!important;border-block:1px solid var(--du-line)!important;margin:16px 0;padding:12px 0!important}
html[data-theme] body #main-content :is(#discover-view,#asset-view) :is(#discovery-brief,#research-instrument) .re-provenance :is(dl,dd,dt,p){background:transparent!important;color:var(--du-text)!important;overflow-wrap:anywhere!important}
/* Shared disclosure and journey components. */
.uplift-disclosure{width:min(1472px,calc(100% - 44px));margin:16px auto;border-block:1px solid var(--du-line);padding:0;background:transparent;color:var(--du-text)}
.uplift-disclosure>summary{cursor:pointer;padding:20px 4px;min-height:48px;font-size:1rem;font-weight:700}
.uplift-disclosure>section,.uplift-disclosure>article{width:100%!important;margin:0!important}
.uplift-feature-path{display:grid;grid-template-columns:repeat(3,1fr);width:min(1472px,calc(100% - 44px));margin:32px auto;gap:24px}.uplift-feature-path a{display:grid;gap:12px;text-decoration:none;padding:24px 0;border-top:2px solid var(--du-accent);color:var(--du-text)}.uplift-feature-path span{font-size:.8rem}.uplift-feature-path strong{font-size:1.2rem}
/* Correct selected foregrounds throughout the existing depth controls. */
html[data-theme] body #main-content #asset-view .research-mode-actions button[aria-selected=true],html[data-theme] body #main-content #asset-view .research-mode-actions button[aria-selected=true] *{background:var(--du-text)!important;color:var(--du-ink)!important;-webkit-text-fill-color:var(--du-ink)!important}
html[data-theme] body #main-content #asset-view .asset-card-topline{margin-bottom:12px!important}
html[data-theme] body #main-content #asset-view .asset-header{padding-block:16px!important;gap:18px!important}
html[data-theme] body #main-content #asset-view :is(#asset-title,.asset-name){font-size:clamp(2rem,4vw,3.5rem)!important;line-height:1.08!important}
html[data-theme] body #main-content #asset-view .asset-tags{gap:6px!important;font-size:.75rem!important}
html[data-theme] body #main-content #asset-view .research-mode-bar{margin:8px 0 20px!important;padding:0!important}
html[data-theme] body #main-content #asset-view .research-mode-intro{display:none!important}
html[data-theme] body #main-content #asset-view #research-snapshot{padding:22px!important;margin-top:16px!important}
html[data-theme] body #main-content #discover-view .discover-view-stack{display:flex!important;flex-wrap:wrap!important;overflow:visible!important}
html[data-theme] body #main-content #discover-view .discover-view-stack button{min-width:0!important;flex:1 1 140px!important}
/* A common-scale difference view keeps labels next to the data. */
.uplift-difference{margin:24px 0}.uplift-difference>div{display:grid;grid-template-columns:50px 1fr 90px;gap:16px;align-items:center;margin:14px 0}.uplift-difference-track{position:relative;height:2px;background:#666}.uplift-difference-track i{position:absolute;width:12px;height:12px;top:-5px;border:2px solid #111;background:#ff8a50;border-radius:50%}.uplift-difference>div:nth-child(2) i{background:#fff}.uplift-difference strong{text-align:right;font-variant-numeric:tabular-nums}.uplift-difference small{font-size:.8rem}
/* Report controls and reader have distinct, intentional surface roles. */
.uplift-report-format{display:none}
html[data-theme] body #main-content #report-view .report-outcome-card{box-shadow:none!important;border:0!important;border-bottom:2px solid #555!important;background:#202020!important;color:#f2f2f2!important;padding:20px!important}
html[data-theme] body #main-content #report-view .report-outcome-card.active{border-bottom-color:var(--du-accent)!important;background:var(--du-accent)!important;color:#111!important}
html[data-theme] body #main-content #report-view .report-outcome-card.active *{color:#111!important}
html[data-theme] body #main-content #report-view .report-reader-nav{box-shadow:none!important;border:0!important;border-bottom:2px solid var(--du-accent)!important}
html[data-theme] body #main-content #report-view .report-reader-nav button:focus-visible{outline:3px solid #ff8a50!important}
html[data-theme] body #main-content #report-view #report-asset-identity,html[data-theme] body #main-content #report-view #report-asset-identity *{background:transparent!important;color:#f2f2f2!important}
html[data-theme] body #main-content #report-view #report-preview{--ink:#171717;--muted:#505050;--paper:#f2f2ed;background:var(--du-paper)!important;color:var(--du-ink)!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:clamp(20px,4vw,48px)!important}
html[data-theme] body #main-content #report-view #report-preview :is(article,section,header,footer,div,dl,dt,dd,p,h1,h2,h3,h4,h5,span,strong,b,small,li,a,summary,table,th,td){color:var(--du-ink)!important;background-color:transparent!important;box-shadow:none!important;text-shadow:none!important;border-color:#b4b4ad!important}
html[data-theme] body #main-content #report-view #report-preview :is(h1,h2,h3,h4){font-family:Arial,Helvetica,sans-serif!important;letter-spacing:-.035em!important}
html[data-theme] body #main-content #report-view #report-preview :is(h1,h2){line-height:1.08!important}
html[data-theme] body #main-content #report-view #report-preview :is(.label,.report-eyebrow,.report-chapter-marker>span){color:#9c3300!important}
html[data-theme] body #main-content #report-view #report-preview :is(.report-front,.report-hero,.report-cover){background-image:none!important;border-bottom:3px solid #ff5b04!important}
html[data-theme] body #main-content #report-view #report-preview :is(p,li){font-size:1rem!important;line-height:1.6!important;max-width:72ch}
/* Public status stays readable even when no ticker rows are available. */
.entrance-active .market-tape{min-height:64px!important}.entrance-active .market-tape-status{min-width:160px!important;max-width:240px!important;overflow:visible!important}.entrance-active .market-tape-status [data-market-tape-state]{font-family:Arial,Helvetica,sans-serif!important;line-height:1.4!important;word-break:normal!important}
@media(max-width:760px){
 .uplift-brief-head,.ri-head{align-items:start;flex-direction:column}.uplift-brief-count,.uplift-coverage-number{grid-template-columns:auto 1fr;min-width:0}.uplift-brief-count strong{font-size:2.5rem!important}
 .uplift-brief-controls{gap:12px}.uplift-brief-controls>label{margin:0;width:100%}.uplift-brief-controls select{width:100%}.uplift-brief-controls>div{flex:1 1 auto}
 .uplift-brief-layout{grid-template-columns:1fr;gap:16px}.uplift-brief-results ol{max-height:420px}.uplift-brief-inspector{padding:20px}
 html[data-theme] body #main-content #asset-view #research-instrument .ri-layout{grid-template-columns:1fr}
 .uplift-evidence-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.uplift-evidence-grid button{padding:12px!important}
 .uplift-feature-path{grid-template-columns:1fr;gap:8px}
 html[data-theme] body #main-content #asset-view .asset-header .asset-tags{display:none!important}
 html[data-theme] body #main-content #asset-view .asset-card-topline>span{display:none!important}
 html[data-theme] body #main-content #asset-view .research-mode-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important;border-radius:6px!important}
 html[data-theme] body #main-content #asset-view .research-mode-actions button{font-size:.72rem!important;min-height:44px!important;padding:8px 4px!important;white-space:normal!important}
 html[data-theme] body #main-content #asset-view #research-snapshot{padding:18px!important}
 html[data-theme] body #main-content #compare-view .compare-controls{display:grid!important;grid-template-columns:1fr 1fr;gap:12px!important;padding:18px!important}
 html[data-theme] body #main-content #compare-view .compare-controls :is(.control-intro,.selected-control-identity){display:none!important}
 html[data-theme] body #main-content #compare-view .compare-controls>details{grid-column:1/-1}
 html[data-theme] body #main-content #compare-view .compare-controls select{width:100%;min-width:0;font-size:.85rem!important}
 .uplift-report-format{display:grid;width:calc(100% - 44px);margin:0 auto 16px;gap:8px;font-size:.85rem;color:var(--du-text)}.uplift-report-format select{min-height:48px;width:100%;padding:10px;background:#202020;color:#fff;border:1px solid #777;border-radius:4px}
 html[data-theme] body #main-content #report-view .report-outcome-picker{display:block!important;margin-block:0 20px!important}
 html[data-theme] body #main-content #report-view .report-outcome-card:not(.active){display:none!important}
 html[data-theme] body #main-content #report-view .report-outcome-card.active{width:100%!important;min-height:0!important;padding:14px 18px!important}
 html[data-theme] body #main-content #report-view .report-outcome-card.active :is(span,strong){display:none!important}
 html[data-theme] body #main-content #report-view .report-controls{display:grid!important;grid-template-columns:1fr 1fr;gap:12px!important;padding:18px!important}
 html[data-theme] body #main-content #report-view .report-controls :is(.control-intro,#report-asset-identity){display:none!important}
 html[data-theme] body #main-content #report-view .report-controls>details,html[data-theme] body #main-content #report-view .report-controls>.report-action-groups{grid-column:1/-1}
 html[data-theme] body #main-content #report-view .report-controls select{width:100%;min-width:0;font-size:.85rem!important}
 .entrance-active .market-tape-status{min-width:0!important;max-width:none!important;width:100%!important;display:flex!important;gap:12px!important;align-items:center}.entrance-active .market-tape-status [data-market-tape-state]{max-width:170px!important}
 .entrance-active .market-tape{flex-wrap:wrap!important;padding-block:10px!important}.entrance-active .market-tape-window{flex-basis:100%!important}
 .universe-header{flex-wrap:wrap;gap:14px!important}.universe-header nav{display:flex!important;flex-wrap:wrap;gap:12px;font-size:.8rem}.universe-intro{padding-top:24px}.universe-intro p{line-height:1.5!important}
}
@media(prefers-reduced-motion:no-preference){
 .uplift-brief-results button,.uplift-evidence-grid button{transition:background-color .18s ease,border-color .18s ease!important}
 .uplift-point{transition:r .15s ease}.uplift-point:hover{r:5}
}
@media print{#report-preview{background:#fff!important;color:#111!important}.uplift-price svg text{fill:#333}.uplift-point{fill:#111}.uplift-grid{stroke:#aaa}}
.uplift-all-observations{margin-top:16px;border-top:1px solid #555}.uplift-all-observations>summary{padding:16px 0;cursor:pointer;min-height:48px}
html[data-theme] body #main-content #watchlist-view :is(.re-state,.watchlist-options>summary){background:#202020!important;color:#f2f2f2!important}
html[data-theme] body #main-content #report-view #report-export-status{background:#202020!important;color:#f2f2f2!important}
html[data-theme] body #main-content #report-view #report-preview :is(.report-editorial-hero,.report-front-page,.report-cover,.report-callout){background-image:none!important}
html[data-theme] body #main-content #report-view #report-preview svg :is(text,tspan){fill:#171717!important}
html[data-theme] body #main-content #asset-view .research-mode-bar>div:first-child{display:none!important}
@media(max-width:760px){html[data-theme] body #main-content #asset-view .asset-header{padding-top:8px!important;padding-bottom:8px!important}.uplift-brief-controls>div{flex:0 1 auto}.uplift-brief-controls{justify-content:space-between}.uplift-brief-controls>label{order:3}.uplift-brief-head{gap:8px}.uplift-brief-head p{margin-bottom:4px}.uplift-evidence-grid button>span:not(.uplift-evidence-mark){min-height:0}.uplift-brief-inspector{scroll-margin-top:16px}}
html[data-theme] body #main-content #research-snapshot>.uplift-disclosure{width:100%;margin:8px 0;background:transparent!important;border-color:#555!important}
html[data-theme] body #main-content #research-snapshot>.uplift-disclosure>summary{padding:12px 0;font-size:.85rem;font-weight:500;min-height:44px}
html[data-theme] body #main-content #research-snapshot>.uplift-disclosure>p{padding:0!important}
html[data-theme] body #main-content #discover-view :is([data-research-feed-filter],[data-source-radar-filter],[data-repository-radar-filter])[aria-pressed=true]{color:#111!important}
/* Buddy retains its existing state machine, with one quiet, recognisable face. */
html body .buddy-character{display:inline-block!important;position:relative!important;width:var(--buddy-size,38px)!important;height:var(--buddy-size,38px)!important;flex:0 0 var(--buddy-size,38px)!important;margin:0!important;box-sizing:border-box;aspect-ratio:1;background:#ff5b04!important;border:1px solid #ff8a50!important;border-radius:50%!important;box-shadow:none!important}
html body .buddy-character img{display:none!important}
html body .buddy-character:before,html body .buddy-character:after{content:'';position:absolute!important;top:34%;width:10%;height:18%;border-radius:50%;background:#111!important}
html body .buddy-character:before{left:29%}.buddy-character:after{right:29%}
html body .buddy-character .buddy-character-signal{display:block!important;position:absolute;inset:auto auto 22% 37%;width:26%;height:13%;border:0!important;border-bottom:2px solid #111!important;border-radius:50%;background:transparent!important;box-shadow:none!important}
html body .buddy-character[data-buddy-character-state=uncertain] .buddy-character-signal{border-radius:0;transform:rotate(-12deg)}
html body .buddy-character[data-buddy-character-state=unavailable]{background:#b8b8b8!important;border-color:#b8b8b8!important}
@media(prefers-reduced-motion:no-preference){.buddy-character[data-buddy-character-state=investigating]:before,.buddy-character[data-buddy-character-state=investigating]:after{animation:du-buddy-check 1.8s ease-in-out infinite}.buddy-character[data-buddy-character-state=evidence-found]{animation:du-buddy-ready .3s ease-out 1}@keyframes du-buddy-check{0%,70%,100%{transform:scaleY(1)}80%{transform:scaleY(.25)}}@keyframes du-buddy-ready{50%{transform:translateY(-3px)}}}
html[data-theme] body #main-content #discover-view [data-discover-filter]{background:#202020!important;color:#f2f2f2!important}
html[data-theme] body #main-content #discover-view [data-discover-filter].active{background:#ff5b04!important;color:#111!important}
html[data-theme] body #main-content #report-view .report-reader-nav button,html[data-theme] body #main-content #report-view .report-reader-nav button *{background:#202020!important;color:#f2f2f2!important}
html[data-theme] body #main-content #report-view .report-reader-nav button[aria-current=location],html[data-theme] body #main-content #report-view .report-reader-nav button[aria-current=location] *{background:#ff5b04!important;color:#111!important}
html[data-theme] body #main-content #report-view :is(.panel-heading,.empty-state,.uplift-report-format,.report-controls) :is(label,span,h2,strong,p):not(#report-preview *){color:#f2f2f2!important}
html[data-theme] body #main-content #report-view #report-preview::before{color:#555!important;background:transparent!important}
html[data-theme] body #main-content #watchlist-view details.research-tip.page-tip{border:0!important;border-bottom:1px solid #454545!important;border-radius:0!important;background:transparent!important;padding:0 0 12px!important;box-shadow:none!important;margin-top:0!important}
html[data-theme] body #main-content #watchlist-view .watchlist-layout{gap:20px!important}
html[data-theme] body #main-content #asset-view #research-instrument .uplift-evidence-grid button strong{font-size:1.8rem!important;line-height:1.2!important;letter-spacing:-.035em!important}
html[data-theme] body #main-content #asset-view #research-instrument .uplift-coverage-number strong span{font-size:1.5rem!important;color:#b8b8b8!important}
html[data-theme] body #main-content #discover-view #discovery-brief .uplift-brief-results button strong{font-size:1.1rem!important;line-height:1.35!important}
html[data-theme] body #main-content :is(#discover-view,#asset-view) :is(#discovery-brief,#research-instrument) .re-provenance dl{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px 14px}
html[data-theme] body #main-content :is(#discover-view,#asset-view) :is(#discovery-brief,#research-instrument) .re-provenance dd{margin:0!important}
html[data-theme] body #main-content .view.active-view>.page-heading{margin-top:0!important}
@media(max-width:760px){html[data-theme] body #main-content #asset-view #research-instrument .uplift-evidence-grid button strong{font-size:1.5rem!important}.uplift-brief-results ol{max-height:340px}.uplift-brief-results button{padding:14px!important}.uplift-brief-inspector h3{margin-top:10px}}

/* Buddy and help are a single, consistently sized annotation pair. */
html[data-theme] body:not(.entrance-active) #main-content .tooltip-actions{display:inline-flex!important;align-items:center!important;gap:4px!important;vertical-align:middle!important}
html[data-theme] body:not(.entrance-active) #main-content .tooltip-actions>button: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;inline-size:36px!important;block-size:36px!important;min-inline-size:36px!important;min-block-size:36px!important;flex:0 0 36px!important;padding:0!important;margin:0!important;border-radius:50%!important;overflow:hidden!important}
html body .buddy-icon-tooltip{--buddy-size:26px}
html body .buddy-icon-small{--buddy-size:30px}
html body .buddy-icon-handle{--buddy-size:38px}
html body .buddy-icon-hero{--buddy-size:88px}
html body .buddy-icon-working{--buddy-size:64px}
html body .buddy-icon-home{--buddy-size:64px}
html[data-theme] body:not(.entrance-active) #main-content .tooltip-actions .info-icon-svg{width:20px!important;height:20px!important;flex:none!important;color:#f2f2f2!important;overflow:visible}
html[data-theme] body:not(.entrance-active) #main-content .tooltip-actions .info-icon-svg path{stroke:currentColor!important;fill:none!important}
html body .buddy-character .buddy-character-signal{animation:none!important}
html[data-theme] body #buddy-launcher{opacity:1!important;pointer-events:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:56px!important;height:56px!important;min-width:56px!important;padding:8px!important;border-radius:50%!important;background:#111!important;border:1px solid #777!important;box-shadow:0 4px 20px #0003!important;right:16px!important;bottom:16px!important}
html[data-theme] body #buddy-launcher>span:nth-child(2),html[data-theme] body #buddy-launcher>kbd{display:none!important}
html[data-theme] body #buddy-launcher:hover,html[data-theme] body #buddy-launcher:focus-visible{border-color:#ff5b04!important;outline:2px solid #ff5b04!important;outline-offset:3px!important}
html body .buddy-home-entry{display:flex;align-items:center;gap:16px;margin:24px 0;padding:12px 20px 12px 12px;border:1px solid #777;border-radius:48px;background:#202020;color:#f2f2f2;cursor:pointer;font:inherit;text-align:left}
html body .buddy-home-entry>span:last-child{display:grid;gap:4px}html body .buddy-home-entry small{font-size:13px;color:#b8b8b8}
html body .buddy-home-entry:focus-visible{outline:2px solid #ff5b04;outline-offset:4px}
@media(pointer:coarse){html[data-theme] body:not(.entrance-active) #main-content .tooltip-actions>button:is(.info-dot,.buddy-tooltip-button){width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;inline-size:44px!important;block-size:44px!important;min-inline-size:44px!important;min-block-size:44px!important;flex-basis:44px!important}}
/* Help text uses an opaque surface with readable, matching foregrounds. */
html[data-theme] body #global-tooltip{background:#202020!important;border:1px solid #777!important;border-radius:12px!important;box-shadow:0 8px 28px #0005!important;color:#f2f2f2!important;padding:16px!important;font:400 14px/1.55 Arial,sans-serif!important}
html[data-theme] body #global-tooltip :is(p,span,strong,a){color:#f2f2f2!important;-webkit-text-fill-color:#f2f2f2!important;background:transparent!important}
html[data-theme] body #global-tooltip a{display:inline-block;padding:6px 0!important;text-decoration:underline!important;text-underline-offset:4px;border:0!important;box-shadow:none!important}
html[data-theme] body #global-tooltip.visible{pointer-events:auto!important}
html[data-theme] body #global-tooltip[aria-hidden=true]{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
