.tiptap-container{height:100%!important;flex-direction:column!important}.prose-container,.tiptap-container{display:flex!important;overflow:hidden!important;position:relative!important}.prose-container{flex:1!important;flex-direction:column!important}.ProseMirror{min-height:100%!important;outline:none!important;overflow-anchor:auto!important;scroll-behavior:auto!important}[contenteditable=true].ProseMirror{max-height:none!important}.ProseMirror::-webkit-scrollbar{width:10px!important;height:10px!important;background-color:#f5f5f5!important}.ProseMirror::-webkit-scrollbar-thumb{background-color:#888!important;border-radius:10px!important;border:2px solid #f5f5f5!important}.ProseMirror::-webkit-scrollbar-thumb:hover{background-color:#555!important}.ProseMirror{padding-bottom:2rem!important}.ProseMirror blockquote,.ProseMirror h1,.ProseMirror h2,.ProseMirror h3,.ProseMirror ol,.ProseMirror p,.ProseMirror ul{max-width:100%!important;margin-bottom:1em!important;overflow-wrap:break-word!important;word-wrap:break-word!important}#editor-scroll-anchor,#editor-spacer,#enhanced-editor-anchor{height:1px!important;width:100%!important;margin-top:500px!important;margin-bottom:500px!important;clear:both!important}@-moz-document url-prefix(){.ProseMirror{overflow-y:scroll!important;scrollbar-width:thin!important;scrollbar-color:#888 transparent!important}}@supports (-webkit-touch-callout:none){.ProseMirror{-webkit-overflow-scrolling:touch!important;overflow-y:scroll!important}}.editor-scroll-button{position:fixed!important;bottom:20px!important;right:20px!important;background-color:#2563eb!important;color:#fff!important;border-radius:50%!important;width:40px!important;height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;z-index:9999!important;box-shadow:0 4px 6px rgba(0,0,0,.1)!important;border:none!important}.editor-scroll-button:hover{background-color:#1d4ed8!important}.ProseMirror{padding:1rem 2rem!important}.ProseMirror,.editor-container,.prose,.prose-container,.tiptap-container{width:100%!important;max-width:none!important}.tiptap-editor-container{scroll-behavior:smooth}.editor-container,.editor-container>div{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;overflow:hidden!important}.editor-container>div>div{overflow-y:auto!important;overflow-x:hidden!important;height:100%!important;min-height:0!important;scroll-behavior:smooth!important;-webkit-overflow-scrolling:touch!important}.ProseMirror{height:auto!important;min-height:300px!important;overflow:visible!important;padding:1rem!important;background-color:#fff!important;position:relative!important}.ProseMirror>*{max-width:100%!important;overflow-wrap:break-word!important;word-wrap:break-word!important}.editor-container ::-webkit-scrollbar{width:8px!important;height:8px!important;display:block!important}.editor-container ::-webkit-scrollbar-track{background:#f1f1f1!important;border-radius:4px!important}.editor-container ::-webkit-scrollbar-thumb{background:#c1c1c1!important;border-radius:4px!important}.editor-container ::-webkit-scrollbar-thumb:hover{background:#a1a1a1!important}.prose,.prose-2xl,.prose-lg,.prose-sm,.prose-xl{max-width:none!important;width:100%!important;overflow-wrap:break-word!important}@-moz-document url-prefix(){.editor-container>div>div{scrollbar-width:thin!important;scrollbar-color:#c1c1c1 #f1f1f1!important}}@supports (-webkit-touch-callout:none){.editor-container>div>div{-webkit-overflow-scrolling:touch!important}}[data-view-mode=direct]{overflow-y:auto!important;scroll-behavior:smooth!important;-webkit-overflow-scrolling:touch!important}[data-view-mode=tiptap]{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;overflow:hidden!important}[data-view-mode=tiptap] .editor-container{flex:1!important;min-height:0!important}.flex-1.overflow-hidden{display:flex!important;flex-direction:column!important;min-height:0!important}.streaming-active{height:100%!important;min-height:0!important}html body .editor-container,html body .tiptap-editor-container,html body [data-mode=direct]>div,html body [data-mode=preview]>div,html body [data-mode=raw]>div{overflow-y:auto!important;max-height:calc(100vh - 250px)!important;height:100%!important;display:block!important;position:relative!important}html body .enhanced-scroll-container{max-height:100%!important;position:relative!important;scrollbar-width:thin!important;scrollbar-color:#888 #f1f1f1!important;-webkit-overflow-scrolling:touch!important}html body .enhanced-scroll-container,html body [data-view-mode=direct],html body [data-view-mode=preview],html body [data-view-mode=raw],html body [data-view-mode=tiptap]{overflow-y:auto!important;height:100%!important;display:block!important}html body .raw-viewer-container{height:100%!important;max-height:100%!important;display:flex!important;flex-direction:column!important}html body .raw-viewer-container>div.overflow-y-auto{height:calc(100% - 40px)!important;max-height:calc(100vh - 250px)!important;overflow-y:auto!important;flex:1!important}html body [data-raw-textarea=true]{height:100%!important;min-height:500px!important;overflow-y:auto!important;display:block!important;font-family:monospace!important}.flex-1,.h-full,.overflow-auto,.overflow-y-auto{height:100%!important;max-height:100%!important}html body .ProseMirror{overflow-y:visible!important;min-height:300px!important;height:auto!important}html body .enhanced-scroll-container::-webkit-scrollbar,html body .overflow-auto::-webkit-scrollbar,html body .overflow-y-auto::-webkit-scrollbar,html body .tiptap-editor-container::-webkit-scrollbar,html body [data-raw-textarea=true]::-webkit-scrollbar,html body [data-view-mode]::-webkit-scrollbar,html body textarea::-webkit-scrollbar{width:8px!important;height:8px!important;display:block!important}html body .enhanced-scroll-container::-webkit-scrollbar-thumb,html body .overflow-auto::-webkit-scrollbar-thumb,html body .overflow-y-auto::-webkit-scrollbar-thumb,html body .tiptap-editor-container::-webkit-scrollbar-thumb,html body [data-raw-textarea=true]::-webkit-scrollbar-thumb,html body [data-view-mode]::-webkit-scrollbar-thumb,html body textarea::-webkit-scrollbar-thumb{background:#888!important;border-radius:4px!important}html body [role=tabpanel]{overflow-y:auto!important;height:100%!important}html body [data-state=active]{display:block!important;visibility:visible!important;height:100%!important}html body #editor-scroll-anchor{height:300px!important;display:block!important;width:100%!important}html body .prose,html body .prose-lg,html body .prose-sm,html body .prose-xl,html body div[dangerouslySetInnerHTML]{overflow-wrap:break-word!important;max-width:none!important;width:100%!important}@-moz-document url-prefix(){html body .enhanced-scroll-container,html body .overflow-auto,html body .overflow-y-auto,html body .tiptap-editor-container,html body [data-raw-textarea=true],html body [data-view-mode],html body textarea{scrollbar-width:thin!important;scrollbar-color:#888 #f1f1f1!important}}@supports (-webkit-touch-callout:none){html body .enhanced-scroll-container,html body .overflow-auto,html body .overflow-y-auto,html body .tiptap-editor-container,html body [data-raw-textarea=true],html body [data-view-mode],html body textarea{-webkit-overflow-scrolling:touch!important}}html body .preview-container{height:auto!important;min-height:500px!important;overflow-wrap:break-word!important;position:relative!important}html body [data-preview-content=true]{width:100%!important;max-width:none!important;overflow-wrap:break-word!important}html body #preview-scroll-anchor{height:300px!important;display:block!important;width:100%!important}