/* MAES Client Portal 0.2.2 — account access is part of the upper utility header. */
.mcp-header-account-wrap{
  display:flex!important;
  align-items:stretch!important;
  flex:0 0 auto!important;
  min-width:118px;
  align-self:stretch;
  order:initial!important;
}
.mcp-header-account{
  box-sizing:border-box;
  display:flex!important;
  flex-direction:column;
  justify-content:center;
  min-height:54px;
  width:100%;
  padding:8px 15px 7px;
  border-left:1px solid rgba(255,255,255,.18);
  text-decoration:none!important;
  background:transparent!important;
  transition:background .18s ease,opacity .18s ease;
}
.mcp-header-account:hover,.mcp-header-account:focus-visible{
  background:rgba(255,255,255,.07)!important;
  text-decoration:none!important;
  outline:none;
}
.mcp-header-account-kicker{
  display:block;
  margin:0 0 5px;
  color:#d7ad45!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:700!important;
  letter-spacing:.115em!important;
  text-transform:uppercase!important;
  white-space:nowrap;
}
.mcp-header-account-main{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0;
  color:#fff!important;
  font-size:12px!important;
  line-height:1.15!important;
  font-weight:600!important;
  white-space:nowrap;
}
.mcp-header-account-main svg{display:block;flex:0 0 auto;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.mcp-header-account-text{display:block;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Never put the account into the full desktop white navigation. */
.mcp-account-nav{display:none!important}

/* Slightly tighter treatment on narrower desktop; still visible while the site itself uses desktop header. */
@media (max-width:1180px) and (min-width:901px){
  .mcp-header-account-wrap{min-width:98px}
  .mcp-header-account{padding-left:11px;padding-right:11px}
  .mcp-header-account-text{max-width:92px}
  .mcp-header-account-kicker{font-size:8px!important}
  .mcp-header-account-main{font-size:11px!important}
}

/* Only switch to menu access when the site is genuinely in compact/mobile mode. */
@media (max-width:900px){
  .mcp-header-account-wrap{display:none!important}
  .mcp-account-nav{display:list-item!important}
  .mcp-account-nav>a{display:flex!important;align-items:center!important;gap:8px!important}
  .mcp-account-nav .mcp-account-icon{display:inline-flex;width:16px;height:16px;flex:0 0 auto;color:currentColor}
  .mcp-account-nav .mcp-account-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
}
