.tiptap :first-child{margin-top:0}.tiptap code:not(pre code){background-color:color-mix(in oklch,var(--destructive) 12%,transparent);color:var(--destructive);padding:.125rem .25rem;border-radius:.25rem;font-family:Fira Code,Menlo,Monaco,Courier New,monospace;font-size:.875em;border:1px solid color-mix(in oklch,var(--destructive) 25%,transparent)}.tiptap code:not(pre code):before,.tiptap code:not(pre code):after{content:none}.tiptap img{display:block}.tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:var(--muted-foreground);pointer-events:none;height:0}.tiptap [data-resize-handle]{position:absolute;background:color-mix(in oklch,var(--foreground) 60%,transparent);border:1px solid color-mix(in oklch,var(--background) 80%,transparent);border-radius:2px;z-index:10;opacity:0;transition:opacity .2s ease}.tiptap [data-resize-handle]:hover{background:color-mix(in oklch,var(--foreground) 85%,transparent)}.tiptap [data-resize-wrapper]:hover [data-resize-handle],.tiptap [data-resize-wrapper]:focus-within [data-resize-handle],.tiptap [data-resize-state=true] [data-resize-handle]{opacity:1}.tiptap [data-resize-wrapper]:hover [data-resize-handle][data-resize-handle=top-left],.tiptap [data-resize-wrapper]:hover [data-resize-handle][data-resize-handle=top-right],.tiptap [data-resize-wrapper]:hover [data-resize-handle][data-resize-handle=bottom-left],.tiptap [data-resize-wrapper]:hover [data-resize-handle][data-resize-handle=bottom-right],.tiptap [data-resize-wrapper]:focus-within [data-resize-handle][data-resize-handle=top-left],.tiptap [data-resize-wrapper]:focus-within [data-resize-handle][data-resize-handle=top-right],.tiptap [data-resize-wrapper]:focus-within [data-resize-handle][data-resize-handle=bottom-left],.tiptap [data-resize-wrapper]:focus-within [data-resize-handle][data-resize-handle=bottom-right],.tiptap [data-resize-state=true] [data-resize-handle][data-resize-handle=top-left],.tiptap [data-resize-state=true] [data-resize-handle][data-resize-handle=top-right],.tiptap [data-resize-state=true] [data-resize-handle][data-resize-handle=bottom-left],.tiptap [data-resize-state=true] [data-resize-handle][data-resize-handle=bottom-right]{width:8px;height:8px}.tiptap [data-resize-wrapper]:hover [data-resize-handle][data-resize-handle=top-left],.tiptap [data-resize-wrapper]:focus-within [data-resize-handle][data-resize-handle=top-left],.tiptap [data-resize-state=true] [data-resize-handle][data-resize-handle=top-left]{top:-4px;left:-4px;cursor:nwse-resize}.tiptap [data-resize-wrapper]:hover [data-resize-handle][data-resize-handle=top-right],.tiptap [data-resize-wrapper]:focus-within [data-resize-handle][data-resize-handle=top-right],.tiptap [data-resize-state=true] [data-resize-handle][data-resize-handle=top-right]{top:-4px;right:-4px;cursor:nesw-resize}.tiptap [data-resize-wrapper]:hover [data-resize-handle][data-resize-handle=bottom-left],.tiptap [data-resize-wrapper]:focus-within [data-resize-handle][data-resize-handle=bottom-left],.tiptap [data-resize-state=true] [data-resize-handle][data-resize-handle=bottom-left]{bottom:-4px;left:-4px;cursor:nesw-resize}.tiptap [data-resize-wrapper]:hover [data-resize-handle][data-resize-handle=bottom-right],.tiptap [data-resize-wrapper]:focus-within [data-resize-handle][data-resize-handle=bottom-right],.tiptap [data-resize-state=true] [data-resize-handle][data-resize-handle=bottom-right]{bottom:-4px;right:-4px;cursor:nwse-resize}.tiptap [data-resize-wrapper]:hover [data-resize-handle][data-resize-handle=top],.tiptap [data-resize-wrapper]:hover [data-resize-handle][data-resize-handle=bottom],.tiptap [data-resize-wrapper]:focus-within [data-resize-handle][data-resize-handle=top],.tiptap [data-resize-wrapper]:focus-within [data-resize-handle][data-resize-handle=bottom],.tiptap [data-resize-state=true] [data-resize-handle][data-resize-handle=top],.tiptap [data-resize-state=true] [data-resize-handle][data-resize-handle=bottom]{height:6px;left:8px;right:8px}.tiptap [data-resize-wrapper]:hover [data-resize-handle][data-resize-handle=top],.tiptap [data-resize-wrapper]:focus-within [data-resize-handle][data-resize-handle=top],.tiptap [data-resize-state=true] [data-resize-handle][data-resize-handle=top]{top:-3px;cursor:ns-resize}.tiptap [data-resize-wrapper]:hover [data-resize-handle][data-resize-handle=bottom],.tiptap [data-resize-wrapper]:focus-within [data-resize-handle][data-resize-handle=bottom],.tiptap [data-resize-state=true] [data-resize-handle][data-resize-handle=bottom]{bottom:-3px;cursor:ns-resize}.tiptap [data-resize-wrapper]:hover [data-resize-handle][data-resize-handle=left],.tiptap [data-resize-wrapper]:hover [data-resize-handle][data-resize-handle=right],.tiptap [data-resize-wrapper]:focus-within [data-resize-handle][data-resize-handle=left],.tiptap [data-resize-wrapper]:focus-within [data-resize-handle][data-resize-handle=right],.tiptap [data-resize-state=true] [data-resize-handle][data-resize-handle=left],.tiptap [data-resize-state=true] [data-resize-handle][data-resize-handle=right]{width:6px;top:8px;bottom:8px}.tiptap [data-resize-wrapper]:hover [data-resize-handle][data-resize-handle=left],.tiptap [data-resize-wrapper]:focus-within [data-resize-handle][data-resize-handle=left],.tiptap [data-resize-state=true] [data-resize-handle][data-resize-handle=left]{left:-3px;cursor:ew-resize}.tiptap [data-resize-wrapper]:hover [data-resize-handle][data-resize-handle=right],.tiptap [data-resize-wrapper]:focus-within [data-resize-handle][data-resize-handle=right],.tiptap [data-resize-state=true] [data-resize-handle][data-resize-handle=right]{right:-3px;cursor:ew-resize}.tiptap [data-resize-state=true] [data-resize-wrapper]{outline:1px solid rgba(0,0,0,.25);border-radius:.125rem}.tiptap pre{background:#1e1e1e;border-radius:.5rem;color:#d4d4d4;font-family:Fira Code,Menlo,Monaco,Courier New,monospace;padding:1rem;margin:1rem 0;overflow-x:auto}.tiptap pre code{background:none;color:inherit;font-size:.875rem;padding:0}.tiptap .hljs-comment,.tiptap .hljs-quote{color:#6a9955;font-style:italic}.tiptap .hljs-keyword,.tiptap .hljs-selector-tag,.tiptap .hljs-addition{color:#569cd6}.tiptap .hljs-number,.tiptap .hljs-string,.tiptap .hljs-meta .hljs-meta-string,.tiptap .hljs-literal,.tiptap .hljs-doctag,.tiptap .hljs-regexp{color:#ce9178}.tiptap .hljs-title,.tiptap .hljs-section,.tiptap .hljs-name,.tiptap .hljs-selector-id,.tiptap .hljs-selector-class{color:#dcdcaa}.tiptap .hljs-attribute,.tiptap .hljs-attr,.tiptap .hljs-variable,.tiptap .hljs-template-variable,.tiptap .hljs-class .hljs-title,.tiptap .hljs-type{color:#4ec9b0}.tiptap .hljs-symbol,.tiptap .hljs-bullet,.tiptap .hljs-subst,.tiptap .hljs-meta,.tiptap .hljs-meta .hljs-keyword,.tiptap .hljs-selector-attr,.tiptap .hljs-selector-pseudo,.tiptap .hljs-link{color:#d7ba7d}.tiptap .hljs-built_in,.tiptap .hljs-deletion{color:#ce9178}.tiptap .hljs-formula{background:#1e1e1e}.tiptap .hljs-emphasis{font-style:italic}.tiptap .hljs-strong{font-weight:700}.code-block-wrapper{position:relative;margin:1rem 0;border-radius:.5rem;overflow:hidden;background:#1e1e1e!important}.code-block-wrapper .code-block-header{display:flex;align-items:center;justify-content:space-between;padding:.25rem .5rem;background:#2d2d2d!important;border-bottom:1px solid #3d3d3d}.code-block-wrapper pre{margin:0;padding:1rem;background:transparent!important;border-radius:0;overflow-x:auto}.code-block-wrapper pre code{display:block;background:none!important;color:#d4d4d4;font-family:Fira Code,Menlo,Monaco,Courier New,monospace;font-size:.875rem;padding:0}.tiptap table.tiptap-table{border-collapse:collapse!important;width:calc(100% - 52px);margin:1rem 0 1rem 26px;table-layout:auto;border-width:1px!important;border-style:solid!important;border-color:var(--border)!important}.tiptap table.tiptap-table colgroup{display:none}.tiptap table.tiptap-table td,.tiptap table.tiptap-table th{border-width:1px!important;border-style:solid!important;border-color:var(--border)!important;padding:.5rem .75rem!important;vertical-align:top;position:relative;min-width:80px;box-sizing:border-box}.tiptap table.tiptap-table th{font-weight:600;background-color:var(--muted)!important;text-align:left;border-bottom-width:2px!important}.tiptap table.tiptap-table tbody tr:hover td{background-color:color-mix(in oklch,var(--muted) 50%,transparent)}.tiptap table.tiptap-table td p,.tiptap table.tiptap-table th p{margin:0}.tiptap table.tiptap-table .selectedCell{background-color:color-mix(in oklch,var(--accent) 40%,transparent)!important}.table-controls-wrapper{pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5}.table-column-handles{pointer-events:auto;position:absolute;display:flex;height:24px;opacity:0;transition:opacity .15s ease}.table-controls-wrapper:hover .table-column-handles,.table-column-handles:has([data-state=open]){opacity:1}.table-column-handle{display:flex;align-items:center;justify-content:center;height:100%;border:none;background-color:color-mix(in oklch,var(--muted) 50%,transparent);color:var(--muted-foreground);cursor:pointer;transition:background-color .15s ease,color .15s ease;padding:0;outline:none}.table-column-handle:first-child{border-top-left-radius:4px}.table-column-handle:last-child{border-top-right-radius:4px}.table-column-handle:hover,.table-column-handle[data-state=open]{background-color:var(--accent);color:var(--accent-foreground)}.table-row-handles{pointer-events:auto;position:absolute;display:flex;flex-direction:column;width:24px;opacity:0;transition:opacity .15s ease}.table-controls-wrapper:hover .table-row-handles,.table-row-handles:has([data-state=open]){opacity:1}.table-row-handle{display:flex;align-items:center;justify-content:center;width:100%;border:none;background-color:color-mix(in oklch,var(--muted) 50%,transparent);color:var(--muted-foreground);cursor:pointer;transition:background-color .15s ease,color .15s ease;padding:0;outline:none}.table-row-handle:first-child{border-top-left-radius:4px}.table-row-handle:last-child{border-bottom-left-radius:4px}.table-row-handle:hover,.table-row-handle[data-state=open]{background-color:var(--accent);color:var(--accent-foreground)}.table-add-column{pointer-events:auto;position:absolute;display:flex;align-items:center;justify-content:center;width:24px;border:1px dashed var(--border);border-left:none;border-top-right-radius:4px;border-bottom-right-radius:4px;background-color:transparent;color:var(--muted-foreground);cursor:pointer;transition:background-color .15s ease,color .15s ease,border-color .15s ease;padding:0;outline:none;opacity:0}.table-controls-wrapper:hover .table-add-column{opacity:1}.table-add-column:hover{background-color:color-mix(in oklch,var(--accent) 40%,transparent);border-color:var(--border);border-style:solid;color:var(--accent-foreground)}.table-add-row{pointer-events:auto;position:absolute;display:flex;align-items:center;justify-content:center;height:24px;border:1px dashed var(--border);border-top:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px;background-color:transparent;color:var(--muted-foreground);cursor:pointer;transition:background-color .15s ease,color .15s ease,border-color .15s ease;padding:0;outline:none;opacity:0}.table-controls-wrapper:hover .table-add-row{opacity:1}.table-add-row:hover{background-color:color-mix(in oklch,var(--accent) 40%,transparent);border-color:var(--border);border-style:solid;color:var(--accent-foreground)}.tiptap.format-painter-active{outline:2px solid color-mix(in oklch,var(--primary) 50%,transparent);outline-offset:2px;border-radius:.25rem}.rte-toolbar button[data-active=true]{background-color:color-mix(in oklch,var(--primary) 15%,transparent);color:var(--primary);box-shadow:inset 0 0 0 1px color-mix(in oklch,var(--primary) 30%,transparent)}.rte-toolbar button[data-active=true]:hover{background-color:color-mix(in oklch,var(--primary) 22%,transparent);color:var(--primary)}
