.feedback-files-hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.feedback-file-chips {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.feedback-file-chips:empty {
  display: none;
}

.feedback-file-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  max-width: 100%;
  padding: var(--space-1) var(--space-1) var(--space-1) var(--space-3);
  color: var(--text);
  font-size: 0.82rem;
  background: rgb(var(--overlay-rgb) / 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.feedback-file-chip-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 16rem;
}

html[data-uppercase="true"] body .feedback-file-chip-name {
  text-transform: none !important;
}

.feedback-file-chip-size {
  flex: none;
  color: var(--text-muted);
  font: 600 0.72rem/1.2 var(--font-mono);
}

.feedback-file-chip-remove {
  flex: none;
  width: 1.7rem;
  min-width: 1.7rem;
  height: 1.7rem;
}

@media (max-width: 859px) {
  .feedback-file-chip {
    flex: 1 1 100%;
  }

  .feedback-file-chip-name {
    flex: 1 1 auto;
    max-width: none;
  }

  .feedback-file-chip-remove {
    width: 44px;
    min-width: 44px;
    height: 44px;
    margin: -8px -4px -8px 0;
  }

  #feedbackAddFilesButton {
    min-height: 44px;
  }
}
