.tiptap-content .tiptap{padding:1rem;outline:none;font-size:.875rem;line-height:1.625;color:var(--crm-text-primary)}.tiptap-content .tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:var(--crm-text-muted);font-style:italic;pointer-events:none;height:0}.tiptap-content .tiptap h1{font-size:1.5rem;font-weight:700;line-height:1.3;margin:1rem 0 .5rem}.tiptap-content .tiptap h2{font-size:1.25rem;font-weight:600;line-height:1.35;margin:.875rem 0 .375rem}.tiptap-content .tiptap h3{font-size:1.1rem;font-weight:600;line-height:1.4;margin:.75rem 0 .25rem}.tiptap-content .tiptap p{margin:.25rem 0}.tiptap-content .tiptap ul{list-style-type:disc;padding-left:1.5rem;margin:.25rem 0}.tiptap-content .tiptap ol{list-style-type:decimal;padding-left:1.5rem;margin:.25rem 0}.tiptap-content .tiptap li{margin:.125rem 0}.tiptap-content .tiptap a{color:#10b981;text-decoration:underline;cursor:pointer}.tiptap-content .tiptap a:hover{color:#059669}.tiptap-content .tiptap .rte-content-image,.tiptap-content .tiptap img{max-width:100%;height:auto;border-radius:.5rem;margin:.5rem 0}.tiptap-content .tiptap .rte-image-wrap{margin:.5rem 0;line-height:0}.tiptap-content .tiptap .rte-image-wrap.is-align-left{text-align:left}.tiptap-content .tiptap .rte-image-wrap.is-align-center{text-align:center}.tiptap-content .tiptap .rte-image-wrap.is-align-right{text-align:right}.tiptap-content .tiptap .rte-image-box{position:relative;display:inline-block;max-width:100%;vertical-align:top;line-height:0}.tiptap-content .tiptap .rte-image-box img{display:block;width:100%;height:auto;margin:0;border-radius:.5rem;user-select:none}.tiptap-content .tiptap .rte-image-wrap.is-resizing .rte-image-box:after,.tiptap-content .tiptap .rte-image-wrap.is-selected .rte-image-box:after{content:"";position:absolute;inset:0;border:2px solid #10b981;border-radius:.5rem;pointer-events:none}.tiptap-content .tiptap .rte-image-handle{position:absolute;top:50%;z-index:2;width:10px;height:40px;max-height:calc(100% - 8px);transform:translateY(-50%);border-radius:6px;border:1px solid #fff;background:#10b981;box-shadow:0 1px 4px rgba(15,23,42,.25);cursor:col-resize;touch-action:none}.tiptap-content .tiptap .rte-image-handle--left{left:-5px}.tiptap-content .tiptap .rte-image-handle--right{right:-5px}.tiptap-content .tiptap video{display:block;max-width:100%;width:100%;height:auto;border-radius:.5rem;margin:.5rem 0;background:#000}.tiptap-content .tiptap hr{border:none;border-top:1px solid var(--crm-border);margin:.75rem 0}.tiptap-content .tiptap s{text-decoration:line-through}.tiptap-content .variable-chip,.variable-chip{display:inline-flex;align-items:center;padding:.125rem .5rem;margin:0 .125rem;font-family:JetBrains Mono,monospace;font-size:.8em;border-radius:9999px;background-color:#dbeafe;color:#1e40af;user-select:all;white-space:nowrap}.dark .tiptap-content .variable-chip,.dark .variable-chip{background-color:rgba(59,130,246,.2);color:#93c5fd}.rich-text-editor--readonly .prose,.rich-text-editor--readonly .tiptap-content{color:var(--crm-text-primary)}.rich-text-editor--readonly .prose h1{font-size:1.5rem;font-weight:700}.rich-text-editor--readonly .prose h2{font-size:1.25rem;font-weight:600}.rich-text-editor--readonly .prose h3{font-size:1.1rem;font-weight:600}.rich-text-editor--readonly .prose a{color:#10b981}.rich-text-editor--readonly .prose img{max-width:100%;height:auto;border-radius:.5rem;display:block}.rich-text-editor--readonly .prose video{display:block;max-width:100%;width:100%;border-radius:.5rem}.tiptap-content .tiptap ::selection{background-color:rgba(16,185,129,.2)}.editor-font-picker__item+.editor-font-picker__item{border-top:1px solid transparent}.tiptap-content .tiptap table{width:100%;border-collapse:collapse;margin:.5rem 0;font-size:.8125rem}.tiptap-content .tiptap table td,.tiptap-content .tiptap table th{border:1px solid var(--crm-border);padding:.375rem .5rem;vertical-align:top}.tiptap-content .tiptap table th{background:var(--crm-bg-subtle);font-weight:600}.product-rich-content table{width:100%;border-collapse:collapse;margin:.5rem 0}.product-rich-content table td,.product-rich-content table th{border:1px solid var(--color-border-light);padding:.375rem .5rem}