/* ImaginaWeb — cabecera de cliente y centro de correo, capa final. */

/* La cabecera usa un solo contenedor; los accesos no son tarjetas separadas. */
@media (min-width: 992px) {
  html body.iw-panel-light nav#iw-main-header.iw-header {
    box-sizing: border-box !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    border: 1px solid #e7eaee !important;
    border-top: 4px solid #0e8f75 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 8px 28px rgba(28, 43, 57, .06) !important;
  }

  html body.iw-panel-light nav#iw-main-header.iw-header .iw-header-inner {
    height: 53px !important;
    min-height: 53px !important;
    max-height: 53px !important;
    gap: 18px !important;
    padding: 0 20px !important;
  }

  html body.iw-panel-light nav#iw-main-header.iw-header .iw-shell-heading-zone > .iw-section-header,
  html body.iw-panel-light nav#iw-main-header.iw-header .iw-shell-heading-zone > .iw-page-header {
    gap: 7px !important;
  }

  html body.iw-panel-light nav#iw-main-header.iw-header .iw-section-header__icon {
    flex: 0 0 14px !important;
    width: 14px !important;
    min-width: 14px !important;
    height: 14px !important;
    min-height: 14px !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: #0e8f75 !important;
    box-shadow: 0 3px 8px rgba(14, 143, 117, .18) !important;
  }

  html body.iw-panel-light nav#iw-main-header.iw-header .iw-section-header__icon i { display: none !important; }

  html body.iw-panel-light nav#iw-main-header.iw-header .iw-section-header__eyebrow,
  html body.iw-panel-light nav#iw-main-header.iw-header .iw-shell-heading-zone .iw-breadcrumb {
    color: #0b6e5a !important;
    -webkit-text-fill-color: #0b6e5a !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .04em !important;
  }

  html body.iw-panel-light nav#iw-main-header.iw-header .iw-section-header__title,
  html body.iw-panel-light nav#iw-main-header.iw-header .iw-shell-heading-zone .iw-page-title {
    color: #1c2b39 !important;
    -webkit-text-fill-color: #1c2b39 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
  }

  html body.iw-panel-light nav#iw-main-header.iw-header .iw-shell-heading-zone .iw-section-header__actions .btn,
  html body.iw-panel-light nav#iw-main-header.iw-header .iw-shell-heading-zone .iw-page-actions .btn {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 11px !important;
    border: 1px solid #0b7f69 !important;
    border-radius: 8px !important;
    background: #0e8f75 !important;
    color: #fff !important;
    font-size: 10.5px !important;
    font-weight: 650 !important;
    line-height: 32px !important;
    box-shadow: 0 5px 14px rgba(14, 143, 117, .16) !important;
  }

  html body.iw-panel-light nav#iw-main-header.iw-header .iw-shell-heading-zone .iw-section-header__actions .btn:hover,
  html body.iw-panel-light nav#iw-main-header.iw-header .iw-shell-heading-zone .iw-page-actions .btn:hover {
    background: #0b6e5a !important;
    box-shadow: 0 7px 18px rgba(11, 110, 90, .22) !important;
    transform: translateY(-1px) !important;
  }
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  min-width: 0 !important;
  margin-left: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* Detalle de servicio: mismos controles del header, con identidad cPanel. */
