.ocr-drop {
  margin-top: 0.35rem;
  padding: 1.25rem 1rem;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-hover);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ocr-drop:hover,
.ocr-drop:focus-visible,
.ocr-drop.is-dragover {
  border-color: var(--accent);
  background: var(--accent-muted);
  outline: none;
}

.ocr-drop-title {
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.ocr-preview {
  display: block;
  max-width: min(100%, 28rem);
  max-height: 16rem;
  margin: 0.85rem auto 0;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: #fff;
}

.ocr-preview.hidden {
  display: none;
}

.ocr-status {
  margin: 0.75rem 0 0.35rem;
}

.ocr-progress {
  height: 0.4rem;
  margin: 0 0 1rem;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.ocr-progress.hidden {
  display: none;
}

.ocr-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.15s ease;
}

.ocr-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.ocr-result-head .field-label {
  margin: 0;
}

.ocr-text {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.45;
  min-height: 14rem;
  resize: vertical;
}
