.tiptap-editor-wrapper{display:flex;flex-direction:column;overflow:clip;border:1px solid var(--border);border-radius:.875rem;background-color:var(--background);transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}.tiptap-editor-wrapper:focus-within{border-color:color-mix(in oklab,var(--ring) 85%,transparent);box-shadow:0 0 0 3px color-mix(in oklab,var(--ring) 12%,transparent)}.tiptap-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;padding:.625rem .75rem;border-bottom:1px solid var(--border);background-color:color-mix(in oklab,var(--muted) 55%,transparent)}.tiptap-toolbar:last-child{border-bottom:none;border-top:1px solid var(--border)}.tiptap-editor-content{background-color:var(--background)}.tiptap-editor-content .tiptap{min-height:414px;overflow-y:auto;padding:1rem 1.125rem;border:0;border-radius:.5rem;background-color:transparent;outline:none;line-height:1.65;color:var(--foreground);word-break:break-word;transition:background-color .2s ease}.tiptap-editor-content .tiptap:focus{box-shadow:none}.tiptap-editor-content .tiptap p{margin:0 0 .05rem}.tiptap-editor-content .tiptap p:last-child{margin-bottom:0}.tiptap-editor-content .tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:color-mix(in oklab,var(--muted-foreground) 42%,transparent);font-style:italic;font-weight:300;float:left;height:0;pointer-events:none}.tiptap-editor-content .tiptap img{max-width:100%;height:auto;margin-top:.75rem;margin-bottom:.75rem}.tiptap-editor-content .tiptap .ProseMirror-selectednode{outline:2px solid var(--ring);outline-offset:2px}.tiptap-editor-content .tiptap [data-resize-container]{width:fit-content;max-width:100%}.tiptap-editor-content .tiptap [data-resize-wrapper] img{display:block;max-width:100%}.tiptap-editor-content .tiptap [data-resize-handle]{width:12px;height:12px;border-radius:2px;background-color:var(--primary);opacity:0;transition:opacity .15s ease;z-index:10;pointer-events:auto}[data-resize-handle=top-left]{cursor:nwse-resize;transform:translate(-50%,-50%)}[data-resize-handle=top-right]{cursor:nesw-resize;transform:translate(50%,-50%)}[data-resize-handle=bottom-left]{cursor:nesw-resize;transform:translate(-50%,50%)}[data-resize-handle=bottom-right]{cursor:nwse-resize;transform:translate(50%,50%)}[data-resize-container]:hover [data-resize-handle]{opacity:.6}.ProseMirror-selectednode [data-resize-handle],[data-resize-container][data-resize-state=true] [data-resize-handle]{opacity:1}[data-resize-container][data-resize-state=true]{outline:2px solid color-mix(in oklab,var(--ring) 70%,transparent);outline-offset:2px}