/* Trix uses <div> blocks for paragraphs; Filament's prose styling adds visible
   margins that look like double-spacing. Tighten in editor + report. */
.fi-fo-rich-editor trix-editor {
    line-height: 1.45;
}
.fi-fo-rich-editor trix-editor > div {
    margin: 0;
    padding: 0;
}
.fi-fo-rich-editor trix-editor p,
.fi-fo-rich-editor trix-editor h1,
.fi-fo-rich-editor trix-editor h2,
.fi-fo-rich-editor trix-editor h3 {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}
.fi-fo-rich-editor trix-editor ol,
.fi-fo-rich-editor trix-editor ul {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    padding-left: 1.5rem;
}
.fi-fo-rich-editor trix-editor ol li,
.fi-fo-rich-editor trix-editor ul li {
    margin: 0;
}
/* Same on the rendered status report so what you see in the editor matches the report. */
.note-cell p, .status-report-note p, .report-item-note p { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.note-cell ol, .note-cell ul, .status-report-note ol, .status-report-note ul, .report-item-note ol, .report-item-note ul { margin: 0.25rem 0; padding-left: 1.5rem; }
.note-cell li, .status-report-note li, .report-item-note li { margin: 0; }

/* Internal Notes — light pink outline + shorter height (~5 lines) */
.fi-internal-note {
    --tw-ring-shadow: 0 0 0 2px rgb(249 168 212) !important; /* pink-300 */
    box-shadow: 0 0 0 2px rgb(249 168 212) !important;
}
.fi-internal-note:focus-within {
    --tw-ring-shadow: 0 0 0 2px rgb(244 114 182) !important; /* pink-400 on focus */
    box-shadow: 0 0 0 2px rgb(244 114 182) !important;
}
.fi-internal-note trix-editor {
    min-height: 7em;
}

/* Debt / Violation status — blue outline (class lands on .fi-fo-select wrapper) */
.fi-status-field {
    --tw-ring-shadow: 0 0 0 2px rgb(59 130 246) !important; /* blue-500 */
    box-shadow: 0 0 0 2px rgb(59 130 246) !important;
}
.fi-status-field:focus-within {
    --tw-ring-shadow: 0 0 0 2px rgb(37 99 235) !important;
    box-shadow: 0 0 0 2px rgb(37 99 235) !important;
}
