.drop-area {
  position: relative;
  display: grid;
  justify-items: center;
  gap: var(--space-2);
  border: 2px dashed var(--border);
  border-radius: var(--radius-3);
  padding: var(--space-6);
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 120ms, background 120ms;
}
.drop-area p { margin: 0; }

/* With unprocessed items on the page, the drop area shrinks to one slim
   row — still the same drop target, but the queue leads. */
.drop-area.is-compact {
  grid-auto-flow: column;
  justify-content: center;
  align-items: baseline;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
}
.drop-area.is-compact .drop-hint { display: none; }
.drop-area.dragover {
  border-color: var(--accent);
  background: var(--accent-tint);
  color: var(--accent);
}
/* Hidden but still tabbable; the whole area shows its focus. */
.drop-area input[type="file"] {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.drop-area:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
