/* Resolve the accent on the selected element so nested modules keep their tone. */
:root {
  --selection-ink: #07111f;
}

:root[data-theme="light"] {
  --selection-ink: #ffffff;
}

::selection {
  background-color: var(--stocks-accent, var(--brand-accent, var(--accent, var(--blue, #4da3ff))));
  color: var(--selection-ink);
  text-shadow: none;
}

@media (forced-colors: active) {
  ::selection {
    background-color: Highlight;
    color: HighlightText;
  }
}