html body.iw-panel-light nav#iw-main-header.iw-header .iw-shell-heading-zone
  .iw-section-header--service-detail .iw-section-panel-btn {
  gap: 6px !important;
  border-color: #ff6c2c !important;
  background: #ff6c2c !important;
  color: #fff !important;
}
html body.iw-panel-light nav#iw-main-header.iw-header .iw-shell-heading-zone
  .iw-section-header--service-detail .iw-section-panel-btn:hover {
  border-color: #e85618 !important;
  background: #e85618 !important;
  color: #fff !important;
}
html body.iw-panel-light nav#iw-main-header.iw-header .iw-shell-heading-zone
  .iw-section-header--service-detail .iw-section-panel-btn svg {
  display: block !important;
  flex: 0 0 13px !important;
  width: 13px !important;
  height: 13px !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions::before {
  display: none !important;
  content: none !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-btn,
html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-store,
html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-services,
html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-mail,
html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-notifications {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 30px !important;
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: #566572 !important;
  box-shadow: none !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  overflow: visible !important;
  transition: color .16s ease, background-color .16s ease, transform .16s ease !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-btn i,
html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-store i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  color: inherit !important;
  font-size: 16px !important;
  line-height: 20px !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.65 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-btn:hover,
html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-btn:focus,
html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-btn[aria-expanded="true"] {
  border: 0 !important;
  background: #eef6f4 !important;
  color: #0e8f75 !important;
  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-mail:hover,
html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-mail[aria-expanded="true"] {
  background: #eaf6ff !important;
  color: #1478a8 !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-notifications:hover,
html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-notifications[aria-expanded="true"] {
  background: #fff6e8 !important;
  color: #c87916 !important;
}

/* La tienda comparte el mismo tratamiento visual que los demás accesos. */
html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-store {
  flex-basis: 30px !important;
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  border: 0 !important;
  background: transparent !important;
  color: #566572 !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-store:hover,
html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-store:focus {
  background: #eef6f4 !important;
  color: #08745f !important;
  transform: none !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-account {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 4px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: #1c2b39 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  font-weight: 500 !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-account::before {
  display: none !important;
  content: none !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-account:hover,
html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-account:focus {
  background: #eef6f4 !important;
  color: #08745f !important;
  outline: none !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-brand-avatar {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 28px !important;
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #eef1f4 !important;
  box-shadow: none !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-brand-avatar img,
html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-profile-photo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  background-position: center !important;
  background-size: cover !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-account-label {
  display: inline-block !important;
  color: inherit !important;
  font-size: 10.5px !important;
  font-weight: 650 !important;
  white-space: nowrap !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-badge {
  position: absolute !important;
  top: -3px !important;
  right: -5px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 14px !important;
  height: 14px !important;
  min-height: 14px !important;
  padding: 0 3px !important;
  border: 1px solid #fff !important;
  border-radius: 999px !important;
  background: #e0483f !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  line-height: 11px !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-sync-dot {
  position: absolute;
  top: -3px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f59e0b;
  color: #fff;
  box-shadow: 0 3px 8px rgba(245, 158, 11, .26);
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-sync-dot i {
  width: auto !important;
  height: auto !important;
  font-size: 7px !important;
  line-height: 1 !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-btn:focus-visible,
html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-account:focus-visible {
  outline: 2px solid rgba(14, 143, 117, .32) !important;
  outline-offset: 3px !important;
}

/* Centro de correo tipo bandeja social. */
html body.iw-panel-light .iw-mail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10007;
  visibility: hidden;
  background: rgba(15, 23, 42, .25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}

html body.iw-panel-light .iw-mail-backdrop.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

html body.iw-panel-light .iw-mail-center {
  position: fixed;
  top: var(--iw-mail-panel-top, 76px);
  right: auto;
  left: var(--iw-mail-panel-left, 50%);
  z-index: 10008;
  display: flex;
  visibility: hidden;
  /* Panel abierto: +20% de ancho y +25% de alto respecto a 396 x 570 px. */
  width: min(475px, calc(100vw - 16px));
  height: min(713px, calc(100dvh - var(--iw-mail-panel-top, 76px) - 12px));
  max-height: calc(100dvh - var(--iw-mail-panel-top, 76px) - 12px);
  flex-direction: column;
  border: 1px solid #dfe6eb;
  border-top: 4px solid #0e8f75;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(23, 32, 51, .2);
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(.985);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

html body.iw-panel-light .iw-mail-center.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

html body.iw-panel-light .iw-mail-center__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px 9px;
  border-bottom: 1px solid #edf0f2;
  background: #fff;
}

html body.iw-panel-light .iw-mail-center__identity {
  display: flex;
  align-items: center;
  gap: 9px;
}

html body.iw-panel-light .iw-mail-center__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(145deg, #e5f8f3, #edf7ff);
  color: #08745f;
  font-size: 13px;
}

html body.iw-panel-light .iw-mail-center__eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #0b806b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

html body.iw-panel-light .iw-mail-center__head h4 {
  margin: 0;
  color: #1c2b39;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.2;
}

html body.iw-panel-light .iw-mail-center__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #f3f6f8;
  color: #687583;
  cursor: pointer;
}

html body.iw-panel-light .iw-mail-center__close:hover { background: #e9f4f1; color: #08745f; }

html body.iw-panel-light .iw-mail-center__status {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 29px;
  padding: 5px 12px;
  border-bottom: 1px solid #edf0f2;
  background: #f7f9fa;
  color: #5f6d7a;
  font-size: 9px;
}

html body.iw-panel-light .iw-mail-center__status strong { color: #425160; font-size: 9.5px; white-space: nowrap; }
html body.iw-panel-light .iw-mail-center__status span:last-child { overflow: hidden; margin-left: auto; text-overflow: ellipsis; white-space: nowrap; }
html body.iw-panel-light .iw-mail-center__status-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #94a3b0; }
html body.iw-panel-light .iw-mail-center__status.is-ok .iw-mail-center__status-dot { background: #10a779; box-shadow: 0 0 0 4px rgba(16, 167, 121, .1); }
html body.iw-panel-light .iw-mail-center__status.is-warn .iw-mail-center__status-dot { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, .1); }

html body.iw-panel-light .iw-mail-center__body {
  display: flex;
  flex: 1 1 auto;
  min-height: 180px;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}

html body.iw-panel-light .iw-mail-center__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 46px;
  padding: 7px 11px 6px;
  border-bottom: 1px solid #edf1f3;
}

html body.iw-panel-light .iw-mail-center__summary > div { display: flex; flex-direction: column; gap: 2px; }
html body.iw-panel-light .iw-mail-center__summary span { color: #788592; font-size: 8px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
html body.iw-panel-light .iw-mail-center__summary strong { color: #1c2b39; font-size: 11.5px; line-height: 1.15; }
html body.iw-panel-light .iw-mail-center__summary a { flex: 0 0 auto; color: #08745f !important; font-size: 9.5px; font-weight: 750; text-decoration: none !important; }

html body.iw-panel-light .iw-mail-center__filters {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 4px 9px;
  border-bottom: 1px solid #e8eef1;
  background: #f7f9fa;
}

html body.iw-panel-light .iw-mail-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #667582;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

html body.iw-panel-light .iw-mail-filter span {
  display: inline-grid;
  min-width: 16px;
  height: 16px;
  place-items: center;
  padding: 0 4px;
  border-radius: 999px;
  background: #e8edef;
  color: #60707c;
  font-size: 8px;
}

html body.iw-panel-light .iw-mail-filter.is-active {
  border-color: #c6dfdc;
  background: #fff;
  color: #08745f;
  box-shadow: 0 1px 3px rgba(15, 53, 70, .05);
}

html body.iw-panel-light .iw-mail-filter.is-active span { background: #dff5ef; color: #08745f; }

html body.iw-panel-light .iw-mail-list {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
  scrollbar-color: #c1ccd1 transparent;
  scrollbar-width: thin;
}

html body.iw-panel-light .iw-mail-list::-webkit-scrollbar { width: 5px; }
html body.iw-panel-light .iw-mail-list::-webkit-scrollbar-thumb { border-radius: 999px; background: #c1ccd1; }

html body.iw-panel-light .iw-mail-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 58px;
  min-height: 58px;
  gap: 8px;
  padding: 6px 10px;
  border: 0;
  border-bottom: 1px solid #e8eef1;
  border-radius: 0;
  background: #fff;
  color: #1c2b39 !important;
  text-decoration: none !important;
  transition: background-color .15s ease, box-shadow .15s ease;
}

html body.iw-panel-light .iw-mail-item:hover {
  background: #f5f9fa;
  box-shadow: inset 3px 0 0 #9bcbd0;
}

html body.iw-panel-light .iw-mail-item.is-unread {
  background: #f0fbfa;
  box-shadow: inset 3px 0 0 #18a999;
}

html body.iw-panel-light .iw-mail-item.is-unread .iw-mail-item__top strong,
html body.iw-panel-light .iw-mail-item.is-unread .iw-mail-item__copy b { color: #102f3d; font-weight: 800; }

html body.iw-panel-light .iw-mail-item[hidden] { display: none !important; }

html body.iw-panel-light .iw-mail-item__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #dfe8e8;
  border-radius: 9px;
  background: #f3f7f7;
  color: #08745f;
  font-size: 10px;
  font-weight: 800;
}

html body.iw-panel-light .iw-mail-item__copy { display: grid; min-width: 0; grid-template: "top top" auto "subject subject" auto "preview account" auto / minmax(0, 1fr) auto; column-gap: 7px; row-gap: 1px; }
html body.iw-panel-light .iw-mail-item__top { display: flex; grid-area: top; align-items: center; justify-content: space-between; min-width: 0; gap: 8px; }
html body.iw-panel-light .iw-mail-item__top strong { overflow: hidden; color: #344958; font-size: 10.5px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
html body.iw-panel-light .iw-mail-item__top time { flex: 0 0 auto; color: #8997a1; font-size: 8px; font-weight: 500; }
html body.iw-panel-light .iw-mail-item__copy b { grid-area: subject; overflow: hidden; color: #435765; font-size: 10px; font-weight: 550; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
html body.iw-panel-light .iw-mail-item__copy small {
  display: block;
  grid-area: preview;
  overflow: hidden;
  color: #75818d;
  font-size: 8.5px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html body.iw-panel-light .iw-mail-item__copy em { grid-area: account; overflow: hidden; max-width: 105px; color: #0b806b; font-size: 8px; font-style: normal; line-height: 1.15; text-align: right; text-overflow: ellipsis; white-space: nowrap; }

html body.iw-panel-light .iw-mail-filter-empty {
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 22px;
  color: #74838e;
  font-size: 10px;
  text-align: center;
}

html body.iw-panel-light .iw-mail-list__empty,
html body.iw-panel-light .iw-mail-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 245px;
  flex-direction: column;
  gap: 8px;
  padding: 30px;
  color: #73808d;
  text-align: center;
}

html body.iw-panel-light .iw-mail-list__empty i { margin-bottom: 4px; color: #10a779; font-size: 32px; }
html body.iw-panel-light .iw-mail-list__empty strong { color: #1c2b39; font-size: 14px; }
html body.iw-panel-light .iw-mail-list__empty span { font-size: 11px; }
html body.iw-panel-light .iw-mail-empty__art { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px; margin-bottom: 4px; border-radius: 20px; background: linear-gradient(145deg, #e3f7f1, #e8f4fc); color: #08745f; font-size: 27px; }
html body.iw-panel-light .iw-mail-empty__art i:last-child { position: absolute; right: -3px; bottom: -3px; display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; border: 3px solid #fbfcfd; border-radius: 50%; background: #0e8f75; color: #fff; font-size: 9px; }
html body.iw-panel-light .iw-mail-empty--warning .iw-mail-empty__art { background: #fff4e4; color: #c87916; }
html body.iw-panel-light .iw-mail-empty--warning .iw-mail-empty__art i:last-child { background: #f59e0b; }
html body.iw-panel-light .iw-mail-empty h5 { margin: 0; color: #1c2b39; font-size: 16px !important; font-weight: 750 !important; }
html body.iw-panel-light .iw-mail-empty p { max-width: 330px; margin: 0 0 5px; color: #6c7986; font-size: 11.5px; line-height: 1.55; }
html body.iw-panel-light .iw-mail-empty__benefits {
  display: grid;
  width: min(100%, 330px);
  gap: 6px;
  margin: 2px 0 7px;
  padding: 0;
  color: #435360;
  font-size: 10.5px;
  line-height: 1.35;
  list-style: none;
  text-align: left;
}
html body.iw-panel-light .iw-mail-empty__benefits li { display: flex; align-items: flex-start; gap: 7px; }
html body.iw-panel-light .iw-mail-empty__benefits li > span {
  display: inline-grid;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  place-items: center;
  border-radius: 50%;
  background: #e5f6f1;
  color: #08745f;
  font-size: 9px;
  font-weight: 900;
}
html body.iw-panel-light .iw-mail-primary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 8px 14px; border-radius: 8px; background: #0e8f75; color: #fff !important; font-size: 11.5px; font-weight: 750; text-decoration: none !important; box-shadow: 0 6px 16px rgba(14, 143, 117, .16); }
html body.iw-panel-light .iw-mail-primary:hover { background: #0b6e5a; }

/* Aísla los iconos de esta invitación de las reglas genéricas de estados vacíos. */
html body:not(.login-bg).iw-panel-light .iw-mail-empty .iw-mail-empty__art > i:first-child {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: 27px !important;
}
html body:not(.login-bg).iw-panel-light .iw-mail-empty .iw-mail-empty__art > i:last-child {
  display: inline-flex !important;
  width: 25px !important;
  height: 25px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: #0e8f75 !important;
  color: #fff !important;
  font-size: 9px !important;
}
html body:not(.login-bg).iw-panel-light .iw-mail-empty .iw-mail-primary > i {
  display: inline-grid !important;
  width: 25px !important;
  height: 25px !important;
  margin: 0 !important;
  place-items: center !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, .15) !important;
  color: #fff !important;
  font-size: 10px !important;
}

html body.iw-panel-light .iw-mail-center__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 7px 10px;
  border-top: 1px solid #e8edf0;
  background: #fff;
}

html body.iw-panel-light .iw-mail-center__footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid #dce3e8;
  border-radius: 8px;
  background: #fff;
  color: #435160 !important;
  font-size: 9.5px;
  font-weight: 700;
  text-decoration: none !important;
}

html body.iw-panel-light .iw-mail-center__footer a.is-primary { border-color: #0e8f75; background: #0e8f75; color: #fff !important; }

/* Compositor global: conserva el mismo lenguaje y proporciones de ImaginaMail. */
html body.iw-panel-light .iw-global-compose {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: none;
  align-items: flex-end;
  justify-content: flex-end;
  box-sizing: border-box;
  padding: 12px;
  background: rgba(4, 24, 37, .36);
}

html body.iw-panel-light .iw-global-compose.is-open { display: flex; }
html body.iw-panel-light.iw-compose-open { overflow: hidden !important; }

html body.iw-panel-light .iw-global-compose__dialog {
  width: min(590px, calc(100vw - 24px));
  height: min(720px, calc(100dvh - 24px));
  min-height: min(610px, calc(100dvh - 24px));
  overflow: hidden;
  border: 1px solid #d8e2e7;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 26px 72px rgba(5, 30, 45, .28);
  animation: iw-compose-rise .18s ease-out;
}

@keyframes iw-compose-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

html body.iw-panel-light .iw-global-compose__dialog form {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex-direction: column;
}

html body.iw-panel-light .iw-global-compose__head {
  position: relative;
  display: flex;
  flex: 0 0 54px;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: 54px;
  padding: 8px 44px 8px 14px;
  border-bottom: 1px solid #dfe8ec;
  background: #f5f8f9;
}

html body.iw-panel-light .iw-global-compose__mark {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 8px;
  background: #dff4ef;
  color: #08745f;
  font-size: 12px;
}

html body.iw-panel-light .iw-global-compose__head div { min-width: 0; }
html body.iw-panel-light .iw-global-compose__head h4 { margin: 0; color: #102f42; font-size: 14px !important; font-weight: 750 !important; line-height: 1.2; }
html body.iw-panel-light .iw-global-compose__head p { margin: 3px 0 0; color: #607483; font-size: 10.5px; line-height: 1.25; }

html body.iw-panel-light .iw-global-compose__close {
  position: absolute;
  top: 11px;
  right: 11px;
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #617380;
  cursor: pointer;
}

html body.iw-panel-light .iw-global-compose__close:hover { background: #e5eeee; color: #08745f; }

html body.iw-panel-light .iw-global-compose__content {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
}

html body.iw-panel-light .iw-global-compose__field {
  display: grid;
  min-height: 40px;
  flex: 0 0 auto;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  box-sizing: border-box;
  margin: 0;
  padding: 2px 14px;
  border-bottom: 1px solid #edf1f4;
  color: #536976;
}

html body.iw-panel-light .iw-global-compose__field > span,
html body.iw-panel-light .iw-global-compose__attachments > span,
html body.iw-panel-light .iw-global-compose__editor-head > span {
  color: #536976;
  font-size: 11px;
  font-weight: 700;
}

html body.iw-panel-light .iw-global-compose__field input,
html body.iw-panel-light .iw-global-compose__field select {
  width: 100%;
  height: 34px;
  min-height: 34px;
  box-sizing: border-box;
  padding: 4px 6px;
  border: 0;
  border-radius: 6px;
  outline: none;
  background: transparent;
  color: #203746;
  font: inherit;
  font-size: 13px;
}

html body.iw-panel-light .iw-global-compose__field input:focus,
html body.iw-panel-light .iw-global-compose__field select:focus { background: #f3f9f8; box-shadow: inset 0 0 0 1px #b9ddd6; }

html body.iw-panel-light .iw-global-compose__field--recipient {
  grid-template-columns: 78px minmax(0, 1fr) auto;
  grid-template-rows: 34px 14px;
  min-height: 52px;
}

html body.iw-panel-light .iw-global-compose__field--recipient > span { grid-column: 1; grid-row: 1; }
html body.iw-panel-light .iw-global-compose__field--recipient > input { grid-column: 2; grid-row: 1; }
html body.iw-panel-light .iw-global-compose__field--recipient > small { grid-column: 2 / 4; grid-row: 2; color: #84919a; font-size: 9px; line-height: 12px; }

html body.iw-panel-light .iw-global-compose__recipient-tools { display: flex; grid-column: 3; grid-row: 1; gap: 3px; }
html body.iw-panel-light .iw-global-compose__recipient-tools button,
html body.iw-panel-light .iw-global-compose__modes button {
  padding: 3px 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #60808a;
  font: inherit;
  font-size: 9.5px;
  font-weight: 750;
  cursor: pointer;
}

html body.iw-panel-light .iw-global-compose__recipient-tools button:hover,
html body.iw-panel-light .iw-global-compose__recipient-tools button.is-active,
html body.iw-panel-light .iw-global-compose__modes button.is-active { background: #e7f5f2; color: #08745f; }
html body.iw-panel-light .iw-global-compose__optional.is-collapsed { display: none; }

html body.iw-panel-light .iw-global-compose__editor-wrap {
  display: flex;
  flex: 1 0 285px;
  min-height: 285px;
  flex-direction: column;
  border-bottom: 1px solid #edf1f4;
}

html body.iw-panel-light .iw-global-compose__editor-head {
  display: flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid #edf1f4;
}

html body.iw-panel-light .iw-global-compose__modes { display: inline-flex; gap: 2px; }

html body.iw-panel-light .iw-global-compose__toolbar {
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  gap: 3px;
  padding: 3px 10px;
  border-bottom: 1px solid #edf1f4;
  background: #fbfcfd;
}

html body.iw-panel-light .iw-global-compose__toolbar button {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #49616f;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

html body.iw-panel-light .iw-global-compose__toolbar button:hover { border-color: #cadeda; background: #edf7f5; color: #08745f; }
html body.iw-panel-light .iw-global-compose__toolbar > span { width: 1px; height: 20px; margin: 0 3px; background: #dce5e9; }

html body.iw-panel-light .iw-global-compose__editor,
html body.iw-panel-light .iw-global-compose__plain {
  flex: 1 1 auto;
  width: 100%;
  min-height: 175px;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 0;
  outline: none;
  background: #fff;
  color: #243b49;
  font: inherit;
  font-size: 13px;
  line-height: 1.55;
  resize: none;
  overflow-y: auto;
}

html body.iw-panel-light .iw-global-compose__editor:empty::before { color: #9aa7ae; content: attr(data-placeholder); pointer-events: none; }
html body.iw-panel-light .iw-global-compose__plain[hidden],
html body.iw-panel-light .iw-global-compose__editor[hidden] { display: none !important; }

html body.iw-panel-light .iw-global-compose__snippets {
  display: flex;
  flex: 0 0 32px;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-top: 1px solid #edf1f4;
  overflow-x: auto;
}

html body.iw-panel-light .iw-global-compose__snippets button {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid #dce6e8;
  border-radius: 999px;
  background: #fff;
  color: #55707c;
  font: inherit;
  font-size: 9px;
  font-weight: 650;
  cursor: pointer;
}

html body.iw-panel-light .iw-global-compose__snippets button:hover { border-color: #b9dcd5; background: #eef8f6; color: #08745f; }

html body.iw-panel-light .iw-global-compose__attachments {
  display: grid;
  min-height: 62px;
  flex: 0 0 auto;
  grid-template-columns: 78px minmax(0, 1fr);
  grid-template-rows: 34px auto;
  align-items: center;
  box-sizing: border-box;
  padding: 3px 14px 6px;
  border-bottom: 1px solid #edf1f4;
}

html body.iw-panel-light .iw-global-compose__attachments > label {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  padding: 4px 9px;
  border: 1px dashed #b8cbd1;
  border-radius: 7px;
  background: #f8fbfc;
  color: #45616e;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

html body.iw-panel-light .iw-global-compose__attachments input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
html body.iw-panel-light .iw-global-compose__attachments > small { grid-column: 2; overflow: hidden; color: #84919a; font-size: 9px; line-height: 13px; text-overflow: ellipsis; white-space: nowrap; }

html body.iw-panel-light .iw-global-compose__feedback { display: none; flex: 0 0 auto; padding: 6px 14px; font-size: 10px; font-weight: 650; }
html body.iw-panel-light .iw-global-compose__feedback.is-error { display: block; background: #fff2f2; color: #b42318; }
html body.iw-panel-light .iw-global-compose__feedback.is-success { display: block; background: #eaf8f4; color: #08745f; }

html body.iw-panel-light .iw-global-compose__footer {
  display: flex;
  min-height: 50px;
  flex: 0 0 50px;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 7px 12px;
  border-top: 1px solid #dfe8ec;
  background: #fff;
}

html body.iw-panel-light .iw-global-compose__footer > span { color: #74848e; font-size: 9.5px; }
html body.iw-panel-light .iw-global-compose__footer > div { display: flex; gap: 7px; }
html body.iw-panel-light .iw-global-compose__footer button { min-height: 34px; padding: 6px 13px; border-radius: 8px; font: inherit; font-size: 11px; font-weight: 750; cursor: pointer; }
html body.iw-panel-light .iw-global-compose__clear { border: 1px solid #dce4e8; background: #fff; color: #536573; }
html body.iw-panel-light .iw-global-compose__send { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #0e8f75; background: #0e8f75; color: #fff; }
html body.iw-panel-light .iw-global-compose__send:hover { background: #0b7764; }
html body.iw-panel-light .iw-global-compose__send:disabled { opacity: .68; cursor: wait; }

html body.iw-panel-light .iw-mail-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 10120;
  display: block;
  width: min(390px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid #bfe4df;
  border-radius: 15px;
  background: linear-gradient(135deg, #fff 0%, #f7fcfb 100%);
  box-shadow: 0 18px 50px rgba(15, 47, 61, .2), 0 2px 8px rgba(15, 47, 61, .08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(.98);
  transition: opacity .22s ease, transform .22s ease;
}

html body.iw-panel-light .iw-mail-toast.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
html body.iw-panel-light .iw-mail-toast__link { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 72px; padding: 11px 42px 11px 11px; color: inherit; text-decoration: none; }
html body.iw-panel-light .iw-mail-toast__link:hover { color: inherit; text-decoration: none; background: rgba(229, 247, 243, .45); }
html body.iw-panel-light .iw-mail-toast__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(145deg, #dff7f2, #edf9f7); color: #08745f; font-size: 15px; font-weight: 900; box-shadow: inset 0 0 0 1px #c7e9e2; }
html body.iw-panel-light .iw-mail-toast__copy { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
html body.iw-panel-light .iw-mail-toast small { color: #0b806b; font-size: 8.5px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
html body.iw-panel-light .iw-mail-toast strong { overflow: hidden; color: #1c2b39; font-size: 12px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
html body.iw-panel-light .iw-mail-toast em { overflow: hidden; color: #6b7785; font-size: 10.5px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
html body.iw-panel-light .iw-mail-toast__action { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 9px; border: 1px solid #c9e7e1; border-radius: 8px; background: #eef9f7; color: #08745f; font-size: 9.5px; font-weight: 850; white-space: nowrap; }
html body.iw-panel-light .iw-mail-toast__action i { font-size: 7px; }
html body.iw-panel-light .iw-mail-toast__close { position: absolute; top: 7px; right: 7px; display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #92a1a8; font-size: 9px; cursor: pointer; }
html body.iw-panel-light .iw-mail-toast__close:hover { background: #edf4f3; color: #4c626c; }
html body.iw-panel-light .iw-mail-toast__progress { position: absolute; right: 0; bottom: 0; left: 0; display: block; height: 3px; background: linear-gradient(90deg, #0e8f75, #39bda4); transform-origin: left center; }
html body.iw-panel-light .iw-mail-toast.is-visible .iw-mail-toast__progress { animation: iwMailToastProgress 8.5s linear forwards; }
html body.iw-panel-light .iw-mail-toast.is-success .iw-mail-toast__progress { animation-duration: 5s; }
html body.iw-panel-light .iw-mail-toast.is-success .iw-mail-toast__icon { background: #e7f7ee; color: #15805b; }
html body.iw-panel-light.iw-mail-toast-active .iw-whatsapp-float { bottom: 104px !important; }

@keyframes iwMailToastProgress { from { transform: scaleX(1); } to { transform: scaleX(0); } }

@media (max-width: 991px) {
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions { gap: 5px !important; }
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group { gap: 4px !important; }
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-btn,
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-services,
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-mail,
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-notifications {
    display: inline-flex !important;
    flex-basis: 28px !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
  }
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-store { display: none !important; }
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-account {
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-account-label { display: none !important; }
}

@media (max-width: 700px) {
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group > .iw-hdr-services { display: none !important; }
}

@media (max-width: 760px) {
  html body.iw-panel-light .iw-global-compose { padding: 6px; }
  html body.iw-panel-light .iw-global-compose__dialog {
    width: calc(100vw - 12px);
    max-width: calc(100vw - 12px);
    height: calc(100dvh - 12px);
    min-height: 0;
    max-height: calc(100dvh - 12px);
    border-radius: 9px;
  }
  html body.iw-panel-light .iw-global-compose__field { grid-template-columns: 62px minmax(0, 1fr); padding-right: 10px; padding-left: 10px; }
  html body.iw-panel-light .iw-global-compose__field--recipient { grid-template-columns: 62px minmax(0, 1fr) auto; }
  html body.iw-panel-light .iw-global-compose__attachments { grid-template-columns: 62px minmax(0, 1fr); padding-right: 10px; padding-left: 10px; }
  html body.iw-panel-light .iw-global-compose__editor-wrap { min-height: 240px; flex-basis: 240px; }
  html body.iw-panel-light .iw-global-compose__editor,
  html body.iw-panel-light .iw-global-compose__plain { min-height: 145px; }
}

@media (max-width: 575px) {
  html body.iw-panel-light .iw-mail-center {
    top: var(--iw-mail-panel-top, 62px);
    right: auto;
    left: var(--iw-mail-panel-left, 8px);
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    height: calc(100dvh - var(--iw-mail-panel-top, 62px) - 8px);
    max-height: calc(100dvh - var(--iw-mail-panel-top, 62px) - 8px);
    border: 1px solid #dfe6eb;
    border-top: 4px solid #0e8f75;
    border-radius: 12px;
    transform: translateY(-8px) scale(.985);
  }
  html body.iw-panel-light .iw-mail-center.is-open { transform: translateY(0) scale(1); }
  html body.iw-panel-light .iw-mail-center__body { flex: 1 1 auto; }
  html body.iw-panel-light .iw-mail-toast { right: 10px; bottom: 10px; width: calc(100vw - 20px); }
  html body.iw-panel-light .iw-mail-toast__link { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 9px; min-height: 66px; padding: 9px 37px 9px 9px; }
  html body.iw-panel-light .iw-mail-toast__icon { width: 38px; height: 38px; }
  html body.iw-panel-light.iw-mail-toast-active .iw-whatsapp-float { bottom: 91px !important; }
}

@media (max-width: 390px) {
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions { gap: 5px !important; }
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-hdr-icon-group { gap: 4px !important; }
}

/* Evita que los controles de retroceso aparezcan antes de la limpieza del DOM. */
html body:not(.login-bg) #content a[href^="javascript:history.go(-1)"] { display: none !important; }

/* IW 2026-08-11: sistema de acciones refinado para la ventana de correo. */
html body.iw-panel-light .iw-mail-center a,
html body.iw-panel-light .iw-mail-center button {
  -webkit-tap-highlight-color: transparent;
}

html body.iw-panel-light .iw-mail-center__close {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid #e1e8ec;
  border-radius: 10px;
  background: #fff;
  color: #647481;
  box-shadow: 0 1px 2px rgba(20, 42, 55, .04);
  font-size: 11px;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

html body.iw-panel-light .iw-mail-center__close:hover {
  border-color: #c8ddd9;
  background: #eef8f6;
  color: #08745f;
  box-shadow: 0 4px 12px rgba(14, 143, 117, .1);
  transform: translateY(-1px);
}

html body.iw-panel-light .iw-mail-center__close:active { transform: translateY(0); }

html body.iw-panel-light .iw-mail-center__summary a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid #cce2de;
  border-radius: 9px;
  background: #f2faf8;
  color: #08745f !important;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

html body.iw-panel-light .iw-mail-center__summary a:hover {
  border-color: #a9d3cb;
  background: #e7f6f2;
  box-shadow: 0 4px 12px rgba(14, 143, 117, .1);
  transform: translateY(-1px);
}

html body.iw-panel-light .iw-mail-filter {
  min-height: 30px;
  padding: 0 10px;
  border-color: #e1e8ec;
  border-radius: 9px;
  background: #fff;
  color: #596a77;
  font-size: 9.5px;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

html body.iw-panel-light .iw-mail-filter:hover {
  border-color: #bfd8d3;
  background: #f1f9f7;
  color: #08745f;
  transform: translateY(-1px);
}

html body.iw-panel-light .iw-mail-filter.is-active {
  border-color: #0e8f75;
  background: #0e8f75;
  color: #fff;
  box-shadow: 0 4px 11px rgba(14, 143, 117, .17);
}

html body.iw-panel-light .iw-mail-filter.is-active span {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

html body.iw-panel-light .iw-mail-empty {
  width: 100%;
  flex: 1 1 auto;
  box-sizing: border-box;
}

html body.iw-panel-light .iw-mail-primary {
  min-height: 44px;
  box-sizing: border-box;
  padding: 0 19px;
  border: 1px solid #0b806b;
  border-radius: 11px;
  background: linear-gradient(135deg, #10987d 0%, #08745f 100%);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.01em;
  box-shadow: 0 8px 20px rgba(14, 143, 117, .2), inset 0 1px 0 rgba(255, 255, 255, .16);
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

html body.iw-panel-light .iw-mail-primary i {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, .15);
  font-size: 10px;
}

html body.iw-panel-light .iw-mail-primary:hover {
  border-color: #086754;
  background: linear-gradient(135deg, #0c866e 0%, #086754 100%);
  box-shadow: 0 11px 24px rgba(11, 110, 90, .25), inset 0 1px 0 rgba(255, 255, 255, .16);
  transform: translateY(-1px);
}

html body.iw-panel-light .iw-mail-primary:active { transform: translateY(0); }

html body.iw-panel-light .iw-mail-center__footer {
  gap: 8px;
  padding: 10px 12px;
  background: #fbfcfc;
}

html body.iw-panel-light .iw-mail-center__footer a {
  min-height: 40px;
  flex: 1 1 0;
  box-sizing: border-box;
  gap: 8px;
  padding: 0 13px;
  border-color: #d8e3e6;
  border-radius: 10px;
  background: #fff;
  color: #3d505d !important;
  font-size: 10.5px;
  font-weight: 750;
  box-shadow: 0 1px 2px rgba(20, 42, 55, .03);
  transition: border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

html body.iw-panel-light .iw-mail-center__footer a i {
  display: inline-grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  border-radius: 7px;
  background: #eef5f4;
  color: #08745f;
  font-size: 10px;
}

html body.iw-panel-light .iw-mail-center__footer a:hover {
  border-color: #bcd5d0;
  background: #f2faf8;
  color: #08745f !important;
  box-shadow: 0 5px 14px rgba(20, 80, 68, .09);
  transform: translateY(-1px);
}

html body.iw-panel-light .iw-mail-center__footer a.is-primary {
  border-color: #0b806b;
  background: linear-gradient(135deg, #10987d 0%, #08745f 100%);
  color: #fff !important;
  box-shadow: 0 7px 17px rgba(14, 143, 117, .18);
}

html body.iw-panel-light .iw-mail-center__footer a.is-primary i {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

html body.iw-panel-light .iw-mail-center__footer a.is-primary:hover {
  border-color: #086754;
  background: linear-gradient(135deg, #0c866e 0%, #086754 100%);
  color: #fff !important;
}

html body.iw-panel-light .iw-mail-center a:focus-visible,
html body.iw-panel-light .iw-mail-center button:focus-visible {
  outline: 3px solid rgba(14, 143, 117, .22);
  outline-offset: 2px;
}

@media (max-width: 575px) {
  html body.iw-panel-light .iw-mail-empty { padding-right: 22px; padding-left: 22px; }
  html body.iw-panel-light .iw-mail-primary { width: min(100%, 280px); }
  html body.iw-panel-light .iw-mail-center__footer { padding: 9px 10px; }
  html body.iw-panel-light .iw-mail-center__footer a { min-height: 42px; padding: 0 10px; }
}

.iw-v5-hero-grid.iw-academy-home-grid {
  padding-bottom: 20px !important;
}

/* Lista rápida de hostings dentro de la ventana de correo del header. */
html body.iw-panel-light .iw-mail-hosting-quick {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 11px;
  padding: 17px 18px;
}

html body.iw-panel-light .iw-mail-hosting-quick__title {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

html body.iw-panel-light .iw-mail-hosting-quick__title > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #08745f;
  background: #eaf7f4;
  border-radius: 10px;
  font-size: 14px;
}

html body.iw-panel-light .iw-mail-hosting-quick__title h5 {
  margin: 0;
  color: #223846;
  font-size: 13px;
  font-weight: 800;
}

html body.iw-panel-light .iw-mail-hosting-quick__title p {
  margin: 2px 0 0;
  color: #72818a;
  font-size: 9.5px;
  line-height: 1.35;
}

html body.iw-panel-light .iw-mail-hosting-quick__list {
  display: grid;
  gap: 6px;
  max-height: 235px;
  padding: 1px;
  overflow: auto;
}

html body.iw-panel-light .iw-mail-hosting-quick__list > a {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 51px;
  padding: 8px 10px;
  color: #34505c !important;
  background: #fff;
  border: 1px solid #dce6e8;
  border-radius: 9px;
  text-decoration: none !important;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

html body.iw-panel-light .iw-mail-hosting-quick__list > a:hover {
  color: #0b6f60 !important;
  background: #f0f9f7;
  border-color: #94ccbf;
  box-shadow: 0 4px 12px rgba(17, 104, 88, .07);
}

html body.iw-panel-light .iw-mail-hosting-quick__list > a > span:first-child {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #16836f;
  background: #eaf7f4;
  border-radius: 8px;
  font-size: 11px;
}

html body.iw-panel-light .iw-mail-hosting-quick__list strong,
html body.iw-panel-light .iw-mail-hosting-quick__list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body.iw-panel-light .iw-mail-hosting-quick__list strong { color: inherit; font-size: 10.5px; font-weight: 750; }
html body.iw-panel-light .iw-mail-hosting-quick__list small { margin-top: 2px; color: #7c8b92; font-size: 8.5px; }
html body.iw-panel-light .iw-mail-hosting-quick__list > a > i { color: #8a9ca2; font-size: 8px; }

html body.iw-panel-light .iw-mail-hosting-quick__empty {
  display: grid;
  gap: 3px;
  padding: 17px 12px;
  color: #718188;
  background: #f7faf9;
  border: 1px dashed #cedbdd;
  border-radius: 9px;
  font-size: 9.5px;
  text-align: center;
}

html body.iw-panel-light .iw-mail-hosting-quick__empty strong { color: #38535d; font-size: 10.5px; }
html body.iw-panel-light .iw-mail-hosting-quick > .iw-mail-primary { width: 100%; min-height: 40px; margin-top: auto; font-size: 10.5px; }
