:root{--studio-control-height:40px;--studio-attachment-size:56px;--studio-menu-row-height:40px;--studio-menu-surface:#f3f3f3;--studio-menu-hover:#fff;--studio-menu-text:var(--ink);--studio-menu-shadow:0 12px 30px #00000024;--studio-model-control-width:176px;--studio-audio-surface:#fff}html[data-theme=dark]{--studio-menu-surface:#2c2d31;--studio-menu-hover:#414245;--studio-menu-shadow:0 12px 30px #0000004d;--studio-audio-surface:#202124}html body .app-shell .notification-badge{border-color:var(--studio-results,var(--canvas))}html .app-shell .chat-turn-meta{align-items:center;line-height:24px}html body .app-shell .view-split .split-output-footer .chat-turn-meta{align-items:center}html body .app-shell .chat-turn-meta :is(.banana-model-name,.model-name-label,.generation-progress-duration){font-size:inherit;line-height:24px}html .app-shell .chat-turn-meta>.chat-turn-meta-settings{white-space:pre;line-height:inherit}html .app-shell .gallery-card .gallery-media-preview-audio{background:var(--studio-audio-surface)}html .app-shell .library-page:not(.new-chat-page)>.library-prompt-composer-wrap{pointer-events:none}html .app-shell .library-page:not(.new-chat-page)>.library-prompt-composer-wrap>:not(.surface-blur){pointer-events:auto}html .app-shell .library-page:not(.new-chat-page)>.library-prompt-composer-wrap>.surface-blur{pointer-events:none;width:100%!important;display:block!important;left:0!important;right:0!important}html .app-shell .surface-blur--bottom{background:linear-gradient(to bottom, transparent, color-mix(in srgb, var(--studio-results) 68%, transparent) 58%, var(--studio-results))}html body .app-shell .asset-gallery:not(.session-flow-gallery) .gallery-toolbar,html body .app-shell .asset-gallery.session-flow-gallery .gallery-toolbar{background:0 0}.studio-navigation-rail{z-index:2;position:relative}.studio-chat-index{z-index:1;animation:.4s cubic-bezier(.23,1,.32,1) both studio-chat-index-enter;position:relative}@keyframes studio-chat-index-enter{0%{opacity:0;transform:translate(-100%)}to{opacity:1;transform:none}}.studio-chat-index .sidebar-chat-row{isolation:isolate}.studio-chat-index .merge-bar>span{color:var(--ink);font:400 14px/21px Rubik,sans-serif}@media (prefers-reduced-motion:no-preference){.sidebar-chat-row[data-merge-enter]{animation:.3s cubic-bezier(.22,1,.36,1) both sidebar-merge-enter}.sidebar-chat-row[data-merge-enter] .sidebar-chat-link{animation:.3s cubic-bezier(.22,1,.36,1) both sidebar-merge-title-enter}}@keyframes sidebar-merge-enter{0%{opacity:0}to{opacity:1}}@keyframes sidebar-merge-title-enter{0%{transform:translate(-8px)scale(.98)}to{transform:none}}.studio-chat-index .sidebar-chat-row:before{z-index:-1;background:var(--studio-control);opacity:var(--chat-hover-effect,0);pointer-events:none;content:"";position:absolute;inset:0}.studio-chat-index .sidebar-chat-row:not(.active):hover{background:0 0}.studio-chat-index .sidebar-chat-link>span{transform:translateX(calc(var(--chat-hover-effect,0) * 4px))}.studio-chat-index .sidebar-chat-link>svg{color:var(--studio-muted);flex:none}html body .studio-chat-index .project-navigation{margin-inline:-22px}html body .studio-chat-index .sidebar-project-header{margin-inline:0}html body .studio-chat-index .sidebar-chat-row{grid-template-columns:20px minmax(0,1fr) 28px 28px 28px;gap:4px;padding-inline:4px;display:grid}html body .studio-chat-index .sidebar-chat-row>:is(.chat-pin-button,.merge-check){grid-area:1/1;width:20px;height:28px;position:relative;right:auto}html body .studio-chat-index :is(.chat-pin-button,.project-pin-button) svg{width:12.6px;height:12.6px}html body .studio-chat-index .sidebar-chat-row .sidebar-chat-link{grid-area:1/2;padding:0}html body .studio-chat-index .sidebar-chat-row>input{grid-area:1/2/auto/-1}html body .studio-chat-index .sidebar-chat-row>.sidebar-icon-button{grid-area:1/5;position:relative;right:auto}html body .studio-chat-index .sidebar-project-header{grid-template-columns:20px minmax(0,1fr) auto;gap:4px;padding-inline:4px;display:grid}html body .studio-chat-index .project-pin-button{width:20px}html body .studio-chat-index .project-actions{gap:4px}html body .studio-chat-index .project-title{flex:auto}html body .studio-chat-index .project-actions{flex:none}html body .studio-chat-index .sidebar-icon-button{box-shadow:none;background:0 0}html body .studio-chat-index .sidebar-icon-button:is(:hover,:focus-visible,:active){box-shadow:none;color:var(--brand-blue);background:0 0!important}html body .studio-chat-index .sidebar-chat-row>:is(.notification-dot,.chat-generation-activity){pointer-events:none;grid-row:1;justify-self:center;margin:0;position:relative;top:auto;right:auto;transform:none}html body .studio-chat-index .sidebar-chat-row>.notification-dot{grid-column:4}html body .studio-chat-index .sidebar-chat-row>.chat-generation-activity{grid-column:3;animation-name:sidebar-chat-generation-spin}@keyframes sidebar-chat-generation-spin{to{transform:rotate(360deg)}}html body .app-shell .notification-trigger.has-message{gap:12px;padding-inline:16px}html body .app-shell .notification-copy{padding-inline-start:8px}html body .app-shell .gallery-error-preview button,html body .app-shell .gallery-error-preview button:is(:hover,:active,:focus-visible){box-shadow:none;background:0 0!important}html .app-shell :is(.composer-control,.custom-select-trigger,.tts-voice-trigger,.keyboard-layout-button,.chat-send-button,.video-send-button,.settings-primary-button,.settings-secondary-button,.settings-danger-button,.button,.tts-speakers>button,.tts-turns>button,.tts-submit-row>button){height:var(--studio-control-height);min-height:var(--studio-control-height);box-shadow:none;border:0;border-radius:0;gap:8px;padding:0 14px;font:400 14px/21px Rubik,sans-serif;transition:background-color .15s ease, color .15s ease, transform .16s var(--motion-ease), opacity .15s ease!important}html .app-shell :is(.composer-control,.custom-select-trigger,.tts-voice-trigger,.keyboard-layout-button,.chat-send-button,.video-send-button){background:var(--studio-control);color:var(--studio-text)}html .app-shell :is(.chat-composer-footer,.video-submit-row,.tts-submit-row) :is(.composer-control,.keyboard-layout-button,.custom-select-trigger,.tts-voice-trigger){background:0 0}html .app-shell :is(.keyboard-layout-button,.chat-send-button,.video-send-button,.tts-submit-row>button){width:40px;min-width:40px;padding:0}html .app-shell :is(.composer-model,.tts-model-selector .composer-model,.video-submit-row .composer-model){width:var(--studio-model-control-width);min-width:var(--studio-model-control-width);justify-content:space-between}html body :is(.custom-select-trigger,.tts-voice-trigger){justify-content:space-between;align-items:center;display:inline-flex}html body .studio-select-chevron{transition:transform .18s var(--motion-ease);flex:none}html body button[aria-expanded=true]>.studio-select-chevron{transform:rotate(180deg)}html body :is(.studio-select-menu,.image-actions-menu,.sidebar-menu,.gallery-filter-dropdown){isolation:isolate;border:1px solid var(--line);background:var(--studio-menu-surface);color:var(--studio-menu-text);box-shadow:var(--studio-menu-shadow);border-radius:0;padding:6px;font:400 14px/21px Rubik,sans-serif}html body .studio-select-menu{z-index:1500;width:max-content;max-width:calc(100vw - 24px);max-height:min(640px,100dvh - 24px);bottom:auto;right:auto;overflow:auto;transform:none;position:fixed!important}html body :is(.custom-select-popover,.setting-popover,.image-actions-menu,.sidebar-menu) button,html body .tts-voice-option,html body .gallery-filter-dropdown label{z-index:1;width:100%;min-height:var(--studio-menu-row-height);height:var(--studio-menu-row-height);color:inherit;background:0 0;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:12px;margin:0;padding:0 12px;font:400 14px/21px Rubik,sans-serif;display:flex;position:relative;transform:none!important}html body :is(.image-actions-menu,.sidebar-menu) button{justify-content:flex-start}html body :is(.studio-select-menu,.image-actions-menu,.sidebar-menu) button:is(:hover,.active,[aria-pressed=true]),html body .tts-voice-option:is(:hover,.selected),html body .gallery-filter-dropdown label:hover{background:var(--studio-menu-hover)}html body .studio-select-menu button:is(.active,[aria-pressed=true]),html body .tts-voice-option.selected{color:var(--brand-blue)}html body :is(.studio-select-menu,.image-actions-menu)[data-glide-active=true] button:not(:disabled):hover,html body .studio-select-menu[data-glide-active=true] button:is(.active,[aria-pressed=true]),html body .studio-select-menu[data-glide-active=true] .tts-voice-option:is(:hover,.selected){background:0 0}html body :is(.studio-select-menu,.image-actions-menu,.sidebar-menu) .studio-glide-highlight{z-index:0;background:var(--studio-menu-hover);opacity:0;pointer-events:none;transform-origin:0 0;width:1px;height:1px;transition:transform .22s cubic-bezier(.23,1,.32,1),opacity .15s;position:absolute;top:0;left:0}html body .model-selector-popover{box-sizing:border-box;overscroll-behavior:contain;width:max-content;max-width:calc(100vw - 24px);height:auto;min-height:0;padding:16px;overflow:auto;min-width:0!important}html body .model-selector-popover .model-selector-columns,html body .model-selector-popover.has-test-model .model-selector-columns{align-items:start;gap:16px;width:max-content;height:auto;min-height:0;display:flex}html body .model-selector-popover .model-media-column{flex-direction:column;flex:none;gap:24px;width:180px;min-width:0;display:flex}html body .model-selector-popover .model-media-column:empty{display:none}html body .model-selector-popover[data-active-media]{width:680px}html body .model-selector-popover[data-active-media] .model-selector-columns{grid-template-columns:minmax(0,1fr);width:100%;display:grid}html body .model-selector-popover[data-active-media] .model-media-column{visibility:hidden;opacity:0;pointer-events:none;grid-area:1/1;grid-template-columns:repeat(2,minmax(0,1fr));align-self:start;gap:24px 32px;width:100%;transition:opacity .14s ease-in,visibility .14s;display:grid}html body .model-selector-popover[data-active-media=image] .model-media-column[data-media=image],html body .model-selector-popover[data-active-media=video] .model-media-column[data-media=video],html body .model-selector-popover[data-active-media=audio] .model-media-column[data-media=audio],html body .model-selector-popover[data-active-media=text] .model-media-column[data-media=text]{visibility:visible;opacity:1;pointer-events:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 32px;width:100%;transition:opacity .24s cubic-bezier(.22,1,.36,1),visibility;display:grid}@media (prefers-reduced-motion:reduce){html body .model-selector-popover[data-active-media] .model-media-column[data-media]{transition:none;transform:none}}html body .model-selector-popover[data-active-media] .model-provider-column:first-child{grid-row:span 3}html body .model-media-toolbar{z-index:1;border-bottom:1px solid var(--line);margin-bottom:16px;padding-bottom:12px;position:relative}html body .model-media-tabs{flex-wrap:wrap;gap:4px;display:flex;position:relative}html body .model-media-marker{background:var(--studio-menu-hover);transform-origin:0 0;pointer-events:none;position:absolute;top:0;left:0}html body .studio-select-menu .model-media-tab{z-index:1;width:auto;min-width:0;min-height:40px;color:var(--muted);background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;gap:8px;padding:0 12px;font:400 14px/20px Rubik,sans-serif;display:inline-flex;position:relative}html body .studio-select-menu .model-media-tab[aria-pressed=true]{color:var(--brand-blue);background:0 0}html[data-theme=dark] body .studio-select-menu button:is(.active,[aria-pressed=true]),html[data-theme=dark] body .tts-voice-option.selected{color:#fff}html body .studio-select-menu .model-media-tab:hover{background:var(--studio-menu-hover)}html body .model-media-tab:focus-visible{outline:2px solid var(--brand-blue);outline-offset:-2px}html body .model-media-tab small{color:var(--muted);font-size:10px}@media (max-width:600px){html body .studio-select-menu .model-media-tab{gap:6px;min-height:44px;padding:0 8px}html body .model-media-tabs{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}html body .model-selector-popover[data-active-media] .model-media-column[data-media]{grid-template-columns:minmax(0,1fr);gap:16px}html body .model-selector-popover[data-active-media] .model-provider-column:first-child{grid-row:auto}}html body .model-selector-popover .model-media-column[data-media=image]{width:232.5px}html body .model-selector-popover .model-media-column[data-media=video]{width:248px}html body .model-selector-popover .model-media-column[data-media=text]{order:4}html body .model-selector-popover[data-active-media] .model-media-column[data-media]{width:100%}html body .model-selector-popover .model-provider-column{flex:none;width:100%;min-width:0;margin:0;padding:0}html body .model-selector-popover .model-provider-title{box-sizing:border-box;white-space:normal;flex-wrap:wrap;align-items:center;gap:4px 12px;width:100%;height:auto;min-height:20px;margin-bottom:8px;padding:0 10px;font:400 12px/20px Rubik,sans-serif;display:flex}html body .model-selector-popover .model-provider-label{align-items:center;gap:6px;display:inline-flex}html body .model-selector-popover [data-provider=studiowright] .model-provider-title{flex-wrap:nowrap}html body .model-selector-popover [data-provider=studiowright] .model-provider-label{white-space:nowrap}html body .model-selector-popover .google-flow-budget{margin-left:auto;line-height:20px}html body .model-selector-popover .model-provider-options{flex-direction:column;gap:4px;display:flex}html body .model-selector-popover .model-provider-option{box-sizing:border-box;width:100%;min-width:0;height:auto;min-height:40px;margin:0;padding:10px;font:400 14px/20px Rubik,sans-serif;display:flex}html body .model-selector-popover .model-option-content{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:12px;width:100%;max-width:none;display:flex}html body .model-selector-popover .model-option-name{flex:0 auto;min-width:0}html body .model-selector-popover .model-price{color:var(--muted);flex:none;margin:0;font:400 12px/20px Rubik,sans-serif}html body .model-selector-popover .model-price .active,html body .model-selector-popover .model-price .inactive{color:inherit}@media (max-width:900px){html body .model-selector-popover .model-provider-option{min-height:48px}}@media (max-width:500px){html body .model-selector-popover .google-flow-budget{flex:0 0 100%;margin-left:0}}html body .model-provider-column{flex:1 0 auto;width:100%;min-width:136px;padding:0}html body .model-provider-options{width:100%}html body .model-option-content{justify-content:space-between;width:100%}html body .model-provider-title,html body .tts-voice-group h4{height:28px;color:var(--muted);padding:0 12px;font:400 12px/21px Rubik,sans-serif}html body .model-provider-option{min-width:136px}html body :is(.banana-model-name,.model-service-name,.model-service-option-name){vertical-align:middle;align-items:center;gap:8px;min-width:0;line-height:21px;display:inline-flex}html body :is(.model-service-icon,.gpt-image-model-icon){object-fit:contain;vertical-align:middle;flex:0 0 16px;align-self:center;width:16px;height:16px;margin:0;display:block}html body .model-selector-popover :is(.model-service-icon,.gpt-image-model-icon){transform:translateY(-1px)}html body .banana-model-icon,html body .model-maintenance-icon{flex:0 0 16px;place-items:center;width:16px;height:16px;font-size:14px;line-height:16px;display:grid}html body .model-name-label{text-overflow:ellipsis;min-width:0;overflow:hidden}html body .model-provider-title,html body .tts-voice-section-title,html body .tts-voice-group h4{z-index:1;position:relative}html body .model-price .active{color:var(--ink)}html body .model-price .inactive{color:var(--muted);opacity:.45}html body .model-selector-popover.has-test-model .model-provider-column:last-child{margin-left:0}html body .studio-select-menu.setting-grid{grid-template-columns:repeat(3,minmax(60px,1fr));display:grid}html body .studio-select-menu.setting-grid button{justify-content:space-between}html body .tts-voice-popover{width:280px}html body .tts-voice-option .tts-voice-pin{background:0 0;justify-content:center;align-items:center;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;display:inline-flex}html body .gallery-filter-dropdown label{justify-content:flex-start}html body .gallery-filter-dropdown .gallery-filter-divider{background:var(--line);height:1px;margin:6px 12px}html body .gallery-filter-dropdown input[type=checkbox]{appearance:none;border:1px solid var(--line);background:var(--panel);cursor:pointer;border-radius:0;flex:0 0 18px;width:18px;height:18px;margin:0;position:relative}html body .gallery-filter-dropdown input[type=checkbox]:checked{border-color:var(--brand-blue);background:var(--brand-blue)}html body .gallery-filter-dropdown input[type=checkbox]:checked:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:5px;height:9px;position:absolute;top:2px;left:5px;transform:rotate(45deg)}html body .gallery-filter-dropdown input[type=checkbox]:focus-visible{outline:2px solid var(--brand-blue);outline-offset:3px}html[data-theme=dark] .studio-select-menu .gpt-image-model-icon{filter:brightness(0)invert()}html .app-shell .composer-footer-plus{display:inline-flex!important}html .app-shell .composer-attachments>:is(.composer-add-reference,.composer-plus){display:none!important}html .app-shell :is(.composer-attachment,.composer-add-reference,.reference-uploader .composer-plus,.video-add-reference){width:var(--studio-attachment-size);height:var(--studio-attachment-size);min-height:var(--studio-attachment-size);flex:0 0 var(--studio-attachment-size);background:var(--studio-control);color:var(--studio-text);border:0;border-radius:0}html .app-shell :is(.composer-add-reference,.reference-uploader .composer-plus,.video-add-reference) svg{width:26px;height:26px}html .app-shell .composer-attachments{min-height:0}html .app-shell :is(.chat-composer-wrap,.new-chat-composer-wrap,.library-prompt-composer-wrap){container:studio-composer-region/inline-size}@media (min-width:901px){html .app-shell .chat-composer{--studio-footer-height:40px;min-height:calc(272px + var(--studio-footer-height))}html .app-shell .chat-composer:not(:has(.tts-composer)){min-height:calc(272px + var(--studio-footer-height))!important}html .app-shell :is(.image-chat-main.view-chat,.image-chat-main.view-flow,.new-chat-page) .chat-composer:not(:has(.tts-composer)){min-height:calc(272px + var(--studio-footer-height))}html .app-shell :is(.image-chat-main.view-chat,.image-chat-main.view-flow,.new-chat-composer-wrap) .chat-composer .chat-prompt-editor{min-height:84px;max-height:calc(100% - 188px - var(--studio-footer-height));top:calc(44px + var(--studio-attachment-size))!important;bottom:calc(32px + var(--studio-footer-height))!important}html .app-shell .view-split .chat-composer .chat-prompt-editor{height:var(--studio-editor-height,calc(100% - 212px - var(--studio-footer-height)));max-height:calc(100% - 212px - var(--studio-footer-height));top:auto!important;bottom:calc(32px + var(--studio-footer-height))!important}html .app-shell .view-split .chat-composer>.reference-uploader{top:auto!important;bottom:calc(77px + var(--studio-footer-height) + var(--studio-editor-height,calc(100% - 212px - var(--studio-footer-height))))!important}}html body .app-shell .chat-composer:has(>.video-composer){padding:0;display:block;overflow:visible;height:auto!important;min-height:0!important;max-height:none!important}html .app-shell .video-composer{grid-template-rows:var(--studio-attachment-size) minmax(0, 1fr) auto;box-sizing:border-box;gap:22px 0;height:320px;min-height:320px;max-height:min(78dvh,800px);padding:22px;display:grid;position:relative}html .app-shell .video-composer .video-fields{display:contents}html .app-shell .video-fields>.reference-uploader{width:100%;min-height:var(--studio-attachment-size);padding:0;position:relative;inset:auto}html .app-shell .video-fields>.video-prompt-editor{box-sizing:border-box;overscroll-behavior:contain;width:100%;height:100%;min-height:0;max-height:none;color:var(--studio-text);resize:none;field-sizing:fixed;background:0 0;border:0;border-radius:0;margin:0;padding:0;font:400 16px/24px Rubik,sans-serif;position:relative;inset:auto;overflow-y:auto}html .app-shell .video-prompt-editor::placeholder{color:var(--studio-muted);opacity:1}html .app-shell .video-fields>[role=alert]{background:var(--color-danger);color:#fff;margin:0;padding:10px 14px;position:absolute;bottom:calc(100% + 6px);left:0;right:0}html .app-shell .video-composer>.video-submit-row{width:100%;min-width:0;height:var(--studio-footer-height);min-height:var(--studio-footer-height);background:0 0;flex-wrap:nowrap;align-items:center;gap:10px;margin:0;padding:0;display:flex;position:static;inset:auto}html .app-shell .image-chat-main.view-flow .video-composer>.composer-resize-handle{top:-12px;bottom:auto}html .app-shell :is(.studio-model-selector,.tts-model-selector),html .app-shell :is(.studio-model-selector,.tts-model-selector)>.chat-composer-footer{display:contents}html .app-shell .chat-composer-footer .composer-setting-wrap{flex:none;width:auto;min-width:0}html .app-shell .video-submit-row .video-setting{flex:none;width:auto}html .app-shell .video-submit-row .video-setting>.composer-control{width:auto;min-width:0}@media (min-width:901px){html body .app-shell .view-split .chat-composer:has(>.video-composer){height:100%!important;min-height:0!important}html .app-shell .view-split .video-composer{grid-template-rows:112px minmax(0, 1fr) var(--studio-footer-height);height:100%;min-height:0;max-height:none}html .app-shell .view-split .video-fields>.video-prompt-editor{field-sizing:fixed;align-self:stretch;height:100%;min-height:0;max-height:none;margin:0}}html .app-shell .chat-media-turn .chat-assistant-content{background:0 0;padding:0}.app-shell :is(.chat-generation-delayed,.gallery-generation-delayed){background:var(--studio-control);color:var(--studio-muted);padding:12px 16px;font:400 13px/20px Rubik,sans-serif}.app-shell .gallery-generation-delayed{text-align:center;place-content:center;min-height:100%;display:grid}html .app-shell .chat-media-output{background:var(--studio-control);width:100%;height:100%;margin:0;position:relative;overflow:hidden}html .app-shell .chat-media-output video{object-fit:contain;background:#111;width:100%;height:100%;max-height:none;display:block}html .app-shell .chat-media-output.is-audio{aspect-ratio:auto;height:auto;color:var(--studio-muted);background:0 0;padding:0;display:block;overflow:visible}html .app-shell .chat-media-output.is-audio:before{content:none}html .app-shell .studio-media-grid:has(>.chat-media-output.is-audio){--frame-width:620px}html .app-shell .chat-media-output.is-audio>.studio-video-player.is-audio-viewer{width:100%;min-height:0;padding:20px 20px 12px}html .app-shell .chat-media-output audio{width:100%}html .app-shell .studio-media-grid.ratio-21-9{--frame-width:520px;--frame-aspect:21 / 9}html .app-shell .chat-media-loading{place-items:center;display:grid;position:relative;overflow:hidden}html .app-shell .view-split .chat-media-turn :is(.chat-user-row,.chat-assistant-row){display:contents}html .app-shell .view-split .chat-media-turn .chat-user-stack{gap:0;width:fit-content;display:block}html .app-shell .gallery-media-preview-video{aspect-ratio:1;background:#111;width:100%;height:100%;padding:0;position:absolute;inset:0}html .app-shell .gallery-media-preview-video video,html .app-shell .gallery-media-preview-video>img{object-fit:cover;width:100%;height:100%;display:block}html .app-shell .gallery-card .gallery-media-preview .gallery-media-type-icon{color:#fff;pointer-events:none;background:#0006;place-items:center;width:48px;height:48px;margin:0;padding:0;display:grid;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}html .app-shell .gallery-card .gallery-media-preview-audio .gallery-media-type-icon{color:var(--brand-blue);background:0 0}html .app-shell .gallery-size-control{width:40px;min-width:40px;height:168px;min-height:168px;box-shadow:none;transition:transform .24s var(--motion-ease);justify-content:center;padding:10px 6px;top:auto;bottom:24px;right:24px;transform:translateY(0)}html .app-shell .gallery-size-control-slider{width:24px;height:148px;position:relative}html .app-shell .gallery-size-control input[type=range]{width:148px;height:24px;position:absolute;top:calc(50% - 12px);left:calc(50% - 74px);transform:rotate(-90deg)}html .app-shell .gallery-size-control[data-scroll-arrow=true]{transform:translateY(-48px)}html .app-shell .gallery-scroll-to-top{width:40px;height:40px;bottom:24px;right:24px}html body .image-actions-quick>a{background:var(--panel);width:32px;height:32px;color:var(--ink);border:0;border-radius:0;place-items:center;padding:0;text-decoration:none;display:grid}html .app-shell .chat-media-output>.image-actions{z-index:5;position:absolute;top:8px;bottom:auto;right:8px}html .app-shell .composer-attachment{z-index:1;pointer-events:auto;cursor:zoom-in;position:relative}html .app-shell .composer-attachment img{pointer-events:none}html .app-shell .composer-attachment>button{pointer-events:auto}.studio-video-player{color:#fff;background:#111;width:100%;height:100%;min-height:0;position:relative;overflow:hidden}.studio-video-viewport{width:100%;height:100%;position:absolute;inset:0;overflow:hidden}html body .studio-video-viewport>video{object-fit:contain;width:100%;height:100%;max-height:none;display:block;position:absolute;top:0}html body .studio-video-player.is-fitted .studio-video-viewport>video{object-fit:cover;background:0 0}.studio-video-player.is-fitted:fullscreen{place-items:center;display:grid}.studio-video-player.is-fitted:fullscreen .studio-video-viewport{width:min(100vw, calc(100vh * var(--studio-media-aspect)));height:min(100vh, calc(100vw / var(--studio-media-aspect)));position:relative;inset:auto}.image-lightbox-dialog.is-video .image-lightbox-media-stage{padding:0}.image-lightbox-video-thumbnail,.image-lightbox-audio-thumbnail{background:var(--soft);width:100%;height:100%;color:var(--ink);place-items:center;display:grid;position:relative;overflow:hidden}.image-lightbox-audio-thumbnail{background:var(--studio-audio-surface)}.image-lightbox-video-thumbnail>video,.image-lightbox-video-thumbnail>img{object-fit:cover;width:100%;height:100%}.image-lightbox-video-thumbnail>svg{color:#fff;background:#00000073;margin:-11px 0 0 -11px;padding:2px;position:absolute;top:50%;left:50%}.studio-video-controls{z-index:2;color:#fff;background:#0c0e12c7;align-items:center;gap:6px;height:48px;padding:0 8px;display:flex;position:absolute;bottom:0;left:0;right:0}html body .studio-video-control{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:0;flex:0 0 40px;place-items:center;width:40px;height:40px;padding:0;display:grid}html body .studio-video-control:hover{background:#ffffff26}.studio-video-time{white-space:nowrap;font-variant-numeric:tabular-nums;flex:none;font:400 11px/16px Rubik,sans-serif}.studio-video-seek{flex:1;width:100%;min-width:28px}.studio-video-controls input[type=range]{appearance:none;height:20px;accent-color:var(--brand-blue);cursor:pointer;background:0 0;margin:0}.studio-video-controls input[type=range]::-webkit-slider-runnable-track{background:#ffffff61;height:3px}.studio-video-controls input[type=range]::-webkit-slider-thumb{appearance:none;background:#fff;border:0;border-radius:50%;width:10px;height:10px;margin-top:-3.5px}.studio-video-controls input[type=range]::-moz-range-track{background:#ffffff61;height:3px}.studio-video-controls input[type=range]::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:10px;height:10px}.studio-video-volume{flex:none;position:relative}.studio-video-volume-popup{opacity:0;visibility:hidden;width:110px;transition:opacity .15s ease, transform .18s var(--motion-ease);background:#0c0e12e6;padding:8px 10px;position:absolute;bottom:100%;right:-6px;transform:translateY(4px)}.studio-video-volume-popup input{width:90px}.studio-video-volume:is(:hover,:focus-within) .studio-video-volume-popup{opacity:1;visibility:visible;transform:none}html body .studio-video-center-play{color:#fff;cursor:pointer;background:#0c0e128c;border:0;border-radius:0;place-items:center;width:48px;height:48px;margin:-24px 0 0 -24px;padding:0;display:grid;position:absolute;top:50%;left:50%}.studio-video-player:fullscreen{width:100vw;height:100vh}.studio-video-player:fullscreen .studio-video-controls{height:52px}.studio-video-player.is-audio{background:var(--studio-audio-surface);color:var(--studio-menu-text)}.studio-video-player.is-audio>audio{display:none}.studio-video-player.is-audio .studio-video-center-play{top:50%;bottom:auto}.image-lightbox-media-stage>.studio-video-player{height:100%}.image-lightbox-media-stage>.studio-video-player.is-audio{width:min(100%,560px);height:220px}.studio-video-player.is-audio-viewer,.image-lightbox-media-stage>.studio-video-player.is-audio-viewer{background:0 0;width:min(100%,880px);height:auto;min-height:0;padding:28px 32px 16px;font-family:Rubik,sans-serif;overflow:visible}.studio-audio-track-row{align-items:flex-start;gap:16px;min-width:0;display:flex}.studio-audio-track{flex:1;min-width:0}html body .studio-audio-track-row>.studio-audio-play{margin-top:34px}html body .studio-audio-mute{width:40px;height:40px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:0;flex:0 0 40px;place-items:center;margin-top:46px;padding:0;display:grid}html[data-theme=dark] body .studio-audio-mute{color:#fff}html body .studio-audio-mute:hover{opacity:.7}html body .studio-audio-mute:focus-visible{outline:2px solid var(--brand-blue);outline-offset:4px}.studio-audio-side-controls{flex:0 0 40px;width:40px}.studio-audio-side-controls.has-actions{grid-template-rows:repeat(3,40px);gap:4px;margin-top:2px;display:grid}html body .studio-audio-side-controls.has-actions>.studio-audio-mute{grid-row:2;margin-top:0}html body .studio-audio-secondary{width:40px;height:40px;color:var(--ink);cursor:pointer;transition:opacity var(--motion-fast-duration,.16s) ease;background:0 0;border:0;border-radius:0;place-items:center;margin:0;padding:0;text-decoration:none;display:grid}html body .studio-audio-download{grid-row:1}html body .studio-audio-repeat{grid-row:3}html[data-theme=dark] body .studio-audio-secondary{color:#fff}html body .studio-audio-secondary:hover{opacity:.7}html body .studio-audio-secondary:focus-visible{outline:2px solid var(--brand-blue);outline-offset:4px}.studio-audio-time{margin-top:16px;font-size:12px;display:block}html body .app-shell .chat-media-output .studio-audio-time{color:var(--muted);font-variant-numeric:tabular-nums;font:400 16px/24px Rubik,sans-serif}html body .app-shell .view-split .chat-media-output .studio-audio-time{color:var(--studio-muted);line-height:16px}html body .studio-audio-play{width:64px;height:64px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:0;flex:0 0 64px;place-items:center;padding:0;display:grid}html[data-theme=dark] body .studio-audio-play{color:#fff}html body .studio-audio-play:hover{opacity:.7}.studio-audio-waveform{height:132px;position:relative}.studio-audio-bars{align-items:center;gap:2px;display:flex;position:absolute;inset:0}.studio-audio-bars:after{content:"";background:var(--studio-menu-text);opacity:.16;height:1px;position:absolute;top:50%;left:0;right:0}.studio-audio-bars>span{background:var(--studio-menu-text);opacity:.3;transform-origin:50%;flex:1;min-width:0;height:100%;transition:background-color .4s,opacity .4s}.studio-audio-waveform.is-loading .studio-audio-bars:not(.studio-audio-bars-played)>span{background:var(--brand-blue);opacity:.5}.studio-audio-waveform.is-loading .studio-audio-playhead{opacity:0}.studio-audio-bars-played>span{background:var(--brand-blue);opacity:1}.studio-audio-playhead{border-left:1px solid var(--brand-blue);pointer-events:none;transition:opacity .4s;position:absolute;inset:0}@media (prefers-reduced-motion:reduce){.studio-audio-bars>span,.studio-audio-playhead{transition:none}}.studio-audio-waveform>input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.studio-audio-waveform:focus-within{outline:2px solid var(--brand-blue);outline-offset:5px}.studio-audio-waveform>input:disabled{cursor:default}.studio-video-player.is-audio-viewer .studio-video-controls{height:40px;color:var(--studio-menu-text);background:0 0;justify-content:space-between;margin-top:8px;padding:0;position:relative}.studio-video-player.is-audio-viewer .studio-video-time{font-size:12px}html body .studio-video-player.is-audio-viewer .studio-video-control{color:var(--studio-menu-text)}html body .studio-video-player.is-audio-viewer .studio-video-control:hover{background:var(--studio-menu-surface)}.studio-video-player.is-audio-viewer .studio-video-volume-popup{background:var(--studio-menu-surface);box-shadow:var(--studio-menu-shadow);right:0}.studio-video-player.is-audio-viewer .studio-video-volume-popup input{accent-color:var(--brand-blue)}.studio-video-player.is-audio-viewer .studio-video-error{z-index:3;background:var(--studio-audio-surface);color:var(--studio-menu-text)}html body .studio-audio-play:focus-visible{outline:2px solid var(--brand-blue);outline-offset:4px}.image-lightbox-dialog.is-video .image-lightbox-morph-target{place-items:center;display:grid}.image-lightbox-dialog.is-video{height:var(--image-lightbox-video-height,calc(100vh - 48px));max-height:calc(100vh - 48px)}.image-lightbox-dialog.is-video .image-lightbox-media-stage{width:var(--image-lightbox-video-width,100%);height:var(--image-lightbox-video-height,auto);min-width:0;max-width:100%;min-height:0;max-height:100%;aspect-ratio:var(--image-lightbox-aspect-ratio,16 / 9);place-self:center;padding:0}.studio-video-error{color:#fff;background:#17181b;align-content:center;justify-items:center;gap:12px;padding:20px;font:400 14px/21px Rubik,sans-serif;display:grid;position:absolute;inset:0}html body .studio-video-error button{background:var(--studio-menu-surface);min-height:40px;color:var(--studio-menu-text);font:inherit;cursor:pointer;border:0;border-radius:0;padding:0 14px}html .app-shell :is(.chat-composer,.video-composer)>.composer-resize-handle{z-index:30;background:var(--studio-surface);touch-action:none;cursor:ns-resize;border:0;place-items:center;width:64px;height:24px;margin:0;padding:0;display:grid;position:absolute;top:-12px;left:50%;transform:translate(-50%)}html .app-shell .composer-resize-handle>span{background:var(--studio-muted);width:28px;height:3px}html .app-shell .composer-resize-handle:is(:hover,:focus-visible)>span{background:var(--brand-blue)}html .app-shell .composer-resize-handle:focus-visible{outline:2px solid var(--brand-blue);outline-offset:2px}html .app-shell .new-chat-page :is(.chat-composer,.video-composer)>.composer-resize-handle{top:-12px}html .app-shell .view-split .chat-composer>.composer-resize-handle,html .app-shell .view-split .video-composer>.composer-resize-handle{top:auto;bottom:calc(32px + var(--studio-footer-height) + var(--studio-editor-height,calc(100% - 212px - var(--studio-footer-height))))}html .app-shell .video-composer.is-manually-sized .video-prompt-editor{field-sizing:fixed;max-height:none;overflow-y:auto}html .app-shell .view-split .video-composer.is-manually-sized .video-prompt-editor{field-sizing:fixed;height:100%;min-height:0}html .app-shell .chat-composer:has(>.video-composer){max-height:none}html .app-shell .view-split :is(.chat-composer>.composer-resize-handle,.video-composer>.composer-resize-handle){display:none!important}html body .ratio-icon-21-9{width:21px;height:9px}@media (min-width:901px){html .app-shell .view-split .chat-composer:not(:has(>.video-composer))>.reference-uploader{top:22px!important;bottom:auto!important}html .app-shell .view-split .chat-composer:not(:has(>.video-composer))>.chat-prompt-editor{top:calc(44px + var(--studio-attachment-size))!important;height:var(--studio-editor-height,calc(100% - 212px - var(--studio-footer-height)))!important;max-height:calc(100% - 212px - var(--studio-footer-height))!important;bottom:auto!important}@media (min-width:901px) and (max-width:1500px){:root{--studio-model-control-width:130px}}@media (min-width:901px) and (max-width:1200px){:root{--studio-model-control-width:110px}}@container studio-composer-region (max-width:540px){html .app-shell .chat-composer{--studio-footer-height:88px}.chat-composer-footer{align-content:flex-end;height:var(--studio-footer-height)!important;flex-wrap:wrap!important;gap:8px!important}.chat-composer>.chat-composer-footer>.composer-setting-wrap:first-of-type,.video-submit-row .studio-model-selector .composer-setting-wrap{flex-basis:100%!important}html .app-shell .chat-composer>.chat-composer-footer>.composer-setting-wrap:first-of-type .composer-model,html .app-shell .video-submit-row .studio-model-selector .composer-model{width:100%;min-width:0}}@container studio-composer-region (max-width:330px){html .app-shell .chat-composer{--studio-footer-height:136px}.chat-composer-footer .composer-count{width:76px;min-width:76px}}}@media (prefers-reduced-motion:reduce){.studio-chat-index{animation:none}.studio-chat-index .sidebar-chat-link>span{transform:none}html body .studio-select-menu .studio-glide-highlight{transition:opacity .1s}}html .app-shell .composer-attachment{cursor:pointer}html .app-shell .composer-control.composer-count{gap:10px;width:128px;min-width:128px;padding:0 12px}html .app-shell .composer-count strong{min-width:32px}html .app-shell :is(.chat-send-button,.video-send-button,.tts-submit-row>.button-primary):not(:disabled){opacity:1;background:var(--brand-blue)!important;color:#fff!important}html .app-shell :is(.chat-send-button,.video-send-button,.tts-submit-row>.button-primary):not(:disabled):hover{filter:brightness(1.08);background:var(--brand-blue)!important;color:#fff!important}@media (min-width:901px){html .app-shell .view-split .chat-composer{--studio-footer-height:90px}html .app-shell .view-split .chat-composer>.chat-composer-footer,html .app-shell .view-split .video-composer>.video-submit-row{min-height:var(--studio-footer-height);align-content:space-between;display:flex;height:var(--studio-footer-height)!important;flex-wrap:wrap!important;gap:10px 8px!important}html .app-shell .view-split .chat-composer>.chat-composer-footer>.composer-setting-wrap:first-child,html .app-shell .view-split .video-submit-row .studio-model-selector .composer-setting-wrap{flex:0 0 100%!important}html .app-shell .view-split .chat-composer-footer .keyboard-layout-button{margin-left:auto}html .app-shell .view-split .composer-control.composer-count{gap:8px;width:120px;min-width:120px;padding:0 10px}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .chat-composer:not(:has(>.video-composer,>.tts-composer)){grid-template-columns:minmax(0,1fr);grid-template-rows:max-content minmax(0, 1fr) var(--studio-footer-height);box-sizing:border-box;row-gap:22px;padding:22px;display:grid;height:100%!important;min-height:0!important;max-height:none!important}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .chat-composer:not(:has(>.video-composer,>.tts-composer)):has(>.composer-error-stack){grid-template-rows:max-content minmax(0, 1fr) var(--studio-footer-height) auto}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .chat-composer:not(:has(>.video-composer,>.tts-composer))>.reference-uploader{width:100%;min-height:var(--studio-attachment-size);grid-row:1;padding:0;position:relative;inset:auto!important}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .composer-attachments{grid-template-columns:repeat(auto-fill, minmax(var(--studio-attachment-size), 1fr));scrollbar-width:none;grid-auto-rows:auto;align-items:stretch;display:grid;overflow:visible}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .composer-attachments>:is(.composer-add-reference,.composer-attachment){aspect-ratio:1;-webkit-tap-highlight-color:transparent;align-self:start;width:100%;min-width:0;height:auto;min-height:0;box-shadow:none!important;outline:none!important}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .composer-attachment:has(.reference-order-controls){aspect-ratio:1;flex-basis:auto;place-items:center;width:100%;height:auto}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .composer-attachment>img{object-fit:cover;width:100%;height:100%}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .composer-attachment :is(:focus,:focus-visible),html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .composer-attachment>button:is(:focus,:focus-visible){box-shadow:none!important;outline:none!important}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .chat-composer:not(:has(>.video-composer,>.tts-composer))>.chat-prompt-editor{grid-row:2;width:100%;min-height:0;position:relative;height:100%!important;max-height:none!important;inset:auto!important}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .chat-composer:not(:has(>.video-composer,>.tts-composer))>.composer-error-stack{grid-area:4/1;align-self:end;width:100%;margin:0;position:relative;inset:auto}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .chat-composer:not(:has(>.video-composer,>.tts-composer))>.chat-composer-footer{width:100%;min-height:var(--studio-footer-height);grid-row:3;position:relative;inset:auto;height:var(--studio-footer-height)!important}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .video-composer{grid-template-rows:112px minmax(0, 1fr) var(--studio-footer-height)}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .video-composer:not(:has(.composer-error-stack)){grid-template-rows:112px minmax(0, 1fr) var(--studio-footer-height)}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .video-fields>.composer-error-stack{grid-area:4/1;align-self:end;width:100%;margin:0;position:relative;inset:auto}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .video-composer>.video-submit-row{grid-row:3}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .video-composer:has(.composer-error-stack){grid-template-rows:112px minmax(0, 1fr) var(--studio-footer-height) auto}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .tts-composer>.composer-error-stack{order:3;align-self:stretch;width:100%;margin:0}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .tts-composer>.tts-fields{order:1}html .app-shell :is(.image-chat-main.view-split,.library-prompt-composer-wrap[data-view=split]) .tts-composer>.tts-submit-row{order:2}}html body .tts-voice-name{align-items:center;gap:8px;min-width:0;display:flex}html body .tts-voice-option :is(.tts-voice-preview,.tts-voice-pin) svg{flex-shrink:0;display:block}html body .tts-voice-option .tts-voice-preview{width:28px;min-width:28px;height:28px;min-height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;padding:0;display:inline-flex}html body .tts-voice-option .tts-voice-preview:is(:hover,[aria-pressed=true]){color:var(--brand-blue)}.tts-voice-preview-error{font-size:10px;position:absolute;top:100%;right:0}html body .tts-voice-group h4{padding-inline:12px}html body .tts-voice-options+.tts-voice-group{margin-top:10px}.app-shell .tts-composer{padding-top:24px}html body .app-shell .tts-composer,html body .app-shell .tts-composer :is(label,legend,input:not([type=checkbox]):not([type=range]),select,textarea,button,small,.tts-heading>span,.tts-voice-label,.tts-turn-heading>span,.tts-error),html body .tts-voice-popover .tts-voice-section-title{font-size:14px;line-height:21px}.app-shell .tts-fields{scrollbar-width:thin;scrollbar-color:var(--line) transparent;gap:24px;padding-right:8px}.app-shell .tts-composer legend{color:var(--studio-muted);margin-bottom:12px}.app-shell .tts-composer label{color:var(--studio-muted);gap:6px}.app-shell .tts-composer fieldset.tts-speakers{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px}.app-shell .tts-composer fieldset.tts-speakers.has-two-speakers{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .tts-voice-field{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;display:grid}.app-shell .tts-voice-label{color:var(--studio-text);grid-column:1/-1;margin:0 0 2px;font-weight:500}.app-shell .tts-speaker-profile{grid-column:1/-1}.app-shell .tts-composer .tts-speaker-toggle{grid-column:1/-1;justify-self:start;width:auto;min-width:0;height:40px;padding:0 12px}.app-shell .tts-composer .tts-voice-trigger{text-align:left;justify-content:space-between;height:40px;min-height:40px}.app-shell .tts-voice-field .custom-select-trigger{text-align:left;justify-content:space-between}.app-shell .tts-composer .tts-script-context{grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:4px;display:grid}.app-shell .tts-composer .tts-script-context textarea{width:100%;height:76px;min-height:76px;max-height:180px;padding:12px 14px}.app-shell .tts-composer :is(textarea,input)::placeholder{color:var(--studio-muted);opacity:.8}.app-shell .tts-composer .tts-dialogue-turn{gap:10px}.app-shell .tts-composer .tts-turn-heading{min-height:40px}.app-shell .tts-turn-heading>span{color:var(--studio-text);font-weight:500}.app-shell .tts-composer fieldset.tts-options{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr);margin-top:0;padding-top:16px}.app-shell .tts-submit-row{margin-top:12px;margin-left:0}@media (min-width:901px){html body .app-shell .chat-composer:has(.tts-composer)>.tts-composer{flex:auto;height:100%;min-height:0;max-height:none;padding-bottom:22px}html body .app-shell .chat-composer:has(.tts-composer){height:auto;min-height:0;overflow:visible}html body .app-shell .new-chat-composer:has(.tts-composer){overflow:visible;height:var(--studio-composer-height,min(620px, calc(100dvh - 48px)))!important;min-height:0!important}html body .app-shell .library-prompt-composer:has(.tts-composer){overflow:visible;height:var(--studio-composer-height,min(740px, 80vh))!important;min-height:0!important}}html body .app-shell .image-chat-scroll:has(>.chat-scroll-bottom-spacer.has-composer-bottom-space){padding-bottom:24px}html body .app-shell .chat-scroll-bottom-spacer{flex:none;width:100%;height:24px}html body .app-shell .chat-scroll-bottom-spacer.has-composer-bottom-space{height:var(--studio-composer-bottom-space,8px)}@media (min-width:901px){html body .app-shell .view-chat .chat-scroll-bottom-spacer.has-composer-bottom-space{box-sizing:content-box;padding-bottom:var(--private-chat-ui-shift);transition:padding-bottom var(--private-chat-ui-transition)}}html body .gallery-card,html body .gallery-card>img,html body .gallery-card .gallery-media-preview,html body .gallery-card .gallery-media-preview>video,html body .image-lightbox-prompt,html body .image-lightbox-prompt p,html body .image-lightbox-prompt p *{cursor:default!important}@container studio-composer-region (min-width:601px){.app-shell .tts-speakers:not(.has-two-speakers) .tts-voice-field{grid-template-columns:repeat(4,minmax(0,1fr))}}@container studio-composer-region (max-width:600px){.app-shell .tts-speakers.has-two-speakers .tts-voice-field{grid-template-columns:minmax(0,1fr);padding:12px}}.image-click-menu{z-index:2147483000;width:240px;max-width:calc(100vw - 16px)}.image-action-progress-button{--image-action-progress-color:var(--color-success,#2f7650);isolation:isolate;color:inherit;transition:color .18s var(--motion-ease), background-color .18s var(--motion-ease), border-color .18s var(--motion-ease);position:relative;overflow:hidden}.image-action-progress-button .image-action-progress-fill{z-index:0;pointer-events:none;background:var(--image-action-progress-color);width:0;box-shadow:none;opacity:0;transition:width .42s var(--motion-ease-out), opacity .18s var(--motion-ease);will-change:width;position:absolute;inset:0 auto 0 0;overflow:visible}.image-action-progress-button[data-action-state=loading] .image-action-progress-fill,.image-action-progress-button[data-action-state=success] .image-action-progress-fill,.image-action-progress-button[data-action-state=error] .image-action-progress-fill{opacity:1}.image-action-progress-button[data-action-state=loading][data-progress-known=true] .image-action-progress-fill{width:var(--image-action-progress,0%)}.image-action-progress-button[data-action-state=loading]:not([data-progress-known=true]) .image-action-progress-fill{background:var(--image-action-progress-color);width:34%;box-shadow:none;animation:image-action-progress-indeterminate 1.35s var(--motion-ease-in-out) infinite}.image-action-progress-button[data-action-state=success] .image-action-progress-fill{background:var(--image-action-progress-color);width:100%}.image-action-progress-button[data-action-state=error] .image-action-progress-fill{background:var(--color-danger,#b43a3a);width:100%;box-shadow:none}.image-action-progress-content{z-index:1;justify-content:center;align-items:center;gap:7px;min-width:0;display:inline-flex;position:relative}.image-lightbox-footer .image-action-progress-button .image-action-progress-fill,.image-lightbox-footer .image-action-progress-button .image-action-progress-icon,.image-lightbox-footer .image-action-progress-button .image-action-progress-content,.image-lightbox-footer .image-action-progress-button span{flex:none;padding-left:0}.image-lightbox-footer .image-action-progress-button .image-action-progress-content{text-align:center;flex:auto;width:100%;display:block}.image-lightbox-footer .image-action-progress-button .image-action-progress-icon{position:absolute;top:50%;right:0;transform:translateY(-50%)}.image-lightbox-footer .image-action-progress-button .image-action-progress-label{text-align:center;width:100%;display:block}.image-action-progress-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.image-action-progress-icon{flex:0 0 18px;place-items:center;width:18px;height:18px;display:inline-grid;position:relative}.image-action-progress-icon>span{opacity:1;width:100%;height:100%;transition:opacity .22s var(--motion-ease), transform .3s var(--motion-ease);grid-area:1/1;place-items:center;display:grid;transform:scale(1)rotate(0)}.image-action-progress-icon-success,.image-action-progress-icon-error{opacity:0!important;transform:scale(.35)rotate(18deg)!important}.image-action-progress-icon[data-icon-state=success] .image-action-progress-icon-primary,.image-action-progress-icon[data-icon-state=error] .image-action-progress-icon-primary{opacity:0;transform:scale(.35)rotate(-18deg)}.image-action-progress-icon[data-icon-state=success] .image-action-progress-icon-success,.image-action-progress-icon[data-icon-state=error] .image-action-progress-icon-error{opacity:1!important;transform:scale(1)rotate(0)!important}.image-action-progress-button[data-action-state=success],.image-action-progress-button[data-action-state=error]{color:#fff}.image-action-progress-button[data-action-state=loading] .image-action-progress-icon-primary{animation:1.4s ease-in-out infinite image-action-progress-icon-breathe}@keyframes image-action-progress-indeterminate{0%{transform:translate(-125%)}to{transform:translate(330%)}}@keyframes image-action-progress-icon-breathe{0%,to{opacity:.72;transform:scale(.96)}50%{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.image-action-progress-button .image-action-progress-fill,.image-action-progress-button[data-action-state=loading] .image-action-progress-icon-primary{transition-duration:0s;animation:none}}.image-lightbox-support-id{overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;font-variant-numeric:tabular-nums}.model-service-icon.realist-agent-icon{background-color:#003a91;flex:0 0 16px;width:16px;height:16px;display:inline-block;-webkit-mask:url(/favicon.svg) 50%/contain no-repeat;mask:url(/favicon.svg) 50%/contain no-repeat}html[data-theme=dark] .model-service-icon.realist-agent-icon{background-color:#fff}.model-option-name:has(>.realist-agent-icon){align-items:center;gap:6px;display:inline-flex}.image-actions button.image-action-progress-button:disabled,.image-lightbox-actions button.image-action-progress-button:disabled,.image-actions-menu button.image-action-progress-button:disabled,button.image-action-progress-button[aria-busy=true]{opacity:1;color:var(--ink);cursor:progress}.image-actions:has(button[aria-busy=true]){opacity:1;visibility:visible}
.incident-settings{--incident-line:var(--color-divider);--incident-input-line:color-mix(in srgb, var(--studio-muted) 78%, var(--studio-surface));grid-column:1/-1;gap:16px;padding:24px}.incident-heading,.incident-form-footer,.incident-enable,.incident-list-heading,.incident-actions,.incident-list-title{align-items:center;gap:12px;display:flex}.incident-heading,.incident-enable,.incident-list-heading{justify-content:space-between}.incident-heading{align-items:flex-start;gap:24px}.incident-settings .incident-heading h2{font-size:20px;font-weight:500;line-height:1.4}.incident-settings .button,.incident-dialog .button,.incident-settings .settings-secondary-button{white-space:normal;border-radius:0;justify-content:center;align-items:center;gap:8px;width:auto;height:auto;min-height:40px;padding:10px 16px;font:400 14px/20px Rubik,sans-serif;display:inline-flex}.incident-settings .button-primary{flex-shrink:0}html[data-theme] .app-shell .incident-settings .button-primary{background:var(--color-accent-fill);color:#fff}.incident-settings button,.incident-dialog button{cursor:pointer;transition:background-color .16s,color .16s}.incident-settings button:disabled,.incident-dialog button:disabled{cursor:not-allowed;opacity:.5}.incident-settings svg,.incident-dialog svg{flex-shrink:0}.incident-form{gap:24px;margin-top:8px;display:grid}.incident-list-title h3,.incident-empty h3{margin:0;font-size:16px;font-weight:500;line-height:1.5}.incident-editor-columns{grid-template-columns:minmax(0,1.65fr) minmax(288px,1fr);align-items:stretch;gap:40px;display:grid}.incident-editor-main{align-content:start;gap:24px;min-width:0;display:grid}.incident-model-field{border:0;min-width:0;margin:0;padding:0}.incident-model-field legend,.incident-content>label,.incident-schedule h3{margin:0 0 12px;padding:0;font-size:14px;font-weight:500;line-height:1.5}.incident-model-field legend{justify-content:space-between;align-items:center;gap:16px;width:100%;margin-bottom:4px;display:flex}.incident-model-field legend .incident-text-button{min-height:32px;padding:4px 8px;font-size:12px}.incident-schedule h3{align-items:center;min-height:32px;display:flex}.incident-model-field label{cursor:pointer;align-items:center;gap:10px;min-height:40px;padding:8px;line-height:1.5;display:flex;position:relative}.incident-model-field input{opacity:0;width:1px;height:1px;position:absolute}.incident-check{border:1px solid var(--studio-muted);background:0 0;flex:0 0 16px;place-items:center;width:16px;height:16px;display:grid}.incident-check svg{visibility:hidden}.incident-model-field input:checked+.incident-check{background:var(--brand-blue);border-color:var(--brand-blue);color:#fff}.incident-model-field input:checked+.incident-check svg{visibility:visible}.incident-models{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;margin-top:8px;display:grid}.incident-model-option{font-size:13px}.incident-model-option:not(:has(input:disabled)):hover{background:var(--studio-control)}.incident-model-field label:has(input:disabled){cursor:not-allowed}.incident-model-option:has(input:disabled){color:var(--studio-muted)}.incident-model-option:has(input:disabled) .incident-check{background:var(--studio-control);border-color:var(--studio-muted);color:var(--studio-muted)}.incident-content{gap:8px;display:grid}.incident-content>label{margin:0}.incident-message-field{position:relative}.incident-message-field>span{color:var(--studio-muted);background:var(--studio-control);pointer-events:none;font-variant-numeric:tabular-nums;padding-left:8px;font-size:12px;line-height:18px;position:absolute;bottom:8px;right:12px}.incident-form textarea,.incident-dates input{box-sizing:border-box;border:1px solid var(--incident-input-line);background:var(--studio-surface);width:100%;min-width:0;color:var(--studio-text);border-radius:0;font:400 14px/1.6 Rubik,sans-serif}.incident-form textarea{resize:none;background:var(--studio-control);field-sizing:content;min-height:88px;max-height:240px;padding:12px 12px 32px;display:block;overflow-y:auto}.incident-form textarea:disabled,.incident-dates input:disabled{background:var(--studio-control);color:var(--studio-muted)}.incident-text-button{min-height:40px;color:var(--color-accent-label);text-align:left;background:0 0;border:0;justify-content:center;align-items:center;gap:8px;padding:8px 0;font:400 13px/20px Rubik,sans-serif;display:inline-flex}.incident-text-button:not(:disabled):hover{text-underline-offset:4px;text-decoration:underline}.incident-restore{justify-self:start;min-height:32px;padding:4px 0;font-size:12px}.incident-editor-side{flex-direction:column;justify-content:space-between;gap:24px;min-width:0;display:flex}.incident-segmented{gap:0;display:flex}.incident-segmented button{min-height:40px;color:var(--studio-muted);font:inherit;background:0 0;border:0;border-bottom:2px solid #0000;flex:1;margin-bottom:-1px;padding:8px;font-size:13px}.incident-segmented button[aria-pressed=true]{border-bottom-color:var(--brand-blue)}html:is([data-theme=dark],[data-theme=proof-sheet]) .incident-segmented button[aria-pressed=true]{color:#fff}.incident-segmented button:not(:disabled):hover{background:var(--studio-control)}.incident-side-note{color:var(--studio-muted);margin:8px 0 0;font-size:12px;line-height:1.5}.incident-dates{gap:16px;margin-top:20px;display:grid}.incident-dates label{gap:8px;font-size:13px;display:grid}.incident-dates input{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;min-height:40px;padding:8px 10px;font-size:13px}html[data-theme=dark] .incident-dates input{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.incident-dates small{color:var(--studio-muted);overflow-wrap:anywhere;font-size:12px;line-height:1.5}.incident-enable strong{font-size:14px;font-weight:500}.incident-enable .switch{flex:0 0 40px}.incident-form-footer{border-top:1px solid var(--incident-line);justify-content:flex-start;gap:12px;padding-top:20px}.incident-cancel{color:var(--studio-muted);padding-inline:12px}.incident-icon-button{width:40px;height:40px;color:var(--studio-muted);background:0 0;border:0;flex:0 0 40px;place-items:center;padding:0;display:inline-grid}.incident-icon-button:not(:disabled):hover{background:var(--studio-control);color:var(--studio-text)}.incident-error{border-left:2px solid var(--color-danger);color:var(--color-danger);margin:0;padding:12px 16px;font-size:14px;line-height:1.5}.incident-loading{color:var(--studio-muted);margin:8px 0;font-size:13px}.incident-list-title{margin-top:16px}.incident-list-title>span{color:var(--studio-muted);font-variant-numeric:tabular-nums;font-size:13px}.incident-list{gap:0;display:grid}.incident-list:empty{display:none}.incident-list article{border-top:1px solid var(--incident-line);padding:20px 0}.incident-list article:last-child{padding-bottom:0}.incident-list-heading{flex-wrap:wrap;row-gap:6px;margin-bottom:8px}.incident-status{color:var(--studio-muted);align-items:center;gap:8px;font-size:12px;line-height:1.5;display:inline-flex}.incident-status>span{background:currentColor;border-radius:50%;width:6px;height:6px}.incident-status[data-status=active]{color:var(--color-accent-label)}.incident-status[data-status=scheduled]>span{background:0 0;border:1px solid;width:7px;height:7px}.incident-list-date{color:var(--studio-muted);font-variant-numeric:tabular-nums;align-items:center;gap:6px;font-size:12px;line-height:1.5;display:inline-flex}.incident-list h4{overflow-wrap:anywhere;margin:0;font-size:15px;font-weight:500;line-height:1.5}.incident-message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.incident-list .incident-message{-webkit-line-clamp:3;max-width:88ch;color:var(--studio-muted);-webkit-box-orient:vertical;margin:8px 0 12px;font-size:14px;display:-webkit-box;overflow:hidden}.incident-actions{flex-wrap:wrap;gap:4px}html[data-theme] .app-shell .incident-settings .incident-actions .settings-secondary-button{color:var(--studio-muted);background:0 0;padding:8px 12px;font-size:13px}html[data-theme] .app-shell .incident-settings .incident-actions .settings-secondary-button:first-child{color:var(--studio-text);margin-left:-12px}html[data-theme] .app-shell .incident-settings .incident-actions .settings-secondary-button:not(:disabled):hover{background:var(--studio-control);color:var(--studio-text)}.incident-delete{margin-left:auto}.incident-delete:not(:disabled):hover{color:var(--color-danger)}.incident-empty{text-align:center;border-top:1px solid var(--incident-line);justify-items:center;gap:8px;padding:32px 24px;display:grid}.incident-empty>svg{color:var(--studio-muted);margin-bottom:4px}.incident-empty p{color:var(--studio-muted);margin:0;font-size:14px}.incident-dialog{box-sizing:border-box;background:var(--studio-surface);width:min(560px,100vw - 64px);max-width:none;max-height:calc(100dvh - 64px);color:var(--studio-text);box-shadow:var(--shadow-floating);border:0;border-radius:0;margin:auto;padding:32px;font:400 14px/1.5 Rubik,sans-serif;position:fixed;inset:0;overflow:hidden}.incident-dialog[open]{flex-direction:column;gap:24px;animation:.24s cubic-bezier(.22,1,.36,1) both incident-dialog-enter;display:flex}.incident-dialog::backdrop{background:#0000007a;animation:.18s ease-out both incident-backdrop-enter}.incident-dialog-heading{flex-shrink:0;align-items:flex-start;gap:12px;display:flex}.incident-dialog-heading>svg{color:var(--brand-blue);margin-top:3px}.incident-dialog h2{margin:0;font-size:20px;font-weight:500;line-height:1.4}.incident-dialog>.incident-message{min-height:0;color:var(--studio-text);margin:0;padding-right:4px;font-size:14px;overflow-y:auto}.incident-dialog-footer{flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;display:flex}.incident-dialog-footer>span{color:var(--studio-muted);font-size:12px}.incident-dialog .button-primary{background:var(--color-accent-fill);color:#fff;min-width:112px;margin-left:auto}html[data-theme][lang] body .app-shell :is(.incident-settings,.incident-dialog) button:focus-visible{outline-offset:3px;outline:2px solid var(--studio-muted)!important}html[data-theme][lang] body .app-shell .incident-settings :is(textarea,input[type=datetime-local]):focus-visible{outline-offset:2px;outline:2px solid var(--studio-muted)!important}.incident-model-field label:has(input:focus-visible){outline:2px solid var(--studio-muted);outline-offset:-2px}.incident-model-field label:has(input:focus-visible) .incident-check{border-color:var(--studio-text)}.incident-settings button:not(:disabled):active,.incident-dialog button:not(:disabled):active{filter:brightness(.94)}@keyframes incident-dialog-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes incident-backdrop-enter{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.incident-dialog[open],.incident-dialog::backdrop{animation:none}.incident-settings button,.incident-dialog button{transition:none}}@media (max-width:1200px){.incident-editor-columns{grid-template-columns:minmax(0,1.4fr) minmax(264px,1fr);gap:24px}}@media (max-width:1000px){.incident-heading{flex-wrap:wrap;gap:16px}.incident-editor-columns{grid-template-columns:1fr}.incident-models{grid-template-columns:repeat(2,minmax(0,1fr))}.incident-editor-side{grid-template-columns:1fr 1fr;align-items:start;gap:24px;display:grid}.incident-form-footer{flex-wrap:wrap}}
.mobile-studio-header,.mobile-studio-tabs,.mobile-panel-heading,.mobile-composer-tools,.mobile-generate-label,.mobile-viewer-details-toggle,.mobile-viewer-navigation,.mobile-viewer-zoom,.reference-order-controls,.mobile-chat-search,.mobile-video-requirements,.mobile-notification-close{display:none}.chat-move-menu{gap:6px;padding:10px;font-size:12px;display:grid}.chat-move-menu select{border:1px solid var(--line);width:100%;min-height:44px;color:inherit;background:var(--studio-menu-surface);padding:8px;font:400 16px Rubik,sans-serif}.composer-availability{width:100%;color:var(--muted);flex:100%;order:-2;grid-column:1/-1;margin:4px 0;font-size:13px}@media (max-width:900px){:root{--studio-control-height:44px;--studio-menu-row-height:48px;--studio-attachment-size:64px;--mobile-top:calc(52px + env(safe-area-inset-top));--mobile-bottom:calc(64px + env(safe-area-inset-bottom))}html{scroll-padding-bottom:var(--mobile-bottom)}body{min-width:0}html body .app-shell{height:var(--studio-viewport-height,100dvh);min-height:0;padding:var(--mobile-top) env(safe-area-inset-right) var(--mobile-bottom) env(safe-area-inset-left);display:block;overflow:hidden}html body .app-shell .app-main{width:100%;height:100%;min-height:0;overflow:auto}html body .mobile-studio-header{z-index:80;height:var(--mobile-top);padding:env(safe-area-inset-top) max(8px, env(safe-area-inset-right)) 0 max(8px, env(safe-area-inset-left));background:var(--studio-surface);border-bottom:1px solid var(--studio-control);align-items:center;gap:8px;display:flex;position:absolute;inset:0 0 auto}.mobile-studio-header strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:15px;font-weight:500;overflow:hidden}html body .mobile-studio-header button,.mobile-panel-heading button{width:44px;height:44px;color:inherit;background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}html body .mobile-studio-tabs{z-index:80;height:var(--mobile-bottom);padding:4px env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:var(--studio-surface);border-top:1px solid var(--studio-control);grid-template-columns:repeat(3,1fr);display:grid;position:absolute;inset:auto 0 0}.mobile-studio-tabs :is(a,button){min-height:48px;color:var(--studio-muted);background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:2px;font:400 12px/18px Rubik,sans-serif;text-decoration:none;display:flex}.mobile-studio-tabs [aria-current],.mobile-studio-tabs [aria-expanded=true]{color:var(--brand-blue)}html[data-keyboard=true]{--mobile-bottom:0px}html[data-keyboard=true] .mobile-studio-tabs{display:none}html[data-keyboard=true] body .app-shell .image-chat-main .chat-composer-wrap{max-height:85%}html[data-keyboard=true] body .app-shell .chat-composer:has(.chat-prompt-editor:focus)>:is(.mobile-composer-tools,.reference-uploader){display:none}html[data-keyboard=true] body .app-shell .chat-composer:has(.chat-prompt-editor:focus)>.chat-composer-footer{display:flex}html[data-keyboard=true] body .app-shell .chat-composer:has(.chat-prompt-editor:focus) .chat-composer-footer>:is(.composer-setting-wrap:not(:first-child),.composer-count,.keyboard-layout-button){display:none}html[data-keyboard=true] body .app-shell :is(.image-chat-main,.library-page) .chat-composer:has(.chat-prompt-editor:focus) .chat-prompt-editor{min-height:56px;max-height:calc(var(--studio-viewport-height) * .35)}html[data-keyboard=true] body .app-shell .tts-composer:has(.tts-dialogue-turn textarea:focus) .tts-speakers{display:none}html[data-keyboard=true] body .app-shell .chat-composer:has(.tts-composer)>.tts-composer{max-height:calc(var(--studio-viewport-height) - var(--mobile-top) - 120px)}html[data-keyboard=true] body .app-shell .tts-composer:has(.tts-dialogue-turn textarea:focus)>.mobile-composer-tools{display:none}html[data-keyboard=true] body .app-shell .video-composer:has(.video-prompt-editor:focus) :is(.mobile-composer-tools,.reference-uploader,.video-add-reference,.video-setting){display:none}html[data-keyboard=true] body .app-shell .video-composer:has(.video-prompt-editor:focus)>.video-submit-row{display:flex}html body .app-shell .chat-management-sidebar{display:none}html body .app-shell .chat-management-sidebar:not([data-mobile-panel=closed]){z-index:100;width:100%;height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:var(--studio-surface);flex-direction:column;display:flex;position:fixed;inset:0;overflow:auto}.mobile-panel-heading{border-bottom:1px solid var(--studio-control);flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding-inline:16px;display:flex}.mobile-panel-heading strong{overflow-wrap:anywhere}html body .chat-management-sidebar .studio-navigation-rail{flex-direction:row;gap:12px;min-height:60px;padding:8px 12px}html body .chat-management-sidebar .studio-brand-mark{display:none}html body .chat-management-sidebar .studio-rail-primary{gap:12px;margin:0;display:flex}html body .chat-management-sidebar .studio-rail-primary>.library-navigation-button{display:none}html body .chat-management-sidebar .studio-rail-primary>button{background:var(--studio-control);gap:8px;width:auto;padding:0 12px}html body .chat-management-sidebar .studio-rail-primary>button:after{content:attr(aria-label);font-size:13px}html body .chat-management-sidebar .studio-rail-utilities{gap:12px;margin:0;display:none}html body .chat-management-sidebar[data-mobile-panel=profile] .studio-rail-primary,html body .chat-management-sidebar[data-mobile-panel=profile] .studio-chat-index{display:none}html body .chat-management-sidebar[data-mobile-panel=profile] .studio-rail-utilities{flex-wrap:wrap;display:flex}html body .chat-management-sidebar[data-mobile-panel=profile] .studio-rail-utilities>*{flex:100%}html body .chat-management-sidebar[data-mobile-panel=profile] .studio-rail-utilities :is(a,button){justify-content:flex-start;gap:12px;width:100%;min-height:48px;padding:0 12px}html body .chat-management-sidebar[data-mobile-panel=profile] .studio-rail-utilities :is(a,button):after{content:attr(aria-label);font:400 15px Rubik,sans-serif}html body .chat-management-sidebar .studio-chat-index{flex:1;padding:12px 22px;animation:none;overflow-y:auto}.mobile-chat-search{color:var(--studio-muted);flex:none;gap:6px;margin-bottom:16px;display:grid}.mobile-chat-search input{border:1px solid var(--line);background:var(--studio-control);width:100%;min-height:48px;color:var(--studio-text);padding:8px 12px;font:400 16px Rubik,sans-serif}html body .studio-chat-index .sidebar-chat-row{grid-template-columns:44px minmax(0,1fr) 16px 16px 44px;height:auto;min-height:52px}html body .studio-chat-index .sidebar-project-header{grid-template-columns:44px minmax(0,1fr) auto;min-height:52px}html body .studio-chat-index :is(.sidebar-icon-button,.project-pin-button,.chat-pin-button){opacity:1;width:44px;min-width:44px;height:44px}html body .studio-chat-index .sidebar-chat-row>.chat-pin-button{width:44px;height:44px}html body .app-shell :is(.session-page,.image-chat){height:100%}html body .app-shell .image-chat-main:is(.view-chat,.view-flow,.view-split){flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}html body .app-shell .image-chat-main:is(.view-chat,.view-flow,.view-split) .image-chat-scroll{scrollbar-gutter:auto;flex:1 1 0;width:100%;height:auto;min-height:0;padding:12px 12px 24px;position:relative;overflow:auto}html body .app-shell .image-chat-main .chat-scroll-bottom-spacer.has-composer-bottom-space{display:none}html body .app-shell :is(.chat-mode-switcher,.view-split .chat-mode-switcher){background:var(--studio-results);flex:none;align-items:center;gap:24px;height:48px;margin:0;padding:0 16px;display:flex;position:relative;inset:auto}html body .app-shell .image-chat-main:is(.view-chat,.view-flow,.view-split) .chat-mode-switcher{height:48px;min-height:48px;overflow:visible}html body .app-shell .chat-mode-switcher button{min-height:44px;font-size:15px}html body .app-shell .image-chat-main :is(.studio-results-top-blur,.chat-composer-wrap>.surface-blur,.tts-chat-bottom-space,.composer-resize-handle),html body .app-shell .library-page .chat-composer>.composer-resize-handle,html body .app-shell .video-composer>.composer-resize-handle{display:none}html body .app-shell .image-chat-main .chat-top-actions{flex:none;gap:8px;padding:0 12px 8px;display:flex;position:relative;inset:auto}html body .app-shell .chat-search-control{flex:1;width:auto}html body .app-shell :is(.notification-trigger,.chat-privacy-toggle){min-width:44px;height:44px}html body .app-shell .chat-thread{gap:20px;width:100%;max-width:100%;margin:0}html body .app-shell :is(.chat-user-row,.chat-assistant-row){width:100%;max-width:100%;padding:0}html body .app-shell :is(.chat-user-stack,.chat-response-card,.chat-assistant-content){min-width:0;max-width:100%}html body .app-shell .chat-turn-meta{flex-wrap:wrap;font-size:12px}html body .app-shell .chat-turn-meta>.chat-turn-meta-settings{white-space:normal}html body .app-shell .chat-output-grid{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:100%}html body .app-shell .chat-output-grid.count-1{grid-template-columns:minmax(0,1fr)}html body .app-shell .chat-output{width:100%;max-width:100%}html body .app-shell :is(.chat-message-actions,.image-actions){opacity:1;visibility:visible}html body .app-shell .image-actions :is(button,a){min-width:44px;min-height:44px}html body .app-shell .image-chat-main .chat-composer-wrap{background:var(--studio-surface);border-top:1px solid var(--studio-control);flex:0 auto;width:100%;height:auto;min-height:0;max-height:65%;margin:0;padding:0;position:relative;inset:auto;overflow:auto;transform:none}html body .app-shell :is(.chat-composer,.library-prompt-composer,.video-composer):not(.is-resizing){background:var(--studio-surface);width:100%;max-height:none;box-shadow:none;border:0;border-radius:0;flex-direction:column;margin:0;padding:12px;display:flex;position:relative;inset:auto;overflow:visible;height:auto!important;min-height:0!important}html body .app-shell .image-chat-main .chat-composer-wrap>.chat-composer{padding:12px;display:flex;position:relative;inset:auto;height:auto!important;min-height:0!important}html body .app-shell :is(.image-chat-main,.library-page) .chat-composer>.reference-uploader,html body .app-shell .video-fields>.reference-uploader{width:100%;margin:0 0 8px;padding:0;position:relative;inset:auto!important}html body .app-shell .composer-attachments{align-items:start;gap:8px;height:auto;min-height:64px}html body .app-shell .view-split .composer-attachments{scrollbar-width:none;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));grid-auto-rows:auto;align-items:stretch;display:grid;overflow:visible}html body .app-shell .view-split .composer-attachments>:is(.composer-add-reference,.composer-attachment){aspect-ratio:1;-webkit-tap-highlight-color:transparent;flex:none;align-self:start;width:100%;min-width:0;height:auto;min-height:0;box-shadow:none!important;outline:none!important}html body .app-shell .view-split .composer-attachment:has(.reference-order-controls){aspect-ratio:1;flex-basis:auto;place-items:center;width:100%;height:auto}html body .app-shell .view-split .composer-attachment>img{object-fit:cover;width:100%;height:100%}html body .app-shell .view-split .composer-attachment :is(:focus,:focus-visible),html body .app-shell .view-split .composer-attachment>button:is(:focus,:focus-visible){box-shadow:none!important;outline:none!important}html body .app-shell :is(.composer-attachment,.composer-add-reference,.reference-uploader .composer-plus){flex:0 0 64px;width:64px;height:64px;min-height:64px}html body .app-shell .composer-attachment>button{min-width:44px;min-height:44px}html body .app-shell .composer-attachment:has(.reference-order-controls){background:0 0;flex-basis:88px;place-items:start center;width:88px;height:132px}html body .app-shell .composer-attachment:has(.reference-order-controls)>img{height:88px}html body .app-shell .composer-attachment>img{height:64px}html body .app-shell .reference-order-controls{display:flex;position:absolute;top:88px;left:0;right:0}html body .app-shell .reference-order-controls button{background:var(--studio-control);place-items:center;width:44px;height:44px;min-height:44px;padding:0;display:grid;position:relative;inset:auto}html body .app-shell .reference-uploader .composer-attachment button{opacity:1;visibility:visible;pointer-events:auto}html body .app-shell .reference-uploader .composer-attachment button:disabled{opacity:.35}html body .app-shell .composer-count button{min-width:44px;min-height:44px}html body .app-shell :is(.chat-mode-switcher,.library-scope-filter)>button{min-height:44px}html body .app-shell .image-chat-main:is(.view-chat,.view-flow,.view-split) .chat-composer .chat-prompt-editor,html body .app-shell .library-page .chat-composer .chat-prompt-editor{flex:none;order:1;width:100%;height:auto;min-height:56px;max-height:120px;margin:0;padding:4px 0;font:400 16px/24px Rubik,sans-serif;position:relative;overflow:auto;inset:auto!important}html body .app-shell :is(.image-chat-main,.library-page) .chat-composer>.chat-composer-footer{flex-wrap:wrap;order:2;align-items:center;gap:8px;width:100%;height:auto;min-height:44px;margin:0;padding:8px 0 0;display:flex;position:relative;inset:auto;overflow:visible}html body .app-shell :is(.image-chat-main,.library-page) .chat-composer>.composer-error-stack,html body .app-shell .video-fields>.composer-error-stack{order:-2;width:100%;margin:0 0 8px;position:relative;inset:auto}html body .app-shell .chat-composer-footer>.composer-setting-wrap:not(:first-child),html body .app-shell .chat-composer-footer>:is(.composer-count,.keyboard-layout-button),html body .app-shell .video-submit-row>.video-setting{display:none}html body .app-shell .chat-composer:has(.mobile-composer-tools[data-settings=true]) .chat-composer-footer>:is(.composer-setting-wrap,.composer-count,.keyboard-layout-button){display:flex}html body .app-shell .video-composer:has(.mobile-composer-tools[data-settings=true]) .video-setting{display:flex}html body .app-shell .chat-composer:has(.mobile-composer-tools[data-settings=true])>.chat-composer-footer{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}html body .app-shell .chat-composer:has(.mobile-composer-tools[data-settings=true])>.chat-composer-footer>.composer-setting-wrap:first-child{grid-column:1/-1;width:100%}html body .app-shell .chat-composer:has(.mobile-composer-tools[data-settings=true])>.chat-composer-footer>.chat-send-button{grid-column:1/-1;width:100%;margin:0}html body .app-shell .chat-composer-footer>.composer-setting-wrap:first-child{flex:1 1 0;min-width:0}html body .app-shell .chat-composer .composer-model{width:100%;min-width:0;max-width:100%}html body .app-shell .chat-composer .chat-send-button{color:#fff;background:var(--brand-blue);flex:none;width:auto;min-width:48px;margin-left:auto;padding:0 12px}html body .app-shell .chat-send-button .mobile-generate-label{font-size:12px;display:inline}html body .app-shell .chat-output-created-at{aspect-ratio:auto;grid-column:1/-1;justify-self:end;width:auto;height:auto;position:static;inset:auto}html body .app-shell .mobile-composer-tools{order:-1;justify-content:space-between;align-items:center;min-height:36px;margin-bottom:4px;display:flex}html body .mobile-composer-tools button{min-width:44px;height:44px;color:var(--studio-muted);background:0 0;border:0;justify-content:center;align-items:center;gap:8px;padding:0 8px;font:400 13px Rubik,sans-serif;display:inline-flex}html body .app-shell :is(.image-chat-main,.library-page) .chat-composer:has(.mobile-composer-tools[data-expanded=true]) .chat-prompt-editor{min-height:120px;max-height:30dvh}html body .app-shell .chat-welcome{display:none}html body .app-shell .view-split .chat-mode-switcher{order:-2}html body .app-shell .view-split .chat-top-actions{order:-1}html body .app-shell .image-chat-main.view-split .chat-composer-wrap{max-height:45%}html body .app-shell .view-split .chat-composer:has(.tts-composer)>.tts-composer{max-height:min(28dvh,240px)}html body .app-shell .view-split .split-generation-block .chat-output-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html body .app-shell .view-split .split-generation-block .chat-output-grid.count-1{grid-template-columns:minmax(0,1fr)}html body .app-shell .view-split .split-generation-block{padding:12px}html body .app-shell .library-page{flex-direction:column;height:100%;min-height:0;display:flex;overflow:auto}html body .app-shell .library-page>.library-prompt-composer-wrap{display:none}html body .app-shell .library-page.new-chat-page{background:var(--studio-results);justify-content:flex-end;gap:0}html body .app-shell .new-chat-page>.library-prompt-composer-wrap{flex:none;width:100%;height:auto;max-height:80%;margin:0;padding:0;display:block;position:relative;inset:auto;overflow:auto;transform:none}html body .app-shell .new-chat-page .new-chat-welcome{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;width:100%;min-height:100px;margin:0;padding:24px;display:flex;position:relative;inset:auto;transform:none}html body .app-shell .new-chat-welcome h1{font-size:24px}html body .app-shell .new-chat-welcome p{max-width:320px}html body .app-shell .asset-gallery{width:100%;min-width:0;height:auto;padding:0 0 24px}html body .app-shell .asset-gallery.session-flow-gallery .gallery-toolbar,html body .app-shell .asset-gallery:not(.session-flow-gallery) .gallery-toolbar{z-index:40;background:var(--studio-results);flex-wrap:wrap;align-items:center;gap:8px;height:auto;min-height:64px;padding:8px 12px;display:flex;position:sticky;top:0}html body .app-shell .gallery-toolbar .surface-blur{visibility:hidden}html body .app-shell .asset-gallery .gallery-toolbar-scope{flex:1;gap:12px;min-width:0}html body .app-shell .asset-gallery .gallery-toolbar .library-scope-filter{height:48px;min-height:48px;overflow:visible}html body .app-shell .asset-gallery .gallery-toolbar-scope .gallery-source-filter{width:44px;height:44px;margin-left:auto}html body .app-shell .asset-gallery .gallery-source-filter .gallery-filter-trigger{width:44px;height:44px}html body .app-shell .asset-gallery .gallery-toolbar-actions{gap:8px;width:100%;display:flex}html body .app-shell .gallery-search{flex:1;width:auto}html body .app-shell .gallery-source-filter{width:44px;height:44px;margin:0 0 0 auto}html body .app-shell .gallery-filter-trigger{width:44px;height:44px}html body .app-shell .asset-gallery .gallery-source-filter .gallery-filter-dropdown{max-height:min(340px,100dvh - 110px);left:auto;right:0;overflow-y:auto}html body .app-shell .asset-gallery.session-flow-gallery.has-thumbnail-size-control .gallery-grid,html body .app-shell .asset-gallery:not(.session-flow-gallery).has-thumbnail-size-control .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;display:grid}html body .app-shell .gallery-card{aspect-ratio:1;width:100%;min-width:0;height:auto}html body .app-shell .asset-gallery .gallery-content{padding:0 8px;overflow:visible}html body .app-shell :is(.gallery-size-control,.gallery-scroll-to-top,.chat-scroll-to-bottom){display:none}html body .app-shell .gallery-date-group h2{padding:0 4px}html body .app-shell .video-fields{flex-direction:column;width:100%;min-height:0;padding:0;display:flex}html body .app-shell .video-composer .video-prompt-editor{width:100%;min-height:70px;max-height:28dvh;margin:0;padding:4px 0;font-size:16px;position:relative;inset:auto}html body .app-shell .video-composer:has(.mobile-composer-tools[data-expanded=true]) .video-prompt-editor{min-height:120px}html body .app-shell .video-composer>.video-submit-row{flex-wrap:wrap;height:auto;min-height:44px;position:relative;inset:auto}html body .app-shell .video-composer .keyboard-layout-button{display:none}html body .app-shell .video-composer:has(.mobile-composer-tools[data-settings=true])>.video-submit-row{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}html body .app-shell .video-composer:has(.mobile-composer-tools[data-settings=true]) .studio-model-selector .composer-setting-wrap{grid-column:1/-1;width:100%}html body .app-shell .video-composer:has(.mobile-composer-tools[data-settings=true]) .video-send-button{grid-column:1/-1;width:100%;margin:0}html body .app-shell :is(.video-submit-row,.tts-submit-row) .composer-setting-wrap{flex:1 1 0;min-width:0}html body .app-shell .video-send-button:after{content:attr(aria-label);font-size:12px}html body .app-shell .tts-submit-row>.primary{justify-content:center;align-items:center;width:44px;min-width:44px;height:44px;padding:0;display:inline-flex}.mobile-video-requirements{color:var(--studio-muted);margin:4px 0 8px;font-size:12px;display:block}html body .app-shell .studio-model-selector{flex:1;min-width:0}html body .app-shell .chat-composer:has(.tts-composer)>.tts-composer{flex-direction:column;gap:8px;height:auto;min-height:0;max-height:48dvh;padding:0;display:flex;position:relative;overflow:hidden}html body .app-shell .tts-heading{display:none}html body .app-shell .tts-fields{flex-direction:column;min-height:0;padding:0 0 8px;display:flex;overflow:auto}html body .app-shell .tts-composer :is(.tts-options,.tts-speaker-profile,.tts-script-context){display:none}html body .app-shell .tts-composer:has(.mobile-composer-tools[data-settings=true]) :is(.tts-options,.tts-speaker-profile,.tts-script-context){display:grid}html body .app-shell .tts-speakers{flex-direction:column;gap:8px;padding:0;display:flex;position:relative}html body .app-shell .tts-turns{flex-direction:column;padding:0;display:flex;position:relative;overflow:visible}html body .app-shell .tts-dialogue-turn textarea{min-height:84px;max-height:24dvh;font-size:16px}html body .app-shell .chat-composer .tts-composer :is(input,textarea){font-size:16px}html body .app-shell .tts-composer :is(button,.custom-select-trigger,.tts-voice-trigger){min-height:44px}html body .app-shell .tts-composer:not(:has(.mobile-composer-tools[data-settings=true])) :is(.tts-voice-field>label:not(.tts-speaker-voice),.tts-speaker-toggle,.tts-turn-tools,.tts-turns>button){display:none}html body .app-shell .tts-speaker-voice{grid-column:1/-1}html body .app-shell .tts-composer:has(.mobile-composer-tools[data-expanded=true]) .tts-dialogue-turn textarea{min-height:160px}html body .app-shell .tts-submit-row{background:var(--studio-surface);width:100%;min-height:52px;padding:4px 0;display:flex;position:sticky;inset:auto auto 0}html body .app-shell :is(input,textarea,[contenteditable=true]){font-size:16px}html body .app-shell :is(.settings-page,.settings-grid,.settings-grid-admin){grid-template-columns:minmax(0,1fr);width:100%;min-width:0;padding:12px}html body .app-shell .settings-card{overflow-wrap:anywhere;min-width:0}html body .notification-center .notification-popover{inset:calc(var(--mobile-top) + 8px) 8px auto;width:auto;max-height:calc(100dvh - var(--mobile-top) - 90px);position:fixed;overflow:auto}html body .notification-list{max-height:none}html body .notification-popover header{justify-content:space-between;align-items:center;display:flex}html body .notification-popover .mobile-notification-close{width:44px;height:44px;color:inherit;background:0 0;border:0;place-items:center;display:grid}html body .notification-popover :is(.notification-dismiss,.notification-popover-close),html body .studio-video-player button{min-width:44px;min-height:44px}html body .studio-audio-waveform{overflow:clip}html body .image-actions-menu-portal{max-height:60dvh;overflow-y:auto}html body :is(.studio-select-menu,.model-popover){max-width:calc(100vw - 16px);max-height:min(65dvh,560px);overflow:auto}html body .model-provider-grid{flex-direction:column;display:flex}html body .model-provider-column{width:100%;min-width:0}html body .model-provider-option{min-height:48px}html body .asset-library-modal-layer .asset-library-popover[data-studio-panel=true]{inset:max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));width:auto;height:auto;max-height:none}html body .asset-library-modal-layer .library-popover-filter-row{flex-flow:wrap;gap:8px;height:auto;min-height:100px;padding:8px 12px}html body .asset-library-modal-layer .asset-library-popover header button{width:44px;height:44px}html body .asset-library-modal-layer .library-search{flex:100%;width:100%;min-width:0}html body .asset-library-modal-layer .library-popover-source-filter .library-popover-filter-trigger{width:44px;height:44px}html body .asset-library-modal-layer .library-popover-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html body .asset-library-modal-layer .library-popover-footer{height:auto;min-height:64px;padding:8px 12px}html body :is(.image-lightbox-backdrop,.media-lightbox-backdrop){padding:0}html body .image-lightbox-backdrop .image-lightbox-dialog,html body .image-lightbox-backdrop.has-navigator .image-lightbox-dialog,html body .media-lightbox-backdrop .media-lightbox-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);border-radius:0;flex-direction:column;margin:0;display:flex;overflow:auto}html body .image-lightbox-stage,html body .media-lightbox-stage{flex:1 0 45dvh;width:100%;min-width:0;height:auto;max-height:65dvh;padding:0;position:relative}html body .image-lightbox-image-stack{touch-action:pan-x pan-y pinch-zoom;width:100%;height:100%;overflow:hidden}html body .image-lightbox-morph-target[data-mobile-zoom=true] .image-lightbox-image-stack{overflow:auto}html body .image-lightbox-morph-target[data-mobile-zoom=true] .image-lightbox-full{width:200%;max-width:none;height:200%;max-height:none}html body .image-lightbox-morph-target[data-mobile-zoom=true] .image-lightbox-preview{display:none}.mobile-viewer-zoom{z-index:5;min-height:44px;color:var(--ink);background:var(--paper);border:0;padding:0 16px;display:block;position:absolute;bottom:8px;left:8px}html body .image-lightbox-image{object-fit:contain;max-width:100%;max-height:60dvh}html body .image-lightbox-details,html body .media-lightbox-details{width:100%;min-width:0;height:auto;max-height:none;padding:16px;overflow:visible}html body .image-lightbox-details{display:block}html body .image-lightbox-details-scroll{overflow:visible}html body .image-lightbox-details[data-mobile-details=false] .image-lightbox-details-scroll{display:none}html body .mobile-viewer-details-toggle{width:100%;min-height:48px;color:inherit;text-align:left;font:inherit;background:0 0;border:0;display:block}html body .mobile-viewer-navigation{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.mobile-viewer-navigation button{min-height:44px;color:inherit;background:0 0;border:0;font-size:12px}html body .image-lightbox-footer,html body .media-lightbox-actions{flex-wrap:wrap;gap:8px;display:flex;position:relative}html body :is(.image-lightbox-footer,.media-lightbox-actions) button{flex:42%;min-height:44px}html body :is(.image-lightbox-close,.media-lightbox-close){top:max(8px, env(safe-area-inset-top));right:max(8px, env(safe-area-inset-right));z-index:5;width:48px;height:48px;position:absolute}html body .image-lightbox-thumbnails,html body .media-lightbox-thumbnails{background:var(--paper);z-index:4;flex-direction:row;width:100%;height:72px;padding:8px;display:flex;position:fixed;inset:auto 0 0;overflow-x:auto}html body .image-lightbox-backdrop.has-navigator .image-lightbox-dialog{padding-bottom:calc(80px + env(safe-area-inset-bottom))}html body :is(.image-lightbox-thumbnail,.media-lightbox-thumbnail){flex:0 0 56px;width:56px;height:56px}html body .auth-page{min-height:100svh;padding:max(16px, env(safe-area-inset-top)) 16px}html body .auth-card{width:min(100%,440px);padding:24px}}@media (min-width:600px) and (max-width:900px){html body .app-shell .asset-gallery.session-flow-gallery.has-thumbnail-size-control .gallery-grid,html body .app-shell .asset-gallery:not(.session-flow-gallery).has-thumbnail-size-control .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}html body .app-shell .chat-composer{padding-inline:24px}}@media (max-height:500px) and (max-width:900px){:root{--mobile-top:44px;--mobile-bottom:52px}html body .app-shell .new-chat-page .new-chat-welcome{display:none}html body .app-shell .new-chat-page>.library-prompt-composer-wrap{max-height:100%}html body .app-shell .image-chat-main .chat-top-actions{display:none}html body .app-shell .image-chat-main .chat-composer-wrap{max-height:80%}html body .app-shell .image-chat-main.view-split .chat-composer-wrap{max-height:55%}html body .app-shell .view-split .chat-composer:has(.tts-composer)>.tts-composer{max-height:88px}html body .app-shell :is(.image-chat-main .chat-composer-wrap,.library-page .library-prompt-composer-wrap)>.chat-composer:not(:has(.tts-composer,.video-composer)){grid-template-columns:48px minmax(0,1fr);gap:0 8px;display:grid}html body .app-shell .chat-composer>.mobile-composer-tools{order:0;grid-area:1/2;margin:0}html body .app-shell .chat-composer>.reference-uploader{grid-area:1/1;width:48px;overflow:hidden}html body .app-shell .chat-composer>.chat-prompt-editor{grid-area:2/1/auto/-1}html body .app-shell .chat-composer>.chat-composer-footer{grid-area:3/1/auto/-1}html body .app-shell .composer-attachments{min-height:48px}html body .app-shell :is(.composer-add-reference,.composer-attachment,.reference-uploader .composer-plus){flex-basis:48px;width:48px;height:48px;min-height:48px}}@media (max-height:500px) and (min-width:600px) and (max-width:900px){html body .app-shell .image-chat-main .chat-top-actions{width:280px;padding:0;display:flex;position:absolute;inset:2px 12px auto auto}}
.gallery-card[data-request-selectable]{transition:scale .24s cubic-bezier(.22,1,.36,1),translate .24s cubic-bezier(.22,1,.36,1),opacity .16s}.gallery-card.is-request-selected{touch-action:none;scale:.96}html[data-theme][lang] body .gallery-card.is-request-selected:focus-visible{outline:none!important}html body .gallery-card.is-request-selected figcaption{opacity:0;pointer-events:none}.gallery-card.is-request-drag-source{opacity:.3;animation:none;scale:.94}.is-dragging-requests,.is-dragging-requests *{cursor:grabbing!important;-webkit-user-select:none!important;user-select:none!important}.request-drag-preview.gallery-card{z-index:2000;pointer-events:none;will-change:translate, scale, rotate;overflow:visible;box-shadow:0 18px 44px #0000003d;animation:none!important;position:fixed!important}.request-drag-preview>:is(img,.gallery-media-preview){object-fit:cover;width:100%;height:100%}.request-drag-preview .gallery-media-preview{position:absolute;inset:0;overflow:hidden}.request-drag-preview .gallery-media-preview>:is(img,video){object-fit:cover;width:100%;height:100%;display:block}.request-drag-preview .gallery-media-type-icon{color:#fff;background:#0006;place-items:center;width:48px;height:48px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.request-drag-preview .gallery-media-preview-audio .gallery-media-type-icon{color:var(--brand-blue);background:0 0}.request-drag-count{background:var(--transfer-surface,#fff);color:var(--transfer-text,#202024);padding:6px 10px;font:500 14px Rubik,sans-serif;position:absolute;bottom:10px;right:10px;box-shadow:0 2px 12px #00000029}.gallery-card[data-request-selectable]{-webkit-user-select:none;user-select:none}.gallery-card[data-request-selectable] img{-webkit-user-drag:none}.gallery-card.is-request-selected{cursor:grab}.gallery-card.is-request-selected:active{cursor:grabbing}.chat-output[data-request-selectable]{-webkit-user-select:none;user-select:none;transition:scale .24s cubic-bezier(.22,1,.36,1),opacity .16s}.chat-output[data-request-selectable] img{-webkit-user-drag:none}.chat-output.is-request-selected{touch-action:none;cursor:grab;scale:.96}.chat-output.is-request-selected:active{cursor:grabbing}html[data-theme][lang] body .chat-output.is-request-selected:focus-visible{outline:none!important}.chat-output.is-request-drag-source{opacity:.3;animation:none;scale:.94}.request-drag-preview.chat-output{z-index:2000;pointer-events:none;will-change:translate, scale, rotate;box-shadow:0 18px 44px #0000003d;animation:none!important;position:fixed!important;overflow:visible!important}.request-drag-preview.chat-output>img{object-fit:cover;width:100%;height:100%;max-height:none}.request-selection-check{z-index:20;width:28px;height:28px;color:var(--brand-blue);cursor:pointer;background:#fff;border:1px solid #00000026;border-radius:50%;place-items:center;transition:opacity .16s,transform .16s;display:grid;position:absolute;bottom:10px;left:10px;box-shadow:0 1px 8px #00000026}.request-selection-check svg{visibility:hidden}.request-selection-check[aria-pressed=true] svg{visibility:visible}.is-painting-request-selection,.is-painting-request-selection *{-webkit-user-select:none!important;user-select:none!important;cursor:crosshair!important}.sidebar-chat-row[data-request-drop-active=true]{outline:2px solid var(--brand-blue);outline-offset:-2px;background:var(--color-accent-soft)!important}.request-selection-bar,.request-transfer-toast{z-index:1300;background:var(--transfer-surface,#fff);max-width:calc(100vw - 48px);color:var(--transfer-text,#202024);border:1px solid var(--transfer-border,#ddd);align-items:center;gap:16px;padding:10px 16px;font:400 14px Rubik,sans-serif;display:flex;position:fixed;bottom:24px;left:24px;box-shadow:0 8px 32px #0000002e}.request-selection-bar span,.request-selection-bar button{align-items:center;gap:8px;display:flex}.request-selection-bar button,.request-transfer-toast button{color:inherit;cursor:pointer;background:0 0;border:0;min-height:40px}.request-selection-bar button:first-of-type{color:var(--color-accent-label)}.request-selection-bar button:disabled{opacity:.4;cursor:default}.request-transfer-toast{bottom:100px}.request-selection-bar button:focus-visible,.request-selection-check:focus-visible,.request-transfer-panel :is(button,input):focus-visible{outline:2px solid var(--brand-blue);outline-offset:2px}.request-transfer-backdrop{z-index:1600;background:#00000052;position:fixed;inset:0}.request-transfer-panel{box-sizing:border-box;background:var(--transfer-surface,#fff);width:min(420px,100%);color:var(--transfer-text,#202024);flex-direction:column;gap:20px;padding:24px;font-family:Rubik,sans-serif;animation:.24s cubic-bezier(.22,1,.36,1) request-panel-enter;display:flex;position:absolute;top:0;bottom:0;right:0;box-shadow:-8px 0 32px #0000001f}.request-transfer-panel header{justify-content:space-between;align-items:center;gap:16px;display:flex}.request-transfer-panel h2{margin:0;font-size:20px;font-weight:500}.request-transfer-panel p{margin:0;font-size:14px;line-height:1.6}.request-transfer-panel header button{width:44px;height:44px;color:inherit;cursor:pointer;background:0 0;border:0;flex-shrink:0;place-items:center;display:grid}.request-transfer-panel input{box-sizing:border-box;border:1px solid var(--transfer-border,#ddd);width:100%;min-height:44px;color:inherit;font:inherit;background:0 0;padding:10px 12px;font-size:16px}.request-transfer-chats{overscroll-behavior:contain;scrollbar-width:none;flex-direction:column;gap:4px;min-height:0;display:flex;overflow:auto}.request-transfer-chats::-webkit-scrollbar{display:none}.request-transfer-chats button{text-align:left;color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;flex-shrink:0;grid-template-columns:minmax(0,1fr) 24px;gap:6px 12px;padding:14px 12px;display:grid}.request-transfer-chats button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.request-transfer-chats button small{opacity:.6;grid-column:1}.request-transfer-chats button svg{color:var(--color-accent-label);grid-area:1/2/3;align-self:center}.request-transfer-chats button:hover:not(:disabled){background:var(--color-accent-soft)}.request-transfer-panel button:disabled{opacity:.45;cursor:default}.request-transfer-error{color:#c53939}html[data-theme=dark]{--transfer-surface:#222226;--transfer-text:#f0f0f2;--transfer-border:#44444b}@keyframes request-panel-enter{0%{opacity:0;transform:translate(24px)}to{opacity:1;transform:translate(0)}}@media (prefers-reduced-motion:reduce){.request-transfer-panel{animation:none}.request-selection-check{transition:none}}@media (min-width:901px){.request-selection-bar{left:calc(50% + var(--ui-sidebar-width,335px) / 2);top:76px;bottom:auto;transform:translate(-50%)}}@media (max-width:900px){.request-selection-bar{left:12px;right:12px;bottom:calc(82px + env(safe-area-inset-bottom));flex-wrap:wrap;justify-content:space-between;gap:4px;max-width:none;padding:6px 10px}.request-selection-bar>span{flex:1 0 calc(100% - 48px);min-height:44px}.request-selection-bar>button:last-child{min-width:44px;position:absolute;top:6px;right:8px}.request-selection-bar>button:not(:last-child){gap:4px;font-size:12px}.request-selection-bar button{min-height:44px}.request-selection-check{opacity:1;width:44px;height:44px;bottom:4px;left:4px}.request-selection-check:not([aria-pressed=true]){background:#ffffffbf}.request-transfer-panel{padding:max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));gap:16px}.request-transfer-toast{left:12px;bottom:calc(150px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px)}}@media (prefers-reduced-motion:reduce){.gallery-card[data-request-selectable],.chat-output[data-request-selectable]{transition:none}}
