/* ConductRecordComponent (packs/conduct/app/components/conduct_record_component.rb): the record-keeping panel of a conduct case (reopening, retention, holds, disclosures; docs/conduct/as-built/f8.md). Built on the
   case-work sections (`.case-work`, `.case-work-list`, `.case-work-entry`, the meta lines), so what is here is only what is new: the four parts of the one panel and how a correction reads.

   Numbered 93, the number the Conduct build reserved for this track. Tokens only and logical properties only (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). */

.conduct-record {
  min-inline-size: 0;
}

/* The four parts stand apart from one another by a rule, not by a box of their own: the panel is the card. */
.conduct-record__part {
  display: grid;
  gap: var(--density-gap);
  min-inline-size: 0;
  padding-block-start: var(--density-gap);
  border-block-start: 1px solid var(--rule-strong);
}

.conduct-record__part-title {
  margin-block: 0;
  font-size: var(--text-base);
  font-weight: 650;
}

/* A disclosure a later record corrects is struck, and says so in words under it: a line through the text is never the only signal. */
.conduct-record__corrected {
  color: var(--fg2);
  text-decoration: line-through;
}
