/* RC14.3.1: interaction always wins; contrast CSS from RC14.3 stays active. */
a, button, input, select, textarea, summary, [role="button"], [tabindex]:not([tabindex="-1"]) {
  pointer-events: auto !important;
}

[hidden],
[aria-hidden="true"].modal-backdrop,
[aria-hidden="true"].overlay,
[aria-hidden="true"].drawer-backdrop,
.modal-backdrop.is-hidden,
.overlay.is-hidden,
.drawer-backdrop.is-hidden {
  display: none !important;
  pointer-events: none !important;
}

html, body { pointer-events: auto !important; }
body:not(.modal-open):not(.dialog-open) > :is(.modal-backdrop,.overlay,.drawer-backdrop) {
  pointer-events: none !important;
}

/* Preserve the requested contrast without a permanent DOM observer. */
:is(.advisor-shell,.advisor-panel,.advisor-offer,.advisor-action,.ranking-kpis .kpi,.rank-card,.gauge,.check,.modal-panel) {
  color: #f8fbff !important;
}
.ranking-kpis .kpi strong { color: #fff !important; opacity: 1 !important; }
