.pdf-file-list {
  display: grid;
  align-content: start;
  gap: 9px;
}
.pdf-file-item {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
}
.pdf-file-item.is-dragging { opacity: .45; }
.pdf-drag-handle { cursor: grab; color: var(--muted); user-select: none; }
.pdf-file-meta { min-width: 0; }
.pdf-file-meta strong,
.pdf-file-meta small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pdf-file-meta small {
  margin-block-start: 3px;
  color: var(--muted);
  font-size: 10px;
}
.pdf-file-size { color: var(--muted); font-size: 10px; }
.pdf-remove-file {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--danger);
  cursor: pointer;
}
.pdf-remove-file:hover {
  background: color-mix(in srgb, var(--danger) 10%, transparent);
}
@media (max-width: 560px) {
  .pdf-file-item { grid-template-columns: 28px minmax(0,1fr) auto; }
  .pdf-file-size { display: none; }
}
