.ftype{--ftype: #64748b;--ftype-shadow: rgba(100, 116, 139, .35);position:relative;display:block;flex:0 0 auto;width:48px;height:60px;border-radius:8px;color:var(--ftype);box-shadow:0 8px 16px -4px var(--ftype-shadow)}.ftype--pdf{--ftype: #e5141f;--ftype-shadow: rgba(229, 20, 31, .35)}.ftype--word{--ftype: #2b6cf0;--ftype-shadow: rgba(43, 108, 240, .35)}.ftype--excel{--ftype: #10a36e;--ftype-shadow: rgba(16, 163, 110, .35)}.ftype--powerpoint{--ftype: #f26b1d;--ftype-shadow: rgba(242, 107, 29, .35)}.ftype--code{--ftype: #8b5cf6;--ftype-shadow: rgba(139, 92, 246, .35)}.ftype--image{--ftype: #0ea5e9;--ftype-shadow: rgba(14, 165, 233, .35)}.ftype--audio{--ftype: #ec4899;--ftype-shadow: rgba(236, 72, 153, .35)}.ftype__sheet{display:block;width:100%;height:100%}.ftype__glyph{position:absolute;left:8px;top:8px;color:#fff}.ftype__ext{position:absolute;left:2px;right:2px;top:37px;height:15px;overflow:hidden;font-size:12px;line-height:15px;font-weight:700;color:#fff;text-align:center;white-space:nowrap}.ftype--s{width:32px;height:40px;border-radius:5px;box-shadow:0 4px 8px -4px var(--ftype-shadow)}.ftype--s .ftype__ext{left:0;right:0;top:24px;height:12px;font-size:10px;line-height:12px}.cfile{box-sizing:border-box;display:flex;align-items:center;gap:10px;width:240px;max-width:100%;padding:8px;border:1px solid var(--border-toast);border-radius:12px;background:var(--bg-card);text-align:left}.cfile__texts{display:flex;flex:1 1 auto;flex-direction:column;gap:2px;min-width:0}.cfile__name,.cfile__meta{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cfile__name{font-size:12px;line-height:16px;font-weight:600;color:var(--text-primary)}.cfile__meta{font-size:10px;line-height:12px;font-weight:400;color:var(--text-tertiary)}.chat-message-content>.cfile{margin-top:12px}.cfile__btn{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:32px;height:32px;margin:0 -8px;padding:0;border:0;border-radius:999px;background:none;color:var(--text-link);cursor:pointer;transition:color .16s ease}.cfile__btn:hover{color:var(--text-link-hover)}.cfile__btn:active{color:var(--text-link-pressed)}.cfile__btn:disabled{opacity:.6;cursor:progress}.chat-sent-files{display:flex;flex:0 0 100%;flex-direction:column;align-items:flex-end;gap:8px;margin-bottom:8px}.chat-sent-files--only{margin-bottom:0}.chat-sent-files--only~.chat-message-content{display:none}.chat-sent-images{--csi-h: 64px;--csi-min: 40px;--csi-max: 144px;--csi-border: rgba(255, 255, 255, .07);display:flex;flex:0 0 100%;justify-content:flex-end;min-width:0;margin-bottom:8px}[data-theme=light] .chat-sent-images{--csi-border: rgba(91, 115, 247, .12)}.chat-sent-images>.chat-message-images{justify-content:flex-end;max-width:100%;margin-bottom:0}.chat-sent-images .tooltip-trigger,.chat-sent-images .side-tooltip-trigger{flex:none}.chat-sent-images .chat-image-link{flex:none;max-width:none;height:var(--csi-h);border-radius:12px}.chat-sent-images .chat-image{width:auto;min-width:var(--csi-min);max-width:var(--csi-max);height:var(--csi-h);max-height:none;object-fit:cover;outline:1px solid var(--csi-border);outline-offset:-1px}.chat-sent-images .chat-image--missing{width:var(--csi-h);min-width:0;padding:0;outline:0}.chat-sent-images .chat-image-missing__icon{font-size:18px}.chat-sent-images .chat-image-missing__label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.chat-sent-images--only{margin-bottom:0}.chat-sent-images--only~.chat-message-content{display:none}.chat-files-row{--files-row-min: 560px;display:flex;flex-wrap:wrap;align-items:stretch;gap:8px 12px;margin:12px 0}.chat-files-row>.cfile{flex:0 0 clamp(min(240px,100%),(var(--files-row-min) - 100%) * 99999,100%)}html[data-palette=new] .chat-files-row>.chat-artifact-card{flex:1 1 calc(var(--files-row-min) - 252px);width:auto;min-width:0;margin:0}.chat-row-dividers{display:flex;flex:0 0 calc(100% - 24px);flex-direction:column;gap:12px;min-width:0;margin:0 0 32px 24px}@media(max-width:768px){.chat-row-dividers{margin-bottom:24px}}.chat-divider{display:flex;align-items:center;gap:12px;height:20px}.chat-divider__line{flex:1 1 0;height:8px;background-color:var(--border-chat-divider);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M0 4Q3 0 6 4T12 4' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") repeat-x left center/12px 8px;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M0 4Q3 0 6 4T12 4' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") repeat-x left center/12px 8px}.chat-divider__content{display:inline-flex;flex:0 1 auto;align-items:center;gap:6px;min-width:0;font-size:12px;line-height:16px;font-weight:500;color:var(--text-tertiary);white-space:nowrap}.chat-divider__content img{flex:0 0 auto;width:16px;height:16px}.chat-divider__content span{overflow:hidden;text-overflow:ellipsis}.chat-model-name{margin-bottom:7px;font-size:13px;line-height:18px;font-weight:500;color:var(--text-primary)}.chat-notice{box-sizing:border-box;display:flex;align-items:flex-start;gap:12px;width:520px;max-width:100%;margin-left:8px;padding:12px 8px 12px 12px;border:1px solid var(--border-toast);border-radius:12px;background:linear-gradient(90deg,var(--bg-toast-glow-danger) 0%,rgba(0,0,0,0) 45%),var(--bg-toast);background-repeat:no-repeat}.chat-notice--inline{margin:12px 0}.chat-notice__tile{display:flex;flex:0 0 36px;align-items:center;justify-content:center;height:36px;border-radius:8px;background:var(--bg-glass-tint);color:var(--icon-danger)}.chat-notice__text{display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}.chat-notice__title{font-size:16px;line-height:24px;font-weight:600;color:var(--text-danger)}.chat-notice__desc{font-size:14px;line-height:20px;color:var(--text-secondary);overflow-wrap:anywhere}.chat-notice__action{height:32px;padding:0;border:0;background:none;font:inherit;font-size:12px;line-height:16px;font-weight:600;color:var(--text-link);cursor:pointer;transition:color .16s ease}.chat-notice__action:hover{color:var(--text-link-hover)}.chat-notice__action:active{color:var(--text-link-pressed)}@media(max-width:768px){.chat-notice{gap:8px;width:auto;flex:1 1 auto}.chat-notice__tile{flex-basis:20px;height:24px;border-radius:0;background:none}}.chat-bubble-meta{position:absolute;top:100%;right:0;z-index:1;display:flex;margin-top:8px;opacity:0;transition:opacity .16s ease}.chat-message.user:hover>.chat-bubble-meta,.chat-message.user:focus-within>.chat-bubble-meta{opacity:1}@media(hover:none){.chat-bubble-meta{position:static;flex:0 0 100%;justify-content:flex-end;order:3;margin-top:8px;opacity:1}}.chat-bubble-copy{display:inline-flex;align-items:center;justify-content:center;width:32px;height:24px;padding:0;border:0;border-radius:999px;background:none;color:var(--icon-secondary);cursor:pointer;transition:background .16s ease,color .16s ease}.chat-bubble-copy:hover{background:var(--bg-button-secondary)}.chat-bubble-copy.is-copied{color:var(--text-success)}@media(hover:none){.chat-bubble-copy{background:var(--bg-button-secondary)}}.chat-message-content.markdown-body>.chat-long-text>:first-child{margin-top:0}.chat-message-content.markdown-body>.chat-long-text>:last-child{margin-bottom:0}.chat-message-content.markdown-body>.chat-long-text :is(ul,ol,li,blockquote,p):first-child:not(li>:is(ul,ol),li>:is(ul,ol) *):not(.chat-long-text :not(:first-child) *){margin-top:0}.chat-message-content.markdown-body>.chat-long-text :is(ul,ol,li,blockquote,p):last-child:not(.chat-long-text :not(:last-child) *){margin-bottom:0}.chat-long-text.is-collapsed{max-height:240px;overflow:hidden;overflow:visible clip}.chat-long-toggle{display:inline-flex;align-items:center;gap:4px;height:24px;margin-top:6px;padding:0;border:0;background:none;font:inherit;font-size:12px;line-height:16px;font-weight:600;color:var(--text-bubble-user);cursor:pointer}.cfile--stack{flex-direction:column;align-items:stretch;gap:6px}.cfile--stack.is-uploading .ftype{opacity:.6}.cfile--stack.is-error{border-color:var(--border-field-error)}.cfile--stack.is-error .cfile__meta{color:var(--text-danger)}.cfile__row{display:flex;align-items:center;gap:10px;min-width:0}.cfile__progress{position:relative;height:4px;overflow:hidden;border-radius:2px;background:var(--bg-skeleton)}.cfile__progress span{position:absolute;top:0;bottom:0;left:0;width:30%;border-radius:2px;background:var(--bg-accent);animation:cfile-progress 1.4s ease-in-out infinite}@keyframes cfile-progress{0%{transform:translate(-100%)}to{transform:translate(334%)}}.chat-bubble-status{display:flex;flex:0 0 100%;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px;order:3;min-height:16px;margin-top:8px;font-size:12px;line-height:16px;color:var(--text-tertiary)}.chat-bubble-status--unsent{min-height:24px;color:var(--text-danger)}.chat-bubble-status--unsent svg{color:var(--icon-danger)}.chat-bubble-status__spin{animation:chat-status-spin 1s linear infinite}@keyframes chat-status-spin{to{transform:rotate(360deg)}}.chat-bubble-status__retry{height:24px;padding:0;border:0;background:none;font:inherit;font-weight:600;color:var(--text-link);cursor:pointer}.chat-bubble-status__retry:hover{color:var(--text-link-hover)}.chat-bubble-status~.chat-bubble-meta{display:none}.chat-skel{display:flex;flex-direction:column;gap:41px;width:100%;max-width:824px;margin:auto auto 0;padding:0 26px 0 2px;box-sizing:content-box}.chat-skel__bar{position:relative;display:block;overflow:hidden;border-radius:6px;background:var(--bg-skeleton)}.chat-skel__bar:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--bg-skeleton-shine-edge) 0%,var(--bg-skeleton-shine-edge) 42%,var(--bg-skeleton-shine) 50%,var(--bg-skeleton-shine-edge) 58%,var(--bg-skeleton-shine-edge) 100%);transform:translate(-100%);animation:chat-skel-shine 1.8s linear infinite}.chat-skel-cover{position:absolute;z-index:2;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden;pointer-events:none;transition:opacity .22s ease}.chat-skel-cover.is-leaving{opacity:0}.chat-messages[data-feed=cover]{opacity:0;pointer-events:none}.chat-messages[data-feed=reveal]{transition:opacity .22s ease}html[data-palette=new] .chat-image-link:not(.is-loaded){position:relative;overflow:hidden;border-radius:12px;background:var(--bg-skeleton)}html[data-palette=new] .chat-image-link:not(.is-loaded):after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--bg-skeleton-shine-edge) 0%,var(--bg-skeleton-shine-edge) 42%,var(--bg-skeleton-shine) 50%,var(--bg-skeleton-shine-edge) 58%,var(--bg-skeleton-shine-edge) 100%);transform:translate(-100%);animation:chat-skel-shine 1.8s linear infinite}html[data-palette=new] .chat-image-link:not(.is-loaded)>.chat-image{opacity:0}html[data-palette=new] .chat-image-link:not(.is-loaded):not(.is-sized):not(.has-dims){display:block;width:400px;max-width:100%;aspect-ratio:1/1}html[data-palette=new] .chat-image-link:not(.is-loaded).has-dims{display:block;width:min(400px,400px * var(--img-w) / var(--img-h),var(--img-w) * 1px);max-width:100%;aspect-ratio:var(--img-w)/var(--img-h)}html[data-palette=new] .chat-sent-images .chat-image-link:not(.is-loaded):not(.is-sized):not(.has-dims){width:var(--csi-h);aspect-ratio:auto}html[data-palette=new] .chat-sent-images .chat-image-link:not(.is-loaded).has-dims{width:clamp(var(--csi-min),var(--csi-h) * var(--img-w) / var(--img-h),var(--csi-max));aspect-ratio:auto}html[data-palette=new] .chat-image-link>.chat-image{display:block}@keyframes chat-skel-shine{0%{transform:translate(-100%)}77.8%,to{transform:translate(100%)}}.chat-skel__user{align-self:flex-end;width:min(100%,var(--w));height:var(--h);border-radius:16px}.chat-skel__ai{display:flex;gap:10px}.chat-skel__logo{flex:0 0 16px;height:16px;border-radius:8px}.chat-skel__body{display:flex;flex:1 1 0;flex-direction:column;gap:12px;min-width:0}.chat-skel__name{width:96px;height:12px;margin-bottom:4px}.chat-skel__line{width:min(100%,var(--w));height:12px}.chat-skel__actions{width:150px;height:12px;margin-top:4px}.chat-skel__image{width:170px;height:170px;border-radius:16px}@media(max-width:768px){.chat-skel{gap:28px;padding:0}.chat-skel__desktop,.chat-skel__line[style*="--wm: 0px"]{display:none}.chat-skel__user{width:min(100%,var(--wm));height:var(--hm);border-radius:18px}.chat-skel__ai{display:grid;grid-template-columns:16px 1fr;gap:10px 8px}.chat-skel__body{display:contents}.chat-skel__name{align-self:center;width:72px;height:10px;margin:0;border-radius:5px}.chat-skel__line,.chat-skel__image{grid-column:1/-1}.chat-skel__line{width:min(100%,var(--wm))}.chat-skel__actions{display:none}.chat-skel__image{width:200px;height:160px;border-radius:12px}}@media(prefers-reduced-motion:reduce){.chat-skel__bar:after,.chat-image-link:after,.cfile__progress span,.chat-bubble-status__spin{animation:none}.chat-skel-cover,.chat-messages[data-feed=reveal]{transition:none}}.chat-attached-file>.tooltip-trigger{width:100%;height:100%}.chat-artifact-card{display:flex;align-items:center;gap:12px;width:460px;max-width:100%;margin:14px 0;padding:10px;border:0;border-radius:16px;background:var(--bg-card);box-shadow:0 1px #ffffff0a inset,0 10px 28px -18px #0000008c;color:var(--text-primary);font:inherit;text-align:left;cursor:pointer;transition:transform .26s cubic-bezier(.34,1.56,.64,1),background .2s ease,box-shadow .22s ease}.chat-artifact-card:hover:not(:disabled){transform:translateY(-2px);background:var(--bg-card-hover);box-shadow:0 1px #ffffff0d inset,0 16px 34px -18px #0009}.chat-artifact-card:active:not(:disabled){transform:scale(.985)}.chat-artifact-card:disabled{cursor:default}.chat-artifact-card:focus-visible{outline:2px solid var(--border-focus);outline-offset:2px}[data-theme=light] .chat-artifact-card{background:var(--bg-card);box-shadow:0 1px #0f172a09 inset,0 8px 22px -16px #0f172a38}[data-theme=light] .chat-artifact-card:hover:not(:disabled){background:#fff}.chat-artifact-card.is-writing .chat-artifact-card__icon{animation:chat-artifact-writing 1.4s ease-in-out infinite}@keyframes chat-artifact-writing{50%{opacity:.55}}.chat-artifact-card__icon{flex:0 0 44px;height:44px;display:grid;place-items:center;border-radius:12px;color:var(--icon-secondary);background:linear-gradient(160deg,var(--bg-button-secondary),var(--bg-button-secondary))}[data-theme=light] .chat-artifact-card__icon{color:var(--icon-secondary);background:linear-gradient(160deg,var(--bg-button-secondary),var(--bg-button-secondary))}.chat-artifact-card__text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}.chat-artifact-card__title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:14px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}.chat-artifact-card__meta{font-size:12px;line-height:1.3;color:var(--text-muted)}.chat-artifact-card__go{flex:0 0 auto;padding:7px 14px;border-radius:999px;font-size:12.5px;font-weight:500;color:var(--text-secondary);background:#ffffff12;transition:background .2s ease,color .2s ease}.chat-artifact-card:hover:not(:disabled) .chat-artifact-card__go{background:#ffffff1c;color:var(--text-primary)}[data-theme=light] .chat-artifact-card__go{background:#0f172a0d}[data-theme=light] .chat-artifact-card:hover:not(:disabled) .chat-artifact-card__go{background:#0f172a14}.chat-artifact-card.is-open .chat-artifact-card__go,.chat-artifact-card.is-open:hover .chat-artifact-card__go,[data-theme=light] .chat-artifact-card.is-open:hover:not(:disabled) .chat-artifact-card__go{background:var(--text-primary);color:var(--bg-main)}.chat-page.has-artifact{flex-direction:row;position:relative}.chat-page.has-artifact>.chat-wrapper{flex:1 1 0;min-width:0}.chat-artifact-panel{flex:0 0 clamp(420px,48%,780px);min-width:0;min-height:0;display:flex;padding:10px 16px 16px 4px;animation:chat-artifact-in .36s cubic-bezier(.16,.84,.44,1) both}@keyframes chat-artifact-in{0%{opacity:0;transform:translate(28px)}to{opacity:1;transform:none}}.chat-artifact-panel__sheet{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;overflow:hidden;border-radius:20px;background:var(--bg-surface);box-shadow:0 1px #ffffff0a inset,0 24px 60px -30px #000000b3}[data-theme=light] .chat-artifact-panel__sheet{background:#fff;box-shadow:0 1px #0f172a08 inset,0 18px 48px -28px #0f172a47}.chat-artifact-panel__head{display:flex;align-items:center;gap:10px;padding:10px 10px 10px 12px}.chat-artifact-panel__icon{flex:0 0 34px;height:34px;display:grid;place-items:center;border-radius:10px;color:var(--icon-secondary);background:var(--bg-button-secondary)}[data-theme=light] .chat-artifact-panel__icon{color:var(--icon-secondary);background:var(--bg-button-secondary)}.chat-artifact-panel__name{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:1px}.chat-artifact-panel__title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:14px;font-weight:600;line-height:1.3;color:var(--text-primary);overflow-wrap:anywhere}.chat-artifact-panel__meta{font-size:11.5px;line-height:1.3;color:var(--text-muted)}.chat-artifact-panel__seg{flex:0 0 auto;display:inline-flex;gap:2px;padding:3px;border-radius:999px;background:#ffffff0f}[data-theme=light] .chat-artifact-panel__seg{background:#0f172a0d}.chat-artifact-panel__seg button{padding:6px 14px;border:0;border-radius:999px;font:inherit;font-size:12.5px;font-weight:500;color:var(--text-secondary);background:transparent;cursor:pointer;transition:background .22s ease,color .22s ease}.chat-artifact-panel__seg button:hover{color:var(--text-primary)}.chat-artifact-panel__seg button.is-on{background:var(--text-primary);color:var(--bg-main)}.chat-artifact-panel__actions{flex:0 0 auto;display:flex;gap:2px}.chat-artifact-panel__btn{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:10px;color:var(--text-secondary);background:transparent;cursor:pointer;transition:background .16s ease,color .16s ease}.chat-artifact-panel__btn:hover{color:var(--text-primary);background:#ffffff14}[data-theme=light] .chat-artifact-panel__btn:hover{background:#0f172a0f}.chat-artifact-panel__btn.is-done{color:var(--text-success)}.chat-artifact-panel__body{flex:1 1 auto;min-height:0;display:flex;padding:0 10px 10px}.chat-artifact-panel__frame{flex:1 1 auto;width:100%;height:100%;border:0;border-radius:14px;background:#fff}.chat-artifact-panel__code{flex:1 1 auto;min-height:0;overflow:auto;border-radius:14px;background:#0000003d}[data-theme=light] .chat-artifact-panel__code{background:#f4f6faf5}.chat-artifact-panel__code .md-codeblock__body{overflow:visible}@media(max-width:1100px){.chat-page.has-artifact{flex-direction:column}.chat-artifact-panel{position:absolute;inset:0;z-index:40;padding:8px;background:var(--bg-main);animation-name:chat-artifact-up}}@keyframes chat-artifact-up{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}@media(max-width:640px){.chat-artifact-panel{padding:0}.chat-artifact-panel__sheet{border-radius:0}.chat-artifact-panel__head{flex-wrap:wrap;row-gap:8px}.chat-artifact-panel__seg{order:3;flex:1 1 100%}.chat-artifact-panel__seg button{flex:1 1 0}.chat-artifact-panel__tab{display:none}.chat-artifact-panel__body{padding:0 8px 8px}}@media(prefers-reduced-motion:reduce){.chat-artifact-card,.chat-artifact-card.is-writing .chat-artifact-card__icon,.chat-artifact-panel{animation:none;transition:none}}html[data-palette=new] .chat-artifact-card{box-sizing:border-box;width:400px;min-height:74px;margin:12px 0;padding:12px 14px 12px 12px;border:1px solid var(--border-toast);background:var(--bg-card);box-shadow:none}html[data-palette=new] .chat-artifact-card:hover:not(:disabled){transform:none;background:var(--bg-card-hover);box-shadow:none}html[data-palette=new] .chat-artifact-card.is-open{border-color:var(--border-focus)}html[data-palette=new] .chat-artifact-card__icon{flex:0 0 48px;height:48px;color:var(--icon-secondary);background:var(--bg-tab-inactive)}html[data-palette=new][data-theme=dark] .chat-artifact-card__icon{background:var(--bg-glass-tint)}html[data-palette=new] .chat-artifact-card__text{gap:2px}html[data-palette=new] .chat-artifact-card__title,html[data-palette=new] .chat-artifact-card__meta{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html[data-palette=new] .chat-artifact-card__title{font-size:14px;line-height:20px;font-weight:600;color:var(--text-primary)}html[data-palette=new] .chat-artifact-card__meta{font-size:12px;line-height:16px;color:var(--text-tertiary)}html[data-palette=new] .chat-artifact-card__shimmer{display:block;width:120px;height:4px;margin-top:2px;border-radius:2px;background:var(--bg-skeleton)}html[data-palette=new] .chat-artifact-card__go{box-sizing:border-box;display:inline-flex;align-items:center;height:32px;padding:0 12px;font-size:12px;line-height:16px;font-weight:600;color:var(--text-primary);background:var(--bg-button-secondary)}html[data-palette=new] .chat-artifact-card:hover:not(:disabled) .chat-artifact-card__go{color:var(--text-primary);background:var(--bg-button-secondary-hover)}html[data-palette=new] .chat-artifact-card.is-open .chat-artifact-card__go,html[data-palette=new] .chat-artifact-card.is-open:hover:not(:disabled) .chat-artifact-card__go{color:var(--text-on-accent);background:var(--bg-accent)}html[data-palette=new][data-theme=dark] .chat-artifact-card.is-open .chat-artifact-card__go,html[data-palette=new][data-theme=dark] .chat-artifact-card.is-open:hover:not(:disabled) .chat-artifact-card__go{background:var(--bg-accent-a20)}.chat-chart{--chart-surface: var(--bg-card, #ffffff);--chart-1: #7247dc;--chart-2: #eb6834;--chart-3: #1baf7a;--chart-4: #2a78d6;--chart-5: #e87ba4;--chart-6: #008300;--chart-grid: var(--border-toast, rgba(15, 23, 42, .06));--chart-axis: var(--border-chat-divider, rgba(15, 23, 42, .1));--chart-cross: var(--text-tertiary, #94a3b8);--chart-band: var(--bg-skeleton, rgba(15, 23, 42, .05));--chart-muted: var(--text-tertiary, #94a3b8);box-sizing:border-box;display:flex;flex-direction:column;gap:12px;width:560px;max-width:100%;margin:12px 0;padding:16px;border:1px solid var(--border-toast, rgba(15, 23, 42, .06));border-radius:16px;background:var(--chart-surface);color:var(--text-primary);font-size:12px;line-height:16px}[data-theme=dark] .chat-chart{--chart-surface: var(--bg-card, #25252a);--chart-1: #7f57e9;--chart-2: #d95926;--chart-3: #199e70;--chart-4: #3987e5;--chart-5: #d55181;--chart-6: #0ca30c;--chart-grid: var(--border-toast, rgba(255, 255, 255, .05));--chart-axis: var(--border-chat-divider, rgba(255, 255, 255, .08));--chart-band: var(--bg-skeleton, rgba(255, 255, 255, .05));--chart-cross: var(--text-tertiary, #a0a7b8);--chart-muted: var(--text-tertiary, #a0a7b8);border-color:var(--border-toast, rgba(255, 255, 255, .05))}.chat-chart.is-writing{justify-content:flex-end;height:332px;overflow:hidden}.chat-chart__ghost{display:flex;align-items:flex-end;justify-content:space-around;gap:12px;height:200px;padding:0 24px;border-bottom:1px solid var(--chart-axis)}.chat-chart__ghost span{flex:0 1 24px;border-radius:4px 4px 0 0;background:var(--bg-skeleton, rgba(15, 23, 42, .07))}[data-theme=dark] .chat-chart__ghost span{background:var(--bg-skeleton, rgba(255, 255, 255, .07))}.chat-chart__writing{padding:4px 0 8px;text-align:center;font-size:14px;line-height:20px;font-weight:500;color:var(--text-secondary)}@media(prefers-reduced-motion:no-preference){.chat-chart__ghost span{animation:chat-chart-breathe 1.4s ease-in-out infinite}.chat-chart__ghost span:nth-child(2n){animation-delay:.2s}.chat-chart__ghost span:nth-child(3n){animation-delay:.4s}}@keyframes chat-chart-breathe{0%,to{opacity:.55}50%{opacity:1}}@media(max-width:640px){.chat-chart{padding:12px}}.cia{position:relative;display:block;width:fit-content;max-width:100%}.cia .chat-message-images{margin:0}.cia .chat-image-link,.cia .chat-image{display:block}.cia--form{width:auto}.cia--spaced{margin-bottom:12px}.chat-message-content .cia--spaced+*{margin-top:0}.cia__over{position:absolute;right:12px;bottom:12px;left:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;pointer-events:none}.cia__over>*{pointer-events:auto}.cia__dl.ds-btn--icon-only{width:50px;padding:0}.cia-actions{display:flex;align-items:center;gap:var(--space-8, 8px);margin-top:12px}.cia-actions__buttons{display:flex;gap:var(--space-4, 4px)}.cia-actions__cost-wrap{margin-left:auto}.cia-actions__cost{display:inline-flex;align-items:center;gap:var(--space-4, 4px);padding:4px 8px;color:var(--text-secondary);font-size:12px;line-height:16px;outline:none}.chat-message.user.has-edit-ref{flex-wrap:wrap}.chat-edit-ref{--cer-border: rgba(255, 255, 255, .07);display:flex;flex:0 0 100%;align-items:center;justify-content:flex-end;gap:8px;margin-bottom:8px}[data-theme=light] .chat-edit-ref{--cer-border: rgba(91, 115, 247, .12)}.chat-edit-ref__icon{flex:none;color:var(--text-tertiary, var(--text-muted))}.chat-edit-ref__preview{position:relative;display:block;flex:none;width:64px;height:64px;margin:0;padding:0;border:0;border-radius:12px;overflow:hidden;background:var(--bg-skeleton, rgba(127, 127, 127, .14));font:inherit}.chat-edit-ref__preview img{display:block;width:100%;height:100%;object-fit:cover;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.chat-edit-ref__preview:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px var(--cer-border);pointer-events:none}button.chat-edit-ref__preview{cursor:zoom-in}button.chat-edit-ref__preview:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.chat-image-slot.chat-image-slot--ds{width:400px;max-width:100%;aspect-ratio:396/320;margin-bottom:0;background:var(--bg-card-hover)}.chat-edit-pending__room{height:36px}.chat-image-slot__caption{position:absolute;left:16px;right:16px;bottom:16px;overflow:hidden;color:var(--text-secondary);font-size:14px;font-weight:500;line-height:20px;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}html[data-palette=new] .chat-edit-pending>.chat-message-avatar{overflow:visible}html[data-palette=new] .chat-edit-pending>.chat-message-avatar img{filter:drop-shadow(0 0 4px rgba(92,115,247,.8))}.chat-msg-status{display:none}.chat-warning--login{display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-warning__login-btn{flex-shrink:0;height:32px;padding:0 16px;border-radius:500px;background:linear-gradient(135deg,#1d1e4f,#4a64bc,#79bcf2) padding-box,linear-gradient(135deg,#6899d1,#8dc9f29e,#a3abff52) border-box;border:1.5px solid transparent;color:#fff;font-size:13px;font-weight:600;text-decoration:none;display:flex;align-items:center;transition:all .2s}.chat-warning__login-btn:hover{box-shadow:0 4px 14px #6899d159;transform:translateY(-1px)}@media(min-width:769px){html[data-header=new] .chat-messages{margin-top:calc(-1 * var(--hx-band, 68px));padding-top:calc(var(--hx-band, 68px) + 24px)}}html[data-palette=new] .chat-messages>.chat-message{width:auto;margin:0 26px 32px 2px}html[data-palette=new] .chat-message.assistant>.chat-message-avatar{width:16px;height:16px;margin-top:4px;border-radius:4px}html[data-palette=new] .chat-message.assistant>.chat-message-avatar img{width:16px!important;height:16px!important;border-radius:4px!important}html[data-palette=new] .chat-message.assistant{flex-wrap:wrap}html[data-palette=new] .chat-message.assistant>.chat-message-content{flex:1 1 0;width:auto;max-width:800px;margin-left:8px;padding:0;border-radius:0;font-size:16px;line-height:24px}html[data-palette=new] .chat-message.user>.chat-message-content{width:fit-content;max-width:560px;padding:8px 12px;border-radius:12px;font-size:16px;line-height:24px;background:linear-gradient(180deg,var(--bg-bubble-user-start),var(--bg-bubble-user-end))}html[data-palette=new] .chat-message.user>.chat-message-content ol:has(>li:nth-child(10)),html[data-palette=new] .chat-message.user>.chat-message-content ol[start]{padding-left:28px}html[data-palette=new] .chat-message.user>.chat-message-content ol:has(>li:nth-child(100)){padding-left:38px}html[data-palette=new] .chat-message.user{position:relative;flex-wrap:wrap}html[data-palette=new] .chat-message.user>.chat-bubble-status~.chat-message-content,html[data-palette=new] .chat-message.user>.chat-message-content:has(>.chat-long-toggle){border-radius:16px}html[data-palette=new] .chat-message.user>.chat-bubble-status--sending~.chat-message-content{opacity:.7}html[data-palette=new] .chat-message-content.markdown-body>:first-child{margin-top:0}html[data-palette=new] .chat-message-content.markdown-body>:last-child{margin-bottom:0}html[data-palette=new] .chat-message-content.markdown-body p{margin:8px 0}html[data-palette=new] .chat-message-content.markdown-body h1{font-size:20px}html[data-palette=new] .chat-message-content.markdown-body h2{font-size:18px}html[data-palette=new] .chat-message-content.markdown-body h3{font-size:16px}html[data-palette=new] .chat-msg-actions{margin-top:12px!important;align-items:center}html[data-palette=new] .chat-msg-actions button{box-sizing:border-box;width:32px;height:24px;padding:0!important;justify-content:center;border-radius:999px!important;color:var(--text-primary)!important;opacity:1!important;transition:background .16s ease,color .2s ease,transform .18s ease}html[data-palette=new] .chat-msg-actions button>span:not([class]){display:none}html[data-palette=new] .chat-msg-actions button svg{width:14px;height:14px}html[data-palette=new] .chat-msg-actions button:hover{background:var(--bg-button-secondary-hover)!important}html[data-palette=new] .chat-msg-actions button:active{background:var(--bg-button-secondary-pressed)!important}html[data-palette=new] .chat-msg-actions button:disabled{color:var(--text-disabled)!important;cursor:default}html[data-palette=new] .chat-msg-actions .chat-msg-copy-btn.is-copied{color:var(--text-success)!important}html[data-palette=new] .chat-msg-actions .chat-msg-credits{padding:4px 8px;font-size:12px!important;line-height:16px;color:var(--text-secondary);opacity:1!important}html[data-palette=new] .chat-msg-actions .chat-msg-credits svg,html[data-palette=new] .chat-msg-actions .chat-msg-credits img{width:14px;height:14px}html[data-palette=new] .chat-message.assistant:is(.is-thinking,.is-streaming)>.chat-message-avatar{width:24px;height:24px;margin:0;border-radius:6px}html[data-palette=new] .chat-message.assistant:is(.is-thinking,.is-streaming)>.chat-message-avatar img{width:24px!important;height:24px!important;border-radius:6px!important}html[data-palette=new] .chat-message.assistant.is-streaming>.chat-message-content>.chat-msg-status{display:block;margin:0 0 12px;font-size:14px;line-height:20px;color:var(--text-tertiary)}html[data-palette=new] .chat-message.assistant.is-thinking{flex-wrap:wrap;align-items:center}html[data-palette=new] .chat-message.assistant.is-thinking>.chat-msg-status{display:block;margin-left:8px;font-size:14px;line-height:20px;color:var(--text-tertiary)}html[data-palette=new] .chat-message.assistant.is-thinking>.chat-message-content{flex-basis:100%;margin:0 0 0 32px}html[data-palette=new] .chat-message.assistant.is-thinking .typing-indicator{display:none}html[data-palette=new] .chat-message.assistant.is-thinking .chat-long-wait{margin-top:8px}html[data-palette=new] .chat-error{position:relative;z-index:11;box-sizing:border-box;gap:12px;width:100%;max-width:800px;margin:0 auto 12px;padding:12px;border:1px solid var(--border-toast);border-radius:12px;background:linear-gradient(90deg,var(--bg-toast-glow-danger) 0%,rgba(0,0,0,0) 30%),var(--bg-toast);background-repeat:no-repeat;color:var(--text-primary);font-size:14px;line-height:20px}html[data-palette=new] .chat-error>svg{box-sizing:content-box;flex:0 0 auto;width:20px;height:20px;padding:8px;border-radius:8px;background:var(--bg-glass-tint);color:var(--icon-danger)}html[data-palette=new] .chat-error-btn{box-sizing:border-box;display:inline-flex;flex:0 0 auto;align-items:center;height:32px;padding:0 12px;border-radius:999px;font-size:12px;line-height:16px;font-weight:600;color:var(--text-primary);background:var(--bg-button-secondary);transition:background .16s ease}html[data-palette=new] .chat-error-btn:hover{opacity:1;background:var(--bg-button-secondary-hover)}html[data-palette=new] .chat-error-text+.chat-error-btn{color:var(--text-on-accent);background:var(--bg-accent);box-shadow:0 2px 8px #0f172a24}html[data-palette=new] .chat-error-text+.chat-error-btn:hover{background:var(--bg-accent-hover)}html[data-palette=new] .chat-error-text+.chat-error-btn:active{background:var(--bg-accent-pressed)}html[data-palette=new] .chat-ctx-banner{box-sizing:border-box!important;justify-content:flex-start!important;gap:12px!important;margin:0 0 8px!important;padding:12px!important;border:1px solid var(--border-toast)!important;border-radius:12px!important;background:linear-gradient(90deg,var(--bg-toast-glow-warning) 0%,rgba(0,0,0,0) 30%),var(--bg-toast)!important;background-repeat:no-repeat!important;color:var(--text-primary)!important;font-size:14px!important;line-height:20px!important}html[data-palette=new] .chat-ctx-banner:before{content:"";flex:0 0 36px;height:36px;border-radius:8px;background:var(--bg-glass-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.8126 1.66837C12.2953 1.43834 11.7047 1.43834 11.1874 1.66837C10.7878 1.84602 10.5283 2.15894 10.3477 2.41391C10.1701 2.66461 9.98004 2.99303 9.77096 3.35422L1.50381 17.6339C1.2939 17.9964 1.10315 18.3258 0.973806 18.6054C0.842356 18.8895 0.699752 19.2714 0.745201 19.7074C0.804012 20.2715 1.09955 20.7841 1.55827 21.1176C1.91276 21.3753 2.31476 21.4433 2.62652 21.4719C2.93327 21.5 3.31392 21.5 3.73281 21.5H20.2671C20.686 21.5 21.0667 21.5 21.3734 21.4719C21.6852 21.4433 22.0872 21.3753 22.4417 21.1176C22.9004 20.7841 23.1959 20.2715 23.2547 19.7074C23.3002 19.2714 23.1576 18.8895 23.0261 18.6054C22.8968 18.3258 22.7061 17.9964 22.4962 17.6339L14.229 3.35419C14.0199 2.99301 13.8298 2.66459 13.6522 2.41391C13.4716 2.15894 13.2121 1.84602 12.8126 1.66837ZM13 9C13 8.44772 12.5523 8 12 8C11.4477 8 11 8.44772 11 9V13C11 13.5523 11.4477 14 12 14C12.5523 14 13 13.5523 13 13V9ZM12 16C11.4477 16 11 16.4477 11 17C11 17.5523 11.4477 18 12 18H12.01C12.5623 18 13.01 17.5523 13.01 17C13.01 16.4477 12.5623 16 12.01 16H12Z' fill='%23d97706'/%3E%3C/svg%3E") center/20px 20px no-repeat}html[data-palette=new] .chat-ctx-banner>span{flex:1 1 auto;min-width:0}html[data-palette=new] .chat-ctx-banner>button{color:var(--text-secondary)!important}html[data-palette=new][data-theme=dark] .chat-ctx-banner:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.8126 1.66837C12.2953 1.43834 11.7047 1.43834 11.1874 1.66837C10.7878 1.84602 10.5283 2.15894 10.3477 2.41391C10.1701 2.66461 9.98004 2.99303 9.77096 3.35422L1.50381 17.6339C1.2939 17.9964 1.10315 18.3258 0.973806 18.6054C0.842356 18.8895 0.699752 19.2714 0.745201 19.7074C0.804012 20.2715 1.09955 20.7841 1.55827 21.1176C1.91276 21.3753 2.31476 21.4433 2.62652 21.4719C2.93327 21.5 3.31392 21.5 3.73281 21.5H20.2671C20.686 21.5 21.0667 21.5 21.3734 21.4719C21.6852 21.4433 22.0872 21.3753 22.4417 21.1176C22.9004 20.7841 23.1959 20.2715 23.2547 19.7074C23.3002 19.2714 23.1576 18.8895 23.0261 18.6054C22.8968 18.3258 22.7061 17.9964 22.4962 17.6339L14.229 3.35419C14.0199 2.99301 13.8298 2.66459 13.6522 2.41391C13.4716 2.15894 13.2121 1.84602 12.8126 1.66837ZM13 9C13 8.44772 12.5523 8 12 8C11.4477 8 11 8.44772 11 9V13C11 13.5523 11.4477 14 12 14C12.5523 14 13 13.5523 13 13V9ZM12 16C11.4477 16 11 16.4477 11 17C11 17.5523 11.4477 18 12 18H12.01C12.5623 18 13.01 17.5523 13.01 17C13.01 16.4477 12.5623 16 12.01 16H12Z' fill='%23f59e0b'/%3E%3C/svg%3E")}@media(max-width:768px){html[data-palette=new] .chat-error{flex-wrap:wrap}html[data-palette=new] .chat-error-text{flex:1 1 calc(100% - 48px)}}html[data-palette=new] .chat-attached-files>.cfile{flex:0 0 auto}@media(max-width:768px){html[data-palette=new] .chat-page{padding-left:16px;padding-right:16px}html[data-palette=new] .chat-attached-files>.cfile{width:100%}html[data-palette=new] .chat-input-wrapper .attach-btn,html[data-palette=new] .chat-input-wrapper .wmp__pill,html[data-palette=new] .chat-input-wrapper .send-btn:disabled{border:1px solid var(--border-glass-button);background:var(--bg-glass-button)}html[data-palette=new] .chat-input-wrapper .wmp__pill{padding:0 10px;font-size:12px;line-height:16px;font-weight:500;color:var(--text-secondary)}html[data-palette=new] .chat-input-wrapper .wmp__pill-label{font-size:12px;line-height:16px;color:var(--text-secondary)}html[data-palette=new] .chat-input-wrapper .send-btn:not(:disabled){background:var(--bg-accent);color:var(--text-on-accent)}}html[data-palette=new] .chat-msg-actions>.chat-msg-credits-tip{margin-left:auto}html[data-palette=new] .chat-scroll-bottom-btn{box-sizing:border-box;border:1px solid var(--border-glass-button);background:var(--bg-toast);color:var(--icon-secondary);box-shadow:0 4px 5px #0000004d,0 2px 3px #0003;-webkit-backdrop-filter:none;backdrop-filter:none}html[data-palette=new] .chat-scroll-bottom-btn svg{stroke-width:1.33;stroke-linecap:round;stroke-linejoin:round}@media(max-width:768px){html[data-palette=new] .chat-messages>.chat-message{margin:0 0 24px}html[data-palette=new] .chat-message.user>.chat-message-content{max-width:calc(100% - 54px)}}.chat-attached-file.is-incoming .chat-attached-preview{opacity:.55}.chat-attached-file.is-incoming:before,.chat-attached-file.is-incoming:after{content:"";position:absolute;top:50%;left:50%;border-radius:50%;pointer-events:none}.chat-attached-file.is-incoming:before{width:26px;height:26px;margin:-13px 0 0 -13px;background:#00000080}.chat-attached-file.is-incoming:after{width:14px;height:14px;margin:-9px 0 0 -9px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:spin .8s linear infinite}@media(prefers-reduced-motion:reduce){.chat-attached-file.is-incoming:after{animation:none}}
