/* EDUHUNT R570: Principal-only Online Test Reports active navigation.
   The legacy R517 Academic Updates anchor is permanently blue via inline CSS.
   Neutralize that false-selected appearance except while its own report is open.
   Do not change link URL, click handler, role access or other portal styles. */
body[data-portal-role="PRINCIPAL"] #sidebarNav #ehpR517Link {
  background: transparent !important;
  color: #a9c9dc !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body[data-portal-role="PRINCIPAL"] #sidebarNav #ehpR517Link:hover,
body[data-portal-role="PRINCIPAL"] #sidebarNav #ehpR517Link:focus-visible {
  background: #10324d !important;
  border-color: #32627e !important;
  color: #d9f4ff !important;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="principal-academic-live"] #sidebarNav #ehpR517Link {
  background: #123f63 !important;
  color: #d9f4ff !important;
  border-color: #247eae !important;
  box-shadow: inset 3px 0 #43caff !important;
}
/* The Academic Updates module overlays its own view without invoking the
   main SPA's activeMenu. Suppress any stale active menu highlight ONLY there. */
body[data-portal-role="PRINCIPAL"][data-portal-module="principal-academic-live"]
#sidebarNav .nav-link.active {
  background: transparent !important;
  box-shadow: none !important;
}
