.aea-top .aea-bell[data-aea-tb],
.aea-top .aea-user[data-aea-tb] {
  cursor: pointer;
}
.aea-top .aea-user[data-aea-tb]:focus-visible {
  outline: 2px solid #0f5e59;
  outline-offset: 2px;
}

.aea-tb-panel {
  position: fixed;
  z-index: 1200;
  width: 340px;
  max-width: calc(100vw - 24px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  color: #142033;
  font-size: 13px;
  overflow: hidden;
}
.aea-tb-profile {
  width: 260px;
  padding-bottom: 6px;
}

.aea-tb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
}
.aea-tb-head strong {
  font-size: 14px;
}
.aea-tb-link {
  border: 0;
  background: none;
  color: #0f5e59;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.aea-tb-empty {
  margin: 0;
  padding: 22px 14px;
  color: #64748b;
  text-align: center;
}

.aea-tb-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  max-height: 360px;
  overflow-y: auto;
}
.aea-tb-item button {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
  border: 0;
  background: none;
  padding: 10px 14px;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.aea-tb-item button:hover {
  background: #f8fafc;
}
.aea-tb-item.is-unread .aea-tb-text {
  font-weight: 600;
}
.aea-tb-dot {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: #3b82f6;
}
.aea-tb-item.tone-danger .aea-tb-dot { background: #dc2626; }
.aea-tb-item.tone-warn .aea-tb-dot { background: #d97706; }
.aea-tb-item:not(.is-unread) .aea-tb-dot { opacity: 0.35; }

.aea-tb-who {
  display: grid;
  gap: 2px;
  padding: 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 4px;
}
.aea-tb-who strong {
  font-size: 14px;
}
.aea-tb-who small {
  color: #64748b;
}
.aea-tb-mail {
  word-break: break-all;
}

.aea-tb-menu-item {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  padding: 9px 14px;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.aea-tb-menu-item:hover {
  background: #f8fafc;
}
.aea-tb-menu-item.is-danger {
  color: #b91c1c;
}
.aea-tb-sep {
  border: 0;
  border-top: 1px solid #f1f5f9;
  margin: 4px 0;
}
