.attachment-list {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.attachment-list:empty {
  display: none;
}

.attachment-item {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: var(--space-2);
  border-block-end: 1px solid var(--line);
}

.attachment-item > div {
  flex: 1 1 12rem;
  min-width: 0;
}

.attachment-item .cell-note {
  margin-block-start: var(--space-1);
}

.attachment-retry,
.attachment-upload > button {
  justify-self: start;
}

.attachment-upload {
  display: grid;
  gap: var(--space-3);
  min-width: 0;
}

.attachment-upload input[type="file"] {
  max-width: 100%;
}

