.tiptap{width:100%;max-width:100%;overflow-x:hidden}.tiptap .ProseMirror{width:100%;max-width:100%;overflow-x:auto;word-wrap:break-word;white-space:pre-wrap}.tiptap .ProseMirror p{margin-top:.75em;margin-bottom:.75em;word-break:break-word}.tiptap .ProseMirror h1{margin-top:3.5em;margin-bottom:1em}.tiptap .ProseMirror h2{margin-top:2.25em;margin-bottom:.9em}.tiptap .ProseMirror h3{margin-top:2em;margin-bottom:.8em}.tiptap .ProseMirror table,.tiptap table{border-collapse:separate;border-spacing:0;table-layout:auto;width:100%;margin:1.5rem 0;border:1px solid #9ca3af;border-radius:.375rem;overflow:hidden}.tiptap .ProseMirror table td,.tiptap .ProseMirror table th,.tiptap table td,.tiptap table th{min-width:1em;border:1px solid #d1d5db;border-top:none;border-left:none;padding:.5rem .75rem!important;vertical-align:top;box-sizing:border-box;position:relative;transition:background-color .15s ease-in-out;text-align:left;font-size:.875rem;line-height:1.3!important}.tiptap .ProseMirror table td:last-child,.tiptap .ProseMirror table th:last-child,.tiptap table td:last-child,.tiptap table th:last-child{border-right:none}.tiptap .ProseMirror table tr:last-child td,.tiptap table tr:last-child td{border-bottom:none}.prose table td,.prose table th,.prose-sm table td,.prose-sm table th{padding:.5rem .75rem!important;line-height:1.3!important}.prose table,.prose-sm table{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.prose table td *,.prose table th *,.prose-sm table td *,.prose-sm table th *,.tiptap .ProseMirror table td *,.tiptap .ProseMirror table th *,.tiptap table td *,.tiptap table th *{margin:0!important;padding:0!important;line-height:1.3!important}.prose table td ol,.prose table td ul,.prose table th ol,.prose table th ul,.prose-sm table td ol,.prose-sm table td ul,.prose-sm table th ol,.prose-sm table th ul,.tiptap .ProseMirror table td ol,.tiptap .ProseMirror table td ul,.tiptap .ProseMirror table th ol,.tiptap .ProseMirror table th ul,.tiptap table td ol,.tiptap table td ul,.tiptap table th ol,.tiptap table th ul{margin-left:1.25rem!important;padding-left:0!important}.prose table td li,.prose table th li,.prose-sm table td li,.prose-sm table th li,.tiptap .ProseMirror table td li,.tiptap .ProseMirror table th li,.tiptap table td li,.tiptap table th li{margin-left:0!important;padding-left:0!important}.prose table td p,.prose table th p,.prose-sm table td p,.prose-sm table th p,.tiptap .ProseMirror table td p,.tiptap .ProseMirror table th p{margin:0!important;padding:0!important;line-height:1.3!important}.tiptap .ProseMirror table th{font-weight:700;background-color:#f9fafb;color:#374151}.tiptap .ProseMirror table td:hover,.tiptap .ProseMirror table th:hover{background-color:#f9fafb}.tiptap .ProseMirror table .selectedCell{background-color:#dbeafe;border-color:#3b82f6}.tiptap .ProseMirror table tr{border-bottom:1px solid #f3f4f6}.tiptap .ProseMirror table tr:last-child{border-bottom:none}.tiptap .ProseMirror .column-resize-handle{position:absolute;right:-2px;top:0;bottom:0;width:4px;z-index:20;background-color:#3b82f6;pointer-events:none;opacity:0;transition:opacity .2s ease}.tiptap .ProseMirror table:hover .column-resize-handle{opacity:1}.tiptap .ProseMirror table .cell-placeholder:before{content:"";position:absolute;left:0;right:0;top:0;bottom:0;pointer-events:none}.tiptap .ProseMirror table td.ProseMirror-focused,.tiptap .ProseMirror table th.ProseMirror-focused{outline:2px solid #3b82f6;outline-offset:-2px}@media (max-width:768px){.tiptap .ProseMirror table{font-size:.8rem}.tiptap .ProseMirror table td,.tiptap .ProseMirror table th{padding:.375rem .5rem!important}}.tiptap .ProseMirror mark{background-color:#fef3c7;color:#1f2937;border-radius:.125rem;padding:0 .25rem;transition:background-color .2s ease}.tiptap .ProseMirror mark:hover{background-color:#fde68a}.tiptap .ProseMirror code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;background-color:hsl(var(--muted));color:inherit;border-radius:.125rem;padding:.125rem .25rem;font-size:.875em}.tiptap .ProseMirror p code{white-space:normal;word-break:break-word}.tiptap .ProseMirror pre{background-color:hsl(var(--muted));border-radius:.375rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;padding:.75rem 1rem;margin:1rem 0;tab-size:2;font-size:.875em;overflow-x:auto}.tiptap .ProseMirror pre code{background-color:transparent;padding:0;border-radius:0;font-size:.875em;font-family:inherit;line-height:1.4;color:inherit;white-space:pre}.tiptap .ProseMirror blockquote{border-left:3px solid hsl(var(--border));padding-left:1rem;margin-left:0;margin-right:0;font-style:italic;color:hsl(var(--muted-foreground));border-radius:.125rem;font-size:.875em}.tiptap .ProseMirror blockquote p{margin-top:.5em;margin-bottom:.5em;font-size:.875em}.task-list-item input[type=checkbox]{margin-top:.25rem;flex-shrink:0}.tiptap .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:hsl(var(--muted-foreground));pointer-events:none;height:0}.tiptap .ProseMirror [data-callout],.tiptap [data-callout]{margin:1.5rem 0;border-radius:.375rem;padding:1rem;border-width:1px 1px 1px 4px;transition:all .2s ease}.tiptap .ProseMirror [data-callout][data-type=info],.tiptap [data-callout][data-type=info]{background-color:#dbeafe;border-color:#bfdbfe #bfdbfe #bfdbfe #60a5fa;color:#1e40af}.tiptap .ProseMirror [data-callout][data-type=warning],.tiptap [data-callout][data-type=warning]{background-color:#fefce8;border-color:#fde047 #fde047 #fde047 #facc15;color:#92400e}.tiptap .ProseMirror [data-callout][data-type=success],.tiptap [data-callout][data-type=success]{background-color:#f0fdf4;border-color:#bbf7d0 #bbf7d0 #bbf7d0 #4ade80;color:#166534}.tiptap .ProseMirror [data-callout][data-type=error],.tiptap [data-callout][data-type=error]{background-color:#fef2f2;border-color:#fecaca #fecaca #fecaca #f87171;color:#991b1b}.tiptap .ProseMirror [data-callout] p,.tiptap [data-callout] p{margin-bottom:.5rem;font-size:.875rem;line-height:1.5}.tiptap .ProseMirror [data-callout] p:last-child,.tiptap [data-callout] p:last-child{margin-bottom:0}.tiptap .ProseMirror [data-callout] strong,.tiptap [data-callout] strong{font-weight:500}.tiptap .ProseMirror [data-callout] em,.tiptap [data-callout] em{font-style:italic}.tiptap .ProseMirror [data-callout] code,.tiptap [data-callout] code{background-color:rgba(0,0,0,.1);padding:.125rem .25rem;border-radius:.25rem;font-size:.75rem}.tiptap .ProseMirror [data-callout] ol,.tiptap .ProseMirror [data-callout] ul,.tiptap [data-callout] ol,.tiptap [data-callout] ul{margin:.5rem 0;padding-left:1.25rem;font-size:.875rem}.tiptap .ProseMirror [data-callout] li,.tiptap [data-callout] li{margin-bottom:.25rem}.diagram-edit-wrapper,.diagram-wrapper,.tiptap .ProseMirror [data-diagram],.tiptap [data-diagram]{margin:1.5rem 0}.diagram-content svg{max-width:100%;height:auto;display:block;margin:0 auto}.diagram-edit-wrapper .diagram-edit-wrapper{border:1px solid #e5e7eb;border-radius:.5rem;background-color:white;box-shadow:0 1px 3px 0 rgba(0,0,0,.1)}@media (max-width:768px){.diagram-content svg{max-width:100%;overflow-x:auto}.diagram-edit-wrapper{margin:1rem 0}}.tiptap .ProseMirror .resizable-image-wrapper,.tiptap .resizable-image-wrapper{position:relative;display:inline-block;max-width:100%;margin:1rem 0}.tiptap .ProseMirror .editor-image,.tiptap .ProseMirror .resizable-image-wrapper img,.tiptap .editor-image,.tiptap .resizable-image-wrapper img{display:block;max-width:100%;height:auto;border-radius:.375rem;box-shadow:0 1px 3px 0 rgba(0,0,0,.1);transition:all .2s ease}.resize-handle{position:absolute;width:12px;height:12px;background:#3b82f6;border:2px solid white;border-radius:50%;cursor:pointer;z-index:10;opacity:0;transition:opacity .2s ease;box-shadow:0 2px 4px rgba(0,0,0,.2)}.resize-handle-top-left{top:-6px;left:-6px;cursor:nw-resize}.resize-handle-top-right{top:-6px;right:-6px;cursor:ne-resize}.resize-handle-bottom-left{bottom:-6px;left:-6px;cursor:sw-resize}.resize-handle-bottom-right{bottom:-6px;right:-6px;cursor:se-resize}.tiptap .ProseMirror-focused .resizable-image-wrapper:hover .resize-handle{opacity:1}.tiptap .ProseMirror img[data-upload-status=uploading],.tiptap img[data-upload-status=uploading]{opacity:.7;filter:grayscale(50%);animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.tiptap .ProseMirror img[data-upload-status=error],.tiptap img[data-upload-status=error]{opacity:.5;filter:grayscale(100%);border:2px solid #ef4444;border-radius:.375rem}.tiptap:not(.ProseMirror-focused) .resize-handle{display:none}@keyframes pulse{0%,to{opacity:.7}50%{opacity:.9}}.tiptap .ProseMirror .editor-image:hover,.tiptap .editor-image:hover{box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);transform:translateY(-1px)}.tiptap .ProseMirror .resizable-image-wrapper.ProseMirror-selectednode,.tiptap .resizable-image-wrapper.ProseMirror-selectednode{outline:2px solid #3b82f6;outline-offset:2px;border-radius:.5rem}@media (max-width:768px){.tiptap .ProseMirror .resizable-image-wrapper,.tiptap .resizable-image-wrapper{margin:.75rem 0}.resize-handle{width:16px;height:16px;border-width:3px}.resize-handle-top-left{top:-8px;left:-8px}.resize-handle-top-right{top:-8px;right:-8px}.resize-handle-bottom-left{bottom:-8px;left:-8px}.resize-handle-bottom-right{bottom:-8px;right:-8px}}