/* Image to Text (OCR) — a hero uploader (after="hide") over a split: the
   Preview card on the left; the language, run controls and the recognized
   text on the right. The layout is styles/components/form.css + uploader.css
   and the preview is styles/components/preview.css; the progress layout is
   styles/components/processing-status.css. Only the text area and the
   confidence colouring are the page's own. */

/* ── Result */
/* A form-field rule: textarea.<class> beats the shared textarea rule. */
textarea.itt-text {
  display: block;
  width: 100%;
  min-height: 220px;
  resize: vertical;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: -0.005em;
}

.itt-num { font-variant-numeric: tabular-nums; }
.itt-num.itt-conf--ok  { color: var(--success); font-weight: 600; }
.itt-num.itt-conf--mid { color: var(--warning); font-weight: 600; }
.itt-num.itt-conf--low { color: var(--danger);  font-weight: 600; }
