.tiptap :first-child{margin-top:0}.tiptap table{border-collapse:collapse;table-layout:fixed;width:100%;margin:0;overflow:hidden}.tiptap table td,.tiptap table th{border:1px solid var(--border);box-sizing:border-box;vertical-align:top;min-width:1em;padding:6px 8px;position:relative}:is(.tiptap table td,.tiptap table th)>*{margin-bottom:0}:is(.tiptap table td,.tiptap table th) p{z-index:100}.tiptap table th{background-color:var(--muted);text-align:left;font-weight:700}.tiptap table .selectedCell{background:var(--sidebar)}.tiptap table .column-resize-handle{background-color:var(--primary);pointer-events:none;z-index:100;width:4px;position:absolute;top:0;bottom:-2px;right:-2px}.tiptap .tableWrapper{margin:1.5rem 0;overflow-x:auto}.tiptap.resize-cursor{cursor:ew-resize;cursor:col-resize}.tiptap-editor{flex:1;max-width:none;min-height:500px;padding:1rem}.tiptap-editor .ProseMirror{outline:none;min-height:500px;padding:0}.tiptap-editor p.is-editor-empty{position:relative}.tiptap-editor p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:hsl(var(--muted-foreground));pointer-events:none;position:absolute}.tiptap-editor p{text-align:left;margin-top:.5rem;margin-bottom:.5rem}.tiptap-editor a{color:var(--primary);cursor:pointer;text-decoration:underline}.tiptap-editor ul{padding-left:1.5rem;list-style-type:disc}.tiptap-editor ol{padding-left:1.5rem;list-style-type:decimal}.tiptap-editor h1{margin-top:1rem;margin-bottom:1rem;font-size:1.875rem;font-weight:700}.tiptap-editor h2{margin-top:.75rem;margin-bottom:.75rem;font-size:1.5rem;font-weight:700}.tiptap-editor h3{margin-top:.75rem;margin-bottom:.75rem;font-size:1.25rem;font-weight:700}.tiptap-editor h4{margin-top:.5rem;margin-bottom:.5rem;font-size:1.125rem;font-weight:700}.tiptap-editor h5{margin-top:.5rem;margin-bottom:.5rem;font-size:1rem;font-weight:700}.tiptap-editor h6{margin-top:.5rem;margin-bottom:.5rem;font-size:.875rem;font-weight:700}.tiptap-editor table{border-collapse:collapse;width:100%;margin-top:1rem;margin-bottom:1rem}.tiptap-editor th{border:1px solid hsl(var(--border));background-color:hsl(var(--muted));padding:.5rem;font-weight:600}.tiptap-editor td{border:1px solid hsl(var(--border));padding:.5rem}.tiptap-editor [dir=rtl]{text-align:right}.tiptap-editor [dir=ltr]{text-align:left}.tiptap-editor [data-text-align=center]{text-align:center}.tiptap-editor [data-text-align=right]{text-align:right}.tiptap-editor [data-text-align=justify]{text-align:justify}
