.studio-ui .header-panel-anchor{display:flex;align-items:center;flex:0 0 auto}.studio-ui .tool-head>.header-panel-anchor{margin-left:auto}.studio-ui .header-panel-anchor>.header-more,.studio-ui .header-panel-anchor>.profile-trigger{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;padding:0}.studio-ui .header-panel-anchor>.profile-trigger{font:600 14px/1 Arial,sans-serif;color:#dce6f6}.studio-ui .header-panel-anchor>.profile-trigger,.studio-ui .profile-monogram{border:2px solid transparent;background:linear-gradient(var(--profile-fill,#23262c) 0 0) padding-box,conic-gradient(from -45deg,#ea4335 0 90deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc04 270deg 1turn) border-box;box-shadow:inset 0 0 0 2px #101114}@media (forced-colors:active){.studio-ui .header-panel-anchor>.profile-trigger,.studio-ui .profile-monogram{border-color:ButtonText}}.studio-ui .header-more:hover,.studio-ui .header-more[aria-expanded=true]{background:#242424}.studio-ui .header-more svg{width:20px;height:20px}.studio-ui .header-panel{position:fixed;inset:auto;margin:0;box-sizing:border-box;border:1px solid #383839;border-radius:18px;max-width:calc(100vw - 16px);overflow:auto;overscroll-behavior:contain;text-align:left;background:#222223;color:#f2f2f2;box-shadow:0 8px 30px #0006}.studio-ui .header-panel::backdrop{background:transparent}.studio-ui .header-panel:not(:popover-open){display:none}.studio-ui .header-panel button:focus-visible,.studio-ui .header-panel-anchor>button:focus-visible{outline:2px solid #aac8ff;outline-offset:-2px}.studio-ui .header-menu{width:258px;padding:8px}.studio-ui .header-menu>button{display:flex;align-items:center;gap:12px;width:100%;min-height:40px;padding:8px 14px;border:0;border-radius:10px;background:transparent;text-align:left;font:500 14px/20px Arial,sans-serif}.studio-ui .header-menu>button:focus-visible,.studio-ui .header-menu>button:hover{background:#343436}.studio-ui .header-menu svg,.studio-ui .profile-card svg{width:18px;height:18px;flex:none}.studio-ui .profile-card{width:356px;padding:14px}.studio-ui .profile-credits{display:flex;align-items:center;gap:10px}.studio-ui .profile-identity{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;column-gap:10px;margin-bottom:14px}.studio-ui .profile-card .profile-switch{display:grid;place-items:center;position:relative;width:44px;height:44px;padding:0;border-radius:50%;background:transparent}.studio-ui .profile-monogram{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;--profile-fill:#363d49;color:#e2eafa;font-weight:600}.studio-ui .profile-switch-badge{position:absolute;right:-1px;bottom:-1px;display:grid;place-items:center;width:22px;height:22px;border:2px solid #222223;border-radius:50%;background:#d5e2f5;color:#192437}.studio-ui .profile-switch-badge svg{width:13px;height:13px;stroke-width:2.25}.studio-ui .profile-switch:is(:hover,:focus-visible) .profile-switch-badge{background:#fff}.studio-ui .profile-name{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;min-width:0}.studio-ui .profile-name strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px}.studio-ui .profile-email{display:flex;min-width:0;color:#bfc0c3;font-size:12px}.studio-ui .profile-email>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.studio-ui .profile-mailbox{min-width:0}.studio-ui .profile-domain{flex:0 0 auto;max-width:65%}.studio-ui .profile-close{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:50%}.studio-ui .profile-close:hover{background:#38383a}.studio-ui .profile-balance{padding:14px;background:#303032;border-radius:12px;font-size:13px}.studio-ui .profile-credits strong{margin-left:auto;font-size:16px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.studio-ui .profile-card .profile-request-credits{margin-top:14px;width:100%;min-height:44px;border:0;border-radius:24px;color:#161617;background:#e6e6e8;font-weight:600}.studio-ui .profile-card .profile-request-credits:hover{background:white}@media (orientation:landscape) and (max-height:480px){.studio-ui .profile-balance{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:8px 10px}.studio-ui .profile-card .profile-request-credits{width:auto;margin:0;padding:0 16px}}@media (min-width:840px){.studio-ui .header-menu>.compact-only{display:none}}@media (max-width:839px){.studio-ui .header-panel-anchor>.header-more,.studio-ui .header-panel-anchor>.profile-trigger{width:36px;height:36px}}.studio-ui .generation-workspace{position:fixed;width:min(660px,calc(100% - 32px));max-width:660px;left:50%;right:auto;bottom:calc(32px + env(safe-area-inset-bottom, 0px) + var(--keyboard-gap, 0px));transform:translateX(-50%);z-index:12}.studio-ui .generation-workspace .composer{position:relative;box-sizing:border-box;width:100%;max-width:none;display:flex;flex-direction:column;align-items:stretch;height:auto;min-height:0;padding:11px 8px;border-radius:28px;background:rgba(22,23,24,.94);border:1px solid rgba(218,220,224,.055);gap:0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);color:#e3e3e3}.studio-ui .generation-limit-note{position:absolute;bottom:100%;inset-inline:0;width:fit-content;max-width:100%;margin:0 auto 8px;padding:6px 12px;border-radius:14px;background:#222;color:#e0e0e0;font-size:12px;text-align:center}.studio-ui .extension-limit-note{color:#bfc0c2;font-size:12px}.studio-ui .generation-workspace .reference-bar{box-sizing:border-box;display:flex;align-items:center;gap:8px;height:60px;padding:0 8px 4px;flex-shrink:0}.studio-ui .generation-workspace .frame-well{position:relative;flex:0 0 56px;width:56px;height:56px}.studio-ui .generation-workspace :is(.frame-slot,.ref-photo){box-sizing:border-box;padding:0;width:56px;height:56px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(218,220,224,.15);border-radius:12px;background:transparent;color:#e3e3e3;font:500 12px/16px Arial,sans-serif}.studio-ui .generation-workspace .frame-slot:is(:hover,:focus-visible,[aria-expanded=true]){background:#303134;border-color:#dadddf}.studio-ui .frame-slot img,.studio-ui .ref-photo{width:100%;height:100%;object-fit:cover}.studio-ui .generation-workspace .swap-frames{width:26px;height:32px;padding:0;background:transparent;display:grid;place-items:center;color:#c4c6c9}.studio-ui .swap-frames svg{width:17px;height:17px}.studio-ui .generation-workspace .swap-frames{position:relative}.studio-ui .swap-frames:disabled{opacity:.45}@media (pointer:coarse){.studio-ui .generation-workspace .swap-frames:after{content:"";position:absolute;inset:-6px -7px}}.studio-ui .generation-workspace .remove-ref{position:absolute;right:-3px;top:-3px;width:21px;height:21px;border-radius:50%;padding:3px;background:#343437;color:white;opacity:0}.studio-ui .remove-ref svg{width:14px;height:14px}.studio-ui .frame-well:has(.ref-photo) .remove-ref,.studio-ui .frame-well:is(:hover,:focus-within) .remove-ref{opacity:1}.studio-ui .generation-workspace #prompt{position:static;transform:none;order:0;box-sizing:border-box;width:100%;max-width:100%;font:400 16px/22px Arial,sans-serif;height:44px;min-height:44px;max-height:116px;border:0;box-shadow:none;color:#e3e3e3;resize:none;background:none;align-self:stretch;padding:10px 8px;margin:0}.studio-ui .generation-workspace .composer-controls{position:static;width:100%;display:flex;align-items:center;justify-content:flex-end;margin:0;gap:6px;height:40px;min-height:0}.studio-ui .composer-controls .spacer{flex:1 1}.studio-ui .generation-workspace .composer-controls>:is(button,div){order:0}.studio-ui .generation-workspace #formatTrigger{white-space:nowrap;min-width:0;height:34px;display:flex;align-items:center;gap:7px;padding:0 12px;background:#252628;border-radius:16px;font:500 12px/16px Arial,sans-serif}.studio-ui .generation-workspace .clear-composer{position:absolute;top:9px;right:10px;background:none;width:26px;height:26px;padding:5px;color:#b8bbc0}.studio-ui .generation-workspace .composer-settings{position:absolute;z-index:4;bottom:63px;top:auto;right:100px;left:auto;width:296px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 122px);overflow-y:auto;display:flex;flex-direction:column;gap:4px;box-sizing:border-box;background:rgba(22,23,24,.97);color:#e3e3e3;border-radius:18px;border:1px solid #353638;padding:8px;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);box-shadow:0 6px 24px #0006}:is(.studio-ui,.guest-format) .composer-settings hr{border:0;border-top:1px solid #3b3c3e;width:100%;margin:4px 0}:is(.studio-ui,.guest-format) .format-choices{display:flex;align-items:stretch;border-radius:12px;overflow:hidden;background:rgba(218,220,224,.08);height:34px;min-height:34px;padding:0}:is(.studio-ui,.guest-format) .format-choices button{flex:1 1;min-width:0;display:flex;justify-content:center;align-items:center;gap:6px;background:none;color:#c5c7ca;border-radius:11px;padding:0 3px;font:500 12px/16px Arial,sans-serif}:is(.studio-ui,.guest-format) .format-choices button[aria-checked=true]{background:rgba(218,220,224,.18);color:#fff}:is(.studio-ui,.guest-format) .format-choices button:focus-visible{outline:2px solid white;outline-offset:-2px}:is(.studio-ui,.guest-format) .length-control{display:grid;align-content:center;padding:0 8px;gap:9px;min-height:52px;color:#ddd;font:500 12px/16px Arial,sans-serif}:is(.studio-ui,.guest-format) .length-control span{display:flex;justify-content:space-between}:is(.studio-ui,.guest-format) .length-control input{appearance:none;-webkit-appearance:none;min-height:0;height:4px;margin:3px 0 8px;width:100%;border:0;border-radius:3px;cursor:pointer;padding:0}:is(.studio-ui,.guest-format) .length-control input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;height:16px;width:6px;border-radius:5px;background:#eee;box-shadow:0 0 0 2px #242526}:is(.studio-ui,.guest-format) .composer-settings .cost-line{margin:2px 0 0;padding:6px 4px 2px;text-align:center;font:400 12px/16px Arial,sans-serif;color:#b4b7bb}:is(.studio-ui,.guest-format) .cost-line b{font-weight:500;color:#e3e3e3}.studio-ui .generation-workspace.compact-mode .composer:has(#prompt:placeholder-shown):not(.prompt-editing){height:56px;display:grid;align-items:center;grid-template-columns:minmax(0,1fr) auto;padding:6px 8px 6px 46px}.studio-ui .generation-workspace.compact-mode .composer:has(#prompt:placeholder-shown):not(.prompt-editing) #addIngredient{position:absolute;left:6px}.studio-ui .generation-workspace.compact-mode .composer:has(#prompt:placeholder-shown):not(.prompt-editing) .composer-controls{width:auto}.studio-ui .ref-picker{box-sizing:border-box;position:fixed;inset:auto;margin:0;left:var(--picker-x,50%);top:var(--picker-y,50%);transform:translate(-50%,-100%);width:min(780px,calc(100vw - 24px));height:min(580px,calc(100dvh - 86px));max-width:none;max-height:none;padding:12px;border-radius:24px;border:0;background:rgba(22,23,24,.94);color:#f1f1f1;box-shadow:0 8px 32px #0008;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.studio-ui .ref-picker::backdrop{background:transparent}.studio-ui .pick-rail,.studio-ui .pick-shell,.studio-ui .pick-work{display:flex;flex-direction:column;min-height:0;min-width:0;height:100%;gap:5px}.studio-ui .pick-heading,.studio-ui .pick-project,.studio-ui .pick-search{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none}.studio-ui .pick-heading h2{font:500 16px/24px Arial,sans-serif;margin:0;letter-spacing:-.025em}.studio-ui .pick-heading{min-height:37px;padding:0 6px 0 12px}.studio-ui .ref-picker :is(button,select,input){color:inherit;font:500 13px/18px Arial,sans-serif;min-width:0}.studio-ui .ref-picker button{background:transparent;border-radius:10px;display:inline-flex;align-items:center;gap:8px;padding:8px}.studio-ui .ref-picker [aria-selected=true],.studio-ui .ref-picker button:hover{background:#434546}.studio-ui .ref-picker svg{height:17px;width:17px;flex:none}.studio-ui .pick-search label,.studio-ui .pick-url input,.studio-ui .ref-picker select{border:0;border-radius:12px;background:#2b2c2e;height:36px;padding:0 10px}.studio-ui .ref-picker option{background:#212224;color:white}.studio-ui .pick-columns{flex:1 1;min-height:0;display:grid;grid-template-columns:min(16%,120px) minmax(0,1fr);gap:6px}.studio-ui .pick-project select{width:100%}.studio-ui .pick-select{position:relative;min-width:0;width:100%}.studio-ui .pick-search .pick-select{flex:0 0 min(23%,120px)}.studio-ui .pick-select button[role=combobox]{width:100%;height:36px;justify-content:space-between;background:#2a2b2c;color:#b8b9bc;border-radius:13px;padding:0 9px 0 12px;gap:4px;font-weight:600}.studio-ui .pick-select button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-ui .pick-select i{border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:0;border-top:5px solid}.studio-ui .pick-select [aria-expanded=true] i{transform:rotate(180deg)}.studio-ui .pick-options{position:absolute;inset:calc(100% + 4px) 0 auto auto;width:max-content;min-width:min(100%,100px);max-width:min(280px,70vw);max-height:min(240px,48dvh);overflow:auto;z-index:4;background:#202122;color:#e6e6e6;padding:4px;border-radius:12px;box-shadow:0 3px 12px #0006}.studio-ui .pick-project .pick-options{left:0;right:auto}.studio-ui .pick-options [role=option]{padding:9px 14px;font:600 12px/18px Arial,sans-serif;border-radius:10px;cursor:pointer;overflow-wrap:anywhere}.studio-ui .pick-options [role=option]:is(:hover,[data-active=true]){background:#363739}.studio-ui .pick-bottom,.studio-ui .pick-rail [role=tablist]{display:flex;flex-direction:column;gap:4px}.studio-ui .pick-bottom{margin-top:auto}.studio-ui .pick-bottom button,.studio-ui .pick-rail [role=tab]{gap:12px;justify-content:flex-start;padding:0 10px;min-height:36px;white-space:nowrap;font-size:12.5px;font-weight:600}.studio-ui .pick-rail [role=tab]:not([aria-selected=true]){color:#adafb1}.studio-ui .pick-rail [role=tablist]{margin-top:3px}.studio-ui .pick-search label{flex:1 1;display:flex;align-items:center;gap:8px;min-width:0;padding-inline:14px;color:#bbbcc0}.studio-ui .pick-search label:focus-within,.studio-ui .ref-picker button:focus-visible{outline:2px solid #a8c7fa;outline-offset:1px}.studio-ui .pick-search input{background:transparent;border:0;outline:0;width:100%;padding:0;color:#f1f1f1;font-weight:500}.studio-ui .pick-search input::placeholder{color:#adaeb2}.studio-ui .pick-results{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,8fr);gap:6px;min-height:0;flex:1 1}.studio-ui .pick-list{overflow:auto;display:flex;flex-direction:column;gap:4px}.studio-ui .pick-list button{width:100%;text-align:left;min-height:48px;padding:4px;gap:12px;font-size:14px;border-radius:15px;flex:none}.studio-ui .pick-list img{width:40px;height:40px;object-fit:cover;border-radius:10px}.studio-ui .pick-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-ui .pick-preview{min-height:0;min-width:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px;padding:8px;background:#222324;border-radius:16px}.studio-ui .pick-art{display:flex;align-items:center;justify-content:center;min-height:0}.studio-ui .pick-preview img{max-width:100%;max-height:100%;width:auto;height:auto;min-height:0;object-fit:contain;border-radius:12px}.studio-ui .pick-empty button,.studio-ui .pick-preview button,.studio-ui .pick-url button{justify-content:center;background:#fafafa;color:#131415;min-height:34px;font-weight:600}.studio-ui .pick-empty button:hover,.studio-ui .pick-preview button:hover,.studio-ui .pick-url button:hover{background:#dedfe1}.studio-ui .pick-empty{flex:1 1;min-height:0;overflow:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#1e1f20;border-radius:16px;text-align:center;padding:12px}.studio-ui .pick-empty svg{width:25px;height:25px;color:#a6a7aa}.studio-ui .pick-empty strong{font:500 15px/20px Arial,sans-serif}.studio-ui .pick-empty button{padding-inline:14px}.studio-ui .pick-error,.studio-ui .pick-list p{font:400 13px/18px Arial,sans-serif;color:#c2c3c5}.studio-ui .pick-error{color:#ffc9bd}.studio-ui .pick-url{display:flex;gap:8px}.studio-ui .pick-url input{flex:1 1}@media (min-width:1156px){.studio-ui .generation-workspace{left:calc(50% - 8px)}}@media (max-width:839px){.studio-ui .generation-workspace{bottom:calc(24px + env(safe-area-inset-bottom, 0px) + var(--keyboard-gap, 0px))}.studio-ui .generation-workspace .composer,.studio-ui .generation-workspace.compact-mode .composer:has(#prompt:placeholder-shown):not(.prompt-editing){height:auto;display:flex;align-items:stretch;padding:11px 10px 8px;grid-template-columns:none}.studio-ui .generation-workspace.compact-mode .composer:has(#prompt:placeholder-shown):not(.prompt-editing) #addIngredient{position:static}.studio-ui .generation-workspace #prompt{font-size:16px}.studio-ui .generation-workspace .composer-settings{right:clamp(0px,calc(100% - 296px),44px);bottom:60px;max-width:min(296px,100%);max-height:calc(100dvh - 95px)}.studio-ui .frame-well .remove-ref{opacity:1}.studio-ui .ref-picker{transform:none;inset:0;width:100%;height:100dvh;max-height:none;border-radius:0;padding:12px;margin:0;background:#171819}.studio-ui .pick-columns{display:flex;flex-direction:column;gap:12px;height:100%}.studio-ui .pick-rail{height:42px;flex:none}.studio-ui .pick-project{height:100%}.studio-ui .pick-project select{max-width:calc(100% - 44px)}.studio-ui .pick-work{flex:1 1}.studio-ui .pick-search{gap:4px}.studio-ui .pick-search label{min-width:36px}.studio-ui .pick-search button{padding:6px}.studio-ui .pick-search .pick-category{background:#2b2c2e}.studio-ui .pick-results{display:block;overflow:auto}.studio-ui .pick-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(120px,100%),1fr));grid-auto-rows:max-content;align-content:start;height:auto;overflow:visible;gap:8px}.studio-ui .pick-list button{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;text-align:left;padding:4px;gap:4px;min-width:0}.studio-ui .pick-list img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}.studio-ui .pick-list span{padding:2px 4px}.studio-ui .pick-category-list{display:flex;flex-wrap:wrap;gap:4px}}@media (prefers-reduced-motion:no-preference){.studio-ui .composer-settings,.studio-ui .ref-picker[open]{animation:composer-in 115ms ease-out}@keyframes composer-in{0%{opacity:.6}to{opacity:1}}}