/* The threat assessment build's sections and sheets (C1 and S1, the TAG build; docs/data_model/13-operational-domains.md section 16.13, "As built (S1)"): the case's checklist and management plan
   (CasePlanComponent), the members of one matter (CaseMatterMembersComponent), the office's letters (CaseLettersComponent) and the letter sheet with its text to copy. Each is
   a hairline panel of the case page (68-case-page-layout.css) built on the case work's list, line and meta classes (62-case-work.css); this file adds only the spacing between a panel's two lists and
   the letter's text. The office's page is link cards (LinkCardsComponent) and has no rules here.

   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). */

.case-plan__group {
  display: grid;
  gap: var(--density-gap);
  min-inline-size: 0;
}

.case-plan__group + .case-plan__group {
  margin-block-start: var(--density-gap);
}

.case-letter__text {
  inline-size: 100%;
  min-inline-size: 0;
  min-block-size: 16rem;
  padding: var(--density-gap);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--fg1);
  font: inherit;
  font-size: var(--text-sm);
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  resize: vertical;
}

.case-letter__copied {
  margin-block: 0;
  color: var(--fg2);
  font-size: var(--text-sm);
}
