.media-preset-frame{box-sizing:border-box;width:100%}.media-preset-frame--horizontal{aspect-ratio:520/283;max-width:520px}.media-preset-frame--vertical{aspect-ratio:280/384;max-width:280px}.media-preset-frame--square{aspect-ratio:1;max-width:382px}@media (max-width:768px){.media-preset-frame--horizontal,.media-preset-frame--vertical,.media-preset-frame--square{max-width:100%}}.chat-history-msg{text-align:left;flex-direction:row;display:flex}.chat-history-message-container{width:100%;padding:0 10%}@media (max-width:768px){.chat-history-message-container{padding:0 16px}}.chat-history-message-container--demo-mode{padding:0}.chat-history-message-container--with-quote .chat-history-message-main{padding-top:8px}@media (max-width:768px){.chat-history-message-container--with-quote .chat-history-message-main{padding-top:24px}}.chat-history-message-quote{max-width:960px;margin:0 auto;padding:20px 0 0 64px}.chat-history-message-main{text-overflow:clip;flex-direction:row;flex:1;max-width:960px;margin:0 auto;padding:20px 0;display:flex}@media (max-width:768px){.chat-history-message-main{flex-direction:column;padding:24px 0}}.chat-history-msg--system-error .chat-history-message-main{padding-top:16px;padding-bottom:16px}@media (max-width:768px){.chat-history-msg--system-error .chat-history-message-main{padding-top:16px;padding-bottom:16px}}.chat-history-msg-middle{width:0}.chat-history-reasoning-msg-container{flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:8px;display:flex}.chat-history-reasoning-msg-content{font-family:var(--typography-paragraph-medium--font-family);font-size:var(--typography-paragraph-medium--font-size);font-weight:var(--typography-paragraph-medium--font-weight);line-height:var(--typography-paragraph-medium--line-height);color:var(--palette-secondary-content);align-items:flex-start;gap:16px;animation:.15s ease-out both reasoning-content-in;display:flex}@media (prefers-reduced-motion:reduce){.chat-history-reasoning-msg-content{animation:none}}@keyframes reasoning-content-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}.reasoning-divider{background:var(--palette-nonary-neutral);border-radius:999px;flex-shrink:0;align-self:stretch;width:2px;margin-left:11px}.reasoning-text,.step-content{white-space:pre-wrap;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;flex:1;max-width:100%}.reasoning-text{font-style:italic}.reasoning-text :is(strong,b,h1,h2,h3,h4,h5,h6),.reasoning-text :is(code,pre,kbd,samp){font-style:normal}.chat-history-reasoning-not-shown{font-family:var(--typography-action-regular--font-family);font-size:var(--typography-action-regular--font-size);font-weight:var(--typography-action-regular--font-weight);line-height:var(--typography-action-regular--line-height);color:var(--palette-tertiary-content);margin-bottom:8px}.chat-history-msg-content{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;max-width:100%;font-size:16px;line-height:1.5;overflow-y:hidden}.msg-selection-active{-webkit-user-select:none;user-select:none}.msg-selection-active .chat-history-msg.msg-selection-active__target .chat-history-msg-content,.msg-selection-active .chat-history-msg.msg-selection-active__target .chat-history-msg-content *,.msg-selection-active .chat-history-msg.msg-selection-active__target .chat-history-reasoning-msg-content,.msg-selection-active .chat-history-msg.msg-selection-active__target .chat-history-reasoning-msg-content *,.msg-selection-active .chat-history-msg.msg-selection-active__target .chat-history-msg-model-name{-webkit-touch-callout:none;-webkit-user-select:text;user-select:text}@media (max-width:767px){[data-chat-overlay]{transition:opacity .2s}[data-chat-overlay=flex]{transition:opacity .2s,max-height .2s,padding-top .2s,padding-bottom .2s,margin-top .2s,margin-bottom .2s}.msg-selection-active [data-chat-overlay]{opacity:0!important}.msg-selection-active [data-chat-overlay],.msg-selection-active [data-chat-overlay] *{pointer-events:none!important}.msg-selection-active [data-chat-overlay=flex]{max-height:0!important;margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important;overflow:hidden!important}#scrollable-div{transition:padding-top .2s,padding-bottom .2s}.msg-selection-active #scrollable-div{padding-top:47px!important;padding-bottom:var(--chat-input-height,0)!important}}.memory-word{background-color:var(--memory-highlight-bg)}.half-memory-word{background-color:var(--half-memory-highlight-bg)}:is(.chat-history-msg-content,.reasoning-text) code{-webkit-hyphens:none;hyphens:none}:is(.chat-history-msg-content,.reasoning-text) h1{font-size:1.45em;font-weight:700}:is(.chat-history-msg-content,.reasoning-text) h2{font-size:1.3em;font-weight:700}:is(.chat-history-msg-content,.reasoning-text) h3{font-size:1.17em;font-weight:700}:is(.chat-history-msg-content,.reasoning-text) h4{font-size:1.05em;font-weight:700}:is(.chat-history-msg-content,.reasoning-text) h5,:is(.chat-history-msg-content,.reasoning-text) h6{font-size:1em;font-weight:700}:is(.chat-history-msg-content,.reasoning-text) h1,:is(.chat-history-msg-content,.reasoning-text) h2,:is(.chat-history-msg-content,.reasoning-text) h3,:is(.chat-history-msg-content,.reasoning-text) h4,:is(.chat-history-msg-content,.reasoning-text) h5,:is(.chat-history-msg-content,.reasoning-text) h6{margin:1.1em 0 .4em}:is(.chat-history-msg-content,.reasoning-text) h1:first-child,:is(.chat-history-msg-content,.reasoning-text) h2:first-child,:is(.chat-history-msg-content,.reasoning-text) h3:first-child,:is(.chat-history-msg-content,.reasoning-text) h4:first-child,:is(.chat-history-msg-content,.reasoning-text) h5:first-child,:is(.chat-history-msg-content,.reasoning-text) h6:first-child{margin-top:0}:is(.chat-history-msg-content,.reasoning-text) :not(pre)>code{background-color:var(--palette-tertiary-base-bg);border-radius:5px;padding:2px 5px;font-size:.9em}:is(.chat-history-msg-content,.reasoning-text) blockquote{border-left:3px solid var(--palette-terdenary-neutral);color:var(--palette-secondary-content);margin:8px 0;padding-left:12px}:is(.chat-history-msg-content,.reasoning-text) hr{background-color:#cfd0d1;border:none;height:1px;margin:1.5em 0}:is(.chat-history-msg-content,.reasoning-text) ol li input[type=checkbox],:is(.chat-history-msg-content,.reasoning-text) ul li input[type=checkbox]{margin-left:.5em;margin-right:.5em}:is(.chat-history-msg-content,.reasoning-text) ol{counter-reset:message-ol;margin-bottom:10px;padding-left:15px;list-style:none}:is(.chat-history-msg-content,.reasoning-text) ol>li{counter-increment:message-ol;font-variant-numeric:tabular-nums;grid-template-columns:max-content minmax(0,1fr);align-items:start;column-gap:.5em;display:grid}:is(.chat-history-msg-content,.reasoning-text) ol>li:before{content:counter(message-ol) ".";text-align:right;white-space:nowrap;grid-column:1;display:block}:is(.chat-history-msg-content,.reasoning-text) ol>li>*{grid-column:2}:is(.chat-history-msg-content,.reasoning-text) ol ol{counter-reset:nested-ol}:is(.chat-history-msg-content,.reasoning-text) ol ol>li{counter-increment:nested-ol}:is(.chat-history-msg-content,.reasoning-text) ol ol>li:before{content:counter(nested-ol) "."}:is(.chat-history-msg-content,.reasoning-text) ul{margin-bottom:10px;padding-left:24px;list-style:outside}:is(.chat-history-msg-content,.reasoning-text) a{line-break:anywhere;text-decoration:underline}:is(.chat-history-msg-content,.reasoning-text) a:hover{text-decoration:none}:is(.chat-history-msg-content,.reasoning-text) p{padding-bottom:8px}:is(.chat-history-msg-content,.reasoning-text) p:not(:first-child){padding-top:8px}:is(.chat-history-msg-content,.reasoning-text) .katex-display{padding:4px 0;overflow:auto hidden}:is(.chat-history-msg-content,.reasoning-text) em,:is(.chat-history-msg-content,.reasoning-text) i{font-style:italic}.dark :is(.chat-history-msg-content,.reasoning-text) hr{background-color:#616060}.chat-history-msg-content.has-action-buttons p:last-child{font-family:var(--typography-action-medium--font-family);font-size:var(--typography-action-medium--font-size);font-weight:var(--typography-action-medium--font-weight);line-height:var(--typography-action-medium--line-height);padding-top:12px}.chat-hist-user .chat-history-msg-middle{display:block}.chat-history-msg-model-name{font-family:var(--font-inter);-webkit-user-select:text;user-select:text;font-size:14px;font-style:normal;font-weight:500;line-height:150%}.chat-hist-system .chat-history-msg-content{width:100%}.chat-hist-user .chat-history-msg-content{background-color:var(--response-bg-color);border-radius:22px;align-self:flex-start;max-width:100%;margin-left:0;padding:12px 24px;display:inline-block}@media (max-width:768px){.chat-hist-user .chat-history-msg-content{padding:12px 16px}}.dark .chat-hist-user .chat-history-msg-content{background-color:var(--chat-dark-bg-1)}.project-file-mention{color:var(--palette-secondary-accent)}.chat-voice-msg{margin-top:-20px}.chat-avatar-title{justify-content:start;align-items:center;gap:8px;width:100%;font-weight:500;display:flex}.chat-avatar{background-color:var(--palette-primary-inverted);color:#fff;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:18px;display:flex}.chat-avatar-user{color:#646565;background-color:var(--response-bg-color);text-align:center;font-family:Inter,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:140%}.dark .chat-avatar-user{background-color:var(--chat-dark-bg-1);color:var(--dark-chat-avatar-user)}.chat-history-msg-middle-right{width:90px}.chat-actions-desktop{visibility:visible;flex-direction:row;justify-content:flex-end;gap:4px;display:flex}.chat-history-msg:hover .chat-actions-desktop{visibility:visible}.chat-actions-mobile{flex-direction:row;gap:8px;display:none}@media screen and (max-width:850px){.chat-avatar{font-size:14px}.chat-history-msg:hover .chat-actions-desktop{display:none}.chat-actions-mobile{display:flex}.chat-history-msg-middle-right{display:none}:is(.chat-history-msg-content,.reasoning-text) pre{font-size:12px}}.chat-msg-buy-button{text-transform:uppercase;border:1px solid #000;border-radius:5px;margin-top:20px;padding:8px}.img-memory-highlight{background-color:var(--memory-highlight-bg)}.img-grid:not(.has-highlight):hover>div:not(.highlight-dimmed){-webkit-backdrop-filter:brightness(.5);backdrop-filter:brightness(.5)}.img-grid:not(.has-highlight):hover>div:not(.highlight-dimmed):hover{-webkit-backdrop-filter:brightness();backdrop-filter:brightness()}.img-grid>div:only-child{-webkit-backdrop-filter:brightness(.9);backdrop-filter:brightness(.9)}.img-grid>.highlight-dimmed{-webkit-backdrop-filter:brightness(.25);backdrop-filter:brightness(.25)}.custom-hover-image .custom-hover-video{-webkit-tap-highlight-color:#0000;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.md-fade-word{animation:.4s ease-out backwards md-fade-word-in}@media (prefers-reduced-motion:reduce){.md-fade-word{animation:none}}@keyframes md-fade-word-in{0%{opacity:0}to{opacity:1}}