/* ContactBodyComponent (app/components/contact_body_component.rb): what was said in one contact, under its row of the timeline once the row is opened. A small
   label, the subject line, the words with their line breaks, and a quiet line saying who reads them, stacked; the block takes the focus when it arrives, so its
   focus ring is the shell's own.

   Tokens only and logical properties only, both enforced (test/styles/tokens_test.rb, test/styles/components_test.rb), so it reads on the light shell
   and the console, in light and in dark, and mirrors in a right-to-left language. Nothing pinned to an edge, no height in vh, and everything that holds
   words may shrink and wrap, so a language 40% longer never widens the page (WCAG 1.4.10). */

.contact-body {
  display: grid;
  gap: 0.35rem;
  margin-block-start: 0.4rem;
  padding-block: 0.5rem;
  padding-inline: 0.75rem;
  border-inline-start: 2px solid var(--rule-strong);
  min-inline-size: 0;
}

.contact-body__label {
  margin-block: 0;
  color: var(--fg2);
  font-size: var(--text-sm);
  font-weight: 650;
}

.contact-body__subject {
  margin-block: 0;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.contact-body__text {
  margin-block: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.contact-body__who {
  margin-block: 0;
  color: var(--fg2);
  font-size: var(--text-sm);
  overflow-wrap: anywhere;
}

/* The row's own frame, which holds the "Read what was said" link and then what was said (Timeline::EntryComponent), and the line that links a correction and the
   contact it corrects. */
.spine-entry-body {
  display: block;
  margin-block-start: 0.4rem;
  min-inline-size: 0;
}

.spine-entry-correction {
  margin-block: 0.2rem 0;
  color: var(--fg2);
  font-size: var(--text-sm);
  overflow-wrap: anywhere;
}

/* The Correct control of a row (app/views/directory/_correct_link.html.erb), beside the outcome control: a link, said like the outcome's disclosure. */
.spine-entry-correct {
  margin-block: 0 0.3rem;
  font-size: var(--text-sm);
  font-weight: 650;
  overflow-wrap: anywhere;
}
