@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(data:font/woff2;base64,d09GMgABAAAAAAjYABQAAAAAD0wAAAhrAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhYbchwuP0hWQVKBCT9NVkFSOQZgP1NUQVSBHgBsL2wRCAqFDIQVCxoAMId0ATYCJAMuBCAFhVIHdgwHG1UNUdQsyukusq8SOCcq7Il9U8YYyc4hBYUZskZi+WMmWcM83sEXLlRE1Nrz9uwBfn4fKADMKopImEh2xMakYuOJfPo5fckYZWSJ1IhUAShEvz8D1/MjoYDsVM9nP4+b+V4CCc0nqFX8XOFUWx9M1MjSWXuu0noq4g3wvx8YUbx0A4Dxufr+L8Suffx+ru62IVU87zAJEVKllHvt3uYNUZlo+6Gyila6iWSaJQ95CSpbukVaRwJB/OuyMewc71QwA4qISgSjXRykOu4mWcR2H4iG7d+jBrbV8D+I3MoTA/MIolb0olescxzYxVaigGWIAv6uSWtxu9mt4H4VWlSDB9iDeFC2wtQ2uVAbGvNmS7RmwammcTTYG9th3bYr5O2eHIt369EoyE9jy9ptrmcaWXgg//rn4AKOcgYBvVjUkiiAYBZsynvMSNTlWObVDOX5SQCcep06VyDmL5K9dChe/VkvX4BrZasJfavjPtQfZxrgdQBlWfkKYCuDiF6wMGCT8qAoUYbFSlvYxQFOkNemuMVAKtcBJ9S+j2qyG1S+JW1egPJxfFWXXzChLxcph/SEsdrKc6qeA5Ta2hYquf5+7SKw0nKVYomtHO0D/sPWXwZNOgFT/UUodAVcYp7wl1klYMhmwXJFLAz6GXDDEPIC9KNPSiq4tcb3o7XhlkmbhxQ6+KWsZ4UMw/hXQkaqrSBTPQ8e+R81mME6TPgI4GewCQtQlP9Fh1I8+4jUdV+tWa9n0nlk6sQAXvEOH6Akn5KPuThlTDyfRJKTSCKhCUWSSUIil8RRHM0l/Jr67JKLrL1J0m4HkjUXnpDkOBJLkACJJzGJXBwHHHIxn+YoXrnzqF16fLfd5rcNu3uXUFhv53BL+qj88sO4et8tLvXKCQu3/vL95yTt6d2D4F+zw0CAiyGgXLIC/GdvkrTjp8t+884TXzyJ8aU+i2v3QPqIwrrC4oDsx9nAMZd+l1/yDVx+3E9MQdjC+aA6/94571s73J944j2fXdj3Ms+F9z7Y1OezvvF9P8N70G/W95vkTLVP06m7dFHrppFVk52gOqbf3uJdlueRYiUPsBfpw+7dJblT8mLzplAx5+2Xzr/kdjN55zoccz9n3DcbwUaO135Huii/+co9/dfvZlVNn95U41C/7Bti6/LFn2/E/3xlgjYyfKz2vZYu9m3c6jHTU7+b1XnxP67ShYz3uxwtw9IS4348OFENke/GAD02+whcdNVL5qxTFAjco+yAoDPmTPy9wbTypBeMlFd2/fUeF2EQBXuYwT6Y7OYQJ/lFSJelWcO4+zuRHDe4xgi9GU/LojxwjBTgJaRhTMFsndiE+eSM8fortjPrxQO+ErKFFDkhkJNjE5XVjCemUuaJ9RaFwdj5EVGQ37kDQUGiWBqYEGYAKEQKq7KRAQwdi2y8pkyLMGX9twFEMizztFCrlSRNUKVYw8w3erlA9uMWhu1oeZTe0NJhCmqqLamAekHE0lJB06Sg0Sjo7MHpNCoDAjpamTv2V+RNTpGpaCxNHBUd7YF/4V/8LH4UXIOTcBljvzakIXax5KSYsUMG//zTZ8mTaZvP3wK3A4Kf8Ii9euk+eAFfvxZ0r9MhPV1qZFleLcxTXZOULvYa4mD2+tFME/vqOSHZ2QZdfm2B1bS9MiHPHtfRRNb5PKOisa66hehKpcx8KBP8gAJWVmoeQAENBsGwENhsWllnZ2N9YyMQ7lumtYmk7FjO0CZEr/ej4N/dsM3xrc7nXxARJ/eMtirJ1Cnjh/YMM6lV06eN7g++idili0BpUvDxY8EwDzx48Ky4rQ1omVhp4LriZw/EtQf5iH4wCG9qpsGNq4X1hH8OkAoAI5uUZq2CZYmZYdr76YF4u92mlQHdVJyvNpi0TEdLXa3Mm/vocUN987n6+or8dLin3JKy8g6dubxIKqAqoU0QHI3lxRW1rFotSTZbZWW7xhYU2RXW7RIZERGoZf9y0gxHZPVlsZRCqXZqtaKqLD/9OW/w7MWrV3k1rSkjGUVHeTY0Z5SVdZ5WW2V5/PpSE81au/ZMf5FTQzMKU1R/6j584rQ+fYb/TsWDBg7GhwrnWXm9lNV3UN9QSgMuYSRiJ7Jqi0mj6d69tdVqtTRJD07sg7QnbtzIaqRoe7mstYbSmm22JEq202h0johhsxLIM3GG291VLwecGVCCcj7axOdVirSsoUF2TrxSO4twRglTRg4IgZB78PMWl6W6kYL2AHWRlFspqkJDFYitFEW1IjKmUDF1nerM7CCXBmpys4OCbQSKi4oo3+oMFHZenlpVVyQCIAAgwL1eRvZN9bB6BU0XAQBkhq82AQDkuKLpztiOBySSltAFaBUQvuy26bEU1Y0gCPaeyiYs5s2ipqkuw2r5MzlL+VM+AZTTEeb/K2Ewl6Ox7DLTNRkqLl3px7tHPeA19LkYY87DYmlOwMpe2cXaBv9g4xBfYmuDd3RLHeCebClmN2CldwXWFk7BxugoRdumLV25sP2wt9x2OOhtwtFK490nI46h6RlQXbtHET0XTJrhdWgBTye/QwqGLQ5dEieJJLSsv1lSJD27DBU8ChVOWsvIgT3FtWWAkA2mrk1IS2QaX/1OhCjsTDeSMgy8ESroHDyR0+sSovxmICWkmd6Xs7c97HXIf6gbCShTahu7hog9HEzlvqS8vL5CuMDy03uWmryCw/YD3/zz+F4yWR6Qkbdw9rGXlu1tq5kZzuP6YHcWwqR41wzKjubMl8EcX3DOTnNHaJBTl3L0hVzLpM+olK9llt6oq8LurL/Oq5Ai/x/E3GjGdn4Imyq1Kk3adOkztEf3/yjDY84x5EhidJQ1sV4RT4S9zPs/jEVGJRZ6A4fyv1tDhkhYJN5rwAns7MD0XAA=)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-cyrillic-wght-normal-DXI_y_WF.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-latin-ext-wght-normal-CnNj8hVb.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-latin-wght-normal-CUIqqgP9.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border:0 solid #e5e7eb}:before,:after{--tw-content:""}html,:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:Manrope,IBM Plex Sans,Avenir Next,Segoe UI,sans-serif;line-height:1.5}body{line-height:inherit;margin:0}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:JetBrains Mono,SFMono-Regular,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:#0000;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder{opacity:1;color:#9ca3af}textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\!container{width:100%!important}.container{width:100%}@media (width>=640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (width>=768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (width>=1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (width>=1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (width>=1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.mt-2{margin-top:.5rem}.block{display:block}.inline{display:inline}.table{display:table}.grid{display:grid}.hidden{display:none}.h-12{height:3rem}.transform{transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes riseIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.text-sm{font-size:.875rem;line-height:1.25rem}.text-\[var\(--text-muted\)\]{color:var(--text-muted)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter,backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}:root{--font-ui:"Onest Variable", "Manrope", "Avenir Next", "Segoe UI", sans-serif;--font-heading:var(--font-ui);--type-label-tracking:.08em;--type-tab-weight:650;--type-control-weight:600;--type-heading-weight:720;--bg-main:#05080d;--bg-accent:radial-gradient(circle at 12% 9%, #ceff4114, transparent 36%), radial-gradient(circle at 76% 16%, #577bff24, transparent 44%), radial-gradient(circle at 82% 84%, #16a3ff1a, transparent 40%);--panel:#0a0e16e6;--panel-strong:#0d121cfa;--panel-soft:#161e2cbd;--text-main:#edf2f9;--text-muted:#8e9caf;--border:#a4b6d233;--focus-ring:#d0ff313d;--brand:#d3ff2f;--brand-soft:#d3ff2f24;--danger:#ff7f7f;--topbar-height:64px;--topbar-padding-y:6px;--topbar-padding-x:18px;--topbar-radius:18px;--topbar-gap:10px;--topbar-group-gap:8px;--topbar-control-height:34px;--topbar-control-radius:8px;--topbar-control-padding-x:12px;--topbar-logo-size:32px;--topbar-tabs-height:38px;--topbar-tabs-padding:3px;--topbar-tab-height:30px;--topbar-tab-padding-x:13px;--topbar-theme-width:58px;--topbar-theme-height:34px;--topbar-theme-thumb-size:26px;--topbar-theme-thumb-offset:3px;--topbar-select-min-width:86px;--topbar-control-font-size:.8rem}:root[data-theme=light]{--bg-main:#f5f7fb;--bg-accent:radial-gradient(circle at 14% 12%, #a6c3ff57, transparent 38%), radial-gradient(circle at 82% 88%, #bbdaff52, transparent 40%);--panel:#ffffffed;--panel-strong:#fffffffa;--panel-soft:#f6f9ffdb;--text-main:#101622;--text-muted:#5e6677;--border:#4954673d;--focus-ring:#4f83ff3d;--brand:#1e3a8a;--brand-soft:#1e3a8a1f;--danger:#d83d3d}*,:before,:after{box-sizing:border-box}html,body,#root{width:100%;height:100%}body{background:var(--bg-main);color:var(--text-main);font-family:var(--font-ui);margin:0}.screen-shell{min-height:100vh;padding:1rem;position:relative}.studio-screen-shell{height:100dvh;min-height:100dvh;padding:.75rem;overflow:hidden}.screen-backdrop{pointer-events:none;background:var(--bg-accent);position:fixed;inset:0}.animate-riseIn{animation:.22s ease-out riseIn}.toggle-switch{align-items:center;gap:.5rem;display:inline-flex}.toggle-switch-input{clip:rect(0, 0, 0, 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.toggle-switch-track{border:1px solid var(--border);background:var(--panel-strong);border-radius:9999px;width:2.35rem;height:1.35rem;padding:.14rem;transition:background-color .16s,border-color .16s}.toggle-switch-thumb{background:var(--text-muted);border-radius:9999px;width:.95rem;height:.95rem;transition:transform .16s,background-color .16s}.toggle-switch-label{color:var(--text-main);font-size:.75rem}.toggle-switch-input:checked+.toggle-switch-track{background:color-mix(in srgb, var(--brand) 45%, transparent);border-color:color-mix(in srgb, var(--brand) 75%, var(--border))}.toggle-switch-input:checked+.toggle-switch-track .toggle-switch-thumb{background:var(--text-main);transform:translate(.98rem)}.toggle-switch-input:focus-visible+.toggle-switch-track{outline:2px solid var(--focus-ring);outline-offset:2px}.toggle-switch-disabled{opacity:.58}.toggle-switch-disabled,.toggle-switch-disabled .toggle-switch-label{cursor:not-allowed}.login-shell{z-index:1;border:1px solid var(--border);background:var(--panel);border-radius:24px;width:min(680px,100%);margin:6vh auto 0;padding:1.25rem;position:relative;box-shadow:0 20px 50px #0000003d}.login-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.login-title{margin:.35rem 0 0;font-size:clamp(1.7rem,3vw,2.1rem);line-height:1.1}.login-subtitle{color:var(--text-muted);margin:.45rem 0 0;font-size:.95rem}.auth-topbar{justify-content:space-between;align-items:center;gap:.75rem;width:100%;margin:0 0 .8rem;padding-bottom:0;display:flex}.auth-topbar .top-controls{align-items:center;gap:var(--topbar-group-gap);width:auto;min-width:0;display:inline-flex}.auth-topbar .top-controls-field{flex:none;width:auto}.auth-topbar .top-controls-select{width:auto;min-width:var(--topbar-select-min-width);min-height:var(--topbar-control-height);border-radius:var(--topbar-control-radius);font-size:var(--topbar-control-font-size);padding:.2rem 1.75rem .2rem .65rem}.auth-topbar .theme-switch{width:var(--topbar-theme-width);height:var(--topbar-theme-height);min-width:var(--topbar-theme-width)}.auth-home-link{min-height:var(--topbar-control-height);padding:0 var(--topbar-control-padding-x);color:var(--text-main);font-size:var(--topbar-control-font-size);white-space:nowrap;background:#0b1018ad;border:1px solid #b6cce529;border-radius:999px;justify-content:center;align-items:center;font-weight:600;text-decoration:none;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s;display:inline-flex}.auth-home-link:hover{background:#0e141ed6;border-color:#d2e6ff3d;transform:translateY(-1px);box-shadow:0 16px 32px #0003}.auth-home-link:focus-visible{border-color:#7deaff85;outline:none;box-shadow:0 0 0 3px #6ee4ff24}.login-form{gap:.7rem;display:grid}.login-footer{border-top:1px solid #b6cce51f;margin-top:1.15rem;padding-top:1rem}.login-shell.login-shell-signup{width:min(820px,100%)}.auth-provider-stack{gap:1rem;display:grid}.auth-provider-card{width:100%;min-height:84px;color:var(--text-main);text-align:left;font:inherit;cursor:pointer;background:#0b1018db;border:1px solid #b6cce529;border-radius:24px;align-items:center;gap:.85rem;padding:.95rem 1.15rem;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s;display:flex}.auth-provider-card:hover:not(:disabled){background:#0e141eeb;border-color:#d2e6ff42;transform:translateY(-1px);box-shadow:0 18px 36px #00000038}.auth-provider-card:focus-visible{border-color:#7deaff85;outline:none;box-shadow:0 0 0 3px #6ee4ff24}.auth-provider-card:disabled{opacity:.48;cursor:not-allowed}.auth-provider-card-active{border-color:#7deaff6b;box-shadow:inset 0 0 0 1px #7deaff29}.auth-provider-icon{letter-spacing:-.04em;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:.95rem;font-weight:800;display:inline-flex}.auth-provider-icon-yandex{color:#fff;background:linear-gradient(145deg,#ff5c47,#ff784f)}.auth-provider-icon-vk{color:#fff;background:linear-gradient(145deg,#2d81ff,#5ea8ff);font-size:.82rem}.auth-provider-icon-email{color:var(--text-main);background:#ffffff14}.auth-provider-icon-email svg{width:20px;height:20px}.auth-provider-title{font-size:clamp(1rem,1.7vw,1.3rem);font-weight:650;line-height:1.12}.auth-divider{color:var(--text-muted);letter-spacing:.18em;text-transform:uppercase;grid-template-columns:1fr auto 1fr;align-items:center;gap:.8rem;font-size:.78rem;display:grid}.auth-divider:before,.auth-divider:after{content:"";background:#b6cce524;height:1px}.auth-email-form{background:#080d15c2;border:1px solid #b6cce529;border-radius:24px;padding:1rem}.auth-email-form-head{gap:.25rem;margin-bottom:.2rem;display:grid}.auth-email-form-title,.auth-email-form-copy{margin:0}.auth-email-form-title{font-size:1rem;font-weight:600}.auth-email-form-copy{color:var(--text-muted);font-size:.92rem}.status-row.auth-switch-row{background:0 0;border:0;justify-content:space-between;padding:.15rem 0}.login-oauth-footer{margin-top:.8rem}:root[data-theme=light] .auth-home-link{color:var(--text-main);background:linear-gradient(#fffffff5,#e8f1fce0),#e6effaeb;border-color:#a2bcdb61;box-shadow:0 14px 28px #5c779b24,inset 0 1px #fffffff0}:root[data-theme=light] .auth-home-link:hover{background:linear-gradient(#fffffffa,#e2eefceb),#e2edfaf5;border-color:#2a58c84d;box-shadow:0 18px 32px #5c779b29,inset 0 1px #fffffff5}:root[data-theme=light] .auth-home-link:focus-visible{border-color:#2a58c875;box-shadow:0 0 0 3px #2a58c81f,0 14px 28px #5c779b1f}:root[data-theme=light] .auth-provider-card,:root[data-theme=light] .auth-email-form{background:linear-gradient(#fffffff0,#f0f7ffd6),#ecf4fde0;border-color:#a2bcdb57;box-shadow:0 16px 30px #5c779b1f,inset 0 1px #fffffff0}:root[data-theme=light] .auth-provider-card:hover:not(:disabled){background:linear-gradient(#fffffffa,#e8f1ffe6),#e8f1fcf0;border-color:#2a58c847;box-shadow:0 20px 34px #5c779b24,inset 0 1px #fffffff5}:root[data-theme=light] .auth-provider-card:focus-visible{border-color:#2a58c870;box-shadow:0 0 0 3px #2a58c81f,0 18px 30px #5c779b1f}:root[data-theme=light] .auth-provider-card:disabled{opacity:1;color:var(--text-muted);background:linear-gradient(#fafcfff0,#f0f6fcd6),#eef4fcd6;border-color:#a2bcdb42;box-shadow:inset 0 1px #ffffffeb}:root[data-theme=light] .auth-provider-card-active{background:linear-gradient(#2a58c81a,#ffffffc7 62%),#ebf4fdf0;border-color:#2a58c852;box-shadow:inset 0 0 0 1px #2a58c814,0 18px 32px #5c779b1f}:root[data-theme=light] .auth-provider-icon-email{color:var(--brand);background:#2a58c81a}:root[data-theme=light] .auth-divider:before,:root[data-theme=light] .auth-divider:after,:root[data-theme=light] .login-footer{border-color:#a2bcdb47}:root[data-theme=light] .auth-divider:before,:root[data-theme=light] .auth-divider:after{background:#a2bcdb47}:root[data-theme=light] .login-oauth-footer .btn-ghost{background:linear-gradient(#fffffff0,#eef6ffdb),#ebf3fde6;border-color:#a2bcdb57;box-shadow:0 12px 26px #5c779b1a,inset 0 1px #fffffff0}:root[data-theme=light] .login-oauth-footer .btn-ghost:disabled{opacity:1;color:var(--text-muted);background:linear-gradient(#fafcfff0,#f1f7fddb),#eff5fcdb;border-color:#a2bcdb3d;box-shadow:inset 0 1px #ffffffeb}@media (width<=720px){.screen-shell{padding:.8rem}.auth-provider-card{border-radius:20px;min-height:72px;padding:.82rem .95rem}.auth-provider-icon{border-radius:11px;width:38px;height:38px}.auth-provider-title{font-size:.96rem}}.login-advanced{border:1px solid var(--border);background:var(--panel-soft);border-radius:18px;gap:.7rem;padding:.75rem;display:grid}.studio-shell{z-index:1;flex-direction:column;gap:.6rem;width:min(1520px,100%);height:100%;min-height:0;margin:0 auto;display:flex;position:relative;overflow:hidden}.studio-split-layout{flex:auto;grid-template-columns:minmax(320px,1.5fr) minmax(0,3.5fr);gap:.65rem;min-height:0;display:grid}.studio-split-left{border:1px solid var(--border);background:linear-gradient(#121824e6,#0c111cfa);border-radius:22px;flex-direction:column;min-height:0;display:flex;overflow:hidden}.studio-split-right{border:1px solid var(--border);background:linear-gradient(#0a0f18db,#080c14fa);border-radius:22px;flex-direction:column;min-height:0;display:flex;overflow:hidden}.split-panel-title{letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted);margin:0;font-size:.76rem}.studio-topbar{z-index:40;border:1px solid var(--border);border-radius:var(--topbar-radius);min-height:var(--topbar-height);padding:var(--topbar-padding-y) var(--topbar-padding-x);justify-content:space-between;align-items:center;gap:var(--topbar-gap);background:linear-gradient(#0a101af2,#080d16e6);flex-shrink:0;display:flex;position:sticky;top:.75rem;box-shadow:0 14px 36px #00000057}.studio-topbar-left{flex-wrap:wrap;align-items:center;gap:.55rem;min-width:0;display:flex}.studio-topbar-brand{align-items:center;gap:.55rem;min-width:0;display:flex}a.studio-topbar-brand{color:inherit;text-decoration:none}.studio-logo-pill{width:var(--topbar-logo-size);height:var(--topbar-logo-size);background:url(/favicon.png?v=20260519a) 50%/contain no-repeat;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.studio-logo-mark{display:none}.media-mode-tabs{min-height:var(--topbar-tabs-height);padding:var(--topbar-tabs-padding);border-radius:calc(var(--topbar-control-radius) + 5px);background:#070c14b8;border:1px solid #a7bbd32e;align-items:center;gap:.15rem;display:inline-flex;box-shadow:inset 0 1px #ffffff0a}.media-mode-tabs-link{min-height:var(--topbar-tab-height);border-radius:var(--topbar-control-radius);padding:0 var(--topbar-tab-padding-x);color:var(--text-muted);font-size:var(--topbar-control-font-size);white-space:nowrap;justify-content:center;align-items:center;font-weight:600;line-height:1;text-decoration:none;transition:color .18s,background-color .18s;display:inline-flex}.media-mode-tabs-link:hover{color:var(--text-main);background:#ffffff0f}.media-mode-tabs-link-active{color:#04131d;background:linear-gradient(145deg,#6cf2ff,#9dffd8);box-shadow:inset 0 0 0 1px #b5fbff61,0 10px 24px #5fe9ff42}.login-media-tabs{align-self:flex-start;margin-bottom:.9rem}:root[data-theme=light] .media-mode-tabs{background:#ffffffc7;border-color:#0f172a14;box-shadow:inset 0 1px #ffffff52}:root[data-theme=light] .media-mode-tabs-link:hover{background:#0f172a0d}:root[data-theme=light] .media-mode-tabs-link-active{color:#04131d;background:linear-gradient(145deg,#6cf2ff,#9dffd8);box-shadow:inset 0 0 0 1px #b5fbff61,0 10px 24px #5fe9ff38}.studio-nav-tabs{scrollbar-width:none;align-items:center;gap:.25rem;display:flex;overflow-x:auto}.studio-nav-tabs::-webkit-scrollbar{display:none}.studio-nav-tab{color:var(--text-muted);cursor:default;white-space:nowrap;background:0 0;border:0;border-radius:10px;padding:.34rem .56rem;font-size:.91rem;font-weight:500}.studio-nav-tab-active{color:var(--text-main);background:#e6efff14}.studio-nav-tab-interactive{cursor:pointer}.studio-nav-tab-interactive:hover{color:var(--text-main)}.studio-topbar-right{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.45rem;display:flex}.studio-topbar-meta,.studio-topbar-actions{min-width:0}.studio-provider-toggle{background:#070c14b8;border:1px solid #a7bbd32e;border-radius:999px;align-items:center;gap:.2rem;padding:.18rem;display:inline-flex;box-shadow:inset 0 1px #ffffff0a}.studio-provider-toggle-button{min-width:0;color:var(--text-muted);font:inherit;white-space:nowrap;background:0 0;border:0;border-radius:999px;padding:.42rem .78rem;font-size:.82rem;font-weight:600}.studio-provider-toggle-button:hover{color:var(--text-main)}.studio-provider-toggle-button-active{color:var(--text-main);background:#dcebff24}.studio-app-chip{border:1px solid var(--border);max-width:220px;color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;background:#c4d6f214;border-radius:999px;padding:.28rem .64rem;font-size:.74rem;overflow:hidden}.studio-topbar .panel-label{color:var(--text-muted);align-items:center;gap:.3rem;font-size:.68rem;font-weight:500;display:flex}.studio-topbar .panel-select{min-height:var(--topbar-control-height);border-radius:var(--topbar-control-radius);padding:.2rem .6rem}.left-mode-tabs{gap:.35rem;display:flex}.left-mode-tab{color:var(--text-muted);cursor:default;background:#cad8ef14;border:0;border-radius:11px;padding:.45rem .65rem;font-size:.84rem;font-weight:600}.left-mode-tab-active{color:var(--text-main);box-shadow:inset 0 -2px 0 var(--brand);background:#e3edff24}.apps-wrap{gap:.4rem;padding:0 .6rem .2rem;display:grid}.apps-scroll{scrollbar-width:thin;gap:.45rem;padding-bottom:.2rem;display:flex;overflow-x:auto}.app-card{background:linear-gradient(#1f293b66,#141b28b3);border:1px solid #a5bad938;border-radius:14px;gap:.44rem;min-width:188px;max-width:220px;padding:.5rem;display:grid}.app-card-content{gap:.2rem;display:grid}.app-card-name{color:var(--text-main);margin:0;font-size:.82rem;font-weight:600;line-height:1.2}.app-card-description{color:var(--text-muted);margin:0;font-size:.72rem;line-height:1.3}.app-required-roles{flex-wrap:wrap;gap:.24rem;display:flex}.stage-operation-chip{border:1px solid var(--border);background:var(--panel);text-transform:uppercase;letter-spacing:.08em;border-radius:999px;padding:.35rem .7rem;font-size:.72rem;position:absolute;top:.8rem;left:.8rem}.input-slots-wrap{flex:auto;min-height:0;padding:.45rem .6rem .7rem;overflow:auto}.input-slots-grid{grid-template-columns:minmax(0,1fr);gap:.65rem;display:grid}.input-slot-card{background:linear-gradient(#1f293b6b,#141b28c7);border:1px solid #a5bad938;border-radius:18px;gap:.42rem;min-width:0;padding:.52rem;display:grid}.input-slot-preview{cursor:pointer;background:#05090f;border:0;border-radius:14px;place-items:center;width:100%;height:116px;padding:.26rem;display:grid;overflow:hidden}.input-slot-preview img,.input-slot-preview video{-o-object-fit:contain;object-fit:contain;-o-object-position:center center;object-position:center center;width:auto;max-width:100%;height:auto;max-height:100%;display:block}.input-slot-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:.34rem;display:grid}.input-slot-actions .chip-button{width:100%;min-height:30px;padding:.35rem .42rem;font-size:.72rem}.input-slot-meta{gap:.16rem;display:grid}.input-slot-name{color:var(--text-main);font-size:.76rem;font-weight:600}.input-slot-mime{color:var(--text-muted);font-size:.68rem}.input-slot-placeholder{text-align:center;width:100%;height:134px;color:var(--text-muted);background:#00000070;border-radius:14px;place-content:center;font-size:.74rem;display:grid}.input-slot-role-row{gap:.22rem;display:grid}.input-slot-role-label{color:var(--text-muted);font-size:.68rem}.input-slot-role-select{border-radius:12px;min-height:32px;padding:.25rem .5rem;font-size:.74rem}.input-slot-badge{color:var(--text-muted);font-size:.68rem}.input-slot-badge-error{color:var(--danger)}.input-slot-add{border:1px dashed var(--border);color:var(--text-main);cursor:pointer;text-align:center;background:linear-gradient(#1f293b4d,#141b288f);border-radius:18px;place-content:center;gap:.36rem;min-height:116px;font-size:.84rem;display:grid}.input-slot-add-plus{border:1px solid var(--border);border-radius:999px;justify-content:center;align-items:center;width:1.8rem;height:1.8rem;margin:0 auto;display:inline-flex}.studio-result-stage{background:radial-gradient(circle at 26% 14%,#7391ff14,#0000 54%),linear-gradient(#0a101bf0,#090e17fa);border:1px solid #9fb4d533;border-radius:22px;flex:auto;justify-content:center;align-items:stretch;min-height:0;margin:0 .65rem .65rem;display:flex;position:relative;overflow:hidden}.result-image-wrap{place-items:center;width:100%;height:100%;padding:.9rem;display:grid}.result-actions{z-index:2;grid-template-columns:repeat(2,minmax(0,auto));gap:.45rem;display:grid;position:absolute;bottom:1rem;right:1rem}.result-actions .chip-button{width:auto;min-width:132px;text-decoration:none}.studio-result-image{-o-object-fit:contain;object-fit:contain;-o-object-position:center center;object-position:center center;background:#000;width:100%;height:100%;display:block}.result-preview-media-hidden{visibility:hidden}.studio-result-empty{color:var(--text-muted);text-align:center;margin:0;padding:1rem;font-size:.9rem}.split-panel-header-right{justify-content:flex-start;align-items:center;display:flex}.result-tabs-row{gap:.4rem;display:flex}.result-tab{min-height:32px;padding:.44rem .72rem;font-size:.8rem}.result-guide{align-content:start;gap:.75rem;width:min(1080px,100%);padding:clamp(1rem,3.2vw,2.3rem);display:grid}.result-guide-title{letter-spacing:.01em;margin:0;font-size:clamp(1.6rem,4.4vw,3.25rem);line-height:1.04}.result-guide-subtitle{color:var(--text-muted);margin:0;font-size:clamp(.9rem,1.7vw,1.18rem)}.result-guide-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;display:grid}.result-guide-card{background:linear-gradient(#121a27a8,#0c121deb);border:1px solid #a9bedd2e;border-radius:18px;min-height:168px;padding:1rem}.result-guide-card-title{letter-spacing:.02em;margin:0;font-size:1.02rem;font-weight:700}.result-guide-card-text{color:var(--text-muted);margin:.62rem 0 0;font-size:.92rem;line-height:1.35}.result-loading-overlay{z-index:4;pointer-events:none;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background:radial-gradient(circle,#05090f1a,#05090f94);place-items:center;display:grid;position:absolute;inset:0}.result-loading-indicator{pointer-events:auto;place-items:center;gap:.65rem;display:grid}.result-loading-spinner{filter:drop-shadow(0 0 16px #a8c5ec33);border-radius:50%;width:clamp(66px,9.2vw,94px);height:clamp(66px,9.2vw,94px);animation:1.12s linear infinite resultSpinnerRotate;display:inline-block;position:relative}.result-loading-spinner:before{content:"";pointer-events:none;border-radius:50%;position:absolute;inset:0;box-shadow:inset 0 0 0 1px #cddef642}.result-loading-blade{transform-origin:50% 100%;clip-path:polygon(50% 0,100% 24%,82% 100%,18% 100%,0 24%);background:linear-gradient(160deg,#eef6fff5 0%,#bdcde6eb 45%,#536282e6 100%);border-radius:999px 999px 42% 42%;width:32%;height:55%;position:absolute;top:50%;left:50%;box-shadow:inset 0 0 0 1px #e4eeff2e}.result-loading-blade-1{transform:translate(-50%,-100%)rotate(0)}.result-loading-blade-2{transform:translate(-50%,-100%)rotate(45deg)}.result-loading-blade-3{transform:translate(-50%,-100%)rotate(90deg)}.result-loading-blade-4{transform:translate(-50%,-100%)rotate(135deg)}.result-loading-blade-5{transform:translate(-50%,-100%)rotate(180deg)}.result-loading-blade-6{transform:translate(-50%,-100%)rotate(225deg)}.result-loading-blade-7{transform:translate(-50%,-100%)rotate(270deg)}.result-loading-blade-8{transform:translate(-50%,-100%)rotate(315deg)}.result-loading-core{background:radial-gradient(circle at 35% 35%,#0d1828bd,#040a14f7 72%);border-radius:50%;width:26%;height:26%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:inset 0 0 0 1px #a6bcdc57}.result-loading-label{color:#e3edfbe0;letter-spacing:.01em;text-transform:uppercase;font-size:.83rem}@keyframes resultSpinnerRotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.prompt-bar{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:linear-gradient(#0e1522f5,#0b111cfa);border:1px solid #a9bedd33;border-radius:20px;padding:.62rem;position:relative;box-shadow:0 18px 36px #00000057}.prompt-row-main{grid-template-columns:1fr;align-items:center;gap:.52rem;display:grid}.prompt-row-main-no-upload{grid-template-columns:1fr}.prompt-input{border:1px solid var(--border);width:100%;color:var(--text-main);background:#070c14b8;border-radius:13px;outline:none;padding:.66rem .74rem;font-size:.97rem}.prompt-run{border-radius:14px;width:100%;min-width:0;height:48px;font-size:1.05rem;box-shadow:0 0 22px #d3ff2f38}.run-loading-content{align-items:center;gap:.5rem;display:inline-flex}.btn-spinner{border:2px solid #00000040;border-top-color:#000;border-radius:999px;width:14px;height:14px;animation:.8s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.prompt-row-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;margin-top:.2rem;display:grid}.chip-select,.chip-button{border:1px solid var(--border);width:100%;color:var(--text-main);background:#1f293ab8;border-radius:11px;min-height:35px;padding:.46rem .58rem;font-size:.78rem;line-height:1.1}.chip-button{cursor:pointer;justify-content:center;align-items:center;display:inline-flex}.prompt-status{color:var(--text-muted);margin:.35rem 0 0;font-size:.78rem}.overlay{opacity:0;pointer-events:none;z-index:29;background:#00000059;transition:opacity .16s;position:fixed;inset:0}.overlay.open{opacity:1;pointer-events:auto}.settings-panel{z-index:30;border:1px solid var(--border);background:var(--panel-strong);border-radius:22px 22px 0 0;width:min(920px,100%);max-height:82vh;padding:.9rem;transition:transform .18s;position:fixed;bottom:0;left:50%;overflow:auto;transform:translate(-50%,100%);box-shadow:0 24px 50px #00000042}.settings-panel.open{transform:translate(-50%)}.settings-grid{gap:.75rem;display:grid}.bottom-sheet{z-index:32;width:min(680px,100% - 1.5rem);max-height:min(var(--sheet-max-height), 760px);padding:.75rem .75rem max(.9rem, env(safe-area-inset-bottom));border:1px solid var(--border);background:var(--panel-strong);border-radius:24px 24px 0 0;grid-template-rows:auto minmax(0,1fr);gap:.8rem;transition:transform .18s;display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%,102%);box-shadow:0 24px 50px #0000004d}.bottom-sheet.open{transform:translate(-50%)}.bottom-sheet-dropdown{pointer-events:none;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);opacity:0;background:linear-gradient(#151c27fa,#0a0e16fa),#0a0e16f5;border:1px solid #a0b8d629;border-radius:14px;width:min(420px,100vw - 24px);max-height:min(420px,100vh - 24px);padding:.25rem;transition:transform .14s,opacity .14s,box-shadow .14s;bottom:auto;left:0;box-shadow:0 18px 44px #0000004d,0 8px 20px #030a1357,inset 0 1px #ffffff0a}.selection-dropdown-right{transform-origin:0 0;transform:translate(-8px)}.selection-dropdown-left{transform-origin:100% 0;transform:translate(8px)}.selection-dropdown-bottom{transform-origin:top;transform:translateY(8px)}.bottom-sheet-dropdown.open{opacity:1;pointer-events:auto;transform:translate(0)}.bottom-sheet-handle{background:#a4b6d247;border-radius:999px;justify-self:center;width:64px;height:5px}.bottom-sheet-header{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.bottom-sheet-copy{gap:.25rem;min-width:0;display:grid}.bottom-sheet-description{color:var(--text-muted);margin:0;font-size:.92rem;line-height:1.4}.bottom-sheet-body{align-content:start;gap:.8rem;min-height:0;display:grid;overflow:auto}.bottom-sheet-dropdown .bottom-sheet-body{gap:0;padding-right:0}.job-failure-modal-section{gap:.35rem;display:grid}.job-failure-modal-label{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:700}.job-failure-modal-text{color:var(--text);margin:0;line-height:1.5}.job-failure-modal-code{border:1px solid var(--border);background:var(--panel);color:var(--text-muted);white-space:pre-wrap;word-break:break-word;border-radius:16px;margin:0;padding:.85rem .95rem;font-size:.84rem;line-height:1.45}.selection-sheet-search-wrap{z-index:1;background:linear-gradient(#0f151ffa,#0f151ff0 78%,#0f151f00);margin-bottom:0;padding:.15rem .15rem .25rem;display:grid;position:sticky;top:0}.selection-sheet-search-wrap .panel-input{background:#060b12b8;border-color:#a7bbd31f;min-height:34px;padding:.38rem .62rem}.selection-sheet-list{border-radius:11px;gap:0;padding:0;display:grid;overflow:hidden}.selection-sheet-option{width:100%;min-height:40px;color:var(--text-main);text-align:left;background:0 0;border:0;border-bottom:1px solid #a7bbd31a;border-radius:0;justify-content:space-between;align-items:center;gap:.55rem;padding:.52rem .62rem;transition:background .14s,box-shadow .14s;display:flex;position:relative}.selection-sheet-option:last-child{border-bottom:0}.selection-sheet-option:hover{background:linear-gradient(90deg,#a6e9ff12,#0000 76%),#0d141e9e}.selection-sheet-option:focus-visible{outline:none;box-shadow:inset 0 0 0 1px #a6e9ff57,inset 3px 0 #a6e9ff59}.selection-sheet-option-selected{background:linear-gradient(90deg,#5fdc8224,#5fdcdf0f 46%,#0000),#0f1914ad;box-shadow:inset 3px 0 #5fdc82c7,inset 0 1px #ffffff06}.selection-sheet-option-disabled{opacity:.58;box-shadow:none;transform:none}.selection-sheet-option-copy{gap:.12rem;min-width:0;display:grid}.selection-sheet-option-header{flex-wrap:nowrap;align-items:center;gap:.4rem;min-width:0;display:flex}.selection-sheet-option-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.86rem;font-weight:600;line-height:1.2;overflow:hidden}.selection-sheet-option-badge{min-height:1.25rem;color:var(--text-muted);background:#141c29d1;border:1px solid #a7bbd31f;border-radius:999px;align-items:center;padding:.08rem .42rem;font-size:.66rem;display:inline-flex}.selection-sheet-option-description,.selection-sheet-option-reason{color:var(--text-muted);font-size:.74rem;line-height:1.28}.selection-sheet-option-reason{color:color-mix(in srgb, var(--danger) 68%, var(--text-main))}.selection-sheet-option-check{width:1.15rem;height:1.15rem;color:var(--brand);background:#5fdc8229;border-radius:999px;flex:none;justify-content:center;align-items:center;font-size:.76rem;font-weight:800;line-height:1;display:inline-flex}.studio-field-select{min-width:0}.selection-trigger{background:linear-gradient(#ffffff05,#0000 64%),#090e16f0;border:1px solid #a7bbd324;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.9rem;min-height:54px;padding:.8rem .95rem;transition:border-color .14s,background .14s,box-shadow .14s,transform .14s;display:grid;box-shadow:inset 0 1px #ffffff08}.selection-trigger:hover:not(:disabled){background:linear-gradient(#a6e9ff0a,#0000 58%),#0c121cf5;border-color:#a6e9ff38}.selection-trigger:focus-visible{border-color:#a6e9ff52;outline:none;box-shadow:0 0 0 1px #a6e9ff24,0 0 0 3px #73d7ff1f}.selection-trigger-open{background:linear-gradient(#a6e9ff0f,#0000 56%),#0c121cfa;border-color:#a6e9ff57;box-shadow:0 0 0 1px #a6e9ff14,0 10px 24px #020a1238}.selection-trigger-copy{text-align:left;align-self:center;gap:.24rem;min-width:0;display:grid}.selection-trigger-value{color:var(--text-main);word-break:break-word;font-size:.97rem;font-weight:600;line-height:1.24}.selection-trigger-placeholder,.selection-trigger-meta{color:var(--text-muted)}.selection-trigger-meta{font-size:.79rem;line-height:1.35}.selection-trigger-icon{width:1rem;height:1rem;color:color-mix(in srgb, var(--text-muted) 76%, var(--text-main));flex:none;justify-content:center;align-items:center;transition:transform .14s,color .14s;display:inline-flex}.selection-trigger-icon svg{width:100%;height:100%;display:block}.selection-trigger-open .selection-trigger-icon{color:var(--text-main);transform:rotate(180deg)}.selection-trigger-disabled{opacity:1;box-shadow:none;background:#0a0f168f;border-color:#a7bbd314}.selection-trigger-disabled .selection-trigger-value{color:color-mix(in srgb, var(--text-main) 72%, var(--text-muted))}.autocomplete-field{position:relative}.autocomplete-input{width:100%}.autocomplete-menu{z-index:30;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:linear-gradient(#0f151ff5,#0c121beb),#0a0f18f5;border:1px solid #a7bbd32e;border-radius:18px;gap:.28rem;max-height:280px;padding:.35rem;display:grid;position:absolute;top:calc(100% + .35rem);left:0;right:0;overflow:auto;box-shadow:0 22px 46px #00000057,0 10px 24px #030a1347,inset 0 1px #ffffff0d}.autocomplete-empty{color:var(--text-muted);padding:.75rem .85rem;font-size:.84rem}.autocomplete-option{width:100%;color:var(--text-main);text-align:left;background:linear-gradient(#ffffff05,#0000 62%),#0e151fd1;border:1px solid #a7bbd31f;border-radius:14px;gap:.22rem;padding:.78rem .85rem;transition:border-color .14s,background .14s,transform .14s,box-shadow .14s;display:grid}.autocomplete-option:hover{background:linear-gradient(#a6e9ff0d,#0000 58%),#101823eb;border-color:#a6e9ff3d;transform:translateY(-1px)}.autocomplete-option-selected{background:linear-gradient(#a5ff2a14,#0000 58%),#101813e6;border-color:#a5ff2a52}.autocomplete-option-copy{gap:.18rem;min-width:0;display:grid}.autocomplete-option-label{color:var(--text-main);word-break:break-word;font-size:.94rem;font-weight:600;line-height:1.22}.autocomplete-option-description{color:var(--text-muted);word-break:break-word;font-size:.82rem;line-height:1.38}.panel-header{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.panel-title{margin:0;font-size:1.05rem}.drawer-section{gap:.5rem;margin-top:.9rem;display:grid}.drawer-title{color:var(--text-muted);margin:0;font-size:.9rem}.drawer-meta{gap:.4rem;margin:0;display:grid}@media (width<=1024px){.studio-topbar{flex-direction:column;align-items:stretch}.studio-topbar-left,.studio-topbar-right{justify-content:flex-start}.studio-nav-tabs{max-width:100%}.studio-split-layout{grid-template-rows:minmax(0,.95fr) minmax(0,1.05fr);grid-template-columns:1fr}.input-slots-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-left-prompt-wrap{padding:0 .45rem .5rem}.prompt-row-tools{grid-template-columns:repeat(3,minmax(0,1fr))}.result-guide-grid{grid-template-columns:1fr}.result-guide-card{min-height:120px}}@media (width<=760px){.studio-screen-shell{padding:.45rem}.studio-topbar{padding:.52rem .56rem}.studio-logo-pill{width:32px;height:32px}.studio-nav-tab{padding:.34rem .54rem;font-size:.84rem}.studio-app-chip{display:none}.left-mode-tabs{width:100%}.left-mode-tab{text-align:center;flex:1 1 0}.input-slots-grid{grid-template-columns:1fr}.input-slot-actions,.prompt-row-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}:root{--radius-xxl:28px;--radius-xl:20px;--radius-lg:16px;--radius-md:12px;--space-1:12px;--space-2:16px;--space-3:24px;--bg-main:#04070f;--bg-accent:radial-gradient(circle at 11% 8%, #54dcff33, transparent 36%), radial-gradient(circle at 84% 12%, #ffbc6b2b, transparent 40%), radial-gradient(circle at 72% 82%, #4effd126, transparent 38%), linear-gradient(150deg, #03060c 0%, #050914 42%, #050b16 100%);--glass-shell:#0e16238f;--glass-border:#ddeeff40;--panel:#0c131ee0;--panel-strong:#0a0f18f2;--panel-soft:#121a27d6;--matte-underlay:#080d15b8;--liquid-surface-bg:linear-gradient(168deg, #ffffff1a, transparent 62%), var(--panel);--liquid-surface-border:#bcd6ee42;--liquid-surface-shadow:0 18px 34px #01060d5c, inset 0 1px 0 #ffffff2e;--liquid-surface-filter:blur(18px) saturate(145%);--text-main:#f3f8ff;--text-muted:#b9c8d8;--border:#adc4dd3d;--focus-ring:#65ebff57;--brand:#6ef2ff;--brand-soft:#6ef2ff33;--danger:#ff8aa9}:root[data-theme=light]{--bg-main:#edf3fb;--bg-accent:radial-gradient(circle at 14% 10%, #aed1ff57, transparent 42%), radial-gradient(circle at 86% 12%, #ffd6b033, transparent 45%), radial-gradient(circle at 72% 84%, #bbe4ff42, transparent 42%), linear-gradient(154deg, #f5f8fe 0%, #edf3fb 44%, #f7faff 100%);--glass-shell:#f8fcffb8;--glass-border:#9ab3d26b;--panel:#f1f8ffa3;--panel-strong:#f7fbffc2;--panel-soft:#ecf4fdad;--matte-underlay:#e6eef9c2;--liquid-surface-bg:linear-gradient(168deg, #ffffffd1, #f3f9ff85 56%), var(--panel);--liquid-surface-border:#a2bcdb80;--liquid-surface-shadow:0 18px 36px #5c779b29, inset 0 1px 0 #ffffffeb;--liquid-surface-filter:blur(22px) saturate(132%);--text-main:#15253f;--text-muted:#50627d;--border:#6f85a257;--focus-ring:#4a7bf647;--brand:#2a58c8;--brand-soft:#2a58c826;--danger:#c53f5a}body{background:var(--bg-accent);color:var(--text-main);font-family:var(--font-ui);background-attachment:fixed}@keyframes liquidDrift{0%{transform:translate(-4%,-6%)scale(1)rotate(0)}50%{transform:translate(4%,4%)scale(1.08)rotate(8deg)}to{transform:translate(-3%,-4%)scale(1)rotate(0)}}@keyframes liquidGlint{0%{opacity:.26;transform:translate(-2%)scale(1)}to{opacity:.5;transform:translate(2%)scale(1.06)}}@keyframes bentoRise{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.screen-backdrop{pointer-events:none;background:var(--bg-accent);position:fixed;inset:0;overflow:hidden}.screen-backdrop:before,.screen-backdrop:after{content:"";pointer-events:none;position:absolute;inset:-35%}.screen-backdrop:before{filter:blur(34px);opacity:.48;background:radial-gradient(circle at 26% 24%,#fff3,#0000 28%),radial-gradient(circle at 68% 34%,#a8e9ff33,#0000 30%),radial-gradient(circle at 58% 74%,#ffd8ae2e,#0000 32%);animation:24s ease-in-out infinite liquidDrift}.screen-backdrop:after{filter:blur(52px);mix-blend-mode:screen;opacity:.36;background:conic-gradient(from 200deg,#62ebff33,#ffcf9229,#70ffdd2b,#62ebff33);animation:16s ease-in-out infinite alternate liquidGlint}:root[data-theme=light] .screen-backdrop:before{filter:blur(36px);opacity:.58;background:radial-gradient(circle at 22% 22%,#c4dfff80,#0000 32%),radial-gradient(circle at 72% 34%,#bde9ff5c,#0000 35%),radial-gradient(circle at 58% 76%,#ffe0be52,#0000 37%)}:root[data-theme=light] .screen-backdrop:after{filter:blur(52px);mix-blend-mode:normal;opacity:.34;background:conic-gradient(from 210deg at 52%,#b0dbff3d,#ffdab82e,#bcefff33,#b0dbff3d)}.login-shell,.studio-shell{border-radius:var(--radius-xxl);border:1px solid var(--glass-border);background:var(--glass-shell);-webkit-backdrop-filter:blur(26px)saturate(150%);backdrop-filter:blur(26px)saturate(150%);position:relative;overflow:hidden;box-shadow:0 32px 70px #02060c8a,inset 0 1px #ffffff52}.login-shell:before,.studio-shell:before,.login-shell:after,.studio-shell:after{content:"";pointer-events:none;position:absolute}.login-shell:before,.studio-shell:before{filter:blur(26px);opacity:.6;background:radial-gradient(circle at 28% 22%,#ffffff3d,#0000 32%),radial-gradient(circle at 72% 58%,#a5ecff2b,#0000 36%);animation:20s ease-in-out infinite liquidDrift;inset:-25% -18%}.login-shell:after,.studio-shell:after{border-radius:inherit;opacity:.46;background:linear-gradient(120deg,#ffffff3d,#0000 44%),linear-gradient(220deg,#ffffff14,#0000 48%);animation:12s ease-in-out infinite alternate liquidGlint;inset:0}.login-shell>*,.studio-shell>*{z-index:1;position:relative}.btn-primary{border-radius:var(--radius-lg);color:#04131d;letter-spacing:.01em;background:linear-gradient(145deg,#6cf2ff,#9dffd8);border:1px solid #b5fbff61;font-weight:700;box-shadow:0 10px 24px #5fe9ff42}.btn-ghost{border-radius:var(--radius-md);border:1px solid var(--border);background:var(--panel-soft);color:var(--text-main)}.btn-danger{border-radius:var(--radius-md);color:#ffd2df;background:#ff8aa924;border:1px solid #ff8aa970}.panel-label{min-width:0;color:var(--text-muted);gap:.38rem;font-size:.75rem;font-weight:600;display:grid}.settings-hint{color:var(--text-muted);margin:0;font-size:.69rem;font-weight:400}.panel-input,.panel-select,.panel-textarea,.prompt-input,.chip-select,.chip-button{border-radius:var(--radius-md)}.panel-input,.panel-select,.panel-textarea{border:1px solid var(--border);background:var(--panel-strong);width:100%;min-height:2.65rem;color:var(--text-main);font:inherit;outline:none;padding:.6rem .75rem;font-size:.88rem;transition:border-color .16s,box-shadow .16s,background .16s}.panel-textarea{resize:vertical;min-height:6rem}.panel-input,.panel-textarea,.prompt-input{caret-color:var(--text-main);-webkit-text-fill-color:var(--text-main)}.panel-input::-moz-placeholder{color:var(--text-muted);opacity:1}.panel-textarea::-moz-placeholder{color:var(--text-muted);opacity:1}.prompt-input::-moz-placeholder{color:var(--text-muted);opacity:1}.panel-input::placeholder,.panel-textarea::placeholder,.prompt-input::placeholder{color:var(--text-muted);opacity:1}.panel-input:-webkit-autofill{-webkit-text-fill-color:var(--text-main);box-shadow:0 0 0 1000px var(--panel-strong) inset;transition:background-color 9999s ease-out}.panel-input:-webkit-autofill:hover{-webkit-text-fill-color:var(--text-main);box-shadow:0 0 0 1000px var(--panel-strong) inset;transition:background-color 9999s ease-out}.panel-input:-webkit-autofill:focus{-webkit-text-fill-color:var(--text-main);box-shadow:0 0 0 1000px var(--panel-strong) inset;transition:background-color 9999s ease-out}.panel-textarea:-webkit-autofill{-webkit-text-fill-color:var(--text-main);box-shadow:0 0 0 1000px var(--panel-strong) inset;transition:background-color 9999s ease-out}.panel-textarea:-webkit-autofill:hover{-webkit-text-fill-color:var(--text-main);box-shadow:0 0 0 1000px var(--panel-strong) inset;transition:background-color 9999s ease-out}.panel-textarea:-webkit-autofill:focus{-webkit-text-fill-color:var(--text-main);box-shadow:0 0 0 1000px var(--panel-strong) inset;transition:background-color 9999s ease-out}.prompt-input:-webkit-autofill{-webkit-text-fill-color:var(--text-main);box-shadow:0 0 0 1000px var(--panel-strong) inset;transition:background-color 9999s ease-out}.prompt-input:-webkit-autofill:hover{-webkit-text-fill-color:var(--text-main);box-shadow:0 0 0 1000px var(--panel-strong) inset;transition:background-color 9999s ease-out}.prompt-input:-webkit-autofill:focus{-webkit-text-fill-color:var(--text-main);box-shadow:0 0 0 1000px var(--panel-strong) inset;transition:background-color 9999s ease-out}.panel-input:focus,.panel-select:focus,.panel-textarea:focus,.prompt-input:focus{box-shadow:0 0 0 2px var(--focus-ring);border-color:#a6e9ffa6}.warning-banner{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--panel);border:1px solid var(--border)}.status-row{border-radius:var(--radius-lg);border:1px solid var(--border);background:var(--panel-soft);color:var(--text-muted);justify-content:space-between;align-items:center;gap:.75rem;padding:.65rem .75rem;font-size:.78rem;display:flex}.link-action{color:var(--text-main);font:inherit;text-underline-offset:.16em;cursor:pointer;background:0 0;border:0;padding:0;font-size:.88rem;font-weight:650;text-decoration:none}.link-action:hover{text-decoration:underline}.link-action:disabled{cursor:not-allowed;opacity:.48}.studio-topbar,.split-panel-header,.apps-wrap,.input-slots-wrap,.studio-left-prompt-wrap,.split-panel-header-right,.studio-result-stage,.prompt-bar,.settings-panel,.result-guide-card{-webkit-backdrop-filter:var(--liquid-surface-filter);backdrop-filter:var(--liquid-surface-filter);background:var(--liquid-surface-bg);border:1px solid var(--liquid-surface-border);box-shadow:var(--liquid-surface-shadow)}:root[data-theme=light] .studio-topbar,:root[data-theme=light] .split-panel-header,:root[data-theme=light] .apps-wrap,:root[data-theme=light] .input-slots-wrap,:root[data-theme=light] .studio-left-prompt-wrap,:root[data-theme=light] .split-panel-header-right,:root[data-theme=light] .studio-result-stage,:root[data-theme=light] .prompt-bar,:root[data-theme=light] .settings-panel,:root[data-theme=light] .result-guide-card{box-shadow:0 16px 30px #5f7ca424,inset 0 1px #ffffffe6}.studio-topbar,.studio-split-left,.studio-split-right,.split-panel-header,.apps-wrap,.input-slots-wrap,.studio-left-prompt-wrap,.studio-result-stage,.prompt-bar,.settings-panel{border-radius:var(--radius-xl)}.studio-shell{gap:var(--space-1);padding:var(--space-1)}.studio-split-layout{gap:var(--space-2);grid-template-columns:minmax(240px,1.5fr) minmax(0,3.5fr)}.studio-split-left,.studio-split-right{box-shadow:none;padding:var(--space-1);gap:var(--space-1);background:0 0;border:0}.studio-split-left{grid-template-rows:auto auto minmax(0,1fr);display:grid}.studio-split-right{grid-template-rows:auto minmax(0,1fr);display:grid}.split-panel-header,.apps-wrap,.input-slots-wrap{padding:var(--space-1)}.studio-left-prompt-wrap{padding:0 var(--space-1) var(--space-1)}.studio-split-left>.split-panel-header{grid-row:1}.studio-split-left>.input-slots-wrap{grid-row:2;min-height:0}.studio-split-left>.studio-left-prompt-wrap{grid-row:3}.studio-result-stage{background:radial-gradient(circle at 20% 12%, #67e9ff14, transparent 52%), radial-gradient(circle at 86% 84%, #ffbc6b14, transparent 54%), var(--panel-strong);margin:0}.result-image-wrap{padding:1rem}.studio-result-stage-with-output{align-content:stretch;place-items:stretch stretch;gap:var(--space-1);padding:var(--space-1);grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);min-height:0;display:grid}.studio-result-stage-with-output .result-image-wrap{align-self:stretch;place-items:center;height:100%;min-height:0;padding:0;display:grid;overflow:hidden}.studio-result-stage-with-output .result-actions{place-self:end;position:static;bottom:auto;right:auto}.studio-result-stage-with-output .studio-result-image{-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center;width:100%;max-width:100%;height:100%;min-height:0;max-height:100%}.generated-video-player{--plyr-color-main:var(--accent);--plyr-video-background:#000;--plyr-control-radius:var(--radius-md);--plyr-menu-radius:var(--radius-md);--plyr-font-family:inherit;--plyr-control-icon-size:16px;--plyr-control-spacing:8px;place-items:center;width:100%;height:100%;min-height:0;display:grid}.generated-video-player .plyr{border:1px solid var(--border);border-radius:var(--radius-lg);background:#000;width:100%;height:100%;min-height:0;overflow:hidden}.generated-video-player .plyr__video-wrapper{width:100%;height:100%}.generated-video-player .plyr video{-o-object-fit:contain;object-fit:contain;width:100%;height:100%}.generated-image-lightbox-trigger{cursor:zoom-in;background:0 0;border:0;place-items:center;width:100%;height:100%;min-height:0;padding:0;display:grid}.generated-image-lightbox-trigger:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px}.result-history{width:100%;height:100%;min-height:0;padding:var(--space-1);overflow:auto}.result-history-list{gap:var(--space-1);align-content:start;margin:0;padding:0;list-style:none;display:grid}.result-history-item{align-items:center;gap:var(--space-1);border:1px solid var(--border);border-radius:var(--radius-lg);background:linear-gradient(180deg, #ffffff0f, transparent 70%), var(--panel-soft);grid-template-columns:120px minmax(0,1fr) auto;padding:.58rem;display:grid}.result-history-preview{border-radius:var(--radius-md);border:1px solid var(--border);background:#000;place-items:center;width:120px;height:78px;display:grid;overflow:hidden}.result-history-preview img,.result-history-preview video{-o-object-fit:contain;object-fit:contain;-o-object-position:center center;object-position:center center;width:100%;height:100%;display:block}.result-history-preview-media{width:100%;height:100%}.result-history-preview-empty{text-align:center;color:var(--text-muted);padding:.35rem;font-size:.68rem;line-height:1.3}.result-history-preview-lazy-placeholder{background:#94a3b814;width:100%;height:100%;padding:0}.result-history-main{gap:.25rem;min-width:0;display:grid}.result-history-prompt{color:var(--text-main);word-break:break-word;margin:0;font-size:.86rem;line-height:1.35}.result-history-detail{color:var(--text-muted);word-break:break-word;margin:0;font-size:.73rem;line-height:1.35}.result-history-meta{color:var(--text-muted);flex-wrap:wrap;gap:.3rem .5rem;font-size:.72rem;display:flex}.result-history-id{color:var(--text-muted);word-break:break-all;margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.68rem}.result-history-actions{gap:.4rem;width:fit-content;min-width:96px;display:grid}.result-history-action{width:100%;min-width:0}.result-history-open{min-width:0}.result-history-video-id-list{flex-wrap:wrap;gap:.4rem;display:flex}.result-history-video-id{width:auto;min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.result-history-footer{flex-direction:column;justify-content:center;align-items:center;gap:.5rem;padding:.75rem 0 .25rem;display:flex}.history-lazy-sentinel{pointer-events:none;width:100%;height:1px}.history-lazy-status{color:var(--text-muted);margin:0;font-size:.78rem}.chip-button-disabled{opacity:.52}.studio-library-link{gap:.65rem}.studio-history-picker-field{gap:.55rem}.studio-library-link-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.85rem;display:flex}.studio-library-link-copy{gap:.22rem;display:grid}.result-guide{gap:var(--space-2);padding:clamp(1rem,2.8vw,2rem)}.result-guide-grid{gap:var(--space-1);grid-template-rows:repeat(2,minmax(130px,1fr));grid-template-columns:1.34fr 1fr}.result-guide-card:first-child{grid-row:1/span 2}.result-guide-card{border-radius:var(--radius-xl);background:linear-gradient(180deg, #ffffff0f, transparent 72%), var(--panel-soft);min-height:0;padding:1rem}.result-guide-title,.result-guide-card-title,.panel-title,.app-card-name{letter-spacing:.01em;font-family:inherit;font-weight:700}.split-panel-title,.app-card-description,.result-guide-subtitle,.result-guide-card-text,.prompt-status,.drawer-title,.status-row dt,.status-row dd,.studio-result-empty{background:var(--matte-underlay);border-radius:9px;width:fit-content;max-width:100%;padding:.12rem .45rem;line-height:1.35;display:inline-block}.split-panel-title{letter-spacing:.11em;font-weight:700}.app-card{border-radius:var(--radius-lg);border:1px solid var(--border);background:linear-gradient(160deg, #ffffff14, transparent 56%), var(--panel-soft);min-width:196px}.app-card-active{border-color:#96ecffcc;box-shadow:0 0 0 1px #96ecff33,0 16px 30px #4cdeff29}.input-slots-grid{gap:var(--space-1);grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.input-slot-card{border-radius:var(--radius-lg);border:1px solid var(--border);background:linear-gradient(180deg, #ffffff0f, transparent 62%), var(--panel-soft);padding:var(--space-1);animation:.22s ease-out both bentoRise}.input-slot-card:nth-child(2){animation-delay:30ms}.input-slot-card:nth-child(3){animation-delay:60ms}.input-slot-card:nth-child(4){animation-delay:90ms}.input-slot-card-active{border-color:#96ecffcc;box-shadow:0 0 0 1px #96ecff33,0 14px 26px #54e0ff24}.input-slot-preview{border-radius:var(--radius-md);background:linear-gradient(180deg, #ffffff14, transparent 66%), var(--panel-strong);height:116px;padding:.26rem}.input-slot-add{border-radius:var(--radius-lg);background:linear-gradient(180deg, #ffffff0f, transparent 62%), var(--panel-soft);border:1px dashed #aec6e06b;min-height:116px}.prompt-bar{padding:var(--space-1);background:linear-gradient(170deg, #ffffff12, transparent 64%), var(--panel-strong);box-shadow:0 14px 28px #02080e5c}.prompt-input{border:1px solid var(--border);background:var(--panel-strong);min-height:48px;color:var(--text-main);font-weight:500}.prompt-run{border-radius:var(--radius-lg);height:52px;font-size:1.02rem;box-shadow:0 14px 28px #48ecff47}.chip-select,.chip-button{border:1px solid var(--border);background:var(--panel-strong);color:var(--text-main);font-weight:600}.chip-button-active{border-color:var(--brand);background:var(--brand-soft)}:root[data-theme=light] .chip-button-active{background:linear-gradient(145deg,#6cf2ff33,#9dffd83d);border-color:#5fdcdf70;box-shadow:inset 0 1px #ffffffeb,inset 0 0 0 1px #75e4e824}.settings-panel{background:linear-gradient(180deg, #ffffff0f, transparent 68%), var(--panel-strong);border-radius:var(--radius-xl) var(--radius-xl) 0 0}.status-row{border-radius:var(--radius-lg);background:#0f1723e6}.prompt-status{margin-top:.5rem}.prompt-preset-chip-row{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.35rem;min-width:0;margin-top:.45rem;display:grid}.prompt-preset-chip-label,.prompt-preset-chip-name{background:#080d15ad;border:1px solid #adc4dd33;border-radius:999px;align-items:center;min-height:26px;padding:.18rem .5rem;font-size:.72rem;display:inline-flex}.prompt-preset-chip-label{color:var(--text-muted)}.prompt-preset-chip-name{color:var(--text-main);white-space:normal;text-overflow:clip;overflow-wrap:anywhere;word-break:break-word;min-width:0;max-width:100%;line-height:1.25;overflow:visible}:root[data-theme=light] .prompt-preset-chip-label,:root[data-theme=light] .prompt-preset-chip-name{background:linear-gradient(#ffffffeb,#eef6fcc7),#ffffffc2;border-color:#6f85a23d;box-shadow:inset 0 1px #ffffffe6,0 5px 14px #4c607c14}:root[data-theme=light] .prompt-preset-chip-label{color:#50627d}:root[data-theme=light] .prompt-preset-chip-name{color:#10213a}.prompt-preset-chip-clear{grid-column:1/-1;justify-self:start;width:auto;min-width:auto;min-height:26px;padding:.18rem .5rem;font-size:.72rem}@media (width<=1200px){.studio-split-layout{grid-template-columns:minmax(220px,1.5fr) minmax(0,3.5fr)}.result-guide-grid{grid-template-columns:1fr 1fr}.result-guide-card:first-child{grid-area:auto/1/auto/span 2}}@media (width<=1024px){.studio-shell{border-radius:var(--radius-xl)}.studio-split-layout{grid-template-rows:minmax(0,1fr) minmax(0,1fr);grid-template-columns:1fr}.studio-split-left,.studio-split-right{gap:10px;padding:10px}.studio-split-left{grid-template-rows:auto auto minmax(0,1fr)}.input-slots-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.studio-screen-shell{padding:.45rem}.studio-shell{border-radius:var(--radius-xl);padding:9px}.studio-topbar,.split-panel-header,.apps-wrap,.input-slots-wrap,.studio-left-prompt-wrap,.studio-result-stage,.prompt-bar{border-radius:var(--radius-lg)}.input-slots-grid,.result-guide-grid{grid-template-columns:1fr}.result-history-item{grid-template-columns:1fr;align-items:stretch}.result-history-preview{width:100%;height:156px}.result-history-actions,.result-history-open{width:100%}.result-guide-card:first-child{grid-area:auto}.input-slot-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}:root{--shell-pad-desktop:1rem;--shell-pad-tablet:.75rem;--shell-pad-phone:.5rem;--sheet-max-height:85dvh}html,body,#root{max-width:100%}body{overflow-x:hidden}.screen-backdrop,.login-shell,.studio-shell{contain:paint;overflow:clip}.screen-shell{padding:var(--shell-pad-desktop)}.studio-screen-shell{padding:calc(var(--shell-pad-desktop) - .3rem)}.status-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:linear-gradient(180deg, #ffffff0f, transparent 68%), var(--panel-soft);color:var(--text-main);overflow-wrap:anywhere;margin-top:.85rem;padding:.8rem .95rem}.panel-input,.panel-select,.panel-textarea,.btn-primary,.btn-ghost,.btn-danger,.chip-button,.chip-select{max-width:100%}.top-controls{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:.5rem;width:100%;min-width:0;display:grid}.top-controls-field{min-width:0}.top-controls-select{width:100%;min-width:0;min-height:var(--topbar-control-height)}.top-controls-theme-field{justify-items:start}.top-controls-field .theme-switch{flex:none}.theme-switch{isolation:isolate;width:var(--topbar-theme-width);height:var(--topbar-theme-height);min-width:var(--topbar-theme-width);color:#e8f1ffe0;cursor:pointer;background:radial-gradient(circle at 74% 24%,#5f86ff3d,#0000 32%),linear-gradient(135deg,#111c30f5,#060c16eb);border:1px solid #a4b6d23d;border-radius:999px;justify-content:space-between;align-items:center;padding:0;transition:border-color .18s,background .36s,box-shadow .18s,color .18s;display:inline-flex;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff1f,inset 0 -1px #00000038,0 8px 22px #00000029}.theme-switch:before{content:"";z-index:-1;opacity:1;background:radial-gradient(circle at 30% 72%,#b04cd661,#0000 38%),radial-gradient(circle at 76% 28%,#3269ff52,#0000 40%);transition:opacity .36s;position:absolute;inset:0}.theme-switch[data-theme-state=light]{color:#52627c;background:radial-gradient(circle at 24% 32%,#ffffffe6,#0000 26%),linear-gradient(135deg,#e6f0fffa,#f6e8fff0);border-color:#6f85a23d;box-shadow:inset 0 1px #ffffffeb,inset 0 -1px #6f85a214,0 8px 20px #5c779b1f}.theme-switch[data-theme-state=light]:before{opacity:.18}.theme-switch:hover{border-color:rgba(var(--brand-cyan-rgb), .45);box-shadow:inset 0 1px 0 #ffffff29, inset 0 -1px 0 rgba(var(--brand-cyan-rgb), .12), 0 10px 26px rgba(var(--brand-cyan-rgb), .16)}.theme-switch:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}.theme-switch-thumb{left:var(--topbar-theme-thumb-offset);top:var(--topbar-theme-thumb-offset);z-index:2;width:var(--topbar-theme-thumb-size);height:var(--topbar-theme-thumb-size);background:linear-gradient(145deg,#fff,#dbe7fb);border-radius:999px;transition:transform .48s cubic-bezier(.2,.9,.2,1),background .32s,box-shadow .32s;position:absolute;transform:translate(0);box-shadow:inset 0 1px #fffffff0,0 7px 18px #00000038}.theme-switch[data-theme-state=dark] .theme-switch-thumb{transform:translateX(calc(var(--topbar-theme-width) - var(--topbar-theme-thumb-size) - (var(--topbar-theme-thumb-offset) * 2)));background:linear-gradient(145deg,#1d2d4d,#081326);box-shadow:inset 0 1px #ffffff29,0 7px 18px #0000004d}::view-transition-old(root){mix-blend-mode:normal;animation-duration:.76s;animation-timing-function:cubic-bezier(.16,1,.3,1)}::view-transition-new(root){mix-blend-mode:normal;animation-duration:.76s;animation-timing-function:cubic-bezier(.16,1,.3,1)}::view-transition-old(root){animation:none}::view-transition-new(root){clip-path:circle(0 at var(--theme-transition-x,100%) var(--theme-transition-y,0));animation-name:theme-reveal}@keyframes theme-reveal{to{clip-path:circle(var(--theme-transition-radius,150vmax) at var(--theme-transition-x,100%) var(--theme-transition-y,0))}}@media (prefers-reduced-motion:reduce){.theme-switch,.theme-switch:before,.theme-switch-thumb{transition-duration:1ms}::view-transition-old(root){animation-duration:1ms}::view-transition-new(root){animation-duration:1ms}}.login-shell{width:min(680px,100%);max-width:100%;margin:max(1rem,6vh) auto 0;padding:clamp(1rem,2vw,1.35rem)}.login-header{flex-wrap:wrap;align-items:flex-start;gap:1rem}.auth-topbar{align-items:center}.login-footer .top-controls{width:100%}.studio-shell{width:min(1520px,100%);max-width:100%}.studio-topbar{align-items:center}.studio-topbar-right{justify-content:flex-end;align-items:center;gap:var(--topbar-group-gap);flex-wrap:wrap;min-width:0;display:flex}.studio-topbar-meta{justify-content:flex-end;align-items:center;gap:var(--topbar-group-gap);flex-wrap:wrap;width:auto;display:flex}.studio-topbar-actions{justify-content:flex-end;gap:var(--topbar-group-gap);flex-wrap:wrap;width:auto;display:flex}.studio-topbar-actions .btn-ghost{min-width:0;padding:0 var(--topbar-control-padding-x);border-radius:var(--topbar-control-radius)}.studio-nav-tabs{max-width:100%}.studio-topbar .top-controls{align-items:center;gap:var(--topbar-group-gap);flex-wrap:nowrap;width:auto;min-width:0;display:flex}.studio-topbar .top-controls-field{white-space:nowrap;flex:0 auto;gap:.35rem;width:auto}.studio-topbar .top-controls-select{width:auto;min-width:var(--topbar-select-min-width)}.studio-topbar-right{flex-wrap:wrap}.studio-topbar-right .btn-ghost{white-space:nowrap;flex:none}.split-panel-title,.app-card-name,.app-card-description,.result-guide-subtitle,.result-guide-card-text,.prompt-status,.drawer-title,.status-row dt,.status-row dd,.studio-result-empty,.input-slot-name,.input-slot-mime{overflow-wrap:anywhere}.prompt-status{white-space:normal;width:100%;display:block}.prompt-preset-chip-row{width:100%}.prompt-preset-chip-name{min-width:0}.result-tabs-row{max-width:100%}.result-actions .chip-button,.result-actions a.chip-button{min-width:0}.settings-panel .panel-header{z-index:2;background:linear-gradient(180deg, #ffffff0f, transparent 68%), var(--panel-strong);padding-bottom:.55rem;position:sticky;top:0}.result-history-id{overflow-wrap:anywhere}@media (width<=1023px){.screen-shell,.studio-screen-shell{padding:var(--shell-pad-tablet)}.studio-screen-shell{height:auto;min-height:100dvh;overflow:visible}.studio-shell{min-height:calc(100dvh - (var(--shell-pad-tablet) * 2));overflow:visible}.studio-topbar{flex-direction:column;align-items:stretch;gap:.75rem}.studio-topbar-left,.studio-topbar-right{width:100%}.studio-topbar-left{justify-content:space-between}.studio-topbar-right{flex-wrap:wrap;justify-items:stretch;min-width:0}.studio-topbar .top-controls{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0;display:grid}.studio-topbar-meta,.studio-topbar-actions{justify-content:flex-start;width:100%}.studio-topbar-meta .studio-credits-pill,.studio-topbar-meta .btn-ghost,.studio-topbar-actions .btn-ghost{min-width:0}.studio-split-layout{grid-template-rows:none;grid-template-columns:1fr;gap:.85rem;overflow:visible}.studio-split-left,.studio-split-right{min-height:auto;overflow:visible}.studio-split-left{grid-template-rows:auto auto auto}.studio-split-right{grid-template-rows:auto auto}.input-slots-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.result-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;position:static}.result-actions .chip-button,.result-actions a.chip-button{width:100%}}@media (width<=767px){.screen-shell,.studio-screen-shell{padding:var(--shell-pad-phone)}.login-shell{border-radius:var(--radius-xl);margin-top:clamp(.75rem,4vh,1.25rem);padding:1rem}.login-header{flex-direction:column;align-items:stretch}.auth-topbar{flex-direction:column;align-items:stretch;gap:.55rem}.auth-topbar .top-controls{flex-wrap:wrap;width:100%;min-width:0;display:flex}.top-controls{grid-template-columns:1fr}.studio-topbar .top-controls{grid-template-columns:1fr;display:grid}.studio-shell{min-height:calc(100dvh - (var(--shell-pad-phone) * 2));border-radius:var(--radius-xl);padding:.6rem}.studio-topbar{padding:.65rem}.studio-topbar-left{flex-direction:column;align-items:stretch;gap:.5rem}.studio-topbar-brand{width:100%}.studio-provider-toggle{justify-content:stretch;width:100%}.studio-provider-toggle-button{text-align:center;flex:1 1 0}.media-mode-tabs{justify-content:stretch;width:100%}.media-mode-tabs-link{text-align:center;flex:1 1 0}.studio-nav-tabs{width:100%;padding-bottom:.15rem}.studio-topbar-meta,.studio-topbar-actions{width:100%}.studio-topbar-meta{grid-template-columns:minmax(0,1fr);display:grid}.studio-topbar-meta .studio-credits-pill,.studio-topbar-meta .btn-ghost{justify-content:center;width:100%}.studio-topbar-actions{grid-template-columns:minmax(0,1fr);display:grid}.studio-topbar-actions .btn-ghost{width:100%}.studio-app-chip{display:none}.studio-split-layout{gap:.75rem}.studio-split-left{grid-template-rows:auto auto auto}.studio-split-left>.split-panel-header{grid-row:1}.studio-split-left>.input-slots-wrap{grid-row:2}.studio-split-left>.studio-left-prompt-wrap{grid-row:3}.input-slot-card,.input-slot-add{min-width:0}.input-slot-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.input-slot-actions .chip-button:last-child:nth-child(3){grid-column:1/-1}.prompt-bar{padding:.75rem}.prompt-row-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.prompt-preset-chip-row{grid-template-columns:minmax(0,1fr);align-items:stretch}.prompt-preset-chip-label,.prompt-preset-chip-name,.prompt-preset-chip-clear{max-width:100%}.prompt-preset-chip-name{width:100%}.result-tabs-row{scrollbar-width:none;flex-wrap:nowrap;padding-bottom:.15rem;overflow-x:auto}.result-tabs-row::-webkit-scrollbar{display:none}.result-actions{grid-template-columns:1fr}.result-history-item{grid-template-columns:1fr;align-items:stretch}.result-history-preview{width:100%;height:170px}.result-history-actions,.result-history-open{width:100%}.settings-panel{width:100%;max-width:none;max-height:var(--sheet-max-height);padding:.85rem .85rem max(.95rem, env(safe-area-inset-bottom));border-radius:var(--radius-xl) var(--radius-xl) 0 0;left:0;right:0;transform:translateY(100%)}.settings-panel.open{transform:translateY(0)}.settings-panel .panel-header{top:-.1rem}}@media (width>=1440px){.studio-shell{width:min(1640px,100%)}.studio-split-layout{grid-template-columns:minmax(460px,1.5fr) minmax(0,3.5fr)}}.studio-split-left>.input-slots-wrap{flex:none;min-height:auto;padding-bottom:.5rem;overflow:auto hidden}.studio-split-left>.frame-preset-layout{flex:none}.frame-preset-layout{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:.5rem;display:grid}.frame-slot-card,.frame-preset-card{border:1px solid var(--border);background:var(--panel-soft);border-radius:14px;flex-direction:column;gap:.45rem;min-height:0;padding:.5rem;display:flex}.frame-slot-head{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);font-size:.74rem}.frame-slot-preview{height:clamp(126px,22vh,180px)}.frame-slot-preview img,.frame-slot-preview video{-o-object-fit:cover;object-fit:cover;-o-object-position:50% 50%;object-position:50% 50%;border-radius:10px;width:100%;height:100%;display:block}.frame-slot-placeholder{border:1px dashed var(--border);width:100%;height:100%;color:var(--text-muted);border-radius:10px;place-items:center;font-size:.84rem;display:grid}.frame-slot-actions{flex-wrap:wrap;gap:.35rem;display:flex}.frame-slot-status{color:var(--text-muted);margin:0;font-size:.76rem}.frame-slot-status-error{color:var(--danger)}.frame-preset-select-wrap{flex:auto;align-items:center;margin:0;display:flex}.frame-preset-open-button{border:1px solid var(--border);background:var(--panel-strong);width:100%;min-height:74px;color:var(--text-main);text-align:left;cursor:pointer;border-radius:14px;justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem .8rem;display:flex}.frame-preset-open-button:hover{border-color:#bddeff8f}.frame-preset-open-button:disabled{cursor:not-allowed;opacity:.62}.frame-preset-open-copy{gap:.18rem;min-width:0;display:grid}.frame-preset-open-value{text-overflow:ellipsis;white-space:nowrap;font-size:.98rem;font-weight:700;overflow:hidden}.frame-preset-open-meta{text-overflow:ellipsis;white-space:nowrap;color:var(--text-muted);font-size:.76rem;overflow:hidden}.frame-preset-open-icon{width:24px;height:24px;color:var(--text-muted);flex:none}.frame-preset-open-icon svg{width:100%;height:100%}.input-slots-grid{flex-wrap:nowrap;align-items:stretch;gap:.5rem;min-width:max-content;display:flex}.input-slot-card,.input-slot-add{flex:0 0 118px;width:118px}.input-slot-card{min-height:108px;padding:.24rem;display:block;position:relative;overflow:hidden}.input-slot-preview{justify-content:center;align-items:center;height:100px;padding:.14rem;line-height:0;display:flex}.input-slot-card .input-slot-preview img,.input-slot-card .input-slot-preview video{-o-object-fit:cover;object-fit:cover;-o-object-position:50% 50%;object-position:50% 50%;flex:none;width:100%;max-width:100%;height:100%;max-height:100%;display:block}.input-slot-card-actions{z-index:3;flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:.2rem;display:flex;position:absolute;top:.28rem;right:.28rem}.input-slot-icon-button{border:1px solid var(--border);background:var(--panel-strong);width:26px;min-width:26px;min-height:26px;color:var(--text-main);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:10px;justify-content:center;align-items:center;padding:0;line-height:1;display:inline-flex}.input-slot-icon-replace,.input-slot-icon-draw{opacity:0;pointer-events:none;transition:opacity .14s,transform .14s;transform:translateY(-2px)}.input-slot-card:hover .input-slot-icon-replace,.input-slot-card:hover .input-slot-icon-draw,.input-slot-card:focus-within .input-slot-icon-replace,.input-slot-card:focus-within .input-slot-icon-draw,.input-slot-card-active .input-slot-icon-replace,.input-slot-card-active .input-slot-icon-draw{opacity:1;pointer-events:auto;transform:translateY(0)}.input-slot-icon-delete{border-color:color-mix(in srgb, var(--danger) 42%, var(--border));background:color-mix(in srgb, var(--danger) 16%, var(--panel-strong));color:var(--danger)}.input-slot-icon-button:hover{border-color:#bddeff8f}.input-slot-icon-button svg{pointer-events:none;width:14px;height:14px}.input-slot-badge{z-index:2;border:1px solid var(--border);background:var(--panel-strong);color:var(--text-muted);border-radius:999px;padding:.1rem .32rem;font-size:.64rem;position:absolute;bottom:.32rem;left:.32rem}.input-slot-add{place-items:center;gap:0;min-height:108px;padding:0;font-size:0;display:grid}.input-slot-add-icon{width:30px;height:30px;color:var(--text-muted);justify-content:center;align-items:center;display:inline-flex}.input-slot-add-icon svg{width:100%;height:100%}.input-slots-wrap-empty{overflow:hidden}.input-slots-grid-empty{width:100%;min-width:0}.input-slots-grid-empty .input-slot-add{border-style:dashed;border-color:var(--border);background:linear-gradient(180deg, #ffffff12, transparent 64%), var(--panel-soft);flex:auto;gap:.7rem;width:100%;min-height:180px}.input-slot-add-empty .input-slot-add-icon{width:40px;height:40px}.input-slot-add-empty-label{color:var(--text-main);font-size:1rem;font-weight:600}.motion-control-media-panel,.replace-photo-panel{align-items:stretch;gap:.9rem;display:flex}.replace-photo-panel-shell{gap:.9rem;display:grid}.start-end-frame-panel{align-items:stretch;gap:.9rem;display:flex}.motion-control-media-card{background:#0a0f16a3;border:1px solid #a7bbd329;border-radius:28px;flex:1 1 0;min-width:0;min-height:220px;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff0a}.replace-photo-card{background:#0a0f16a3;border:1px dashed #a7bbd342;border-radius:28px;flex:1 1 0;min-width:0;min-height:248px;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff0a}.replace-photo-card-filled{border-style:solid}.replace-photo-card-disabled{opacity:.8}.start-end-frame-card{background:#0a0f16a3;border:1px dashed #a7bbd342;border-radius:28px;flex:1 1 0;min-width:0;min-height:220px;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff0a}.motion-control-media-button{text-align:left;justify-content:flex-start;align-items:flex-end;width:100%;min-height:220px;padding:1rem;display:flex;position:relative;overflow:hidden}.replace-photo-button{text-align:left;justify-content:flex-start;align-items:flex-end;width:100%;min-height:248px;padding:1rem;display:flex;position:relative;overflow:hidden}.replace-photo-button:disabled{cursor:not-allowed}.start-end-frame-button{text-align:center;justify-content:center;align-items:center;width:100%;min-height:220px;padding:1rem;display:flex;position:relative;overflow:hidden}.motion-control-media-preview,.motion-control-media-preview img,.motion-control-media-preview video,.motion-control-media-scrim,.replace-photo-preview,.replace-photo-preview img,.replace-photo-scrim,.start-end-frame-preview,.start-end-frame-preview img,.start-end-frame-scrim{position:absolute;inset:0}.motion-control-media-preview img,.motion-control-media-preview video,.replace-photo-preview img,.start-end-frame-preview img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.motion-control-media-scrim{background:linear-gradient(#0d121b1a,#0d121bb3 72%,#0d121be6),linear-gradient(#ffffff0d,#0000 40%)}.replace-photo-scrim{background:linear-gradient(#0d121b14,#0d121bb8 72%,#0d121beb),linear-gradient(#ffffff0d,#0000 42%)}.start-end-frame-scrim{background:linear-gradient(#0d121b29,#0d121bb8 72%,#0d121beb),linear-gradient(#ffffff0d,#0000 42%)}.motion-control-media-copy-block{z-index:1;flex-direction:column;align-items:flex-start;gap:.5rem;max-width:15rem;display:flex;position:relative}.replace-photo-copy-block{z-index:1;flex-direction:column;align-items:flex-start;gap:.55rem;max-width:16rem;display:flex;position:relative}.start-end-frame-copy-block{z-index:1;flex-direction:column;align-items:center;gap:.95rem;max-width:14rem;display:flex;position:relative}.motion-control-media-icon-shell,.replace-photo-icon-shell,.start-end-frame-icon-shell{color:#ecf3ffeb;background:linear-gradient(#ffffff24,#ffffff0a),#1a212dc2;border:1px solid #d6e2f12e;border-radius:999px;justify-content:center;align-items:center;width:58px;height:58px;display:inline-flex;box-shadow:0 12px 28px #03070e47}.motion-control-media-icon-shell svg,.replace-photo-icon-shell svg,.start-end-frame-icon-shell svg{width:26px;height:26px}.motion-control-media-title,.replace-photo-title,.start-end-frame-title{color:var(--text-main);font-size:.95rem;font-weight:700;line-height:1.25}.motion-control-media-copy,.replace-photo-copy{color:var(--text-muted);font-size:.86rem;line-height:1.45}.replace-photo-step{min-width:28px;height:28px;color:var(--text-main);letter-spacing:.04em;background:#ffffff1a;border:1px solid #ffffff1a;border-radius:999px;justify-content:center;align-items:center;padding:0 .55rem;font-size:.76rem;font-weight:700;display:inline-flex}.replace-photo-actions{z-index:2;align-items:center;gap:.45rem;display:flex;position:absolute;top:.75rem;right:.75rem}.replace-photo-action,.replace-photo-delete{min-height:34px}.replace-photo-delete{justify-content:center;align-items:center;width:34px;height:34px;padding:0;display:inline-flex}.replace-photo-delete svg{width:14px;height:14px}.replace-photo-badge{z-index:2}.replace-photo-badge-frame{top:auto;bottom:.9rem;left:.9rem}.motion-control-media-delete,.start-end-frame-delete{z-index:2;justify-content:center;align-items:center;width:34px;height:34px;min-height:34px;padding:0;display:inline-flex;position:absolute;top:.75rem;right:.75rem}.motion-control-media-delete svg,.start-end-frame-delete svg{width:14px;height:14px}.motion-control-media-badge,.start-end-frame-badge{z-index:2}.start-end-frame-optional{z-index:2;color:var(--text-muted);letter-spacing:.04em;background:#ffffff14;border:1px solid #ffffff14;border-radius:999px;padding:.26rem .68rem;font-size:.72rem;font-weight:600;position:absolute;top:.82rem;right:.82rem}@media (width>=1025px){.studio-left-prompt-wrap{align-content:center;min-height:0;display:grid}.studio-left-prompt-wrap .prompt-bar{width:min(100%,640px);margin-inline:auto}}@media (width<=767px){.motion-control-media-panel,.replace-photo-panel,.start-end-frame-panel{flex-direction:column}.input-slots-grid{flex-wrap:wrap;min-width:0}.input-slot-card,.input-slot-add{flex:calc(50% - .25rem);width:calc(50% - .25rem);min-width:0}.input-slots-grid-empty .input-slot-add{min-height:156px}.input-slot-add-empty-label{font-size:.94rem}}textarea.prompt-input{resize:none;white-space:pre-wrap;scrollbar-gutter:stable;min-height:calc(4.05em + 1.32rem);max-height:calc(4.05em + 1.32rem);line-height:1.35;overflow:hidden auto}.studio-topbar{justify-content:space-between;align-items:center;gap:1rem;display:flex}.studio-topbar-copy{gap:.2rem;display:grid}.studio-topbar-eyebrow{letter-spacing:.18em;text-transform:uppercase;color:var(--text-muted);font-size:.74rem}.studio-topbar-title{margin:0;font-size:1.1rem;line-height:1.05}.split-panel-header{gap:.45rem;display:grid}.split-panel-kicker{letter-spacing:.18em;text-transform:uppercase;color:var(--brand);font-size:.76rem}.split-panel-title{margin:0;font-size:clamp(1.35rem,2.1vw,2rem);line-height:1.02}.split-panel-copy{max-width:44rem;color:var(--text-muted);margin:0}.studio-composer{border-radius:var(--radius-xl);background:#090e16db;flex:auto;align-content:start;gap:.8rem;min-height:0;padding:.9rem;display:grid;box-shadow:0 12px 28px #02080e38}.studio-composer-shell{flex-direction:column;width:100%;height:100%;min-height:0;display:flex}.studio-composer-stage{gap:.7rem;display:grid}.studio-composer-stage-advanced{gap:.6rem}.studio-composer-stage-header{gap:.18rem;display:grid}.studio-composer-stage-eyebrow{letter-spacing:.16em;text-transform:uppercase;color:var(--text-muted);font-size:.72rem}.studio-composer-stage-title{margin:0;font-size:1rem;line-height:1.15}.studio-composer-stage-copy{color:var(--text-muted);margin:0;font-size:.92rem}.studio-switcher{flex-wrap:wrap;gap:.55rem;display:inline-flex}.studio-switcher-button{border:1px solid var(--border);min-width:120px;min-height:40px;color:var(--text-muted);background:#0b1019bd;border-radius:999px;padding:.6rem .95rem;font-weight:600}.studio-switcher-button-active{color:var(--text-main);background:#a5ff2a1a;border-color:#a5ff2a73}.studio-scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;display:grid}.studio-scenario-card{border-radius:var(--radius-lg);text-align:left;background:#0a0f16a3;border:1px solid #a7bbd32e;gap:.28rem;padding:.9rem;display:grid}.studio-scenario-card-active{background:linear-gradient(#a5ff2a14,#0000 72%),#0a0f16bd;border-color:#a5ff2a73}.studio-scenario-label{font-weight:700}.studio-scenario-copy{color:var(--text-muted);font-size:.89rem;line-height:1.35}.studio-field-grid{flex-direction:column;gap:.8rem;display:flex}.studio-field{gap:.35rem;min-width:0;display:grid}.studio-field-full{grid-column:1/-1}.studio-field-label{letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted);font-size:.76rem}.studio-field-label-wrap{align-items:center;gap:.32rem;display:inline-flex}.studio-field-required{color:#7ad9ff;font-size:.95em;line-height:1}.studio-field-hint{color:var(--text-muted);font-size:.85rem}.studio-json-input,.studio-textarea-input{resize:vertical;min-height:108px}.studio-toggle-grid{flex-direction:column;gap:.75rem;display:flex}.studio-toggle-field{border-radius:var(--radius-lg);background:#0a0f1694;border:1px solid #a7bbd329;justify-content:space-between;align-items:center;gap:.8rem;padding:.8rem .9rem;display:flex}.studio-toggle-field-copy{gap:.22rem;display:grid}.studio-inline-action{justify-self:start}.kling-multi-shot-editor{background:#0a0f168a;border:1px solid #a7bbd329;border-radius:12px;gap:.75rem;padding:.85rem;display:grid}.kling-multi-shot-header,.kling-multi-shot-item-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.kling-multi-shot-copy,.kling-multi-shot-list,.kling-multi-shot-item{gap:.65rem;min-width:0;display:grid}.kling-multi-shot-copy{flex:14rem}.kling-multi-shot-item{background:#070b1180;border:1px solid #a7bbd31f;border-radius:10px;padding:.75rem}.kling-multi-shot-prompt{min-height:86px}.kling-multi-shot-duration{max-width:9rem}.kling-multi-shot-add,.kling-multi-shot-remove{white-space:nowrap;flex:none;align-self:flex-start;width:auto;max-width:100%;padding-inline:.8rem}.studio-asset-shell{display:grid}.studio-asset-label-row{margin-bottom:.42rem}.studio-composer-footer-meta{gap:.55rem;min-width:0;display:grid}.studio-composer-dock{background:linear-gradient(#090e16eb,#090e16fa),#090e16f5;border-top:1px solid #a7bbd31f;flex:none;gap:.8rem;padding:.9rem;display:grid;box-shadow:0 -16px 28px #02080e38}.studio-workflow-card{background:linear-gradient(#ffffff08,#0000 72%),#090e16b8;border:1px solid #a7bbd329;border-radius:20px;gap:.75rem;padding:.9rem;display:grid}.studio-workflow-header{gap:.28rem;display:grid}.studio-workflow-title{margin:0;font-size:.92rem;font-weight:700}.studio-workflow-list{gap:.55rem;display:grid}.studio-workflow-item{background:#0a0f1685;border:1px solid #a7bbd31f;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.8rem;padding:.62rem .72rem;display:flex}.studio-workflow-item-done{background:linear-gradient(#7ad9ff0d,#0000 68%),#0a1018ad;border-color:#7ad9ff3d}.studio-workflow-item-label{letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);font-size:.76rem}.studio-workflow-item-value{color:var(--text-main);word-break:break-word;font-size:.9rem;line-height:1.4}.studio-selected-avatar-card{background:linear-gradient(#ffffff08,#0000 72%),#0a0f16b8;border:1px solid #a7bbd329;border-radius:20px;grid-template-columns:minmax(0,220px) minmax(0,1fr);align-items:start;gap:.8rem;padding:.9rem;display:grid}.studio-selected-avatar-media{aspect-ratio:4/3;background:#080c12e0;border:1px solid #a7bbd324;border-radius:16px;width:100%;max-width:220px;overflow:hidden}.studio-selected-avatar-image{-o-object-fit:cover;object-fit:cover;width:100%;height:100%;display:block}.studio-selected-avatar-empty{width:100%;height:100%;color:var(--text-muted);text-align:center;place-items:center;padding:.75rem;display:grid}.studio-selected-avatar-body{gap:.45rem;display:grid}.studio-selected-avatar-header,.studio-selected-avatar-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.55rem;display:flex}.studio-selected-avatar-actions{grid-column:1/-1;justify-content:flex-end}.studio-inline-card-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.55rem;display:flex}.studio-sound-upload-chip,.studio-sound-upload-pick{width:100%;min-width:0;color:var(--text-main);background:linear-gradient(#ffffff08,#0000 72%),#0a0f16b8;border:1px solid #a7bbd32e;border-radius:18px}.studio-sound-upload-chip{justify-content:space-between;align-items:center;gap:.8rem;padding:.9rem 1rem;display:flex}.studio-sound-upload-name{min-width:0;color:var(--text-main);overflow-wrap:anywhere;font-size:1rem;font-weight:600;line-height:1.35}.studio-sound-upload-pick{justify-content:flex-start;min-height:68px;padding-inline:1rem;font-size:.95rem}.studio-sound-upload-clear{flex:none;width:auto;min-width:2.5rem;min-height:2.5rem;padding:.55rem}.studio-sound-upload-clear svg{width:1rem;height:1rem}.studio-selected-avatar-title{word-break:break-word;margin:0;font-size:.96rem;font-weight:700}.studio-selected-avatar-badge{color:var(--text-muted);background:#0c121bdb;border:1px solid #a7bbd32e;border-radius:999px;align-items:center;padding:.28rem .65rem;font-size:.76rem;display:inline-flex}.studio-selected-avatar-meta,.studio-selected-avatar-copy{color:var(--text-muted);word-break:break-word;margin:0;font-size:.9rem;line-height:1.45}.studio-selected-avatar-copy{color:var(--text-main)}.studio-selected-elements-panel{gap:.8rem;display:grid}.studio-selected-elements-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.studio-selected-elements-copy{gap:.28rem;display:grid}.studio-selected-elements-title{margin:0;font-size:.94rem;font-weight:700}.studio-selected-elements-grid{gap:.75rem;display:grid}.studio-selected-element-card{background:#090e1694;border:1px solid #a7bbd324;border-radius:18px;grid-template-columns:96px minmax(0,1fr);align-items:start;gap:.8rem;padding:.82rem;display:grid}.studio-selected-element-media{background:#080c12e0;border:1px solid #a7bbd324;border-radius:14px;width:96px;height:96px;overflow:hidden}.studio-selected-element-image{-o-object-fit:cover;object-fit:cover;width:100%;height:100%;display:block}.studio-selected-element-empty{width:100%;height:100%;color:var(--text-muted);text-align:center;place-items:center;padding:.7rem;font-size:.82rem;display:grid}.studio-selected-element-body{gap:.38rem;min-width:0;display:grid}.studio-selected-element-header,.studio-selected-element-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.55rem;display:flex}.studio-selected-element-title{margin:0;font-size:.94rem;font-weight:700}.studio-selected-element-badge{color:var(--text-muted);background:#0c121bdb;border:1px solid #a7bbd32e;border-radius:999px;align-items:center;padding:.26rem .62rem;font-size:.74rem;display:inline-flex}.studio-selected-element-meta,.studio-selected-element-copy{color:var(--text-muted);margin:0;font-size:.88rem;line-height:1.45}.studio-selected-element-copy{color:var(--text-main)}@media (width<=720px){.studio-selected-avatar-card{grid-template-columns:1fr}.studio-selected-avatar-media{max-width:none}.studio-selected-element-card{grid-template-columns:1fr}.studio-selected-element-media{aspect-ratio:4/3;width:100%;height:auto}}.studio-composer-run{width:100%;min-width:0;min-height:56px}.studio-composer-run-content{justify-content:center;align-items:center;gap:.6rem;display:inline-flex}.studio-composer-run-cost{align-items:center;gap:.22rem;font-weight:800;display:inline-flex}.studio-composer-run-cost-icon{line-height:1}.studio-advanced-shell{border-radius:var(--radius-lg);background:#080d158a;border:1px solid #a7bbd324;gap:.75rem;padding:.85rem;display:grid}.studio-guided-toggle-wrap{gap:.35rem;display:grid}.studio-advanced-note{color:var(--text-muted);margin:0;font-size:.9rem}.studio-inline-notice{color:var(--text-muted);background:#0a0f1694;border:1px solid #a7bbd324;border-radius:16px;margin:0;padding:.7rem .85rem;font-size:.9rem;line-height:1.45}.studio-inline-notice-danger{color:color-mix(in srgb, var(--danger) 76%, var(--text-main));background:#4c12123d;border-color:#ff7f7f38}.studio-selection-chip-list{flex-wrap:wrap;gap:.55rem;display:flex}.studio-selection-chip{min-height:36px;color:var(--text-main);font:inherit;background:#0b1119c7;border:1px solid #a7bbd32e;border-radius:999px;align-items:center;gap:.45rem;padding:.48rem .72rem;display:inline-flex}:root[data-theme=light] .bottom-sheet-dropdown{background:linear-gradient(#fffffff7,#f1f8fff0),#f3f9fff5;border-color:#a2bcdb7a;box-shadow:0 24px 48px #5c779b2e,0 12px 26px #7a92b629,inset 0 1px #fffffff0}:root[data-theme=light] .selection-sheet-search-wrap{background:linear-gradient(#f8fcfffa,#f5f9fff2 78%,#f5f9ff00)}:root[data-theme=light] .selection-sheet-search-wrap .panel-input,:root[data-theme=light] .studio-provider-toggle,:root[data-theme=light] .studio-switcher-button,:root[data-theme=light] .studio-scenario-card,:root[data-theme=light] .studio-toggle-field,:root[data-theme=light] .studio-workflow-card,:root[data-theme=light] .studio-workflow-item,:root[data-theme=light] .studio-selected-avatar-card,:root[data-theme=light] .studio-selected-avatar-media,:root[data-theme=light] .studio-selected-avatar-badge,:root[data-theme=light] .studio-selected-element-card,:root[data-theme=light] .studio-selected-element-media,:root[data-theme=light] .studio-selected-element-badge,:root[data-theme=light] .studio-advanced-shell,:root[data-theme=light] .studio-inline-notice,:root[data-theme=light] .studio-selection-chip{background:linear-gradient(#ffffffe0,#f0f7ffc7),#ecf4fdd1;border-color:#a2bcdb57}:root[data-theme=light] .selection-trigger{background:linear-gradient(#ffffffe6,#f0f7ffcc),#ecf4fdd6;border-color:#a2bcdb57;box-shadow:inset 0 1px #ffffffe6}:root[data-theme=light] .selection-trigger:hover:not(:disabled){background:linear-gradient(#fffffff0,#ebf4ffe0),#e9f2fdeb;border-color:#4a7bf647}:root[data-theme=light] .selection-trigger:focus-visible,:root[data-theme=light] .selection-trigger-open{background:linear-gradient(#fffffff5,#e5f0ffe6),#e9f2fdf0;border-color:#4a7bf657;box-shadow:0 0 0 1px #4a7bf614,0 10px 24px #5c779b1f,inset 0 1px #fffffff0}:root[data-theme=light] .selection-trigger-disabled{background:#eef4fcb8;border-color:#a2bcdb42}:root[data-theme=light] .autocomplete-menu{background:linear-gradient(#fffffffa,#f2f8fff2),#f4f9fff5;border-color:#a2bcdb6b;box-shadow:0 24px 48px #5c779b2e,0 10px 24px #7a92b624,inset 0 1px #fffffff5}:root[data-theme=light] .autocomplete-empty{color:#536883}:root[data-theme=light] .autocomplete-option{color:#15253f;background:linear-gradient(#ffffffeb,#f0f7ffd6),#ecf4fde0;border-color:#a2bcdb47}:root[data-theme=light] .autocomplete-option:hover{background:linear-gradient(#fffffffa,#ecfaf7e6),#eef8fcf0;border-color:#5fdcdf57}:root[data-theme=light] .autocomplete-option-selected{background:linear-gradient(#6cf2ff1f,#9dffd81f 62%,#fffffff0),#f0f8fdf5;border-color:#5fdcdf66}:root[data-theme=light] .autocomplete-option-label{color:#15253f}:root[data-theme=light] .autocomplete-option-description{color:#536883}:root[data-theme=light] .selection-sheet-option{background:0 0;border-color:#a2bcdb47}:root[data-theme=light] .selection-sheet-option:hover{background:linear-gradient(90deg,#4a7bf614,#0000 76%),#eaf3fd94}:root[data-theme=light] .selection-sheet-option:focus-visible{box-shadow:inset 0 0 0 1px #4a7bf647,inset 3px 0 #4a7bf652}:root[data-theme=light] .selection-sheet-option-selected{background:linear-gradient(90deg,#18b1a024,#4a7bf60f 50%,#0000),#ecf4fda8;box-shadow:inset 3px 0 #18b1a0b3,inset 0 1px #ffffffdb}:root[data-theme=light] .selection-sheet-option-badge,:root[data-theme=light] .selection-sheet-option-check{background:#e6effaeb;border-color:#a2bcdb47}:root[data-theme=light] .selection-sheet-option-check,:root[data-theme=light] .studio-provider-toggle-button:hover,:root[data-theme=light] .studio-switcher-button:hover{color:var(--brand)}:root[data-theme=light] .studio-provider-toggle-button-active,:root[data-theme=light] .studio-switcher-button-active,:root[data-theme=light] .studio-scenario-card-active{color:var(--text-main);background:linear-gradient(#2a58c81f,#ffffffbd 62%),#ebf4fdf0;border-color:#2a58c847}:root[data-theme=light] .studio-workflow-item-done{background:linear-gradient(#4a7bf614,#ffffffb8 68%),#ebf4fdeb;border-color:#2a58c83d}:root[data-theme=light] .studio-composer{background:linear-gradient(#ffffffd1,#f2f8ffbd),#edf4fcd1;box-shadow:0 16px 30px #5c779b24,inset 0 1px #ffffffe6}:root[data-theme=light] .studio-composer-dock{background:linear-gradient(#f9fcfff0,#f2f7fffa),#f1f8fff5;border-top-color:#a2bcdb47;box-shadow:0 -16px 28px #6b87ab1f}:root[data-theme=light] .studio-inline-notice-danger{background:#c53f5a1a;border-color:#c53f5a3d}@media (width>=1025px){.studio-split-layout{grid-template-columns:minmax(360px,.88fr) minmax(540px,1.22fr);align-items:stretch}.studio-split-left{height:100%;min-height:0;display:flex;overflow:hidden}.studio-composer{scrollbar-gutter:stable;flex:auto;min-height:0;overflow:hidden auto}.studio-split-right{height:100%;min-height:0}}@media (width<=1024px){.studio-scenario-grid,.studio-field-grid,.studio-toggle-grid{flex-direction:column;display:flex}.studio-composer-run{width:100%}.kling-multi-shot-header,.kling-multi-shot-item-header{justify-items:start;display:grid}.kling-multi-shot-add,.kling-multi-shot-remove{width:auto}}html,body,button,input,select,textarea{font-synthesis-weight:none;text-rendering:optimizelegibility;font-family:var(--font-ui)!important}body{letter-spacing:0;font-size:16px;font-weight:450}h1,h2,h3,h4,h5,h6,.studio-heading,.app-topbar-title,.landing-hero-title,.landing-final-cta h2,.result-guide-title,.result-guide-card-title,.panel-title,.drawer-title,.admin-page-title,.admin-credit-page-title,.admin-pricing-page-title,.admin-history-page-title,.admin-modal-title,.openreel-hero-copy h2,.openreel-panel h3,.openreel-panel h4,.openreel-recipe h5{font-family:var(--font-heading)!important;font-weight:var(--type-heading-weight)!important;letter-spacing:0!important}.landing-hero-title,.landing-final-cta h2,.openreel-hero-copy h2{line-height:1.04}.app-topbar-eyebrow,.split-panel-title,.studio-field-label,.panel-label,.landing-chip,.landing-section-eyebrow,.landing-showcase-tab,.stage-operation-chip,.prompt-status,.status-row dt,.status-row dd{font-family:var(--font-ui)!important;letter-spacing:var(--type-label-tracking)!important;font-weight:650!important}.media-mode-tabs-link,.studio-nav-tab,.studio-provider-toggle-button,.studio-switcher-button,.result-tab,.left-mode-tab,.top-controls-field,.top-controls-select,.theme-switch,.selection-trigger-value,.panel-input,.panel-select,.panel-textarea,.prompt-input,.chip-select,.chip-button,.btn-primary,.btn-ghost,.btn-danger,.studio-composer-run,.auth-home-link,.link-action{font-family:var(--font-ui)!important;font-weight:var(--type-control-weight)!important;letter-spacing:0!important}.media-mode-tabs-link-active,.studio-nav-tab-active,.studio-provider-toggle-button-active,.studio-switcher-button-active,.result-tab.chip-button-active,.left-mode-tab-active,.chip-button-active,.studio-composer-run{font-weight:700!important}.login-subtitle,.auth-email-form-copy,.settings-hint,.studio-field-hint,.app-card-description,.result-guide-subtitle,.result-guide-card-text,.studio-result-empty,.result-history-detail,.openreel-muted,.openreel-panel>p,.openreel-recipe p,.admin-page-copy,.admin-credit-page-copy,.admin-pricing-page-copy{letter-spacing:0!important;font-weight:450!important}.landing-metric strong,.landing-benefit-stat strong,.studio-composer-run-cost,.studio-credits-value,.auth-provider-title,.openreel-metric strong{font-family:var(--font-ui)!important;letter-spacing:0!important;font-weight:720!important}@media (width>=768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
