.tiptap-wrapper{flex:1;display:flex;flex-direction:column;min-height:0}.ProseMirror{scrollbar-gutter:stable}.ProseMirror::-webkit-scrollbar{width:6px}.ProseMirror::-webkit-scrollbar-track{background:transparent}.ProseMirror::-webkit-scrollbar-thumb{background:hsla(0,0%,50%,.3);border-radius:3px}.ProseMirror::-webkit-scrollbar-thumb:hover{background:hsla(0,0%,50%,.5)}.editor-editable,.editor-editable>:first-child,.editor-readonly,.editor-readonly>:first-child{flex:1;display:flex;flex-direction:column;min-height:0}.ProseMirror{outline:none;min-height:0;padding:1.25rem;font-size:16px;line-height:1.7;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.ProseMirror,.ProseMirror div,.ProseMirror h1,.ProseMirror h2,.ProseMirror h3,.ProseMirror li,.ProseMirror p,.ProseMirror span{color:inherit!important}.prose :where(h1):not(:where([class~=not-prose] *)),.prose :where(h2):not(:where([class~=not-prose] *)),.prose :where(h3):not(:where([class~=not-prose] *)),.prose :where(li):not(:where([class~=not-prose] *)),.prose :where(p):not(:where([class~=not-prose] *)){color:inherit!important}.prose-invert :where(h1):not(:where([class~=not-prose] *)),.prose-invert :where(h2):not(:where([class~=not-prose] *)),.prose-invert :where(h3):not(:where([class~=not-prose] *)),.prose-invert :where(li):not(:where([class~=not-prose] *)),.prose-invert :where(p):not(:where([class~=not-prose] *)){color:inherit!important}.ProseMirror>.is-empty:first-child:before{content:attr(data-placeholder);float:left;color:#9ca3af;pointer-events:none;height:0;font-style:italic}.dark .ProseMirror>.is-empty:first-child:before,.prose-invert>.is-empty:first-child:before{color:#6b7280;opacity:.5}.ProseMirror p.is-editor-empty:first-child:before{font-style:italic}.dark .ProseMirror p.is-editor-empty:first-child:before,.prose-invert p.is-editor-empty:first-child:before{color:#6b7280}.ProseMirror .is-empty:not(:first-child):before{content:none!important;display:none!important}.ProseMirror hr{border-top:2px solid rgba(156,163,175,.3);margin:1.5rem 0}.dark .ProseMirror hr,.prose-invert hr{border-top-color:rgba(148,163,184,.3)}.editor-editable .ProseMirror *{cursor:text}.editor-readonly,.editor-readonly .ProseMirror,.editor-readonly .ProseMirror *{cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.editor-readonly .ProseMirror *{pointer-events:auto}.editor-editable,.editor-editable .ProseMirror{cursor:text}.editor-editable .ProseMirror *{cursor:text!important}.ProseMirror h1{font-size:2.125rem;font-weight:700;line-height:1.3;margin-top:1.5rem;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:2px solid rgba(156,163,175,.3);color:inherit}.dark .ProseMirror h1,.prose-invert h1{border-bottom-color:rgba(148,163,184,.3)}.ProseMirror h2{font-size:1.75rem;font-weight:600;line-height:1.4;margin-top:1.25rem;margin-bottom:.625rem;padding-bottom:.375rem;border-bottom:1px solid rgba(156,163,175,.2);color:inherit!important}.dark .ProseMirror h2,.prose-invert h2{border-bottom-color:rgba(148,163,184,.2)}.ProseMirror h3{font-size:1.5rem;font-weight:600;line-height:1.5;margin-top:1rem;margin-bottom:.5rem;color:inherit!important}.ProseMirror h1:first-child,.ProseMirror h2:first-child,.ProseMirror h3:first-child{margin-top:0}.ProseMirror p{margin:.5rem 0;font-size:16px;color:inherit!important}.ProseMirror p:first-child{margin-top:0}.ProseMirror p:last-child{margin-bottom:0}.ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#9ca3af;pointer-events:none;height:0}.dark .ProseMirror p.is-editor-empty:first-child:before{color:#64748b;opacity:.5}.ProseMirror ::-moz-selection,.ProseMirror::-moz-selection{background-color:rgba(59,130,246,.3)}.ProseMirror ::selection,.ProseMirror::selection{background-color:rgba(59,130,246,.3)}.ProseMirror ol,.ProseMirror ul{padding-left:1.5rem;margin:.5rem 0;color:inherit!important}.ProseMirror ul{list-style-type:disc}.ProseMirror ol{list-style-type:decimal}.ProseMirror li{margin:.25rem 0;color:inherit!important}.ProseMirror li>p{margin:0;color:inherit!important}.ProseMirror strong{font-weight:700}.ProseMirror em{font-style:italic}.ProseMirror u{text-decoration:underline}.ProseMirror s{text-decoration:line-through}.ProseMirror mark{background-color:#fef08a;border-radius:.125rem;padding:.125rem .25rem}.dark .ProseMirror mark{background-color:#854d0e;color:#fef08a}.ProseMirror [style*="text-align: left"]{text-align:left}.ProseMirror [style*="text-align: center"]{text-align:center}.ProseMirror [style*="text-align: right"]{text-align:right}.ProseMirror [style*="text-align: justify"]{text-align:justify}.ProseMirror code{background-color:#f3f4f6;border-radius:.25rem;padding:.125rem .25rem;font-family:Courier New,Courier,monospace;font-size:.875em}.dark .ProseMirror code{background-color:#374151;color:#e5e7eb}.ProseMirror pre{background-color:#1f2937;color:#e5e7eb;border-radius:.375rem;padding:.75rem 1rem;overflow-x:auto;font-family:Courier New,Courier,monospace;margin:.5rem 0}.ProseMirror pre code{background-color:transparent;padding:0;color:inherit}.ProseMirror blockquote{border-left:3px solid #d1d5db;padding-left:1rem;margin:.5rem 0;opacity:.8}.dark .ProseMirror blockquote{border-left-color:#4b5563;opacity:.8}.ProseMirror hr{border:none;border-top:2px solid #e5e7eb;margin:1rem 0}.dark .ProseMirror hr{border-top-color:#374151}.scrollbar-hover-hidden{scrollbar-width:thin;scrollbar-color:transparent transparent}.scrollbar-hover-hidden:hover{scrollbar-color:#cbd5e1 transparent}.scrollbar-hover-hidden::-webkit-scrollbar{width:8px;height:8px}.scrollbar-hover-hidden::-webkit-scrollbar-track{background:transparent}.scrollbar-hover-hidden::-webkit-scrollbar-thumb{background-color:transparent;border-radius:4px}.scrollbar-hover-hidden:hover::-webkit-scrollbar-thumb{background-color:#cbd5e1}.scrollbar-hover-hidden:hover::-webkit-scrollbar-thumb:hover{background-color:#94a3b8}.dark .scrollbar-hover-hidden:hover{scrollbar-color:#475569 transparent}.dark .scrollbar-hover-hidden:hover::-webkit-scrollbar-thumb{background-color:#475569}.dark .scrollbar-hover-hidden:hover::-webkit-scrollbar-thumb:hover{background-color:#64748b}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(1.15)}}@keyframes ripple{0%{transform:scale(.8);opacity:1}to{transform:scale(1.8);opacity:0}}@keyframes float{0%,to{transform:rotate(var(--rotation,0deg)) translateY(-60px) scale(1);opacity:.6}50%{transform:rotate(var(--rotation,0deg)) translateY(-70px) scale(1.3);opacity:1}}@keyframes flowingEdge{0%{stroke-dashoffset:24}to{stroke-dashoffset:0}}@keyframes edgeGlow{0%,to{filter:drop-shadow(0 0 2px rgba(59,130,246,.3))}50%{filter:drop-shadow(0 0 8px rgba(59,130,246,.8))}}@keyframes edgeParticle{0%{offset-distance:0;opacity:0}10%{opacity:1}90%{opacity:1}to{offset-distance:100%;opacity:0}}