.editor-wrapper{--editor-font-size:var(--text-base);--editor-line-height:1.75;--editor-heading-font-weight:700}.editor-content .tiptap{min-height:20rem;font-size:var(--editor-font-size);line-height:var(--editor-line-height);color:var(--foreground);caret-color:var(--primary);outline:none}.editor-content .tiptap:focus-visible{outline:none}.editor-content .tiptap h1{font-size:2em;font-weight:var(--editor-heading-font-weight);margin-top:1.5em;margin-bottom:.5em;line-height:1.2}.editor-content .tiptap h2{font-size:1.5em;font-weight:var(--editor-heading-font-weight);margin-top:1.25em;margin-bottom:.4em;line-height:1.3}.editor-content .tiptap h3{margin-top:1em;margin-bottom:.3em;font-size:1.25em;font-weight:600;line-height:1.4}.editor-content .tiptap h1:first-child,.editor-content .tiptap h2:first-child,.editor-content .tiptap h3:first-child{margin-top:0}.editor-content .tiptap p{margin-top:0;margin-bottom:.75em}.editor-content .tiptap p:last-child{margin-bottom:0}.editor-content .tiptap a{color:var(--primary);text-underline-offset:2px;cursor:pointer;text-decoration:underline}.editor-content .tiptap a:hover{opacity:.8}.editor-content .tiptap ul{margin-top:.5em;margin-bottom:.5em;padding-left:1.5em;list-style-type:disc}.editor-content .tiptap ol{margin-top:.5em;margin-bottom:.5em;padding-left:1.5em;list-style-type:decimal}.editor-content .tiptap li{margin-bottom:.25em}.editor-content .tiptap li p{margin-bottom:0}.editor-content .tiptap ul[data-type=taskList]{padding-left:0;list-style:none}.editor-content .tiptap ul[data-type=taskList] li{align-items:flex-start;gap:.5em;display:flex}.editor-content .tiptap ul[data-type=taskList] li>label{-webkit-user-select:none;user-select:none;flex-shrink:0;margin-top:.3em}.editor-content .tiptap ul[data-type=taskList] li>label input[type=checkbox]{accent-color:var(--primary);cursor:pointer;width:1em;height:1em}.editor-content .tiptap ul[data-type=taskList] li>div{flex:auto}.editor-content .tiptap ul[data-type=taskList] li[data-checked=true]>div p{opacity:.6;text-decoration:line-through}.editor-content .tiptap blockquote{border-left:3px solid var(--border);color:var(--muted-foreground);margin-top:.75em;margin-bottom:.75em;margin-left:0;padding-left:1em;font-style:italic}.editor-content .tiptap code{background-color:var(--muted);font-family:var(--font-mono);border-radius:3px;padding:.15em .35em;font-size:.875em}.editor-content .tiptap pre{background-color:var(--muted);border:1px solid var(--border);border-radius:6px;margin-top:.75em;margin-bottom:.75em;padding:.75em 1em;overflow-x:auto}.editor-content .tiptap pre code{color:var(--foreground);background:0 0;padding:0;font-size:.85em}.editor-content .tiptap hr{border:none;border-top:1px solid var(--border);margin-top:1.5em;margin-bottom:1.5em}.editor-content .tiptap img{cursor:pointer;border-radius:6px;max-width:100%;height:auto;margin-top:.75em;margin-bottom:.75em;transition:outline .15s}.editor-content .tiptap img[data-align=left]{margin-right:auto;display:block}.editor-content .tiptap img[data-align=center]{margin-left:auto;margin-right:auto;display:block}.editor-content .tiptap img[data-align=right]{margin-left:auto;display:block}.editor-content .tiptap img.ProseMirror-selectednode{outline:2px solid var(--primary);outline-offset:2px;cursor:ew-resize}.editor-content .tiptap img[data-flip-x=true]{transform:scaleX(-1)}.editor-content .tiptap img[data-flip-y=true]{transform:scaleY(-1)}.editor-content .tiptap img[data-flip-x=true][data-flip-y=true]{transform:scale(-1)}.editor-content .tiptap div[data-youtube-video]{margin-top:.75em;margin-bottom:.75em}.editor-content .tiptap div[data-youtube-video] iframe{aspect-ratio:16/9;border:1px solid var(--border);border-radius:6px;width:100%}.editor-content .tiptap table{border-collapse:collapse;width:100%;margin-top:.75em;margin-bottom:.75em;overflow:hidden}.editor-content .tiptap th,.editor-content .tiptap td{border:1px solid var(--border);text-align:left;vertical-align:top;min-width:80px;padding:.5em .75em;position:relative}.editor-content .tiptap th{background-color:var(--muted);font-weight:600}.editor-content .tiptap .selectedCell:after{content:"";background:var(--primary);opacity:.1;pointer-events:none;position:absolute;inset:0}.editor-content .tiptap .text-left{text-align:left}.editor-content .tiptap .text-center{text-align:center}.editor-content .tiptap .text-right{text-align:right}.editor-content .tiptap .text-justify{text-align:justify}.editor-content .tiptap.is-editor-empty>p:first-child:before{content:attr(data-placeholder);float:left;color:var(--muted-foreground);pointer-events:none;height:0}.editor-content .tiptap .ProseMirror-gapcursor:after{border-top-color:var(--foreground)}.editor-content .tiptap mark{background-color:var(--highlight);border-radius:2px;padding:.05em .1em}.editor-content .tiptap sup{vertical-align:super;font-size:.75em}.editor-content .tiptap sub{vertical-align:sub;font-size:.75em}.editor-content .tiptap ::selection{background:var(--primary);color:var(--primary-foreground)}.editor-wrapper[data-readonly=true] .editor-content .tiptap{cursor:default}.editor-content .tiptap pre code .hljs-comment,.editor-content .tiptap pre code .hljs-quote{color:var(--muted-foreground);font-style:italic}.editor-content .tiptap pre code .hljs-keyword,.editor-content .tiptap pre code .hljs-selector-tag,.editor-content .tiptap pre code .hljs-addition{color:var(--primary)}.editor-content .tiptap pre code .hljs-string,.editor-content .tiptap pre code .hljs-attr{color:var(--success)}.editor-content .tiptap pre code .hljs-number,.editor-content .tiptap pre code .hljs-literal{color:var(--warning)}.editor-content .tiptap pre code .hljs-title,.editor-content .tiptap pre code .hljs-section{color:var(--info)}.editor-content .tiptap pre code .hljs-built_in,.editor-content .tiptap pre code .hljs-type{color:var(--brand)}
