.tiptap :first-child{margin-top:0}.tiptap{width:100%;height:100%;outline:none}.tiptap ol,.tiptap ul{padding:0 1rem;margin:1.25rem 1rem 1.25rem .4rem}.tiptap ol li p,.tiptap ul li p{margin-top:.25em;margin-bottom:.25em}.tiptap h1,.tiptap h2,.tiptap h3,.tiptap h4,.tiptap h5,.tiptap h6{line-height:1.1;margin-top:2.5rem;text-wrap:pretty}.tiptap h1,.tiptap h2{margin-top:3.5rem;margin-bottom:1.5rem}.tiptap h1,.tiptap h2.chapter-h1{font-size:var(--theme-font-size-h1)}.tiptap h2:not(.chapter-h1){font-size:var(--theme-font-size-h2)}.tiptap h3{font-size:var(--theme-font-size-h3)}.tiptap h4,.tiptap h5,.tiptap h6{font-size:var(--theme-font-size-h4)}.tiptap p{margin:.5rem 0 1rem;font-size:var(--theme-font-size-body1)}.tiptap code{background-color:var(--purple-light);border-radius:.4rem;color:var(--black);font-size:.85rem;padding:.25em .3em}.tiptap pre{background:var(--black);border-radius:.5rem;color:var(--white);font-family:JetBrainsMono,monospace;margin:1.5rem 0;padding:.75rem 1rem}.tiptap pre code{background:none;color:inherit;font-size:.8rem;padding:0}.tiptap blockquote{border-left:3px solid var(--theme-border-light);margin:var(--theme-spacing),0;padding-left:calc(var(--theme-spacing)*2)}.tiptap hr{border:none;border-top:1px solid var(--theme-border-light);margin:2rem 0}.tiptap .is-empty:before{color:var(--theme-text-disabled);content:attr(data-placeholder);float:left;height:0;pointer-events:none}.tiptap .collaboration-cursor__caret{border-left:1px solid #0d0d0d;border-right:1px solid #0d0d0d;margin-left:-1px;margin-right:-1px;pointer-events:none;position:relative;word-break:normal}.tiptap .collaboration-cursor__label{border-radius:3px 3px 3px 0;color:#0d0d0d;font-size:12px;font-style:normal;font-weight:600;left:-1px;line-height:normal;padding:.1rem .3rem;position:absolute;top:-1.4em;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;z-index:999}.tiptap .tiptap:focus{outline:"none"}.tiptap #demo-popup-menu{-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}.tiptap table{border-collapse:collapse;overflow:hidden;table-layout:fixed;width:100%}.tiptap table td,.tiptap table th{border:1px solid var(--theme-border-light);box-sizing:border-box;min-width:1em;padding:6px 8px;position:relative;vertical-align:top}.tiptap table td>*,.tiptap table th>*{margin-bottom:0}.tiptap table th{background-color:rgba(0,0,0,.0666666667);font-weight:700;text-align:left}@media(prefers-color-scheme:dark){.tiptap table th{background-color:hsla(0,0%,100%,.0666666667)}}.tiptap table .selectedCell:after{background:var(--theme-text-disabled);content:"";left:0;right:0;top:0;bottom:0;pointer-events:none;position:absolute;z-index:2}.tiptap table .column-resize-handle{background-color:var(--theme-primary);bottom:-2px;pointer-events:none;position:absolute;right:-2px;top:0;width:4px}.tiptap .tableWrapper{margin:1.5rem 0;overflow-x:auto}.tiptap.resize-cursor{cursor:ew-resize;cursor:col-resize}.tiptap ol{list-style-type:decimal}.tiptap ol ol{list-style-type:lower-alpha!important}.tiptap ol ol ol{list-style-type:lower-roman!important}.tiptap ol ol ol ol{list-style-type:decimal!important}.tiptap ol ol ol ol ol{list-style-type:lower-alpha!important}.tiptap ol ol ol ol ol ol{list-style-type:lower-roman!important}.tiptap ol[data-list-type=lower-alpha]{list-style-type:lower-alpha}.tiptap ol[data-list-type=lower-alpha] ol{list-style-type:lower-roman!important}.tiptap ol[data-list-type=lower-alpha] ol ol{list-style-type:decimal!important}.tiptap ol[data-list-type=lower-alpha] ol ol ol{list-style-type:lower-alpha!important}.tiptap ol[data-list-type=lower-alpha] ol ol ol ol{list-style-type:lower-roman!important}.tiptap ol[data-list-type=lower-alpha] ol ol ol ol ol{list-style-type:decimal!important}.tiptap ol[data-list-type=upper-alpha]{list-style-type:upper-alpha}.tiptap ol[data-list-type=upper-alpha] ol{list-style-type:upper-roman!important}.tiptap ol[data-list-type=upper-alpha] ol ol{list-style-type:decimal!important}.tiptap ol[data-list-type=upper-alpha] ol ol ol{list-style-type:upper-alpha!important}.tiptap ol[data-list-type=upper-alpha] ol ol ol ol{list-style-type:upper-roman!important}.tiptap ol[data-list-type=upper-alpha] ol ol ol ol ol{list-style-type:decimal!important}.tiptap h1,.tiptap h2.chapter-h1{counter-increment:chapterCounter;counter-reset:sectionCounter}.tiptap h2:not(.chapter-h1){counter-increment:sectionCounter;counter-reset:h3counter}.tiptap h3{counter-increment:h3counter;counter-reset:h4counter}.tiptap h4{counter-increment:h4counter;counter-reset:h5counter}.tiptap h5{counter-increment:h5counter;counter-reset:h6counter}.tiptap h6{counter-increment:h6counter}.tiptap h1:before,.tiptap h2.chapter-h1:before{content:counter(chapterCounter) ". "}.tiptap h1:before,.tiptap h2.chapter-h1:before,.tiptap h2:not(.chapter-h1,.chapter-h2):before{counter-reset:chapterCounter var(--editor-chapter-number) sectionCounter var(--editor-section-number);color:var(--theme-text-disabled)}.tiptap h2.chapter-h2:before,.tiptap h2:not(.chapter-h1,.chapter-h2):before{content:counter(chapterCounter) "." counter(sectionCounter) ". "}.tiptap h2.chapter-h2:before{counter-reset:chapterCounter var(--editor-chapter-number);color:var(--theme-text-disabled)}.tiptap h3:not(.chapter-h3):before{counter-reset:chapterCounter var(--editor-chapter-number) sectionCounter var(--editor-section-number)}.tiptap h3.chapter-h3:before,.tiptap h3:not(.chapter-h3):before{content:counter(chapterCounter) "." counter(sectionCounter) "." counter(h3counter) ". ";color:var(--theme-text-disabled)}.tiptap h3.chapter-h3:before{counter-reset:chapterCounter var(--editor-chapter-number)}.tiptap h4:not(.chapter-h4):before{counter-reset:chapterCounter var(--editor-chapter-number) sectionCounter var(--editor-section-number)}.tiptap h4.chapter-h4:before,.tiptap h4:not(.chapter-h4):before{content:counter(chapterCounter) "." counter(sectionCounter) "." counter(h3counter) "." counter(h4counter) ". ";color:var(--theme-text-disabled)}.tiptap h4.chapter-h4:before{counter-reset:chapterCounter var(--editor-chapter-number)}.tiptap h5:not(.chapter-h5):before{counter-reset:chapterCounter var(--editor-chapter-number) sectionCounter var(--editor-section-number)}.tiptap h5.chapter-h5:before,.tiptap h5:not(.chapter-h5):before{content:counter(chapterCounter) "." counter(sectionCounter) "." counter(h3counter) "." counter(h4counter) "." counter(h5counter) ". ";color:var(--theme-text-disabled)}.tiptap h5.chapter-h5:before{counter-reset:chapterCounter var(--editor-chapter-number)}.tiptap h6:not(.chapter-h6):before{counter-reset:chapterCounter var(--editor-chapter-number) sectionCounter var(--editor-section-number)}.tiptap h6.chapter-h6:before,.tiptap h6:not(.chapter-h6):before{content:counter(chapterCounter) "." counter(sectionCounter) "." counter(h3counter) "." counter(h4counter) "." counter(h5counter) "." counter(h6counter) ". ";color:var(--theme-text-disabled)}.tiptap h6.chapter-h6:before{counter-reset:chapterCounter var(--editor-chapter-number)}.tiptap .bubble-menu{background-color:var(--theme-background-paper);border:1px solid var(--theme-border-light);border-radius:.7rem;box-shadow:var(--shadow);display:flex;padding:.2rem}.tiptap .bubble-menu button{background-color:unset}.tiptap .bubble-menu button:hover{background-color:var(--gray-3)}.tiptap .bubble-menu button.is-active{background-color:var(--purple)}.tiptap .bubble-menu button.is-active:hover{background-color:var(--purple-contrast)}.mention{color:var(--theme-primary);font-weight:500;background-color:color-mix(in srgb,var(--theme-primary),transparent 80%);padding:.1rem .3rem;border-radius:.3rem;white-space:nowrap;cursor:pointer}.mention-list{background:var(--theme-background-paper);border:1px solid var(--theme-border-light);border-radius:.5rem;box-shadow:0 2px 10px rgba(0,0,0,.25);max-height:300px;overflow-y:auto;padding:.5rem 0;min-width:250px}.mention-item{display:block;width:100%;padding:.5rem 1rem;text-align:left;background:none;border:none;cursor:pointer;font-size:.875rem;color:var(--theme-text-primary);border-bottom:1px solid var(--theme-border-light)}.mention-item.section-item{padding-left:1.5rem;font-size:.8125rem}.mention-list .mention-item.section-item:before{content:"├";color:var(--theme-text-disabled);font-size:.875rem;margin-right:.5rem}.mention-item.selected,.mention-item:hover{background-color:color-mix(in srgb,var(--theme-primary),transparent 80%);color:var(--theme-primary)}