/* ISOHU 1.2.8.2 — account links contrast: signup, login and password recovery.
   Scoped to account views. No changes to the shared dark navbar. */
:root[data-isohu-effective="dark"] .isohu-account-page .card a:not(.button),
:root:not([data-isohu-effective]) .isohu-account-page .card a:not(.button) {
  color:#cbe5c7;
  text-decoration-color:#8ab58e;
  text-underline-offset:3px;
}
:root[data-isohu-effective="dark"] .isohu-account-page .card a:not(.button):hover,
:root[data-isohu-effective="dark"] .isohu-account-page .card a:not(.button):focus-visible {
  color:#f1f8e9;
}
:root[data-isohu-effective="light"] .isohu-account-page .card a:not(.button) {
  color:#21633e;
  text-decoration-color:#638f6a;
  text-underline-offset:3px;
}
:root[data-isohu-effective="light"] .isohu-account-page .card a:not(.button):hover,
:root[data-isohu-effective="light"] .isohu-account-page .card a:not(.button):focus-visible {
  color:#10482a;
}
.isohu-account-page .card .muted a {font-weight:650}

/* ISOHU 1.2.8.7: preserve the established dark-BRG navigation in light mode. */
:root[data-isohu-effective="light"] body.isohu-account-page .isohu-site-nav .isohu-site-nav__brand,
:root[data-isohu-effective="light"] body.isohu-account-page .isohu-site-nav .isohu-site-nav__brand strong {
  color:#f4f7ec !important;
  -webkit-text-fill-color:#f4f7ec !important;
}
/* Make the account switch a reliably hit-testable control, above nav decoration. */
body.isohu-account-page .isohu-site-nav .isohu-theme-switch {
  position:relative;
  z-index:110;
  pointer-events:auto;
}
body.isohu-account-page .isohu-site-nav .isohu-theme-switch button[data-theme] {
  position:relative;
  z-index:111;
  pointer-events:auto !important;
  cursor:pointer;
  -webkit-appearance:none;
  appearance:none;
  touch-action:manipulation;
}

/* ISOHU 1.2.8.8 - Registration resend container. Replaces CSP-blocked inline style. */
.isohu-account-page .isohu-registration-resend {
  margin-top:25px;
  border-top:1px solid #385142;
  padding-top:14px;
}
:root[data-isohu-effective="light"] .isohu-account-page .isohu-registration-resend {
  border-top-color:#cadcca;
}
