/* Capa final de contraste para todas las pantallas de la plataforma. */
:root {
  --a11y-ink: #082b50;
  --a11y-blue: #0e4f98;
  --a11y-green: #124c3b;
  --a11y-violet: #4b2878;
  --a11y-focus: #f2c94c;
}

.top-actions :is(button,.btn),
.reliability-bar :is(button,a) {
  border-width: 2px !important;
  border-color: #5c7895 !important;
  background: #fff !important;
  color: var(--a11y-ink) !important;
  text-shadow: none !important;
}

.top-actions :is(button,.btn) *,
.reliability-bar :is(button,a) * {
  color: inherit !important;
}

.top-actions :is(.advisor-quick,[data-print]) {
  border-color: #164b86 !important;
  background: #164b86 !important;
  color: #fff !important;
}

.ux-guidance-window > summary span,
.ux-guidance-card > span {
  color: var(--a11y-violet) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  opacity: 1 !important;
}

.ux-guidance-window > summary strong,
.ux-guidance-card :is(strong,p,li) {
  color: var(--a11y-ink) !important;
}

#view :is(.source-state,.study-plan-source,.verified-pill,.pill.green),
.topbar-badge {
  border: 2px solid #43806a !important;
  background: #e4f5ed !important;
  color: var(--a11y-green) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

#view :is(.source-state,.study-plan-source,.verified-pill,.pill.green) *,
.topbar-badge * {
  color: inherit !important;
}

.owner-control-anchor :is(small,i),
.owner-access-badge :is(small,i) {
  color: var(--a11y-green) !important;
  opacity: 1 !important;
}

.luma-platform-launcher {
  border: 2px solid #8db3d6 !important;
  background: #102f49 !important;
  color: #fff !important;
}

.luma-platform-launcher :is(b,small,span) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
}

.mobile-safe-nav button {
  color: var(--a11y-ink) !important;
  font-size: 13px !important;
}

.mobile-safe-nav button span { color: var(--a11y-ink) !important; }

:is(button,summary,a):focus-visible {
  outline: 4px solid var(--a11y-focus) !important;
  outline-offset: 3px !important;
}

@media (prefers-contrast: more) {
  :is(button,summary,a,input,select,textarea) { border-width: 2px !important; }
}
