.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;transition:all .2s ease}.editor-container-relative>.tiptap-editor{min-height:100%}.editor-container-relative>.tiptap-editor>.tiptap{box-sizing:border-box;min-height:100%}.editor-container-relative:focus-within{background-color:transparent;box-shadow:none}.collaboration-carets__caret{border-left:2px solid var(--collaboration-user-color,#2563eb);border-right:1px solid color-mix(in srgb,var(--collaboration-user-color,#2563eb) 35%,transparent);margin-left:-1px;margin-right:-1px;pointer-events:auto;position:relative;word-break:normal}.collaboration-carets__label{background:hsl(var(--popover));border:1px solid hsl(var(--border));border-left:3px solid var(--collaboration-user-color,#2563eb);border-radius:6px;box-shadow:0 8px 20px rgba(15,23,42,.14);color:hsl(var(--popover-foreground));display:inline-block;font-size:11px;font-weight:600;left:-2px;line-height:1;max-width:220px;opacity:0;overflow:hidden;padding:4px 7px 4px 6px;pointer-events:none;position:absolute;text-overflow:ellipsis;top:-1.65rem;transform:translateY(2px);transition:opacity .12s ease,transform .12s ease;white-space:nowrap;z-index:1000}.collaboration-carets__caret:focus .collaboration-carets__label,.collaboration-carets__caret:focus-visible .collaboration-carets__label,.collaboration-carets__caret:hover .collaboration-carets__label{opacity:1;transform:translateY(0)}@media (hover:none),(pointer:coarse){.collaboration-carets__label{display:none}}.dark .collaboration-carets__label{box-shadow:0 8px 22px rgba(0,0,0,.45)}.collaboration-carets__selection{background-color:color-mix(in srgb,var(--collaboration-user-color,#2563eb) 18%,transparent);border-radius:2px}.tiptap-editor .tiptap.shared-note-live-prose{padding:1rem;font-size:.875rem;line-height:1.6}@media (min-width:768px){.tiptap-editor .tiptap.shared-note-live-prose{padding:2rem}}.tiptap-editor .tiptap.shared-note-live-prose p{color:hsl(var(--muted-foreground));margin:.375rem 0}.dark .tiptap-editor .tiptap.shared-note-live-prose p{color:rgb(209 213 219)}.tiptap-editor .tiptap.shared-note-live-prose h1,.tiptap-editor .tiptap.shared-note-live-prose h2,.tiptap-editor .tiptap.shared-note-live-prose h3,.tiptap-editor .tiptap.shared-note-live-prose h4,.tiptap-editor .tiptap.shared-note-live-prose h5,.tiptap-editor .tiptap.shared-note-live-prose h6{color:hsl(var(--foreground));line-height:1.25;margin:.75rem 0}.tiptap-editor .tiptap.shared-note-live-prose blockquote{background:rgb(249 250 251/.8);border-left:2px solid rgb(147 197 253);border-radius:.375rem;font-style:normal;margin:.5rem 0;padding:.125rem 1rem}.dark .tiptap-editor .tiptap.shared-note-live-prose blockquote{background:rgb(17 24 39/.8);border-left-color:rgb(29 78 216)}.tiptap-editor .tiptap.shared-note-live-prose blockquote p{line-height:1.5;margin:.125rem 0}.tiptap-editor .tiptap.shared-note-live-prose pre{background:hsl(var(--muted));color:hsl(var(--foreground))}.prose-code-technical{font-family:ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace!important;white-space:pre-wrap;word-break:break-all}.prose-code-technical p{margin:0;line-height:inherit}.prose-code-technical h1,.prose-code-technical h2,.prose-code-technical h3{font-size:1em!important;font-weight:700!important;margin:0!important}.prose-code-technical ol,.prose-code-technical ul{margin:0!important;padding-left:1.5rem!important}.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;line-height:2.25rem;margin-top:2rem;margin-bottom:1rem}.tiptap-editor .tiptap h2{font-size:1.5rem;line-height:2rem;margin-top:1.5rem;margin-bottom:.75rem}.tiptap-editor .tiptap h3{font-size:1.25rem;line-height:1.75rem;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}.shared-note-static-prose ul.contains-task-list,.tiptap-editor .tiptap ul.contains-task-list{list-style:none;padding-left:0}.shared-note-static-prose li.task-list-item,.shared-note-static-prose li[data-type=taskItem],.tiptap-editor .tiptap li.task-list-item,.tiptap-editor .tiptap li[data-type=taskItem]{display:flex;align-items:flex-start;gap:.5rem;list-style:none}.shared-note-static-prose li.task-list-item>label,.shared-note-static-prose li[data-type=taskItem]>label,.tiptap-editor .tiptap li.task-list-item>label,.tiptap-editor .tiptap li[data-type=taskItem]>label{display:inline-flex;align-items:center;min-height:1.6em;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.shared-note-static-prose li.task-list-item>label input[type=checkbox],.shared-note-static-prose li[data-type=taskItem]>label input[type=checkbox],.tiptap-editor .tiptap li.task-list-item>label input[type=checkbox],.tiptap-editor .tiptap li[data-type=taskItem]>label input[type=checkbox]{width:1rem;height:1rem;margin:0}.shared-note-static-prose li.task-list-item>div,.shared-note-static-prose li[data-type=taskItem]>div,.tiptap-editor .tiptap li.task-list-item>div,.tiptap-editor .tiptap li[data-type=taskItem]>div{flex:1 1 auto;min-width:0}.shared-note-static-prose li.task-list-item>div>p,.shared-note-static-prose li[data-type=taskItem]>div>p,.tiptap-editor .tiptap li.task-list-item>div>p,.tiptap-editor .tiptap li[data-type=taskItem]>div>p{margin:0}.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}.shared-note-static-prose pre:has(code[class*=language-]),.tiptap-editor .tiptap pre:has(code[class*=language-]){position:relative;padding-top:2.5rem}.shared-note-static-prose pre:has(code[class*=language-]):before,.tiptap-editor .tiptap pre:has(code[class*=language-]):before{content:"";position:absolute;inset:0 0 auto 0;height:1.875rem;border-bottom:1px solid hsl(var(--border));background:hsl(var(--background)/.55);border-radius:.375rem .375rem 0 0}.shared-note-static-prose pre:has(code[class*=language-]):after,.tiptap-editor .tiptap pre:has(code[class*=language-]):after{content:"CODE";position:absolute;top:.4375rem;left:.75rem;color:hsl(var(--muted-foreground));font-family:ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace;font-size:.6875rem;font-weight:600;line-height:1;letter-spacing:0;text-transform:uppercase}.shared-note-static-prose pre:has(code.language-ts):after,.tiptap-editor .tiptap pre:has(code.language-ts):after{content:"TypeScript"}.shared-note-static-prose pre:has(code.language-tsx):after,.tiptap-editor .tiptap pre:has(code.language-tsx):after{content:"TSX"}.shared-note-static-prose pre:has(code.language-js):after,.tiptap-editor .tiptap pre:has(code.language-js):after{content:"JavaScript"}.shared-note-static-prose pre:has(code.language-jsx):after,.tiptap-editor .tiptap pre:has(code.language-jsx):after{content:"JSX"}.shared-note-static-prose pre:has(code.language-markdown):after,.shared-note-static-prose pre:has(code.language-md):after,.tiptap-editor .tiptap pre:has(code.language-markdown):after,.tiptap-editor .tiptap pre:has(code.language-md):after{content:"Markdown"}.shared-note-static-prose pre:has(code.language-json):after,.tiptap-editor .tiptap pre:has(code.language-json):after{content:"JSON"}.shared-note-static-prose pre:has(code.language-css):after,.tiptap-editor .tiptap pre:has(code.language-css):after{content:"CSS"}.shared-note-static-prose pre:has(code.language-html):after,.tiptap-editor .tiptap pre:has(code.language-html):after{content:"HTML"}.shared-note-static-prose pre:has(code.language-bash):after,.shared-note-static-prose pre:has(code.language-sh):after,.tiptap-editor .tiptap pre:has(code.language-bash):after,.tiptap-editor .tiptap pre:has(code.language-sh):after{content:"Shell"}.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}.notes-editor-panel .tiptap-editor .ProseMirror:focus,.notes-editor-panel .tiptap-editor [contenteditable=true]:focus,.tiptap-editor .ProseMirror:focus,.tiptap-editor [contenteditable=true]:focus{outline:none!important;box-shadow:none!important}.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 .tiptap-resizable-image{position:relative;display:inline-block;max-width:100%;line-height:0;margin:.5rem 0;vertical-align:top}.tiptap-editor .tiptap img.tiptap-image{max-width:100%;height:auto;border-radius:.375rem;margin:0;cursor:pointer;transition:all .2s ease}.tiptap-editor .tiptap .tiptap-resizable-image:hover img.tiptap-image{opacity:.8;box-shadow:0 4px 12px rgba(0,0,0,.1)}.tiptap-editor .tiptap .tiptap-image-resize-handle{position:absolute;right:-6px;bottom:-6px;display:none;width:12px;height:12px;border:2px solid hsl(var(--background));border-radius:999px;background:hsl(var(--primary));box-shadow:0 2px 8px rgba(15,23,42,.25);cursor:nwse-resize}.tiptap-editor .tiptap .tiptap-resizable-image[data-editable=true].ProseMirror-selectednode .tiptap-image-resize-handle,.tiptap-editor .tiptap .tiptap-resizable-image[data-editable=true].is-resizing .tiptap-image-resize-handle,.tiptap-editor .tiptap .tiptap-resizable-image[data-editable=true]:hover .tiptap-image-resize-handle{display:block}.tiptap-editor .tiptap .tiptap-resizable-image.is-resizing img.tiptap-image{opacity:.9;box-shadow:0 0 0 2px hsl(var(--primary)/.35)}.tiptap-editor .tiptap .tiptap-resizable-image.ProseMirror-selectednode img.tiptap-image,.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;overflow-wrap:anywhere;padding:.5rem .75rem;position:relative;vertical-align:top;word-break:normal}.tiptap-editor .tiptap td>*,.tiptap-editor .tiptap th>*{margin:0}.tiptap-editor .tiptap td p,.tiptap-editor .tiptap th p{margin:0;overflow-wrap:anywhere;word-break:normal}.tiptap-editor .tiptap td [data-type=inline-math],.tiptap-editor .tiptap th [data-type=inline-math]{display:inline-block;max-width:100%;overflow:hidden;vertical-align:text-bottom}.tiptap-editor .tiptap td .katex,.tiptap-editor .tiptap th .katex{max-width:100%;white-space:normal}.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}}