.project-navigation{gap:0;padding-top:2px;position:relative}.sidebar-new-project-draft{animation:new-project-draft-in var(--motion-release-duration,.26s) var(--motion-ease-out,cubic-bezier(.22, 1, .36, 1));align-items:center;gap:6px;margin:4px 0 10px;display:flex}@keyframes new-project-draft-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.sidebar-new-project-draft{animation:none}}.sidebar-new-project-draft input{border:1px solid var(--line);background:var(--canvas);min-width:0;height:34px;color:var(--ink);font:inherit;flex:1;padding:0 10px}.sidebar-new-project-draft input:focus{border-color:var(--blue)}.sidebar-new-project-draft input:focus-visible{outline:none}.sidebar-new-project-draft .new-project-confirm{border:1px solid var(--line);background:var(--canvas);width:34px;height:34px;color:var(--ink);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.sidebar-new-project-draft .new-project-confirm:hover:not(:disabled),.sidebar-new-project-draft .new-project-confirm:focus-visible{background:var(--soft);color:var(--blue)}.sidebar-new-project-draft .new-project-confirm:active:not(:disabled){transform:scale(.96)}.sidebar-new-project-draft .new-project-confirm:focus-visible{border-color:var(--blue);outline:2px solid var(--blue);outline-offset:1px}.sidebar-new-project-draft .new-project-confirm:disabled{opacity:.45;cursor:not-allowed}.sidebar-project{padding:2px 0;transition:background-color .12s;position:relative}.sidebar-project.drag-target{background:color-mix(in srgb, var(--blue) 9%, transparent)}.sidebar-project-header{min-height:35px;color:var(--muted);justify-content:space-between;align-items:center;display:flex}.project-pin-button{width:28px;height:28px;color:var(--muted);opacity:0;cursor:pointer;background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}.sidebar-project-header:hover .project-pin-button,.project-pin-button.pinned,.project-pin-button:focus-visible{opacity:1}.project-pin-button:hover{color:var(--blue)}.project-pin-button svg{width:18px;height:18px}.project-title{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:5px;padding:6px 0;display:flex}.project-title svg{flex:none;width:15px;height:15px}.project-title span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.project-actions{opacity:.76;align-items:center;display:flex}.sidebar-project-header:hover .project-actions{opacity:1}.sidebar-icon-button{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.sidebar-icon-button:hover{background:var(--soft);color:var(--ink)}.sidebar-icon-button svg{width:17px;height:17px}.sidebar-project-chats{gap:1px;display:grid}.sidebar-empty-project{color:var(--muted);margin:4px 0 7px 24px;font-size:11px}.sidebar-chat-row{align-items:center;min-width:0;height:30px;display:flex;position:relative}.sidebar-chat-row.active,.sidebar-chat-row:hover{background:var(--canvas)}.sidebar-chat-link{min-width:0;color:var(--ink);flex:1;align-items:center;gap:6px;padding:0 7px 0 0;text-decoration:none;display:flex;overflow:hidden}.sidebar-chat-link span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sidebar-chat-row>input{border:1px solid var(--blue);min-width:0;height:24px;font:inherit;flex:1}.sidebar-chat-row .sidebar-icon-button{opacity:0}.sidebar-chat-row:hover .sidebar-icon-button{opacity:1}.chat-pin-button{width:28px;height:28px;color:var(--muted);opacity:0;cursor:pointer;background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}.sidebar-chat-row:hover .chat-pin-button,.sidebar-chat-row.pinned .chat-pin-button,.chat-pin-button:focus-visible{opacity:1}.chat-pin-button:hover{color:var(--blue)}.chat-pin-button svg{width:18px;height:18px}.merge-check{width:22px;height:22px;color:var(--muted);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}.merge-check[aria-pressed=true]{color:var(--blue)}.merge-check svg{width:18px;height:18px}.merge-check:focus-visible{outline:2px solid var(--blue);outline-offset:1px}.sidebar-menu{z-index:30;background:#fff;border:1px solid #eee;min-width:210px;padding:7px;display:grid;position:absolute;top:28px;right:0;box-shadow:0 12px 25px #00000029}.sidebar-menu button{min-height:32px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:6px 8px;display:flex}.sidebar-menu button:hover{background:var(--soft)}.sidebar-menu .danger{color:#c84946}.sidebar-menu svg{width:17px;height:17px}.project-menu{top:32px}.project-navigation .sidebar-icon-button[aria-expanded=true]{opacity:1;color:var(--brand-blue)}.project-name-input:focus-visible{border-color:var(--brand-blue)}.project-navigation .sidebar-icon-button[aria-haspopup=menu],.sidebar-menu [role=menuitem],.chat-delete-actions button{position:relative}.project-navigation .sidebar-icon-button[aria-haspopup=menu]:focus-visible:after,.sidebar-menu [role=menuitem]:focus-visible:after,.chat-delete-actions button:focus-visible:after{content:"";pointer-events:none;border:2px solid;position:absolute;inset:2px}.merge-bar{z-index:20;border-top:1px solid var(--line);background:var(--canvas);align-items:center;gap:6px;padding:10px 8px;display:flex;position:sticky;bottom:0;box-shadow:0 -8px 20px #00000012}.merge-bar span{color:var(--muted);margin-right:auto;font-size:12px;font-weight:600}.merge-bar button{background:var(--soft);width:32px;min-height:32px;color:var(--ink);font:inherit;cursor:pointer;border:0;justify-content:center;align-items:center;padding:0;font-size:12px;font-weight:600;display:inline-flex}.merge-bar button svg{width:15px;height:15px}.merge-bar button:disabled{opacity:.45;cursor:not-allowed}.merge-bar button:last-child{background:var(--blue);color:var(--canvas)}.sidebar-chat-row>input[aria-label=Название\ чата]{border-color:var(--line)}
html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-bg:#17181b;--color-surface:#101312;--color-surface-muted:var(--color-graphite-surface);--color-surface-strong:#222724;--color-text:#e3e7e3;--color-text-secondary:#b6beb8;--color-text-muted:#929b95;--color-accent:var(--brand-blue);--color-accent-hover:var(--brand-blue);--color-accent-pressed:var(--brand-blue);--color-accent-soft:rgb(var(--brand-blue-rgb) / 15%);--color-danger:#ff746b;--color-danger-soft:#321b19;--color-success:#2f7650;--color-warning:#ddb36f;--color-focus:var(--brand-blue);--color-divider:#303632;--assistant-icon-outline:#fff;--assistant-icon-fill:var(--brand-blue);--image-action-bg:#111412;--image-action-bg-hover:#202522;--image-action-bg-active:var(--color-surface-muted);--image-action-focus:#e3e7e3;--canvas:#17181b;--panel:#101312;--soft:var(--color-surface-muted);--ink:#e3e7e3;--muted:#929b95;--line:#303632;--blue:var(--brand-blue);--paper:#101312;--error-retry-bg:#512f2c;--error-retry-bg-hover:#512f2c;--error-retry-bg-active:#512f2c;--error-retry-text:#ff9b94;--error-retry-focus:#fff}html[data-theme=dark] :is(.composer-error-message,.chat-global-error){color:#ff9b94;background:#512f2c}html[data-theme=dark] :is(.composer-error-message,.chat-global-error)>button{color:#ff9b94}html[data-theme=dark] .status-panel .button-primary,html[data-theme=dark] .status-panel .button-primary:hover:not(:disabled),html[data-theme=dark] .status-panel .button-primary:active:not(:disabled){border-color:var(--brand-blue,#007dcc);background:var(--brand-blue,#007dcc);color:#fff}html[data-theme=dark] body{background:var(--canvas);color:var(--ink);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html[data-theme=dark] .error-page{--error-page-background:#0f1115;--error-page-dots:#59636f;--error-page-secondary:#30363d;--error-page-secondary-hover:#3a424b;--error-page-secondary-text:#f4f6f8}html[data-theme=dark] ::selection{background:rgb(var(--brand-blue-rgb) / 58%);color:#fff}html[data-theme=dark] :where(.app-shell,.session-page,.image-chat,.image-chat-main,.library-page,.asset-gallery,.gallery-toolbar,.chat-composer-wrap){background:var(--canvas);color:var(--ink)}html[data-theme=dark] .gallery-toolbar,html[data-theme=dark] :is(.image-chat-main.view-chat .chat-composer-wrap,.image-chat-main.view-flow .chat-composer-wrap){background:0 0}html[data-theme=dark] .surface-blur--top{background:linear-gradient(#17181b 0%,#17181bb8 48%,#17181b00 100%)}html[data-theme=dark] .surface-blur--bottom{background:linear-gradient(#17181b00 0%,#17181bb8 48%,#17181b 100%)}html[data-theme=dark] body .app-shell .surface-blur--bottom{background:linear-gradient(#0000,#17181bad 58%,#17181b)}html[data-theme=dark] .app-shell .studio-results-top-blur>.surface-blur{background:linear-gradient(#17181b,#17181ba6 55%,#0000)}html[data-theme=dark] body .app-shell .gallery-toolbar>.surface-blur{background:linear-gradient(#17181b,#17181bad 58%,#0000)}html[data-theme=dark] .app-sidebar{border-color:var(--line);background:#0d100f}html[data-theme=dark] :where(.sidebar-brand,.sidebar-user-copy strong,.page-header h1,.chat-welcome h2,.gallery-date-group h2){color:var(--ink)}html[data-theme=dark] :where(.primary-nav-label,.sidebar-user-copy span,.chat-welcome p,.chat-turn-meta,.chat-message-reply,.gallery-empty,.library-page-loading,.library-page-error){color:var(--muted)}html[data-theme=dark] :where(.library-navigation-button,.new-chat-button,.sidebar-signout,.sidebar-settings-button,.sidebar-utility-icon,.theme-toggle,.chat-mode-switcher button,.gallery-filters button,.gallery-search,.notification-trigger){background:var(--panel);color:var(--ink);border:0}html[data-theme=dark] .notification-badge{border-color:var(--panel)}html[data-theme=dark] :where(.library-navigation-button,.new-chat-button,.sidebar-signout,.sidebar-settings-button,.sidebar-utility-icon,.theme-toggle,.chat-mode-switcher button,.gallery-filters button,.notification-trigger):hover:not(:disabled){background:var(--color-graphite-surface)}html[data-theme=dark] :where(.sidebar-signout,.sidebar-settings-button,.sidebar-utility-icon,.theme-toggle){background:var(--panel);box-shadow:none;border:0}html[data-theme=dark] .nav-link.chat-navigation-link{border:0}html[data-theme=dark] :where(.chat-mode-switcher button.active,.gallery-filters button.active){border-color:var(--blue);background:var(--blue);color:#fff}html[data-theme=dark] .mode-switcher>button,html[data-theme=dark] .mode-switcher>button:hover,html[data-theme=dark] .mode-switcher>button:focus,html[data-theme=dark] .mode-switcher>button:active{color:var(--ink);background:#202522;border:1px solid #39413c;border-radius:0;font:400 16px/24px Rubik,sans-serif}html[data-theme=dark] .mode-switcher>button:hover:not(:disabled),html[data-theme=dark] .mode-switcher>button:focus-visible{background:#2a322e}html[data-theme=dark] .mode-switcher>button.active,html[data-theme=dark] .mode-switcher>button.active:hover,html[data-theme=dark] .mode-switcher>button.active:focus,html[data-theme=dark] .mode-switcher>button.active:active{border-color:var(--brand-blue);background:var(--brand-blue);color:#fff}html[data-theme=dark] :is(.chat-search-control,.gallery-search),html[data-theme=dark] :is(.chat-top-actions,.gallery-toolbar-actions) :is(.notification-trigger,.chat-privacy-toggle){color:var(--ink);background:#202124;border:0}html[data-theme=dark] :is(.chat-search-control,.gallery-search) input,html[data-theme=dark] :is(.chat-search-control,.gallery-search) input::placeholder{color:var(--ink)}html[data-theme=dark] :is(.chat-search-control,.gallery-search) input::placeholder{color:var(--muted)}html[data-theme=dark] .theme-toggle-icon-sun{opacity:0;filter:blur(4px);scale:.25}html[data-theme=dark] .theme-toggle-icon-moon{opacity:1;filter:blur();scale:1}html[data-theme=dark] .nav-link.chat-navigation-link{color:var(--muted)}html[data-theme=dark] .nav-link.chat-navigation-link:hover,html[data-theme=dark] .nav-link.chat-navigation-link.active{color:var(--ink);background:#171b19}html[data-theme=dark] :where(.chat-user-message,.chat-message-attachments>span,.sent-inline-mention,.chat-composer,.library-prompt-composer,.gallery-search,.chat-search-control,.notification-trigger,.chat-privacy-toggle){border-color:var(--line);background:var(--panel);color:var(--ink)}html[data-theme=dark] :is(.chat-user-message,.chat-composer){background:#202124}html[data-theme=dark] .chat-composer:focus-within{border-color:#0000;box-shadow:0 8px 64px #00000047}html[data-theme=dark] .chat-composer.is-mention-selecting:after{background:#000000ad}html[data-theme=dark] :where(.chat-prompt-editor,.gallery-search input,.chat-search-control input){color:var(--ink);caret-color:var(--blue)}html[data-theme=dark] :where(){color:var(--muted)}html[data-theme=dark] :where(.composer-control,.composer-plus,.keyboard-layout-button,.library-composer-loading,.library-composer-collapse,.composer-resize-handle){border-color:var(--line);background:var(--soft);color:var(--ink)}html[data-theme=dark] :where(.composer-control,.composer-plus,.keyboard-layout-button,.library-composer-collapse,.composer-resize-handle):hover:not(:disabled){color:var(--ink);background:#222825}html[data-theme=dark] .library-prompt-collapsed{background:var(--panel);color:var(--muted);border:0;box-shadow:0 18px 50px #00000052}html[data-theme=dark] .library-prompt-collapsed:hover{background:var(--panel);color:var(--muted);border-color:#0000}html[data-theme=dark] .library-prompt-collapsed:focus-visible{box-shadow:0 0 0 1px rgb(var(--brand-blue-rgb) / 42%), 0 8px 64px #00000047;border-color:#0000}html[data-theme=dark] .chat-send-button,html[data-theme=dark] .settings-primary-button{background:var(--brand-blue);color:#fff}html[data-theme=dark] .chat-send-button:hover:not(:disabled),html[data-theme=dark] .settings-primary-button:hover:not(:disabled){background:var(--brand-blue)}html[data-theme=dark] .chat-send-button:disabled{background:var(--soft);color:var(--ink);opacity:.42}html[data-theme=dark] .composer-attachment{border-color:var(--line);background:var(--color-graphite-surface)}html[data-theme=dark] .chat-drop-indicator{border-color:var(--brand-blue);color:var(--color-accent-label);background:#202124}html[data-theme=dark] .chat-drop-indicator span{color:var(--muted)}html[data-theme=dark] :where(.composer-popover,.setting-popover,.gallery-filter-dropdown,.custom-select-popover,.tts-voice-popover,.asset-library-popover,.asset-library-panel,.notification-popover,.asset-library,[role=menu]){border-color:var(--line);color:var(--ink);background:#2c2d31;box-shadow:0 18px 38px #00000057}html[data-theme=dark] :where(.attachment-menu button,.setting-popover button,.library-popover-tabs button,.library-popover-grid button,.duplicate-actions button){color:var(--ink)}html[data-theme=dark] :where(.attachment-menu button,.setting-popover button,.library-popover-tabs button,.library-popover-grid button,.duplicate-actions button):hover:not(:disabled),html[data-theme=dark] :where(.setting-popover button,.library-popover-tabs button).active{background:#414245}html[data-theme=dark] :where(.chat-output,.gallery-card,.library-skeleton i){background:var(--color-graphite-surface)}html[data-theme=dark] :where(.chat-output-placeholder,.gallery-loading-preview,.chat-generation-preview){background:#17181b}html[data-theme=dark] :where(.chat-output-placeholder:has(.image-generation-placeholder),.gallery-loading-preview,.chat-generation-preview){--generation-canvas:#17181b;--generation-dot:#e3e7e329;--generation-glow:rgb(var(--brand-blue-rgb) / 52%);--generation-glow-soft:rgb(var(--brand-blue-rgb) / 18%);background:#17181b}html[data-theme=dark] :where(.chat-response-error,.chat-output-missing,.gallery-error-preview){color:#ff9b94;background:#251412;border-color:#65302c}html[data-theme=dark] :where(.section-empty-state,.settings-integration-feedback,.settings-integration-status,.settings-secondary-button){border-color:var(--line);background:var(--panel);color:var(--ink)}html[data-theme=dark] :where(.settings-integration-card,.settings-card){background:var(--panel);color:var(--ink);border:0}html[data-theme=dark] .settings-danger-button{color:#ff9b94;background:#2a1715;border-color:#65302c}html[data-theme=dark] .settings-integration-status.is-connected{color:#b4d4b7;background:#17251a}html[data-theme=dark] .settings-integration-status.is-error{color:#e8c486;background:#2b2115}html[data-theme=dark] .drive-service-alert{color:#ffb1a8;background:#3b211a}html[data-theme=dark] .job-failed .admin-activity-status{color:#ff9b94;background:#2a1715}html[data-theme=dark] .job-succeeded .admin-activity-status{color:#b4d4b7}html[data-theme=dark] :is(.admin-activity-status.is-error,.admin-activity-stats strong.is-error,.admin-activity-error){color:#ff9b94}html[data-theme=dark] .image-lightbox-backdrop{background:#030406f0}html[data-theme=dark] .image-lightbox{color:var(--ink);background:#101312}html[data-theme=dark] :where(.image-lightbox-footer,.image-lightbox-prompt){background:var(--color-surface-muted);color:var(--ink)}html[data-theme=dark] .image-lightbox-thumbnail{background:0 0}html[data-theme=dark] :focus-visible{outline-color:var(--color-focus)}html[data-theme=dark] .image-lightbox-stage{background:var(--canvas)}html[data-theme=dark] .image-lightbox-details,html[data-theme=dark] .image-lightbox-footer{background:var(--panel)}html[data-theme=dark] .image-lightbox-prompt p,html[data-theme=dark] .image-lightbox-reference{border-color:var(--line);background:var(--soft);color:var(--ink)}html[data-theme=dark] .image-lightbox-footer button{border-color:var(--line);background:var(--soft);color:#fff}html[data-theme=dark] .image-lightbox-close{border-color:var(--line);background:var(--panel);color:var(--ink);box-shadow:0 8px 20px #00000047}html[data-theme=dark] .image-lightbox-footer button:hover:not(:disabled){background:rgb(var(--brand-blue-rgb) / 15%);color:#fff}
.composer-mode-tabs{z-index:2;flex:none;gap:4px;padding:8px 12px 0;display:flex;position:relative}.image-chat .chat-composer:has(>.composer-mode-tabs):not(:has(.tts-composer)){height:209px;min-height:209px}.new-chat-composer:has(>.composer-mode-tabs):not(:has(.tts-composer)){height:209px;min-height:209px}.image-chat .chat-composer.has-attachments:has(>.composer-mode-tabs):not(:has(.tts-composer)){height:292px;min-height:292px}.new-chat-composer.has-attachments:has(>.composer-mode-tabs):not(:has(.tts-composer)){height:292px;min-height:292px}.image-chat .chat-composer:has(>.composer-mode-tabs):not(.has-attachments) .chat-prompt-editor{top:58px}.new-chat-composer:has(>.composer-mode-tabs):not(.has-attachments) .chat-prompt-editor{top:58px}.chat-composer.has-attachments:has(>.composer-mode-tabs) .chat-prompt-editor{top:148px}.chat-composer:has(>.composer-mode-tabs)>.reference-uploader{top:56px}.composer-mode-tabs button{color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:6px;padding:5px 10px;font-size:12px}.composer-mode-tabs button[aria-pressed=true]{color:var(--ink);background:var(--panel);box-shadow:inset 0 0 0 1px var(--line)}.tts-composer{min-height:0;max-height:calc(min(740px,80vh) - 36px);color:var(--ink);flex-direction:column;gap:12px;padding:14px;display:flex}.chat-composer:has(.tts-composer){flex-direction:column;height:auto;min-height:0;max-height:min(740px,80vh);display:flex;overflow:visible}.chat-composer:has(.tts-composer)>.tts-composer{flex:auto;height:auto;min-height:0;max-height:none}@media (min-width:901px){.new-chat-page .new-chat-composer-wrap.is-empty-state:has(.tts-composer){top:50%;bottom:auto;transform:translateY(-50%)}.new-chat-page:has(.tts-composer) .new-chat-welcome{visibility:hidden}}.tts-heading,.tts-turn-heading,.tts-turn-tools,.tts-submit-row,.tts-audio-result header{align-items:center;gap:10px;display:flex}.tts-heading{flex:none}.tts-heading>span,.tts-audio-result header>span{color:var(--muted);margin-left:auto;font-size:12px}.tts-fields{overscroll-behavior-y:contain;flex-direction:column;gap:14px;min-height:0;padding-right:4px;display:flex;overflow-y:auto}.tts-composer fieldset{border:1px solid var(--line);border-radius:8px;min-width:0;margin:0;padding:10px}.tts-composer legend{color:var(--muted);padding:0 5px;font-size:12px}.tts-composer label{flex-direction:column;gap:5px;font-size:12px;display:flex}.tts-composer input:not([type=checkbox]):not([type=range]),.tts-composer select,.tts-composer textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:var(--panel);font:inherit;border-radius:6px;padding:8px 10px;font-size:13px}.tts-composer input:focus-visible,.tts-composer select:focus-visible,.tts-composer textarea:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.tts-composer textarea{resize:vertical;min-height:88px;max-height:240px;line-height:1.5}.tts-composer button:not(.primary){border:1px solid var(--line);color:var(--ink);background:var(--panel);cursor:pointer;font:inherit;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:7px 10px;font-size:12px;display:inline-flex}.tts-composer button:disabled,.composer-mode-tabs button:disabled{opacity:.45;cursor:default}.tts-speakers{align-items:end;gap:10px;display:flex}.tts-speakers label{flex:1}.tts-turns{flex-direction:column;gap:12px;display:flex}.tts-dialogue-turn{flex-direction:column;gap:8px;display:flex}.tts-dialogue-turn+.tts-dialogue-turn{border-top:1px solid var(--line);padding-top:12px}.tts-turn-heading>span{white-space:nowrap;color:var(--muted);font-size:12px}.tts-turn-heading select{max-width:220px;margin-left:auto}.tts-turn-tools{justify-content:space-between}.tts-turn-tools select{max-width:210px}.custom-select{min-width:0;position:relative}.custom-select-trigger{border:1px solid var(--line);width:100%;min-height:40px;color:var(--ink);background:var(--panel);font:inherit;text-align:left;cursor:pointer;border-radius:6px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;font-size:13px;display:inline-flex}.custom-select-trigger:disabled{opacity:.55;cursor:default}.custom-select-popover{z-index:80;border:1px solid var(--line);background:var(--panel);border-radius:6px;min-width:100%;max-height:min(260px,42vh);padding:4px;position:absolute;top:calc(100% + 4px);left:0;overflow-y:auto;box-shadow:0 12px 28px #0000002e}.custom-select-popover button{width:100%;min-height:34px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:4px;padding:6px 10px;font-size:13px;display:block}.custom-select-popover button:is(:hover,.active){background:var(--soft)}.tts-turn-heading .custom-select{width:min(220px,52%);margin-left:auto}.tts-turn-tools .custom-select{width:min(210px,62%)}.tts-turn-tools .custom-select-popover{top:auto;bottom:calc(100% + 4px)}.video-fields .custom-select{margin-top:4px}html[data-theme=dark] .custom-select-trigger,html[data-theme=dark] .custom-select-popover{color:var(--ink);background:#2c2d31;border-color:#414245}html[data-theme=dark] .custom-select-popover button:is(:hover,.active){background:#414245}.app-shell .tts-composer .custom-select-popover button{background:0 0}.app-shell .tts-composer .custom-select-popover button:is(:hover,.active){background:var(--dropdown-hover)}.app-shell .tts-composer .tts-voice-option .tts-voice-pin{background:0 0}.tts-options{grid-template-columns:1fr 1fr;gap:20px;display:grid}.tts-options input[type=range]{width:100%;accent-color:var(--blue)}.tts-options .tts-checkbox{grid-template-columns:auto 1fr;align-content:center;gap:6px;display:grid}.tts-checkbox small{grid-column:2}.tts-composer small,.tts-audio-result small{color:var(--muted);font-size:11px}.tts-submit-row{flex:none;justify-content:space-between}.tts-submit-row .primary{border-radius:8px;padding:10px 16px}.tts-error{color:var(--danger,#d75252);margin:0;font-size:12px}.tts-audio-result{border:1px solid var(--line);background:var(--panel);border-radius:12px;flex-direction:column;gap:12px;width:min(560px,100%);padding:18px;display:flex}.tts-audio-result audio{width:100%;height:44px}.tts-audio-result header strong{font-size:14px}.tts-download{color:var(--ink);align-self:start;align-items:center;gap:6px;font-size:12px;text-decoration:none;display:inline-flex}.tts-script p{white-space:pre-wrap;margin:0}.tts-script p+p{margin-top:8px}.model-selector-popover{height:auto;min-height:184px;max-height:min(560px,70vh);overflow-y:auto}.model-selector-popover .model-selector-columns{height:auto;min-height:184px}.model-selector-popover .model-provider-column{padding-bottom:16px}.ratio-icon-3-2{width:18px;height:12px}.ratio-icon-2-3{width:12px;height:18px}.ratio-icon-5-4{width:18px;height:14px}.ratio-icon-4-5{width:14px;height:18px}.ratio-icon-21-9{width:21px;height:9px}.chat-output-grid.ratio-3-2{--frame-aspect:3 / 2}.chat-output-grid.ratio-2-3{--frame-aspect:2 / 3}.chat-output-grid.ratio-5-4{--frame-aspect:5 / 4}.chat-output-grid.ratio-4-5{--frame-aspect:4 / 5}.chat-output-grid.ratio-21-9{--frame-aspect:21 / 9}.tts-voice-field{min-width:0;position:relative}.tts-voice-label{margin-bottom:5px;font-size:12px;display:block}.tts-voice-picker{width:100%;position:relative}.tts-voice-trigger{justify-content:space-between;width:100%}.tts-voice-popover{z-index:90;background:var(--panel);width:min(334px,100vw - 48px);max-height:min(520px,100dvh - 150px);color:var(--ink);box-shadow:var(--shadow-floating);padding:12px 14px 16px;position:absolute;top:calc(100% + 6px);left:0;overflow-y:auto}.tts-voice-section-title{color:var(--muted);margin:2px 0 5px;font-size:12px;font-weight:600}.tts-voice-group+.tts-voice-group{margin-top:10px}.tts-voice-group h4{color:var(--muted);margin:0 0 3px;font-size:12px;font-weight:500}.tts-voice-options{gap:2px;display:grid}.tts-voice-option{min-height:30px;color:inherit;cursor:pointer;justify-content:space-between;align-items:center;gap:8px;padding:0 8px;display:flex}.tts-voice-option:is(:hover,.selected){background:var(--color-surface-muted,var(--soft))}.tts-voice-pin{width:32px;min-width:32px;height:32px;color:var(--muted);background:0 0;border:0;padding:0}.tts-voice-pin.is-pinned{color:var(--blue)}.tts-voice-pin:disabled{cursor:default;opacity:1}
:root{--studio-rail-width:56px;--studio-index-width:355px;--studio-composer-share:41.25%;--studio-audio-surface:#fff}.app-shell{--studio-surface:#fff;--studio-results:#f3f3f3;--studio-control:#f3f3f3;--studio-toolbar-control:#fff;--dropdown-background:#f3f3f3;--dropdown-hover:#fff;--studio-text:#222;--studio-muted:#666b76;--studio-accent:var(--brand-blue);--ui-sidebar-width:calc(var(--studio-rail-width) + var(--studio-index-width));grid-template-columns:var(--ui-sidebar-width) minmax(0, 1fr);height:100dvh;min-height:0;color:var(--studio-text);background:var(--studio-results);font:400 14px/1.5 Rubik,sans-serif;display:grid;overflow:hidden}html[data-theme=dark] .app-shell{--studio-surface:var(--color-graphite-surface);--studio-results:#17181b;--studio-control:#2c2d32;--studio-toolbar-control:#202124;--studio-audio-surface:#202124;--dropdown-background:#2c2d31;--dropdown-hover:#414245;--studio-text:#e9e9ed;--studio-muted:#a0a3ae;--studio-accent:var(--brand-blue)}.app-shell .app-main{grid-area:1/2;width:100%;min-width:0;height:100%;min-height:0;padding:0;overflow:hidden}.app-shell:has(.chat-management-sidebar[data-chat-index=hidden]){--ui-sidebar-width:var(--studio-rail-width)}.app-shell:has(.chat-management-sidebar[data-chat-index=hidden]) .app-main{overflow-y:auto}.app-shell .chat-management-sidebar{grid-area:1/1;grid-template-columns:var(--studio-rail-width) minmax(0, 1fr);background:var(--studio-results);border:0;width:100%;height:100%;min-height:0;padding:0;display:grid;position:relative;overflow:visible}.studio-navigation-rail{background:var(--studio-surface);flex-direction:column;align-items:center;min-height:0;padding:23px 0 14px;display:flex}.studio-brand-mark{width:24px;height:24px;color:var(--studio-accent);flex:none;place-items:center;display:grid}.studio-rail-primary{gap:17px;margin-top:25px;display:grid}.studio-rail-utilities{gap:17px;margin-top:auto;display:grid}.studio-navigation-rail :is(.library-navigation-button,.new-chat-button,.new-project-button,.sidebar-settings-button,.sidebar-signout,.sidebar-utility-icon,.theme-toggle){width:44px;min-width:44px;height:44px;min-height:44px;color:var(--studio-text);box-shadow:none;cursor:pointer;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;gap:0;margin:0;padding:0;display:flex}.studio-navigation-rail :is(button,a):hover{background:var(--studio-control);box-shadow:none;transform:none}.studio-navigation-rail .active{color:var(--studio-accent)}.studio-navigation-rail .theme-toggle-label{display:none}.studio-navigation-rail .theme-toggle-icons{flex:0 0 18px;width:18px;height:18px;position:relative}.studio-navigation-rail svg{flex:none;width:18px;height:18px;display:block}.studio-navigation-rail .studio-brand-mark svg{width:24px;height:24px}.studio-rail-utilities form{margin:0}.studio-navigation-rail :is(button,a){transition:background-color .16s,border-radius .16s}.studio-navigation-rail :is(button,a):hover{border-radius:0}.sidebar-floating-position{z-index:10000;pointer-events:none;position:fixed;top:0}.sidebar-floating-tooltip{color:#fff;opacity:0;background:#25272d;border-radius:0;height:36px;font:400 13px/36px Rubik,sans-serif;transition:opacity .15s,transform .15s,width .22s cubic-bezier(.2,.8,.2,1);position:absolute;top:-18px;left:0;overflow:hidden;transform:translate(-6px);box-shadow:0 4px 16px #0003}.sidebar-floating-tooltip[data-visible=true]{opacity:1;transform:translate(0)}.sidebar-floating-mask{height:36px;display:block;position:relative;overflow:hidden}.sidebar-floating-text{white-space:nowrap;position:absolute;top:0;left:12px}.sidebar-floating-shortcut{color:#aeb1b9;margin-left:12px}.sidebar-floating-measure{visibility:hidden;white-space:nowrap;font:400 13px/36px Rubik,sans-serif;position:fixed}.sidebar-floating-enter-down{animation:.18s both sidebar-text-enter-down}.sidebar-floating-exit-down{animation:.18s both sidebar-text-exit-down}.sidebar-floating-enter-up{animation:.18s both sidebar-text-enter-up}.sidebar-floating-exit-up{animation:.18s both sidebar-text-exit-up}@keyframes sidebar-text-enter-down{0%{opacity:0;transform:translateY(100%)}}@keyframes sidebar-text-exit-down{to{opacity:0;transform:translateY(-100%)}}@keyframes sidebar-text-enter-up{0%{opacity:0;transform:translateY(-100%)}}@keyframes sidebar-text-exit-up{to{opacity:0;transform:translateY(100%)}}@media (prefers-reduced-motion:reduce){.sidebar-floating-tooltip{transition:opacity .15s;transform:none}.sidebar-floating-tooltip[data-visible=true]{transform:none}.sidebar-floating-text{animation:none}.sidebar-floating-text[class*=sidebar-floating-exit]{display:none}}.studio-chat-index{background:var(--studio-surface);border-inline:1px solid var(--studio-control);flex-direction:column;min-width:0;min-height:0;padding:22px;display:flex}.studio-chat-index .chat-navigation-header{padding:0 0 12px}.studio-chat-index .project-navigation{margin:0;padding:2px 0 0}.studio-chat-index .sidebar-project-header{color:var(--studio-muted);position:relative}.studio-chat-index .project-actions{gap:2px}.studio-chat-index .project-title{font:400 14px/21px Rubik,sans-serif}.studio-chat-index .project-pin-button{flex:0 0 28px;position:relative;right:auto}.studio-chat-index .chat-pin-button{z-index:1;position:absolute;right:28px}.studio-chat-index .sidebar-chat-row.pinned .chat-pin-button{position:relative;right:auto}.studio-chat-index .sidebar-chat-link{align-self:stretch;padding-right:35px}.studio-chat-index .sidebar-chat-row>.sidebar-icon-button{position:absolute;right:0}.studio-chat-index .sidebar-chat-row:focus-within>.sidebar-icon-button{opacity:1}.studio-chat-index .sidebar-chat-row{height:40px;min-height:40px;padding-left:10px}.studio-chat-index .sidebar-chat-link{font:400 14px/21px Rubik,sans-serif}.studio-chat-index .sidebar-chat-row:is(.active,:hover,:focus-within){background:var(--studio-control)}.app-shell :is(.session-page,.image-chat){width:100%;height:100%;min-height:0;margin:0;padding:0}.app-shell .image-chat-main.view-split,.app-shell .library-page{grid-template-columns:minmax(0, var(--studio-composer-share)) minmax(0, calc(100% - var(--studio-composer-share)));background:var(--studio-results);grid-template-rows:minmax(0,1fr);width:100%;height:100%;min-height:0;margin:0;padding:0;display:grid;position:relative;overflow:hidden}.app-shell .view-split .image-chat-scroll{scrollbar-width:none;scrollbar-gutter:auto;background:var(--studio-results);grid-area:1/2;width:100%;height:100%;min-height:0;padding:0 0 22px 24px;overflow-y:auto}.app-shell :is(.view-split .chat-composer-wrap,.library-prompt-composer-wrap){z-index:45;background:var(--studio-surface);pointer-events:auto;grid-area:1/1;width:100%;height:100%;min-height:0;margin:0;padding:0;position:relative;inset:auto;transform:none!important}.app-shell .view-split .chat-composer-wrap{border-right:1px solid var(--studio-control)}:is(.app-shell :is(.view-split .chat-composer,.library-prompt-composer:not(.new-chat-composer)),.app-shell .view-split .chat-composer:has(.tts-composer)){background:var(--studio-surface);border:0;border-radius:0;width:100%;max-height:none;margin:0;padding:0;display:block;position:relative;overflow:visible;height:100%!important;min-height:0!important;box-shadow:none!important}.app-shell .new-chat-composer{background:var(--studio-surface);border:0;border-radius:0;width:100%;height:auto;min-height:0;max-height:none;margin:0;padding:0;display:block;position:relative;overflow:visible;box-shadow:none!important}.app-shell :is(.view-split .chat-composer-wrap,.image-chat-main.view-split)>.surface-blur{display:none}.app-shell .studio-results-top-blur{z-index:20;width:calc(100% - var(--studio-composer-share));pointer-events:none;height:92px;position:absolute;top:0;right:0}.app-shell .studio-results-top-blur>.surface-blur{background:linear-gradient(to bottom, var(--studio-results), color-mix(in srgb, var(--studio-results) 65%, transparent) 55%, transparent)}.app-shell .view-split :is(.composer-resize-handle,.composer-footer-plus,.library-composer-collapse){display:none}.app-shell .view-split .chat-composer>.reference-uploader{right:22px;bottom:calc(105px + var(--studio-editor-height,79px));padding:0;position:absolute;left:22px;top:auto!important}.app-shell .composer-attachments{align-items:center;gap:10px;min-height:100px;padding:0;display:flex;overflow-x:auto}.app-shell :is(.composer-attachment,.composer-add-reference,.reference-uploader .composer-plus){background:var(--studio-control);width:100px;height:100px;min-height:100px;color:var(--studio-text);cursor:pointer;border:0;border-radius:0;flex:0 0 100px;place-items:center;padding:0;display:grid}.app-shell .composer-add-reference{order:-1}.app-shell .composer-attachment{order:0}.app-shell .composer-attachment img{object-fit:cover;border-radius:0;width:100%;height:100%}.app-shell .composer-attachment button{width:24px;height:24px}.app-shell .view-split .chat-composer .chat-prompt-editor{width:auto;height:var(--studio-editor-height,calc(100% - 240px));min-height:79px;max-height:calc(100% - 240px);color:var(--studio-text);background:0 0;margin:0;padding:0;font:400 16px/24px Rubik,sans-serif;position:absolute;left:22px;right:22px;overflow-y:auto;top:auto!important;bottom:72px!important}.app-shell .view-split .chat-composer .chat-prompt-editor:empty:before{color:var(--studio-muted)}.app-shell .view-split .chat-composer .chat-prompt-editor[data-empty=true]:before{content:attr(data-placeholder);color:var(--studio-muted);pointer-events:none}.app-shell .view-split .chat-composer>.chat-composer-footer{background:0 0;border:0;flex-wrap:nowrap;gap:10px;width:auto;height:40px;min-height:40px;padding:0;display:flex;position:absolute;inset:auto 22px 22px}.app-shell .composer-setting-wrap{flex:none;min-width:0}.app-shell :is(.composer-control,.keyboard-layout-button,.chat-send-button){background:var(--studio-control);height:40px;min-height:40px;color:var(--studio-text);box-shadow:none;border:0;border-radius:0;flex:none;justify-content:center;align-items:center;gap:12px;padding:0 14px;font:400 14px/21px Rubik,sans-serif;display:inline-flex}.app-shell :is(.composer-control,.keyboard-layout-button){background:0 0}.app-shell .composer-model{justify-content:space-between;width:176px;min-width:176px}.app-shell .composer-model .banana-model-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.app-shell .composer-count{gap:9px;width:118px;min-width:118px}.app-shell .composer-count strong{font-weight:400}.app-shell .composer-count button{color:var(--studio-text)}.app-shell :is(.keyboard-layout-button,.chat-send-button){flex:0 0 40px;width:40px;min-width:40px;padding:0}.app-shell .keyboard-layout-button{margin-left:auto}.app-shell .chat-send-button{margin-left:0}.app-shell :is(.chat-send-button,.keyboard-layout-button):disabled{opacity:.42}.app-shell :is(.chat-composer,.library-prompt-composer)>.composer-error-stack{z-index:51;width:auto;margin:0;position:absolute;bottom:100%;left:0;right:0}.asset-library-modal-layer .asset-library-popover[data-studio-panel=true]{width:min(var(--asset-library-width), calc(100vw - 32px));height:min(620px,100dvh - 48px);max-height:calc(100dvh - 48px)}.asset-library-modal-layer{--mini-surface:#fff;--mini-results:#f3f3f3;--mini-text:#222;--mini-muted:#666b76;--mini-accent:var(--brand-blue);--dropdown-background:#f3f3f3;--dropdown-hover:#fff}html[data-theme=dark] .asset-library-modal-layer{--mini-surface:#202124;--mini-results:#17181b;--mini-text:#e9e9ed;--mini-muted:#a0a3ae;--mini-accent:var(--brand-blue);--dropdown-background:#2c2d31;--dropdown-hover:#414245}.asset-library-modal-layer .asset-library-popover{background:var(--mini-results);color:var(--mini-text);border:0;border-radius:0;padding:0;font:400 14px/21px Rubik,sans-serif}.asset-library-modal-layer .asset-library-popover header{background:var(--mini-surface);height:60px;color:var(--mini-text);flex:none;padding:12px 22px}.asset-library-modal-layer .asset-library-popover header strong{font:500 16px/24px Rubik,sans-serif}.asset-library-modal-layer .asset-library-popover header button{width:32px;height:32px;color:var(--mini-muted)}.asset-library-modal-layer .library-popover-filter-row{z-index:10;flex-wrap:nowrap;flex:none;align-items:center;gap:16px;height:66px;margin:0;padding:12px 22px 14px;position:relative}.asset-library-modal-layer .library-popover-scope.mode-switcher{background:0 0;border:0;flex:none;gap:30px;margin:0;padding:0}.asset-library-modal-layer .library-popover-scope.mode-switcher>button{height:40px;min-height:40px;color:var(--mini-text);box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;font:400 16px/24px Rubik,sans-serif;position:relative}.asset-library-modal-layer .library-popover-scope.mode-switcher>button.active{color:var(--mini-text);font-weight:500}html[data-theme=dark] .asset-library-modal-layer .library-popover-scope.mode-switcher>button{color:var(--mini-text);background:0 0}.asset-library-modal-layer .library-popover-scope.mode-switcher>button.active:after{background:var(--mini-accent);content:"";height:2px;position:absolute;bottom:2px;left:0;right:0}.asset-library-modal-layer .library-popover-scope.mode-switcher>button:before,.app-shell .library-scope-filter.mode-switcher>button:before{content:"";position:absolute;inset:-4px -12px}.asset-library-modal-layer .library-popover-source-filter{flex:none;margin-left:14px;position:relative}.asset-library-modal-layer .library-popover-filter-trigger{width:24px;height:40px;color:var(--mini-text);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.asset-library-modal-layer .library-popover-filter-trigger.active{color:var(--mini-accent)}.asset-library-modal-layer .library-popover-filter-dropdown{z-index:5;background:var(--dropdown-background);width:196px;position:absolute;top:40px;left:-16px;box-shadow:0 8px 24px #0000001f}.asset-library-modal-layer .library-popover-filter-dropdown label{height:52px;color:var(--mini-text);cursor:pointer;align-items:center;gap:14px;padding:0 16px;display:flex}.asset-library-modal-layer .library-popover-filter-dropdown label:hover{background:var(--dropdown-hover)}.asset-library-modal-layer .library-popover-filter-divider{background:color-mix(in srgb, var(--mini-text) 16%, transparent);height:1px;margin:6px 16px}.app-shell .sidebar-menu button:is(:hover,:focus-visible){background:var(--dropdown-hover)}.asset-library-modal-layer .library-popover-filter-dropdown input{width:18px;height:18px;accent-color:var(--mini-accent);margin:0}.asset-library-modal-layer .library-search{background:var(--mini-surface);width:190px;min-width:90px;height:40px;color:var(--mini-text);border:0;border-radius:0;flex:0 190px;gap:12px;margin:0 0 0 auto;padding:0 16px}.asset-library-modal-layer .library-search input{width:100%;min-width:0;height:38px;color:var(--mini-text);background:0 0;border:0;padding:0;font:400 16px/24px Rubik,sans-serif}.asset-library-modal-layer .library-search svg{color:var(--mini-muted);flex:none}.asset-library-modal-layer .library-popover-groups{z-index:0;scrollbar-width:thin;padding:0;position:relative;overflow:hidden auto}.asset-library-modal-layer .library-popover-group{margin:0;padding:0}.asset-library-modal-layer .library-popover-group h3{height:24px;color:var(--mini-text);margin:0 0 9px;padding:0 22px;font:400 16px/24px Rubik,sans-serif}.asset-library-modal-layer .library-popover-group+.library-popover-group h3{margin-top:26px}.asset-library-modal-layer .library-popover-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:0;margin:0;padding:0}.asset-library-modal-layer .library-popover-grid .library-card{aspect-ratio:1;background:var(--mini-surface);border:0;border-radius:0;width:100%;height:auto;padding:0}.asset-library-modal-layer .library-card-checkmark{background:var(--mini-accent);box-shadow:none;border-radius:0}.asset-library-modal-layer .library-card img[data-thumbnail-state]{transition:opacity .16s ease-out}.asset-library-modal-layer .library-card img[data-thumbnail-state]:not([data-thumbnail-state=ready]){opacity:0}.asset-library-modal-layer .library-card:has(img[data-thumbnail-state=loading]){box-shadow:inset 0 0 0 1px var(--mini-results)}.asset-library-modal-layer .picker-thumbnail-error{color:var(--mini-muted);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@media (prefers-reduced-motion:reduce){.asset-library-modal-layer .library-card img[data-thumbnail-state]{transition:none}}.asset-library-modal-layer .library-card.is-selected:after{border-color:var(--mini-accent)}.asset-library-modal-layer .library-popover-grid .library-skeleton{aspect-ratio:1;background:var(--mini-surface);grid-column:auto;margin:0;padding:0}.asset-library-modal-layer .library-popover-footer{background:var(--mini-surface);height:62px;min-height:62px;color:var(--mini-muted);border:0;margin:0;padding:11px 22px}.asset-library-modal-layer .library-popover-footer button{background:var(--mini-results);height:40px;color:var(--mini-text);border:0;border-radius:0;padding:0 16px;font:400 14px/21px Rubik,sans-serif}.asset-library-modal-layer .library-popover-footer button:not(:disabled){background:var(--mini-accent);color:#fff}.app-shell .view-split .chat-composer>.chat-welcome{width:calc(100% - 48px);top:32%;bottom:auto}.app-shell .view-split .chat-mode-switcher{top:22px;left:calc(var(--studio-composer-share) + 24px);z-index:40;height:40px;box-shadow:none;background:0 0;border:0;gap:33px;padding:0;position:absolute}.app-shell .view-split .chat-mode-switcher.mode-switcher>button{height:40px;min-height:40px;color:var(--studio-text);box-shadow:none;background:0 0;border:0;border-radius:0;align-items:center;padding:0;font:400 16px/24px Rubik,sans-serif;display:flex;position:relative}.app-shell .view-split .chat-top-actions{z-index:40;align-items:center;gap:16px;display:flex;position:absolute;top:22px;right:33px}.app-shell :is(.chat-search-control,.gallery-search){background:var(--studio-toolbar-control);width:190px;height:40px;min-height:40px;color:var(--studio-text);border:0;border-radius:0;gap:12px;padding:0 16px}.app-shell :is(.chat-search-control,.gallery-search) input{width:100%;min-width:0;height:38px;color:inherit;background:0 0;border:0;padding:0;font:400 16px/24px Rubik,sans-serif}.app-shell :is(.chat-search-control,.gallery-search) input::placeholder{color:var(--studio-text);opacity:1}.app-shell :is(.notification-trigger,.chat-privacy-toggle){width:40px;min-width:40px;height:40px;min-height:40px;color:var(--studio-text);background:var(--studio-toolbar-control);border:0;border-radius:0;justify-content:center;padding:0 5px}.app-shell .notification-trigger.has-message{width:max-content;padding-inline:12px}.app-shell .view-split .chat-thread{gap:24px;width:100%;max-width:none;margin:0}.app-shell .view-split .image-chat-scroll{flex-direction:column;display:flex}.app-shell .view-split .image-chat-scroll>.chat-thread:first-child{flex:none;margin-top:0}.app-shell .view-split .image-chat-scroll>.chat-thread:empty{display:none}.app-shell .view-split .chat-user-row{padding-right:32px}.app-shell .view-split .chat-user-stack{gap:9px;width:min(620px,100%);min-width:0;max-width:620px}.app-shell .view-split .chat-user-message{background:var(--studio-surface);width:100%;max-width:none;color:var(--studio-text);border:0;border-radius:0}.app-shell .view-split .chat-user-message p{color:var(--studio-text);font:400 16px/24px Rubik,sans-serif}.app-shell .view-split .chat-assistant-content{width:min(620px,100%)}.app-shell .chat-output-grid{gap:0}.app-shell .chat-output{border-radius:0}.app-shell .view-split .chat-turn-meta{color:var(--studio-muted);font:400 16px/24px Rubik,sans-serif}.app-shell .view-split .chat-message-actions time{color:var(--studio-muted);font:400 16px/16px Rubik,sans-serif}.app-shell .library-page>.asset-gallery{scrollbar-width:none;scrollbar-gutter:auto;grid-area:1/2;height:100%;min-height:0;padding:0 0 22px;overflow-y:auto}.app-shell :is(.image-chat-scroll,.library-page>.asset-gallery)::-webkit-scrollbar{display:none}.app-shell .asset-gallery:not(.session-flow-gallery){background:var(--studio-results)}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-toolbar{z-index:36;background:var(--studio-results);justify-content:space-between;align-items:flex-start;gap:16px;width:100%;height:70px;min-height:70px;margin:0;padding:18px 24px 12px;display:flex;position:sticky;top:0}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-toolbar-scope{align-items:center;gap:0;min-width:0;display:flex}.app-shell .asset-gallery:not(.session-flow-gallery) .library-scope-filter{background:0 0;border:0;flex:none;gap:30px;width:auto;height:40px;padding:0;display:flex}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-source-filter{flex:none;margin-left:30px;position:relative}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-filter-trigger{width:18px;height:40px;color:var(--studio-text);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:0;display:grid}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-filter-trigger.active{color:var(--studio-accent)}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-filter-dropdown{z-index:60;background:var(--dropdown-background);width:196px;padding:0;position:absolute;top:40px;left:-18px;box-shadow:0 8px 24px #0000001f}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-filter-dropdown label{width:100%;height:52px;color:var(--studio-text);cursor:pointer;align-items:center;gap:14px;padding:0 16px;font:400 15px/22px Rubik,sans-serif;display:flex}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-filter-dropdown label:hover{background:var(--dropdown-hover)}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-filter-dropdown input{width:18px;height:18px;accent-color:var(--studio-accent);cursor:pointer;margin:0}.app-shell .gallery-filter-dropdown input[type=checkbox],.asset-library-modal-layer .library-popover-filter-dropdown input[type=checkbox]{appearance:none;cursor:pointer;background:#e7e7e7;border:0;border-radius:0;flex:0 0 18px;width:18px;height:18px;margin:0;position:relative}.app-shell .gallery-filter-dropdown input[type=checkbox]:checked,.asset-library-modal-layer .library-popover-filter-dropdown input[type=checkbox]:checked{background:var(--brand-blue)}.app-shell .gallery-filter-dropdown input[type=checkbox]:checked:after,.asset-library-modal-layer .library-popover-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:3px;left:6px;transform:rotate(45deg)}.app-shell .gallery-filter-dropdown input[type=checkbox]:focus-visible,.asset-library-modal-layer .library-popover-filter-dropdown input[type=checkbox]:focus-visible{outline:2px solid var(--brand-blue);outline-offset:3px}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-toolbar-actions{gap:16px;margin-left:auto;display:flex}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-content{width:100%;min-height:0;margin:0;padding:0}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-date-group{margin:0;padding:0}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-date-group h2{height:30px;color:var(--studio-text);border:0;align-items:center;margin:0 0 9px;padding:0 24px;font:400 20px/30px Rubik,sans-serif;display:flex}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-date-group+.gallery-date-group h2{margin-top:26px}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-group-toggle{width:auto;color:inherit;font:inherit;gap:12px;padding:0}.app-shell .asset-gallery:not(.session-flow-gallery).has-thumbnail-size-control .gallery-grid{grid-template-columns:repeat(auto-fill, minmax(min(var(--gallery-thumbnail-size), 100%), 1fr));gap:0;padding:0;display:grid}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-card{aspect-ratio:1;background:var(--studio-control);border:0;border-radius:0;width:100%;min-width:0;height:auto;margin:0;padding:0;container-type:inline-size}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-card.gallery-card-library-loading{background:var(--studio-control)}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-card.gallery-card-library-loading .gallery-image-loading-shimmer{background:linear-gradient(110deg, color-mix(in srgb, var(--studio-control) 88%, var(--studio-text) 12%) 20%, color-mix(in srgb, var(--studio-surface) 72%, var(--studio-control) 28%) 48%, color-mix(in srgb, var(--studio-control) 88%, var(--studio-text) 12%) 76%);background-size:220% 100%;animation:1.8s ease-in-out infinite library-gallery-skeleton-shimmer;display:block}@keyframes library-gallery-skeleton-shimmer{0%{background-position:120% 0}to{background-position:-120% 0}}@media (prefers-reduced-motion:reduce){.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-card.gallery-card-library-loading .gallery-image-loading-shimmer{background-position:50% 0;animation:none}}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-card>img{aspect-ratio:1;object-fit:cover;border-radius:0;width:100%;height:100%}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-media-preview{background:var(--studio-control);color:var(--studio-text);place-items:center;display:grid;position:absolute;inset:0;overflow:hidden}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-media-preview video{object-fit:cover;background:#000;width:100%;height:100%}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-media-preview span{color:#fff;background:#00000094;justify-content:center;align-items:center;gap:6px;padding:6px 8px;font:500 12px/16px Rubik,sans-serif;display:inline-flex;position:absolute;bottom:10px;left:10px;right:10px}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-media-preview-audio{background:var(--studio-audio-surface);color:var(--studio-accent);align-content:center;gap:10px}.app-shell .asset-gallery:not(.session-flow-gallery) .gallery-media-preview-audio span{color:var(--studio-text);background:0 0;position:static}.app-shell .gallery-size-control{background:var(--studio-surface);height:42px;min-height:42px;box-shadow:none;border:0;border-radius:0;padding:6px 10px;bottom:42px;right:24px}.app-shell .gallery-size-control input[type=range]{width:163px}.app-shell .gallery-size-control input[type=range]::-webkit-slider-thumb{background:var(--studio-accent)}.app-shell .gallery-scroll-to-top{z-index:211;background:var(--studio-surface);width:42px;height:42px;color:var(--studio-text);cursor:pointer;border:0;place-items:center;padding:0;display:grid;position:fixed;bottom:96px;right:24px}.app-shell .library-empty-welcome{left:calc(var(--studio-composer-share) + 24px);width:auto;top:40%;bottom:auto;right:24px}.app-shell .new-chat-welcome{grid-area:1/2;align-self:center;width:calc(100% - 48px);margin:0 auto}.app-shell .new-chat-page .library-chat-mode-switcher{top:22px;bottom:auto;left:calc(var(--studio-composer-share) + 24px);transform:none}.app-shell .model-selector-popover,.app-shell .model-selector-popover.has-test-model{background:var(--dropdown-background);width:334px;min-width:0;height:auto;min-height:0;max-height:calc(100dvh - 160px);color:var(--studio-text);box-shadow:none;scrollbar-width:none;border:0;padding:12px 14px 16px;font:400 14px/21px Rubik,sans-serif;position:absolute;inset:auto auto 50px 0;overflow:hidden auto;transform:none}.app-shell .model-selector-popover .model-selector-columns{flex-direction:column;gap:8px;width:100%;height:auto;min-height:0;display:flex}.app-shell .model-selector-popover .model-provider-column{width:100%;margin:0;padding:0}.app-shell .model-selector-popover.has-test-model .model-provider-column:last-child{margin-left:0}.app-shell .model-selector-popover::-webkit-scrollbar{display:none}.app-shell .model-selector-popover .model-provider-title{width:100%;height:24px;color:var(--studio-muted);padding:0;font:500 12px/20px Rubik,sans-serif}.app-shell .model-selector-popover .model-provider-options{width:100%}.app-shell .model-selector-popover .model-provider-option{width:100%;min-width:0;height:30px;min-height:30px;color:var(--studio-text);padding:0 8px;font:400 14px/21px Rubik,sans-serif}.app-shell .model-selector-popover .model-provider-option:is(.active,:hover:not(:disabled)){background:var(--dropdown-hover)}.app-shell .model-option-content{justify-content:space-between;width:100%;max-width:none;display:flex}.app-shell .model-option-name{min-width:0}.app-shell .model-provider-option:disabled{color:var(--studio-muted);opacity:.55}.app-shell .model-provider-column.disabled .model-provider-option{color:var(--studio-muted)}.app-shell .studio-video-models{order:4}.app-shell .studio-audio-models{order:5}.app-shell .model-provider-column[data-provider=test]{order:6}.app-shell .studio-test-audio-models{order:7}.app-shell .view-split .chat-composer:has(.tts-composer){display:flex}.app-shell .tts-composer{width:100%;height:100%;max-height:none;color:var(--studio-text);flex:1;gap:0;padding:38px 24px 22px;display:flex}.app-shell .tts-heading{display:none}.app-shell .tts-fields{flex:1;gap:26px;padding:0 0 20px}.app-shell .tts-composer fieldset{border:0;border-radius:0;flex-direction:column;gap:8px;padding:0;display:flex}.app-shell .tts-composer legend{color:#969696;width:100%;margin-bottom:8px;padding:0;font:500 13px/20px Rubik,sans-serif;display:block}.app-shell .tts-composer label{gap:0;font:400 12px/20px Rubik,sans-serif}.app-shell .tts-composer :is(select,textarea,input:not([type=checkbox]):not([type=range])){background:var(--studio-control);color:var(--studio-text);border:0;border-radius:0;font:400 13px/20px Rubik,sans-serif}.app-shell .tts-composer :is(select,input:not([type=checkbox]):not([type=range])){height:42px}.app-shell .tts-composer textarea{height:126px;min-height:126px;padding:14px}.app-shell .tts-composer button:not(.primary){background:var(--studio-control);color:var(--studio-text);border:0;border-radius:0}.app-shell .tts-speakers{gap:12px}.app-shell .tts-composer fieldset.tts-speakers{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.app-shell .tts-composer fieldset.tts-options{grid-template-columns:minmax(0,345fr) minmax(0,291fr);gap:24px;display:grid}.app-shell .tts-composer .tts-turns legend{margin-bottom:0}.app-shell .tts-composer .tts-dialogue-turn{gap:10px}.app-shell .tts-composer .tts-dialogue-turn>label{gap:2px;margin-top:8px}.app-shell .tts-composer .tts-dialogue-turn>.tts-turn-tools{margin-top:-4px}.app-shell .tts-composer fieldset.tts-turns{gap:14px}.app-shell .tts-composer fieldset.tts-options{margin-top:2px}.app-shell .tts-options .tts-checkbox{grid-template-columns:16px minmax(0,1fr);align-content:center;column-gap:12px;display:grid}.app-shell .tts-options .tts-checkbox input{width:16px;height:16px;margin:0}.app-shell .tts-options input[type=range]{appearance:none;background:0 0;height:16px}.app-shell .tts-options input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--studio-accent);border:0;border-radius:50%;width:14px;height:14px;margin-top:-5.5px}.app-shell .tts-speakers>button{min-width:137px;height:42px}.app-shell .tts-dialogue-turn,.app-shell .tts-turns{gap:14px}.app-shell .tts-turn-heading{min-height:42px}.app-shell .tts-turn-heading select{max-width:191px}.app-shell .tts-turn-tools select{max-width:201px}.app-shell .tts-fields>fieldset>button{height:42px}.app-shell .tts-options{grid-template-columns:345fr 291fr;gap:24px}.app-shell .tts-options input[type=range]{accent-color:var(--studio-accent);margin:8px 0}.app-shell .tts-checkbox input{accent-color:var(--studio-accent)}.app-shell .tts-submit-row{height:40px;min-height:40px;margin-left:-2px}.app-shell .tts-submit-row .primary{background:var(--studio-control);width:40px;height:40px;color:var(--studio-text);border:0;border-radius:0;padding:0}.app-shell .tts-submit-row .primary:disabled{opacity:.42}.app-shell .tts-model-selector{position:relative}.app-shell .tts-model-selector .chat-composer-footer{width:auto;height:40px;padding:0;position:relative;inset:auto}.app-shell .tts-model-selector .composer-model{width:126px;min-width:126px}.app-shell .tts-model-selector .composer-model>span:last-child{margin-left:auto}.app-shell .tts-voice-trigger{background:var(--studio-control);height:42px;min-height:42px;color:var(--studio-text);border:0;border-radius:0;padding:0 14px;font:400 13px/20px Rubik,sans-serif}.app-shell .tts-voice-popover{background:var(--dropdown-background);color:var(--studio-text);box-shadow:none;scrollbar-width:none;border:0;border-radius:0}.app-shell .tts-voice-popover::-webkit-scrollbar{display:none}.app-shell .tts-voice-option:is(:hover,.selected){background:var(--dropdown-hover)}.app-shell .tts-voice-pin{color:var(--studio-muted);background:0 0;border:0;justify-content:center;align-items:center;display:inline-flex}.app-shell .tts-voice-pin.is-pinned{color:var(--studio-accent)}.app-shell .tts-options input[type=range]::-webkit-slider-runnable-track{background:var(--line);height:3px}.app-shell .tts-options input[type=range]::-moz-range-track{background:var(--line);height:3px}.app-shell .tts-options input[type=range]::-moz-range-thumb{background:var(--studio-accent);border:0;border-radius:50%;width:10px;height:10px}.app-shell .tts-options input[type=checkbox]{appearance:none;background:var(--line);cursor:pointer;border:0;border-radius:0;width:18px;min-width:18px;height:18px;margin:0;position:relative}.app-shell .tts-options input[type=checkbox]:checked{background:var(--studio-accent)}.app-shell .tts-options input[type=checkbox]:checked:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:5px;height:9px;position:absolute;top:3px;left:6px;transform:rotate(45deg)}.app-shell .tts-options input[type=checkbox]:disabled{cursor:not-allowed;opacity:.48}@media (min-width:901px) and (max-width:1500px){:root{--studio-index-width:280px}.app-shell .view-split .chat-composer>.chat-composer-footer{gap:10px}.app-shell .composer-model{width:130px;min-width:130px}.app-shell .composer-control{gap:6px;padding:0 10px}.app-shell .composer-count{gap:3px;width:86px;min-width:86px}.app-shell .chat-top-actions{right:24px}.app-shell .view-split .chat-assistant-content{width:min(620px,100% - 54px)}.app-shell :is(.gallery-search,.chat-search-control){width:150px}}@media (min-width:901px) and (max-width:1200px){:root{--studio-index-width:224px}.app-shell :is(.image-chat-main,.library-page){grid-template-columns:minmax(0, var(--studio-composer-share)) minmax(0, calc(100% - var(--studio-composer-share)))}.app-shell .composer-model{width:110px;min-width:110px}.app-shell .composer-count{gap:0;width:76px;min-width:76px;padding:0 4px}.app-shell .view-split .chat-composer>.chat-composer-footer{gap:10px;left:12px;right:12px}.app-shell :is(.gallery-search,.chat-search-control){width:120px}.app-shell .chat-top-actions,.app-shell .gallery-toolbar-actions{gap:8px}}@media (min-width:901px) and (max-width:1100px){.app-shell .view-split .chat-composer>.chat-composer-footer{flex-wrap:wrap;align-content:flex-end;height:90px}.app-shell .view-split .chat-composer .chat-prompt-editor{bottom:122px!important}.app-shell .view-split .chat-composer>.reference-uploader{bottom:calc(155px + var(--studio-editor-height,79px))}.app-shell .composer-setting-wrap:first-of-type{flex-basis:100%}.app-shell .composer-model{width:176px;min-width:176px}.app-shell .model-selector-popover{max-width:calc(100vw - var(--ui-sidebar-width) - 44px)}.app-shell .gallery-toolbar{padding-inline:16px}.app-shell .gallery-search{width:100px}.app-shell .library-scope-filter{gap:24px;width:100px}}
.video-composer{height:100%;min-height:0;color:var(--studio-text);flex-direction:column;gap:24px;padding:24px 22px 22px;display:flex}.video-fields{flex-direction:column;flex:1;justify-content:flex-end;gap:24px;min-height:0;display:flex;overflow-y:auto}.video-fields h2{margin:0;font:500 20px/30px Rubik,sans-serif}.video-fields fieldset{border:0;grid-template-columns:1fr 1fr;gap:24px;margin:0;padding:0;display:grid}.video-fields label{gap:8px;display:grid}.video-fields select,.video-fields textarea{background:var(--studio-control);width:100%;color:var(--studio-text);font:inherit;border:0;border-radius:0;padding:12px 14px}.video-fields textarea{resize:none;background:0 0;width:100%;min-height:120px;max-height:50vh;padding:12px 0}.video-fields :is(select,textarea):focus-visible{outline:2px solid var(--brand-blue);outline-offset:2px}.video-reference-hint{color:var(--studio-muted);margin:0;font-size:12px}.video-add-reference{background:var(--studio-control);width:100px;height:100px;color:var(--studio-text);cursor:pointer;border:0;flex:0 0 100px;place-items:center;display:grid}.video-submit-row{flex:none;align-items:center;gap:10px;display:flex}.video-submit-row>.custom-select{flex:none;width:auto}.video-submit-row .custom-select-trigger{background:var(--studio-control);width:auto;min-width:68px;height:40px;color:var(--studio-text);border:0;border-radius:0}.video-submit-row .custom-select-popover{background:var(--dropdown-background);border:0;border-radius:0}.video-submit-row .custom-select-popover button{border-radius:0}.video-submit-row .custom-select-popover button:is(:hover,.active){background:var(--dropdown-hover)}.video-submit-row .custom-select-popover{min-width:100px;top:auto;bottom:calc(100% + 4px)}.video-submit-row .video-send-button{flex:none;margin-left:0}.video-submit-row .keyboard-layout-button{margin-left:auto}.app-shell .video-submit-row .chat-composer-footer{background:0 0;flex:0 176px;align-items:center;gap:0;width:auto;height:40px;min-height:40px;padding:0;display:flex;position:relative;inset:auto}.video-send-button{background:var(--studio-control);width:40px;height:40px;color:var(--studio-text);cursor:pointer;border:0;place-items:center;padding:0;display:grid}.video-send-button:disabled{opacity:.42}.video-result{background:var(--studio-surface);width:min(620px,100%);color:var(--studio-text);gap:12px;padding:20px;display:grid}.video-result header{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.video-result header span,.video-result time{color:var(--studio-muted)}.video-result video{background:#000;width:100%;max-height:560px}.video-result a{width:max-content;color:var(--brand-blue);align-items:center;gap:8px;text-decoration:none;display:flex}.media-result-actions{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.media-result-actions button{color:var(--brand-blue);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.session-video-flow{gap:24px;padding:12px 24px 24px;display:grid}.image-lightbox-media-stage{place-items:center;width:100%;height:100%;padding:24px;display:grid}.image-lightbox-media-stage video{object-fit:contain;width:100%;max-height:calc(100vh - 96px)}.image-lightbox-media-stage audio{width:min(100%,560px)}.chat-media-output{background:var(--studio-surface);width:min(100%,620px)}.chat-media-output video{width:100%;max-height:560px;display:block}.chat-media-output audio{width:100%;display:block}
:root,html[data-theme=light]{--brand-blue:#003a91;--brand-blue-rgb:0 58 145;--color-accent-label:var(--brand-blue);--color-accent-fill:var(--brand-blue);--blue:var(--brand-blue);--color-accent:var(--brand-blue);--color-accent-hover:var(--brand-blue);--color-accent-pressed:var(--brand-blue);--color-focus:var(--brand-blue);--color-accent-soft:color-mix(in srgb, var(--brand-blue) 12%, transparent)}html:is([data-theme=dark],[data-theme=proof-sheet]){--color-graphite-surface:#202124}html[data-theme=dark]{--brand-blue:#007dcc;--brand-blue-rgb:0 125 204;--color-accent-label:color-mix(in srgb, var(--brand-blue) 72%, white);--color-accent-fill:color-mix(in srgb, var(--brand-blue) 94%, black);--blue:var(--brand-blue);--color-accent:var(--brand-blue);--color-accent-hover:var(--brand-blue);--color-accent-pressed:var(--brand-blue);--color-focus:var(--brand-blue);--color-accent-soft:color-mix(in srgb, var(--brand-blue) 15%, transparent)}html[data-theme] .app-shell{--blue:var(--brand-blue);--color-accent:var(--brand-blue);--color-accent-hover:var(--brand-blue);--color-accent-pressed:var(--brand-blue);--studio-accent:var(--brand-blue);--generation-game-cursor:var(--brand-blue)}html[data-theme] .asset-library-modal-layer{--mini-accent:var(--brand-blue);z-index:1200;pointer-events:none;background:0 0}html .asset-library-modal-layer .asset-library-popover{pointer-events:auto}html .asset-library-modal-layer .asset-library-popover,html .asset-library-modal-layer .asset-library-popover[data-studio-panel=true]{width:min(1120px,100vw - 48px);height:min(760px,100dvh - 48px);max-height:calc(100dvh - 48px);bottom:max(24px,50dvh - 380px);left:max(24px,50vw - 560px)}.asset-library-modal-layer{background:0 0}.asset-library-modal-layer:before{content:"";pointer-events:auto;z-index:0;opacity:0;will-change:opacity;animation:asset-library-backdrop-enter var(--motion-panel-duration,.3s) var(--motion-ease,cubic-bezier(.22, 1, .36, 1)) both;background:#0000007a;position:absolute;inset:0}.asset-library-modal-layer[data-overlay-state=closing]:before{animation:asset-library-backdrop-exit var(--motion-panel-duration,.3s) var(--motion-ease,cubic-bezier(.22, 1, .36, 1)) both}@keyframes asset-library-backdrop-enter{0%{opacity:0}to{opacity:1}}@keyframes asset-library-backdrop-exit{0%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.asset-library-modal-layer:before{opacity:1;will-change:auto;animation:none}.asset-library-modal-layer[data-overlay-state=closing]:before{opacity:0}}html .app-shell .composer-model .banana-model-name,html .app-shell .composer-model .banana-model-name>span{color:inherit;font:inherit;letter-spacing:normal;text-transform:none}html .app-shell .model-price .active{color:var(--studio-text)}html body .model-price-free{color:var(--color-success);letter-spacing:normal;font-size:12px;font-weight:500}html .app-shell .model-price .inactive{color:var(--studio-muted);opacity:.38}html[data-theme=dark] .gpt-image-model-icon{filter:brightness(0)invert()}html .app-shell .settings-grid-admin>.settings-card:nth-child(-n+2),html .app-shell .settings-grid-admin>.settings-integration-card{align-self:stretch;height:auto}html .switch[data-checked=true],html .switch[aria-checked=true],html .app-shell .gallery-filter-dropdown input[type=checkbox]:checked,html .asset-library-modal-layer .library-popover-filter-dropdown input[type=checkbox]:checked{background:var(--brand-blue)}html .app-shell .gallery-filter-dropdown input[type=checkbox]:focus-visible,html .asset-library-modal-layer .library-popover-filter-dropdown input[type=checkbox]:focus-visible{outline-color:var(--brand-blue)}html .primary:hover:not(:disabled),html .primary:active:not(:disabled){background:var(--brand-blue)}html[data-theme=dark] :is(.app-shell,.asset-library-modal-layer) .mode-switcher>button,html[data-theme=dark] :is(.app-shell,.asset-library-modal-layer) .mode-switcher>button:is(:hover,:focus,:active,:focus-visible){box-shadow:none;color:var(--color-text);background:0 0;border:0}html[data-theme=dark] :is(.app-shell,.asset-library-modal-layer) .mode-switcher>button.active,html[data-theme=dark] :is(.app-shell,.asset-library-modal-layer) .mode-switcher>button.active:is(:hover,:focus,:active,:focus-visible){color:#fff;background:0 0}html .app-shell .model-service-icon,html .app-shell .gpt-image-model-icon{object-fit:contain;flex:0 0 16px;width:16px;height:16px}html .app-shell .model-service-name,html .app-shell .model-service-option-name{align-items:center;gap:6px;display:inline-flex}html[data-theme=dark] .model-service-icon-chatgpt,html[data-theme=dark] .gpt-image-model-icon{filter:brightness(0)invert()}html[data-theme=light] .app-shell :is(.chat-search-control,.gallery-search),html[data-theme=light] .app-shell :is(.chat-top-actions,.gallery-toolbar-actions) :is(.notification-trigger,.chat-privacy-toggle),html[data-theme=proof-sheet] .app-shell :is(.chat-search-control,.gallery-search),html[data-theme=proof-sheet] .app-shell :is(.chat-top-actions,.gallery-toolbar-actions) :is(.notification-trigger,.chat-privacy-toggle){background:#fff;border:0}html[data-theme=dark] .app-shell :is(.chat-search-control,.gallery-search),html[data-theme=dark] .app-shell :is(.chat-top-actions,.gallery-toolbar-actions) :is(.notification-trigger,.chat-privacy-toggle){background:#202124;border:0}html[data-theme=light] .app-shell :is(.settings-card,.settings-integration-card),html[data-theme=proof-sheet] .app-shell :is(.settings-card,.settings-integration-card){background:#fff;border:0}html[data-theme=dark] .app-shell :is(.settings-card,.settings-integration-card){background:#202124;border:0}html[data-theme=light] .app-shell :is(.settings-secondary-button,.settings-danger-button),html[data-theme=proof-sheet] .app-shell :is(.settings-secondary-button,.settings-danger-button){background:#f3f3f3;border:0}html[data-theme=dark] .app-shell :is(.settings-secondary-button,.settings-danger-button){background:#2c2d32;border:0}html[data-theme=dark] .app-shell .studio-brand-mark{color:#fff}html .auth-page .button-primary{color:#fff;background:#003a91;border:0}html .auth-page .button-primary:hover:not(:disabled),html .auth-page .button-primary:active:not(:disabled){color:#fff;background:#003a91}html body :is(:focus,:focus-visible),html[data-theme] body :is(:focus,:focus-visible),html :where(button,a,input,textarea,select,[role=button],summary):active{box-shadow:none!important;outline:none!important}html :is(.app-shell,.asset-library-modal-layer) .mode-switcher>button:is(:focus,:focus-visible,:active){background:0 0!important;border-color:#0000!important}html[data-theme] .app-shell :is(input,textarea,select):is(:focus,:focus-visible),html[data-theme] .asset-library-modal-layer :is(input,textarea,select):is(:focus,:focus-visible){border-color:var(--line)!important}html .app-shell :is(.chat-composer,.library-prompt-composer):focus-within{box-shadow:none!important;border-color:#0000!important}html .app-shell .chat-turn.is-focused,html .app-shell .sidebar-chat-row.selected{box-shadow:none!important;outline:none!important;animation:none!important}.google-flow-budget{font:inherit;color:inherit;white-space:nowrap;background:0 0;margin-left:auto;padding:0}.google-flow-lightning{width:1cap;height:1cap;color:inherit;flex:none}.model-provider-title:has(.google-flow-budget){flex-wrap:wrap;align-items:center;gap:6px;display:flex}
@property --private-chat-history-lift{syntax:"<length>";inherits:true;initial-value:0}.image-chat{isolation:isolate;--private-chat-frame-depth:50px;--private-chat-ui-shift:0px;--private-chat-history-lift:0px;--private-chat-ui-transition:.36s ease-in;transition:--private-chat-history-lift var(--private-chat-ui-transition);position:relative}.image-chat.is-private{--private-chat-ui-shift:max(18px, calc(var(--private-chat-frame-depth) - 18px));--private-chat-history-lift:8px}.private-chat-frame{--private-chat-frame-dot:#bfbfbf;z-index:45;pointer-events:none;visibility:hidden;opacity:0;transform-origin:50%;transition:opacity .17s var(--motion-ease-out), transform .26s var(--motion-ease-out), visibility 0s linear .26s;will-change:auto;isolation:auto;position:absolute;inset:0;overflow:hidden;transform:scale(.988)}.private-chat-frame[data-active=true]{visibility:visible;opacity:1;transition-delay:0s;transform:none}.private-chat-frame__canvas{z-index:2;opacity:.94;pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}.private-chat-frame__blur-layer{z-index:1;pointer-events:none;position:absolute;inset:0}.private-chat-frame__blur{z-index:0;opacity:1;-webkit-backdrop-filter:blur(14px)saturate(112%);backdrop-filter:blur(14px)saturate(112%);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.private-chat-frame__blur--top{background:linear-gradient(#ffffff3d,#0000 100%);-webkit-mask-image:linear-gradient(#000 0%,#000000eb 28%,#00000073 62%,#0000 100%);mask-image:linear-gradient(#000 0%,#000000eb 28%,#00000073 62%,#0000 100%)}.private-chat-frame__blur--right{background:linear-gradient(270deg,#ffffff3d,#0000 100%);-webkit-mask-image:linear-gradient(270deg,#000 0%,#000000eb 28%,#00000073 62%,#0000 100%);mask-image:linear-gradient(270deg,#000 0%,#000000eb 28%,#00000073 62%,#0000 100%)}.private-chat-frame__blur--bottom{background:linear-gradient(#0000 0%,#ffffff3d);-webkit-mask-image:linear-gradient(#0000 0%,#00000073 38%,#000000eb 72%,#000 100%);mask-image:linear-gradient(#0000 0%,#00000073 38%,#000000eb 72%,#000 100%)}.private-chat-frame__blur--left{background:linear-gradient(90deg,#ffffff3d,#0000 100%);-webkit-mask-image:linear-gradient(90deg,#000 0%,#000000eb 28%,#00000073 62%,#0000 100%);mask-image:linear-gradient(90deg,#000 0%,#000000eb 28%,#00000073 62%,#0000 100%)}html[data-theme=dark] .private-chat-frame__blur--top{background:linear-gradient(#17181bb8,#0000 100%)}html[data-theme=dark] .private-chat-frame__blur--right{background:linear-gradient(270deg,#17181bb8,#0000 100%)}html[data-theme=dark] .private-chat-frame__blur--bottom{background:linear-gradient(#0000 0%,#17181bb8)}html[data-theme=dark] .private-chat-frame__blur--left{background:linear-gradient(90deg,#17181bb8,#0000 100%)}html[data-theme=dark] .private-chat-frame{--private-chat-frame-dot:#919191}html[data-theme] .app-shell :is(.chat-top-actions,.gallery-toolbar-actions) .chat-privacy-toggle.is-private,html[data-theme] .app-shell :is(.chat-top-actions,.gallery-toolbar-actions) .chat-privacy-toggle.is-private:hover:not(:disabled),html[data-theme] .app-shell :is(.chat-top-actions,.gallery-toolbar-actions) .chat-privacy-toggle.is-private:focus-visible{background:var(--brand-blue);color:#fff}html[data-theme] .app-shell .image-chat.is-private .chat-mode-switcher{z-index:47}@media (max-width:900px){.image-chat{--private-chat-frame-depth:46px}}@media (prefers-reduced-motion:reduce){.image-chat{--private-chat-ui-transition:0s linear}.private-chat-frame{will-change:auto;transition:none;transform:none}}.app-shell .image-chat-main.view-split{grid-template-columns:minmax(0, var(--studio-composer-share)) minmax(0, calc(100% - var(--studio-composer-share)));grid-template-rows:minmax(0,1fr)}.app-shell .image-chat-main:is(.view-chat,.view-flow){background:var(--canvas);grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.app-shell .image-chat-main:is(.view-chat,.view-flow) .image-chat-scroll{background:var(--canvas);grid-area:1/1;width:100%;height:100%;padding:128px 88px 352px}html body .app-shell .image-chat>.image-chat-main.view-chat>.image-chat-scroll{--chat-history-top:128px;padding-top:calc(var(--chat-history-top) - var(--private-chat-history-lift))}@media (max-width:900px){html body .app-shell .image-chat>.image-chat-main.view-chat>.image-chat-scroll{--chat-history-top:12px}}@media (max-width:900px) and (max-height:500px){html body .app-shell .image-chat>.image-chat-main.view-chat>.image-chat-scroll{padding-bottom:calc(24px - 2 * var(--private-chat-history-lift))}}.app-shell .image-chat-main.view-chat .studio-results-top-blur{width:100%;left:0;right:0}.app-shell .image-chat-main.view-flow .image-chat-scroll{padding:0 0 292px}.app-shell .image-chat-main.view-flow .session-flow-gallery{background:var(--canvas);min-height:100%}.app-shell .image-chat-main.view-split .image-chat-scroll{background:var(--studio-results);padding:86px 0 24px;overflow-x:hidden}.app-shell .view-split .chat-thread.split-feed{gap:16px;width:100%;min-width:0;max-width:none;margin:0}.app-shell .view-split .split-generation-block{box-sizing:border-box;background:var(--studio-surface);width:100%;min-width:0;max-width:100%;color:var(--studio-text);flex-direction:column;align-self:start;gap:14px;padding:20px;display:flex;position:relative}.app-shell .view-split .split-generation-block.chat-media-turn{gap:14px;padding:20px}.app-shell .view-split .split-generation-block.chat-media-turn .chat-user-row,.app-shell .view-split .split-generation-block.chat-media-turn .chat-assistant-row{padding:0;display:block}.app-shell .view-split .split-generation-block.chat-media-turn .chat-user-stack{align-items:flex-start;gap:9px;width:100%;max-width:100%;display:flex}.app-shell .view-split .split-generation-block.chat-media-turn .chat-user-message{background:0 0;width:fit-content;max-width:100%;padding:0}.app-shell .view-split .split-generation-block.chat-media-turn .chat-assistant-row{order:3}.app-shell .view-split .split-generation-block.chat-media-turn .chat-response-card{background:0 0;width:min(100%,620px);max-width:100%;padding:0}.app-shell .view-split .split-generation-block :is(.chat-user-row,.chat-assistant-row){display:contents}.app-shell .view-split .split-generation-block .chat-user-stack{order:2;width:fit-content;max-width:100%;padding:0;display:block}.app-shell .view-split .split-generation-block .chat-assistant-content{width:auto;display:contents}.app-shell .view-split .split-generation-block .chat-turn-meta{color:var(--studio-muted);order:1;margin:0}.app-shell .view-split .split-generation-block .generation-progress:not(.is-compact){order:1}.app-shell .view-split .split-generation-block .chat-output-grid,.app-shell .view-split .split-generation-block .chat-response-error{order:3;width:100%;max-width:none}.app-shell .view-split .split-generation-block .chat-user-message{width:fit-content;max-width:100%;min-height:0;color:var(--studio-text);background:0 0;border:0;padding:0}.app-shell .view-split .split-generation-block .chat-user-message p{color:var(--studio-text)}.app-shell .view-split .split-generation-block .chat-message-attachments{margin-bottom:10px}html[data-theme=dark] .app-shell .image-chat-main.view-split{background:var(--studio-results);color:var(--studio-text)}html[data-theme=dark] .app-shell .view-split .split-generation-block{color:var(--studio-text);background:#202124}html[data-theme=dark] .app-shell .view-split .split-generation-block .chat-user-message,html[data-theme=dark] .app-shell .view-split .split-generation-block .chat-user-message p{color:var(--studio-text)}.app-shell .mode-switcher{align-items:center;gap:30px}.app-shell .mode-switcher>button{min-width:0;height:40px;min-height:40px;color:var(--studio-text);border-radius:0;align-items:center;padding:0;font:400 16px/24px Rubik,sans-serif;display:inline-flex;position:relative;box-shadow:none!important;background:0 0!important;border:0!important}.app-shell .mode-switcher>button.active{color:var(--studio-text);font-weight:500}.app-shell .mode-switcher>button:after{content:"";background:0 0;height:2px;position:absolute;bottom:2px;left:0;right:0}.app-shell .mode-switcher>button.active:after{background:var(--brand-blue)}.app-shell .library-page:not(.new-chat-page){background:var(--studio-results);grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.app-shell .library-page:not(.new-chat-page)>.asset-gallery{grid-area:1/1;width:100%;min-width:0;padding-bottom:112px}.app-shell .library-page:not(.new-chat-page)>.library-prompt-composer-wrap{z-index:48;background:0 0;width:auto;height:auto;min-height:0;padding:0 max(88px,50% - 609px) 22px;position:absolute;bottom:0;left:0;right:0}.app-shell .library-page:not(.new-chat-page) .library-prompt-composer{width:min(var(--ui-content-width), 100%);height:252px;min-height:173px;margin:0 auto}.app-shell .library-page:not(.new-chat-page)>.library-empty-welcome{width:auto;left:24px;right:24px}.app-shell .library-page.new-chat-page{background:var(--canvas);flex-direction:column;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);justify-content:center;gap:24px;display:flex}.app-shell .new-chat-page>.new-chat-top-actions{z-index:49;right:24px}@media (max-width:900px){.app-shell .new-chat-page>.new-chat-top-actions{top:8px;right:12px}}.app-shell .new-chat-page>.new-chat-welcome{grid-area:1/1;align-self:start;width:min(501px,100% - 40px);margin:0 auto}.app-shell .new-chat-page>.new-chat-composer-wrap{z-index:48;width:min(var(--ui-content-width), calc(100% - 176px));background:0 0;grid-area:auto;height:auto;min-height:0;margin:0 auto;padding:0;position:relative;inset:auto;transform:none!important}.app-shell .new-chat-page>.new-chat-composer-wrap>.surface-blur{display:none}.app-shell .new-chat-page>.new-chat-composer-wrap.is-empty-state:not(.is-expanded){transform:none!important}.app-shell .new-chat-page .library-chat-mode-switcher{left:24px}.app-shell .new-chat-page:has(>[data-view=split]){grid-template-columns:minmax(0, var(--studio-composer-share)) minmax(0, calc(100% - var(--studio-composer-share)));background:var(--studio-results);gap:0;display:grid}.app-shell .new-chat-page>.new-chat-composer-wrap[data-view=split]{background:var(--studio-surface);border-right:1px solid var(--studio-control);grid-area:1/1;width:100%;height:100%;margin:0}.app-shell .new-chat-page:has(>[data-view=split])>.new-chat-welcome{grid-column:2;align-self:center;width:min(501px,100% - 48px)}.app-shell .new-chat-page:has(>[data-view=split])>.library-chat-mode-switcher{left:calc(var(--studio-composer-share) + 24px)}.app-shell .new-chat-page>[data-view=split] .composer-resize-handle{display:none}@media (min-width:901px){.app-shell .new-chat-page>.new-chat-composer-wrap:has(.tts-composer):not([data-view=split]){width:auto;height:auto;padding:0 max(88px,50% - 609px);position:absolute;left:0;right:0;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important}.app-shell .new-chat-page>.new-chat-composer-wrap:has(.tts-composer):not([data-view=split])>.new-chat-composer{width:min(var(--ui-content-width), 100%);margin:0 auto;overflow:visible;height:var(--studio-composer-height,min(620px, calc(100dvh - 48px)))!important;min-height:0!important;max-height:min(620px,100dvh - 48px)!important}.app-shell .new-chat-page>.new-chat-composer-wrap:has(.tts-composer):not([data-view=split])>.new-chat-composer>.tts-composer{height:100%;max-height:none}.app-shell .new-chat-page>.new-chat-composer-wrap[data-view=split]:has(.tts-composer){width:100%;height:100%;margin:0;padding:0;position:relative;inset:auto!important;transform:none!important}.app-shell .new-chat-page>.new-chat-composer-wrap[data-view=split]:has(.tts-composer)>.new-chat-composer{width:100%;margin:0;overflow:hidden;height:100%!important;min-height:0!important;max-height:none!important}.app-shell .new-chat-page>.new-chat-composer-wrap[data-view=split]:has(.tts-composer)>.new-chat-composer>.tts-composer{height:100%;max-height:none}.app-shell .library-page:not(.new-chat-page) .library-prompt-composer:has(.tts-composer){max-height:min(740px,80vh);overflow:visible;height:var(--studio-composer-height,min(740px, 80vh))!important;min-height:0!important}.app-shell .library-page:not(.new-chat-page) .library-prompt-composer:has(.tts-composer) .tts-composer{height:100%;max-height:none}}.app-shell .library-page:not(.new-chat-page) .gallery-date-group h2{height:24px;color:var(--studio-text);margin:0 0 12px;font:400 16px/24px Rubik,sans-serif}.app-shell .library-page:not(.new-chat-page) .gallery-date-group+.gallery-date-group h2{margin-top:24px}.app-shell .image-chat-main.view-flow .session-flow-gallery .gallery-toolbar{background:0 0;height:70px;min-height:70px;padding:18px 24px 12px}.app-shell .image-chat-main.view-flow .session-flow-gallery .gallery-toolbar-scope{align-items:center;gap:0;height:40px;display:flex}.app-shell .image-chat-main.view-flow .session-flow-gallery .gallery-source-filter{flex:none;width:18px;height:40px;margin-left:30px;position:relative}.app-shell .image-chat-main.view-flow .session-flow-gallery .gallery-filter-trigger{width:18px;height:40px;color:var(--studio-text);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:0;display:grid}.app-shell .image-chat-main.view-flow .session-flow-gallery .gallery-filter-trigger.active{color:var(--studio-accent)}.app-shell .image-chat-main.view-flow .session-flow-gallery .gallery-filter-dropdown{z-index:60;background:var(--dropdown-background);width:196px;padding:0;position:absolute;top:40px;left:-18px;box-shadow:0 8px 24px #0000001f}.app-shell .image-chat-main.view-flow .session-flow-gallery .gallery-filter-dropdown label{width:100%;height:52px;color:var(--studio-text);cursor:pointer;align-items:center;gap:14px;padding:0 16px;font:400 15px/22px Rubik,sans-serif;display:flex}.app-shell .image-chat-main.view-flow .session-flow-gallery .gallery-filter-dropdown label:hover{background:var(--dropdown-hover)}.app-shell .image-chat-main.view-flow .session-flow-gallery .gallery-filter-dropdown input{width:18px;height:18px;accent-color:var(--studio-accent);cursor:pointer;margin:0}.app-shell .image-chat-main.view-flow .session-flow-gallery .gallery-toolbar>.surface-blur{z-index:0;pointer-events:none;width:100%;height:90px;top:0;left:0;right:0;display:block!important}.app-shell .image-chat.is-private .image-chat-main.view-flow .session-flow-gallery .gallery-toolbar>.surface-blur{display:none!important}.app-shell .image-chat-main.view-flow .chat-composer{height:300px;min-height:173px;max-height:620px}.app-shell .image-chat-main.view-flow .chat-composer>.reference-uploader{padding:0;left:22px;right:22px;top:22px!important;bottom:auto!important}.app-shell .image-chat-main.view-flow .chat-prompt-editor{height:auto;min-height:62px;max-height:calc(100% - 216px);left:22px;right:22px;top:144px!important;bottom:72px!important}.app-shell .image-chat-main.view-flow .chat-composer :is(.composer-control,.keyboard-layout-button,.chat-send-button){background:var(--studio-control)}.app-shell .view-split .chat-thread.split-feed{margin-left:0;margin-right:0}.app-shell .view-split .split-generation-block .chat-user-row{padding-right:0}.app-shell .view-split .split-generation-block .chat-user-stack{align-items:flex-start}.app-shell .view-split .split-generation-block .chat-message-attachments{justify-content:flex-start}.app-shell .chat-output-grid>.split-output-footer{display:contents}.app-shell .view-split .split-generation-block .chat-output-grid{gap:9px;width:100%;max-width:none;position:static}.app-shell .view-split .split-generation-block .chat-output-grid.count-1{grid-template-columns:minmax(0, var(--frame-width)) minmax(0, 1fr)}.app-shell .view-split .split-generation-block .chat-output-grid.count-2,.app-shell .view-split .split-generation-block .chat-output-grid.count-4{grid-template-columns:repeat(2, minmax(0, var(--frame-width))) minmax(0, 1fr)}.app-shell .view-split .split-generation-block .chat-output-grid.count-3{grid-template-columns:repeat(3, minmax(0, var(--frame-width))) minmax(0, 1fr)}.app-shell .view-split .split-output-footer{box-sizing:border-box;grid-column:1/-1;justify-content:space-between;align-items:center;gap:8px;width:100%;min-width:0;max-width:100%;padding-top:2px;display:flex;aspect-ratio:auto!important}.app-shell .view-split .split-output-footer .chat-turn-meta{min-width:0;min-height:16px;color:var(--studio-muted);white-space:nowrap;text-overflow:ellipsis;text-align:left;flex:auto;order:0;align-items:baseline;margin:0;display:flex;overflow:hidden}.app-shell .view-split .chat-thread.split-feed>.chat-date-divider{text-align:center;justify-content:center;align-items:center;width:100%;min-width:0;max-width:100%;overflow:hidden;display:flex!important}.app-shell .view-split .split-output-footer .chat-turn-meta .generation-progress.is-compact{margin:0}.app-shell .view-split .split-output-footer .chat-output-created-at{width:auto;height:16px;color:var(--studio-muted);flex:none;margin:0;font:400 16px/16px Rubik,sans-serif;position:static;transform:none;aspect-ratio:auto!important}.app-shell .view-split .split-output-loading{isolation:isolate}.app-shell .view-split .split-generation-loading-overlay{z-index:3;background:#ffffff8f;place-items:center;padding:20px;transition:opacity .42s;display:grid;position:absolute;inset:0}.app-shell .view-split .split-generation-loading-overlay.is-game-active{opacity:0;pointer-events:none}.app-shell .view-split .split-generation-loading-overlay .generation-progress{width:min(100%,360px);color:var(--studio-text);text-align:center;margin:0}.app-shell .view-split .split-generation-loading-overlay .generation-progress-header{border-bottom:0;justify-content:center;padding-bottom:0}.app-shell .view-split .split-generation-loading-overlay .generation-progress-percent{display:none}html[data-theme=dark] .app-shell .view-split .split-generation-loading-overlay{background:#0000007a}.app-shell .view-split .split-request-actions{flex:none;margin-inline-start:auto}.app-shell .image-chat-main:is(.view-chat,.view-flow) .chat-composer{height:300px;min-height:173px;max-height:620px}.app-shell .video-submit-row .chat-composer-footer{display:contents}.app-shell .view-split .chat-composer-wrap>.chat-composer{width:100%;position:absolute;bottom:0;left:0;right:0}.app-shell .image-chat-main:is(.view-chat,.view-flow) .chat-composer>.reference-uploader{padding:0;left:22px;right:22px;top:22px!important;bottom:auto!important}.app-shell .image-chat-main:is(.view-chat,.view-flow) .chat-prompt-editor{height:auto;min-height:84px;max-height:calc(100% - 216px);left:22px;right:22px;top:144px!important;bottom:72px!important}.app-shell .image-chat-main:is(.view-chat,.view-flow) .chat-composer :is(.composer-control,.keyboard-layout-button,.chat-send-button){background:var(--studio-control)}.app-shell .image-chat-main:is(.view-chat,.view-flow,.view-split) .chat-mode-switcher,.app-shell .image-chat-main.view-flow .gallery-toolbar-scope>.mode-switcher{height:40px;min-height:40px}.app-shell .image-chat-main.view-flow .session-flow-gallery .gallery-toolbar{padding-top:22px;padding-bottom:8px}.app-shell .asset-gallery .gallery-date-group h2,.app-shell .asset-gallery .gallery-date-group .gallery-group-toggle{color:var(--studio-text);font:400 16px/24px Rubik,sans-serif}.app-shell .asset-gallery .gallery-group-toggle{background:0 0;border:0}.app-shell .chat-scroll-to-bottom{bottom:22px}.app-shell :is(.gallery-scroll-to-top,.chat-scroll-to-bottom){right:24px}.app-shell .new-chat-composer>.reference-uploader{padding:0;left:22px;right:22px;top:22px!important;bottom:auto!important}.app-shell .new-chat-composer .chat-prompt-editor{height:auto;min-height:24px;max-height:calc(100% - 216px);left:22px;right:22px;top:144px!important;bottom:72px!important}.app-shell .new-chat-composer :is(.composer-control,.keyboard-layout-button,.chat-send-button){background:var(--studio-control)}.app-shell .image-chat-main:is(.view-chat,.view-split) :is(.chat-mode-switcher,.chat-top-actions,.chat-scroll-to-bottom,.chat-delete-undo){transition:transform var(--private-chat-ui-transition)}.app-shell .image-chat.is-private .image-chat-main:is(.view-chat,.view-split) .chat-mode-switcher{z-index:47;transform:translate3d(var(--private-chat-ui-shift), var(--private-chat-ui-shift), 0)}.app-shell .image-chat.is-private .image-chat-main:is(.view-chat,.view-split) .chat-top-actions{z-index:47;transform:translate3d(calc(-1 * var(--private-chat-ui-shift)), var(--private-chat-ui-shift), 0)}.app-shell .image-chat.is-private .image-chat-main:is(.view-chat,.view-split) :is(.chat-scroll-to-bottom,.chat-delete-undo){transform:translate3d(calc(-1 * var(--private-chat-ui-shift)), calc(-1 * var(--private-chat-ui-shift)), 0)}.app-shell .image-chat-main.view-flow .session-flow-gallery .gallery-toolbar :is(.gallery-toolbar-scope,.gallery-toolbar-actions){transition:transform var(--private-chat-ui-transition)}.app-shell .image-chat.is-private .image-chat-main.view-flow .session-flow-gallery .gallery-toolbar{z-index:47}.app-shell .image-chat.is-private .image-chat-main.view-flow .session-flow-gallery .gallery-toolbar-scope{transform:translate3d(var(--private-chat-ui-shift), var(--private-chat-ui-shift), 0)}.app-shell .image-chat.is-private .image-chat-main.view-flow .session-flow-gallery .gallery-toolbar-actions{transform:translate3d(calc(-1 * var(--private-chat-ui-shift)), var(--private-chat-ui-shift), 0)}.app-shell .image-chat-main.view-flow :is(.gallery-scroll-to-top,.chat-delete-undo){transition:transform var(--private-chat-ui-transition)}.app-shell .image-chat.is-private .image-chat-main.view-flow :is(.gallery-scroll-to-top,.chat-delete-undo){transform:translate3d(calc(-1 * var(--private-chat-ui-shift)), calc(-1 * var(--private-chat-ui-shift)), 0)}@media (max-width:900px){.app-shell .image-chat-main.view-split{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr)}.app-shell .view-split .image-chat-scroll{grid-area:1/1;padding:70px 16px 24px}.app-shell .view-split .chat-composer-wrap{grid-area:2/1;height:auto}}
:root{--motion-fast-duration:.16s;--motion-medium-duration:.24s;--motion-slow-duration:.4s;--motion-ease:cubic-bezier(.22, 1, .36, 1);--motion-ease-exit:ease-in;--motion-press-duration:.14s;--motion-small-duration:var(--motion-fast-duration);--motion-hover-duration:var(--motion-fast-duration);--motion-release-duration:var(--motion-fast-duration);--motion-card-duration:var(--motion-medium-duration);--motion-panel-duration:.3s;--motion-morph-duration:var(--motion-slow-duration);--motion-exit-duration:.18s;--motion-morph-exit-duration:.3s;--motion-dropdown-duration:.18s;--motion-dropdown-exit-duration:.12s;interpolate-size:allow-keywords}@media (prefers-reduced-motion:no-preference){.reveal-chat-toolbar>.chat-top-actions>:is(.chat-search-control,.notification-center),.reveal-chat-toolbar .session-flow-gallery .gallery-toolbar-actions>:is(.gallery-search,.notification-center){animation:chat-toolbar-reveal var(--motion-medium-duration) var(--motion-ease)}}@keyframes chat-toolbar-reveal{0%{opacity:0}to{opacity:1}}html body :is(button,a[href],[role=button],summary,label[for]){transition-timing-function:var(--motion-ease);transition-property:transform,opacity!important}html body :is(button:not(:disabled),a[href]):is(:active,[data-pressing=true]){transform:scale(.97);transition:transform var(--motion-press-duration) var(--motion-ease), opacity var(--motion-fast-duration) var(--motion-ease)!important}html body :is(button,a[href],[role=button]):hover{filter:none}html body .gallery-card[role=button]:is(:hover,:active,[data-pressing=true]),html body .gallery-card[role=button]:hover>img{transform:none}.gallery-date-group{animation:none}.gallery-card,.chat-turn,.notification-item{animation-delay:0s!important}@keyframes motion-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes motion-dropdown{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes motion-modal{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes generated-content-reveal{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes generated-image-reveal{0%{opacity:0}to{opacity:1}}.generated-image-reveal img{animation-duration:var(--motion-medium-duration);animation-delay:0s}.motion-exit{filter:none;transition:opacity var(--motion-exit-duration) var(--motion-ease-exit), transform var(--motion-exit-duration) var(--motion-ease-exit)}.motion-presence{animation:none!important}.motion-presence[inert]{pointer-events:none}.media-lightbox-dialog{animation:none!important}.media-lightbox-backdrop[data-morph-state=entering]{animation:motion-backdrop var(--motion-slow-duration) var(--motion-ease) both}.media-lightbox-backdrop[data-morph-state=exiting]{animation:lightbox-backdrop-exit var(--motion-morph-exit-duration) var(--motion-ease-exit) both}.image-lightbox-backdrop[data-morph-state=settled],.media-lightbox-backdrop[data-morph-state=settled]{opacity:1;animation:none!important}html body :is(.chat-composer,.chat-prompt-editor,.chat-output-grid,.gallery-grid,.chat-thread,.primary-nav,.notification-list,.app-shell,.app-main,.app-sidebar,.notification-trigger){transition-property:transform,opacity!important}html body :is(.notification-badge,.notification-bell){filter:none;transition:opacity var(--motion-fast-duration) var(--motion-ease), transform var(--motion-medium-duration) var(--motion-ease)}html body :is(.asset-library-popover,.notification-popover,.image-lightbox-dialog,.image-lightbox-morph-target,.image-lightbox-thumbnails,.notification-badge),.asset-library-modal-layer:before{will-change:auto}.asset-library-modal-layer[data-overlay-state=closing]:before{animation-duration:var(--motion-exit-duration);animation-timing-function:var(--motion-ease-exit)}.image-lightbox-backdrop[data-morph-state=exiting],.image-lightbox-backdrop[data-morph-state=exiting] .image-lightbox-thumbnails{animation-duration:var(--motion-morph-exit-duration);animation-timing-function:var(--motion-ease-exit)}@keyframes lightbox-backdrop-enter{0%{opacity:0}to{opacity:1}}@keyframes lightbox-backdrop-exit{0%{opacity:1}to{opacity:0}}.switch__thumb{transition:transform var(--motion-fast-duration) var(--motion-ease)}.switch[data-checked=true] .switch__thumb{left:4px;transform:translate(16px)}.composer-count strong{font-variant-numeric:tabular-nums;justify-content:center;align-items:center;display:inline-flex}.composer-count strong span{color:inherit;font:inherit;letter-spacing:inherit}.composer-count-window{height:1lh;display:inline-block;overflow:hidden}.composer-count-digits,.composer-count-digits>span{display:block}@media (prefers-reduced-motion:no-preference){.composer-count-digits{transition:transform var(--motion-fast-duration) var(--motion-ease)}}@keyframes image-placeholder{0%{opacity:.55}to{opacity:1}}html body .chat-output-placeholder:after,html body :is(.library-skeleton i,.gallery-image-loading-shimmer){animation:1.8s ease-in-out infinite alternate image-placeholder}html body :is(svg,.chat-generation-activity,.generation-progress-shimmer,.generation-progress-spinner,.generation-spinner,.composer-attachment-spinner){animation-timing-function:ease-in-out}.gallery-card :is(img,video)[data-preview-ready=false]{opacity:0}.gallery-card :is(img,video)[data-preview-ready=true]{opacity:1}html body .gallery-card>img,html body .gallery-card .gallery-media-preview-video>video{transition:opacity var(--motion-medium-duration) var(--motion-ease)}html body .gallery-card .gallery-media-preview{animation:generated-image-reveal var(--motion-medium-duration) var(--motion-ease) both}html body .gallery-card.generated-image-reveal>img{animation:none}.gallery-media-preview-video{aspect-ratio:var(--media-aspect-ratio,16 / 9)}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important;animation-delay:0s!important}html body :is(button,a[href]):is(:active,[data-pressing=true]){transform:none!important}}
