/* UI-only correction. Uses ONLY active theme's existing palette tokens. */
/* Staff My Dashboard is a SPAN, not a button; older patches missed it. */
html.wl-theme-active .content .wl-dashboard .wl-tabs > span.selected,
html.wl-theme-active .content .wl-dashboard .wl-tabs > button.selected,
html.wl-theme-active .content .wl-dashboard .wl-pills > button.selected,
html.wl-theme-active .content :is(.hr-tabs,.pm-tabs,.fu-tabs,.fin-tabs,.fin-legacy-root-tabs) > :is(button,span):is(.selected,.active,[aria-selected="true"]),
html.wl-theme-active .content .si-wrap button.selected {
 background:var(--wl-theme-primary)!important;
 color:var(--wl-theme-on-primary)!important;
 border-color:var(--wl-theme-primary)!important;
 box-shadow:none!important;
}
/* Replace beige/brown hover with the actual selected theme PRIMARY; no mixed or new color. */
@media (hover:hover) and (pointer:fine) {
 html.wl-theme-active .content :is(.hr-card,.pm-card,.fu-card,.fin-card,.feature-card,.module-card):not(:disabled):hover {
  background:var(--wl-theme-surface)!important;
  border-color:var(--wl-theme-primary)!important;
  box-shadow:0 0 0 2px var(--wl-theme-primary)!important;
 }
 html.wl-theme-active .content :is(.hr-tabs,.pm-tabs,.fu-tabs,.fin-tabs,.fin-legacy-root-tabs,.wl-tabs,.wl-pills,.wl-viewbar) > :is(button,span):not(.selected):not(.active):not([aria-selected="true"]):not(:disabled):hover,
 html.wl-theme-active .content :is(.pm-btn,.hr-btn,.fin-btn,.fu-secondary,.fu-back,.dash-view-btn):not(:disabled):hover,
 html.wl-theme-active .content .si-wrap button:not(.selected):not(:disabled):hover {
  background:var(--wl-theme-primary)!important;
  color:var(--wl-theme-on-primary)!important;
  border-color:var(--wl-theme-primary)!important;
  box-shadow:none!important;
 }
 html.wl-theme-active .content .wl-dashboard .wl-tabs > span.selected:hover {
  background:var(--wl-theme-primary)!important;
  color:var(--wl-theme-on-primary)!important;
 }
}
html.wl-theme-active .content .si-wrap button:focus-visible,
html.wl-theme-active .content :is(.pm-btn,.hr-btn,.dash-view-btn):focus-visible {
 outline:2px solid var(--wl-theme-primary)!important;
 outline-offset:2px;
}
