.tiptap-shell{--rte-min-h:480px}.tiptap-shell .tiptap-toolbar{background:hsl(var(--muted) / .45);border-bottom:1px solid hsl(var(--border));z-index:20;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);flex-wrap:wrap;align-items:center;gap:.25rem;padding:.5rem .75rem;display:flex;position:sticky;top:0}.tiptap-shell .tiptap-toolbar-group{align-items:center;gap:.125rem;display:flex}.tiptap-shell .tiptap-toolbar-sep{background:hsl(var(--border));width:1px;height:1.5rem;margin:0 .25rem}.tiptap-shell .tiptap-editor-body{min-height:var(--rte-min-h)}.tiptap-shell .ProseMirror{min-height:var(--rte-min-h);outline:none;padding:1rem 1.25rem}.tiptap-shell .ProseMirror p.is-editor-empty:first-child:before{color:hsl(var(--muted-foreground));content:attr(data-placeholder);float:left;pointer-events:none;height:0}.tiptap-shell .ProseMirror table{border-collapse:collapse;width:100%;margin:1rem 0}.tiptap-shell .ProseMirror th,.tiptap-shell .ProseMirror td{border:1px solid hsl(var(--border));vertical-align:top;padding:.5rem .75rem}.tiptap-shell .ProseMirror th{background:hsl(var(--muted) / .5);font-weight:600}.tiptap-shell .ProseMirror img{border-radius:.375rem;max-width:100%;height:auto}.tiptap-shell .tiptap-source{width:100%;min-height:var(--rte-min-h);background:hsl(var(--background));color:hsl(var(--foreground));resize:vertical;border:none;outline:none;padding:1rem 1.25rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.875rem;line-height:1.6}.tiptap-shell .color-swatch{border:1px solid hsl(var(--border));cursor:pointer;border-radius:.25rem;width:1.25rem;height:1.25rem}.tiptap-shell .color-swatch:hover{transform:scale(1.08)}.rich-content-html{line-height:1.75}.rich-content-html h1,.rich-content-html h2,.rich-content-html h3,.rich-content-html h4,.rich-content-html h5,.rich-content-html h6{margin:1.25em 0 .5em;font-weight:700;line-height:1.25}.rich-content-html p{margin:.75em 0}.rich-content-html ul,.rich-content-html ol{margin:.75em 0;padding-left:1.5em}.rich-content-html blockquote{border-left:4px solid hsl(var(--primary) / .4);color:hsl(var(--muted-foreground));margin:1em 0;padding-left:1rem;font-style:italic}.rich-content-html table{border-collapse:collapse;width:100%;margin:1em 0}.rich-content-html th,.rich-content-html td{border:1px solid hsl(var(--border));padding:.5rem .75rem}.rich-content-html img{border-radius:.375rem;max-width:100%;height:auto}.rich-content-html mark{border-radius:.125rem;padding:0 .125rem}.rich-content-html a{color:hsl(var(--primary));text-decoration:underline}
