.tiptap-editor-wrapper{position:relative;display:flex;flex-direction:column;overflow:hidden;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-upload-overlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background-color:color-mix(in oklab,var(--background) 58%,transparent);pointer-events:auto;cursor:wait;touch-action:none;overscroll-behavior:contain;backdrop-filter:blur(2px) saturate(.96)}.tiptap-upload-overlay__panel{display:inline-flex;align-items:center;gap:.6rem;padding:.85rem 1.15rem;border:1px solid color-mix(in oklab,var(--border) 70%,transparent);border-radius:.75rem;background-color:var(--background);box-shadow:0 16px 40px color-mix(in oklab,var(--foreground) 14%,transparent);color:var(--foreground);font-size:.95rem;font-weight:600;line-height:1}.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-editor-content{background-color:var(--background)}.tiptap-editor-content .tiptap{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}.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}