:root{--notes-table-text-gray:#475569;--notes-table-background-gray:#f1f5f9;--notes-table-text-red:#b91c1c;--notes-table-background-red:#fee2e2;--notes-table-text-orange:#c2410c;--notes-table-background-orange:#ffedd5;--notes-table-text-yellow:#854d0e;--notes-table-background-yellow:#fef9c3;--notes-table-text-green:#15803d;--notes-table-background-green:#dcfce7;--notes-table-text-blue:#1d4ed8;--notes-table-background-blue:#dbeafe;--notes-table-text-purple:#7e22ce;--notes-table-background-purple:#f3e8ff}:is(.dark,[data-theme=dark]){--notes-table-text-gray:#cbd5e1;--notes-table-background-gray:#1e293b;--notes-table-text-red:#fca5a5;--notes-table-background-red:#451a1a;--notes-table-text-orange:#fdba74;--notes-table-background-orange:#431407;--notes-table-text-yellow:#fde68a;--notes-table-background-yellow:#422006;--notes-table-text-green:#86efac;--notes-table-background-green:#052e16;--notes-table-text-blue:#93c5fd;--notes-table-background-blue:#172554;--notes-table-text-purple:#d8b4fe;--notes-table-background-purple:#3b0764}:is(.tiptap-editor .tiptap,.shared-note-prose,.shared-note-static-prose) table :is([style*="color: rgb(71, 85, 105)"],[style*="color: rgb(241, 245, 249)"]){color:var(--notes-table-text-gray)!important}:is(.tiptap-editor .tiptap,.shared-note-prose,.shared-note-static-prose) table :is([style*="color: rgb(185, 28, 28)"],[style*="color: rgb(254, 226, 226)"]){color:var(--notes-table-text-red)!important}:is(.tiptap-editor .tiptap,.shared-note-prose,.shared-note-static-prose) table :is([style*="color: rgb(194, 65, 12)"],[style*="color: rgb(255, 237, 213)"]){color:var(--notes-table-text-orange)!important}:is(.tiptap-editor .tiptap,.shared-note-prose,.shared-note-static-prose) table :is([style*="color: rgb(133, 77, 14)"],[style*="color: rgb(254, 249, 195)"]){color:var(--notes-table-text-yellow)!important}:is(.tiptap-editor .tiptap,.shared-note-prose,.shared-note-static-prose) table :is([style*="color: rgb(21, 128, 61)"],[style*="color: rgb(220, 252, 231)"]){color:var(--notes-table-text-green)!important}:is(.tiptap-editor .tiptap,.shared-note-prose,.shared-note-static-prose) table :is([style*="color: rgb(29, 78, 216)"],[style*="color: rgb(219, 234, 254)"]){color:var(--notes-table-text-blue)!important}:is(.tiptap-editor .tiptap,.shared-note-prose,.shared-note-static-prose) table :is([style*="color: rgb(126, 34, 206)"],[style*="color: rgb(243, 232, 255)"]){color:var(--notes-table-text-purple)!important}:is(.tiptap-editor .tiptap,.shared-note-prose,.shared-note-static-prose) table [data-cell-background="#f1f5f9"]{background-color:var(--notes-table-background-gray)!important}:is(.tiptap-editor .tiptap,.shared-note-prose,.shared-note-static-prose) table [data-cell-background="#fee2e2"]{background-color:var(--notes-table-background-red)!important}:is(.tiptap-editor .tiptap,.shared-note-prose,.shared-note-static-prose) table [data-cell-background="#ffedd5"]{background-color:var(--notes-table-background-orange)!important}:is(.tiptap-editor .tiptap,.shared-note-prose,.shared-note-static-prose) table [data-cell-background="#fef9c3"]{background-color:var(--notes-table-background-yellow)!important}:is(.tiptap-editor .tiptap,.shared-note-prose,.shared-note-static-prose) table [data-cell-background="#dcfce7"]{background-color:var(--notes-table-background-green)!important}:is(.tiptap-editor .tiptap,.shared-note-prose,.shared-note-static-prose) table [data-cell-background="#dbeafe"]{background-color:var(--notes-table-background-blue)!important}:is(.tiptap-editor .tiptap,.shared-note-prose,.shared-note-static-prose) table [data-cell-background="#f3e8ff"]{background-color:var(--notes-table-background-purple)!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;scrollbar-gutter:stable;transition:all .2s ease}.editor-container-relative>.tiptap-editor{min-height:100%;min-width:0}.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}.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}.shared-note-static-prose mark,.tiptap-editor .tiptap.shared-note-prose mark{padding-inline:.08em;border-radius:.15em;background-color:#fef08a!important;color:#422006!important;-webkit-box-decoration-break:clone;box-decoration-break:clone}.dark .shared-note-static-prose mark,.dark .tiptap-editor .tiptap.shared-note-prose mark{background-color:#713f12!important;color:#fef9c3!important}.tiptap-editor .tiptap:not(.shared-note-prose) h1,.tiptap-editor .tiptap:not(.shared-note-prose) h2,.tiptap-editor .tiptap:not(.shared-note-prose) h3,.tiptap-editor .tiptap:not(.shared-note-prose) h4,.tiptap-editor .tiptap:not(.shared-note-prose) h5,.tiptap-editor .tiptap:not(.shared-note-prose) 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:not(.shared-note-prose) h1:first-child,.tiptap-editor .tiptap:not(.shared-note-prose) h2:first-child,.tiptap-editor .tiptap:not(.shared-note-prose) h3:first-child,.tiptap-editor .tiptap:not(.shared-note-prose) h4:first-child,.tiptap-editor .tiptap:not(.shared-note-prose) h5:first-child,.tiptap-editor .tiptap:not(.shared-note-prose) h6:first-child{margin-top:0}.tiptap-editor .tiptap:not(.shared-note-prose) h1{font-size:2rem;line-height:2.25rem;margin-top:2rem;margin-bottom:1rem}.tiptap-editor .tiptap:not(.shared-note-prose) h2{font-size:1.5rem;line-height:2rem;margin-top:1.5rem;margin-bottom:.75rem}.tiptap-editor .tiptap:not(.shared-note-prose) h3{font-size:1.25rem;line-height:1.75rem;margin-top:1.25rem;margin-bottom:.5rem}.tiptap-editor .tiptap:not(.shared-note-prose) h4{font-size:1.125rem;margin-top:1rem;margin-bottom:.5rem}.tiptap-editor .tiptap:not(.shared-note-prose) h5,.tiptap-editor .tiptap:not(.shared-note-prose) h6{font-size:1rem;margin-top:1rem;margin-bottom:.5rem}.tiptap-editor .tiptap:not(.shared-note-prose) p{margin:.75rem 0;line-height:1.6;color:hsl(var(--foreground))}.tiptap-editor .tiptap:not(.shared-note-prose) p:first-child{margin-top:0}.tiptap-editor .tiptap:not(.shared-note-prose) p:last-child{margin-bottom:0}.tiptap-editor .tiptap:not(.shared-note-prose) p+p{margin-top:.75rem}.tiptap-editor .tiptap:not(.shared-note-prose) ol,.tiptap-editor .tiptap:not(.shared-note-prose) ul{margin:.75rem 0;padding-left:1.5rem}.tiptap-editor .tiptap:not(.shared-note-prose) ol li,.tiptap-editor .tiptap:not(.shared-note-prose) ul li{margin:.25rem 0;line-height:1.6}.tiptap-editor .tiptap:not(.shared-note-prose) ol li p,.tiptap-editor .tiptap:not(.shared-note-prose) ul li p{margin:.25rem 0}.tiptap-editor .tiptap:not(.shared-note-prose) ul{list-style-type:disc}.shared-note-prose ul.contains-task-list,.shared-note-static-prose ul.contains-task-list,.tiptap-editor .tiptap ul.contains-task-list{list-style:none;padding-left:0}.shared-note-prose li.task-list-item,.shared-note-prose li[data-type=taskItem],.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-prose li.task-list-item>label,.shared-note-prose li[data-type=taskItem]>label,.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-prose li.task-list-item>label input[type=checkbox],.shared-note-prose li[data-type=taskItem]>label input[type=checkbox],.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-prose li.task-list-item>div,.shared-note-prose li[data-type=taskItem]>div,.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-prose li.task-list-item>div>p,.shared-note-prose li[data-type=taskItem]>div>p,.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}.shared-note-static-prose div.assigned-task{display:flex;align-items:center;gap:.5rem;margin:.375rem 0;padding:.375rem .625rem;border:1px solid hsl(var(--border));border-radius:.5rem;background:hsl(var(--card));color:hsl(var(--foreground));font-size:0;font-weight:500;line-height:1.25rem}.shared-note-static-prose div.assigned-task:before{content:"☐  " attr(data-title);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem}.shared-note-static-prose div.assigned-task:after{content:"@" attr(data-assignee-label);margin-left:auto;color:hsl(var(--muted-foreground));font-size:.6875rem;font-weight:400}.shared-note-static-prose div.assigned-task[data-completed=true]{background:hsl(var(--muted)/.5);text-decoration:line-through;opacity:.7}.shared-note-static-prose div.assigned-task[data-completed=true]:before{content:"☑  " attr(data-title)}.tiptap-editor .tiptap:not(.shared-note-prose) ol{list-style-type:decimal}.tiptap-editor .tiptap:not(.shared-note-prose) ol ol,.tiptap-editor .tiptap:not(.shared-note-prose) ol ul,.tiptap-editor .tiptap:not(.shared-note-prose) ul ol,.tiptap-editor .tiptap:not(.shared-note-prose) ul ul{margin:.25rem 0;padding-left:1.25rem}.tiptap-editor .tiptap:not(.shared-note-prose) ul ul{list-style-type:circle}.tiptap-editor .tiptap:not(.shared-note-prose) ul ul ul{list-style-type:square}.tiptap-editor .tiptap.shared-note-prose{box-sizing:border-box;min-width:0;max-width:100%;overflow-x:hidden}.tiptap-editor .tiptap.shared-note-prose :not(pre)>code{max-width:100%;overflow-wrap:anywhere;white-space:break-spaces;word-break:break-word}.tiptap-editor .tiptap:not(.shared-note-prose) code{background-color:hsl(var(--muted));border-radius:.25rem;font-size:.875em;padding:.125rem .25rem}.tiptap-editor .tiptap:not(.shared-note-prose) code,.tiptap-editor .tiptap:not(.shared-note-prose) pre{color:hsl(var(--foreground));font-family:ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace}.tiptap-editor .tiptap:not(.shared-note-prose) 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-prose pre:has(code[class*=language-]),.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-prose pre:has(code[class*=language-]):before,.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-prose pre:has(code[class*=language-]):after,.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-prose pre:has(code.language-ts):after,.shared-note-static-prose pre:has(code.language-ts):after,.tiptap-editor .tiptap pre:has(code.language-ts):after{content:"TypeScript"}.shared-note-prose pre:has(code.language-tsx):after,.shared-note-static-prose pre:has(code.language-tsx):after,.tiptap-editor .tiptap pre:has(code.language-tsx):after{content:"TSX"}.shared-note-prose pre:has(code.language-js):after,.shared-note-static-prose pre:has(code.language-js):after,.tiptap-editor .tiptap pre:has(code.language-js):after{content:"JavaScript"}.shared-note-prose pre:has(code.language-jsx):after,.shared-note-static-prose pre:has(code.language-jsx):after,.tiptap-editor .tiptap pre:has(code.language-jsx):after{content:"JSX"}.shared-note-prose pre:has(code.language-markdown):after,.shared-note-prose pre:has(code.language-md):after,.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-prose pre:has(code.language-json):after,.shared-note-static-prose pre:has(code.language-json):after,.tiptap-editor .tiptap pre:has(code.language-json):after{content:"JSON"}.shared-note-prose pre:has(code.language-css):after,.shared-note-static-prose pre:has(code.language-css):after,.tiptap-editor .tiptap pre:has(code.language-css):after{content:"CSS"}.shared-note-prose pre:has(code.language-html):after,.shared-note-static-prose pre:has(code.language-html):after,.tiptap-editor .tiptap pre:has(code.language-html):after{content:"HTML"}.shared-note-prose pre:has(code.language-bash):after,.shared-note-prose pre:has(code.language-sh):after,.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:not(.shared-note-prose) pre code{background:none;color:inherit;font-size:inherit;padding:0;border-radius:0}.tiptap-editor .tiptap:not(.shared-note-prose) blockquote{border-left:4px solid hsl(var(--border));margin:1rem 0;padding-left:1rem;color:hsl(var(--muted-foreground))}.tiptap-editor .tiptap:not(.shared-note-prose) blockquote p{margin:.5rem 0;font-style:italic}.tiptap-editor .tiptap:not(.shared-note-prose) blockquote p:first-child{margin-top:0}.tiptap-editor .tiptap:not(.shared-note-prose) blockquote p:last-child{margin-bottom:0}.tiptap-editor .tiptap:not(.shared-note-prose) 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}.tiptap-editor .tiptap .tiptap-resizable-image,.tiptap-editor .tiptap.shared-note-prose img.tiptap-image{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.shared-note-prose img.tiptap-image{cursor:default}.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)/.08);content:"";left:0;right:0;top:0;bottom:0;pointer-events:none;position:absolute;z-index:2;box-shadow:inset 0 0 0 1.5px hsl(var(--primary))}.notes-code-block{margin:1rem 0;overflow:hidden;border:1px solid hsl(var(--border));border-radius:.5rem;background:hsl(var(--muted)/.45)}.notes-code-block-header{position:relative;display:flex;min-height:2.25rem;align-items:center;justify-content:space-between;gap:1rem;padding:.25rem .625rem;border-bottom:1px solid hsl(var(--border));background:hsl(var(--background)/.72);color:hsl(var(--muted-foreground));font-size:.75rem}.notes-code-block-language-label{display:inline-flex;min-height:1.75rem;align-items:center;margin-right:auto;padding:0 .25rem;border:0;border-radius:.25rem;background:transparent;color:hsl(var(--muted-foreground));font:inherit;cursor:pointer}.notes-code-block-language-label:hover,.notes-code-block-language-label[aria-expanded=true]{background:hsl(var(--muted));color:hsl(var(--foreground))}.notes-code-block-menu-trigger{display:inline-flex;width:2.25rem;height:2.25rem;align-items:center;justify-content:center;border:0;border-radius:.375rem;background:transparent;color:inherit;font-size:.75rem;letter-spacing:.08em}.notes-code-block-actions{position:absolute;z-index:20;top:calc(100% + .375rem);right:.375rem;display:none;width:-moz-max-content;width:max-content;min-width:8.5rem;max-width:min(16rem,calc(100vw - 1rem));max-height:min(20rem,calc(100dvh - 1rem));overflow-y:auto;flex-direction:column;align-items:stretch;gap:.25rem;padding:.375rem;border:1px solid hsl(var(--border));border-radius:.5rem;background:hsl(var(--popover));color:hsl(var(--popover-foreground));box-shadow:0 10px 28px hsl(var(--foreground)/.16)}.notes-code-block-actions button{display:flex;width:100%;min-height:2.25rem;align-items:center;justify-content:flex-start;padding-inline:.625rem;border:0;border-radius:.25rem;background:transparent;color:inherit;font:inherit;white-space:nowrap}.notes-code-block[data-controls-open=true],.notes-code-block[data-language-menu-open=true]{overflow:visible}.notes-code-block[data-controls-open=true] .notes-code-block-actions{display:flex}.notes-code-block-actions button:hover,.notes-code-block-actions button[aria-selected=true]{background:hsl(var(--muted));color:hsl(var(--foreground))}.notes-code-block-language-control{position:relative}.notes-code-block-language-menu{position:absolute;z-index:30;top:calc(100% + .25rem);left:0;display:none;width:-moz-max-content;width:max-content;min-width:9rem;max-height:min(18rem,60vh);overflow-y:auto;padding:.25rem;border:1px solid hsl(var(--border));border-radius:.375rem;background:hsl(var(--popover));color:hsl(var(--popover-foreground));box-shadow:0 10px 28px hsl(var(--foreground)/.16)}.notes-code-block-language-control[data-open=true] .notes-code-block-language-menu{display:grid}.notes-code-block-language-menu button{display:flex;width:100%;align-items:center;justify-content:flex-start;text-align:left}.notes-code-block pre,.tiptap-editor .tiptap:not(.shared-note-prose) .notes-code-block pre{margin:0;padding:.875rem 1rem;border-radius:0;background:transparent;font-size:.8125rem;line-height:1.55}.notes-code-block[data-wrap=false] pre{overflow-x:auto;white-space:pre}.notes-code-block:not([data-wrap=false]) pre{overflow-wrap:anywhere;white-space:pre-wrap}.notes-code-block-diagram-toggle{display:none}.notes-code-block[data-language=mermaid] .notes-code-block-diagram-toggle{display:inline-flex}.notes-code-block-diagram-preview{display:none;position:relative;min-height:7rem;background:hsl(var(--background));color:hsl(var(--muted-foreground));text-align:center}.notes-code-block[data-language=mermaid][data-diagram-mode=preview] pre{display:none}.notes-code-block[data-language=mermaid][data-diagram-mode=preview] .notes-code-block-diagram-preview{display:block}.tiptap-viewer-mode .notes-code-block:has(.notes-code-block-diagram-preview[data-state=error]) pre{display:block}.notes-code-block-diagram-viewport{display:flex;box-sizing:border-box;min-height:7rem;max-height:min(70vh,48rem);align-items:flex-start;justify-content:flex-start;overflow:auto;padding:3.25rem 1rem 1rem;overscroll-behavior:contain;touch-action:pan-x pan-y;cursor:grab}.notes-code-block-diagram-viewport[data-panning=true]{cursor:grabbing;-webkit-user-select:none;-moz-user-select:none;user-select:none}.notes-code-block-diagram-controls{position:absolute;z-index:2;top:.5rem;right:.5rem;display:none;align-items:center;gap:.125rem;padding:.1875rem;border:1px solid hsl(var(--border));border-radius:.5rem;background:hsl(var(--background)/.92);box-shadow:0 4px 14px hsl(var(--foreground)/.1);backdrop-filter:blur(8px)}.notes-code-block-diagram-preview[data-state=ready] .notes-code-block-diagram-controls{display:flex}.notes-code-block-diagram-controls button{display:inline-grid;min-width:2rem;height:2rem;place-items:center;padding:0 .375rem;border:0;border-radius:.375rem;background:transparent;color:hsl(var(--foreground));font-size:.75rem;cursor:pointer}.notes-code-block-diagram-controls button:hover{background:hsl(var(--muted))}.notes-code-block-diagram-controls button:disabled{cursor:default;opacity:.45}.notes-code-block-diagram-preview[data-state=error]{color:hsl(var(--destructive))}.notes-code-block-diagram-viewport svg{flex:0 0 auto;margin-inline:auto;max-width:100%;max-height:min(58vh,38rem);height:auto}@media (max-width:1180px) and (pointer:coarse),(max-width:767px){.notes-code-block-diagram-controls button{min-width:2.75rem;height:2.75rem}.notes-code-block-diagram-viewport{padding-top:4rem}}.notes-code-block .hljs-comment,.notes-code-block .hljs-quote{color:#7c8594}.notes-code-block .hljs-keyword,.notes-code-block .hljs-literal,.notes-code-block .hljs-section,.notes-code-block .hljs-selector-tag,.notes-code-block .hljs-title{color:#c678dd}.notes-code-block .hljs-attr,.notes-code-block .hljs-string,.notes-code-block .hljs-template-variable{color:#98c379}.notes-code-block .hljs-bullet,.notes-code-block .hljs-number,.notes-code-block .hljs-symbol{color:#d19a66}.notes-code-block .hljs-built_in,.notes-code-block .hljs-name,.notes-code-block .hljs-type{color:#56b6c2}.notes-code-block .hljs-params,.notes-code-block .hljs-property,.notes-code-block .hljs-variable{color:#e06c75}@media (max-width:1180px) and (pointer:coarse),(max-width:767px){.notes-code-block-header{min-height:2.75rem;padding-inline:.75rem .375rem}.notes-code-block-language-label{min-height:2.25rem}.notes-code-block-actions{position:absolute;top:calc(100% + .25rem);right:.25rem;bottom:auto;left:auto;width:-moz-max-content;width:max-content;min-width:7.5rem;max-width:min(10rem,calc(100vw - 2rem));max-height:none;gap:.125rem;padding:.25rem;transform:none;border-radius:.5rem;box-shadow:0 8px 24px hsl(var(--foreground)/.16)}.notes-code-block-actions button{min-height:2.25rem;padding-inline:.5rem}.notes-code-block-language-control{margin-right:auto}.notes-code-block-language-menu{position:absolute;top:calc(100% + .25rem);right:auto;bottom:auto;left:0;width:min(11rem,calc(100vw - 1rem));min-width:0;max-width:calc(100vw - 1rem);max-height:min(45dvh,16rem);padding:.25rem;transform:none;border-radius:.5rem;box-shadow:0 8px 24px hsl(var(--foreground)/.16)}.notes-code-block-language-menu button{min-height:2.75rem;padding-inline:.625rem}.notes-code-block pre,.tiptap-editor .tiptap:not(.shared-note-prose) .notes-code-block pre{padding:.875rem;font-size:.8125rem;line-height:1.6}}.tiptap-editor .tiptap .column-resize-handle{background-color:hsl(var(--primary)/.55);bottom:0;pointer-events:none;position:absolute;right:-1px;top:0;width:2px}.tiptap-editor .tiptap .tableWrapper{margin:.5rem 0;overflow-x:auto}.tiptap-editor .tiptap .tableWrapper.data-view-table{margin-top:0;overflow:visible;border:1px solid hsl(var(--border));border-radius:.625rem;background:hsl(var(--background));transition:border-color .12s ease}.tiptap-editor .tiptap .tableWrapper.data-view-table:focus-within{border-color:hsl(var(--ring)/.55)}.tiptap-editor .tiptap .tableWrapper.data-view-table>.notes-table-scroll-viewport>table{margin:0;border:0;border-radius:0}.tiptap-editor .tiptap table[data-table-density=compact] td,.tiptap-editor .tiptap table[data-table-density=compact] th{height:2rem;padding-block:.25rem}.tiptap-editor .tiptap table[data-table-density=comfortable] td,.tiptap-editor .tiptap table[data-table-density=comfortable] th{height:3.5rem;padding-block:.875rem}.tiptap-editor .tiptap table[data-table-wrap=false] td,.tiptap-editor .tiptap table[data-table-wrap=false] td p,.tiptap-editor .tiptap table[data-table-wrap=false] th,.tiptap-editor .tiptap table[data-table-wrap=false] th p{overflow:hidden;overflow-wrap:normal;text-overflow:ellipsis;white-space:nowrap}.tiptap-editor .tiptap table[data-table-grid-lines=false] td,.tiptap-editor .tiptap table[data-table-grid-lines=false] th{border-color:transparent}.tiptap-editor .tiptap table[data-table-fit-width=false][data-table-view=table]{width:-moz-max-content;width:max-content;min-width:100%}.tiptap-editor .tiptap table[data-table-fit-width=true][data-table-view=table]{width:100%}.tiptap-editor .tiptap .tableWrapper.data-view-table td,.tiptap-editor .tiptap .tableWrapper.data-view-table th{height:2.5rem;padding:.5rem .625rem;border-top:0;border-right:0;transition:background-color .1s ease}.tiptap-editor .tiptap .tableWrapper.data-view-table tr>:first-child{border-left:0}.tiptap-editor .tiptap .tableWrapper.data-view-table th{background:hsl(var(--muted)/.62);color:hsl(var(--muted-foreground));font-size:.75rem;font-weight:600;letter-spacing:.01em}.tiptap-editor .tiptap .tableWrapper.data-view-table tbody tr:hover td{background:hsl(var(--muted)/.24)}.tiptap-editor .tiptap .tableWrapper.data-view-table td:focus-within{background:hsl(var(--accent)/.42);box-shadow:inset 0 0 0 1px hsl(var(--ring)/.45)}.tiptap-editor .tiptap table[data-table-view=cards]{width:100%!important;min-width:0!important;border:0;background:transparent}.tiptap-editor .tiptap table[data-table-view=cards] colgroup{display:none}.tiptap-editor .tiptap .tableWrapper:has(table[data-table-view=cards]){padding:.375rem;background:hsl(var(--muted)/.18)}.tiptap-editor .tiptap table[data-table-view=cards] tbody{display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.75rem;padding:.25rem}.tiptap-editor .tiptap table[data-table-view=cards] tbody>tr:first-child:has(th):not(:has(>td)){display:none}.tiptap-editor .tiptap table[data-table-view=cards] tr{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid hsl(var(--border));border-radius:.625rem;background:hsl(var(--background));box-shadow:0 1px 3px hsl(var(--foreground)/.06);transition:border-color .12s ease,box-shadow .12s ease}.tiptap-editor .tiptap table[data-table-view=cards] tr:hover{border-color:hsl(var(--ring)/.45);box-shadow:0 2px 6px hsl(var(--foreground)/.08)}.tiptap-editor .tiptap table[data-table-view=cards][data-table-grid-lines=false] tr{border-color:transparent}.tiptap-editor .tiptap table[data-table-view=cards] td,.tiptap-editor .tiptap table[data-table-view=cards] th{display:block;width:100%!important;min-width:0;padding:.625rem .75rem;border:0;border-bottom:1px solid hsl(var(--border)/.7)}.tiptap-editor .tiptap table[data-table-view=cards] tr>:first-child{background:hsl(var(--muted)/.5);font-weight:600}.tiptap-editor .tiptap table[data-table-view=cards] tr>:last-child{border-bottom:0}@media (max-width:767px){.tiptap-editor .tiptap table[data-table-view=cards] tbody{grid-template-columns:1fr}}.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}}@media (max-width:1180px) and (pointer:coarse),(max-width:767px){.tiptap-editor .tiptap .tableWrapper.data-view-table{box-sizing:border-box;width:100%;max-width:100%;margin-inline:0;overflow:hidden;border-radius:.5rem;box-shadow:0 1px 2px hsl(var(--foreground)/.08)}.tiptap-editor .tiptap .tableWrapper.data-view-table>.notes-table-scroll-viewport{width:100%;max-width:100%;border-radius:0;scrollbar-width:thin;scrollbar-color:hsl(var(--muted-foreground)/.42) transparent}.tiptap-editor .tiptap .tableWrapper.data-view-table>.notes-table-scroll-viewport::-webkit-scrollbar{height:.375rem}.tiptap-editor .tiptap .tableWrapper.data-view-table>.notes-table-scroll-viewport::-webkit-scrollbar-thumb{border-radius:999px;background:hsl(var(--muted-foreground)/.42)}.tiptap-editor .tiptap .tableWrapper.data-view-table>.notes-table-scroll-viewport>table{margin:0}.tiptap-editor .tiptap .tableWrapper.data-view-table td,.tiptap-editor .tiptap .tableWrapper.data-view-table th{padding:.5rem}.tiptap-editor .tiptap .tableWrapper.data-view-table>.notes-table-view-strip{border-radius:0}.tiptap-editor .tiptap .tableWrapper.data-view-table>.notes-table-edge-add-row{border-top:0}.tiptap-editor .tiptap .tableWrapper.data-view-table>.notes-table-edge-add-column{top:3rem}}