/* What the producer's page and the client's page share for the Files
   presentation (js/file-checksum.js, js/presentation-words.js): a file's
   SHA-256 line, the line beside a program, the release notes' text,
   and the New delivery sheet's choice. The rows themselves are
   delivery-file-rows.css (the producer's) and recipient-files.css (the
   client's), which load after this file.

     SHA-256  9f2c…e1a0  [ Copy ]
     This is a program. Run it only if you trust the sender, and compare
     the checksum first.

   Colours and sizes are tokens. The program line is drawn in ink, not red
   or amber, and it blocks nothing (the Download beside it works as on any
   other file). */

/* --- a file's checksum -------------------------------------------------- */

.file-sum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-2);
  margin: 0;
  font-size: var(--text-m);
  line-height: 18px;
  color: var(--ink2);
}
.file-sum code {
  font: 400 var(--text-m)/18px var(--font-mono);
  color: var(--ink);
}

/* The Copy button is a finger target on a phone: 44 px, as every control
   there is (the sizes are the shared button's; this only lifts its floor). */
@media (max-width: 820px) {
  .file-sum .btn { min-height: var(--control-l); }
}

/* --- beside a program --------------------------------------------------- */

.file-trust {
  margin: var(--space-1) 0 0;
  padding-left: var(--space-3);
  border-left: 2px solid var(--line-strong);
  font-size: var(--text-m);
  line-height: 18px;
  color: var(--ink2);
}

/* --- release notes: plain text, as typed -------------------------------- */

.release-notes-text {
  max-width: 72ch;
  margin: 0;
  font: 400 var(--text-l)/24px var(--font-sans);
  color: var(--ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* --- the New delivery sheet's choice ------------------------------------ */

/* Each option is a row of its own, tall enough for a thumb. */
.presentation-choice .check { min-height: var(--control-l); align-items: center; }
.presentation-choice { margin-bottom: var(--space-2); }
.presentation-choice .check input { margin-top: 0; }
