.file-picker {
  border: 1px dashed #bfdbfe;
  border-radius: var(--radius);
  background: #f8fbff;
  padding: 12px;
}

.file-list,
.thumbnail-grid,
.download-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.file-row,
.thumb-card,
.download-item {
  display: grid;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 10px;
}

.file-row {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.file-row-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.thumb-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: #f1f5f9;
}

.pdf-preview {
  max-height: 220px;
  object-fit: contain;
  background: #f8fafc;
}

.progress-line {
  min-height: 32px;
  border-radius: var(--radius);
  background: #eff6ff;
  color: #1e3a8a;
  padding: 8px 10px;
  font-weight: 700;
}

.result-card {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 12px;
}

.range-help {
  color: var(--muted);
  font-size: 0.85rem;
}

@media (min-width: 720px) {
  .thumbnail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
