/* TradeSmart v17 accessibility / release annotations / section rhythm */
.hero-result-plot svg [data-release-marker]{vector-effect:non-scaling-stroke}
.hero-offer-links{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.hero-source-link{background:#39d4b5!important;color:#062934!important;border-radius:7px;padding:7px 10px;text-decoration:none;font-weight:850;font-size:11px}
.hero-result-bottom{gap:9px;flex-wrap:wrap}
@media(max-width:620px){.hero-result-bottom{align-items:flex-start}.hero-offer-links{justify-content:flex-start}}
.home-hero + .hp-section,.hp-section + .hp-section,.hp-section + .container.hp-section,.hp-section + .container.v16-news-home{border-top:1px solid rgba(110,158,171,.28)}
html[data-theme="light"] .home-hero + .hp-section,html[data-theme="light"] .hp-section + .hp-section{border-color:#c6d7df}
/* Keep research charts dark in both themes, including all their textual controls. */
html[data-theme="light"] .featured-v8 .research-intro h2,html[data-theme="light"] .featured-v8 .research-intro p{color:#19384b}
html[data-theme="light"] .featured-v8 .research-card,html[data-theme="light"] .featured-v8 .research-card *,html[data-theme="light"] .featured-v8 .research-featured-card,html[data-theme="light"] .featured-v8 .research-featured-card *{color:#ecf8fa}
html[data-theme="light"] .featured-v8 .research-card button,html[data-theme="light"] .featured-v8 .research-featured-card button{color:#e3f6f7!important}
html[data-theme="light"] .featured-v8 .research-card button.active,html[data-theme="light"] .featured-v8 .research-card button.selected,html[data-theme="light"] .featured-v8 .research-featured-card button.active,html[data-theme="light"] .featured-v8 .research-featured-card button.selected{color:#fff!important}
html[data-theme="light"] .featured-v8 .research-card .research-chart-area,html[data-theme="light"] .featured-v8 .research-card .chart-wrap{color:#d5e8ee!important}
html[data-theme="light"] .featured-v8 .research-card a{color:#76edd2!important}
html[data-theme="light"] .slider-nav{color:#fff!important;background:#133343!important;border:1px solid #487182!important}
html[data-theme="light"] .feature-check li{color:#243f4e!important}
html[data-theme="light"] .feature-check li::before{color:#087b6e!important}
html[data-theme="light"] .inline-link{color:#087b6e!important}
html[data-theme="light"] .v16-member-banner h2,html[data-theme="light"] .v16-member-banner p,html[data-theme="light"] .v16-member-banner strong,html[data-theme="light"] .v16-member-banner small{color:#173647!important}
html[data-theme="light"] .v16-member-banner .v16-cta{color:#fff!important}
html[data-theme="light"] .membership-price-hero,html[data-theme="light"] .membership-price-hero *:not(.action){color:#ebf8fa}
html[data-theme="light"] .hero-proof-v13,html[data-theme="light"] .hero-proof-v13 *:not(.hero-source-link){color:#ebf8fa}
html[data-theme="light"] .hero-proof-v13 .hero-source-link{color:#082d34!important}
html[data-theme="light"] .hero-result-tabs button{color:#d4e4ea!important}
html[data-theme="light"] .hero-result-tabs button.selected{color:#fff!important}
html[data-theme="light"] .hero-result-identity strong{color:#fff!important}
html[data-theme="light"] .hero-result-metrics b{color:#fff!important}
html[data-theme="light"] .hero-result-market,html[data-theme="light"] .hero-result-release,html[data-theme="light"] .hero-result-metrics small,html[data-theme="light"] .hero-result-note{color:#c6d8e0!important}
/* Site-level cards whose surfaces remain dark in light mode */
html[data-theme="light"] .vid-frame,html[data-theme="light"] .vid-frame *{color:#e5f4fa}
html[data-theme="light"] .vid-frame .vid-external{color:#8df2db!important}
html[data-theme="light"] .member-chips span{color:#214757!important;background:#edf7f8!important}
html[data-theme="light"] .path-card{background:#fff!important;border:1px solid #c2d7df!important}
html[data-theme="light"] .path-card h3,html[data-theme="light"] .path-card .path-link{color:#0f5f65!important}
html[data-theme="light"] .path-card small{color:#386b72!important}
@media(prefers-reduced-motion:reduce){.hero-result{transition:none!important}}

/* v18: Explicit high-contrast palette on research cards that deliberately stay dark
   while the rest of the website is light. Do not rely on inherited page text. */
html[data-theme="light"] .featured-v8 .slider-slot .research-showcase{background-color:#102630!important;color:#eaf7fa!important;--muted:#aec7d2!important;--surface:#183444!important}
html[data-theme="light"] .featured-v8 .slider-slot .research-showcase h3,
html[data-theme="light"] .featured-v8 .slider-slot .research-showcase h3 small,
html[data-theme="light"] .featured-v8 .slider-slot .research-subname,
html[data-theme="light"] .featured-v8 .slider-slot .research-dates,
html[data-theme="light"] .featured-v8 .slider-slot .research-graphic-title,
html[data-theme="light"] .featured-v8 .slider-slot .research-chart-tip,
html[data-theme="light"] .featured-v8 .slider-slot .research-metric small,
html[data-theme="light"] .featured-v8 .slider-slot .research-metric strong,
html[data-theme="light"] .featured-v8 .slider-slot .research-sizing,
html[data-theme="light"] .featured-v8 .slider-slot .research-fixed-settings,
html[data-theme="light"] .featured-v8 .slider-slot .research-cost-banner,
html[data-theme="light"] .featured-v8 .slider-slot .research-cost-banner *,
html[data-theme="light"] .featured-v8 .slider-slot .research-explainer,
html[data-theme="light"] .featured-v8 .slider-slot .period-performance,
html[data-theme="light"] .featured-v8 .slider-slot .period-performance *{color:#e2f1f7!important}
html[data-theme="light"] .featured-v8 .slider-slot .research-phase-tabs button{color:#d8ebf2!important;background:#1c3645!important;border-color:#375565!important}
html[data-theme="light"] .featured-v8 .slider-slot .research-phase-tabs button.selected{color:#082d37!important;background:#54d5be!important;border-color:#54d5be!important}
html[data-theme="light"] .featured-v8 .slider-slot .research-graphic,
html[data-theme="light"] .featured-v8 .slider-slot .research-metric{background:#142c39!important;border-color:#35566a!important}
html[data-theme="light"] .featured-v8 .slider-slot .research-graphic button{color:#e6f6fc!important;background:#1c384a!important;border-color:#507080!important}
html[data-theme="light"] .featured-v8 .slider-slot .research-curve text{fill:#b7cfda!important}
html[data-theme="light"] .featured-v8 .slider-slot .research-visible-dates{color:#7ff0d5!important}
html[data-theme="light"] .featured-v8 .slider-slot .research-offer-actions .research-src-link{color:#0a2a35!important}
