/* Anexos do chat (js/chat-anexos.js). */
.anexo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 4px 8px;
}
.anexo-chips[hidden] { display: none; }
.anexo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 260px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  background: var(--bg-tertiary);
  color: var(--text-primary);
}
.anexo-chip-ext {
  font-weight: 700;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--accent-primary);
  color: #fff;
}
.anexo-chip-nome {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.anexo-chip-tam { color: var(--text-secondary); }
.anexo-chip-x {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0 2px;
}
.anexo-chip-x:hover { color: var(--text-primary); }
.anexo-chips-msg { padding: 8px 0 0; }
.btn-anexar.has-anexos { color: var(--accent-primary); }
.input-container.is-dragover { outline: 2px dashed var(--accent-primary); outline-offset: -4px; }
