/* v2.22 — final professional profile treatment. */
#user-header-info {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin-left: auto !important;
  justify-content: flex-end !important;
  overflow: visible !important;
}
#user-header-info .mv-profile-wrap {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  overflow: visible !important;
}
#user-header-info .mv-profile-trigger {
  width: auto !important;
  height: 54px !important;
  min-width: 0 !important;
  max-width: 210px !important;
  padding: 6px 12px 6px 7px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  border-radius: 16px !important;
  border: 1px solid #dbe4ee !important;
  background: #ffffff !important;
  box-shadow: 0 7px 20px rgba(15,23,42,.06) !important;
  color: #334155 !important;
  overflow: visible !important;
  transform: none !important;
}
#user-header-info .mv-profile-trigger:hover,
#user-header-info .mv-profile-trigger:focus-visible {
  border-color: #b8d8ec !important;
  background: #fbfdff !important;
  box-shadow: 0 9px 24px rgba(15,23,42,.09) !important;
  transform: none !important;
  outline: none !important;
}
#user-header-info .mv-profile-trigger.is-student,
#user-header-info .mv-profile-trigger.is-teacher {
  border-color: #dbe4ee !important;
}
#user-header-info .mv-profile-avatar {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  flex: 0 0 40px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  border: 1px solid #e6edf5 !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  font-size: 1.35rem !important;
  line-height: 1 !important;
}
#user-header-info .mv-profile-trigger.is-student .mv-profile-avatar {
  background: #fff8e8 !important;
  border-color: #f5df9a !important;
}
#user-header-info .mv-profile-trigger.is-teacher .mv-profile-avatar {
  background: #f3f5ff !important;
  border-color: #d9defb !important;
}
#user-header-info .mv-profile-usercopy {
  min-width: 0 !important;
  max-width: 128px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 2px !important;
  text-align: left !important;
  line-height: 1.1 !important;
}
#user-header-info .mv-profile-usercopy strong {
  display: block !important;
  width: 100% !important;
  max-width: 128px !important;
  margin: 0 !important;
  color: #1e293b !important;
  font-family: 'Fredoka', sans-serif !important;
  font-size: .84rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
#user-header-info .mv-profile-usercopy small {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  color: #7c8ca0 !important;
  font-size: .63rem !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
#user-header-info .mv-profile-chevron {
  flex: 0 0 auto !important;
  margin-left: 1px !important;
  color: #94a3b8 !important;
  font-size: .7rem !important;
}
#user-header-info .mv-profile-status-dot {
  width: 9px !important;
  height: 9px !important;
  right: 6px !important;
  bottom: 5px !important;
  border-width: 2px !important;
}
#user-header-info .mv-profile-menu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: 0 !important;
  left: auto !important;
  width: 256px !important;
  max-width: calc(100vw - 24px) !important;
  padding: 8px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 20px 45px rgba(15,23,42,.14) !important;
  backdrop-filter: none !important;
  overflow: hidden !important;
  z-index: 220 !important;
}
#user-header-info .mv-profile-card-head {
  display: grid !important;
  grid-template-columns: 44px minmax(0,1fr) !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 64px !important;
  margin: 0 0 6px !important;
  padding: 10px !important;
  border-radius: 14px !important;
  border: 1px solid #edf2f7 !important;
  background: #f8fafc !important;
}
#user-header-info .mv-profile-card-head.is-student {
  background: #fffaf0 !important;
  border-color: #f8ead0 !important;
}
#user-header-info .mv-profile-card-head.is-teacher {
  background: #f7f8ff !important;
  border-color: #e6e8fb !important;
}
#user-header-info .mv-profile-avatar-large {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  flex: 0 0 44px !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  font-size: 1.45rem !important;
}
#user-header-info .mv-profile-copy {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: left !important;
}
#user-header-info .mv-profile-name {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  color: #1e293b !important;
  font-size: .88rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
#user-header-info .mv-profile-meta {
  display: block !important;
  width: 100% !important;
  margin: 3px 0 0 !important;
  color: #64748b !important;
  font-size: .66rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
#user-header-info .mv-profile-action {
  width: 100% !important;
  height: auto !important;
  min-height: 42px !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 7px 9px !important;
  display: grid !important;
  grid-template-columns: 30px minmax(0,1fr) !important;
  align-items: center !important;
  justify-content: stretch !important;
  gap: 9px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #475569 !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: .75rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  white-space: nowrap !important;
}
#user-header-info .mv-profile-action:hover,
#user-header-info .mv-profile-action:focus-visible {
  background: #f8fafc !important;
  color: #0f172a !important;
  outline: none !important;
}
#user-header-info .mv-profile-action-icon {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 9px !important;
  font-size: .74rem !important;
}
#user-header-info .mv-profile-action-icon.is-blue {
  background: #eaf6fd !important;
  color: #0284c7 !important;
}
#user-header-info .mv-profile-action-icon.is-rose {
  background: #fff0f2 !important;
  color: #e11d48 !important;
}
#user-header-info .mv-profile-action-logout {
  margin-top: 2px !important;
  color: #c2415c !important;
}
@media (max-width: 760px) {
  #user-header-info .mv-profile-trigger {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    padding: 3px !important;
    border-radius: 14px !important;
    justify-content: center !important;
  }
  #user-header-info .mv-profile-avatar {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    flex-basis: 36px !important;
    font-size: 1.2rem !important;
  }
  #user-header-info .mv-profile-usercopy,
  #user-header-info .mv-profile-chevron { display: none !important; }
  #user-header-info .mv-profile-status-dot { right: 3px !important; bottom: 3px !important; }
  #user-header-info .mv-profile-menu {
    position: fixed !important;
    top: 76px !important;
    right: 10px !important;
    width: min(256px, calc(100vw - 20px)) !important;
  }
}
