/* --- @-mention file autocomplete dropdown --- */
.mention-dropdown {
  position: fixed;
  z-index: 1000;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  max-height: 240px;
  overflow-y: auto;
  padding: 4px 0;
  font-size: 13px;
}
.mention-item {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 5px 8px;
  margin: 0 4px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
  line-height: 1.5;
}
.mention-item:hover {
  background: var(--bg-raised);
}

.mention-item-selected {
  background: var(--bg-raised);
  box-shadow: inset 2px 0 0 var(--accent);
}
.mention-path {
  color: var(--text-muted);
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
  font-size: 11px;
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mention-filename {
  color: var(--text);
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.mention-empty {
  color: var(--text-muted);
  font-style: italic;
  cursor: default;
  padding: 8px 12px;
}
