/* EDUHUNT R543 | Principal-only. Other roles are unaffected. */
/* Dark mode is enforced by r543-principal-dark-only.js; these selectors
   ensure no legacy light/dark control is visible on any principal page. */
body[data-portal-role="PRINCIPAL"] #desktopThemeSwitcher,
body[data-portal-role="PRINCIPAL"] #studentThemeToggle,
body[data-portal-role="PRINCIPAL"] #principalPageThemeControls,
body[data-portal-role="PRINCIPAL"] .principal-page-theme-controls,
body[data-portal-role="PRINCIPAL"] .principal-single-theme-toggle,
body[data-portal-role="PRINCIPAL"] [data-principal-theme-toggle] {
  display:none!important;
}
/* Keep both original actions clickable; hide only the visible words. */
body[data-portal-role="PRINCIPAL"] #globalRefresh .topbar-button-label,
body[data-portal-role="PRINCIPAL"] #accountButton .account-copy {
  display:none!important;
}
body[data-portal-role="PRINCIPAL"] #globalRefresh,
body[data-portal-role="PRINCIPAL"] #accountButton {
  box-sizing:border-box!important;
  width:44px!important;
  min-width:44px!important;
  max-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
  margin-left:0;
  display:inline-flex;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 44px!important;
  gap:0!important;
}
body[data-portal-role="PRINCIPAL"] #globalRefresh svg {
  width:19px;
  height:19px;
  flex:none;
}
body[data-portal-role="PRINCIPAL"] #accountButton .avatar {
  flex:none;
  margin:0;
}
@media(max-width:600px){
  body[data-portal-role="PRINCIPAL"] #globalRefresh,
  body[data-portal-role="PRINCIPAL"] #accountButton {
    width:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    flex-basis:40px!important;
  }
}
