/* V50.6 · aviso global pequeño y aislado del CSS histórico de comunicaciones. */
.nexa-message-toast{
  position:fixed;
  top:88px;
  right:16px;
  bottom:auto;
  left:auto;
  z-index:99999;
  width:min(326px,calc(100vw - 24px));
  height:auto;
  max-height:min(360px,calc(100dvh - 108px));
  padding:13px 14px 12px;
  overflow:hidden;
  border:1px solid rgba(91,157,211,.48);
  border-radius:17px;
  color:#f7fbff;
  background:
    radial-gradient(circle at 100% 0,rgba(37,99,235,.28),transparent 38%),
    linear-gradient(145deg,#06162a,#0b3158);
  box-shadow:0 18px 44px rgba(2,10,25,.32);
  animation:nexa-message-in .28s cubic-bezier(.16,1,.3,1);
}
.nexa-message-toast[hidden]{display:none!important}
.nexa-message-toast-close{
  position:absolute;
  top:8px;
  right:8px;
  width:32px;
  height:32px;
  padding:0;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.16);
  border-radius:10px;
  color:#fff;
  background:rgba(255,255,255,.09);
  font-size:1.2rem;
  line-height:1;
  cursor:pointer;
}
.nexa-message-toast-close:hover,.nexa-message-toast-close:focus-visible{background:rgba(255,255,255,.18)}
.nexa-message-toast-kicker{
  min-height:24px;
  padding-right:38px;
  display:flex;
  align-items:center;
  gap:8px;
  color:#9ef6e6;
  font-size:.61rem;
  font-weight:900;
  letter-spacing:.085em;
  text-transform:uppercase;
}
.nexa-message-toast-kicker i{
  width:8px;
  height:8px;
  flex:0 0 8px;
  border-radius:50%;
  background:#34d399;
  box-shadow:0 0 0 4px rgba(52,211,153,.14);
}
.nexa-message-toast-meta{
  margin-top:7px;
  display:flex;
  align-items:center;
  gap:6px;
  padding-right:34px;
}
.nexa-message-toast-meta span{
  min-width:0;
  padding:.24rem .45rem;
  overflow:hidden;
  border:1px solid rgba(176,205,234,.24);
  border-radius:999px;
  color:#dcecff;
  background:rgba(255,255,255,.08);
  font-size:.57rem;
  font-weight:900;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.nexa-message-toast-meta .priority-urgente{color:#ffd4d4;border-color:rgba(248,113,113,.45);background:rgba(220,38,38,.2)}
.nexa-message-toast-meta .priority-alta{color:#ffe0aa;border-color:rgba(251,191,36,.4);background:rgba(217,119,6,.18)}
.nexa-message-toast-from{
  margin-top:8px;
  overflow:hidden;
  color:#8fb3d8;
  font-size:.62rem;
  font-weight:820;
  text-overflow:ellipsis;
  text-transform:uppercase;
  white-space:nowrap;
}
.nexa-message-toast-title{
  display:block;
  margin:3px 32px 2px 0;
  overflow:hidden;
  color:#fff;
  font-size:.93rem;
  font-weight:900;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.nexa-message-toast-text{
  margin:0;
  overflow:hidden;
  color:#c7d9eb;
  font-size:.75rem;
  line-height:1.42;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.nexa-message-toast-time{
  display:block;
  margin-top:5px;
  color:#7f9eba;
  font-size:.58rem;
}
.nexa-message-toast-footer{
  margin-top:9px;
  padding-top:8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  border-top:1px solid rgba(177,207,235,.14);
}
.nexa-message-toast-footer>span{color:#91acc4;font-size:.61rem;font-weight:800}
.nexa-message-toast-view{
  min-width:70px;
  min-height:36px;
  padding:.38rem .72rem;
  border:1px solid rgba(121,177,255,.38);
  border-radius:11px;
  color:#fff;
  background:linear-gradient(180deg,#3378ed,#2059cc);
  box-shadow:0 7px 16px rgba(37,99,235,.2);
  font-size:.7rem;
  font-weight:900;
  cursor:pointer;
}
.nexa-message-toast-view:disabled{opacity:.6;cursor:wait}
.nexa-message-toast-view:focus-visible,.nexa-message-toast-close:focus-visible{outline:3px solid rgba(125,211,252,.5);outline-offset:2px}
@keyframes nexa-message-in{from{opacity:0;transform:translate3d(16px,-8px,0) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:767px){
  .nexa-message-toast{
    top:74px;
    right:10px;
    bottom:auto;
    left:auto;
    width:min(318px,calc(100vw - 20px));
    max-height:calc(100dvh - 88px);
  }
  .nexa-message-toast-close{width:44px;height:44px;top:6px;right:6px}
  .nexa-message-toast-kicker,.nexa-message-toast-meta{padding-right:46px}
  .nexa-message-toast-view{min-height:44px}
}
@media(prefers-reduced-motion:reduce){.nexa-message-toast{animation:none}}
@media print{.nexa-message-toast{display:none!important}}

.mobile-message-mark-read,
.mobile-message-read-state{
  min-height:38px;
  margin-top:.65rem;
  padding:.45rem .72rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  font-size:.7rem;
  font-weight:850;
}

.mobile-message-mark-read{
  border:1px solid #78aee7;
  color:#155da5;
  background:#f4f9ff;
}

.mobile-message-mark-read:disabled{opacity:.62;cursor:wait}
.mobile-message-read-state{
  color:#137555;
  border:1px solid #a9dccb;
  background:#eefaf6;
}

@media(max-width:767px){
  .mobile-message-mark-read,
  .mobile-message-read-state{min-height:44px}
}
