/* ── TS-3 Mention autocomplete dropdown ── */
.ma-dd {
  position: fixed;
  z-index: 9100;
  background: #1a1625;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .65);
  overflow: hidden;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .12) transparent;
}

.ma-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  transition: background .1s;
}

.ma-dd-item:last-child {
  border-bottom: none;
}

.ma-dd-item:hover,
.ma-dd-item.focus {
  background: rgba(255, 255, 255, .07);
}

.ma-dd-av {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  font-size: 12px;
  color: #fff;
}

.ma-dd-av-init {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ma-dd-text {
  flex: 1;
  min-width: 0;
}

.ma-dd-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ma-dd-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, .4);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── TS-3 Mention chip in rendered content (Section 2) ── */
.cm-mention {
  color: var(--acc);
  cursor: pointer;
  font-weight: 500;
}

.cm-mention:hover {
  text-decoration: underline;
}
