#latex-editor-content :root{--white:#fff;--black:#2e2b29;--black-contrast:#110f0e;--gray-1:rgba(61,37,20,.05);--gray-2:rgba(61,37,20,.08);--gray-3:rgba(61,37,20,.12);--gray-4:#6b7280;--gray-5:rgba(28,25,23,.6);--green:#22c55e;--purple:#6a00f5;--purple-contrast:#5800cc;--purple-light:rgba(88,5,255,.05);--yellow-contrast:#facc15;--yellow:rgba(250,204,21,.4);--yellow-light:#fffae5;--red:#ff5c33;--red-light:#ffebe5;--shadow:0px 12px 33px 0px rgba(0,0,0,.06),0px 3.618px 9.949px 0px rgba(0,0,0,.04)}#latex-editor-content .tiptap{min-height:auto;padding:0;width:100%}#latex-editor-content .tiptap:first-child{margin-top:0;margin-bottom:0}#latex-editor-content .tiptap ol,#latex-editor-content .tiptap ul{padding:0 1rem;margin:1.25rem 1rem 1.25rem .4rem}#latex-editor-content .tiptap ol li p,#latex-editor-content .tiptap ul li p{margin-top:.25em;margin-bottom:.25em}#latex-editor-content .tiptap h1,#latex-editor-content .tiptap h2,#latex-editor-content .tiptap h3,#latex-editor-content .tiptap h4,#latex-editor-content .tiptap h5,#latex-editor-content .tiptap h6{line-height:1.1;margin-top:2.5rem;text-wrap:pretty}#latex-editor-content .tiptap h1,#latex-editor-content .tiptap h2{margin-top:3.5rem;margin-bottom:1.5rem}#latex-editor-content .tiptap h1{font-size:1.4rem}#latex-editor-content .tiptap h2{font-size:1.2rem}#latex-editor-content .tiptap h3{font-size:1.1rem}#latex-editor-content .tiptap h4,#latex-editor-content .tiptap h5,#latex-editor-content .tiptap h6{font-size:1rem}#latex-editor-content .tiptap code{background-color:var(--purple-light);border-radius:.4rem;color:var(--black);font-size:.85rem;padding:.25em .3em}#latex-editor-content .tiptap pre{background:var(--black);border-radius:.5rem;color:var(--white);font-family:JetBrainsMono,monospace;margin:1.5rem 0;padding:.75rem 1rem}#latex-editor-content .tiptap pre code{background:none;color:inherit;font-size:.8rem;padding:0}#latex-editor-content .tiptap blockquote{border-left:3px solid var(--gray-3);margin:1.5rem 0;padding-left:1rem}#latex-editor-content .tiptap hr{border:none;border-top:1px solid var(--gray-2);margin:2rem 0}#latex-editor-content .tiptap p.is-editor-empty:first-child:before{color:var(--gray-4);content:attr(data-placeholder);float:left;height:0;pointer-events:none;font-weight:400}#latex-editor-content .tiptap ol{list-style-type:decimal!important}#latex-editor-content .tiptap ul{list-style-type:disc!important}#latex-editor-content .tiptap table p{display:flex;justify-content:center;align-items:center}#latex-editor-content .math-node{min-width:1em;min-height:1em;font-size:.95em;font-family:Consolas,Ubuntu Mono,monospace;cursor:auto}#latex-editor-content .math-node.empty-math .math-render:before{content:"(empty)";color:red}#latex-editor-content .math-node .math-render.parse-error:before{content:"(math error)";color:red;cursor:help}#latex-editor-content .math-node.ProseMirror-selectednode{outline:none}#latex-editor-content .math-node .math-src{display:none;color:#8421a2;tab-size:4}#latex-editor-content .math-node.ProseMirror-selectednode .math-src{display:inline}#latex-editor-content .math-node.ProseMirror-selectednode .math-render{display:none}#latex-editor-content inlinemath{display:inline;white-space:nowrap}#latex-editor-content inlinemath .math-render{display:inline-block;font-size:1em;cursor:pointer}#latex-editor-content inlinemath .math-src .ProseMirror{display:inline;border-right:1px solid transparent;border-left:1px solid transparent}#latex-editor-content inlinemath .math-src:after,#latex-editor-content inlinemath .math-src:before{content:"$";color:#b0b0b0}#latex-editor-content math-display,#latex-editor-content math-display .math-render{display:block}#latex-editor-content math-display.ProseMirror-selectednode{background-color:#eee}#latex-editor-content math-display .math-src .ProseMirror{width:100%;display:block}#latex-editor-content math-display .math-src:after,#latex-editor-content math-display .math-src:before{content:"$$";text-align:left;color:#b0b0b0}#latex-editor-content math-display .katex-display{margin:0}#latex-editor-content .math-node.math-select .math-render{background-color:silver}#latex-editor-content inlinemath.math-select .math-render{padding-top:2px}#latex-editor-content .math-node .math-src{color:#fff;background-color:#000;padding:4px 8px;border-radius:4px}#latex-editor-content .math-src>div{padding:0;color:#fff}#latex-editor-content table{border-collapse:collapse;margin:0 0 12px;table-layout:fixed;width:100%}#latex-editor-content table td,#latex-editor-content table th{border:1px solid rgba(61,37,20,.12);box-sizing:border-box;min-width:1em;padding:6px 8px;vertical-align:top;position:relative;z-index:10}#latex-editor-content table td>*,#latex-editor-content table th>*{margin-bottom:0}#latex-editor-content table th{background-color:#ccc;font-weight:700;text-align:left}#latex-editor-content table.no-border td,#latex-editor-content table.no-border th{border-color:transparent!important}#latex-editor-content table .selectedCell:after{content:"";left:-1px;right:-1px;top:-1px;bottom:-1px;border:1px solid #0d67f7;pointer-events:none;position:absolute;z-index:50}#latex-editor-content table .column-resize-handle{background-color:violet;bottom:-2px;pointer-events:none;position:absolute;right:-2px;top:0;width:4px}#latex-editor-content .tableWrapper{margin:1.5rem 0;overflow-x:auto}#latex-editor-content .table-of-contents{display:flex;flex-direction:column;font-size:.875rem;gap:.25rem;overflow:auto;text-decoration:none;padding-left:35px}#latex-editor-content .table-of-contents>div{border-radius:.25rem;padding-left:calc(.875rem*(var(--level) - 1));transition:all .2s cubic-bezier(.65,.05,.36,1)}#latex-editor-content .table-of-contents>div:hover{background-color:var(--gray-2)}#latex-editor-content .table-of-contents .empty-state{color:var(--gray-5);user-select:none}#latex-editor-content .table-of-contents .is-active a{color:var(--purple)}#latex-editor-content .table-of-contents .is-scrolled-over a{color:var(--gray-5)}#latex-editor-content .table-of-contents a{color:var(--black);display:flex;gap:.25rem;text-decoration:none}#latex-editor-content .style-edit>:first-child{margin-top:auto!important}#latex-editor-content .style-edit>:last-child{margin-bottom:auto!important}#latex-editor-content .ProseMirror p{margin-bottom:0}#latex-editor-content .ProseMirror table td:first-of-type:not(a),#latex-editor-content .ProseMirror table th:first-of-type:not(a){margin-top:0}#latex-editor-content .ProseMirror [contenteditable=false]{white-space:normal}#latex-editor-content .ProseMirror p:not(:first-child){margin-bottom:0}