/* An incident's notes (incidents/_notes): oldest first, each a card with who and when above what they wrote. */
.notes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--size-3);
}
.note__meta { margin: 0 0 var(--size-2); }
/* Plain text as written: its line breaks and blank lines are the note's paragraphs, and a long URL wraps
   rather than widening the page. */
.note__body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 75ch;
}
.note-form textarea { min-height: 6rem; resize: vertical; }

/* "Add note" opens the form (a <details>, form-disclosure_controller). The summary is drawn as a button,
   without the disclosure triangle, and steps aside while the form is open: the form's own Add note and
   Cancel take its place, so the same action never shows twice. */
.form-disclosure > summary { list-style: none; }
.form-disclosure > summary::-webkit-details-marker { display: none; }
.form-disclosure[open] > summary { display: none; }
