.ProseMirror ::selection{background-color:rgba(100,130,180,.4);color:inherit}.selection-persist{background-color:rgba(100,130,180,.35);color:inherit;border-radius:2px;padding:4.5px 0}.ai-highlight{background-color:rgba(34,100,34,.3);color:inherit;border-radius:2px;padding:0 2px}.custom-editor-content,.custom-editor-content .ProseMirror{outline:none;min-height:300px;font-family:var(--font-sans);line-height:1.6}.custom-editor-content .ProseMirror p.is-editor-empty:first-child:before,.custom-editor-content p.is-editor-empty:first-child:before{color:#666;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.custom-editor-content .ProseMirror h1,.custom-editor-content h1{font-size:40px;font-weight:500;margin-top:1.5em;margin-bottom:.5em;line-height:1.2}.custom-editor-content .ProseMirror h2,.custom-editor-content h2{font-size:24px;font-weight:500;letter-spacing:-.01em;margin-top:1.3em;margin-bottom:.5em;line-height:1.3}.custom-editor-content .ProseMirror h2:first-child,.custom-editor-content h2:first-child{margin-top:0}.custom-editor-content .ProseMirror h3,.custom-editor-content h3{font-size:20px;font-weight:500;margin-top:1.2em;margin-bottom:.3em;line-height:1.4}.custom-editor-content .ProseMirror p,.custom-editor-content p{margin-bottom:1em;color:var(--fg-primary)/80%}.custom-editor-content .ProseMirror a,.custom-editor-content a,.custom-editor-content a.editor-link{color:var(--fg-blue);text-decoration:underline;text-decoration-color:rgba(96,165,250,.4);text-underline-offset:2px;cursor:pointer;transition:all .2s ease}.custom-editor-content .ProseMirror a:hover,.custom-editor-content a.editor-link:hover,.custom-editor-content a:hover{color:#93c5fd;text-decoration-color:rgba(147,197,253,.6)}.custom-editor-content .ProseMirror ul,.custom-editor-content ul{padding-left:1.5em;margin-bottom:1em;list-style:disc}.custom-editor-content .ProseMirror li,.custom-editor-content li{margin-bottom:.5em;p{margin-bottom:0}}.custom-editor-content .ProseMirror ol,.custom-editor-content ol{padding-left:1.5em;margin-bottom:1em;list-style:decimal}.custom-editor-content .ProseMirror blockquote,.custom-editor-content blockquote{border-left:3px solid var(--border-color);padding-left:1em;margin-left:0;margin-right:0;font-style:italic;color:var(--fg-secondary)}.custom-editor-content .ProseMirror table,.custom-editor-content table,.custom-editor-content table.editor-table{border-collapse:collapse;margin:.5rem 0;width:100%;table-layout:auto;overflow:hidden;border-radius:8px;border:1px solid var(--border-primary,#333);font-size:14px}.custom-editor-content .ProseMirror th,.custom-editor-content table th,.custom-editor-content table.editor-table th{background-color:var(--bg-tertiary,#1a1a1a);font-weight:600;text-align:left;padding:.75em 1em;border:1px solid var(--border-primary,#333);color:var(--fg-primary,#fff)}.custom-editor-content .ProseMirror td,.custom-editor-content table td,.custom-editor-content table.editor-table td{padding:.75em 1em;border:1px solid var(--border-primary,#333);vertical-align:top;background-color:var(--bg-secondary,#111)}.custom-editor-content .ProseMirror td p,.custom-editor-content .ProseMirror th p,.custom-editor-content table td p,.custom-editor-content table th p{margin:0;padding:0}.custom-editor-content .ProseMirror tr:hover td,.custom-editor-content table tr:hover td,.custom-editor-content table.editor-table tr:hover td{background-color:var(--bg-tertiary,#1a1a1a)}.custom-editor-content .ProseMirror .selectedCell,.custom-editor-content table .selectedCell,.custom-editor-content table.editor-table .selectedCell{background-color:var(--accent,rgba(20,80,203,.3))!important}.custom-editor-content .ProseMirror .column-resize-handle,.custom-editor-content table.editor-table .column-resize-handle{position:absolute;right:-2px;top:0;bottom:-2px;width:4px;background-color:var(--accent,#1450CB);pointer-events:none}.custom-editor-content .ProseMirror .tableWrapper,.custom-editor-content .tableWrapper{overflow-x:auto;margin:0}.custom-editor-content .ProseMirror pre,.custom-editor-content pre{background-color:var(--bg-secondary,#111);border-radius:8px;padding:1rem;margin:.5rem 0;overflow-x:auto;border:1px solid var(--border-primary,#333)}@keyframes toolbar-appear{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.animate-toolbar-appear{transform-origin:bottom center;animation:toolbar-appear .4s cubic-bezier(.34,1.56,.64,1) forwards}@keyframes toolbar-expand{0%{width:350px}to{width:420px}}.animate-toolbar-expand{width:420px;animation:toolbar-expand .2s cubic-bezier(.77,0,.18,1) forwards}