/* AOS text box standardization - Tora's request, 2026-09-06.
   Registered via a Filament panel render hook (HEAD_END in
   AdminPanelProvider) - there is no Vite build on this server
   (no node/npm installed, no public/build output), so a custom
   panel theme isn't viable here. This stays a plain static file
   that just needs a link tag, no build step. */

/* Default font size 11pt across every rich text box (both while
   editing and in read-only/disabled rendering) and every plain
   textarea, so typing and reviewing looks consistent everywhere. */
.fi-fo-rich-editor-editor,
.fi-fo-rich-editor.fi-disabled,
.fi-fo-textarea textarea {
    font-size: 11pt !important;
    line-height: 1.5 !important;
}

/* The rich text editor (Trix) wraps every new line - each Enter
   press - in its own <p>, not a real paragraph break. Confirmed
   against real stored quote/PO content on this server. Tailwind
   Typography's .prose class (which Filament wraps the editor in)
   gives every <p> 1.25em margin-top AND margin-bottom
   (.prose :where(p) in the published Filament CSS), so every single
   Enter press visually "skips a line" the same way a real paragraph
   break would - this was the actual bug in the PO/Quote text boxes.
   Zeroing that margin makes consecutive lines sit directly under
   each other, matching what a normal text editor does, in both the
   live editor and the read-only rendered view. */
.fi-fo-rich-editor-editor p,
.fi-fo-rich-editor.fi-disabled p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
