.focus-mode-active{outline:2px solid var(--primary);outline-offset:2px}.tiptap{overflow-wrap:break-word;outline:none!important}.tiptap img,.tiptap .tiptap-image{max-width:100%;height:auto}.tiptap pre{max-width:100%;overflow-x:auto}.tiptap iframe,.tiptap [data-youtube-video]{max-width:100%}.tiptap.ProseMirror{min-height:100%;padding:1rem}[data-slot=editor-content],[data-slot=editor-content]>.tiptap{height:100%}.tiptap ::selection{color:inherit!important;background-color:#63b3ed66!important}.tiptap ::selection{color:inherit!important;background-color:#63b3ed66!important}.tiptap .persistent-selection{background-color:#63b3ed66}.tiptap .search-match{background-color:#facc1566;border-radius:2px}.tiptap .search-match-active{background-color:#f973168c;box-shadow:0 0 0 1px #ea580ce6}.tiptap-toolbar svg{stroke-width:2.5px}.tiptap a{color:#3b82f6;cursor:pointer;text-decoration:underline}.tiptap a:hover{color:#4d7feb}.tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:var(--muted-foreground);pointer-events:none;height:0}.tiptap .tableWrapper{max-width:100%;overflow-x:auto}.tiptap table{border-collapse:collapse;table-layout:fixed;width:100%;margin:1em 0;overflow:hidden}.tiptap table td,.tiptap table th{border:1px solid var(--border);vertical-align:top;box-sizing:border-box;padding:.5em;position:relative}.tiptap table th{text-align:left;background-color:color-mix(in oklch, var(--muted) 50%, transparent);font-weight:700}.tiptap table .selectedCell{background-color:var(--accent)}.footnote-ref-wrapper{display:inline}.tiptap span.footnote-ref{cursor:pointer;color:#5677c2;-webkit-user-select:none;user-select:none;background-color:#ff0;border-radius:2px;padding:0 2px;font-size:.8em;font-weight:600;transition:background-color .15s}.footnote-ref:hover{background-color:color-mix(in oklch, var(--primary) 12%, transparent)}.footnote-popover-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;margin-bottom:.5rem;padding-bottom:.5rem;display:flex}.footnote-popover-label{font-size:.8125rem;font-weight:600}.footnote-popover-edit-btn{background:var(--muted);border:1px solid var(--border);cursor:pointer;border-radius:4px;padding:2px 10px;font-size:.75rem;transition:background-color .15s}.footnote-popover-edit-btn:hover{background:var(--accent)}.footnote-content-preview{color:var(--foreground);font-size:.8125rem;line-height:1.6}.footnote-edit-area{border:1px solid var(--border);border-radius:6px;outline:none;min-height:60px;padding:.5rem;font-size:.8125rem;line-height:1.6}.footnote-edit-area:focus{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in oklch, var(--primary) 15%, transparent)}.tiptap.ProseMirror .cover-page,.ProseMirror .cover-page{box-sizing:border-box;border:1px dashed var(--border);border-radius:6px;margin:1.5rem 0;padding:1.25rem .75rem;position:relative}.tiptap.ProseMirror .cover-page:before,.tiptap.ProseMirror .cover-page:after,.ProseMirror .cover-page:before,.ProseMirror .cover-page:after{background:var(--background);letter-spacing:.08em;text-transform:uppercase;color:var(--muted-foreground);pointer-events:none;-webkit-user-select:none;user-select:none;white-space:nowrap;padding:.15rem .75rem;font-size:.65rem;font-weight:600;position:absolute;left:50%;transform:translate(-50%)}.tiptap.ProseMirror .cover-page:before,.ProseMirror .cover-page:before{content:"Begin Cover Page";top:-.6rem}.tiptap.ProseMirror .cover-page:after,.ProseMirror .cover-page:after{content:"End Cover Page (omitted from SSP attachment)";bottom:-.6rem}.tiptap ul[data-type=taskList]{margin:.5em 0;padding-left:0;list-style:none}.tiptap ul[data-type=taskList] li{align-items:flex-start;gap:.5rem;margin:.25rem 0;display:flex}.tiptap ul[data-type=taskList] li>label{-webkit-user-select:none;user-select:none;flex-shrink:0;align-items:center;margin-top:.25em;display:flex}.tiptap ul[data-type=taskList] li>label input[type=checkbox]{appearance:none;border:2px solid var(--border);cursor:pointer;background:0 0;border-radius:3px;width:1rem;height:1rem;transition:all .15s;position:relative}.tiptap ul[data-type=taskList] li>label input[type=checkbox]:hover{border-color:var(--primary)}.tiptap ul[data-type=taskList] li>label input[type=checkbox]:checked{background-color:var(--primary);border-color:var(--primary)}.tiptap ul[data-type=taskList] li>label input[type=checkbox]:checked:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:5px;height:9px;position:absolute;top:0;left:3px;transform:rotate(45deg)}.tiptap ul[data-type=taskList] li>div{flex:1;min-width:0}.tiptap ul[data-type=taskList] li[data-checked=true]>div>p{color:var(--muted-foreground);text-decoration:line-through}.tiptap ul[data-type=taskList] ul[data-type=taskList]{padding-left:1.5rem}.tiptap [data-aw-styles*=headerfooter-type],.tiptap [data-aw-styles*=-aw-rel-vpos\:margin],.tiptap [data-aw-styles*=-aw-rel-vpos\:topmargin],.tiptap [data-aw-styles*=-aw-rel-vpos\:bottommargin],.tiptap [data-aw-styles*=-aw-rel-hpos\:leftmargin],.tiptap [data-aw-styles*=-aw-rel-hpos\:rightmargin],.tiptap span[style*="position: absolute"][style*="height: 0"],.tiptap span[style*=position\:absolute][style*=height\:0]{display:none!important}.tiptap div[data-aw-styles*=-aw-sdt-tag]{clear:both;margin-top:1.5rem;margin-bottom:1.5rem}.tiptap div[data-page-break]{clear:both;border:none;border-top:2px dashed var(--border);pointer-events:none;-webkit-user-select:none;user-select:none;height:1rem;margin:1.5rem 0;position:relative}.tiptap div[data-page-break]:after{content:"Page Break";background:var(--background);color:var(--muted-foreground);letter-spacing:.05em;text-transform:uppercase;padding:0 .75rem;font-size:.7rem;font-weight:600;position:absolute;left:50%;transform:translate(-50%)}.tiptap .tiptap-headerfooter{border:1px dashed var(--border);border-radius:var(--radius);clear:both;margin:1rem 0;padding:1.5rem .75rem .75rem;position:relative}.tiptap .tiptap-headerfooter:before{background:var(--background);color:var(--muted-foreground);letter-spacing:.05em;text-transform:uppercase;padding:0 .5rem;font-size:.7rem;font-weight:600;position:absolute;top:0;left:.75rem;transform:translateY(-50%)}.tiptap .tiptap-headerfooter[data-hf=header]:before{content:"Page Header"}.tiptap .tiptap-headerfooter[data-hf=footer]:before{content:"Page Footer"}.tiptap .tiptap-headerfooter__content>:last-child{margin-bottom:0}.tiptap .ai-diff-removed{color:#7f1d1d;background-color:#fee2e2;border-radius:2px}.tiptap .ai-diff-added{color:#064e3b;background-color:#d1fae5;border-radius:2px}.dark .tiptap .ai-diff-removed{color:#f87171}.dark .tiptap .ai-diff-added{color:#34d399}
