.scrollbar-hidden{-ms-overflow-style:none;scrollbar-width:none}.scrollbar-hidden::-webkit-scrollbar{display:none}.composer-textarea-scrollbar{scrollbar-width:thin;scrollbar-color:var(--color-border) transparent;overscroll-behavior:contain}.composer-textarea-scrollbar::-webkit-scrollbar{width:8px}.composer-textarea-scrollbar::-webkit-scrollbar-track{background:0 0}.composer-textarea-scrollbar::-webkit-scrollbar-thumb{background:var(--color-border);background-clip:padding-box;border:2px solid #0000;border-radius:999px}.composer-textarea-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--color-muted-foreground);background-clip:padding-box}.model-list-scrollbar{scrollbar-width:thin;scrollbar-color:var(--color-border) transparent;overscroll-behavior:contain}.model-list-scrollbar::-webkit-scrollbar{width:8px}.model-list-scrollbar::-webkit-scrollbar-track{background:0 0}.model-list-scrollbar::-webkit-scrollbar-thumb{background:var(--color-border);background-clip:padding-box;border:2px solid #0000;border-radius:999px}.model-list-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--color-muted-foreground);background-clip:padding-box}.welcome-modal-scrollbar{scrollbar-width:thin;scrollbar-color:var(--color-border) transparent;overscroll-behavior:contain}.welcome-modal-scrollbar::-webkit-scrollbar{width:5px;height:5px}.welcome-modal-scrollbar::-webkit-scrollbar-track{background:0 0}.welcome-modal-scrollbar::-webkit-scrollbar-thumb{background:var(--color-border);border-radius:999px}.welcome-modal-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--color-muted-foreground)}.document-select-scrollbar{scrollbar-width:thin;scrollbar-color:color-mix(in oklab, var(--color-border) 80%, transparent) transparent;overscroll-behavior:contain}.document-select-scrollbar::-webkit-scrollbar{width:6px}.document-select-scrollbar::-webkit-scrollbar-track{background:0 0}.document-select-scrollbar::-webkit-scrollbar-thumb{background:color-mix(in oklab, var(--color-border) 80%, transparent);background-clip:padding-box;border:1px solid #0000;border-radius:999px}.document-select-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--color-muted-foreground);background-clip:padding-box}.md-body{color:inherit;word-break:break-word;font-size:.875rem;line-height:1.7}.md-body>:first-child{margin-top:0}.md-body>:last-child{margin-bottom:0}.md-body p{margin:.5em 0}.md-body h1{margin:1em 0 .5em;font-size:1.25em;font-weight:700}.md-body h2{margin:1em 0 .5em;font-size:1.1em;font-weight:700}.md-body h3{margin:.75em 0 .4em;font-size:1em;font-weight:600}.md-body h4,.md-body h5,.md-body h6{margin:.6em 0 .3em;font-size:.9em;font-weight:600}.md-body ul,.md-body ol{margin:.5em 0;padding-left:1.5em}.md-body li{margin:.2em 0}.md-body ul{list-style-type:disc}.md-body ol{list-style-type:decimal}.md-body blockquote{border-left:3px solid hsl(var(--border) / .8);color:var(--color-muted-foreground);margin:.75em 0;padding:.25em .75em}.md-body .typeset-scroll{overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:var(--color-muted-foreground) var(--color-muted);max-width:100%;margin:.75em 0;overflow-x:auto}.md-body .typeset-scroll::-webkit-scrollbar{height:6px}.md-body .typeset-scroll::-webkit-scrollbar-track{background:var(--color-muted);border-radius:999px}.md-body .typeset-scroll::-webkit-scrollbar-thumb{background:var(--color-muted-foreground);border:1px solid var(--color-muted);border-radius:999px}.md-body .typeset-scroll::-webkit-scrollbar-thumb:hover{background:var(--color-foreground)}.md-body table{border-collapse:collapse;width:max-content;min-width:100%;margin:0;font-size:.85em}.md-body th,.md-body td{border:1px solid var(--color-border);text-align:left;padding:.4em .65em}.md-body th{background:var(--color-muted);white-space:nowrap;font-weight:600}.md-body td{vertical-align:top;min-width:8rem}.md-body table.typeset-numbered-table th:first-child,.md-body table.typeset-numbered-table td:first-child{text-align:center;white-space:nowrap;width:3.5rem;min-width:3.5rem}.md-body tr:nth-child(2n){background:var(--color-muted) / .4}.preview-layout{margin-right:0}[title="Drag to resize preview"]{touch-action:none}[title="Drag to resize preview"]:hover{background:color-mix(in oklab, var(--color-muted), transparent 35%)}@media (min-width:768px){.preview-layout{margin-right:var(--preview-width)}}.md-body :not(pre)>code{background:var(--color-muted);font-size:.85em;font-family:var(--font-mono);border-radius:.25em;padding:.15em .35em}.md-body a:not(.md-cite){color:var(--color-primary);text-underline-offset:2px;text-decoration:underline}.md-code-block{border:1px solid var(--color-border);background:var(--color-card);border-radius:.5rem;margin:.75em 0;overflow:hidden}.md-code-header{background:var(--color-muted);border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;padding:.35em .75em;display:flex}.md-code-lang{font-size:.7rem;font-family:var(--font-mono);color:var(--color-muted-foreground);text-transform:uppercase;letter-spacing:.05em}.md-code-copy{color:var(--color-muted-foreground);cursor:pointer;background:0 0;border:none;border-radius:.25em;padding:.15em .5em;font-size:.7rem;transition:background .15s,color .15s}.md-code-copy:hover{background:var(--color-border);color:var(--color-foreground)}.md-code-copy.copied{color:#22c55e}.md-code-block pre{font-size:.82rem;line-height:1.5;font-family:var(--font-mono);margin:0;padding:.9em 1em;overflow-x:auto}.md-code-block pre code{font-size:inherit;background:0 0;border-radius:0;padding:0}.hljs{color:#abb2bf}.hljs-keyword{color:#c678dd}.hljs-string{color:#98c379}.hljs-number{color:#d19a66}.hljs-comment{color:#5c6370;font-style:italic}.hljs-function{color:#61afef}.hljs-variable{color:#e06c75}.hljs-title{color:#61afef}.hljs-attr{color:#e06c75}.hljs-type,.hljs-built_in{color:#e5c07b}.hljs-literal{color:#56b6c2}.hljs-tag,.hljs-name{color:#e06c75}.hljs-selector-class{color:#e5c07b}.hljs-selector-id{color:#e06c75}.hljs-meta{color:#5c6370}.hljs-params{color:#abb2bf}.hljs-deletion{color:#e06c75}.hljs-addition{color:#98c379}.md-cite{background:var(--color-muted);border:1px solid var(--color-border);color:var(--color-foreground);vertical-align:middle;cursor:pointer;border-radius:999px;align-items:center;gap:4px;padding:1px 7px 1px 4px;font-size:.72rem;font-weight:500;line-height:1.6;text-decoration:none;transition:background .15s;display:inline-flex}.md-cite:hover{background:var(--color-border)}.md-cite-icon{background:var(--color-border);color:#0000;background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:16px;height:16px;font-size:9px;font-weight:700;display:inline-flex;overflow:hidden}.md-cite-icon.has-favicon{color:#0000;background-size:cover;font-size:0}.md-cite-icon.letter-fallback{color:var(--color-foreground);font-size:9px}.md-cite-domain{color:var(--color-muted-foreground);font-size:.7rem}.md-cite-plain{opacity:.7;font-size:.8em}.chat-stream-cursor{vertical-align:text-bottom;background:currentColor;width:2px;height:.85em;margin-left:1px;animation:.8s ease-in-out infinite cursor-blink;display:inline-block}@keyframes cursor-blink{0%,to{opacity:1}50%{opacity:0}}.shimmer{background:linear-gradient(90deg, var(--color-muted) 25%, var(--color-border) 50%, var(--color-muted) 75%);background-size:200% 100%;border-radius:.5em;width:6em;height:1em;animation:1.5s infinite shimmer}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}
