/* SR-2's older utility classes can override package link colours. Keep a
   second visible affordance on content links in those workflow screens. */
/* Buttons styled on <a> (.scott-btn, btn-*) keep their button look, matching
   the package content-link exemptions. */
.sr2-main.sc-content-links a[href]:not(.btn):not(.scott-btn):not([class^="btn-"]):not([class*=" btn-"]):not([role="button"]):not(.nav-link):not([data-sc-link-exempt]):not(.sc-home__tile):not(.sr2-tile) {
  text-decoration-line: underline !important;
  text-underline-offset: .16em;
}
/* Legacy knowledge sections predate the shared section component. */
.sr2-main.sc-content-links section:not(.sc-home):not(.sc-hub) {
  border: 1px solid var(--scott-border-strong);
  border-radius: var(--scott-radius-md);
  padding: var(--scott-space-4);
}

/* Legacy outline/link buttons inherit the shell's old low-contrast accent. */
.sr2-main a.btn[class*="btn-outline-"], .sr2-main a.btn.btn-link {
  /* Beat the package table-link compatibility rule, which is important. */
  color: var(--sc-link) !important;
}
