/* R2.8.3.9.58 — Emblem-only visual replacement. Retains approved geometry and scripts. */
/* National emblem: use under the school/government's authorisation only. */
@media screen and (min-width:1025px){
 #authGate #cmLandingShell .cm55-brand-photo.cm58-emblem-header{
   width:54px!important;height:42px!important;max-height:42px!important;
   object-fit:contain!important;object-position:center!important;flex:none;
   background:transparent!important;mix-blend-mode:normal!important;
 }
 #authGate #cmLandingShell .cm-site-brand::after{
   padding-top:0!important;align-self:center!important;margin-left:2px!important;
 }
 #authGate #cmLandingShell .cm55-footer-brand img.cm58-emblem-footer{
   width:63px!important;height:51px!important;max-height:51px!important;
   object-fit:contain!important;mix-blend-mode:normal!important;
 }
}
/* The original Classmate-branded form is not duplicated; its image alone changes. */
html body > #classmateLoginOverlay .cm-premium-login-form .brand-logo-frame.cm58-login-emblem-frame{
 width:112px!important;max-width:112px!important;height:82px!important;max-height:82px!important;
 margin:0 auto 12px!important;display:flex!important;align-items:center;justify-content:center;
}
html body > #classmateLoginOverlay .cm-premium-login-form .brand-logo-frame img.cm58-emblem-login{
 display:block!important;width:112px!important;height:82px!important;max-height:82px!important;
 object-fit:contain!important;object-position:center!important;
}
/* The authenticated sidebar keeps the original container and nav structure. */
#platformApp .sidebar .brand-logo-frame.cm58-sidebar-emblem-frame{
 display:flex!important;justify-content:center;align-items:center;
}
#platformApp .sidebar .brand-logo-image.cm58-emblem-sidebar{
 width:87px!important;height:74px!important;max-height:74px!important;object-fit:contain!important;
}


/* R2.8.3.9.61 — restrained desktop header polish only. No new artwork. */
@media screen and (min-width:1025px){
  /* Increase menu weight for clearer scanning; retain existing size, colour, spacing and positions. */
  #authGate #cmLandingShell .cm55-desktop-nav a{
    font-weight:900!important;
  }
  /* Use the exact locally supplied coat-of-arms file, a little larger within the existing header. */
  #authGate #cmLandingShell .cm55-brand-photo.cm58-emblem-header{
    width:58px!important;
    height:45px!important;
    max-height:45px!important;
    object-fit:contain!important;
    object-position:center!important;
    filter:contrast(1.08) saturate(1.02);
  }
}
