/* V13 — Clear platform/client hierarchy: right-aligned MPM account identity.
   Visual layout only; all business logic and element IDs are unchanged. */
body.logged-in .head{
  display:flex!important; flex-wrap:nowrap!important;
  justify-content:space-between!important; align-items:center!important;
  width:100%!important; gap:24px!important;
}
body.logged-in .head .brand{flex:0 0 auto!important; margin-right:auto!important;}
body.logged-in .head .tenant-context{
  flex:0 0 auto!important; margin-left:auto!important; margin-right:0!important;
  align-self:center!important;
}
/* Keep the contextual account name, but avoid repeating its logotype below the header. */
#homeView .workspace-intro{justify-content:flex-start!important;}
.platform-footer .footer-tenant{flex-direction:column;align-items:flex-end;gap:4px;}
.platform-footer .footer-tenant strong{font-size:13px;line-height:1.2;color:#073e31;font-weight:800;}
@media(max-width:850px){
  body.logged-in .head{gap:12px!important;}
  body.logged-in .head .tenant-context{margin-left:auto!important;}
}
@media(max-width:520px){
  body.logged-in .head{gap:8px!important;}
  body.logged-in .head .brand{min-width:0!important;}
  body.logged-in .head .brand-logo{width:clamp(110px,35vw,142px)!important;max-width:100%!important;}
  body.logged-in .head .tenant-context{max-width:43vw!important;padding:6px 8px!important;}
  body.logged-in .head .tenant-logo{width:min(92px,34vw)!important;max-width:100%!important;object-fit:contain!important;}
}
