.msp-editor,.msp-content{--primary:var(--primary-black);--primary-foreground:var(--primary-white);--border:var(--gray-200);--muted:var(--gray-100);--muted-foreground:var(--gray-500);--radius-sm:4px;--radius-md:6px;--font-mono:ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;--editor-accent:var(--primary);--editor-accent-foreground:var(--primary-foreground);--editor-selection:color-mix(in oklch, var(--editor-accent) 18%, transparent);--editor-code-bg:color-mix(in oklch, var(--muted) 70%, transparent);--editor-link:#155dfc;--editor-content-width:100%;--editor-block-gap:1.5rem;--editor-paragraph-gap:20px;--editor-cell-padding-block:.625rem;--editor-cell-padding-inline:.875rem}@supports (color:lab(0% 0 0)){.msp-editor,.msp-content{--editor-link:lab(44.0605% 29.0279 -86.0352)}}.dark .msp-editor,.dark .msp-content{--editor-link:#54a2ff}@supports (color:lab(0% 0 0)){.dark .msp-editor,.dark .msp-content{--editor-link:lab(65.0361% -1.42065 -56.9802)}}
.msp-editor .tiptap.ProseMirror{white-space:pre-wrap;caret-color:var(--editor-accent);outline:none}.msp-editor .tiptap.ProseMirror,.msp-content{max-width:var(--editor-content-width);margin-inline:auto}.msp-editor .tiptap.ProseMirror>*{position:relative}.msp-editor .tiptap.ProseMirror:not(.ProseMirror-hideselection) ::-moz-selection{background-color:var(--editor-selection)}.msp-editor .tiptap.ProseMirror:not(.ProseMirror-hideselection) ::selection{background-color:var(--editor-selection)}.msp-editor .tiptap.ProseMirror .selection{background-color:var(--editor-selection);display:inline}.msp-editor .tiptap.ProseMirror .selection::selection{background:0 0}.msp-editor .tiptap.ProseMirror .ProseMirror-selectednode:not(img):not(pre):not(.react-renderer){border-radius:var(--radius-md);background-color:var(--editor-selection)}.msp-editor .tiptap.ProseMirror .ProseMirror-hideselection{caret-color:#0000}.msp-editor .tiptap.ProseMirror.resize-cursor{cursor:ew-resize;cursor:col-resize}.msp-editor .tiptap.ProseMirror p,.msp-content p{font-size:1rem;font-weight:400;line-height:1.6}.msp-editor .tiptap.ProseMirror p:not(:first-child):not(td p):not(th p),.msp-content p:not(:first-child):not(td p):not(th p){margin-top:var(--editor-paragraph-gap)}.msp-editor .tiptap.ProseMirror a,.msp-content a{color:var(--editor-link);text-decoration:underline}.msp-editor .tiptap.ProseMirror span[style]>a,.msp-content span[style]>a{color:inherit}.msp-editor .tiptap.ProseMirror a span,.msp-content a span{text-decoration:underline}.msp-editor .tiptap.ProseMirror s span,.msp-content s span{text-decoration:line-through}.msp-editor .tiptap.ProseMirror u span,.msp-content u span{text-decoration:underline}.msp-editor .tiptap.ProseMirror mark,.msp-content mark{border-radius:var(--radius-sm);-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:.1em .25em}.msp-editor .tiptap.ProseMirror :is(h1,h2,h3,h4),.msp-content :is(h1,h2,h3,h4){color:inherit;font-style:inherit;position:relative}.msp-editor .tiptap.ProseMirror>:is(h1,h2,h3,h4):first-child,.msp-editor .tiptap.ProseMirror>.ProseMirror-widget+:is(h1,h2,h3,h4),.msp-content>:is(h1,h2,h3,h4):first-child{margin-top:0}.msp-editor .tiptap.ProseMirror h1,.msp-content h1{margin-top:3em;font-size:1.5em;font-weight:700}.msp-editor .tiptap.ProseMirror h2,.msp-content h2{margin-top:2.5em;font-size:1.25em;font-weight:700}.msp-editor .tiptap.ProseMirror h3,.msp-content h3{margin-top:2em;font-size:1.125em;font-weight:600}.msp-editor .tiptap.ProseMirror h4,.msp-content h4{margin-top:2em;font-size:1em;font-weight:600}.msp-editor .tiptap.ProseMirror :is(ol,ul),.msp-content :is(ol,ul){margin-top:1.5em;margin-bottom:1.5em;padding-left:1.5em}.msp-editor .tiptap.ProseMirror :is(ol,ul):first-child,.msp-content :is(ol,ul):first-child{margin-top:0}.msp-editor .tiptap.ProseMirror :is(ol,ul):last-child,.msp-content :is(ol,ul):last-child{margin-bottom:0}.msp-editor .tiptap.ProseMirror :is(ol,ul) :is(ol,ul),.msp-content :is(ol,ul) :is(ol,ul){margin-top:0;margin-bottom:0}.msp-editor .tiptap.ProseMirror li p,.msp-content li p{margin-top:0;line-height:1.6}.msp-editor .tiptap.ProseMirror ol,.msp-content ol{list-style:decimal}.msp-editor .tiptap.ProseMirror ol ol,.msp-content ol ol{list-style:lower-alpha}.msp-editor .tiptap.ProseMirror ol ol ol,.msp-content ol ol ol{list-style:lower-roman}.msp-editor .tiptap.ProseMirror ul:not([data-type=taskList]),.msp-content ul:not([data-type=taskList]){list-style:outside}.msp-editor .tiptap.ProseMirror ul:not([data-type=taskList]) ul,.msp-content ul:not([data-type=taskList]) ul{list-style:circle}.msp-editor .tiptap.ProseMirror ul:not([data-type=taskList]) ul ul,.msp-content ul:not([data-type=taskList]) ul ul{list-style:square}.msp-editor .tiptap.ProseMirror ul[data-type=taskList],.msp-content ul[data-type=taskList]{padding-left:.25em}.msp-editor .tiptap.ProseMirror ul[data-type=taskList] li,.msp-content ul[data-type=taskList] li{flex-direction:row;align-items:flex-start;list-style-type:none;display:flex}.msp-editor .tiptap.ProseMirror ul[data-type=taskList] li[data-checked=true]>div>p,.msp-content ul[data-type=taskList] li[data-checked=true]>div>p{opacity:.5;text-decoration:line-through}.msp-editor .tiptap.ProseMirror ul[data-type=taskList] li[data-checked=true]>div>p span,.msp-content ul[data-type=taskList] li[data-checked=true]>div>p span{text-decoration:line-through}.msp-editor .tiptap.ProseMirror ul[data-type=taskList] li label{padding-top:.375rem;padding-right:.5rem;position:relative}.msp-editor .tiptap.ProseMirror ul[data-type=taskList] li label input[type=checkbox]{opacity:0;width:0;height:0;position:absolute}.msp-editor .tiptap.ProseMirror ul[data-type=taskList] li label span{border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;background-color:var(--muted);width:1em;height:1em;transition:background-color 80ms ease-out,border-color 80ms ease-out;display:block;position:relative}.msp-editor .tiptap.ProseMirror ul[data-type=taskList] li label span:before{content:"";background-color:var(--editor-accent-foreground);opacity:0;width:.75em;height:.75em;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-webkit-mask:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.4142%204.58579C22.1953%205.36683%2022.1953%206.63317%2021.4142%207.41421L10.4142%2018.4142C9.63317%2019.1953%208.36684%2019.1953%207.58579%2018.4142L2.58579%2013.4142C1.80474%2012.6332%201.80474%2011.3668%202.58579%2010.5858C3.36683%209.80474%204.63317%209.80474%205.41421%2010.5858L9%2014.1716L18.5858%204.58579C19.3668%203.80474%2020.6332%203.80474%2021.4142%204.58579Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E) 50%/contain no-repeat;mask:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.4142%204.58579C22.1953%205.36683%2022.1953%206.63317%2021.4142%207.41421L10.4142%2018.4142C9.63317%2019.1953%208.36684%2019.1953%207.58579%2018.4142L2.58579%2013.4142C1.80474%2012.6332%201.80474%2011.3668%202.58579%2010.5858C3.36683%209.80474%204.63317%209.80474%205.41421%2010.5858L9%2014.1716L18.5858%204.58579C19.3668%203.80474%2020.6332%203.80474%2021.4142%204.58579Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E) 50%/contain no-repeat}.msp-editor .tiptap.ProseMirror ul[data-type=taskList] li label input[type=checkbox]:checked+span{background:var(--editor-accent);border-color:var(--editor-accent)}.msp-editor .tiptap.ProseMirror ul[data-type=taskList] li label input[type=checkbox]:checked+span:before{opacity:1}.msp-editor .tiptap.ProseMirror ul[data-type=taskList] li div,.msp-content ul[data-type=taskList] li div{flex:1;min-width:0}.msp-editor .tiptap.ProseMirror blockquote,.msp-content blockquote{margin:var(--editor-block-gap) 0;padding:.375em 0 .375em 1em;position:relative}.msp-editor .tiptap.ProseMirror blockquote p,.msp-content blockquote p{margin-top:0}.msp-editor .tiptap.ProseMirror blockquote:before,.msp-content blockquote:before{content:"";background-color:var(--foreground);width:.25em;position:absolute;inset:0 auto 0 0}.msp-editor .tiptap.ProseMirror code,.msp-content code{background-color:var(--editor-code-bg);color:var(--foreground);border:1px solid var(--border);font-family:var(--font-mono), monospace;border-radius:var(--radius-sm);padding:.1em .2em;font-size:.875em;line-height:1.4}.msp-editor .tiptap.ProseMirror pre,.msp-content pre{background-color:var(--muted);color:var(--foreground);border:1px solid var(--border);margin:var(--editor-block-gap) 0;border-radius:var(--radius-md);padding:1em;font-size:1rem;overflow-x:auto}.msp-editor .tiptap.ProseMirror pre code,.msp-content pre code{-webkit-text-fill-color:inherit;color:inherit;background-color:#0000;border:none;border-radius:0}.msp-editor .tiptap.ProseMirror hr,.msp-content hr{background-color:var(--border);border:none;height:1px}.msp-editor .tiptap.ProseMirror [data-type=horizontalRule],.msp-content [data-type=horizontalRule]{margin:2.25em 0;padding:.75rem 0}.msp-editor .tiptap.ProseMirror img,.msp-content img{border-radius:var(--radius-sm);max-width:100%;height:auto;display:block}.msp-editor .tiptap.ProseMirror p>img,.msp-content p>img{display:inline-block}.msp-editor .tiptap.ProseMirror>img:not([data-type=emoji] img),.msp-content>img{margin:var(--editor-block-gap) 0;outline:.125rem solid #0000}.msp-editor .tiptap.ProseMirror img:not([data-type=emoji] img).ProseMirror-selectednode{outline-color:var(--editor-accent)}.msp-editor .tiptap.ProseMirror .tiptap-image-nv{width:100%;margin:var(--editor-block-gap) 0;display:block}.msp-editor .tiptap.ProseMirror .tiptap-image-frame{width:fit-content;max-width:100%;position:relative}.msp-editor .tiptap.ProseMirror .tiptap-image-frame img{width:100%;height:auto;margin:0;display:block}.msp-editor .tiptap.ProseMirror .tiptap-image-nv[data-align=left] .tiptap-image-frame{margin-left:0;margin-right:auto}.msp-editor .tiptap.ProseMirror .tiptap-image-nv[data-align=center] .tiptap-image-frame{margin-left:auto;margin-right:auto}.msp-editor .tiptap.ProseMirror .tiptap-image-nv[data-align=right] .tiptap-image-frame{margin-left:auto;margin-right:0}.msp-editor .tiptap.ProseMirror .tiptap-image-nv[data-selected] .tiptap-image-frame{outline:2px solid var(--editor-accent);outline-offset:2px}.msp-editor .tiptap.ProseMirror .tiptap-resize-handle{background:var(--editor-accent);border:2px solid var(--background);cursor:nwse-resize;border-radius:9999px;width:12px;height:12px;position:absolute;bottom:-5px;right:-5px}.msp-editor .tiptap.ProseMirror img[data-align=left],.msp-content img[data-align=left]{margin-left:0;margin-right:auto}.msp-editor .tiptap.ProseMirror img[data-align=center],.msp-content img[data-align=center]{margin-left:auto;margin-right:auto}.msp-editor .tiptap.ProseMirror img[data-align=right],.msp-content img[data-align=right]{margin-left:auto;margin-right:0}.msp-editor .tiptap.ProseMirror .tableWrapper,.msp-content .tableWrapper{margin:var(--editor-block-gap) 0;overflow-x:auto}.msp-editor .tiptap.ProseMirror table,.msp-content table{border-collapse:collapse;box-sizing:border-box;table-layout:fixed;width:100%;margin:0;overflow:hidden}.msp-content table{margin:var(--editor-block-gap) 0}.msp-editor .tiptap.ProseMirror :is(td,th),.msp-content :is(td,th){border:1px solid var(--border);box-sizing:border-box;overflow-wrap:anywhere;min-width:1em;padding:var(--editor-cell-padding-block) var(--editor-cell-padding-inline);vertical-align:top;position:relative}.msp-editor .tiptap.ProseMirror :is(td,th)>*,.msp-content :is(td,th)>*{margin-bottom:0}.msp-content :is(td,th) p:empty:after{content:"";display:inline-block}.msp-editor .tiptap.ProseMirror th,.msp-content th{background-color:var(--muted);text-align:left;font-weight:600}.msp-content :is(td,th){padding:.75rem 1rem}.msp-content :is(td,th) p{line-height:1.75}.msp-editor .tiptap.ProseMirror .selectedCell:after{background:var(--editor-selection);content:"";pointer-events:none;z-index:2;position:absolute;inset:0}.msp-editor .tiptap.ProseMirror .column-resize-handle{background-color:var(--editor-accent);pointer-events:none;width:4px;position:absolute;top:0;bottom:-2px;right:-2px}.msp-editor .tiptap-iframe,.msp-content .tiptap-iframe{aspect-ratio:16/9;width:100%;margin:var(--editor-block-gap) 0;border-radius:var(--radius-md);position:relative;overflow:hidden}.msp-editor .tiptap-iframe :is(iframe,object),.msp-content .tiptap-iframe :is(iframe,object){border:0;width:100%;height:100%;position:absolute;inset:0}.msp-editor .tiptap-iframe[data-pdf],.msp-content .tiptap-iframe[data-pdf]{aspect-ratio:1/1.414}.msp-editor .tiptap.ProseMirror .tiptap-iframe :is(iframe,object){pointer-events:none}.msp-editor .tiptap.ProseMirror .tiptap-iframe.ProseMirror-selectednode,.msp-editor .tiptap.ProseMirror .tiptap-iframe[data-selected]{outline:2px solid var(--editor-accent);outline-offset:2px}.msp-editor .tiptap.ProseMirror .tiptap-iframe[data-selected]{overflow:visible}.msp-editor .tiptap-iframe[data-align=left],.msp-content .tiptap-iframe[data-align=left]{margin-left:0;margin-right:auto}.msp-editor .tiptap-iframe[data-align=center],.msp-content .tiptap-iframe[data-align=center]{margin-left:auto;margin-right:auto}.msp-editor .tiptap-iframe[data-align=right],.msp-content .tiptap-iframe[data-align=right]{margin-left:auto;margin-right:0}.msp-editor .tiptap.ProseMirror [data-type=emoji] img,.msp-content [data-type=emoji] img{cursor:text;width:1.25em;height:1.25em;display:inline-block}.msp-editor .is-empty[data-placeholder]:has(>.ProseMirror-trailingBreak:only-child):before{content:attr(data-placeholder);color:var(--muted-foreground);pointer-events:none;width:100%;height:0;text-align:inherit;position:absolute;left:0;right:0}.msp-editor .prosemirror-dropcursor-block,.msp-editor .prosemirror-dropcursor-inline{border-radius:var(--radius-sm);cursor:grabbing;width:100%;height:.188rem;margin-left:-1px;margin-right:-1px;background:var(--editor-accent)!important}