.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}@supports (height:100dvh){.mobile-safe-height{height:100dvh}}@supports not (height:100dvh){.mobile-safe-height{height:100vh}}@media screen and (max-width:768px){.mobile-chat-container{height:100dvh;height:100vh;display:flex;flex-direction:column;overscroll-behavior-y:contain;min-height:0;position:relative}}.chat-container{display:flex;flex-direction:column;overflow:hidden;overscroll-behavior-y:contain;flex:1;height:100%}.messages-area{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}.animate-move{animation-name:move}.animate-gradient{animation:gradient 8s ease-in-out infinite}.animate-gradient-reverse{animation:gradient-reverse 8s ease-in-out infinite}@keyframes gradient{0%{transform:translate(0) rotate(0deg)}33%{transform:translate(-20%,-20%) rotate(120deg)}66%{transform:translate(20%,20%) rotate(240deg)}to{transform:translate(0) rotate(1turn)}}@keyframes gradient-reverse{0%{transform:translate(0) rotate(1turn)}33%{transform:translate(20%,-20%) rotate(240deg)}66%{transform:translate(-20%,20%) rotate(120deg)}to{transform:translate(0) rotate(0deg)}}@keyframes blur-in{0%{filter:blur(12px);opacity:0}to{filter:blur(0);opacity:1}}.is-empty:first-child:before{content:attr(data-placeholder);float:left;color:#9ca3af;pointer-events:none;height:0}.dark .is-empty:first-child:before{color:#6b7280}.prose ul li::marker{color:black!important}.dark .prose ul li::marker{color:white!important}.dark .ProseMirror:focus{outline:none}.ProseMirror{padding-inline:5rem;position:relative}.ProseMirror>*+*{margin-top:.75em}.ProseMirror [data-id]{border:3px solid #0d0d0d;border-radius:.5rem;position:relative;margin:1.5rem 0 1rem;padding:2rem 1rem 1rem}.ProseMirror [data-id]:before{content:attr(data-id);background-color:#0D0D0D;font-size:.6rem;letter-spacing:1px;font-weight:700;text-transform:uppercase;color:#fff;position:absolute;top:0;border-radius:0 0 .5rem .5rem}.editor-controls{display:flex;position:absolute;left:1rem;top:.5rem;gap:0;z-index:100}.handle-container{display:flex;gap:.5rem;align-items:center;position:absolute;left:-4.5rem;top:-.125rem;transform:none}.editor-button{color:#9ca3af;background:transparent;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:.25rem;border-radius:.25rem;transition:all .15s;height:24px;width:24px}.editor-button:hover{background-color:#f3f4f6;color:#374151}.dark .editor-button{color:#6b7280}.dark .editor-button:hover{background-color:#374151;color:#e5e7eb}.editor-slash{color:#6b7280;font-size:1rem;font-weight:400}.dark .editor-slash{color:#9ca3af}[data-drag-handle]{background:transparent!important;border:none!important;cursor:default!important;position:static!important;transform:none!important;padding:0!important;width:auto!important;height:auto!important}.ProseMirror>*,.image-wrapper{position:relative}.image-wrapper{margin:1em 0;line-height:0;display:block}.image-wrapper img{transition:opacity .3s ease-in-out;display:block;border-radius:.5rem}.image-loader{position:absolute;top:0;left:0;right:0;bottom:0;background:rgb(243 244 246);display:flex;align-items:center;justify-content:center;border-radius:.5rem;z-index:1}.dark .image-loader{background:rgb(31 41 55)}.image-wrapper .ProseMirror-selectednode{outline:none;border:none}.image-wrapper img.ProseMirror-selectednode{outline:2px solid rgb(99 102 241);border-radius:.5rem}.tiptap blockquote.is-empty:before,.tiptap h1.is-empty:before,.tiptap h2.is-empty:before,.tiptap h3.is-empty:before,.tiptap li.is-empty:before,.tiptap p.is-empty:before,.tiptap pre.is-empty:before{color:#adb5bd;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.text-highlight{background-color:#ffeb3b;color:black;padding:2px}.ProseMirror img.image-loading{opacity:.6;position:relative;filter:blur(1px)}.ProseMirror img.image-loading:before{content:"";position:absolute;top:50%;left:50%;width:20px;height:20px;margin:-10px 0 0 -10px;border:2px solid rgba(59,130,246,.2);border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite;z-index:1}.ProseMirror img.image-loaded{opacity:1;filter:none;transition:all .3s ease-in-out}.ProseMirror img.image-error{opacity:.6;filter:grayscale(100%);border:2px dashed #ef4444;border-radius:6px}.ProseMirror *,.ProseMirror :focus,.tippy-content button{outline:none!important}.tippy-content button:focus,button[class*=p-1][class*=rounded]:focus,button[class*=p-2][class*=rounded]:focus{outline:none!important;box-shadow:none!important}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}