.image-position-toolbar{border:1px solid hsl(var(--border));opacity:0;pointer-events:none;z-index:10;background:#ffffffeb;border-radius:6px;gap:2px;padding:3px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px;box-shadow:0 2px 8px #0000001f}.relative.group:hover .image-position-toolbar,.upload-node--selected .image-position-toolbar,.upload-media-container .image-position-toolbar{opacity:1;pointer-events:auto}.image-position-btn{cursor:pointer;width:26px;height:26px;color:hsl(var(--muted-foreground));background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;transition:background .1s,color .1s;display:inline-flex}.image-position-btn:hover{background:hsl(var(--muted));color:hsl(var(--foreground))}.image-position-btn--active{background:hsl(var(--primary) / .15);color:hsl(var(--primary))}[data-type=side-by-side]{align-items:flex-start;gap:12px;margin:8px 0;display:flex}[data-type=side-by-side]>*{flex:1;min-width:0}[data-type=side-by-side] .tiptap-img-float-left,[data-type=side-by-side] .tiptap-img-float-right{float:none;max-width:100%;margin:0;display:block}@media (max-width:480px){[data-type=side-by-side]{flex-direction:column}}.tiptap-img-block{width:auto;max-width:100%;height:auto;max-height:90vh;display:block}.tiptap-img-center{width:auto;max-width:100%;height:auto;max-height:90vh;margin-left:auto;margin-right:auto;display:block}.tiptap-img-float-left{float:left;max-width:50%;height:auto;margin:0 1em .5em 0}.tiptap-img-float-right{float:right;max-width:50%;height:auto;margin:0 0 .5em 1em}.upload-position-center{justify-content:center;width:100%;display:flex!important}.upload-position-float-left{float:left;max-width:50%;margin:0 1em .5em 0}.upload-position-float-right{float:right;max-width:50%;margin:0 0 .5em 1em}:is(.ProseMirror p:has(.tiptap-img-float-left),.ProseMirror p:has(.tiptap-img-float-right)){overflow:hidden}@media (max-width:640px){.tiptap-img-float-left,.tiptap-img-float-right{float:none;max-width:100%;margin:0 auto .5em;display:block}}.tiptap-editor-content{flex-direction:column;display:flex}.tiptap-editor-content>div{flex-direction:column;flex:1;display:flex}.tiptap-editor-content .ProseMirror{min-height:inherit;outline:none;flex:1;padding:.75rem 1rem}.tiptap-editor-content .ProseMirror a{color:hsl(var(--primary));text-underline-offset:2px;cursor:pointer;text-decoration:underline;transition:opacity .15s}.tiptap-editor-content .ProseMirror a:hover{opacity:.8}.tiptap-editor-content .ProseMirror>*+*{margin-top:.5em}.tiptap-editor-content .ProseMirror.ProseMirror-focused .is-editor-empty:before{content:attr(data-placeholder);color:#9ca3af;float:left;pointer-events:none;height:0}.tiptap-content h1{margin-top:1.5rem;margin-bottom:.5rem;font-size:1.875rem;font-weight:700;line-height:1.2}.tiptap-content h2{margin-top:1.25rem;margin-bottom:.5rem;font-size:1.5rem;font-weight:600;line-height:1.3}.tiptap-content h3{margin-top:1rem;margin-bottom:.375rem;font-size:1.25rem;font-weight:600;line-height:1.4}.tiptap-content h4{margin-top:.75rem;margin-bottom:.25rem;font-size:1.125rem;font-weight:600;line-height:1.4}.tiptap-content p{margin:.25em 0}.tiptap-content ul{padding-left:1.5rem;list-style-type:disc}.tiptap-content ol{padding-left:1.5rem;list-style-type:decimal}.tiptap-content li{margin:.15em 0}.tiptap-content ul[data-type=taskList]{padding-left:0;list-style:none}.tiptap-content ul[data-type=taskList] li{align-items:flex-start;gap:.5rem;display:flex}.tiptap-content ul[data-type=taskList] li>label{flex-shrink:0;margin-top:.25rem}.tiptap-content ul[data-type=taskList] li>label input[type=checkbox]{accent-color:#3b82f6;cursor:pointer;width:1rem;height:1rem}.tiptap-content ul[data-type=taskList] li[data-checked=true]>div>p{opacity:.6;text-decoration:line-through}.tiptap-content blockquote{color:#6b7280;border-left:3px solid #3b82f6;margin:.75rem 0;padding-left:1rem;font-style:italic}.tiptap-content hr{border:none;border-top:2px solid #e5e7eb;margin:1rem 0}.tiptap-content code:not(pre code){color:#dc2626;background:#f3f4f6;border-radius:.25rem;padding:.15em .35em;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,monospace;font-size:.875em}.tiptap-content img,.ProseMirror img,.prose img{border-radius:.5rem;max-width:100%;height:auto;margin:.5rem 0;border:1px solid #e2e8f0!important}.tiptap-content video{border-radius:.5rem;max-width:100%;margin:.5rem 0}.upload-node-wrapper{margin:.5rem 0}.upload-node--selected .upload-media-container,.upload-node-wrapper.ProseMirror-selectednode .upload-media-container{outline:2px solid hsl(var(--primary));outline-offset:2px;border-radius:.5rem}.upload-image-success{border:1px solid hsl(var(--border));border-radius:.5rem;width:auto;max-width:100%;height:auto;max-height:90vh}.upload-video-success{border-radius:.5rem;max-width:100%}.upload-media-container{border-radius:.5rem;max-width:100%;display:inline-block;position:relative;overflow:hidden}.upload-media-preview{border-radius:.5rem;max-width:100%;height:auto;display:block}.upload-media-placeholder{background:#f3f4f6;border-radius:.5rem;width:100%;min-height:200px}.upload-media--loading{border:2px solid #e5e7eb}.upload-media-shimmer{pointer-events:none;background:linear-gradient(90deg,#fff0 0%,#fff6 50%,#fff0 100%) 0 0/200% 100%;border-radius:.5rem;animation:1.5s ease-in-out infinite upload-shimmer;position:absolute;inset:0}@keyframes upload-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.upload-media--failed{border:2px solid #ef4444;border-radius:.5rem}.upload-media--failed .upload-media-preview{opacity:.6;filter:grayscale(.3)}.upload-failed-overlay{background:#00000059;border-radius:.375rem;flex-direction:column;justify-content:center;align-items:center;gap:.75rem;display:flex;position:absolute;inset:0}.upload-failed-badge{color:#fff;background:#dc2626;border-radius:9999px;align-items:center;gap:.375rem;padding:.375rem .75rem;font-size:.8125rem;font-weight:600;display:flex}.upload-failed-actions{gap:.5rem;display:flex}.upload-action-btn{cursor:pointer;border:none;border-radius:.375rem;align-items:center;gap:.25rem;padding:.375rem .75rem;font-size:.8125rem;font-weight:500;transition:background-color .15s,opacity .15s;display:flex}.upload-action-btn:hover{opacity:.9}.upload-action-retry{color:#374151;background:#fff}.upload-action-retry:hover{background:#f3f4f6}.upload-action-delete{color:#fff;background:#ffffff26}.upload-action-delete:hover{background:#ffffff40}.upload-expand-btn{color:#fff;cursor:pointer;opacity:.8;z-index:5;background:#00000080;border:none;border-radius:.375rem;justify-content:center;align-items:center;width:2rem;height:2rem;transition:opacity .15s,background-color .15s;display:flex;position:absolute;top:.5rem;left:.5rem}.upload-expand-btn:hover{opacity:1;background:#000000b3}.tiptap-content .tiptap-table{border-collapse:collapse;table-layout:fixed;border-radius:.375rem;width:100%;margin:1rem 0;overflow:hidden}.prose .tiptap-table,.prose .tiptap-table thead,.prose .tiptap-table tbody,.prose .tiptap-table tr{border-style:none}.tiptap-content .tiptap-table td,.tiptap-content .tiptap-table th{vertical-align:top;word-wrap:break-word;min-width:80px;padding:.5rem .75rem;position:relative;overflow:hidden;border:1px solid hsl(var(--border,220 13% 83%))!important}.tiptap-content .tiptap-table th{background:hsl(var(--muted,220 14% 96%));text-align:left;font-weight:600}.tiptap-content .tiptap-table .selectedCell{background:hsl(var(--primary,221 83% 53%) / .1)}.tiptap-editor-content .tableWrapper{margin:.75rem 0;overflow-x:auto}.tiptap-editor-content .tableWrapper .tiptap-table{margin:0}.tiptap-editor-content .column-resize-handle{background-color:hsl(var(--primary,221 83% 53%));pointer-events:none;z-index:10;width:4px;position:absolute;top:0;bottom:-2px;right:-2px}.tiptap-editor-content .resize-cursor{cursor:col-resize}.tiptap-content .tiptap-table colgroup{display:table-column-group}.tiptap-content .tiptap-table col{display:table-column}.toggle-list{margin:.25rem 0}.toggle-list-content{padding-left:.25rem}.tiptap-content .mention{color:#1d4ed8;white-space:nowrap;cursor:default;background:#dbeafe;border-radius:9999px;align-items:center;padding:.05em .5em;font-size:.875em;font-weight:500;display:inline-flex}.dark .tiptap-content code:not(pre code){color:#fca5a5;background:#374151}.dark .tiptap-content blockquote{color:#9ca3af;border-left-color:#60a5fa}.dark .tiptap-content hr{border-top-color:#374151}.dark .tiptap-content .mention{color:#93c5fd;background:#1e3a5f}.dark .upload-media-placeholder{background:#1f2937}.dark .upload-media--loading{border-color:#374151}.dark .upload-media-shimmer{background:linear-gradient(90deg,#fff0 0%,#ffffff14 50%,#fff0 100%) 0 0/200% 100%}.tippy-box[data-placement]{box-shadow:none;background:0 0;border:none;border-radius:0;padding:0}.slash-menu-popup{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;min-width:340px;max-height:400px;padding:.375rem;overflow-y:auto;box-shadow:0 10px 25px -5px #0000001a,0 4px 10px -5px #0000000a}.slash-menu-separator{background:#e5e7eb;height:1px;margin:.25rem -.375rem}.slash-menu-category{text-transform:uppercase;letter-spacing:.05em;color:#9ca3af;padding:.5rem .625rem .375rem;font-size:.6875rem;font-weight:600}.slash-menu-item{text-align:left;cursor:pointer;color:#374151;background:0 0;border:none;border-radius:.5rem;outline:none;align-items:center;gap:.625rem;width:100%;padding:.5rem .625rem;transition:background-color .15s;display:flex}.slash-menu-item:hover,.slash-menu-item[data-highlighted]{background:#f3f4f6}.slash-menu-icon{color:#6b7280;background:#f3f4f6;border-radius:.375rem;flex-shrink:0;justify-content:center;align-items:center;width:1.75rem;height:1.75rem;display:flex}[data-category=text][data-cat-index="0"]>.slash-menu-icon{color:#1d4ed8;background:#bfdbfe}[data-category=text][data-cat-index="1"]>.slash-menu-icon{color:#2563eb;background:#dbeafe}[data-category=text][data-cat-index="2"]>.slash-menu-icon{color:#3b82f6;background:#e8f0fe}[data-category=text][data-cat-index="3"]>.slash-menu-icon{color:#60a5fa;background:#eff6ff}[data-category=lists][data-cat-index="0"]>.slash-menu-icon{color:#047857;background:#a7f3d0}[data-category=lists][data-cat-index="1"]>.slash-menu-icon{color:#059669;background:#d1fae5}[data-category=lists][data-cat-index="2"]>.slash-menu-icon{color:#10b981;background:#e0faf0}[data-category=lists][data-cat-index="3"]>.slash-menu-icon{color:#34d399;background:#ecfdf5}[data-category=blocks][data-cat-index="0"]>.slash-menu-icon{color:#5b21b6;background:#ddd6fe}[data-category=blocks][data-cat-index="1"]>.slash-menu-icon{color:#7c3aed;background:#ede9fe}[data-category=blocks][data-cat-index="2"]>.slash-menu-icon{color:#8b5cf6;background:#f3f0ff}[data-category=blocks][data-cat-index="3"]>.slash-menu-icon{color:#a78bfa;background:#f5f3ff}[data-category=media][data-cat-index="0"]>.slash-menu-icon{color:#c2410c;background:#fed7aa}[data-category=media][data-cat-index="1"]>.slash-menu-icon{color:#ea580c;background:#ffedd5}[data-category=media][data-cat-index="2"]>.slash-menu-icon{color:#f97316;background:#fff4e6}[data-category=media][data-cat-index="3"]>.slash-menu-icon{color:#fb923c;background:#fff7ed}[data-highlighted]>.slash-menu-icon{filter:saturate(1.2)brightness(.95)}.dark .slash-menu-popup{background:#16162a;border-color:#252540;box-shadow:0 10px 25px -5px #00000080,0 4px 10px -5px #0000004d}.dark .slash-menu-category{color:#4b5563}.dark .slash-menu-item{color:#9ca3af}.dark .slash-menu-separator{background:#252540}.dark .slash-menu-item:hover,.dark .slash-menu-item[data-highlighted]{background:#ffffff0d}.dark .slash-menu-icon{color:#6b7280;background:#ffffff0f}.dark [data-category=text][data-cat-index="0"]>.slash-menu-icon{color:#93bbfd;background:#3b82f640}.dark [data-category=text][data-cat-index="1"]>.slash-menu-icon{color:#60a5fa;background:#3b82f62e}.dark [data-category=text][data-cat-index="2"]>.slash-menu-icon{color:#93c5fd;background:#3b82f61f}.dark [data-category=text][data-cat-index="3"]>.slash-menu-icon{color:#bfdbfe;background:#3b82f614}.dark [data-category=lists][data-cat-index="0"]>.slash-menu-icon{color:#6ee7b7;background:#10b98140}.dark [data-category=lists][data-cat-index="1"]>.slash-menu-icon{color:#34d399;background:#10b9812e}.dark [data-category=lists][data-cat-index="2"]>.slash-menu-icon{color:#6ee7b7;background:#10b9811f}.dark [data-category=lists][data-cat-index="3"]>.slash-menu-icon{color:#a7f3d0;background:#10b98114}.dark [data-category=blocks][data-cat-index="0"]>.slash-menu-icon{color:#c4b5fd;background:#8b5cf640}.dark [data-category=blocks][data-cat-index="1"]>.slash-menu-icon{color:#a78bfa;background:#8b5cf62e}.dark [data-category=blocks][data-cat-index="2"]>.slash-menu-icon{color:#c4b5fd;background:#8b5cf61f}.dark [data-category=blocks][data-cat-index="3"]>.slash-menu-icon{color:#ddd6fe;background:#8b5cf614}.dark [data-category=media][data-cat-index="0"]>.slash-menu-icon{color:#fdba74;background:#fb923c40}.dark [data-category=media][data-cat-index="1"]>.slash-menu-icon{color:#fb923c;background:#fb923c2e}.dark [data-category=media][data-cat-index="2"]>.slash-menu-icon{color:#fdba74;background:#fb923c1f}.dark [data-category=media][data-cat-index="3"]>.slash-menu-icon{color:#fed7aa;background:#fb923c14}.dark [data-highlighted]>.slash-menu-icon{filter:saturate(1.3)brightness(1.1)}
.tiptap-content .code-block-lowlight{border-radius:.5rem;margin:.75rem 0;position:relative;overflow:hidden}.tiptap-content .code-block-lowlight pre{margin:0;padding:1rem;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:.8125rem;line-height:1.6;overflow-x:auto}.tiptap-content .code-block-lowlight code{color:inherit;font-size:inherit;background:0 0;border-radius:0;padding:0}.tiptap-content .code-block-lowlight select{cursor:pointer;border:1px solid;border-radius:.25rem;outline:none;padding:.125rem .375rem;font-size:.6875rem;position:absolute;top:.5rem;right:.5rem}.tiptap-content .code-block-lowlight{background:#f8f8f8}.tiptap-content .code-block-lowlight pre{color:#383a42}.tiptap-content .code-block-lowlight select{color:#6a6a6a;background:#eaeaeb;border-color:#d0d0d0}.tiptap-content .code-block-lowlight select:hover{color:#383a42;border-color:#b0b0b0}.code-block-lowlight .hljs-comment,.code-block-lowlight .hljs-quote{color:#a0a1a7;font-style:italic}.code-block-lowlight .hljs-keyword,.code-block-lowlight .hljs-selector-tag,.code-block-lowlight .hljs-addition{color:#a626a4}.code-block-lowlight .hljs-number,.code-block-lowlight .hljs-string,.code-block-lowlight .hljs-meta .hljs-meta-string,.code-block-lowlight .hljs-literal,.code-block-lowlight .hljs-doctag,.code-block-lowlight .hljs-regexp{color:#50a14f}.code-block-lowlight .hljs-title,.code-block-lowlight .hljs-section,.code-block-lowlight .hljs-name,.code-block-lowlight .hljs-selector-id,.code-block-lowlight .hljs-selector-class{color:#c18401}.code-block-lowlight .hljs-attribute,.code-block-lowlight .hljs-attr,.code-block-lowlight .hljs-variable,.code-block-lowlight .hljs-template-variable,.code-block-lowlight .hljs-class .hljs-title,.code-block-lowlight .hljs-type{color:#e45649}.code-block-lowlight .hljs-symbol,.code-block-lowlight .hljs-bullet,.code-block-lowlight .hljs-subst,.code-block-lowlight .hljs-meta,.code-block-lowlight .hljs-meta .hljs-keyword,.code-block-lowlight .hljs-selector-attr,.code-block-lowlight .hljs-selector-pseudo,.code-block-lowlight .hljs-link{color:#986801}.code-block-lowlight .hljs-built_in,.code-block-lowlight .hljs-deletion{color:#e45649}.code-block-lowlight .hljs-formula{color:#a626a4}.code-block-lowlight .hljs-emphasis{font-style:italic}.code-block-lowlight .hljs-strong{font-weight:700}.code-block-lowlight .hljs-params{color:#383a42}.code-block-lowlight .hljs-property{color:#e45649}.code-block-lowlight .hljs-punctuation{color:#383a42}.code-block-lowlight .hljs-tag,.code-block-lowlight .hljs-tag .hljs-name{color:#e45649}.code-block-lowlight .hljs-tag .hljs-attr{color:#986801}.dark .tiptap-content .code-block-lowlight,[data-theme=dark] .tiptap-content .code-block-lowlight{background:#1e1e1e}.dark .tiptap-content .code-block-lowlight pre,[data-theme=dark] .tiptap-content .code-block-lowlight pre{color:#d4d4d4}.dark .tiptap-content .code-block-lowlight select,[data-theme=dark] .tiptap-content .code-block-lowlight select{color:#858585;background:#2d2d2d;border-color:#3e3e3e}.dark .tiptap-content .code-block-lowlight select:hover,[data-theme=dark] .tiptap-content .code-block-lowlight select:hover{color:#ccc;border-color:#505050}.dark .code-block-lowlight .hljs-comment,.dark .code-block-lowlight .hljs-quote,[data-theme=dark] .code-block-lowlight .hljs-comment,[data-theme=dark] .code-block-lowlight .hljs-quote{color:#6a9955;font-style:italic}.dark .code-block-lowlight .hljs-keyword,.dark .code-block-lowlight .hljs-selector-tag,.dark .code-block-lowlight .hljs-addition,[data-theme=dark] .code-block-lowlight .hljs-keyword,[data-theme=dark] .code-block-lowlight .hljs-selector-tag,[data-theme=dark] .code-block-lowlight .hljs-addition{color:#569cd6}.dark .code-block-lowlight .hljs-number,.dark .code-block-lowlight .hljs-string,.dark .code-block-lowlight .hljs-meta .hljs-meta-string,.dark .code-block-lowlight .hljs-literal,.dark .code-block-lowlight .hljs-doctag,.dark .code-block-lowlight .hljs-regexp,[data-theme=dark] .code-block-lowlight .hljs-number,[data-theme=dark] .code-block-lowlight .hljs-string,[data-theme=dark] .code-block-lowlight .hljs-meta .hljs-meta-string,[data-theme=dark] .code-block-lowlight .hljs-literal,[data-theme=dark] .code-block-lowlight .hljs-doctag,[data-theme=dark] .code-block-lowlight .hljs-regexp{color:#ce9178}.dark .code-block-lowlight .hljs-title,.dark .code-block-lowlight .hljs-section,.dark .code-block-lowlight .hljs-name,.dark .code-block-lowlight .hljs-selector-id,.dark .code-block-lowlight .hljs-selector-class,[data-theme=dark] .code-block-lowlight .hljs-title,[data-theme=dark] .code-block-lowlight .hljs-section,[data-theme=dark] .code-block-lowlight .hljs-name,[data-theme=dark] .code-block-lowlight .hljs-selector-id,[data-theme=dark] .code-block-lowlight .hljs-selector-class{color:#dcdcaa}.dark .code-block-lowlight .hljs-attribute,.dark .code-block-lowlight .hljs-attr,.dark .code-block-lowlight .hljs-variable,.dark .code-block-lowlight .hljs-template-variable,.dark .code-block-lowlight .hljs-class .hljs-title,.dark .code-block-lowlight .hljs-type,[data-theme=dark] .code-block-lowlight .hljs-attribute,[data-theme=dark] .code-block-lowlight .hljs-attr,[data-theme=dark] .code-block-lowlight .hljs-variable,[data-theme=dark] .code-block-lowlight .hljs-template-variable,[data-theme=dark] .code-block-lowlight .hljs-class .hljs-title,[data-theme=dark] .code-block-lowlight .hljs-type{color:#4ec9b0}.dark .code-block-lowlight .hljs-symbol,.dark .code-block-lowlight .hljs-bullet,.dark .code-block-lowlight .hljs-subst,.dark .code-block-lowlight .hljs-meta,.dark .code-block-lowlight .hljs-meta .hljs-keyword,.dark .code-block-lowlight .hljs-selector-attr,.dark .code-block-lowlight .hljs-selector-pseudo,.dark .code-block-lowlight .hljs-link,[data-theme=dark] .code-block-lowlight .hljs-symbol,[data-theme=dark] .code-block-lowlight .hljs-bullet,[data-theme=dark] .code-block-lowlight .hljs-subst,[data-theme=dark] .code-block-lowlight .hljs-meta,[data-theme=dark] .code-block-lowlight .hljs-meta .hljs-keyword,[data-theme=dark] .code-block-lowlight .hljs-selector-attr,[data-theme=dark] .code-block-lowlight .hljs-selector-pseudo,[data-theme=dark] .code-block-lowlight .hljs-link{color:#d7ba7d}.dark .code-block-lowlight .hljs-built_in,.dark .code-block-lowlight .hljs-deletion,[data-theme=dark] .code-block-lowlight .hljs-built_in,[data-theme=dark] .code-block-lowlight .hljs-deletion{color:#ce9178}.dark .code-block-lowlight .hljs-formula,[data-theme=dark] .code-block-lowlight .hljs-formula{color:#c586c0}.dark .code-block-lowlight .hljs-params,[data-theme=dark] .code-block-lowlight .hljs-params,.dark .code-block-lowlight .hljs-property,[data-theme=dark] .code-block-lowlight .hljs-property{color:#9cdcfe}.dark .code-block-lowlight .hljs-punctuation,[data-theme=dark] .code-block-lowlight .hljs-punctuation{color:#d4d4d4}.dark .code-block-lowlight .hljs-tag,[data-theme=dark] .code-block-lowlight .hljs-tag,.dark .code-block-lowlight .hljs-tag .hljs-name,[data-theme=dark] .code-block-lowlight .hljs-tag .hljs-name{color:#569cd6}.dark .code-block-lowlight .hljs-tag .hljs-attr,[data-theme=dark] .code-block-lowlight .hljs-tag .hljs-attr{color:#9cdcfe}@media (prefers-color-scheme:dark){.tiptap-content .code-block-lowlight{background:#1e1e1e}.tiptap-content .code-block-lowlight pre{color:#d4d4d4}.tiptap-content .code-block-lowlight select{color:#858585;background:#2d2d2d;border-color:#3e3e3e}.tiptap-content .code-block-lowlight select:hover{color:#ccc;border-color:#505050}.code-block-lowlight .hljs-comment,.code-block-lowlight .hljs-quote{color:#6a9955;font-style:italic}.code-block-lowlight .hljs-keyword,.code-block-lowlight .hljs-selector-tag,.code-block-lowlight .hljs-addition{color:#569cd6}.code-block-lowlight .hljs-number,.code-block-lowlight .hljs-string,.code-block-lowlight .hljs-meta .hljs-meta-string,.code-block-lowlight .hljs-literal,.code-block-lowlight .hljs-doctag,.code-block-lowlight .hljs-regexp{color:#ce9178}.code-block-lowlight .hljs-title,.code-block-lowlight .hljs-section,.code-block-lowlight .hljs-name,.code-block-lowlight .hljs-selector-id,.code-block-lowlight .hljs-selector-class{color:#dcdcaa}.code-block-lowlight .hljs-attribute,.code-block-lowlight .hljs-attr,.code-block-lowlight .hljs-variable,.code-block-lowlight .hljs-template-variable,.code-block-lowlight .hljs-class .hljs-title,.code-block-lowlight .hljs-type{color:#4ec9b0}.code-block-lowlight .hljs-symbol,.code-block-lowlight .hljs-bullet,.code-block-lowlight .hljs-subst,.code-block-lowlight .hljs-meta,.code-block-lowlight .hljs-meta .hljs-keyword,.code-block-lowlight .hljs-selector-attr,.code-block-lowlight .hljs-selector-pseudo,.code-block-lowlight .hljs-link{color:#d7ba7d}.code-block-lowlight .hljs-built_in,.code-block-lowlight .hljs-deletion{color:#ce9178}.code-block-lowlight .hljs-formula{color:#c586c0}.code-block-lowlight .hljs-params,.code-block-lowlight .hljs-property{color:#9cdcfe}.code-block-lowlight .hljs-punctuation{color:#d4d4d4}.code-block-lowlight .hljs-tag,.code-block-lowlight .hljs-tag .hljs-name{color:#569cd6}.code-block-lowlight .hljs-tag .hljs-attr{color:#9cdcfe}}
.vb-editor ul,.vb-editor ol{margin-top:.25rem;margin-bottom:.25rem}.vb-editor li,.vb-editor li p{margin-top:0;margin-bottom:0}.vb-editor ul[data-type=taskList]{padding-left:0;list-style:none}.vb-editor ul[data-type=taskList] li{align-items:flex-start;gap:.5rem;display:flex}.vb-editor ul[data-type=taskList] li>label{-webkit-user-select:none;user-select:none;flex-shrink:0;margin-top:.25rem}.vb-editor ul[data-type=taskList] li>label input[type=checkbox]{cursor:pointer;accent-color:hsl(var(--primary));width:1rem;height:1rem}.vb-editor ul[data-type=taskList] li>div{flex:1;min-width:0}.vb-editor ul[data-type=taskList] li[data-checked=true]>div>p{opacity:.6;text-decoration:line-through}.vb-editor table{border-collapse:collapse;table-layout:fixed;border-radius:.375rem;width:100%;margin:1rem 0;overflow:hidden}.vb-editor th,.vb-editor td{border:1px solid hsl(var(--border));vertical-align:top;min-width:80px;padding:.5rem .75rem;position:relative}.vb-editor th{background-color:hsl(var(--muted));font-weight:600}.vb-editor .selectedCell:after{content:"";background:hsl(var(--primary) / .1);pointer-events:none;position:absolute;inset:0}.vb-editor .column-resize-handle{background-color:hsl(var(--primary));pointer-events:none;width:4px;position:absolute;top:0;bottom:-2px;right:-2px}.vb-editor .tableWrapper{margin:1rem 0;overflow-x:auto}.vb-editor .resize-cursor{cursor:col-resize}.vb-editor pre{background:hsl(var(--muted));color:hsl(var(--foreground));border-radius:.5rem;padding:.75rem 1rem;font-family:JetBrains Mono,Fira Code,monospace;font-size:.875rem;overflow-x:auto}.vb-editor pre code{color:inherit;font-size:inherit;background:0 0;padding:0}.vb-editor pre .hljs-comment,.vb-editor pre .hljs-quote{color:#6a737d}.vb-editor pre .hljs-variable,.vb-editor pre .hljs-template-variable,.vb-editor pre .hljs-attribute,.vb-editor pre .hljs-tag,.vb-editor pre .hljs-regexp,.vb-editor pre .hljs-link,.vb-editor pre .hljs-name,.vb-editor pre .hljs-selector-id,.vb-editor pre .hljs-selector-class{color:#d73a49}.vb-editor pre .hljs-number,.vb-editor pre .hljs-meta,.vb-editor pre .hljs-built_in,.vb-editor pre .hljs-builtin-name,.vb-editor pre .hljs-literal,.vb-editor pre .hljs-type,.vb-editor pre .hljs-params{color:#e36209}.vb-editor pre .hljs-string,.vb-editor pre .hljs-symbol,.vb-editor pre .hljs-bullet{color:#22863a}.vb-editor pre .hljs-title,.vb-editor pre .hljs-section{color:#6f42c1}.vb-editor pre .hljs-keyword,.vb-editor pre .hljs-selector-tag{color:#005cc5}.dark .vb-editor pre .hljs-comment,.dark .vb-editor pre .hljs-quote{color:#8b949e}.dark .vb-editor pre .hljs-variable,.dark .vb-editor pre .hljs-template-variable,.dark .vb-editor pre .hljs-attribute,.dark .vb-editor pre .hljs-tag,.dark .vb-editor pre .hljs-regexp,.dark .vb-editor pre .hljs-link,.dark .vb-editor pre .hljs-name,.dark .vb-editor pre .hljs-selector-id,.dark .vb-editor pre .hljs-selector-class{color:#f98181}.dark .vb-editor pre .hljs-number,.dark .vb-editor pre .hljs-meta,.dark .vb-editor pre .hljs-built_in,.dark .vb-editor pre .hljs-builtin-name,.dark .vb-editor pre .hljs-literal,.dark .vb-editor pre .hljs-type,.dark .vb-editor pre .hljs-params{color:#fbbc88}.dark .vb-editor pre .hljs-string,.dark .vb-editor pre .hljs-symbol,.dark .vb-editor pre .hljs-bullet{color:#b9f18d}.dark .vb-editor pre .hljs-title,.dark .vb-editor pre .hljs-section{color:#faf594}.dark .vb-editor pre .hljs-keyword,.dark .vb-editor pre .hljs-selector-tag{color:#70cff8}.vb-editor hr{border:none;border-top:2px solid hsl(var(--border));margin:1.5rem 0}.vb-editor blockquote{border-left:3px solid hsl(var(--primary));color:hsl(var(--muted-foreground));margin-left:0;padding-left:1rem}.vb-editor img:not(.vb-editor-image){border-radius:.5rem;max-width:100%;height:auto;margin:.5rem 0}.vb-editor img.ProseMirror-selectednode,.vb-upload-image-wrapper.ProseMirror-selectednode .vb-editor-image{outline:2px solid hsl(var(--primary));outline-offset:2px}.vb-upload-image-wrapper{margin:.5rem 0;display:block}.vb-upload-image-container{border-radius:.5rem;display:inline-block;position:relative;overflow:hidden}.vb-editor-image{border-radius:.5rem;max-width:100%;height:auto;display:block}.vb-upload-uploading .vb-editor-image{opacity:.5}.vb-upload-shimmer{border-radius:inherit;pointer-events:none;position:absolute;inset:0;overflow:hidden}.vb-upload-shimmer:after{content:"";background:linear-gradient(90deg, transparent 0%, hsl(var(--primary) / .2) 50%, transparent 100%);animation:1.5s ease-in-out infinite vb-upload-shimmer;position:absolute;inset:0}@keyframes vb-upload-shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.vb-upload-error .vb-editor-image{outline:2px solid hsl(var(--destructive));outline-offset:2px;opacity:.5}.vb-upload-error-overlay{background:hsl(var(--destructive) / .08);border-radius:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.vb-upload-error-actions{gap:.5rem;display:flex}.vb-upload-btn{cursor:pointer;border:none;border-radius:.375rem;align-items:center;gap:.25rem;padding:.375rem .75rem;font-size:.75rem;font-weight:500;line-height:1;transition:background-color .15s,opacity .15s;display:inline-flex}.vb-upload-btn-retry{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.vb-upload-btn-retry:hover{opacity:.9}.vb-upload-btn-delete{background:hsl(var(--destructive));color:hsl(var(--destructive-foreground))}.vb-upload-btn-delete:hover{opacity:.9}.vb-media-wrapper{margin:.5rem 0;display:block}.vb-media-container{border-radius:.5rem;max-width:100%;display:inline-block;position:relative;overflow:hidden}.vb-media-audio-container{border-radius:.5rem;width:100%;position:relative;overflow:hidden}.vb-media-pulse-overlay{border-radius:inherit;background:hsl(var(--foreground) / .08);pointer-events:none;animation:1.5s ease-in-out infinite vb-media-pulse;position:absolute;inset:0}.vb-media-audio-pulse{pointer-events:none;border-radius:inherit;position:absolute;inset:0;overflow:hidden}.vb-media-audio-pulse-bar{background:hsl(var(--foreground) / .06);animation:1.5s ease-in-out infinite vb-media-pulse;position:absolute;inset:0}.vb-media-error{outline:2px solid hsl(var(--destructive));outline-offset:2px}.vb-media-error video,.vb-media-error audio{opacity:.5}.vb-media-uploading-label{color:hsl(var(--muted-foreground));align-items:center;gap:.375rem;padding:.375rem 0;font-size:.75rem;animation:1.5s ease-in-out infinite vb-media-pulse;display:flex}.vb-media-spinner{animation:1s linear infinite vb-media-spin}@keyframes vb-media-pulse{0%,to{opacity:1}50%{opacity:.3}}@keyframes vb-media-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vb-editor video{border-radius:.375rem;width:100%}.vb-editor audio{width:100%}.vb-editor .ProseMirror-selectednode img,.vb-editor .ProseMirror-selectednode video,.vb-editor .ProseMirror-selectednode audio{outline:2px solid hsl(var(--primary));outline-offset:2px}.vb-editor a{color:hsl(var(--primary));cursor:pointer;text-decoration:underline}.vb-editor mark{background-color:#fef08a;border-radius:.125rem;padding:.125rem 0}.vb-editor p.is-editor-empty:before{color:hsl(var(--muted-foreground));content:attr(data-placeholder);float:left;pointer-events:none;height:0}.vb-editor .mention{background-color:hsl(var(--primary) / .1);color:hsl(var(--primary));white-space:nowrap;border-radius:.25rem;padding:.125rem .25rem;font-weight:500}.vb-editor .mention[data-mention-type=group]{color:#1a9948;background-color:#21c45d1a}.vb-editor:focus-within,.vb-editor .ProseMirror:focus{outline:none}.vb-editor .ProseMirror-gapcursor:after{border-top:1px solid hsl(var(--foreground))}.vb-block-mode>p:last-child:empty{height:0;margin:0;padding:0;overflow:hidden}.vb-block-mode>p:last-child:has(>br:only-child){height:0;margin:0;padding:0;overflow:hidden}.tippy-box:has(.slash-command-list){height:auto!important;max-height:none!important;overflow:visible!important}.tippy-box:has(.slash-command-list)>.tippy-content{height:auto!important;max-height:none!important;padding:0!important;overflow:visible!important}
