@import url("/assets/trix-65afdb1d.css");

trix-toolbar .trix-button-group--file-tools { display: none; }
trix-toolbar .trix-button--font-size { font-weight: 700; font-size: 0.75rem; width: auto; padding: 0 0.4em; }
trix-editor.scout-notes-area { min-height: 8rem; background: #fff; }

/* Tailwind's base reset flattens lists, headings, quotes, and links.
   Those styles already show in the PDF via .trix-content. Mirror them in the
   live editor so formatting is visible while typing. */
trix-editor.scout-notes-area ul,
trix-editor.scout-rich-notes ul,
.trix-content ul {
  list-style: disc;
  padding-left: 1.5em;
  margin: 0.25em 0;
}
/* A leading empty Trix block, or a block div inside each bullet, opens a
   large gap above the list in the editor and in rendered notes. */
trix-editor.scout-notes-area > div:first-child:has(> br:only-child),
trix-editor.scout-rich-notes > div:first-child:has(> br:only-child),
.trix-content > div:first-child:has(> br:only-child) {
  display: none;
}
trix-editor.scout-notes-area li > div,
trix-editor.scout-rich-notes li > div,
.trix-content li > div {
  display: inline;
}
trix-editor.scout-notes-area ol,
trix-editor.scout-rich-notes ol,
.trix-content ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin: 0.25em 0;
}
trix-editor.scout-notes-area ul ul,
trix-editor.scout-rich-notes ul ul,
.trix-content ul ul {
  list-style: circle;
  padding-left: 1.5em;
}
trix-editor.scout-notes-area ul ul ul,
trix-editor.scout-rich-notes ul ul ul,
.trix-content ul ul ul {
  list-style: square;
}
trix-editor.scout-notes-area ol ol,
trix-editor.scout-rich-notes ol ol,
.trix-content ol ol {
  list-style: lower-alpha;
  padding-left: 1.5em;
}
trix-editor.scout-notes-area ol ol ol,
trix-editor.scout-rich-notes ol ol ol,
.trix-content ol ol ol {
  list-style: lower-roman;
}
trix-editor.scout-notes-area li,
trix-editor.scout-rich-notes li,
.trix-content li {
  display: list-item;
  margin: 0.15em 0;
}
trix-editor.scout-notes-area h1,
trix-editor.scout-rich-notes h1,
.trix-content h1 {
  font-size: 1.35em;
  font-weight: 700;
  line-height: 1.25;
  margin: 0.4em 0 0.2em;
}
trix-editor.scout-notes-area blockquote,
trix-editor.scout-rich-notes blockquote,
.trix-content blockquote {
  border-left: 0.3em solid #94a3b8;
  margin: 0.4em 0 0.4em 0.2em;
  padding-left: 0.75em;
}
trix-editor.scout-notes-area pre,
trix-editor.scout-rich-notes pre,
.trix-content pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: #f1f5f9;
  padding: 0.45em 0.6em;
  white-space: pre-wrap;
}
trix-editor.scout-notes-area a,
trix-editor.scout-rich-notes a,
.trix-content a {
  color: #1d4ed8;
  text-decoration: underline;
}
trix-editor.scout-notes-area strong,
trix-editor.scout-rich-notes strong,
.trix-content strong {
  font-weight: 700;
}
trix-editor.scout-notes-area em,
trix-editor.scout-rich-notes em {
  font-style: italic;
}
trix-editor.scout-notes-area del,
trix-editor.scout-rich-notes del {
  text-decoration: line-through;
}

/* Durable Trix editor sizing (mirrors .scout-notes-area textarea) so editors can't collapse. */
trix-editor.scout-notes-area, trix-editor.scout-rich-notes {
  display: block; width: 100%; min-height: 8rem; box-sizing: border-box;
  border-radius: 0.5rem; border: 1px solid color-mix(in srgb, var(--team-primary, #64748b) 24%, #cbd5e1);
  padding: 0.875rem 1rem; font-size: 0.875rem; line-height: 1.55;
  background: color-mix(in srgb, var(--team-primary, #64748b) 8%, #f8fafc); overflow-y: auto;
}
trix-editor.scout-notes-area:focus, trix-editor.scout-rich-notes:focus {
  outline: none; border-color: var(--team-primary, #64748b);
}
