/* ── Trix editor WYSIWYG styles ──────────────────────────────────────────────
   Trix relies on the browser's user-agent stylesheet for typographic defaults
   (list markers, heading sizes, margins). Tailwind's preflight explicitly wipes
   those defaults, so we restore them here.

   Content lives directly inside <trix-editor> — there is no .trix-content
   wrapper in the editor DOM. Trix ships no list-style rules of its own.

   Uses static neutral colors (no CSS vars): the editor lives in the dashboard
   where no intake flow theme is active. */
trix-editor { line-height: 1.7; color: #374151; }
trix-editor h1 { font-size: 1.875rem; font-weight: 700; line-height: 1.2; color: #111827; margin: 2rem 0 1rem; }
trix-editor h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.25; color: #111827; margin: 2rem 0 0.75rem; }
trix-editor h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; color: #111827; margin: 1.5rem 0 0.5rem; }
trix-editor h4 { font-size: 1.05rem; font-weight: 600; color: #111827; margin: 1.25rem 0 0.5rem; }
trix-editor div { margin: 0 0 0.75rem; }
trix-editor ul, trix-editor ol { margin: 0 0 1rem; padding-left: 1.5rem; }
trix-editor ul { list-style: disc; }
trix-editor ul ul { list-style-type: circle; }
trix-editor ul ul ul { list-style-type: square; }
trix-editor ol { list-style: decimal; }
trix-editor li { margin: 0.25rem 0; }
trix-editor li > ul, trix-editor li > ol { margin: 0.25rem 0; }
trix-editor a { color: #1d4ed8; text-decoration: underline; }
trix-editor strong { font-weight: 600; color: #111827; }
trix-editor em { font-style: italic; }
trix-editor del, trix-editor s { text-decoration: line-through; }
trix-editor pre {
  margin: 1.25rem 0;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  background-color: #f3f4f6;
  font-family: ui-monospace, monospace;
  font-size: 0.875em;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre;
}
trix-editor blockquote {
  margin: 1.5rem 0;
  padding: 0.5rem 0 0.5rem 1.25rem;
  border-left: 3px solid #9ca3af;
  color: #374151;
  font-style: italic;
}
