/* Results (modules/results): the file field of the upload form and the file shown on a result's page.
   Rows, badges and the facts line come from pages/clients.css. */

/* The browser's own file picker: a field box (components/field.css) with its label above, not floating. */
.results__file {
  display: grid;
  gap: var(--sp-2);
}

.results__label {
  font-size: var(--fs-small);
  color: var(--c-text-muted);
}

.results__input {
  padding: var(--sp-3) var(--sp-4);
}

/* The file on its page: a PDF in a frame, or the picture itself. */
.results__view {
  width: 100%;
  max-height: 80vh;
  max-height: 80dvh;
  border: var(--border-1) solid var(--c-line);
  border-radius: var(--radius-2);
}

iframe.results__view {
  height: 80vh;
  height: 80dvh;
}

img.results__view {
  object-fit: contain;
}
