/* ImaginaWeb — escala compacta y uniforme para todas las páginas de Mi cuenta. */
html body:not(.login-bg) .iw-account-page-layout {
  grid-template-columns: 238px minmax(0, 1fr) !important;
  gap: 14px !important;
  font-size: 12px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-page-header {
  min-height: 62px !important;
  gap: 10px !important;
  margin-bottom: 10px !important;
  padding: 10px 14px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-page-header .iw-page-title {
  margin-top: 2px !important;
  font-size: 19px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-page-header .iw-page-subtitle {
  margin-top: 2px !important;
  font-size: 10.5px !important;
  line-height: 1.25 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-page-header .iw-btn-secondary {
  min-height: 30px !important;
  padding: 5px 9px !important;
  font-size: 10.5px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-account-sidebar-block {
  padding: 10px !important;
  gap: 6px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-account-sidebar-user {
  gap: 8px !important;
  padding: 9px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-user-avatar {
  width: 34px !important;
  height: 34px !important;
  flex-basis: 34px !important;
  overflow: hidden !important;
  padding: 0 !important;
  font-size: 10px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-user-avatar.has-photo {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-user-avatar-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
  object-fit: cover !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-alert {
  margin: 0 0 9px !important;
  padding: 8px 10px !important;
  font-size: 10.5px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-card {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 10px !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #eef8f7 !important;
  box-shadow: none !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-preview {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  height: 46px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 50% !important;
  background-color: #dff8f7 !important;
  box-shadow: none !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-preview.has-photo {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-preview img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-preview img.iw-profile-photo-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Perfil predeterminado: símbolo propio, sin reutilizar el logo corporativo. */
html body:not(.login-bg) .iw-profile-default-symbol {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  border-radius: inherit !important;
  background: linear-gradient(145deg, #d9fbf5 0%, #c7f2ee 52%, #dff6ff 100%) !important;
  color: #087f75 !important;
  box-shadow: inset 0 0 0 1px rgba(13, 148, 136, .14) !important;
}

html body:not(.login-bg) .iw-profile-default-symbol__server {
  position: relative !important;
  z-index: 1 !important;
  color: #0b8f83 !important;
}

html body:not(.login-bg) .iw-profile-default-symbol__user {
  position: absolute !important;
  right: -1px !important;
  bottom: -1px !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  background: #0f9385 !important;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(8, 103, 95, .22) !important;
}

html body:not(.login-bg) .iw-profile-default-symbol--card {
  width: 40px !important;
  height: 40px !important;
  border-radius: 13px !important;
}

html body:not(.login-bg) .iw-profile-default-symbol--card .iw-profile-default-symbol__server { font-size: 16px !important; }
html body:not(.login-bg) .iw-profile-default-symbol--card .iw-profile-default-symbol__user {
  width: 17px !important;
  height: 17px !important;
  font-size: 7px !important;
}

html body:not(.login-bg) .iw-profile-default-symbol--sidebar {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
}

html body:not(.login-bg) .iw-profile-default-symbol--sidebar .iw-profile-default-symbol__server { font-size: 13px !important; }
html body:not(.login-bg) .iw-profile-default-symbol--sidebar .iw-profile-default-symbol__user {
  width: 14px !important;
  height: 14px !important;
  font-size: 6px !important;
}

html body:not(.login-bg) nav#iw-main-header .iw-profile-default-symbol--header {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
}

html body:not(.login-bg) nav#iw-main-header .iw-profile-default-symbol--header .iw-profile-default-symbol__server { font-size: 11px !important; }
html body:not(.login-bg) nav#iw-main-header .iw-profile-default-symbol--header .iw-profile-default-symbol__user {
  right: 0 !important;
  bottom: 0 !important;
  width: 12px !important;
  height: 12px !important;
  font-size: 5px !important;
}

html body:not(.login-bg) .iw-account-menu .iw-profile-default-symbol--menu {
  width: 100% !important;
  height: 100% !important;
  border-radius: 12px !important;
}

html body:not(.login-bg) .iw-account-menu .iw-profile-default-symbol--menu .iw-profile-default-symbol__server { font-size: 17px !important; }
html body:not(.login-bg) .iw-account-menu .iw-profile-default-symbol--menu .iw-profile-default-symbol__user {
  width: 18px !important;
  height: 18px !important;
  font-size: 7px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-copy h2 {
  margin: 0 !important;
  color: #172033 !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-copy p {
  margin: 2px 0 0 !important;
  color: #64748b !important;
  font-size: 9.5px !important;
  line-height: 1.3 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-actions {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-actions form {
  margin: 0 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-upload {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  max-width: 410px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-select,
html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-save,
html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: auto !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 5px 9px !important;
  border-radius: 7px !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  cursor: pointer !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-select {
  border: 0 !important;
  background: #ffffff !important;
  color: #31515b !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-select input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-remove {
  border: 0 !important;
  background: transparent !important;
  color: #a6323d !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-save {
  border: 0 !important;
  background: #0f7781 !important;
  color: #fff !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-save:disabled {
  background: #d8e5e7 !important;
  color: #819198 !important;
  cursor: default !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-status {
  flex: 1 0 100% !important;
  color: #6b7c85 !important;
  font-size: 8.5px !important;
  line-height: 1.3 !important;
  text-align: right !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-status.is-error { color: #b3343f !important; }
html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-status.is-ready { color: #0a7b68 !important; }

html body:not(.login-bg) .iw-account-page-layout .iw-account-sidebar-user strong {
  font-size: 11.5px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-account-sidebar-user span,
html body:not(.login-bg) .iw-account-page-layout .iw-account-panel-kicker {
  font-size: 9px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-account-sidebar-nav {
  gap: 3px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-account-navigation-sidebar {
  padding-bottom: 5px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-account-panel-link {
  min-height: 32px !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 3px 7px !important;
  font-size: 10.5px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-account-panel-icon {
  width: 24px !important;
  height: 24px !important;
  flex-basis: 24px !important;
  font-size: 9.5px !important;
}

html body:not(.login-bg) .iw-account-page-layout .user-profile-main-page-section,
html body:not(.login-bg) .iw-account-page-layout .theme-clientdetail-page,
html body:not(.login-bg) .iw-account-page-layout .theme-contact-add-page,
html body:not(.login-bg) .iw-account-page-layout .theme-contact-list-page,
html body:not(.login-bg) .iw-account-page-layout .theme-user-management,
html body:not(.login-bg) .iw-account-page-layout .user-security-page-main-sec,
html body:not(.login-bg) .iw-account-page-layout .theme-change-password-page {
  padding: 14px !important;
}

html body:not(.login-bg) .iw-account-page-layout .card {
  margin-bottom: 10px !important;
}

/* Una sola superficie: los bloques internos se separan por ritmo, no por cajas. */
html body:not(.login-bg) .iw-account-page-layout .iw-unified-account-page {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-account-details-form {
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: #fff !important;
  box-shadow: 0 4px 16px rgba(21, 55, 72, .055) !important;
}

html body:not(.login-bg) .iw-account-page-layout .main-card-accountdetail-section,
html body:not(.login-bg) .iw-account-page-layout .main-body-accountdetail-section {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body:not(.login-bg) .iw-account-page-layout .card-body,
html body:not(.login-bg) .iw-account-page-layout .formBox {
  padding: 11px !important;
}

html body:not(.login-bg) .iw-account-page-layout .formBox {
  margin: 0 !important;
  padding: 14px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #edf2f4 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body:not(.login-bg) .iw-account-page-layout .form-title,
html body:not(.login-bg) .iw-account-page-layout .card-title,
html body:not(.login-bg) .iw-account-page-layout .info-titel,
html body:not(.login-bg) .iw-account-page-layout .iw-contact-section-title {
  margin-bottom: 9px !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

html body:not(.login-bg) .iw-account-page-layout .form-inner-section.row,
html body:not(.login-bg) .iw-account-page-layout form .row {
  row-gap: 10px !important;
}

html body:not(.login-bg) .iw-account-page-layout .inputText,
html body:not(.login-bg) .iw-account-page-layout .inputBox > label.inputText,
html body:not(.login-bg) .iw-account-page-layout .inputBox > div.inputText {
  margin-bottom: 4px !important;
  font-size: 9.5px !important;
}

html body:not(.login-bg) .iw-account-page-layout .inputBox .input,
html body:not(.login-bg) .iw-account-page-layout .inputBox input.input,
html body:not(.login-bg) .iw-account-page-layout .inputBox select.input,
html body:not(.login-bg) .iw-account-page-layout .inputBox textarea.input,
html body:not(.login-bg) .iw-account-page-layout .inputBox .custom-select,
html body:not(.login-bg) .iw-account-page-layout .inputBox select,
html body:not(.login-bg) .iw-account-page-layout .custom-select-box-drop,
html body:not(.login-bg) .iw-account-page-layout input[type="email"],
html body:not(.login-bg) .iw-account-page-layout input[type="text"],
html body:not(.login-bg) .iw-account-page-layout input[type="tel"],
html body:not(.login-bg) .iw-account-page-layout input[type="password"] {
  height: 35px !important;
  min-height: 35px !important;
  padding: 7px 9px !important;
  font-size: 11.5px !important;
}

/* Respeta el espacio reservado por el selector internacional de teléfono. */
html body:not(.login-bg) .iw-account-page-layout .intl-tel-input {
  display: block !important;
  width: 100% !important;
}

html body:not(.login-bg) .iw-account-page-layout .intl-tel-input #inputPhone {
  padding-right: 10px !important;
}

html body:not(.login-bg) .iw-account-page-layout .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 #inputPhone { padding-left: 76px !important; }
html body:not(.login-bg) .iw-account-page-layout .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 #inputPhone { padding-left: 84px !important; }
html body:not(.login-bg) .iw-account-page-layout .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 #inputPhone { padding-left: 92px !important; }
html body:not(.login-bg) .iw-account-page-layout .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 #inputPhone { padding-left: 100px !important; }

html body:not(.login-bg) .iw-account-page-layout textarea,
html body:not(.login-bg) .iw-account-page-layout .inputBox textarea.input {
  min-height: 72px !important;
  padding: 7px 9px !important;
  font-size: 11.5px !important;
}

/* Contactos: selector y formulario en dos barras independientes y compactas. */
html body:not(.login-bg) .iw-account-page-layout .iw-contact-page {
  display: grid !important;
  gap: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-contact-picker {
  display: grid !important;
  grid-template-columns: auto minmax(180px, 1fr) auto !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 9px 10px !important;
  border: 1px solid #dfe9ec !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 3px 12px rgba(21, 55, 72, .045) !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-contact-picker-label {
  grid-column: auto !important;
  margin: 0 !important;
  color: #526b76 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-contact-picker select,
html body:not(.login-bg) .iw-account-page-layout .iw-contact-picker .form-control,
html body:not(.login-bg) .iw-account-page-layout .iw-contact-picker .btn {
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  font-size: 10.5px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-contact-picker select,
html body:not(.login-bg) .iw-account-page-layout .iw-contact-picker .form-control {
  padding: 5px 9px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-contact-picker .btn {
  padding: 0 12px !important;
  border-radius: 7px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-contact-form {
  margin: 0 !important;
  padding: 12px !important;
  border: 1px solid #dfe9ec !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 4px 16px rgba(21, 55, 72, .05) !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-contact-form .iw-contact-section {
  margin-bottom: 10px !important;
  padding: 11px !important;
  border-radius: 8px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-contact-form .iw-contact-grid {
  gap: 9px 10px !important;
}

@media (max-width: 700px) {
  html body:not(.login-bg) .iw-account-page-layout .iw-contact-picker {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  html body:not(.login-bg) .iw-account-page-layout .iw-contact-picker-label {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 460px) {
  html body:not(.login-bg) .iw-account-page-layout .iw-contact-picker {
    grid-template-columns: 1fr !important;
  }

  html body:not(.login-bg) .iw-account-page-layout .iw-contact-picker .btn {
    width: 100% !important;
  }
}

html body:not(.login-bg) .iw-account-page-layout .checkbox-universal-box,
html body:not(.login-bg) .iw-account-page-layout .checkbox-universal-box.inputText {
  gap: 7px !important;
  padding: 7px 9px !important;
  font-size: 10.5px !important;
}

html body:not(.login-bg) .iw-account-page-layout .wgs_custom-btn,
html body:not(.login-bg) .iw-account-page-layout .btn-primary,
html body:not(.login-bg) .iw-account-page-layout .btn-success,
html body:not(.login-bg) .iw-account-page-layout .wgs_cancel_button,
html body:not(.login-bg) .iw-account-page-layout .btn-default,
html body:not(.login-bg) .iw-account-page-layout .iw-btn-secondary,
html body:not(.login-bg) .iw-account-page-layout .btn-danger,
html body:not(.login-bg) .iw-account-page-layout .wgs_remove_button {
  min-height: 35px !important;
  padding: 7px 11px !important;
  font-size: 11.5px !important;
}

/* Preferencias: componente propio para evitar el checkbox universal contraído. */
html body:not(.login-bg) .iw-account-page-layout .iw-email-preferences {
  padding: 14px 0 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preferences-heading,
html body:not(.login-bg) .iw-account-page-layout .iw-email-marketing-copy {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  min-width: 0 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preferences-heading {
  margin-bottom: 10px !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preferences-heading > div:not(.iw-email-preferences-tools) {
  flex: 1 1 0% !important;
  min-width: 0 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preferences-tools {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 3px 8px !important;
  margin-left: auto !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preferences-count {
  flex-basis: 100% !important;
  color: #71818a !important;
  font-size: 8.5px !important;
  text-align: right !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preferences-tools button {
  width: auto !important;
  min-height: 22px !important;
  margin: 0 !important;
  padding: 2px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #0f7781 !important;
  font-size: 9px !important;
  font-weight: 750 !important;
  box-shadow: none !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preferences-tools button[data-iw-email-action="none"] {
  color: #687981 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preferences-heading .form-title,
html body:not(.login-bg) .iw-account-page-layout .iw-email-marketing .form-title {
  margin: 0 !important;
  color: #172033 !important;
  font-size: 11px !important;
  font-weight: 850 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preferences-heading p,
html body:not(.login-bg) .iw-account-page-layout .iw-email-marketing p {
  margin: 2px 0 0 !important;
  color: #64748b !important;
  font-size: 9.5px !important;
  line-height: 1.35 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preferences-icon,
html body:not(.login-bg) .iw-account-page-layout .iw-email-marketing-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  border-radius: 7px !important;
  background-color: #e8f7f6 !important;
  color: #0f7781 !important;
  font-size: 10.5px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preferences-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 7px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preference-item {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 8px 9px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background-color: #f5f8f9 !important;
  color: #172033 !important;
  cursor: pointer !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preference-item:hover {
  background-color: #eaf5f4 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preference-item.is-enabled {
  background-color: #eff8f6 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preference-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preference-check {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  border: 1px solid #c7d5df !important;
  border-radius: 5px !important;
  background-color: #f8fbfc !important;
  color: transparent !important;
  font-size: 8px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preference-input:checked + .iw-email-preference-check {
  border-color: #0f8e92 !important;
  background-color: #0f8e92 !important;
  color: #fff !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preference-input:focus-visible + .iw-email-preference-check {
  box-shadow: 0 0 0 3px rgba(15, 142, 146, .16) !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preference-copy,
html body:not(.login-bg) .iw-account-page-layout .iw-email-preference-copy strong,
html body:not(.login-bg) .iw-account-page-layout .iw-email-preference-copy small {
  display: block !important;
  min-width: 0 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preference-copy strong {
  color: #1f3040 !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-preference-copy small {
  margin-top: 2px !important;
  color: #64748b !important;
  font-size: 9px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-marketing {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  min-height: 64px !important;
  margin-top: 8px !important;
  padding: 10px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #f5f8f9 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-email-marketing-switch {
  flex: 0 0 auto !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-account-savebar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 11px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-account-save-state {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #71818a !important;
  font-size: 9.5px !important;
  font-weight: 650 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-account-save-state i { color: #16a078 !important; }
html body:not(.login-bg) .iw-account-page-layout .iw-account-save-state.is-dirty { color: #8b6517 !important; }
html body:not(.login-bg) .iw-account-page-layout .iw-account-save-state.is-dirty i { color: #e0a11a !important; }

html body:not(.login-bg) .iw-account-page-layout .iw-account-save-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 7px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-account-save-actions .btn {
  width: auto !important;
  min-width: 112px !important;
  margin: 0 !important;
}

/* Correos: resumen, filtros y filas a la misma escala compacta. */
html body:not(.login-bg) .iw-account-page-layout .iw-mail-overview {
  gap: 9px !important;
  margin-bottom: 10px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-mail-overview-card,
html body:not(.login-bg) .iw-account-page-layout .iw-mail-overview-note {
  min-height: 58px !important;
  gap: 8px !important;
  padding: 9px 10px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-mail-overview-icon,
html body:not(.login-bg) .iw-account-page-layout .iw-mail-overview-note i {
  width: 31px !important;
  height: 31px !important;
  flex-basis: 31px !important;
  font-size: 12px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-mail-overview-card strong {
  font-size: 18px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-mail-overview-card small,
html body:not(.login-bg) .iw-account-page-layout .iw-mail-overview-note span,
html body:not(.login-bg) .iw-account-page-layout .iw-mail-toolbar .common-title-all h3,
html body:not(.login-bg) .iw-account-page-layout .iw-mail-toolbar .common-title-count {
  font-size: 10.5px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-mail-table thead th {
  padding: 7px 9px !important;
  font-size: 9px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-mail-table tbody td {
  padding: 7px 9px !important;
  font-size: 10.5px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-mail-subject-btn {
  min-height: 32px !important;
  gap: 7px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-mail-subject-icon {
  width: 27px !important;
  height: 27px !important;
  flex-basis: 27px !important;
  font-size: 10px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-mail-subject-text,
html body:not(.login-bg) .iw-account-page-layout .iw-mail-date-text {
  font-size: 10.5px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-mail-view-btn {
  min-height: 29px !important;
  padding: 5px 8px !important;
  font-size: 9.5px !important;
}

@media (max-width: 991px) {
  html body:not(.login-bg) .iw-account-page-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-card {
    grid-template-columns: 46px minmax(0, 1fr) !important;
  }

  html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-actions {
    grid-column: 1 / -1 !important;
    justify-content: flex-start !important;
  }

  html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-upload {
    justify-content: flex-start !important;
    max-width: none !important;
  }

  html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-status {
    text-align: left !important;
  }

  html body:not(.login-bg) .iw-account-page-layout .iw-email-preferences-grid {
    grid-template-columns: 1fr !important;
  }

  html body:not(.login-bg) .iw-account-page-layout .iw-email-preferences-heading {
    align-items: flex-start !important;
    flex-wrap: wrap !important;
  }

  html body:not(.login-bg) .iw-account-page-layout .iw-email-preferences-tools {
    width: 100% !important;
    justify-content: flex-start !important;
    margin-left: 37px !important;
  }

  html body:not(.login-bg) .iw-account-page-layout .iw-email-preferences-count {
    flex-basis: auto !important;
    text-align: left !important;
  }

  html body:not(.login-bg) .iw-account-page-layout .iw-email-marketing {
    align-items: flex-start !important;
  }

  html body:not(.login-bg) .iw-account-page-layout .iw-account-savebar {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body:not(.login-bg) .iw-account-page-layout .iw-account-save-actions,
  html body:not(.login-bg) .iw-account-page-layout .iw-account-save-actions .btn {
    width: 100% !important;
  }
}

/* IW 2026-08-06 - perfil visual, iniciales reales y carga de foto ordenada. */
html body:not(.login-bg) .iw-profile-initials {
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  overflow: hidden !important;
  border: 1px solid rgba(15, 118, 110, .18) !important;
  background: linear-gradient(145deg, #d8f8f2 0%, #c4eee9 52%, #dff3fb 100%) !important;
  color: #0b6f66 !important;
  font-weight: 850 !important;
  letter-spacing: -.03em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5) !important;
}

html body:not(.login-bg) .iw-profile-initials--card {
  width: 68px !important;
  height: 68px !important;
  border-radius: 50% !important;
  font-size: 22px !important;
}

html body:not(.login-bg) .iw-profile-initials--sidebar {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  font-size: 10px !important;
}

html body:not(.login-bg) nav#iw-main-header .iw-profile-initials--header {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  font-size: 8px !important;
}

html body:not(.login-bg) .iw-account-menu .iw-profile-initials--menu {
  width: 100% !important;
  height: 100% !important;
  border-radius: 12px !important;
  font-size: 15px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-card {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 82px minmax(260px, 1fr) minmax(300px, 390px) !important;
  align-items: center !important;
  gap: 16px !important;
  margin: 0 0 14px !important;
  padding: 16px 18px !important;
  border: 1px solid #dce9e8 !important;
  border-radius: 14px !important;
  background: linear-gradient(110deg, #f0fbf8 0%, #f8fcfd 52%, #fff 100%) !important;
  box-shadow: 0 8px 24px rgba(23, 52, 64, .055) !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-preview {
  position: relative !important;
  display: grid !important;
  width: 76px !important;
  height: 76px !important;
  place-items: center !important;
  overflow: visible !important;
  border: 4px solid #fff !important;
  border-radius: 50% !important;
  background: #dff7f2 !important;
  box-shadow: 0 0 0 1px #c9dfdc, 0 8px 20px rgba(15, 118, 110, .13) !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-preview img.iw-profile-photo-image {
  display: block !important;
  width: 68px !important;
  height: 68px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-preview img[hidden] { display: none !important; }
html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-preview [hidden] { display: none !important; }

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-preview-badge {
  position: absolute !important;
  right: -3px !important;
  bottom: -3px !important;
  display: inline-grid !important;
  width: 24px !important;
  height: 24px !important;
  place-items: center !important;
  border: 3px solid #fff !important;
  border-radius: 50% !important;
  background: #0f8c7f !important;
  color: #fff !important;
  font-size: 8px !important;
  box-shadow: 0 3px 8px rgba(15, 118, 110, .22) !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-copy { min-width: 0 !important; }

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-kicker {
  display: block !important;
  margin-bottom: 3px !important;
  color: #0b7b6f !important;
  font-size: 8.5px !important;
  font-weight: 850 !important;
  letter-spacing: .07em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-copy h2 {
  margin: 0 !important;
  color: #152f3b !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-copy p {
  max-width: 610px !important;
  margin: 4px 0 8px !important;
  color: #5f7480 !important;
  font-size: 10.5px !important;
  line-height: 1.4 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-details {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-details span {
  display: inline-flex !important;
  min-height: 22px !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 3px 7px !important;
  border: 1px solid #d9e8e6 !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.82) !important;
  color: #526b76 !important;
  font-size: 8.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-details i { color: #0f8c7f !important; font-size: 8px !important; }

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-actions {
  display: flex !important;
  min-width: 0 !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
  padding-left: 14px !important;
  border-left: 1px solid #dfeae9 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-upload {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  align-items: stretch !important;
  flex-direction: column !important;
  gap: 6px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-controls {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 6px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-select,
html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-save,
html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-remove {
  min-height: 34px !important;
  padding: 6px 11px !important;
  border-radius: 8px !important;
  font-size: 10px !important;
  line-height: 1 !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-select {
  border: 1px solid #cddfdd !important;
  background: #fff !important;
  color: #2b5158 !important;
  box-shadow: 0 2px 6px rgba(24, 55, 65, .04) !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-save {
  border: 1px solid #0d796e !important;
  background: #0f8c7f !important;
  color: #fff !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-remove {
  min-height: 26px !important;
  align-self: flex-end !important;
  padding: 3px 6px !important;
  color: #a43842 !important;
  font-size: 8.5px !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-status {
  display: flex !important;
  width: 100% !important;
  flex: none !important;
  align-items: flex-start !important;
  gap: 5px !important;
  color: #687b85 !important;
  font-size: 8.5px !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-status i { flex: 0 0 auto !important; margin-top: 1px !important; color: #0f8c7f !important; }

@media (max-width: 1180px) {
  html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-card {
    grid-template-columns: 82px minmax(0, 1fr) !important;
  }
  html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-actions {
    grid-column: 1 / -1 !important;
    padding-top: 10px !important;
    padding-left: 0 !important;
    border-top: 1px solid #dfeae9 !important;
    border-left: 0 !important;
  }
}

@media (max-width: 640px) {
  html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-card {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 13px !important;
  }
  html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-preview {
    width: 60px !important;
    height: 60px !important;
  }
  html body:not(.login-bg) .iw-profile-initials--card,
  html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-preview img.iw-profile-photo-image {
    width: 52px !important;
    height: 52px !important;
  }
  html body:not(.login-bg) .iw-profile-initials--card { font-size: 17px !important; }
  html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-details { grid-column: 1 / -1 !important; }
  html body:not(.login-bg) .iw-account-page-layout .iw-profile-photo-controls { grid-template-columns: 1fr !important; }
}

/* 2026-08-05 — menú Mi cuenta: perfil, navegación y salida jerarquizados. */
html body:not(.login-bg) .menu-myaccount-clientx.iw-account-menu {
  top: 76px !important;
  right: 18px !important;
  width: 374px !important;
  min-width: 0 !important;
  max-width: calc(100vw - 24px) !important;
  height: auto !important;
  max-height: calc(100dvh - 94px) !important;
  border: 1px solid #dce6e9 !important;
  border-top: 4px solid #0e8f75 !important;
  border-radius: 15px !important;
  background: #fff !important;
  box-shadow: 0 24px 64px rgba(23, 32, 51, .18) !important;
  overflow: hidden !important;
}

html body:not(.login-bg) .menu-myaccount-clientx.iw-account-menu:not(.left-open-myaccount-sec) {
  right: 18px !important;
  margin-right: 0 !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-8px) scale(.985) !important;
}

html body:not(.login-bg) .menu-myaccount-clientx.iw-account-menu.left-open-myaccount-sec {
  right: 18px !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__inner {
  display: flex !important;
  width: 100% !important;
  max-height: calc(100dvh - 98px) !important;
  flex-direction: column !important;
  background: #fff !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 86px !important;
  gap: 12px !important;
  padding: 14px 15px !important;
  border-bottom: 1px solid #e8eef0 !important;
  background: linear-gradient(135deg, #f1faf7 0%, #f7fbfc 58%, #edf6fb 100%) !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__profile {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  gap: 11px !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__avatar {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 48px !important;
  width: 48px !important;
  height: 48px !important;
  border: 3px solid #fff !important;
  border-radius: 15px !important;
  background: linear-gradient(145deg, #0e8f75, #08708b) !important;
  box-shadow: 0 6px 16px rgba(14, 143, 117, .18) !important;
  color: #fff !important;
  overflow: visible !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__photo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 12px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__initial {
  font-size: 17px !important;
  font-weight: 600 !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__online {
  position: absolute !important;
  right: -3px !important;
  bottom: -3px !important;
  display: block !important;
  width: 13px !important;
  height: 13px !important;
  border: 3px solid #fff !important;
  border-radius: 50% !important;
  background: #15a878 !important;
  box-shadow: 0 2px 5px rgba(15, 118, 89, .22) !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__identity {
  display: flex !important;
  min-width: 0 !important;
  flex-direction: column !important;
  gap: 1px !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__eyebrow {
  color: #0b806b !important;
  font-size: 8.5px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__identity .panel-setting-title {
  display: block !important;
  max-width: 238px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #172733 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__identity small {
  display: block !important;
  max-width: 238px !important;
  overflow: hidden !important;
  color: #667985 !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__close,
html body:not(.login-bg) .iw-account-menu .panel-setting-heading .iw-account-menu__close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 30px !important;
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #d9e5e8 !important;
  border-radius: 9px !important;
  background: rgba(255, 255, 255, .82) !important;
  color: #667985 !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__close:hover {
  border-color: #beddd6 !important;
  background: #fff !important;
  color: #08745f !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-panel {
  display: block !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 10px !important;
  background: #f8fafb !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__section {
  display: grid !important;
  gap: 3px !important;
  margin: 0 0 9px !important;
  padding: 7px !important;
  border: 1px solid #e5ecef !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(23, 39, 51, .025) !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__section:last-child { margin-bottom: 0 !important; }

html body:not(.login-bg) .iw-account-menu .iw-account-panel-kicker {
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 3px 7px 6px !important;
  color: #71818c !important;
  font-size: 8.5px !important;
  font-weight: 700 !important;
  letter-spacing: .075em !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-panel-link {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) 10px !important;
  align-items: center !important;
  gap: 9px !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 7px 8px !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #263946 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-panel-link:hover,
html body:not(.login-bg) .iw-account-menu .iw-account-panel-link.active {
  border-color: #cfe6e0 !important;
  background: #f1f9f7 !important;
  color: #075f50 !important;
  text-decoration: none !important;
  transform: translateX(2px) !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-panel-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-panel-icon.is-teal { background: #e4f6f1 !important; color: #08745f !important; }
html body:not(.login-bg) .iw-account-menu .iw-account-panel-icon.is-blue { background: #e9f3fc !important; color: #2472a4 !important; }
html body:not(.login-bg) .iw-account-menu .iw-account-panel-icon.is-violet { background: #f1edfb !important; color: #7257aa !important; }
html body:not(.login-bg) .iw-account-menu .iw-account-panel-icon.is-amber { background: #fff3df !important; color: #b96d0c !important; }
html body:not(.login-bg) .iw-account-menu .iw-account-panel-icon.is-sky { background: #e8f4fa !important; color: #277d9a !important; }
html body:not(.login-bg) .iw-account-menu .iw-account-panel-icon.is-green { background: #e6f7ed !important; color: #15805b !important; }

html body:not(.login-bg) .iw-account-menu .iw-account-panel-copy {
  display: flex !important;
  min-width: 0 !important;
  flex-direction: column !important;
  gap: 2px !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-panel-copy strong {
  overflow: hidden !important;
  color: inherit !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-panel-copy small {
  overflow: hidden !important;
  color: #7a8993 !important;
  font-size: 9.5px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-panel-arrow {
  color: #a4b0b7 !important;
  font-size: 8px !important;
  transition: transform .15s ease, color .15s ease !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-panel-link:hover .iw-account-panel-arrow,
html body:not(.login-bg) .iw-account-menu .iw-account-panel-link.active .iw-account-panel-arrow {
  color: #0e8f75 !important;
  transform: translateX(2px) !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 11px 12px !important;
  border-top: 1px solid #e6edef !important;
  background: #fff !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__footer > span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #70808a !important;
  font-size: 9.5px !important;
  font-weight: 500 !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__footer > span i { color: #15a878 !important; }

html body:not(.login-bg) .iw-account-menu .iw-account-menu__logout {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 34px !important;
  padding: 7px 10px !important;
  border: 1px solid #efcfd1 !important;
  border-radius: 8px !important;
  background: #fff8f8 !important;
  color: #b33a43 !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-menu__logout:hover {
  border-color: #e8b8bd !important;
  background: #fff0f1 !important;
  color: #9c2934 !important;
}

html body:not(.login-bg) .iw-account-menu .iw-account-panel-native { display: none !important; }

@media (max-width: 575px) {
  html body:not(.login-bg) .menu-myaccount-clientx.iw-account-menu,
  html body:not(.login-bg) .menu-myaccount-clientx.iw-account-menu.left-open-myaccount-sec,
  html body:not(.login-bg) .menu-myaccount-clientx.iw-account-menu:not(.left-open-myaccount-sec) {
    top: 62px !important;
    right: 8px !important;
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 70px) !important;
  }

  html body:not(.login-bg) .iw-account-menu .iw-account-menu__inner { max-height: calc(100dvh - 74px) !important; }
  html body:not(.login-bg) .iw-account-menu .iw-account-menu__header { min-height: 78px !important; padding: 11px 12px !important; }
  html body:not(.login-bg) .iw-account-menu .iw-account-menu__avatar { flex-basis: 43px !important; width: 43px !important; height: 43px !important; border-radius: 13px !important; }
  html body:not(.login-bg) .iw-account-menu .iw-account-menu__photo { border-radius: 10px !important; }
  html body:not(.login-bg) .iw-account-menu .iw-account-menu__identity .panel-setting-title,
  html body:not(.login-bg) .iw-account-menu .iw-account-menu__identity small { max-width: calc(100vw - 128px) !important; }
  html body:not(.login-bg) .iw-account-menu .iw-account-panel-link { min-height: 47px !important; }
}
