.tiptap-editor-container{border-radius:calc(var(--radius) - 2px);background-color:var(--background);border-width:1px;flex-direction:column;display:flex}.tiptap-editor-loading{flex-direction:column;justify-content:center;align-items:center;display:flex}.tiptap-editor-loading>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.tiptap-editor-loading{padding-top:3rem;padding-bottom:3rem}.tiptap-loading-spinner{width:2rem;height:2rem}@keyframes spin{to{transform:rotate(360deg)}}.tiptap-loading-spinner{border-width:4px;border-color:var(--primary);border-top-color:#0000;border-radius:9999px;animation:1s linear infinite spin}.tiptap-menubar>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.tiptap-menubar{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity,1));border-bottom-width:1px;padding:.5rem}.tiptap-menubar-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.tiptap-editor-wrapper{position:relative}.tiptap-editor-content{min-height:250px;max-height:400px;padding:.75rem 1rem;overflow-y:auto}.tiptap-editor-content:focus{outline-offset:2px;outline:2px solid #0000}.tiptap-editor-content.is-editor-empty:before,.tiptap-editor-content p.is-editor-empty:first-child:before{content:attr(data-placeholder);pointer-events:none;float:left;height:0;color:var(--muted-foreground)}.tiptap-editor-content .ProseMirror:focus{outline-offset:2px;outline:2px solid #0000}.tiptap-editor-content .ProseMirror>*{margin-bottom:.75rem}.tiptap-editor-content .ProseMirror>:last-child{margin-bottom:0}.tiptap-editor-content h1{font-size:2.25rem;font-weight:700;line-height:2.5rem}.tiptap-editor-content h2{font-size:1.875rem;font-weight:700;line-height:2.25rem}.tiptap-editor-content h3{font-size:1.5rem;font-weight:700;line-height:2rem}.tiptap-editor-content h4{font-size:1.25rem;font-weight:700;line-height:1.75rem}.tiptap-editor-content h5{font-size:1.125rem;font-weight:700;line-height:1.75rem}.tiptap-editor-content h6{font-size:1rem;font-weight:700;line-height:1.5rem}.tiptap-editor-content p{line-height:1.625}.tiptap-editor-content ul.tiptap-bullet-list>:not([hidden])~:not([hidden]),.tiptap-editor-content ol.tiptap-ordered-list>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.tiptap-editor-content ul.tiptap-bullet-list,.tiptap-editor-content ol.tiptap-ordered-list{padding-left:1.5rem}.tiptap-editor-content ul.tiptap-bullet-list{list-style-type:disc}.tiptap-editor-content ol.tiptap-ordered-list{list-style-type:decimal}.tiptap-editor-content li{line-height:1.625}.tiptap-editor-content li p{margin-bottom:.25rem}.tiptap-editor-content a.tiptap-link{cursor:pointer;color:var(--primary);text-decoration-line:underline}.tiptap-editor-content a.tiptap-link:hover{color:hsl(var(--primary) / .8)}.tiptap-editor-content img.tiptap-image{border-radius:calc(var(--radius) - 2px);max-width:100%;height:auto}.tiptap-editor-content img.tiptap-image.ProseMirror-selectednode{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);--tw-ring-color:var(--primary);--tw-ring-offset-width:2px}.tiptap-editor-content table.tiptap-table{border-collapse:collapse;width:100%}.tiptap-editor-content table.tiptap-table td.tiptap-table-cell,.tiptap-editor-content table.tiptap-table th.tiptap-table-header{border-width:1px;border-color:var(--border);min-width:100px;padding:.5rem .75rem}.tiptap-editor-content table.tiptap-table th.tiptap-table-header{background-color:var(--muted);text-align:left;font-weight:600}.tiptap-editor-content table.tiptap-table .selectedCell{background-color:hsl(var(--primary) / .1)}.tiptap-editor-content hr{border-top-width:2px;border-color:var(--border);margin-top:1rem;margin-bottom:1rem}.tiptap-editor-content .ProseMirror-selectednode{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);--tw-ring-color:var(--primary);--tw-ring-offset-width:2px}.tiptap-editor-content:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);--tw-ring-color:hsl(var(--primary) / .2)}.dark .tiptap-editor-content code,.dark .tiptap-editor-content pre.tiptap-code-block,.dark .tiptap-editor-content table.tiptap-table th.tiptap-table-header{background-color:var(--muted)}@media (max-width:768px){.tiptap-menubar-row{gap:.25rem}.tiptap-editor-content{padding:.5rem .75rem}}.tiptap-editor-content .tableWrapper{overflow-x:auto}.tiptap-editor-content .resize-cursor{cursor:col-resize}.tiptap-editor-content .ProseMirror-selectednode img{outline-width:2px;outline-style:solid;outline-color:var(--primary)}.tiptap-editor-content:focus-visible{outline-offset:2px;outline:2px solid #0000}.tiptap-editor-content{word-wrap:break-word;overflow-wrap:break-word}.tiptap-editor-content img,.tiptap-editor-content table{max-width:100%}.tiptap-editor-content .forwarded-message{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px);--tw-border-opacity:1;border-left-width:4px;border-color:rgb(209 213 219/var(--tw-border-opacity,1));background-color:hsl(var(--muted) / .4);-webkit-user-select:none;user-select:none;cursor:default;margin-top:1rem;padding:12px 16px}.tiptap-editor-content .forwarded-message .forwarded-separator{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1));margin-bottom:.5rem;font-size:.875rem;font-style:normal;line-height:1.25rem}.tiptap-editor-content .forwarded-message .forwarded-header{border:none;margin-bottom:.5rem;font-size:.875rem;line-height:1.25rem}.tiptap-editor-content .forwarded-message .forwarded-header td{border:none;min-width:auto;padding-top:.125rem;padding-bottom:.125rem;font-size:.875rem;line-height:1.25rem}.tiptap-editor-content .forwarded-message .forwarded-body{font-size:.875rem;line-height:1.625}.tiptap-editor-content .forwarded-message .forwarded-body img{max-width:100%;height:auto}.tiptap-editor-content .forwarded-message hr{--tw-border-opacity:1;border-top-width:1px;border-color:rgb(209 213 219/var(--tw-border-opacity,1));margin-top:.5rem;margin-bottom:.5rem}.tiptap-editor-content .forwarded-message.ProseMirror-selectednode{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);--tw-ring-color:var(--primary);--tw-ring-offset-width:2px}.dark .tiptap-editor-content .forwarded-message{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity,1));background-color:hsl(var(--muted) / .3)}.dark .tiptap-editor-content .forwarded-message .forwarded-separator{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.dark .tiptap-editor-content .forwarded-message .forwarded-header td:first-child{color:#999}.dark .tiptap-editor-content .forwarded-message .forwarded-header td:last-child{color:#ccc}.dark .tiptap-editor-content .forwarded-message hr{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity,1))}.tiptap-editor-error{background-color:#fef2f2;border-color:#991b1b}
