/* One account-button appearance across public and student navigation.
   ID-aware selectors override legacy page styles without changing visibility or menus. */
html body .header :is(.navigation, #navbarsExample04) :is(#auth-nav-item, #auth-sm-nav-item, #auth-nav-dropdown, .portal-login-item, .nav-item:has(> .nav-link #auth-username)) {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body .header :is(.navigation, #navbarsExample04) :is(#auth-nav-item, #auth-sm-nav-item, #auth-nav-dropdown, .portal-login-item, .nav-item:has(> .nav-link #auth-username)) > .nav-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-sizing: border-box;
  width: auto !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid #e11d8f !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  font-family: "Plus Jakarta Sans", "Poppins", sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  white-space: nowrap;
  box-shadow: none !important;
}
html body .header :is(.navigation, #navbarsExample04) :is(#auth-nav-item, #auth-sm-nav-item, #auth-nav-dropdown, .portal-login-item, .nav-item:has(> .nav-link #auth-username)) > .nav-link:hover,
html body .header :is(.navigation, #navbarsExample04) :is(#auth-nav-item, #auth-sm-nav-item, #auth-nav-dropdown, .portal-login-item, .nav-item:has(> .nav-link #auth-username)) > .nav-link[aria-expanded="true"] {
  background: #eef6ff !important;
  color: #2563eb !important;
  -webkit-text-fill-color: #2563eb !important;
}
html body .header :is(.navigation, #navbarsExample04) :is(#auth-nav-item, #auth-sm-nav-item, #auth-nav-dropdown, .portal-login-item, .nav-item:has(> .nav-link #auth-username)) > .nav-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .35) !important;
  outline-offset: 3px;
}
html body .header :is(.navigation, #navbarsExample04) :is(#auth-nav-item, #auth-sm-nav-item, #auth-nav-dropdown, .portal-login-item, .nav-item:has(> .nav-link #auth-username)) > .nav-link > i {
  flex: 0 0 auto;
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}
html body .header :is(.navigation, #navbarsExample04) :is(#auth-nav-item, #auth-sm-nav-item, #auth-nav-dropdown, .portal-login-item, .nav-item:has(> .nav-link #auth-username)) > .nav-link > :is(span, #auth-username) {
  margin: 0 !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}
html body .header :is(.navigation, #navbarsExample04) :is(#auth-nav-item, #auth-sm-nav-item, #auth-nav-dropdown, .portal-login-item, .nav-item:has(> .nav-link #auth-username)) > .nav-link::after {
  flex: 0 0 auto;
  margin: 0 !important;
  align-self: center;
}
@media (max-width: 767.98px) {
  html body .header :is(.navigation, #navbarsExample04) :is(#auth-nav-item, #auth-sm-nav-item, #auth-nav-dropdown, .portal-login-item, .nav-item:has(> .nav-link #auth-username)):where(#auth-sm-nav-item) {
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
  }
  html body .header :is(.navigation, #navbarsExample04) :is(#auth-nav-item, #auth-sm-nav-item, #auth-nav-dropdown, .portal-login-item, .nav-item:has(> .nav-link #auth-username)):where(#auth-sm-nav-item) > .nav-link {
    width: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 50% !important;
  }
  html body .header :is(.navigation, #navbarsExample04) :is(#auth-nav-item, #auth-sm-nav-item, #auth-nav-dropdown, .portal-login-item, .nav-item:has(> .nav-link #auth-username)):where(#auth-sm-nav-item) > .nav-link::after { display: none !important; }
}
