.qrag-rich-editor{background:#fff;border:1px solid #1838471f;border-radius:16px;overflow:hidden}.qrag-rich-toolbarToggle{background:linear-gradient(#30b0e714,#30b0e705);padding:8px 12px}.qrag-rich-toolbar{background:#f8fcffeb;padding:8px 10px}.qrag-rich-editorSurface{padding:0}.qrag-chat-editor.ProseMirror{white-space:pre-wrap;word-break:break-word;outline:none;min-height:96px;padding:14px 16px}.qrag-chat-editor.ProseMirror p:first-child{margin-top:0}.qrag-chat-editor.ProseMirror p:last-child{margin-bottom:0}.qrag-chat-editor.ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:#8aa0ad;float:left;pointer-events:none;height:0}.qrag-chat-editor.ProseMirror ul,.qrag-chat-editor.ProseMirror ol{padding-left:1.25rem}.qrag-chat-editor.ProseMirror img{border-radius:14px;max-width:100%;height:auto;margin:12px 0;display:block}.qrag-chat-editor.ProseMirror pre,.qrag-markdown pre,.qrag-rich-html pre{color:#e2e8f0;background:#0f172a;border-radius:14px;padding:14px 16px;overflow:auto}.qrag-chat-editor.ProseMirror code,.qrag-markdown code,.qrag-rich-html code{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.qrag-chat-editor.ProseMirror :not(pre)>code,.qrag-markdown :not(pre)>code,.qrag-rich-html :not(pre)>code{background:#0f172a14;border-radius:6px;padding:.1rem .35rem}.qrag-message-bubble,.qrag-message-bubble *{box-sizing:border-box}.qrag-message-bubble{min-width:0;max-width:100%;overflow-x:hidden}.qrag-message-bubble>*,.qrag-message-bubble :where(.MuiAccordion-root,.MuiAccordionDetails-root,.MuiAccordionSummary-root,.MuiAlert-root,.MuiStack-root){min-width:0;max-width:100%}.qrag-message-bubble :where(img,svg,canvas,video,iframe){max-width:100%;height:auto}.qrag-message-bubble :where(pre,table,.katex-display){max-width:100%}.qrag-markdown,.qrag-rich-html{overflow-wrap:anywhere;word-break:break-word;width:100%;min-width:0;max-width:100%;line-height:1.65;overflow-x:hidden}.qrag-markdown *,.qrag-rich-html *{box-sizing:border-box;min-width:0}.qrag-markdown>*,.qrag-rich-html>*{box-sizing:border-box;min-width:0;max-width:100%}.qrag-markdown p,.qrag-markdown li,.qrag-markdown td,.qrag-markdown th,.qrag-markdown blockquote,.qrag-markdown h1,.qrag-markdown h2,.qrag-markdown h3,.qrag-markdown h4,.qrag-markdown h5,.qrag-markdown h6,.qrag-markdown a,.qrag-markdown span,.qrag-rich-html p,.qrag-rich-html li,.qrag-rich-html td,.qrag-rich-html th,.qrag-rich-html blockquote,.qrag-rich-html h1,.qrag-rich-html h2,.qrag-rich-html h3,.qrag-rich-html h4,.qrag-rich-html h5,.qrag-rich-html h6,.qrag-rich-html a,.qrag-rich-html span{overflow-wrap:anywhere;word-break:break-word;max-width:100%}.qrag-markdown>:first-of-type,.qrag-rich-html>:first-of-type{margin-top:0}.qrag-markdown>:last-child,.qrag-rich-html>:last-child{margin-bottom:0}.qrag-markdown table{border-collapse:collapse;width:100%;max-width:100%;display:block;overflow-x:auto}.qrag-markdown th,.qrag-markdown td{text-align:left;border:1px solid #1838471f;padding:.5rem .65rem}.qrag-markdown img,.qrag-rich-html img{border-radius:14px;max-width:100%;height:auto;display:block}.qrag-markdown pre,.qrag-rich-html pre{box-sizing:border-box;width:100%;max-width:100%;overflow:auto hidden}.qrag-markdown pre code,.qrag-markdown pre code *,.qrag-rich-html pre code,.qrag-rich-html pre code *{white-space:inherit}.qrag-markdown .katex-display,.qrag-rich-html .katex-display{max-width:100%;margin:.5em 0;padding:.15rem 0;overflow:auto visible}.qrag-markdown .katex-display>.katex,.qrag-rich-html .katex-display>.katex{white-space:nowrap;max-width:none;display:inline-block}.qrag-markdown .katex,.qrag-rich-html .katex{white-space:nowrap;max-width:100%}.qrag-markdown .katex .base,.qrag-rich-html .katex .base{white-space:nowrap;width:auto}.qrag-markdown .katex-display>.katex>.base,.qrag-rich-html .katex-display>.katex>.base{margin:.25em 0}.tiptap-resizable-image{border-radius:14px}.tiptap-image-resize-handle{cursor:nwse-resize;touch-action:none;background:#00000073;border-top:1px solid #ffffffb3;border-left:1px solid #ffffffb3;width:12px;height:12px;position:absolute;bottom:0;right:0}
