/* Highlight inline links in page copy and tool help, keeping controls independent. */
:where(.dc-help, .dc-article, .tg-toolInfoBody, .tg-toolDescription,
       .tg-copyBlock, .tg-infoSection, .tg-infoCard, .tg-manualInternalLinks,
       .pt-article, .tool-desc, .vc-article)
  a[href]:not(:where([role="button"], [download], [class*="Btn"],
                    [class*="Button"], [class*="button"], [class*="btn"],
                    .tg-cardLink, .tg-toolCardHitarea, .tool-card-link)) {
  color: var(--dc-accent, var(--tg-accent, var(--accent, #c8ff00)));
  text-decoration-line: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: .075em;
  text-underline-offset: .2em;
  text-decoration-skip-ink: auto;
}

:where(.dc-help, .dc-article, .tg-toolInfoBody, .tg-toolDescription,
       .tg-copyBlock, .tg-infoSection, .tg-infoCard, .tg-manualInternalLinks,
       .pt-article, .tool-desc, .vc-article)
  a[href]:not(:where([role="button"], [download], [class*="Btn"],
                    [class*="Button"], [class*="button"], [class*="btn"],
                    .tg-cardLink, .tg-toolCardHitarea, .tool-card-link)):is(:hover, :focus-visible) {
  color: var(--tg-accent-hover, #d8ff3c);
}

/* Preserve a keyboard focus indicator for both content and interface links. */
a[href]:focus-visible {
  outline: 2px solid var(--tg-accent, var(--accent, #c8ff00));
  outline-offset: 3px;
}
