.mdxeditor{height:100%!important;border:none!important;background:transparent!important;display:flex!important;flex-direction:column!important}.mdxeditor .mdxeditor-toolbar{border-bottom:1px solid hsl(var(--border))!important;background:hsl(var(--background))!important;padding:.5rem!important;flex-shrink:0!important;display:flex!important;align-items:center!important;gap:.25rem!important;min-height:48px!important}.mdxeditor .mdxeditor-root-contenteditable{flex:1!important;padding:1rem!important;font-size:14px!important;line-height:1.6!important;min-height:0!important;background:transparent!important;color:hsl(var(--foreground))!important}.mdxeditor .mdxeditor-root-contenteditable:empty:before{content:"Start writing..."!important;color:hsl(var(--muted-foreground))!important;font-style:italic!important}.dark .mdxeditor,[data-theme=dark] .mdxeditor{color:hsl(var(--foreground))!important}.dark .mdxeditor .mdxeditor-toolbar,[data-theme=dark] .mdxeditor .mdxeditor-toolbar{border-color:hsl(var(--border))!important}.dark .mdxeditor .mdxeditor-root-contenteditable,[data-theme=dark] .mdxeditor .mdxeditor-root-contenteditable{background:transparent!important;color:hsl(var(--foreground))!important}.mdxeditor .mdxeditor-toolbar button{border-radius:.375rem!important;transition:all .2s!important;height:32px!important;min-width:32px!important;padding:.25rem!important;margin:0 .125rem!important}.mdxeditor .mdxeditor-toolbar button:hover{background-color:hsl(var(--accent))!important}.mdxeditor .mdxeditor-toolbar button[data-state=on]{background-color:hsl(var(--accent))!important;color:hsl(var(--accent-foreground))!important}.mdxeditor .mdxeditor-toolbar [role=separator]{background-color:hsl(var(--border))!important;margin:0 .5rem!important}.mdxeditor .mdxeditor-toolbar svg{width:16px!important;height:16px!important}.mdxeditor .mdxeditor-toolbar select{background:hsl(var(--background))!important;border:1px solid hsl(var(--border))!important;border-radius:.375rem!important;padding:.25rem .5rem!important;font-size:.875rem!important;color:hsl(var(--foreground))!important}.mdxeditor .mdxeditor-root-contenteditable{overflow-y:auto!important}.mdxeditor .mdxeditor-root-contenteditable p{margin:.5rem 0!important}.mdxeditor .mdxeditor-root-contenteditable h1,.mdxeditor .mdxeditor-root-contenteditable h2,.mdxeditor .mdxeditor-root-contenteditable h3,.mdxeditor .mdxeditor-root-contenteditable h4,.mdxeditor .mdxeditor-root-contenteditable h5,.mdxeditor .mdxeditor-root-contenteditable h6{margin:1rem 0 .5rem!important;font-weight:700!important}.mdxeditor .mdxeditor-root-contenteditable :focus,.mdxeditor .mdxeditor-root-contenteditable [contenteditable=true]:focus{outline:none!important;box-shadow:none!important}.mdxeditor .mdxeditor-root-contenteditable h1{font-size:1.875rem!important;line-height:2.25rem!important}.mdxeditor .mdxeditor-root-contenteditable h2{font-size:1.5rem!important;line-height:2rem!important}.mdxeditor .mdxeditor-root-contenteditable h3{font-size:1.25rem!important;line-height:1.75rem!important}.mdxeditor .mdxeditor-root-contenteditable h4{font-size:1.125rem!important;line-height:1.75rem!important}.mdxeditor .mdxeditor-root-contenteditable h5{font-size:1rem!important;line-height:1.5rem!important}.mdxeditor .mdxeditor-root-contenteditable h6{font-size:.875rem!important;line-height:1.25rem!important}.mdxeditor .mdxeditor-root-contenteditable p{margin:0 0 1rem!important;line-height:1.75rem!important}.mdxeditor .mdxeditor-root-contenteditable ol,.mdxeditor .mdxeditor-root-contenteditable ul{margin-bottom:1rem!important}.mdxeditor .mdxeditor-root-contenteditable table{border-collapse:collapse!important;width:100%!important;margin:1rem 0!important;border:1px solid hsl(var(--border))!important;border-radius:.25rem!important;box-shadow:none!important}.mdxeditor .mdxeditor-root-contenteditable table td,.mdxeditor .mdxeditor-root-contenteditable table th{border:1px solid hsl(var(--border))!important;padding:.375rem .75rem!important;text-align:left!important;vertical-align:middle!important}.mdxeditor .mdxeditor-root-contenteditable table th{background-color:hsl(var(--muted))!important;font-weight:600!important}.mdxeditor .mdxeditor-root-contenteditable table tr{height:44px!important}.mdxeditor .mdxeditor-root-contenteditable pre code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important;font-size:.875rem!important}.mdxeditor .mdxeditor-root-contenteditable hr{border:0!important;border-top:1px solid hsl(var(--border))!important;margin:1.25rem 0!important}.mdxeditor .mdxeditor-root-contenteditable ol,.mdxeditor .mdxeditor-root-contenteditable ul{margin:.5rem 0!important;padding-left:1.5rem!important}.mdxeditor .mdxeditor-root-contenteditable blockquote{border-left:4px solid hsl(var(--border))!important;margin:1rem 0!important;padding-left:1rem!important;color:hsl(var(--muted-foreground))!important;font-style:italic!important}.mdxeditor .mdxeditor-root-contenteditable::-webkit-scrollbar{width:8px}.mdxeditor .mdxeditor-root-contenteditable::-webkit-scrollbar-track{background:transparent}.mdxeditor .mdxeditor-root-contenteditable::-webkit-scrollbar-thumb{background:hsl(var(--muted-foreground)/.3);border-radius:4px}.mdxeditor .mdxeditor-root-contenteditable::-webkit-scrollbar-thumb:hover{background:hsl(var(--muted-foreground)/.5)}.tiptap-live-style{height:100%!important;border:none!important;background:transparent!important;display:flex!important;flex-direction:column!important}.tiptap-live-style .tiptap-toolbar{border-bottom:1px solid hsl(var(--border))!important;background:hsl(var(--background))!important;padding:.5rem!important;flex-shrink:0!important;display:flex!important;align-items:center!important;gap:.25rem!important;min-height:48px!important}.tiptap-live-style .tiptap{flex:1!important;padding:1rem!important;font-size:14px!important;line-height:1.6!important;overflow-y:auto!important;min-height:0!important;background:transparent!important;color:hsl(var(--foreground))!important;outline:none!important;border:none!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important}.tiptap-live-style .tiptap.is-editor-empty:first-child:before{content:"Start writing..."!important;color:hsl(var(--muted-foreground))!important;font-style:italic!important;float:left;height:0;pointer-events:none}.note-mention{background-color:rgba(59,130,246,.1);border-radius:.375rem;padding:.125rem .375rem;color:rgb(37,99,235);font-weight:500;cursor:pointer;transition:all .15s ease;text-decoration:none;border:1px solid rgba(59,130,246,.2)}.note-mention:hover{background-color:rgba(59,130,246,.2);border-color:rgba(59,130,246,.4)}.dark .note-mention{background-color:rgba(96,165,250,.15);color:rgb(147,197,253);border-color:rgba(96,165,250,.25)}.dark .note-mention:hover{background-color:rgba(96,165,250,.25);border-color:rgba(96,165,250,.4)}.tiptap-live-style .tiptap-toolbar button{border-radius:.375rem!important;transition:all .2s!important;height:32px!important;min-width:32px!important;padding:.25rem!important;margin:0 .125rem!important;border:none!important;background:transparent!important;color:hsl(var(--foreground))!important}.tiptap-live-style .tiptap-toolbar button.is-active,.tiptap-live-style .tiptap-toolbar button:hover,.tiptap-live-style .tiptap-toolbar button[data-state=on]{background-color:hsl(var(--accent))!important;color:hsl(var(--accent-foreground))!important}.tiptap-live-style .tiptap-toolbar .toolbar-separator{background-color:hsl(var(--border))!important;width:1px!important;height:24px!important;margin:0 .5rem!important;flex-shrink:0!important}.tiptap-live-style .tiptap-toolbar svg{width:16px!important;height:16px!important}.tiptap-live-style .tiptap h1,.tiptap-live-style .tiptap h2,.tiptap-live-style .tiptap h3,.tiptap-live-style .tiptap h4,.tiptap-live-style .tiptap h5,.tiptap-live-style .tiptap h6{margin:1rem 0 .5rem!important;font-weight:700!important;color:hsl(var(--foreground))!important}.tiptap-live-style .tiptap h1:first-child,.tiptap-live-style .tiptap h2:first-child,.tiptap-live-style .tiptap h3:first-child,.tiptap-live-style .tiptap h4:first-child,.tiptap-live-style .tiptap h5:first-child,.tiptap-live-style .tiptap h6:first-child{margin-top:0!important}.tiptap-live-style .tiptap h1{font-size:1.875rem!important;line-height:2.25rem!important}.tiptap-live-style .tiptap h2{font-size:1.5rem!important;line-height:2rem!important}.tiptap-live-style .tiptap h3{font-size:1.25rem!important;line-height:1.75rem!important}.tiptap-live-style .tiptap h4{font-size:1.125rem!important;line-height:1.75rem!important}.tiptap-live-style .tiptap h5,.tiptap-live-style .tiptap h6{font-size:1rem!important;line-height:1.5rem!important}.tiptap-live-style .tiptap p{margin:0 0 1rem!important;line-height:1.75rem!important;color:hsl(var(--foreground))!important}.tiptap-live-style .tiptap p:first-child{margin-top:0!important}.tiptap-live-style .tiptap p:last-child{margin-bottom:0!important}.tiptap-live-style .tiptap ol,.tiptap-live-style .tiptap ul{margin:.5rem 0 1rem!important;padding-left:1.5rem!important}.tiptap-live-style .tiptap ol li,.tiptap-live-style .tiptap ul li{margin:.25rem 0!important;line-height:1.6!important}.tiptap-live-style .tiptap ul{list-style-type:disc!important}.tiptap-live-style .tiptap ol{list-style-type:decimal!important}.tiptap-live-style .tiptap table{border-collapse:collapse!important;width:100%!important;margin:1rem 0!important;border:1px solid hsl(var(--border))!important;border-radius:.25rem!important;box-shadow:none!important;font-size:inherit!important}.tiptap-live-style .tiptap table td,.tiptap-live-style .tiptap table th{border:1px solid hsl(var(--border))!important;padding:.375rem .75rem!important;text-align:left!important;vertical-align:middle!important;box-sizing:border-box!important}.tiptap-live-style .tiptap table th{background-color:hsl(var(--muted))!important;font-weight:600!important;color:hsl(var(--foreground))!important}.tiptap-live-style .tiptap table tr{height:44px!important}.tiptap-live-style .tiptap td>*,.tiptap-live-style .tiptap th>*{margin:0!important}.tiptap-live-style .tiptap code{background-color:hsl(var(--muted))!important;border-radius:.25rem!important;font-size:.875em!important;padding:.125rem .25rem!important}.tiptap-live-style .tiptap code,.tiptap-live-style .tiptap pre{color:hsl(var(--foreground))!important;font-family:ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace!important}.tiptap-live-style .tiptap pre{background:hsl(var(--muted))!important;border-radius:.375rem!important;margin:1rem 0!important;padding:1rem!important;overflow-x:auto!important;font-size:.875rem!important;line-height:1.5!important}.tiptap-live-style .tiptap pre code{background:none!important;color:inherit!important;font-size:inherit!important;padding:0!important;border-radius:0!important}.tiptap-live-style .tiptap blockquote{border-left:4px solid hsl(var(--border))!important;margin:1rem 0!important;padding-left:1rem!important;color:hsl(var(--muted-foreground))!important;font-style:italic!important}.tiptap-live-style .tiptap blockquote p{margin:.5rem 0!important}.tiptap-live-style .tiptap blockquote p:first-child{margin-top:0!important}.tiptap-live-style .tiptap blockquote p:last-child{margin-bottom:0!important}.tiptap-live-style .tiptap hr{border:0!important;border-top:1px solid hsl(var(--border))!important;margin:1.25rem 0!important}.tiptap-live-style .tiptap strong{font-weight:600!important}.tiptap-live-style .tiptap em{font-style:italic!important}.tiptap-live-style .tiptap s{text-decoration:line-through!important}.tiptap-live-style .tiptap::-webkit-scrollbar{width:8px}.tiptap-live-style .tiptap::-webkit-scrollbar-track{background:transparent}.tiptap-live-style .tiptap::-webkit-scrollbar-thumb{background:hsl(var(--muted-foreground)/.3);border-radius:4px}.tiptap-live-style .tiptap::-webkit-scrollbar-thumb:hover{background:hsl(var(--muted-foreground)/.5)}.tiptap-live-style .tiptap :focus,.tiptap-live-style .tiptap [contenteditable=true]:focus,.tiptap-live-style .tiptap:focus{outline:none!important;box-shadow:none!important}.tiptap-live-style .tiptap ::-moz-selection{background:hsl(var(--primary)/.2)}.tiptap-live-style .tiptap ::selection{background:hsl(var(--primary)/.2)}.tiptap-live-style .tiptap img{max-width:100%!important;height:auto!important;border-radius:.375rem!important;margin:.5rem 0!important}.dark .tiptap-live-style,[data-theme=dark] .tiptap-live-style{color:hsl(var(--foreground))!important}.dark .tiptap-live-style .tiptap-toolbar,[data-theme=dark] .tiptap-live-style .tiptap-toolbar{border-color:hsl(var(--border))!important;background:hsl(var(--background))!important}.dark .tiptap-live-style .tiptap,[data-theme=dark] .tiptap-live-style .tiptap{background:transparent!important;color:hsl(var(--foreground))!important}.tiptap-live-style .tiptap-toolbar{border-radius:0!important;box-shadow:none!important}.tiptap-live-style .tiptap>:first-child{margin-top:0!important}.tiptap-live-style .tiptap>:last-child{margin-bottom:0!important}#accelerate-ghost-text,.accelerate-ghost-override,span#accelerate-ghost-text,span.accelerate-ghost-override{pointer-events:none!important;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;background:transparent!important;display:inline!important;white-space:pre-wrap!important;font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;font-weight:400!important;text-decoration:none!important;border:none!important;outline:none!important;position:static!important;z-index:1!important}#accelerate-ghost-text,.ProseMirror #accelerate-ghost-text,.ProseMirror .accelerate-ghost-override,.accelerate-ghost-override,.tiptap #accelerate-ghost-text,.tiptap .accelerate-ghost-override,.tiptap-editor #accelerate-ghost-text,.tiptap-editor .accelerate-ghost-override,.tiptap-live-style #accelerate-ghost-text,.tiptap-live-style .accelerate-ghost-override,div[data-tiptap-editor] #accelerate-ghost-text,div[data-tiptap-editor] .accelerate-ghost-override,span#accelerate-ghost-text,span.accelerate-ghost-override{color:rgb(136,136,136)!important;font-style:italic!important;opacity:.7!important;filter:grayscale(.3)!important}* #accelerate-ghost-text,* .accelerate-ghost-override{color:rgb(136,136,136)!important;font-style:italic!important;opacity:.7!important}.tiptap-editor .tiptap{outline:none;min-height:200px;padding:1rem;font-size:14px;line-height:1.6;color:hsl(var(--foreground));font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.tiptap-editor .tiptap:first-child{margin-top:0}.tiptap-editor .tiptap h1,.tiptap-editor .tiptap h2,.tiptap-editor .tiptap h3,.tiptap-editor .tiptap h4,.tiptap-editor .tiptap h5,.tiptap-editor .tiptap h6{line-height:1.25;margin-top:1.5rem;margin-bottom:.5rem;text-wrap:pretty;font-weight:600;color:hsl(var(--foreground))}.tiptap-editor .tiptap h1:first-child,.tiptap-editor .tiptap h2:first-child,.tiptap-editor .tiptap h3:first-child,.tiptap-editor .tiptap h4:first-child,.tiptap-editor .tiptap h5:first-child,.tiptap-editor .tiptap h6:first-child{margin-top:0}.tiptap-editor .tiptap h1{font-size:2rem;margin-top:2rem;margin-bottom:1rem}.tiptap-editor .tiptap h2{font-size:1.5rem;margin-top:1.5rem;margin-bottom:.75rem}.tiptap-editor .tiptap h3{font-size:1.25rem;margin-top:1.25rem;margin-bottom:.5rem}.tiptap-editor .tiptap h4{font-size:1.125rem;margin-top:1rem;margin-bottom:.5rem}.tiptap-editor .tiptap h5,.tiptap-editor .tiptap h6{font-size:1rem;margin-top:1rem;margin-bottom:.5rem}.tiptap-editor .tiptap p{margin:.75rem 0;line-height:1.6;color:hsl(var(--foreground))}.tiptap-editor .tiptap p:first-child{margin-top:0}.tiptap-editor .tiptap p:last-child{margin-bottom:0}.tiptap-editor .tiptap p+p{margin-top:.75rem}.tiptap-editor .tiptap ol,.tiptap-editor .tiptap ul{margin:.75rem 0;padding-left:1.5rem}.tiptap-editor .tiptap ol li,.tiptap-editor .tiptap ul li{margin:.25rem 0;line-height:1.6}.tiptap-editor .tiptap ol li p,.tiptap-editor .tiptap ul li p{margin:.25rem 0}.tiptap-editor .tiptap ul{list-style-type:disc}.tiptap-editor .tiptap ol{list-style-type:decimal}.tiptap-editor .tiptap ol ol,.tiptap-editor .tiptap ol ul,.tiptap-editor .tiptap ul ol,.tiptap-editor .tiptap ul ul{margin:.25rem 0;padding-left:1.25rem}.tiptap-editor .tiptap ul ul{list-style-type:circle}.tiptap-editor .tiptap ul ul ul{list-style-type:square}.tiptap-editor .tiptap code{background-color:hsl(var(--muted));border-radius:.25rem;font-size:.875em;padding:.125rem .25rem}.tiptap-editor .tiptap code,.tiptap-editor .tiptap pre{color:hsl(var(--foreground));font-family:ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace}.tiptap-editor .tiptap pre{background:hsl(var(--muted));border-radius:.375rem;margin:1rem 0;padding:1rem;overflow-x:auto;font-size:.875rem;line-height:1.5}.tiptap-editor .tiptap pre code{background:none;color:inherit;font-size:inherit;padding:0;border-radius:0}.tiptap-editor .tiptap blockquote{border-left:4px solid hsl(var(--border));margin:1rem 0;padding-left:1rem;color:hsl(var(--muted-foreground))}.tiptap-editor .tiptap blockquote p{margin:.5rem 0;font-style:italic}.tiptap-editor .tiptap blockquote p:first-child{margin-top:0}.tiptap-editor .tiptap blockquote p:last-child{margin-bottom:0}.tiptap-editor .tiptap hr{border:none;border-top:1px solid hsl(var(--border));margin:2rem 0}.tiptap-editor .tiptap strong{font-weight:600}.tiptap-editor .tiptap em{font-style:italic}.tiptap-editor .tiptap s{text-decoration:line-through}.tiptap-editor .tiptap:focus{outline:none}.tiptap-editor .tiptap ::-moz-selection{background:hsl(var(--primary)/.2)}.tiptap-editor .tiptap ::selection{background:hsl(var(--primary)/.2)}.tiptap-editor .tiptap.is-editor-empty:first-child:before{color:hsl(var(--muted-foreground));content:attr(data-placeholder);float:left;height:0;pointer-events:none}@media (prefers-color-scheme:dark){.tiptap-editor .tiptap code{background-color:hsl(var(--muted))}.tiptap-editor .tiptap pre{background:hsl(var(--muted))}}.tiptap-editor .tiptap img.tiptap-image{max-width:100%;height:auto;border-radius:.375rem;margin:.5rem 0;cursor:pointer;transition:all .2s ease}.tiptap-editor .tiptap img.tiptap-image:hover{opacity:.8;box-shadow:0 4px 12px rgba(0,0,0,.1)}.tiptap-editor .tiptap img.ProseMirror-selectednode{outline:2px solid hsl(var(--primary));outline-offset:2px}.tiptap-editor .tiptap.drag-over{background-color:hsl(var(--muted)/.5);border:2px dashed hsl(var(--primary));border-radius:.5rem}.tiptap-editor .tiptap table{border-collapse:collapse;margin:1rem 0;table-layout:fixed;width:100%;border:1px solid hsl(var(--border));font-size:inherit}.tiptap-editor .tiptap td,.tiptap-editor .tiptap th{border:1px solid hsl(var(--border));box-sizing:border-box;min-width:1em;padding:.5rem .75rem;position:relative;vertical-align:top}.tiptap-editor .tiptap td p,.tiptap-editor .tiptap td>*,.tiptap-editor .tiptap th p,.tiptap-editor .tiptap th>*{margin:0}.tiptap-editor .tiptap th{background-color:hsl(var(--muted));font-weight:600;text-align:left;color:hsl(var(--foreground))}.tiptap-editor .tiptap .selectedCell:after{background:hsl(var(--primary)/.1);content:"";left:0;right:0;top:0;bottom:0;pointer-events:none;position:absolute;z-index:2}.tiptap-editor .tiptap .column-resize-handle{background-color:hsl(var(--primary));bottom:-2px;pointer-events:none;position:absolute;right:-2px;top:0;width:4px}.tiptap-editor .tiptap .tableWrapper{margin:.5rem 0;overflow-x:auto}.tiptap-editor .tiptap .tableWrapper+br,.tiptap-editor .tiptap .tableWrapper+p:empty,.tiptap-editor .tiptap table+br,.tiptap-editor .tiptap table+p:empty{display:none}.tiptap-editor .tiptap br+.tableWrapper,.tiptap-editor .tiptap br+table,.tiptap-editor .tiptap p:empty+.tableWrapper,.tiptap-editor .tiptap p:empty+table{margin-top:0}.tiptap-editor .tiptap .tableWrapper+p,.tiptap-editor .tiptap p+.tableWrapper,.tiptap-editor .tiptap p+table,.tiptap-editor .tiptap table+p{margin-top:.5rem}.tiptap-editor .tiptap.resize-cursor{cursor:ew-resize;cursor:col-resize}.tiptap-editor .tiptap td:hover,.tiptap-editor .tiptap th:hover{background-color:hsl(var(--muted)/.5)}.tiptap-editor .tiptap .tableWrapper{box-shadow:0 1px 3px 0 hsl(var(--border))}@media (max-width:768px){.tiptap-editor .tiptap{padding:.75rem}.tiptap-editor .tiptap h1{font-size:1.75rem}.tiptap-editor .tiptap h2{font-size:1.5rem}.tiptap-editor .tiptap h3{font-size:1.25rem}.tiptap-editor .tiptap table{font-size:.875rem}.tiptap-editor .tiptap td,.tiptap-editor .tiptap th{padding:.375rem .5rem}}