/* The shared selectors cover native controls. These are the site's links and containers. */
body a:is(
  .preheat-secondary, .soaf-text-link, .link-arrow, .nav-v5-download, .nav-v5-link,
  .nav-v5-login, .nav-v5-signup, .lang-link, .karmen-account-signin, .karmen-account-signup,
  .karmen-account-switch
),
body .karmen-account-menu > details > a,
body :is(
  [data-site-nav-v5], [data-nav-menu-panel], [data-nav-mobile-utils], .nav-v5-group-panel,
  .nav-v5-account-panel, .preheat-viewer, .preheat-image, .soaf-figure, .bot-layout-editorial,
  .bot-layout-editorial > :is(#now, #limits), .bot-layout-contents, .family-card, .trust-block,
  .soaf-summary, .soaf-summary dl > div, .soaf-diagram, .soaf-growth-copy, .soaf-growth figure,
  .soaf-flow li, .soaf-branches li, .soaf-event, .soaf-questions details, .soaf-section,
  .account-card, .account-history, .account-state, .policy-intro, .policy-intro nav,
  .policy-section, .policy-desktops > div, .karmen-footer
) {
  border-style: none !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Keep the diagram connectors, disclosure icons and existing selected fills. */
body :is(a, [role="slider"]):focus-visible {
  outline: none !important;
  text-decoration: underline solid currentColor 2px !important;
  text-underline-offset: .26em;
}

body :is([data-nav-toggle], [data-theme-toggle]):focus-visible {
  background-image: linear-gradient(
    color-mix(in srgb, currentColor 14%, transparent),
    color-mix(in srgb, currentColor 14%, transparent)
  ) !important;
}

@media (forced-colors: active) {
  body :is([data-nav-toggle], [data-theme-toggle]):focus-visible {
    forced-color-adjust: none;
    color: HighlightText !important;
    background: Highlight !important;
  }
}
