.text .tiptap-editor .tiptap{outline:none;min-height:0}.create-tiptap .tiptap-editor .tiptap{scrollbar-width:thin;min-height:100px;max-height:calc(100vh - 500px);padding-top:0;overflow-y:auto!important}.create-tiptap-preview .tiptap-editor .tiptap,.create-tiptap-preview .tiptap-editor .tiptap p{color:rgb(var(--textColor-secondary))}.chat-tiptap .tiptap-editor .tiptap{min-height:72px;max-height:120px}.chat-tiptap-v3 .tiptap-editor .tiptap{min-height:25px;max-height:180px;-ms-overflow-style:auto!important;scrollbar-width:auto!important;overflow-y:auto!important}.chat-tiptap-v3 .tiptap-editor .tiptap::-webkit-scrollbar{width:6px;display:block!important}.chat-tiptap-v3 .tiptap-editor .tiptap::-webkit-scrollbar-track{background:0 0}.chat-tiptap-v3 .tiptap-editor .tiptap::-webkit-scrollbar-thumb{background:0 0;border-radius:3px}.chat-tiptap-v3:focus-within .tiptap-editor .tiptap::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb)}.chat-tiptap-v3:hover .tiptap-editor .tiptap::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb)}.chat-tiptap-v3:focus-within .tiptap-editor .tiptap::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}.chat-tiptap-v3:hover .tiptap-editor .tiptap::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}.chat-tiptap-v3 .tiptap-editor .tiptap::-webkit-scrollbar-thumb:active{background:var(--scrollbar-thumb-hover)}.design-md-tiptap,.design-md-tiptap .tiptap-editor{flex-direction:column;flex:1;min-height:0;display:flex}.design-md-tiptap .tiptap-editor .tiptap{max-height:initial;white-space:pre-wrap;flex:1;overflow-y:auto}.design-md-paste-editor .tiptap-editor .tiptap,.design-md-instructions-editor .tiptap-editor .tiptap{min-height:72px;max-height:88px;overflow-y:auto}.document-tiptap .tiptap-editor .tiptap{max-height:none}.tiptap-editor .tiptap{-ms-overflow-style:none;scrollbar-width:none;outline:none;max-height:min(25vh,400px);overflow:auto}.tiptap-editor .tiptap::-webkit-scrollbar{display:none}.tiptap-editor pre{background:var(--joy-palette-background-level2);color:var(--white);border-radius:.5rem;max-height:200px;margin:.5rem 0 0;padding:.75rem 1rem;font-family:JetBrainsMono,monospace;overflow:scroll}.tiptap-editor pre code{color:inherit;background:0 0;height:100%;padding:0;font-size:.8rem}.tiptap-editor pre .hljs-comment,.tiptap-editor pre .hljs-quote{color:#616161}.tiptap-editor pre .hljs-variable,.tiptap-editor pre .hljs-template-variable,.tiptap-editor pre .hljs-attribute,.tiptap-editor pre .hljs-tag,.tiptap-editor pre .hljs-regexp,.tiptap-editor pre .hljs-link,.tiptap-editor pre .hljs-name,.tiptap-editor pre .hljs-selector-id,.tiptap-editor pre .hljs-selector-class{color:#f98181}.tiptap-editor pre .hljs-number,.tiptap-editor pre .hljs-meta,.tiptap-editor pre .hljs-built_in,.tiptap-editor pre .hljs-builtin-name,.tiptap-editor pre .hljs-literal,.tiptap-editor pre .hljs-type,.tiptap-editor pre .hljs-params{color:#fbbc88}.tiptap-editor pre .hljs-string,.tiptap-editor pre .hljs-symbol,.tiptap-editor pre .hljs-bullet{color:#b9f18d}.tiptap-editor pre .hljs-title,.tiptap-editor pre .hljs-section{color:#faf594}.tiptap-editor pre .hljs-keyword,.tiptap-editor pre .hljs-selector-tag{color:#70cff8}.tiptap-editor pre .hljs-emphasis{font-style:italic}.tiptap-editor pre .hljs-strong{font-weight:700}.tiptap-editor .color{white-space:nowrap}.tiptap-editor .color:before{background-color:var(--color);content:" ";vertical-align:middle;border:1px solid #8080804d;border-radius:2px;width:1em;height:1em;margin-bottom:.15em;margin-right:.1em;display:inline-block}.tiptap-editor p:first-child{color:inherit;margin-top:0}.tiptap-editor p.is-editor-empty:first-child:before{color:rgb(var(--textColor-secondary));content:attr(data-placeholder);float:left;pointer-events:none;height:0}.tiptap ul,.tiptap ol{margin-left:1.5rem;padding:0;list-style:outside}.tiptap ol{list-style:decimal}.tiptap li{margin-bottom:.25rem}.tiptap .mention{-webkit-box-decoration-break:clone;box-decoration-break:clone;color:var(--purple);border-radius:.4rem;padding:.1rem .3rem}.tiptap .mention:after{content:"​"}@media (width<=768px){.tiptap.ProseMirror{font-size:16px!important}}.document-editor .tiptap{--tw-text-opacity:1;color:rgb(var(--textColor-primary) / var(--tw-text-opacity,1))}.document-editor .tiptap p{--tw-text-opacity:1;color:rgb(var(--textColor-primary) / var(--tw-text-opacity,1));margin-top:1rem;margin-bottom:1rem;font-size:1rem;line-height:1.625}.document-editor .tiptap p:first-child{margin-top:0}.document-editor .tiptap p:last-child{margin-bottom:0}.document-editor .tiptap h1{--tw-text-opacity:1;color:rgb(var(--textColor-primary) / var(--tw-text-opacity,1));margin-top:2rem;margin-bottom:1rem;font-size:1.875rem;font-weight:700;line-height:2.25rem}.document-editor .tiptap h1:first-child{margin-top:0}.document-editor .tiptap h1:last-child{margin-bottom:0}.document-editor .tiptap h2{--tw-text-opacity:1;color:rgb(var(--textColor-primary) / var(--tw-text-opacity,1));margin-top:1.5rem;margin-bottom:.75rem;font-size:1.5rem;font-weight:700;line-height:2rem}.document-editor .tiptap h2:first-child{margin-top:0}.document-editor .tiptap h2:last-child{margin-bottom:0}.document-editor .tiptap h3{--tw-text-opacity:1;color:rgb(var(--textColor-primary) / var(--tw-text-opacity,1));margin-top:1.25rem;margin-bottom:.5rem;font-size:1.25rem;font-weight:700;line-height:1.75rem}.document-editor .tiptap h3:first-child{margin-top:0}.document-editor .tiptap h3:last-child{margin-bottom:0}.document-editor .tiptap h4{--tw-text-opacity:1;color:rgb(var(--textColor-primary) / var(--tw-text-opacity,1));margin-top:1rem;margin-bottom:.5rem;font-size:1.125rem;font-weight:600;line-height:1.75rem}.document-editor .tiptap h4:first-child{margin-top:0}.document-editor .tiptap h4:last-child{margin-bottom:0}.document-editor .tiptap h5{--tw-text-opacity:1;color:rgb(var(--textColor-primary) / var(--tw-text-opacity,1));margin-top:.75rem;margin-bottom:.5rem;font-size:1rem;font-weight:600;line-height:1.5rem}.document-editor .tiptap h5:first-child{margin-top:0}.document-editor .tiptap h5:last-child{margin-bottom:0}.document-editor .tiptap h6{--tw-text-opacity:1;color:rgb(var(--textColor-secondary) / var(--tw-text-opacity,1));margin-top:.75rem;margin-bottom:.5rem;font-size:.875rem;font-weight:600;line-height:1.25rem}.document-editor .tiptap h6:first-child{margin-top:0}.document-editor .tiptap h6:last-child{margin-bottom:0}.document-editor .tiptap strong{--tw-text-opacity:1;color:rgb(var(--textColor-primary) / var(--tw-text-opacity,1));font-weight:700}.document-editor .tiptap em{--tw-text-opacity:1;color:rgb(var(--textColor-secondary) / var(--tw-text-opacity,1));font-style:italic}.document-editor .tiptap a{cursor:pointer;--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity,1));text-decoration-line:underline}.document-editor .tiptap a:hover{--tw-text-opacity:1;color:rgb(var(--colors-blue-700) / var(--tw-text-opacity,1))}.document-editor .tiptap ul{--tw-text-opacity:1;color:rgb(var(--textColor-primary) / var(--tw-text-opacity,1));margin-top:1rem;margin-bottom:1rem;padding-left:1.5rem;list-style-type:disc;list-style-position:outside}.document-editor .tiptap ul:first-child{margin-top:0}.document-editor .tiptap ul:last-child{margin-bottom:0}.document-editor .tiptap ol{--tw-text-opacity:1;color:rgb(var(--textColor-primary) / var(--tw-text-opacity,1));margin-top:1rem;margin-bottom:1rem;padding-left:1.5rem;list-style-type:decimal;list-style-position:outside}.document-editor .tiptap ol:first-child{margin-top:0}.document-editor .tiptap ol:last-child{margin-bottom:0}.document-editor .tiptap li{margin-top:.25rem;margin-bottom:.25rem}.document-editor .tiptap ul ul,.document-editor .tiptap ol ul{list-style-type:disc}.document-editor .tiptap ol ol,.document-editor .tiptap ul ol{list-style-type:decimal}.document-editor .tiptap ul[data-type=taskList]{margin-top:.5rem;margin-bottom:.5rem;padding-left:0;list-style-type:none}.document-editor .tiptap ul[data-type=taskList] li{align-items:flex-start;gap:.5rem;margin-top:.125rem;margin-bottom:.125rem;display:flex}.document-editor .tiptap ul[data-type=taskList] li>label{align-items:center;padding-top:.125rem;display:flex}.document-editor .tiptap ul[data-type=taskList] li>label input[type=checkbox]{cursor:default;width:1rem;height:1rem;accent-color:var(--color-accent,#6366f1);border-radius:.25rem}.document-editor .tiptap ul[data-type=taskList] li>div{flex:1}.document-editor .tiptap ul[data-type=taskList] li>div p{margin-top:0;margin-bottom:0}.document-editor .tiptap blockquote{border-left-width:4px;border-color:rgb(var(--borderColor-primary) / .2);--tw-text-opacity:1;color:rgb(var(--textColor-secondary) / var(--tw-text-opacity,1));margin-top:1rem;margin-bottom:1rem;padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-style:italic}.document-editor .tiptap blockquote:first-child{margin-top:0}.document-editor .tiptap blockquote:last-child{margin-bottom:0}.document-editor .tiptap code{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(219 39 119/var(--tw-text-opacity,1));border-radius:.25rem;padding:.125rem .375rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.875rem;line-height:1.25rem}.document-editor .tiptap pre{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1));border-radius:.5rem;margin-top:1rem;margin-bottom:1rem;padding:1rem;overflow-x:auto}.document-editor .tiptap pre:first-child{margin-top:0}.document-editor .tiptap pre:last-child{margin-bottom:0}.document-editor .tiptap pre code{background-color:rgb(var(--backgroundColor-transparent) / 0);--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1));padding:0}.document-editor .tiptap hr{--tw-border-opacity:1;border-top-width:1px;border-color:rgb(209 213 219/var(--tw-border-opacity,1));margin-top:1.5rem;margin-bottom:1.5rem}.document-editor .tiptap hr:first-child{margin-top:0}.document-editor .tiptap hr:last-child{margin-bottom:0}.document-editor .tiptap-editor .tiptap{max-height:none!important;overflow:visible!important}.document-editor::-webkit-scrollbar{width:6px}.document-editor::-webkit-scrollbar-track{background:0 0}.document-editor::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb,#00000040);border-radius:3px}.document-editor::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover,#00000073)}@keyframes shimmer-sweep{0%{opacity:0;background-position:-100%}10%{opacity:1}90%{opacity:1}to{opacity:0;background-position:200%}}.model-picker-shimmer{position:relative;overflow:hidden}.model-picker-shimmer:before{content:"";pointer-events:none;border-radius:inherit;background:linear-gradient(105deg,#0000 0% 35%,#ffffff14 40%,#ffffff40 50%,#ffffff14 60%,#0000 65% 100%) 0 0/200% 100%;animation:1s cubic-bezier(.22,1,.36,1) forwards shimmer-sweep;position:absolute;inset:0}
