.tiptap .resizable-image{box-sizing:border-box;max-width:100%;margin:12px 0;display:block;position:relative}.tiptap .resizable-image>.resizable-image-content{width:100%;max-width:100%;height:auto;margin:0;display:block}.tiptap .resizable-image.is-resizable{overflow:visible}.tiptap .resizable-image.is-resizable:is(:hover,:focus-within,.ProseMirror-selectednode,.is-image-active,.is-resizing){outline:2px solid var(--gold,#a79469);outline-offset:1px}.tiptap .resizable-image>.image-resize-handle{z-index:2;border:2px solid var(--navy,#1b1d32);opacity:0;pointer-events:none;touch-action:none;background:#fff;border-radius:3px;width:16px;min-width:0;height:16px;min-height:0;padding:0;position:absolute}.tiptap .resizable-image.is-resizable:is(:hover,:focus-within,.ProseMirror-selectednode,.is-image-active,.is-resizing)>.image-resize-handle{opacity:1;pointer-events:auto}.tiptap .image-resize-handle[data-corner=nw]{cursor:nwse-resize;top:0;left:0}.tiptap .image-resize-handle[data-corner=ne]{cursor:nesw-resize;top:0;right:0}.tiptap .image-resize-handle[data-corner=sw]{cursor:nesw-resize;bottom:0;left:0}.tiptap .image-resize-handle[data-corner=se]{cursor:nwse-resize;bottom:0;right:0}.tiptap .image-resize-handle:focus-visible{outline:3px solid var(--gold,#a79469);outline-offset:2px;opacity:1}.tiptap .resizable-image>.image-resize-handle[hidden]{display:none}@media (any-pointer:coarse){.tiptap .resizable-image>.image-resize-handle{background:0 0;border:0;width:44px;height:44px}.tiptap .resizable-image>.image-resize-handle:after{border:2px solid var(--navy,#1b1d32);content:"";background:#fff;border-radius:3px;width:14px;height:14px;position:absolute}.tiptap .image-resize-handle[data-corner=nw]:after{top:0;left:0}.tiptap .image-resize-handle[data-corner=ne]:after{top:0;right:0}.tiptap .image-resize-handle[data-corner=sw]:after{bottom:0;left:0}.tiptap .image-resize-handle[data-corner=se]:after{bottom:0;right:0}}.tiptap .resizable-image>.pending-image-error{z-index:1;box-sizing:border-box;border:1px solid var(--edge);background:var(--white);border-radius:4px;max-height:calc(100% - 64px);padding:8px;position:absolute;inset:8px 8px auto;overflow:auto}.tiptap .pending-image.is-preparing-preview{min-height:150px}.tiptap .pending-image.is-preparing-preview>img[hidden]{display:none}.editor-viewport-shell{min-width:0}.editor-viewport{overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid var(--control-border);border-radius:0 0 4px 4px;overflow:auto}.editor-viewport>div{min-height:100%}.rich-editor .editor-viewport .tiptap{border:0;border-radius:0;height:auto;min-height:100%;max-height:none;overflow:visible}.editor-viewport:focus-within{outline:2px solid var(--navy);outline-offset:2px}.rich-editor .editor-viewport .tiptap:focus{box-shadow:none;outline:none}.editor-height-bar{min-height:24px;color:var(--muted,#626476);justify-content:flex-end;align-items:center;gap:6px;font-size:11px;display:flex}.editor-height-grip{width:28px;height:28px;min-height:0;color:var(--navy);cursor:ns-resize;touch-action:none;background:0 0;border:0;border-radius:3px;place-items:center;padding:3px;display:grid}.editor-height-grip svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;width:18px;height:18px}.editor-height-grip:hover{background:var(--tint,#f2f0eb)}.editor-height-grip:focus-visible{outline:2px solid var(--navy);outline-offset:2px}@media (pointer:coarse){.editor-height-grip{width:44px;height:32px}}
