.chat-rich-editor:not(:has(.ProseMirror)):before{content:"";min-height:1.5rem;display:block}.chat-rich-editor .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;white-space:nowrap;pointer-events:none;height:0;color:var(--color-muted-foreground);opacity:.9}.chat-rich-editor .ProseMirror:focus{outline:none}.chat-rich-editor .ProseMirror ul{margin:0;padding-left:1.25rem;list-style:outside}.chat-rich-editor .ProseMirror ol{margin:0;padding-left:1.25rem;list-style:decimal}.chat-rich-editor .ProseMirror li>p{margin:0}.chat-rich-editor .ProseMirror code{background-color:var(--surface-overlay);border-radius:.25rem;padding:.125rem .25rem;font-family:ui-monospace,monospace;font-size:.875em}.chat-rich-editor .ProseMirror pre{background-color:var(--surface-overlay);border-radius:.5rem;margin:.25rem 0;padding:.5rem .75rem;font-size:.875em;overflow-x:auto}.chat-rich-editor .ProseMirror pre code{font-size:inherit;background:0 0;padding:0}.dark .chat-rich-editor .ProseMirror code{background-color:var(--surface-overlay-dark)}.dark .chat-rich-editor .ProseMirror pre{background-color:var(--surface-overlay-dark-subtle)}.chat-rich-editor .ProseMirror>*+*{margin-top:.25rem}.chat-rich-editor .ProseMirror p{margin:0}.chat-rich-editor .ProseMirror>p:last-child:not(.is-empty):has(>br.ProseMirror-trailingBreak:only-child){height:0;margin-top:0;overflow:hidden}
