/* Windows High Contrast / forced colors. Loaded with media="(forced-colors: active)", so it costs
 nothing (and blocks nothing) for everyone else. Relies on the tokens in global.css. */
.btn, .lang, .menu-btn, .roi-out, .panel, .err-summary, .readout { border: 1px solid ButtonText; }
.btn-primary { border-width: 2px; }
.lang [aria-current] { forced-color-adjust: none; background: Highlight; color: HighlightText; }
:focus-visible { outline: 3px solid Highlight; }
.site-header, .site-header.is-top { border-bottom: 1px solid CanvasText; }
/* the reverse logo is light-on-dark: keep a Grafite plate so it stays visible on any theme… */
.brand-link, .foot-brand img { forced-color-adjust: none; background: #15171C; padding: 4px 8px; border-radius: 4px; }
/* …and on light high-contrast themes use the dark-ink lockup instead */
@media (prefers-color-scheme: light) {
  .brand-link, .foot-brand img { background: none; padding: 0; }
  .brand-link img, .foot-brand img { content: url("/brand/lockup-horizontal.svg"); }
}
/* the "campo de pontos" figures and charts: stems and lines in CanvasText, the raised point in Highlight */
.dotfield .st, .dotfield .dt, .dotfield .fs, .profile-fig .stems, .profile-fig .dots, .profile-fig .stem-step, .profile-fig .stem-focal, .profile-fig .node, .baseline-fig path, .about-mark rect { fill: CanvasText; }
.dotfield .st, .dotfield .dt { opacity: .12; }
.profile-fig .stems, .profile-fig .dots { opacity: .3; }
.dotfield .fr, .profile-fig .ring, .about-mark circle { stroke: CanvasText; }
.dotfield .fd, .hero-mark .dot, .profile-fig .raised-dot, .roi-chart .be-dot, .baseline-fig circle:last-of-type { fill: Highlight; }
.dotfield .fg, .roi-chart .a-sav { fill: none; }
.ascent-line path, .roi-chart path, .roi-chart line, .profile-fig path.path, .profile-fig .iso { stroke: CanvasText; }
.roi-chart text, .profile-fig text, .about-mark text, .baseline-fig text { fill: CanvasText; }
.roi-chart .l-sav { stroke: Highlight; }
.hero-mark .stem { fill: CanvasText; }
.hero-mark .ring { stroke: CanvasText; }
.step::before { background: CanvasText; }
.step:last-child::before { border-color: CanvasText; background: Canvas; }
.step:last-child::after { forced-color-adjust: none; background: Highlight; box-shadow: none; }
.readout i { forced-color-adjust: none; background: Highlight; }
.ff [aria-invalid="true"] { border: 2px solid Mark; }
.hero-scrim { display: none; }
