.math-composer-editor{min-height:0;position:relative}.math-composer-editor .ProseMirror{word-break:break-word;white-space:pre-wrap;outline:none;min-height:44px;max-height:200px;padding:8px 12px;font-size:15px;line-height:1.55;overflow-y:auto}.math-composer-editor .ProseMirror p{margin:0}.math-composer-editor .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:var(--chat-composer-placeholder,#94a3b8);float:left;pointer-events:none;height:0}.math-composer-editor .tiptap-mathematics-render{vertical-align:middle;cursor:text;border-radius:6px;padding:0 2px;display:inline-block}.math-composer-editor .tiptap-mathematics-render--editable:hover{background:#94a3b81f}.math-composer-editor .tiptap-mathematics-render[data-type=block-math]{text-align:center;margin:4px 0;display:block;overflow:auto hidden}.math-composer-editor .tiptap-mathematics-render[data-type=block-math] .block-math-inner{max-width:100%;display:inline-block}.math-composer-editor [data-math-source]{box-sizing:border-box;resize:vertical;width:100%;min-height:3.5em;color:inherit;font:14px/1.5 var(--font-mono,ui-monospace, monospace);text-align:start;background:#0003;border:1px solid #94a3b859;border-radius:6px;padding:6px 8px;display:block}.math-composer-editor [data-math-source][hidden]{display:none}.math-composer-editor [data-math-source]:focus{outline:1px solid #22d3ee}.math-composer-editor [aria-disabled=true]{opacity:.6}.scientific-input-editor .ProseMirror{min-height:7rem;max-height:16rem;font-size:16px}.math-composer-editor .tiptap-mathematics-render.inline-math-error,.math-composer-editor .tiptap-mathematics-render.block-math-error{color:#f87171;font-family:var(--font-mono,ui-monospace, SFMono-Regular, Menlo, monospace);font-size:.9em}.math-composer-editor[dir=rtl] .ProseMirror p.is-editor-empty:first-child:before{float:right}html[dir=rtl] [data-composer-math]{order:0}
