@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(../media/7fea77d1d19108bf-s.0xyeb7czu1stb.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(../media/1bcd0e671759a44c-s.0vnh8.d8wxa2x.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(../media/e15f58668ad64cb8-s.0~.8lt~vdqmc3.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(../media/90c51ce8fb754fe8-s.00z~hoalba5dm.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(../media/57215795b8570f5c-s.0vwgtotjdgnhr.woff2)format("woff2");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:IBM Plex Sans;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(../media/03fc1b4a8d284b5e-s.p.09.f.n_ccld80.woff2)format("woff2");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}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(../media/7fea77d1d19108bf-s.0xyeb7czu1stb.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(../media/1bcd0e671759a44c-s.0vnh8.d8wxa2x.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(../media/e15f58668ad64cb8-s.0~.8lt~vdqmc3.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(../media/90c51ce8fb754fe8-s.00z~hoalba5dm.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(../media/57215795b8570f5c-s.0vwgtotjdgnhr.woff2)format("woff2");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:IBM Plex Sans;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(../media/03fc1b4a8d284b5e-s.p.09.f.n_ccld80.woff2)format("woff2");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}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(../media/7fea77d1d19108bf-s.0xyeb7czu1stb.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(../media/1bcd0e671759a44c-s.0vnh8.d8wxa2x.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(../media/e15f58668ad64cb8-s.0~.8lt~vdqmc3.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(../media/90c51ce8fb754fe8-s.00z~hoalba5dm.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(../media/57215795b8570f5c-s.0vwgtotjdgnhr.woff2)format("woff2");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:IBM Plex Sans;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(../media/03fc1b4a8d284b5e-s.p.09.f.n_ccld80.woff2)format("woff2");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}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:700;font-stretch:100%;font-display:swap;src:url(../media/7fea77d1d19108bf-s.0xyeb7czu1stb.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:700;font-stretch:100%;font-display:swap;src:url(../media/1bcd0e671759a44c-s.0vnh8.d8wxa2x.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:700;font-stretch:100%;font-display:swap;src:url(../media/e15f58668ad64cb8-s.0~.8lt~vdqmc3.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:700;font-stretch:100%;font-display:swap;src:url(../media/90c51ce8fb754fe8-s.00z~hoalba5dm.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:700;font-stretch:100%;font-display:swap;src:url(../media/57215795b8570f5c-s.0vwgtotjdgnhr.woff2)format("woff2");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:IBM Plex Sans;font-style:normal;font-weight:700;font-stretch:100%;font-display:swap;src:url(../media/03fc1b4a8d284b5e-s.p.09.f.n_ccld80.woff2)format("woff2");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}@font-face{font-family:IBM Plex Sans Fallback;src:local(Arial);ascent-override:101.32%;descent-override:27.18%;line-gap-override:0.0%;size-adjust:101.17%}.ibm_plex_sans_3ef6c49b-module__oGlfra__className{font-family:IBM Plex Sans,IBM Plex Sans Fallback;font-style:normal}.ibm_plex_sans_3ef6c49b-module__oGlfra__variable{--font-body:"IBM Plex Sans", "IBM Plex Sans Fallback"}
@font-face{font-family:Newsreader;font-style:normal;font-weight:500;font-display:swap;src:url(../media/150f724d70372c02-s.0ibo8nq1_5r8c.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Newsreader;font-style:normal;font-weight:500;font-display:swap;src:url(../media/750c737482d9de2f-s.0.oe-uv1--sd5.woff2)format("woff2");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:Newsreader;font-style:normal;font-weight:500;font-display:swap;src:url(../media/5f402bd2d8eef81a-s.p.16whm0euli40m.woff2)format("woff2");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}@font-face{font-family:Newsreader;font-style:normal;font-weight:600;font-display:swap;src:url(../media/150f724d70372c02-s.0ibo8nq1_5r8c.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Newsreader;font-style:normal;font-weight:600;font-display:swap;src:url(../media/750c737482d9de2f-s.0.oe-uv1--sd5.woff2)format("woff2");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:Newsreader;font-style:normal;font-weight:600;font-display:swap;src:url(../media/5f402bd2d8eef81a-s.p.16whm0euli40m.woff2)format("woff2");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}@font-face{font-family:Newsreader;font-style:normal;font-weight:700;font-display:swap;src:url(../media/150f724d70372c02-s.0ibo8nq1_5r8c.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Newsreader;font-style:normal;font-weight:700;font-display:swap;src:url(../media/750c737482d9de2f-s.0.oe-uv1--sd5.woff2)format("woff2");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:Newsreader;font-style:normal;font-weight:700;font-display:swap;src:url(../media/5f402bd2d8eef81a-s.p.16whm0euli40m.woff2)format("woff2");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}@font-face{font-family:Newsreader Fallback;src:local(Times New Roman);ascent-override:69.68%;descent-override:25.12%;line-gap-override:0.0%;size-adjust:105.48%}.newsreader_6e1d6dca-module__4EGSya__className{font-family:Newsreader,Newsreader Fallback;font-style:normal}.newsreader_6e1d6dca-module__4EGSya__variable{--font-display:"Newsreader", "Newsreader Fallback"}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5ce348bf30bf5439-s.0zgw-jeven.3w.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.0wkzw~je483f-.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/6306c77e7c8268e4-s.0rhz0arwfsn~5.woff2)format("woff2");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7d817b4c03b0c5f1-s.0l76wvqk9d84w.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.0k4k9394f2q-k.woff2)format("woff2");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:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.08e28id.o-okb.woff2)format("woff2");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}@font-face{font-family:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_6ed36146-module__KdPPOG__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_6ed36146-module__KdPPOG__variable{--font-mono:"Geist Mono", "Geist Mono Fallback"}
:root{--bg:#08090b;--panel:#ffffff13;--panel-strong:#ffffff1f;--line:#ffffff29;--text:#f5f5f3;--muted:#aaa8a3;--danger:#ff6b6b;--ok:#81e6a3;--scroll-track:#ffffff0b;--scroll-thumb:#ffffff42;--scroll-thumb-hover:#ffe09b94}*{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) transparent}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--scroll-thumb);background-clip:padding-box;border:3px solid #0000;border-radius:999px;min-height:42px}::-webkit-scrollbar-thumb:hover{background:var(--scroll-thumb-hover);background-clip:padding-box}::-webkit-scrollbar-corner{background:0 0}html,body{min-height:100%}body{color:var(--text);font-family:var(--font-geist-sans), Inter, ui-sans-serif, system-ui, sans-serif;letter-spacing:0;background:linear-gradient(#090a0d 0%,#101115 48%,#07080a 100%);margin:0}button,input,select,textarea{font:inherit}button,a{color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{text-decoration:none}.center-screen{place-items:center;min-height:100vh;padding:24px;display:grid}.glass-panel{background:var(--panel);border:1px solid var(--line);-webkit-backdrop-filter:blur(24px)saturate(135%);backdrop-filter:blur(24px)saturate(135%);border-radius:8px;box-shadow:0 24px 80px #00000061}.auth-panel{gap:14px;width:min(100%,420px);padding:28px;display:grid}.auth-form{gap:14px;display:grid}.auth-panel h1,.empty-state h1,.section-heading h1{margin:0;font-size:clamp(2rem,5vw,4.6rem);font-weight:520;line-height:.96}.auth-panel h1{font-size:2rem}.eyebrow{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:650}input,select,textarea{width:100%;color:var(--text);border:1px solid var(--line);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#ffffff12;border-radius:8px;outline:none}select option{color:#f5f5f3;background:#18191d}input,select{min-height:44px;padding:0 13px}textarea{resize:none;padding:14px}input:focus,select:focus,textarea:focus{border-color:#ffffff57}.button{border:1px solid var(--line);background:var(--panel-strong);border-radius:8px;min-height:42px;padding:0 16px}.button.primary{color:#fff;background:#2d9ee3;border-color:#2d9ee3;font-weight:650}.button.danger{color:#ffd3d3;border-color:#ff6b6b57}.form-error,.job-error{color:var(--danger);margin:0;font-size:.9rem}.form-success{color:var(--ok);margin:0;font-size:.9rem}.auth-secondary-link{color:var(--muted);justify-self:center;font-size:.88rem}.auth-secondary-link:hover{color:var(--text)}.spinner{border:2px solid #ffffff2e;border-top-color:#fff;border-radius:999px;width:34px;height:34px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.topbar{z-index:10;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#07080be0;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;height:68px;padding:0 clamp(18px,4vw,48px);display:flex;position:fixed;top:0;left:0;right:0}.brand{font-weight:680}.topbar nav{color:var(--muted);align-items:center;gap:18px;font-size:.9rem;display:flex}.admin-nav{flex:1;justify-content:flex-end}.admin-nav-actions,.admin-account{align-items:center;gap:8px;display:flex}.admin-nav-actions{background:#ffffff0b;border:1px solid #ffffff1a;border-radius:8px;padding:5px}.admin-nav-actions button,.admin-account button{border:1px solid #0000;border-radius:7px;min-height:34px;padding:0 12px}.admin-nav-actions button{color:#e7eef5;background:#ffffff0f}.admin-nav-actions button:hover:not(:disabled){background:#81e6a31f;border-color:#81e6a359}.admin-account{color:var(--muted)}.admin-account span{text-overflow:ellipsis;white-space:nowrap;max-width:220px;overflow:hidden}.topbar button{color:var(--muted);background:0 0;border:0}.studio-shell,.admin-shell{min-height:100vh}.studio-shell{background:#0b0c0f}.studio-rail{z-index:14;background:#0c0d10f5;border-right:1px solid #ffffff1a;grid-template-rows:auto 1fr auto;gap:22px;width:188px;padding:22px 14px;display:grid;position:fixed;inset:0 auto 0 0}.rail-brand{align-items:center;min-height:40px;padding:0 10px;font-weight:750;display:grid}.studio-rail nav{align-content:start;gap:6px;display:grid}.studio-rail nav a,.rail-account button,.mobile-taskbar a{color:var(--muted);background:0 0;border:1px solid #0000;border-radius:8px;font-weight:650}.studio-rail nav a{justify-content:space-between;align-items:center;gap:8px;min-height:38px;padding:0 10px;font-size:.9rem;display:flex}.studio-rail nav a b,.mobile-taskbar a b{color:#fff;background:#2d9ee3;border-radius:999px;place-items:center;min-width:20px;height:20px;font-size:.7rem;line-height:1;display:grid}.studio-rail nav a:hover,.rail-account button:hover,.mobile-taskbar a:hover{color:var(--text);background:#ffffff0e;border-color:#ffffff1f}.rail-account{gap:8px;min-width:0;display:grid}.rail-account span{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.rail-account button{text-align:left;min-height:34px;padding:0 10px}.rail-sync{color:var(--muted);font-size:.72rem}.mobile-taskbar{display:none}.studio-app{gap:18px;min-height:100vh;padding:28px 28px 36px 216px;display:grid}.studio-header{justify-content:space-between;align-items:end;gap:18px;min-width:0;display:flex}.studio-header h1{margin:0;font-size:clamp(2rem,4vw,4.1rem);font-weight:570;line-height:.96}.studio-header-actions,.preview-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.studio-header-actions button,.preview-actions button,.preview-actions a{min-height:34px;color:var(--muted);background:#ffffff0e;border:1px solid #ffffff24;border-radius:8px;padding:0 11px;font-size:.78rem;font-weight:650}.studio-header-actions button:hover:not(:disabled),.preview-actions button:hover,.preview-actions a:hover{color:var(--text);background:#ffffff1a;border-color:#ffffff47}.preview-layout{grid-template-columns:minmax(360px,1fr) 340px;align-items:start;gap:18px;min-width:0;display:grid}.video-preview-panel,.video-preview-empty,.create-panel,.gallery-section,.compact-history,.account-panel,.studio-status-panel,.active-stack,.generation-dock{background:#15161a;border:1px solid #ffffff1a;border-radius:8px}.video-preview-panel{grid-template-columns:minmax(260px,440px) minmax(260px,1fr);align-items:stretch;gap:18px;min-width:0;padding:14px;display:grid}.video-preview-empty{text-align:center;place-items:center;min-height:min(64vh,720px);padding:24px;display:grid}.video-preview-empty h2{margin:8px 0;font-size:clamp(1.6rem,3vw,2.8rem);font-weight:560}.video-preview-empty span{color:var(--muted)}.video-preview-frame,.modal-video-frame{background:#050607;border:1px solid #ffffff1f;border-radius:8px;overflow:hidden}.video-preview-frame{aspect-ratio:9/16;min-height:520px}.video-preview-frame video,.modal-video-frame video,.modal-video-frame img{object-fit:contain;background:#050607;width:100%;height:100%;display:block}.video-preview-meta{align-content:space-between;gap:18px;min-width:0;padding:8px 4px;display:grid}.video-preview-meta p{color:var(--text);overflow-wrap:anywhere;margin:16px 0 8px;font-size:clamp(1.15rem,2vw,1.65rem);line-height:1.26}.video-preview-meta span,.panel-heading span{color:var(--muted);font-size:.84rem}.studio-side{gap:12px;display:grid}.studio-status-panel,.active-stack,.generation-dock,.create-panel,.gallery-section,.compact-history,.account-panel{gap:12px;padding:14px;display:grid}.studio-status-panel{grid-template-columns:1fr}.studio-status-panel span,.studio-status-panel em,.studio-status-panel small{color:var(--muted);font-size:.78rem;font-style:normal}.studio-status-panel strong{font-size:1.35rem}.create-hero{z-index:8;position:sticky;top:0;box-shadow:0 16px 44px #0000002e}.generation-dock{align-content:start}.dock-heading{align-items:start}.dock-heading>div{gap:4px;min-width:0;display:grid}.dock-sync{max-width:150px;color:var(--muted);text-align:right;font-size:.72rem;line-height:1.25}.dock-sync.live{color:var(--ok)}.dock-sync.error{color:var(--danger)}.generation-dock-list{gap:8px;min-width:0;max-height:min(54vh,560px);padding-right:4px;display:grid;overflow:auto}.dock-row{background:#2d9ee30e;border-color:#2d9ee32e;min-height:86px}.dock-row .mini-progress{width:min(240px,100%)}.dock-empty{background:#ffffff09;border:1px dashed #ffffff29;border-radius:8px;gap:6px;padding:14px;display:grid}.dock-empty span{color:var(--muted);font-size:.84rem;line-height:1.4}.panel-heading,.create-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.panel-heading strong,.create-heading strong{font-size:1rem}.studio-composer{width:100%;box-shadow:none}.studio-video-gallery{grid-template-columns:repeat(auto-fill,minmax(148px,1fr));max-height:none;padding-right:0;overflow:visible}.video-card{background:#ffffff09;border:1px solid #ffffff1a;border-radius:8px;padding:8px}.video-card:hover,.video-card.selected{background:#2d9ee31a;border-color:#2d9ee394}.video-card .history-thumb{margin-bottom:8px}.video-card p{overflow-wrap:anywhere;height:auto;min-height:3.9em}.account-panel{grid-template-columns:minmax(0,1fr) auto;align-items:center}.account-panel strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.account-actions{align-items:center;gap:8px;display:flex}.account-actions a,.account-actions button{min-height:34px;color:var(--muted);background:#ffffff0e;border:1px solid #ffffff24;border-radius:8px;padding:0 11px;font-size:.78rem;font-weight:650}.account-actions a{align-items:center;display:grid}.account-actions a:hover,.account-actions button:hover{color:var(--text);background:#ffffff1a;border-color:#ffffff47}.modal-video-frame{aspect-ratio:9/16;justify-self:start;width:min(300px,100%);max-height:64vh}.stage{grid-template-rows:1fr auto;place-items:end center;gap:18px;min-height:100vh;padding:128px 22px 28px;display:grid}.system-status{z-index:9;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#101115e6;border:1px solid #ffffff24;border-radius:8px;justify-content:space-between;align-items:center;gap:14px;width:min(560px,100vw - 32px);min-height:34px;padding:0 12px;display:flex;position:fixed;top:76px;left:50%;transform:translate(-50%);box-shadow:0 18px 48px #00000047}.creator-status{justify-content:center}.system-status span,.system-status em{color:var(--muted);font-size:.72rem;font-style:normal}.system-status strong{color:var(--text);font-size:.82rem}.system-status small{max-width:190px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;overflow:hidden}.system-status small.runtime-warning{color:var(--danger)}.studio-grid{grid-template-columns:minmax(280px,520px) minmax(280px,1fr);align-items:stretch;gap:18px;width:min(100%,1180px);display:grid}.prompt-workspace{gap:18px;width:min(100%,920px);display:grid}.prompt-header{justify-content:space-between;align-items:end;gap:16px;display:flex}.prompt-header h1{margin:0;font-size:clamp(2rem,6vw,4rem);font-weight:560;line-height:1}.prompt-list{border:1px solid var(--line);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#121317c7;border-radius:8px;gap:10px;padding:16px;display:grid;box-shadow:0 20px 56px #00000047}.prompt-list-heading{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;font-size:.84rem;display:flex}.prompt-list-heading strong{color:var(--text)}.prompt-list-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.prompt-sync-status{max-width:190px;color:var(--muted);font-size:.72rem;line-height:1.2}.prompt-sync-status.error{color:var(--danger)}.worker-restart-notice{color:var(--text);background:#f59e0b14;border:1px solid #f59e0b47;border-radius:8px;margin:0;padding:10px 12px;font-size:.8rem;line-height:1.4}.prompt-list-actions button{min-height:28px;color:var(--muted);background:#ffffff0f;border:1px solid #ffffff24;border-radius:8px;padding:0 9px;font-size:.76rem}.prompt-list-actions button:hover:not(:disabled){color:var(--text);background:#ffffff1a;border-color:#ffffff47}.prompt-rows{overscroll-behavior:contain;gap:8px;max-height:min(58vh,620px);padding-right:6px;display:grid;overflow:auto}.prompt-row{text-align:left;background:#ffffff09;border:1px solid #ffffff1a;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;min-height:72px;padding:10px;display:grid}.prompt-row-main{text-align:left;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0;padding:0;display:grid}.prompt-row div,.prompt-row p,.prompt-row span{min-width:0}.prompt-row p{-webkit-line-clamp:2;color:var(--text);overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:0 0 5px;font-size:.94rem;line-height:1.35;display:-webkit-box;overflow:hidden}.prompt-row div>span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;display:block;overflow:hidden}.prompt-row-actions{justify-items:end;gap:6px;display:grid}.prompt-row-actions button{min-width:58px;min-height:30px;color:var(--muted);background:#ffffff0e;border:1px solid #ffffff24;border-radius:8px;padding:0 10px;font-size:.74rem;font-weight:650}.prompt-row-actions button:hover:not(:disabled){color:var(--text);background:#ffffff1a;border-color:#ffffff47}.mini-progress{background:#ffffff1c;border-radius:999px;width:min(180px,42vw);height:3px;margin-top:8px;overflow:hidden}.mini-progress span{border-radius:inherit;background:#ffffffc7;height:100%;transition:width .35s;display:block}.status-chip{color:#ffe09b;text-overflow:ellipsis;text-transform:capitalize;white-space:nowrap;background:#ffe09b14;border:1px solid #ffe09b4d;border-radius:999px;max-width:150px;padding:5px 9px;font-size:.74rem;overflow:hidden}.video-frame{aspect-ratio:16/9;border:1px solid var(--line);background:linear-gradient(160deg,#ffffff21,#ffffff09),#00000040;border-radius:8px;place-items:center;width:min(100%,1040px);display:grid;overflow:hidden;box-shadow:0 32px 90px #0000006b}.vertical-frame{aspect-ratio:9/16;justify-self:center;width:min(100%,520px)}.video-frame video{object-fit:cover;width:100%;height:100%}.gallery-panel{border:1px solid var(--line);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffff0e;border-radius:8px;grid-template-rows:auto 1fr;gap:12px;min-height:0;padding:16px;display:grid;box-shadow:0 24px 70px #0000004d}.gallery-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.gallery-heading span,.gallery-empty{color:var(--muted);font-size:.84rem}.video-gallery{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));align-content:start;gap:12px;max-height:min(68vh,760px);padding-right:2px;display:grid;overflow:auto}.history-card{text-align:left;background:0 0;border:0;gap:8px;min-width:0;margin:0;padding:0;display:grid}.history-thumb{aspect-ratio:9/16;background:#00000047;border:1px solid #ffffff1f;border-radius:8px;place-items:center;display:grid;overflow:hidden}.history-thumb video{object-fit:cover;width:100%;height:100%}.history-thumb img{object-fit:cover;width:100%;height:100%;display:block}.history-thumb span{color:var(--muted);text-align:center;padding:10px;font-size:.78rem}.history-card p{min-width:0;height:2.7em;color:var(--text);margin:0;font-size:.82rem;line-height:1.35;overflow:hidden}.history-card small{color:var(--muted);text-transform:capitalize;font-size:.72rem}.modal-backdrop{z-index:30;background:#000000b8;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.prompt-modal{overscroll-behavior:contain;scrollbar-gutter:stable;background:#16171afa;gap:14px;width:min(940px,100%);max-height:min(760px,88vh);padding:18px 20px 18px 18px;display:grid;overflow:hidden auto;box-shadow:0 30px 100px #00000094}.prompt-modal-body{gap:16px;min-width:0;display:grid}.prompt-modal-body.with-video{grid-template-columns:minmax(220px,300px) minmax(0,1fr);align-items:start}.prompt-modal-details{gap:14px;min-width:0;display:grid}.prompt-copy{overscroll-behavior:contain;scrollbar-gutter:stable;max-height:140px;color:var(--text);overflow-wrap:anywhere;margin:0;padding-right:8px;font-size:.98rem;line-height:1.5;overflow:hidden auto}.prompt-progress-summary{gap:5px;display:grid}.prompt-progress-summary p{color:var(--text);margin:0;font-weight:700}.prompt-progress-summary span{color:var(--muted);line-height:1.45}.support-trace{color:var(--muted);overflow-wrap:anywhere;margin:-2px 0 0;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.74rem}.support-id{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:10px 12px;display:grid}.support-id div{gap:4px;min-width:0;display:grid}.support-id span{color:var(--muted);text-transform:uppercase;font-size:.7rem}.support-id strong{min-width:0;color:var(--text);overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.78rem}.support-id button{min-width:62px;min-height:32px;color:var(--muted);background:#ffffff12;border:1px solid #ffffff29;border-radius:8px;padding:0 10px;font-size:.78rem;font-weight:650}.support-id button:hover{color:var(--text);background:#ffffff1c;border-color:#ffffff47}.prompt-modal .card-row button{border:1px solid var(--line);background:var(--panel-strong);border-radius:8px;min-height:32px;padding:0 10px}.prompt-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.prompt-detail-grid div{background:#ffffff0b;border:1px solid #ffffff1a;border-radius:8px;gap:4px;min-width:0;padding:10px;display:grid}.prompt-detail-grid span{color:var(--muted);text-transform:uppercase;font-size:.7rem}.prompt-detail-grid strong{overflow-wrap:anywhere;min-width:0;font-size:.82rem}.prompt-user-status{background:#ffffff0b;border:1px solid #ffffff1a;border-radius:8px;gap:10px;padding:12px;display:grid}.prompt-user-status>div:first-child,.prompt-user-status .duration-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.prompt-user-status span{color:var(--muted)}.prompt-user-status strong{color:var(--text)}.runtime-panel{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.runtime-panel div{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:8px;gap:4px;min-width:0;padding:10px;display:grid}.runtime-panel span{color:var(--muted);text-transform:uppercase;font-size:.72rem}.runtime-panel strong{overflow-wrap:anywhere;min-width:0;font-size:.82rem}.prompt-timeline{gap:8px;margin:0;padding:0;list-style:none;display:grid}.prompt-timeline li{background:#ffffff09;border:1px solid #ffffff14;border-radius:8px;grid-template-columns:28px 1fr;align-items:start;gap:10px;padding:9px;display:grid}.prompt-timeline li>span{width:24px;height:24px;color:var(--muted);border:1px solid #ffffff29;border-radius:999px;place-items:center;font-size:.78rem;font-weight:700;display:grid}.prompt-timeline div{gap:2px;display:grid}.prompt-timeline strong{color:var(--text);font-size:.9rem}.prompt-timeline small{color:var(--muted);line-height:1.35}.prompt-timeline li.done>span,.prompt-timeline li.current>span{color:#061109;background:var(--ok);border-color:var(--ok)}.prompt-timeline li.current{background:#ffe09b0f;border-color:#ffe09b47}.prompt-timeline li.current>span{background:#ffe09b;border-color:#ffe09b}.prompt-timeline li.danger{border-color:#ff6b6b57}.prompt-timeline li.danger>span{color:#210606;background:var(--danger);border-color:var(--danger)}.prompt-events{gap:8px;display:grid}.prompt-events summary{cursor:pointer;color:var(--muted)}.modal-telemetry{overscroll-behavior:contain;width:100%;max-height:220px;padding-right:6px;overflow:hidden auto}.modal-telemetry span{white-space:normal}.empty-state,.generation-state{text-align:center;justify-items:center;gap:18px;padding:28px;display:grid}.generation-state p{color:var(--muted);margin:0}.generation-state h2{margin:0;font-size:clamp(1.6rem,4vw,3rem);font-weight:520}.stage-list{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;width:min(720px,82vw);display:grid}.stage-dot{min-height:42px;color:var(--muted);background:#ffffff0a;border:1px solid #ffffff1f;border-radius:8px;place-items:center;padding:8px;font-size:.78rem;line-height:1.2;display:grid}.stage-dot.active{color:var(--text);background:#ffffff1f;border-color:#ffffff5c}.progress-track{background:#ffffff1f;border-radius:999px;width:min(360px,64vw);height:4px;overflow:hidden}.progress-track span{background:#fff;height:100%;transition:width .35s;display:block}.telemetry-list{text-align:left;gap:6px;width:min(680px,82vw);display:grid}.telemetry-list span{overflow-wrap:anywhere;min-width:0;color:var(--muted);background:#ffffff0b;border:1px solid #ffffff1a;border-radius:8px;padding:7px 9px;font-size:.78rem}.composer{background:#141519eb;width:min(100%,860px);padding:12px 108px 12px 12px;position:relative}.composer>textarea:first-of-type{background:0 0;border:0;min-height:72px;max-height:220px;font-size:1.04rem;line-height:1.4}.composer details{border-top:1px solid #ffffff1a;padding:8px 6px 0}.composer summary{width:max-content;color:var(--muted);cursor:pointer;font-size:.84rem}.composer details textarea{margin-top:10px}.generation-controls{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.generation-controls span{color:var(--muted);background:#ffffff0b;border:1px solid #ffffff1a;border-radius:999px;padding:5px 9px;font-size:.78rem}.send-button{color:#fff;background:#2d9ee3;border:0;border-radius:999px;width:38px;height:38px;font-size:1.4rem;line-height:1;position:absolute;bottom:12px;right:12px}.clear-prompt-button{min-height:32px;color:var(--muted);background:#ffffff14;border:1px solid #ffffff29;border-radius:8px;padding:0 10px;font-size:.78rem;font-weight:650;position:absolute;top:12px;right:58px}.clear-prompt-button:hover{color:var(--text);background:#ffffff1f;border-color:#ffffff47}.admin-grid{grid-template-columns:320px 1fr;gap:20px;min-height:100vh;padding:92px 24px 24px;display:grid}.control-panel{align-self:start;gap:16px;padding:20px;display:grid}.control-panel h2,.section-heading h2{margin:0}.hardware-lock{min-height:42px;color:var(--ok);background:#81e6a314;border:1px solid #81e6a347;border-radius:8px;align-items:center;padding:0 13px;font-weight:650;display:grid}.hardware-lock.compact-lock{width:max-content;min-height:38px;padding:0 14px}.control-panel label{color:var(--muted);gap:8px;font-size:.9rem;display:grid}.admin-redesign{background:#0d0e11}.ops-layout{grid-template-columns:minmax(0,1fr) 340px;gap:20px;min-height:100vh;padding:92px 24px 24px;display:grid}.ops-main{min-width:0}.action-center{box-shadow:none;background:#15161a;align-self:start;gap:16px;padding:18px;display:grid;position:sticky;top:84px}.action-center h2{margin:6px 0 0;font-size:1.15rem}.admin-command-summary{grid-template-columns:1fr;gap:8px;display:grid}.admin-command-summary .metric{min-height:72px;padding:12px}.action-center label{color:var(--muted);gap:8px;font-size:.9rem;display:grid}.check-row{grid-template-columns:18px 1fr;align-items:center;color:var(--text)!important}.check-row input{width:18px;min-height:18px;padding:0}.wide{width:100%}.manual-block{border-top:1px solid #ffffff1f;gap:10px;padding-top:14px;display:grid}.fallback-block small,.muted-control small{color:var(--muted);font-size:.78rem;line-height:1.35}.muted-control{opacity:.72}.action-center .button{color:#ececec;background:#2b2c31;border-color:#44464d;place-items:center;min-height:40px;font-weight:650;display:grid}.action-center .button.primary{color:#fff;background:#1c6fb2;border-color:#247cc1}.action-center .button.danger{color:#ffd6d6;background:#33272a;border-color:#ff6b6b6b}.status-card{background:#141519;gap:18px;padding:22px;display:grid}.status-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.metric{background:#ffffff09;border:1px solid #ffffff1f;border-radius:8px;align-content:space-between;gap:10px;min-height:92px;padding:14px;display:grid}.metric span{color:var(--muted);text-transform:uppercase;font-size:.78rem}.metric strong{overflow-wrap:anywhere;min-width:0;font-size:1rem}.metric.ok strong{color:var(--ok)}.metric.warn strong{color:#ffe09b}.metric.danger strong{color:var(--danger)}.readiness-empty{background:#81e6a314;border:1px solid #81e6a32e;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:18px;display:grid}.readiness-empty div{gap:6px;display:grid}.readiness-empty span{color:var(--muted);font-size:.92rem;line-height:1.45}.readiness-empty .button{min-width:170px}.progress-line{color:var(--muted);justify-content:space-between;gap:12px;font-size:.9rem;display:flex}.progress-track.full{width:100%}.ops-workbench{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.ops-workbench select,.ops-workbench textarea{width:100%;min-width:0;color:var(--text);background:#101115;border:1px solid #ffffff24;border-radius:8px;padding:10px 11px}.ops-button-row{flex-wrap:wrap;gap:8px;display:flex}.ops-button-row .button{color:#ececec;background:#2b2c31;border-color:#44464d;min-height:38px}.ops-button-row .button.danger{color:#ffd6d6;background:#33272a;border-color:#ff6b6b6b}.ops-job-checklist{background:#ffffff09;border:1px solid #ffffff1a;border-radius:8px;gap:6px;max-height:170px;padding:8px;display:grid;overflow:auto}.compact-check{min-height:28px;color:var(--muted);font-size:.78rem}.compact-check span{overflow-wrap:anywhere;min-width:0}.ops-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.ops-detail-grid div{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:8px;gap:4px;min-width:0;padding:8px;display:grid}.ops-detail-grid span{color:var(--muted);text-transform:uppercase;font-size:.72rem}.ops-detail-grid strong{overflow-wrap:anywhere;min-width:0;font-size:.82rem}.ops-trace-timeline{grid-template-columns:repeat(7,minmax(74px,1fr));gap:6px;margin:0;padding:0;list-style:none;display:grid}.trace-step{background:#ffffff09;border:1px solid #ffffff1a;border-radius:8px;align-content:center;gap:4px;min-width:0;min-height:54px;padding:8px;display:grid}.trace-step span,.trace-step strong{overflow-wrap:anywhere;min-width:0}.trace-step span{color:var(--muted);text-transform:uppercase;font-size:.68rem}.trace-step strong{color:var(--text);font-size:.78rem}.trace-step.done{border-color:#5cd39759}.trace-step.current{border-color:#facc1573}.trace-step.attention{background:#f8717114;border-color:#f871718c}@media (max-width:900px){.ops-trace-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}}.ops-events{max-height:280px;color:var(--muted);gap:8px;margin:0;padding-left:18px;display:grid;overflow:auto}.ops-events li{padding-left:4px}.ops-events strong{color:var(--text);font-size:.86rem;display:block}.ops-result{background:#141519;gap:10px;margin-top:14px;padding:16px;display:grid}.ops-result pre{color:#d7f7df;max-height:220px;font-family:var(--font-geist-mono), Consolas, monospace;white-space:pre-wrap;background:#00000052;border-radius:8px;margin:0;padding:12px;font-size:.78rem;line-height:1.5;overflow:auto}.compact-notice{max-width:64ch}.notice{color:var(--muted);margin:0;font-size:.88rem;line-height:1.45}.admin-main{min-width:0}.section-heading{justify-content:space-between;align-items:end;margin-bottom:20px;display:flex}.section-heading.compact{margin-top:28px}.instance-grid,.offer-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;display:grid}.instance-card,.empty-admin,.offer-card{background:#141519;padding:18px}.active-instance-card{margin-bottom:14px}.instance-card p{color:var(--muted);margin:7px 0}.machine-state-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.machine-state-grid div{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:8px;gap:4px;min-width:0;padding:8px;display:grid}.machine-state-grid span{color:var(--muted);text-transform:uppercase;font-size:.72rem}.machine-state-grid strong{overflow-wrap:anywhere;min-width:0;font-size:.82rem}.card-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.status-pill{color:#ffe09b;border:1px solid #ffe09b4d;border-radius:999px;padding:4px 9px;font-size:.78rem}.status-pill.running{color:var(--ok);border-color:#81e6a34d}.status-pill.danger{color:var(--danger);background:#ff6b6b14;border-color:#ff6b6b57}.offer-card{text-align:left;gap:8px;display:grid}.offer-card small{color:var(--muted)}.log-panel{margin-top:18px;padding:18px}.log-panel pre{color:#d7f7df;min-height:260px;max-height:460px;font-family:var(--font-geist-mono), Consolas, monospace;white-space:pre-wrap;background:#00000057;border:1px solid #ffffff1a;border-radius:8px;margin:14px 0 0;padding:14px;font-size:.82rem;line-height:1.55;overflow:auto}.machine-log-buttons{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.machine-log-buttons button,.machine-log-buttons span{min-height:32px;color:var(--muted);background:#ffffff0f;border:1px solid #ffffff29;border-radius:8px;padding:0 10px;font-size:.78rem}.machine-log-buttons button.active{color:#fff;background:#81e6a31f;border-color:#81e6a370}.provision-shell{background:#151515;grid-template-columns:345px minmax(0,1fr);gap:20px;height:100vh;padding:92px 24px 24px;display:grid;overflow:hidden}.provision-topbar{background:#151515;border-bottom:1px solid #ffffff1f}.template-card,.filter-panel{background:#191a1e;border:1px solid #393939;border-radius:8px;gap:16px;padding:20px;display:grid}.template-card small,.filter-panel label{color:var(--muted);font-size:.88rem}.template-card .button{color:#ededed;background:#2a2c32;border-color:#44464d;place-items:center;font-weight:650;display:grid}.filter-panel label{gap:8px;display:grid}.filter-panel h2{margin:0;font-size:1rem}.pill-row{flex-wrap:wrap;gap:8px;display:flex}.pill-row span{color:#e9e9e9;background:#2a2a2a;border-radius:999px;padding:4px 12px;font-size:.78rem;font-weight:650}.pill-row span:first-child{background:#123fb8}.offer-logo{color:#ececec;border:2px solid #ececec;place-items:center;font-weight:800;display:grid}.template-preview{background:linear-gradient(145deg,#2d9ee329,#ffffff0a),#111317;border:1px solid #ffffff1f;border-radius:8px;gap:14px;padding:16px;display:grid}.template-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.template-header strong{font-size:1.05rem}.template-header span{color:var(--ok);font-size:.8rem;font-weight:750}.template-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.template-metrics span{color:#f1f1f1;text-align:center;background:#ffffff14;border-radius:6px;place-items:center;min-height:34px;font-size:.72rem;font-weight:650;display:grid}.template-lines{gap:7px;display:grid}.template-lines span{background:#ffffff29;border-radius:999px;height:8px}.template-lines span:nth-child(2){width:72%}.template-lines span:nth-child(3){width:46%}.offer-list{gap:10px;min-height:0;padding-right:6px;display:grid;overflow:auto}.offer-gpu strong{font-size:clamp(1.15rem,2vw,1.65rem);font-weight:420}.offer-logo{color:#717184;background:#efeff2;border-color:#efeff2;width:36px;height:36px;transform:skew(-14deg)}.offer-price{justify-items:stretch}.offer-price strong{text-align:right;font-size:1rem}.offer-price button{color:#fff;text-transform:uppercase;background:#2388d0;border:0;min-height:32px;font-weight:750}.job-panel{background:#ffffff0a;border:1px solid #ffffff1f;border-radius:8px;gap:8px;padding:12px;display:grid}.job-panel span,.job-panel small{color:var(--muted);font-size:.82rem;line-height:1.4}@media (max-width:820px){.studio-shell{padding-bottom:78px}.studio-rail{display:none}.mobile-taskbar{z-index:24;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0f1013f5;border:1px solid #ffffff1f;border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:6px;display:grid;position:fixed;bottom:12px;left:12px;right:12px;box-shadow:0 18px 48px #00000061}.mobile-taskbar a{grid-template-rows:1fr auto;place-items:center;gap:2px;min-width:0;min-height:44px;padding:0 4px;font-size:.72rem;line-height:1.1;display:grid}.mobile-taskbar a span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.mobile-taskbar a b{min-width:18px;height:18px;font-size:.66rem}.mobile-taskbar a b.danger{background:var(--danger)}.studio-app{padding:20px 14px 18px}.create-hero{top:0}.studio-header,.preview-layout,.video-preview-panel{grid-template-columns:1fr}.studio-header{flex-direction:column;align-items:start}.studio-header-actions{justify-content:flex-start}.generation-dock-list{max-height:none;padding-right:0;overflow:visible}.video-preview-frame{min-height:0;max-height:72vh}.video-preview-meta{padding:0}.studio-video-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.account-panel{grid-template-columns:1fr}.account-actions{flex-direction:column;align-items:stretch}.account-actions a,.account-actions button{text-align:center;justify-content:center}.modal-video-frame{justify-self:center;width:min(320px,100%);max-height:58vh}.prompt-modal-body.with-video{grid-template-columns:1fr}.topbar{position:static}.topbar,.topbar nav{flex-direction:column;align-items:flex-start;gap:10px;height:auto;padding-top:18px;padding-bottom:18px}.stage,.admin-grid,.ops-layout{padding-top:24px}.admin-grid,.ops-layout,.provision-shell,.studio-grid,.prompt-row,.prompt-row-main{grid-template-columns:1fr}.prompt-row-actions{justify-items:stretch}.provision-shell{height:auto;overflow:visible}.system-status{width:auto;margin:12px 18px 0;position:static;transform:none}.vertical-frame{max-height:70vh}.offer-price{grid-column:1/-1}.runtime-panel,.status-grid,.stage-list{grid-template-columns:1fr}}:root{--bg:#070706;--bg-2:#10100d;--panel:#f8f1dc12;--panel-strong:#f8f1dc1f;--surface:#151511;--surface-raised:#1d1c17;--line:#f8f1dc29;--line-strong:#f8f1dc47;--text:#faf4e6;--muted:#aaa18d;--gold:#d8af55;--blue:#58b8d8;--danger:#ff6d5f;--ok:#8ee0a6;--warn:#f0c76a;--shadow:0 26px 80px #0000006b;--font-ui:var(--font-body), "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;--font-heading:var(--font-display), Georgia, serif}body{color:var(--text);font-family:var(--font-ui);background:linear-gradient(90deg,#d8af550a 1px,#0000 1px) 0 0/48px 48px,linear-gradient(#58b8d80a 1px,#0000 1px) 0 0/48px 48px,linear-gradient(135deg,#080807 0%,#14130f 44%,#070706 100%)}.studio-header h1,.auth-panel h1,.section-heading h1,.prompt-header h1,.generation-state h2,.video-preview-empty h2{font-family:var(--font-heading);letter-spacing:0}.glass-panel,.video-preview-panel,.video-preview-empty,.create-panel,.gallery-section,.compact-history,.account-panel,.studio-status-panel,.active-stack,.generation-dock,.prompt-list,.gallery-panel,.status-card,.instance-card,.empty-admin,.offer-card,.template-card,.filter-panel,.log-panel,.action-center{border:1px solid var(--line);background:linear-gradient(145deg, #ffffff14, #ffffff06), var(--surface);box-shadow:var(--shadow)}.button,.studio-header-actions button,.preview-actions button,.preview-actions a,.account-actions a,.account-actions button,.prompt-row-actions button,.admin-nav-actions button,.admin-account button,.machine-log-buttons button,.machine-log-buttons span,.saved-library-header button,.saved-prompt-actions button{border-color:var(--line);color:#e8dfcc;background:#faf4e612;transition:transform .18s,border-color .18s,background .18s}.button:hover:not(:disabled),.studio-header-actions button:hover:not(:disabled),.preview-actions button:hover,.preview-actions a:hover,.account-actions a:hover,.account-actions button:hover,.prompt-row-actions button:hover:not(:disabled),.saved-library-header button:hover,.saved-prompt-actions button:hover:not(:disabled){background:#d8af551f;border-color:#d8af558a;transform:translateY(-1px)}.button.primary,.send-button,.action-center .button.primary,.filter-panel .button.primary,.template-card .button.primary{color:#120d05;background:linear-gradient(135deg,#f1cf78,#b97924);border-color:#d8af55;font-weight:750}.studio-shell,.admin-shell,.admin-redesign{background:0 0}.studio-rail{background:linear-gradient(#d8af5517,#0000 42%),#080807f0;border-right:1px solid #d8af552e;width:214px}.studio-rail.collapsed{transform:translate(-100%)}.rail-topline{justify-content:space-between;align-items:center;gap:8px;display:flex}.rail-toggle,.studio-nav-reveal{min-height:30px;color:var(--gold);background:#d8af5514;border:1px solid #d8af553d;border-radius:8px;padding:0 9px;font-size:.72rem;font-weight:750}.studio-nav-reveal{z-index:30;box-shadow:var(--shadow);display:none;position:fixed;bottom:14px;left:14px}.studio-nav-reveal.visible{display:block}.rail-brand,.brand{color:var(--gold);letter-spacing:.08em;text-transform:uppercase}.studio-rail nav button,.mobile-taskbar button{min-width:0;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:8px;font-weight:650}.studio-rail nav button{text-align:left;justify-content:space-between;align-items:center;gap:8px;min-height:38px;padding:0 10px;display:flex}.studio-rail nav button.active,.mobile-taskbar button.active{color:var(--text);background:#d8af551f;border-color:#d8af555c}.studio-rail nav button b,.mobile-taskbar button b{background:var(--gold);color:#161005;border-radius:999px;place-items:center;min-width:20px;height:20px;font-size:.7rem;display:grid}.studio-rail nav a:hover,.studio-rail nav button:hover,.rail-account button:hover,.mobile-taskbar a:hover,.mobile-taskbar button:hover{background:#d8af5517;border-color:#d8af5557}.studio-app{gap:20px;padding-left:246px}.studio-header{min-height:92px;padding:8px 0 2px}.studio-header h1{font-size:clamp(3.5rem,7vw,7.4rem);font-weight:600}.studio-header-actions{border:1px solid var(--line);background:#0c0c0ab8;align-items:stretch;padding:6px}.create-panel.create-hero{z-index:8;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:18px;padding:16px;display:grid;position:relative;top:auto;overflow:visible}.generation-page-grid{grid-template-columns:minmax(280px,340px) minmax(360px,1fr);align-items:start;gap:18px;display:grid}.videos-page .studio-video-gallery{grid-template-columns:repeat(auto-fill,minmax(188px,240px));justify-content:start}.videos-page .video-card .history-thumb{min-height:168px}.bulk-upload-panel{background:linear-gradient(135deg,#d8af551a,#58b8d80e),#0c0c0ac7;border:1px solid #d8af5533;border-radius:8px;grid-template-columns:minmax(220px,.7fr) minmax(320px,1.3fr);align-items:start;gap:14px;padding:14px;display:grid}.bulk-upload-copy,.bulk-upload-controls{gap:10px;min-width:0;display:grid}.bulk-upload-copy strong{font-size:1.15rem}.bulk-upload-copy span,.bulk-notice,.bulk-error-list,.bulk-duplicate-bar{color:var(--muted);font-size:.86rem}.bulk-file-picker{min-height:44px;color:var(--text);cursor:pointer;background:#ffffff0e;border:1px dashed #ffffff3d;border-radius:8px;align-items:center;padding:0 13px;display:grid}.bulk-file-picker input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.bulk-file-picker span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.bulk-upload-actions,.bulk-duplicate-bar,.bulk-status-bar,.batch-folder-stats{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.bulk-duplicate-bar,.bulk-status-bar,.bulk-error-list,.bulk-notice{grid-column:1/-1}.bulk-status-bar{color:var(--muted);background:#68d6f50f;border:1px solid #68d6f52e;border-radius:8px;padding:10px 12px}.bulk-status-bar strong{color:var(--text)}.bulk-error-list{color:#ffd3d3;gap:5px;display:grid}.bulk-notice{margin:0}.bulk-notice.warn{color:#ffe09b}.bulk-preview-table{border:1px solid #faf4e61f;border-radius:8px;grid-column:1/-1;min-width:0;display:grid;overflow:hidden}.bulk-preview-row{border-top:1px solid #faf4e614;grid-template-columns:56px minmax(0,1fr) minmax(100px,.34fr) minmax(80px,.24fr) 86px;align-items:center;gap:8px;min-width:0;padding:8px 10px;font-size:.8rem;display:grid}.bulk-preview-row:first-child{border-top:0}.bulk-preview-row.head{color:var(--muted);background:#ffffff0b;font-weight:650}.bulk-preview-row strong,.bulk-preview-row span,.bulk-preview-row em{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-style:normal;overflow:hidden}.bulk-preview-row.error{color:#ffd3d3}.batch-folder-list,.gallery-workbench{gap:12px;display:grid}.gallery-workbench-header{justify-content:space-between;align-items:end;gap:14px;display:flex}.gallery-workbench-header>div,.gallery-folder-primary{gap:4px;min-width:0;display:grid}.gallery-workbench-header strong,.gallery-folder-toolbar strong{overflow-wrap:anywhere;min-width:0;font-size:1.06rem}.gallery-folder-create,.gallery-rename-form{align-items:center;gap:8px;min-width:min(100%,420px);display:flex}.gallery-folder-create input,.gallery-rename-form input{min-width:0}.gallery-board{grid-template-columns:minmax(180px,240px) minmax(0,1fr);align-items:start;gap:14px;min-width:0;display:grid}.gallery-folder-sidebar{align-content:start;gap:8px;min-width:0;display:grid}.gallery-folder-tab{min-width:0;min-height:46px;color:var(--text);text-align:left;background:#ffffff0a;border:1px solid #faf4e61f;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 11px;display:grid}.gallery-folder-tab.active,.gallery-folder-tab:hover{background:#d8af5517;border-color:#d8af5575}.gallery-folder-tab span,.gallery-folder-tab em,.gallery-folder-toolbar span,.gallery-notice{overflow-wrap:anywhere;min-width:0}.gallery-folder-tab em,.gallery-folder-toolbar span,.gallery-notice{color:var(--muted);font-size:.82rem;font-style:normal}.gallery-folder-panel{background:#0e0e0c9e;border:1px solid #faf4e61f;border-radius:8px;gap:10px;min-width:0;padding:12px;display:grid}.gallery-folder-panel.can-drop.dragging{outline-offset:-5px;outline:1px dashed #d8af5557}.gallery-folder-toolbar{border-bottom:1px solid #faf4e614;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding-bottom:9px;display:flex}.gallery-folder-title-block{gap:7px;min-width:0;display:grid}.gallery-folder-stat-row{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.gallery-folder-stat-row span,.gallery-item-count{min-height:24px;color:var(--muted);background:#ffffff09;border:1px solid #faf4e61a;border-radius:999px;align-items:center;padding:0 8px;font-size:.75rem;line-height:1;display:inline-flex}.gallery-folder-primary-actions,.gallery-folder-control-row,.gallery-video-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.gallery-folder-primary-actions .button,.gallery-folder-control-row .button{min-height:32px;padding:0 10px;font-size:.78rem}.gallery-folder-control-row{justify-content:space-between;min-width:0;padding:1px 0 4px}.gallery-select-all,.gallery-video-select{min-width:0;color:var(--muted);align-items:center;gap:7px;font-size:.78rem;line-height:1.2;display:inline-flex}.gallery-select-all input,.gallery-video-select input{width:16px;height:16px;accent-color:var(--gold);flex:none}.gallery-folder-control-row select,.gallery-bulk-actions select{width:auto;min-width:136px;min-height:32px;padding:0 9px;font-size:.78rem}.gallery-video-item{background:#ffffff05;border:1px solid #faf4e614;border-radius:8px;align-content:start;gap:7px;min-width:0;padding:6px;transition:border-color .16s,background .16s,box-shadow .16s;display:grid;position:relative}.gallery-video-item:hover,.gallery-video-item:focus-within{background:#ffffff0a;border-color:#faf4e633}.gallery-video-item.bulk-selected{background:#58b8d812;border-color:#58b8d894;box-shadow:0 0 0 1px #58b8d847}.gallery-video-item .video-card{width:100%;min-height:258px}.gallery-video-item .video-card p{-webkit-line-clamp:3;-webkit-box-orient:vertical;min-height:3.45em;display:-webkit-box;overflow:hidden}.gallery-video-item .batch-prompt-row{background:#0003;align-content:space-between;min-height:190px}.gallery-video-item .batch-prompt-row span{-webkit-line-clamp:4;white-space:normal;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.gallery-video-item.drive-only .batch-prompt-row{background:linear-gradient(#68d6f514,#ffffff05),#0003;border-color:#68d6f538}.gallery-video-item.drive-only .batch-prompt-row em{color:var(--studio-cyan)}.gallery-video-select{z-index:2;opacity:0;pointer-events:none;background:#0a0a09c7;border:1px solid #faf4e633;border-radius:6px;place-items:center;min-width:28px;min-height:28px;padding:0;transition:opacity .16s,transform .16s;display:grid;position:absolute;top:10px;left:10px;transform:translateY(-2px)}.gallery-video-item:hover .gallery-video-select,.gallery-video-item:focus-within .gallery-video-select,.gallery-video-item.selection-mode .gallery-video-select,.gallery-video-item.bulk-selected .gallery-video-select{opacity:1;pointer-events:auto;transform:none}.gallery-video-select input{margin:0}.gallery-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.gallery-bulk-actions{z-index:3;background:#14191af5;border:1px solid #58b8d847;border-radius:8px;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0;padding:8px 10px;display:flex;position:sticky;top:8px;box-shadow:0 10px 24px #00000038}.gallery-bulk-actions span{min-width:0;color:var(--text);overflow-wrap:anywhere;margin-right:auto;font-size:.84rem;font-weight:650}.gallery-load-more{justify-self:center;min-width:180px}.gallery-video-actions select{width:auto;min-width:120px;max-width:100%;min-height:34px;padding:0 9px;font-size:.78rem}.gallery-video-actions{opacity:0;pointer-events:none;transition:opacity .16s,transform .16s;transform:translateY(-2px)}.gallery-video-item:hover .gallery-video-actions,.gallery-video-item:focus-within .gallery-video-actions,.gallery-video-item.selection-mode .gallery-video-actions{opacity:1;pointer-events:auto;transform:none}.gallery-video-actions .button{min-width:34px;min-height:32px;padding:0 9px;font-size:.78rem}.batch-folder{border:1px solid var(--line);background:#ffffff0e;border-radius:8px;min-width:0;padding:12px}.batch-folder summary{cursor:pointer;justify-content:space-between;gap:12px;list-style:none;display:flex}.batch-folder summary::-webkit-details-marker{display:none}.batch-folder summary span{overflow-wrap:anywhere;min-width:0;font-weight:650}.batch-folder summary em,.batch-folder-stats span{color:var(--muted);font-size:.82rem;font-style:normal}.batch-folder-stats{margin-top:10px}.batch-video-gallery{max-height:none;margin-top:12px;overflow:visible}.batch-prompt-row{border:1px solid var(--line);min-width:0;color:var(--text);text-align:left;background:#00000038;border-radius:8px;gap:8px;padding:12px;display:grid}.batch-prompt-row span{text-overflow:ellipsis;overflow-wrap:anywhere;min-width:0;overflow:hidden}.batch-prompt-row em{color:var(--muted);font-size:.78rem;font-style:normal}.create-command{gap:12px;min-width:0;display:grid}.create-heading strong,.panel-heading strong,.dock-heading strong{font-size:1.08rem}.composer{background:linear-gradient(#d8af5514,#58b8d80a),#0c0c0ae0;border:1px solid #d8af552e;width:100%;padding:16px}.composer>textarea:first-of-type{color:#fff8e8;min-height:94px;padding-right:86px;font-size:1.15rem}.advanced-drawer{border-top:1px solid #d8af552e;margin-top:10px;padding:10px 0 0}.advanced-drawer[open]{gap:12px;display:grid}.advanced-drawer summary{color:var(--gold);font-weight:650}.advanced-drawer label{color:var(--muted);gap:8px;font-size:.82rem;display:grid}.generation-controls span{color:#d8f3fb;background:#58b8d817;border-color:#58b8d847}.machine-profile-control{gap:8px;display:grid}.machine-profile-control>span{color:var(--muted);font-size:.82rem;font-weight:650}.machine-profile-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.machine-profile-options label{background:#ffffff09;border:1px solid #58b8d838;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:8px;min-height:56px;padding:9px;display:grid}.machine-profile-options input{accent-color:#58b8d8}.machine-profile-options strong,.machine-profile-options small{overflow-wrap:anywhere;min-width:0}.machine-profile-options strong{color:#fff;font-size:.84rem}.machine-profile-options small{color:var(--muted);grid-column:2;font-size:.72rem}.duration-control{justify-content:space-between;align-items:center;gap:12px;margin-top:12px;display:flex}.duration-control>span{color:var(--muted);font-size:.82rem;font-weight:650}.duration-inputs{grid-template-columns:minmax(160px,1fr) 82px;align-items:center;gap:10px;min-width:min(100%,310px);display:grid}.duration-inputs input[type=range]{accent-color:#58b8d8;width:100%}.duration-inputs label{color:#fff;background:#58b8d81a;border:1px solid #58b8d852;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;min-height:36px;padding:0 9px;font-size:.82rem;font-weight:750;display:grid}.duration-inputs input[type=number]{width:100%;color:inherit;font:inherit;background:0 0;border:0;outline:0}.duration-inputs label span{color:var(--muted)}.composer-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.send-button{border-radius:8px;width:auto;min-width:132px;height:42px;padding:0 18px;font-size:.9rem;position:static}.clear-prompt-button{border-color:#d8af5538;top:16px;right:16px}.saved-prompt-library{background:linear-gradient(#58b8d812,#d8af5509),#0a0a09d6;border:1px solid #d8af552e;border-radius:8px;align-content:start;gap:12px;min-width:0;padding:14px;display:grid}.saved-library-header,.saved-editor-actions,.saved-prompt-actions{justify-content:space-between;align-items:center;gap:8px;display:flex}.saved-library-header strong{margin-top:3px;display:block}.saved-library-header button,.saved-prompt-actions button{border:1px solid var(--line);border-radius:7px;min-height:30px;padding:0 9px;font-size:.72rem;font-weight:650}.saved-prompt-search{background:#ffffff0e;min-height:38px}.saved-prompt-notice{color:var(--gold);margin:0;font-size:.78rem}.saved-prompt-editor{background:#d8af550f;border:1px solid #d8af553d;border-radius:8px;gap:8px;padding:10px;display:grid}.saved-prompt-list{gap:9px;max-height:360px;padding-right:4px;display:grid;overflow:auto}.saved-prompt-card{background:#ffffff0a;border:1px solid #faf4e61f;border-radius:8px;gap:10px;padding:11px;display:grid}.saved-prompt-copy{gap:4px;min-width:0;display:grid}.saved-prompt-copy span,.saved-prompt-copy small{color:var(--muted);text-transform:uppercase;font-size:.72rem}.saved-prompt-copy strong,.saved-prompt-copy p{overflow-wrap:anywhere;min-width:0}.saved-prompt-copy p{-webkit-line-clamp:3;color:#e9dfca;-webkit-box-orient:vertical;margin:0;font-size:.84rem;line-height:1.35;display:-webkit-box;overflow:hidden}.saved-prompt-actions{flex-wrap:wrap;justify-content:flex-start}.saved-prompt-empty{color:var(--muted);border:1px dashed #d8af554d;border-radius:8px;gap:5px;padding:14px;display:grid}.video-preview-frame,.modal-video-frame,.video-frame{background:#050504;border-color:#d8af5538;box-shadow:inset 0 0 0 1px #ffffff09}.video-preview-meta p,.prompt-copy{font-family:var(--font-heading)}.status-chip.ok,.status-pill.running,.metric.ok strong{color:var(--ok)}.status-chip.danger,.status-pill.danger,.metric.danger strong{color:var(--danger)}.generation-dock-list,.prompt-rows,.offer-list,.modal-telemetry{scrollbar-color:#d8af557a transparent}.prompt-row,.video-card,.metric,.machine-state-grid div,.runtime-panel div,.prompt-timeline li{background:#ffffff0a;border-color:#faf4e61f}.prompt-row:hover,.video-card:hover,.video-card.selected{background:#d8af5517;border-color:#d8af5575}.prompt-modal{border-color:#d8af5547}.auth-panel{border-color:#d8af553d}.auth-panel h1{color:#fff3d2}.topbar{background:#080807eb;border-bottom-color:#d8af552e}.ops-layout{grid-template-columns:minmax(0,1fr) 370px}.status-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.metric strong,.instance-card strong{color:#fff2d4}.log-panel pre{color:#c9f6d5;font-family:var(--font-mono), Consolas, monospace;background:#080a09;border-color:#58b8d833}.provision-shell{background:linear-gradient(90deg,#58b8d80a 1px,#0000 1px) 0 0/44px 44px,linear-gradient(135deg,#080807,#15130f)}.offer-logo{border-color:var(--gold);background:var(--gold);color:#191107}@media (max-width:1100px){.create-panel.create-hero,.preview-layout,.video-preview-panel,.generation-page-grid,.ops-layout,.ops-workbench{grid-template-columns:1fr}.status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:820px){.studio-app{padding:18px 12px 84px}.studio-app.nav-hidden{padding:18px 12px 32px}.studio-header h1{font-size:clamp(3rem,18vw,4.6rem)}.create-panel.create-hero{padding:12px;position:static}.composer>textarea:first-of-type{padding-right:0}.clear-prompt-button{justify-self:start;margin-bottom:6px;position:static}.composer-actions,.saved-library-header,.saved-editor-actions,.bulk-upload-actions,.bulk-duplicate-bar,.duration-control{flex-direction:column;align-items:stretch}.bulk-upload-panel{grid-template-columns:1fr}.bulk-preview-row{grid-template-columns:44px minmax(0,1fr)}.bulk-preview-row span:nth-child(3),.bulk-preview-row em{display:none}.gallery-workbench-header,.gallery-folder-toolbar,.gallery-folder-control-row,.gallery-folder-create,.gallery-rename-form{flex-direction:column;align-items:stretch}.gallery-board{grid-template-columns:1fr}.gallery-folder-sidebar{gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.gallery-folder-tab{min-width:160px}.gallery-folder-primary-actions,.gallery-folder-control-row,.gallery-video-actions{justify-content:flex-start}.gallery-bulk-actions{justify-content:stretch}.gallery-bulk-actions span,.gallery-bulk-actions .button,.gallery-video-actions select,.gallery-folder-control-row select,.send-button{width:100%}.saved-prompt-list{max-height:none;overflow:visible}.mobile-taskbar{border-color:#d8af5538}.mobile-taskbar.hidden{display:none}.mobile-taskbar button{place-items:center;min-height:44px;padding:0 4px;font-size:.72rem;display:grid}.status-grid{grid-template-columns:1fr}}@media (hover:none){.gallery-video-actions,.gallery-video-select{opacity:1;pointer-events:auto;transform:none}}.studio-shell,.studio-app,.videos-page,.gallery-workbench,.gallery-board,.gallery-folder-panel,.gallery-managed-grid,.bulk-upload-panel,.bulk-upload-controls,.bulk-preview-table{min-width:0;max-width:100%}.studio-shell{overflow-x:clip}.videos-page{align-content:start;gap:16px;padding:clamp(12px,1.6vw,18px);overflow:clip}.bulk-upload-panel{grid-template-columns:minmax(180px,.52fr) minmax(0,1.48fr);align-items:stretch;gap:16px;padding:12px}.bulk-upload-copy{align-content:center}.bulk-upload-copy strong,.gallery-workbench-header strong,.gallery-folder-toolbar strong{line-height:1.1}.bulk-upload-inputs{grid-template-columns:minmax(180px,.9fr) minmax(180px,1.1fr);gap:8px;min-width:0;display:grid}.bulk-upload-controls{align-content:start}.bulk-upload-actions{justify-content:flex-start}.bulk-upload-actions .button{min-width:104px}.bulk-preview-table{overflow-x:auto}.bulk-preview-row{grid-template-columns:54px minmax(160px,1fr) minmax(72px,.32fr) 88px;min-width:min(560px,100%)}.bulk-preview-row strong,.bulk-preview-row span,.bulk-preview-row em{overflow-wrap:anywhere}.gallery-workbench{gap:14px}.gallery-workbench-header{align-items:center;padding:2px 0 4px}.gallery-workbench-header>div{gap:3px}.gallery-workbench-header span,.gallery-folder-sidebar-title,.gallery-folder-sidebar-title em{color:var(--muted);font-size:.8rem;font-style:normal}.gallery-folder-create{width:min(420px,100%);min-width:0}.gallery-folder-create .button,.gallery-rename-form .button{flex:none}.gallery-folder-sidebar{background:#ffffff07;border:1px solid #faf4e61a;border-radius:8px;max-height:calc(100dvh - 170px);padding:6px;position:sticky;top:12px;overflow:auto}.gallery-folder-sidebar-title{justify-content:space-between;align-items:center;gap:8px;min-height:28px;padding:0 5px 4px;font-weight:700;display:flex}.gallery-folder-tab{width:100%;min-height:42px}.gallery-folder-tab span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.gallery-folder-panel{align-content:start;gap:12px;padding:0;overflow:clip}.gallery-folder-chrome{gap:10px;min-width:0;padding:12px 12px 0;display:grid}.gallery-folder-toolbar{align-items:flex-start;padding-bottom:10px}.gallery-folder-primary-actions{flex:none}.gallery-folder-control-row{grid-template-columns:minmax(112px,auto) minmax(78px,max-content) minmax(136px,176px);justify-content:stretch;align-items:center;gap:8px;padding:0 0 2px;display:grid}.gallery-folder-control-row select,.gallery-bulk-actions select,.gallery-video-actions select{max-width:100%}.gallery-select-all,.gallery-item-count{justify-self:start}.gallery-bulk-actions{margin:0 12px;top:10px}.gallery-managed-grid{grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:12px;padding:0 12px 12px;display:grid;overflow:visible}.gallery-video-item{align-content:start;min-height:0}.gallery-video-item .video-card{min-height:0}.gallery-video-item .history-thumb{aspect-ratio:9/12;min-height:0}.gallery-video-item .batch-prompt-row{min-height:236px}.gallery-video-actions{grid-template-columns:repeat(3,minmax(34px,auto));justify-content:stretch;display:grid}.gallery-video-actions .button{white-space:nowrap;min-width:0}.gallery-video-actions select{grid-column:1/-1;width:100%}.gallery-load-more{margin-bottom:12px}@media (max-width:1180px){.videos-page{overflow:visible}.bulk-upload-panel{grid-template-columns:1fr}.gallery-board{grid-template-columns:minmax(150px,190px) minmax(0,1fr)}.gallery-managed-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}}@media (max-width:820px){.videos-page{padding:12px}.bulk-upload-inputs{grid-template-columns:1fr}.bulk-upload-actions .button,.bulk-file-picker{width:100%}.bulk-preview-table{overflow:hidden}.bulk-preview-row{grid-template-columns:42px minmax(0,1fr);min-width:0}.bulk-preview-row strong,.bulk-preview-row span{white-space:normal}.bulk-preview-row span:nth-child(n+3),.bulk-preview-row em{display:none}.gallery-workbench-header,.gallery-folder-toolbar,.gallery-folder-control-row,.gallery-folder-create,.gallery-rename-form{align-items:stretch}.gallery-board{grid-template-columns:1fr}.gallery-folder-sidebar{gap:8px;max-height:none;padding:6px;display:flex;position:static;overflow:auto hidden}.gallery-folder-sidebar-title{min-width:92px;min-height:42px;padding:0 6px}.gallery-folder-tab{width:auto;min-width:min(180px,58vw)}.gallery-folder-panel{overflow:visible}.gallery-folder-chrome{padding:10px 10px 0}.gallery-folder-control-row{grid-template-columns:1fr}.gallery-folder-control-row select,.gallery-bulk-actions select{width:100%}.gallery-bulk-actions{justify-content:stretch;margin:0 10px;position:sticky;top:8px}.gallery-managed-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,150px),1fr));gap:10px;padding:0 10px 10px}.gallery-video-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-video-actions .button{padding:0 6px}}@media (max-width:460px){.videos-page,.gallery-folder-chrome,.gallery-managed-grid{padding-left:8px;padding-right:8px}.gallery-managed-grid,.gallery-video-actions{grid-template-columns:1fr}}.create-panel.create-hero,.create-command,.saved-prompt-library,.preview-layout,.studio-side,.generation-page-grid,.generation-overview-panel,.generation-dock,.generation-dock-list,.compact-history,.prompt-rows,.prompt-row,.prompt-row-main{min-width:0;max-width:100%}.create-panel.create-hero{grid-template-columns:minmax(0,840px);align-items:start;gap:16px;padding:clamp(12px,1.4vw,16px);overflow:clip}.create-command{align-content:start}.create-heading,.panel-heading,.dock-heading,.create-heading>div,.panel-heading>div,.dock-heading>div{min-width:0}.create-quick-stats,.generation-stat-strip{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.create-quick-stats span,.generation-stat-strip span{color:#d8f3fb;white-space:nowrap;background:#58b8d812;border:1px solid #58b8d833;border-radius:999px;align-items:center;min-height:26px;padding:0 9px;font-size:.74rem;line-height:1;display:inline-flex}.studio-composer{min-width:0;overflow:clip}.composer>textarea:first-of-type{overflow-wrap:anywhere;max-width:100%;line-height:1.45}.advanced-drawer,.duration-control,.duration-inputs,.composer-actions{min-width:0}.advanced-drawer summary{cursor:pointer}.generation-controls{flex-wrap:wrap;gap:7px;min-width:0;display:flex}.duration-control{align-items:center}.duration-inputs{width:min(100%,330px)}.composer-actions .button,.composer-actions .send-button{flex:0 auto}.create-submit-strip{background:#68d6f50f;border:1px solid #68d6f52e;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;display:grid}.create-submit-strip.ready{background:#71f5ab12;border-color:#71f5ab3d}.create-submit-strip>div{align-items:center;gap:8px;min-width:0;display:flex}.create-submit-strip>div>span:last-child{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.saved-prompt-library{max-height:min(72vh,680px);overflow:hidden}.saved-library-header{align-items:flex-start}.saved-prompt-search,.saved-prompt-editor,.saved-prompt-editor textarea,.saved-prompt-card{min-width:0;max-width:100%}.saved-prompt-list{max-height:min(48vh,430px)}.preview-layout{grid-template-columns:minmax(0,1fr) minmax(280px,360px)}.studio-side{align-content:start}.create-status-panel,.generation-overview-panel{overflow:hidden}.create-status-panel .generation-stat-strip,.generation-overview-panel .generation-stat-strip{margin-top:4px}.generation-page-grid{grid-template-columns:minmax(260px,.72fr) minmax(360px,1.28fr);align-items:start;gap:16px}.generation-overview-panel{background:linear-gradient(135deg,#58b8d814,#d8af550b),#0e0e0cd1;align-content:start;min-height:178px}.queue-filter-row{flex-wrap:wrap;gap:8px;display:flex}.queue-filter-row button{min-height:34px;color:var(--muted);background:#ffffff0a;border:1px solid #faf4e61f;border-radius:999px;padding:0 12px}.queue-filter-row button.active{color:var(--studio-cyan);background:#68d6f51f;border-color:#68d6f566}.queue-worklist{gap:12px}.generation-dock{min-height:178px;overflow:hidden}.generation-dock-list{max-height:min(64vh,620px)}.generation-page-grid .compact-history{grid-column:1/-1}.compact-history{overflow:hidden}.prompt-rows{max-height:min(66vh,640px)}.prompt-row{gap:10px}.prompt-row-main{overflow:hidden}.prompt-row p,.prompt-row div>span{max-width:100%}.prompt-row-actions{flex-wrap:wrap;min-width:0}@media (max-width:1180px){.create-panel.create-hero,.preview-layout,.generation-page-grid{grid-template-columns:1fr}.saved-prompt-library{max-height:none}.saved-prompt-list{max-height:360px}}@media (max-width:820px){.create-panel.create-hero,.generation-page-grid{gap:12px}.create-panel.create-hero{overflow:visible}.create-heading,.dock-heading,.panel-heading,.saved-library-header{flex-direction:column;align-items:stretch}.create-quick-stats span,.generation-stat-strip span{white-space:normal;justify-content:center}.create-quick-stats,.generation-stat-strip{grid-template-columns:1fr;display:grid}.duration-inputs{grid-template-columns:1fr;width:100%}.duration-inputs label,.composer-actions .button,.composer-actions .send-button,.create-submit-strip .button,.saved-library-header button{width:100%}.create-submit-strip{grid-template-columns:1fr}.create-submit-strip>div{flex-direction:column;align-items:flex-start}.create-submit-strip>div>span:last-child{white-space:normal}.saved-prompt-actions .button,.saved-prompt-actions button{flex:92px}.preview-layout{gap:12px}.generation-dock-list,.prompt-rows,.saved-prompt-list{max-height:none}.prompt-row{align-items:stretch}.prompt-row-actions{justify-content:flex-start}}@media (max-width:460px){.create-panel.create-hero,.studio-composer,.saved-prompt-library,.generation-overview-panel,.generation-dock,.compact-history{padding-left:10px;padding-right:10px}.duration-inputs{grid-template-columns:1fr}.duration-inputs label,.prompt-row-actions .button,.prompt-row-actions button{width:100%}}.videos-page,.gallery-workbench,.gallery-board,.gallery-folder-panel{overflow:visible}.gallery-managed-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-auto-rows:minmax(330px,auto);grid-auto-flow:row;align-items:start;gap:16px;max-height:none;overflow:visible}.gallery-folder-panel{padding-bottom:12px}.gallery-video-item{contain:layout paint;isolation:isolate;background:#ffffff08;border-color:#faf4e624;gap:10px;min-height:330px;padding:10px;overflow:hidden}.gallery-video-item .video-card{grid-template-rows:auto minmax(2.45em,auto) auto;gap:9px;min-height:0;display:grid}.gallery-video-item .history-thumb{aspect-ratio:16/10;background:#050607;border-radius:7px;width:100%;height:clamp(142px,12vw,172px);min-height:142px;max-height:210px}.gallery-video-item .history-thumb video{object-fit:cover;width:100%;height:100%;display:block}.gallery-video-item .video-card p{color:#fff7e6;-webkit-line-clamp:2;-webkit-box-orient:vertical;height:auto;min-height:0;font-size:.84rem;line-height:1.35;display:-webkit-box;overflow:hidden}.gallery-video-item .video-card small{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.gallery-video-actions{opacity:1;pointer-events:auto;padding-top:2px;transform:none}.gallery-load-more{min-width:min(100%,240px)}@media (max-width:1180px){.gallery-managed-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}}@media (max-width:820px){.gallery-managed-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr))}}@media (max-width:460px){.gallery-managed-grid{grid-template-columns:1fr}.gallery-video-item .history-thumb{height:190px;min-height:190px}}.studio-shell,.center-screen{--studio-bg:#07090a;--studio-bg-raised:#0d1113;--studio-surface:#12171a;--studio-surface-soft:#171d20;--studio-surface-lift:#20272b;--studio-line:#e6eeee21;--studio-line-strong:#e6eeee3d;--studio-text:#f5f2ea;--studio-muted:#a6b0b1;--studio-subtle:#778284;--studio-cyan:#68d6f5;--studio-cyan-strong:#35bde3;--studio-warm:#e5c36a;--studio-green:#8fe0ae;--studio-red:#ff7468;--studio-shadow:0 28px 78px #0000006b;--studio-radius:8px;color:var(--studio-text)}.studio-shell{background:linear-gradient(90deg,#68d6f50b 1px,#0000 1px) 0 0/56px 56px,linear-gradient(#e5c36a0a 1px,#0000 1px) 0 0/56px 56px,linear-gradient(135deg,#07090a 0%,#101417 44%,#08090b 100%);min-height:100dvh;overflow-x:clip}.center-screen{background:linear-gradient(90deg,#68d6f50a 1px,#0000 1px) 0 0/54px 54px,linear-gradient(135deg,#07090a,#111517 58%,#08090b);min-height:100dvh}.studio-shell button,.studio-shell input,.studio-shell select,.studio-shell textarea,.center-screen button,.center-screen input{font-family:var(--font-body), "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif}.studio-shell input,.studio-shell select,.studio-shell textarea,.center-screen input{color:var(--studio-text);border-color:var(--studio-line);background:#ffffff0b;box-shadow:inset 0 1px #ffffff0a}.studio-shell input:focus,.studio-shell select:focus,.studio-shell textarea:focus,.center-screen input:focus{border-color:#68d6f58a;box-shadow:0 0 0 3px #68d6f51f}.studio-shell .eyebrow,.center-screen .eyebrow{color:var(--studio-cyan);letter-spacing:.12em}.studio-shell .ui-icon,.center-screen .ui-icon{flex:none;width:1.08em;height:1.08em}.studio-shell button,.studio-shell .button,.studio-shell a.button,.studio-shell .preview-actions a,.studio-shell .account-actions a,.studio-shell .studio-rail nav a,.studio-shell .auth-secondary-link{gap:8px}.studio-shell button>.ui-icon,.studio-shell button>span,.studio-shell a>.ui-icon,.studio-shell a>span,.studio-shell .button>.ui-icon,.studio-shell .button>span{pointer-events:none}.studio-shell button:has(>.ui-icon){justify-content:center;align-items:center;display:inline-flex}.studio-shell .button:has(>.ui-icon){justify-content:center;align-items:center;display:inline-flex}.studio-shell a.button:has(>.ui-icon){justify-content:center;align-items:center;display:inline-flex}.studio-shell .preview-actions a:has(>.ui-icon){justify-content:center;align-items:center;display:inline-flex}.studio-shell .account-actions a:has(>.ui-icon){justify-content:center;align-items:center;display:inline-flex}.studio-shell .studio-rail nav a:has(>.ui-icon){justify-content:center;align-items:center;display:inline-flex}.studio-shell .icon-only{width:38px;min-width:38px;padding:0}.studio-shell .nav-item-label{align-items:center;gap:9px;min-width:0;display:inline-flex}.studio-rail:not(.collapsed)+.studio-nav-reveal.visible{display:none}.studio-rail{border-right:1px solid var(--studio-line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:linear-gradient(#68d6f514,#0000 36%),#080b0cf5;gap:18px;width:208px;padding:18px 12px}.rail-topline{min-height:44px}.rail-brand{min-height:38px;color:var(--studio-text);letter-spacing:0;text-transform:none;align-items:center;padding:0 10px;display:grid}.rail-toggle,.studio-nav-reveal{border-color:var(--studio-line);min-height:34px;color:var(--studio-muted);background:#ffffff0e}.studio-rail nav{gap:8px}.studio-rail nav button,.studio-rail nav a,.rail-account button,.mobile-taskbar button{border-radius:var(--studio-radius);color:var(--studio-muted)}.studio-rail nav button,.studio-rail nav a{min-height:44px;padding:0 12px}.studio-rail nav button.active,.studio-rail nav a.active,.mobile-taskbar button.active{color:var(--studio-text);background:linear-gradient(135deg,#68d6f524,#e5c36a0f),#ffffff0b;border-color:#68d6f552}.studio-rail nav button:hover,.studio-rail nav a:hover,.rail-account button:hover,.mobile-taskbar button:hover{color:var(--studio-text);border-color:var(--studio-line-strong);background:#ffffff12}.studio-rail nav button b,.mobile-taskbar button b{background:var(--studio-cyan);color:#041014}.mobile-taskbar button b.danger{background:var(--studio-red);color:#1a0504}.rail-account{border:1px solid var(--studio-line);border-radius:var(--studio-radius);background:#ffffff09;gap:9px;padding:10px}.rail-sync.live{color:var(--studio-green)}.rail-sync.error{color:var(--studio-red)}.studio-nav-reveal{box-shadow:var(--studio-shadow);bottom:16px;left:16px}.studio-app{gap:22px;padding:28px 28px 38px 236px}.studio-app.nav-hidden{padding-left:28px}.studio-header{align-items:start;min-height:110px;padding:4px 0 0}.studio-header h1{color:var(--studio-text);font-family:var(--font-display), Newsreader, Georgia, serif;margin-top:2px;font-size:clamp(3rem,8vw,7.1rem);font-weight:600;line-height:.86}.studio-page-kicker{color:var(--studio-warm);margin-top:14px;font-size:.9rem;font-weight:700;display:inline-flex}.studio-page-description{max-width:620px;color:var(--studio-muted);margin:8px 0 0;font-size:clamp(.94rem,1.4vw,1.06rem);line-height:1.45}.studio-header-actions{border:1px solid var(--studio-line);border-radius:var(--studio-radius);background:#0d1113c2;align-items:center;max-width:380px;padding:8px;box-shadow:0 18px 48px #0000003d}.prompt-sync-status,.dock-sync,.studio-status-panel span,.studio-status-panel em,.studio-status-panel small,.video-preview-meta span,.panel-heading span,.create-heading span,.saved-library-header span,.gallery-workbench-header span,.bulk-upload-copy span,.account-panel span{color:var(--studio-muted)}.button,.studio-header-actions button,.preview-actions button,.preview-actions a,.account-actions a,.account-actions button,.prompt-row-actions button,.saved-library-header button,.saved-prompt-actions button,.gallery-video-actions button{border-color:var(--studio-line);border-radius:var(--studio-radius);min-height:38px;color:var(--studio-text);background:#ffffff0e;transition:transform .16s,border-color .16s,background .16s,color .16s}.button:hover:not(:disabled),.studio-header-actions button:hover:not(:disabled),.preview-actions button:hover,.preview-actions a:hover,.account-actions a:hover,.account-actions button:hover,.prompt-row-actions button:hover:not(:disabled),.saved-library-header button:hover,.saved-prompt-actions button:hover:not(:disabled),.gallery-video-actions button:hover:not(:disabled){background:#68d6f51a;border-color:#68d6f56b;transform:translateY(-1px)}.button.primary,.send-button{color:#031115;background:linear-gradient(135deg,#89e6ff,#36bde2 58%,#1b8ca8);border-color:#68d6f5b8;min-height:46px;font-weight:800}.button.danger,.prompt-row-actions button.danger{color:#ffd1cc;background:#ff746814;border-color:#ff746857}.create-panel.create-hero,.video-preview-panel,.video-preview-empty,.studio-status-panel,.generation-dock,.prompt-list,.gallery-section,.bulk-upload-panel,.gallery-workbench,.account-panel,.saved-prompt-library,.prompt-modal{border:1px solid var(--studio-line);border-radius:var(--studio-radius);background:linear-gradient(145deg, #ffffff10, #ffffff06), var(--studio-surface);box-shadow:var(--studio-shadow)}.create-panel.create-hero{grid-template-columns:minmax(0,1.28fr) minmax(310px,.72fr);gap:18px;padding:clamp(14px,1.7vw,20px)}.create-command,.saved-prompt-library,.bulk-upload-copy,.bulk-upload-controls{min-width:0}.create-heading,.panel-heading,.saved-library-header,.gallery-workbench-header{align-items:flex-start}.create-heading>div,.panel-heading>div,.saved-library-header>div,.gallery-workbench-header>div{gap:4px;display:grid}.create-heading strong,.panel-heading strong,.saved-library-header strong,.gallery-workbench-header strong,.bulk-upload-copy strong,.studio-status-panel strong{color:var(--studio-text)}.create-heading strong{font-size:clamp(1.35rem,2.4vw,2.15rem);font-family:var(--font-display), Newsreader, Georgia, serif;line-height:1.02}.create-quick-stats,.generation-stat-strip{gap:8px}.create-quick-stats span,.generation-stat-strip span{color:#d7f7ff;background:#68d6f512;border-color:#68d6f538;min-height:28px}.studio-composer{border:1px solid var(--studio-line);background:linear-gradient(#68d6f50e,#0000 42%),#0507085c;gap:14px}.composer>textarea:first-of-type{min-height:136px;color:var(--studio-text);font-family:var(--font-display), Newsreader, Georgia, serif;padding:18px 18px 18px 0;font-size:clamp(1.5rem,3.2vw,2.55rem);line-height:1.08}.composer>textarea:first-of-type::placeholder{color:#f5f2ea5c}.clear-prompt-button{border-color:var(--studio-line);color:var(--studio-muted);background:#ffffff0e}.advanced-drawer{border-color:var(--studio-line);background:#ffffff09}.advanced-drawer summary{color:var(--studio-text)}.generation-controls span,.machine-profile-options label,.duration-control{border-color:var(--studio-line);background:#ffffff0a}.machine-profile-options label.selected{background:#68d6f517;border-color:#68d6f573}.duration-inputs input[type=range]{accent-color:var(--studio-cyan)}.saved-prompt-library{background:linear-gradient(180deg, #e5c36a12, transparent 34%), var(--studio-bg-raised);align-content:start;padding:14px}.saved-prompt-search,.saved-prompt-editor,.saved-prompt-card,.saved-prompt-empty{border-color:var(--studio-line);background:#ffffff0a}.saved-prompt-card.pinned{background:linear-gradient(135deg,#e5c36a17,#0000 58%),#ffffff0a;border-color:#e5c36a61}.saved-prompt-copy span,.saved-prompt-copy small{color:var(--studio-muted)}.saved-prompt-copy strong,.saved-prompt-empty strong{color:var(--studio-text)}.preview-layout{grid-template-columns:minmax(0,1fr) minmax(300px,372px);gap:18px}.video-preview-panel{grid-template-columns:minmax(270px,460px) minmax(260px,1fr);padding:16px}.video-preview-frame,.modal-video-frame,.history-thumb{border-color:var(--studio-line);background:#030506}.video-preview-frame{min-height:clamp(460px,58vh,720px)}.video-preview-meta p,.prompt-copy{color:var(--studio-text);font-family:var(--font-display), Newsreader, Georgia, serif}.video-preview-empty{background:linear-gradient(135deg, #68d6f512, #e5c36a0b), var(--studio-surface);min-height:min(58vh,680px)}.video-preview-empty h2{color:var(--studio-text);font-family:var(--font-display), Newsreader, Georgia, serif}.studio-status-panel{background:linear-gradient(135deg, #68d6f514, transparent 52%), var(--studio-bg-raised)}.generation-dock,.prompt-list{background:var(--studio-bg-raised)}.generation-dock-list,.prompt-rows,.saved-prompt-list,.gallery-folder-sidebar{scrollbar-color:#68d6f575 transparent}.prompt-row,.dock-row{border-color:var(--studio-line);background:#ffffff0a;min-height:78px}.dock-row{background:#68d6f511;border-color:#68d6f533}.prompt-row:hover{background:#68d6f513;border-color:#68d6f557}.prompt-row p{color:var(--studio-text)}.prompt-row div>span{color:var(--studio-muted)}.mini-progress{background:#ffffff1f;height:4px}.mini-progress span,.progress-track span{background:linear-gradient(90deg, var(--studio-cyan), var(--studio-warm))}.status-chip{color:#f3d988;background:#e5c36a17;border-color:#e5c36a57}.status-chip.ok{color:var(--studio-green);background:#8fe0ae17;border-color:#8fe0ae57}.status-chip.danger{color:var(--studio-red);background:#ff746817;border-color:#ff74685c}.bulk-upload-panel{background:linear-gradient(135deg, #68d6f514, #e5c36a0b), var(--studio-surface);grid-template-columns:minmax(220px,.56fr) minmax(0,1.44fr)}.bulk-file-picker,.bulk-preview-row,.bulk-duplicate-bar,.bulk-error-list,.gallery-folder-sidebar,.gallery-folder-panel,.gallery-video-item{border-color:var(--studio-line);background:#ffffff0a}.gallery-workbench{box-shadow:none;background:0 0;border:0;gap:16px}.gallery-board{grid-template-columns:minmax(190px,232px) minmax(0,1fr);gap:14px}.gallery-folder-sidebar{background:#080b0c8a;padding:8px;top:14px}.gallery-folder-tab{background:0 0;border-color:#0000;min-height:46px}.gallery-folder-tab.active{background:#68d6f518;border-color:#68d6f552}.gallery-folder-panel{background:var(--studio-bg-raised)}.gallery-folder-chrome{padding:14px 14px 0}.gallery-folder-title-block strong{color:var(--studio-text);font-size:1.25rem}.gallery-folder-stat-row span,.gallery-item-count,.gallery-select-all span{color:var(--studio-muted)}.gallery-bulk-actions{background:#0a1012eb;border-color:#68d6f547;box-shadow:0 16px 44px #00000047}.gallery-managed-grid{grid-template-columns:repeat(auto-fill,minmax(218px,1fr));grid-auto-rows:minmax(342px,auto);gap:16px}.gallery-video-item{background:linear-gradient(#ffffff0d,#0000 36%),#ffffff09;min-height:342px;padding:10px}.gallery-video-item.bulk-selected{background:#68d6f514;border-color:#68d6f58f}.gallery-video-item .history-thumb{border-radius:7px;height:clamp(154px,13vw,188px);min-height:154px}.gallery-video-item .video-card{background:0 0;border-color:#0000}.gallery-video-item .video-card:hover,.gallery-video-item .video-card.selected{background:#68d6f513;border-color:#68d6f561}.gallery-video-item .video-card p{color:var(--studio-text)}.gallery-video-item .video-card small{color:var(--studio-muted)}.batch-prompt-row{border-color:var(--studio-line);background:linear-gradient(135deg,#e5c36a14,#68d6f50e),#ffffff09}.gallery-empty,.dock-empty,.worker-restart-notice,.job-error,.form-error,.form-success,.gallery-notice,.saved-prompt-notice,.bulk-notice{border-radius:var(--studio-radius)}.dock-empty,.gallery-empty,.saved-prompt-empty{color:var(--studio-muted)}.account-panel{background:linear-gradient(135deg, #68d6f514, #e5c36a0b), var(--studio-surface);grid-template-columns:minmax(0,1fr) auto;min-height:132px;padding:18px}.account-panel>div:first-child{gap:6px;display:grid}.account-panel strong{color:var(--studio-text);font-size:clamp(1.1rem,2vw,1.45rem)}.modal-backdrop{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#000000b8}.prompt-modal{border-color:var(--studio-line-strong);background:var(--studio-surface)}.prompt-modal .card-row button{border-color:var(--studio-line);background:#ffffff0e}.runtime-panel{border-color:var(--studio-line);background:#ffffff09}.support-id{background:#e5c36a13;border-color:#e5c36a42}.auth-panel{border-color:var(--studio-line);background:linear-gradient(145deg, #68d6f514, #e5c36a0b), var(--studio-surface);width:min(100vw - 32px,420px);box-shadow:var(--studio-shadow)}.auth-panel h1{color:var(--studio-text);font-family:var(--font-display), Newsreader, Georgia, serif}.auth-secondary-link{color:var(--studio-muted)}@media (prefers-reduced-motion:reduce){.studio-shell *,.center-screen *{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}@media (max-width:1180px){.studio-app,.studio-app.nav-hidden{padding:24px 22px 36px 230px}.studio-app.nav-hidden{padding-left:22px}.create-panel.create-hero,.preview-layout,.video-preview-panel,.generation-page-grid,.bulk-upload-panel{grid-template-columns:1fr}.video-preview-frame{min-height:420px}}@media (max-width:820px){.studio-rail,.studio-nav-reveal{display:none}.studio-nav-reveal.visible{z-index:36;display:block;bottom:14px;left:12px}.studio-app,.studio-app.nav-hidden{padding:18px 12px 86px}.studio-header{gap:14px;min-height:0;display:grid}.studio-header h1{font-size:clamp(3.1rem,18vw,5.1rem)}.studio-header-actions{justify-content:stretch;width:100%;max-width:none}.studio-header-actions button{flex:120px}.create-panel.create-hero,.saved-prompt-library,.studio-composer,.bulk-upload-panel,.generation-dock,.prompt-list,.account-panel{padding:12px}.create-heading,.panel-heading,.saved-library-header,.gallery-workbench-header,.gallery-folder-toolbar,.gallery-folder-control-row{gap:10px;display:grid}.composer>textarea:first-of-type{min-height:118px;padding-right:0;font-size:clamp(1.4rem,8vw,2.05rem)}.composer-actions,.saved-prompt-actions,.bulk-upload-actions,.account-actions{flex-direction:column;align-items:stretch}.composer-actions .button,.composer-actions .send-button,.account-actions a,.account-actions button{width:100%}.video-preview-frame{aspect-ratio:9/16;min-height:auto}.gallery-board,.account-panel{grid-template-columns:1fr}.gallery-folder-sidebar{display:flex;position:static;overflow:auto hidden}.gallery-folder-sidebar-title{min-width:92px}.gallery-folder-tab{width:auto;min-width:min(190px,58vw)}.gallery-managed-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,176px),1fr));grid-auto-rows:minmax(318px,auto)}.mobile-taskbar{border-color:var(--studio-line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#080b0cf0;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:8px;display:grid}.mobile-taskbar.hidden{display:none}.auth-panel{width:min(100vw - 32px,340px);padding:26px}}@media (max-width:460px){.studio-app,.studio-app.nav-hidden{padding-left:8px;padding-right:8px}.studio-header-actions,.create-quick-stats,.generation-stat-strip,.duration-inputs,.bulk-upload-inputs,.gallery-folder-control-row,.gallery-video-actions,.gallery-managed-grid{grid-template-columns:1fr}.gallery-video-item .history-thumb{height:198px;min-height:198px}}.videos-page,.bulk-page{gap:18px;overflow:visible}.bulk-status-list{gap:12px;display:grid}.bulk-batch-list{gap:18px;display:grid}.bulk-folder-board{grid-template-columns:minmax(190px,270px) minmax(0,1fr);align-items:start;gap:12px;min-width:0;display:grid}.bulk-folder-tabs{border:1px solid var(--studio-line);border-radius:var(--studio-radius);background:#ffffff09;align-content:start;gap:8px;min-width:0;max-height:calc(100dvh - 220px);padding:10px;display:grid;position:sticky;top:12px;overflow:auto}.bulk-folder-tabs-title,.bulk-folder-tab{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;display:grid}.bulk-folder-tabs-title{color:var(--muted);font-size:.8rem;font-weight:800}.bulk-folder-tab-list{gap:8px;display:grid}.bulk-folder-tab{border-radius:var(--studio-radius);min-height:48px;color:var(--text);text-align:left;background:0 0;border:1px solid #0000;padding:9px 10px}.bulk-folder-tab span,.bulk-folder-tab em{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.bulk-folder-tab em{color:var(--muted);font-size:.78rem;font-style:normal}.bulk-folder-tab.active,.bulk-folder-tab:hover{background:#68d6f514;border-color:#68d6f557}.bulk-folder-tab.active em{color:var(--studio-cyan)}.bulk-folder-panel{min-width:0}.bulk-batch-group{border-top:1px solid var(--studio-line);gap:10px;min-width:0;padding-top:14px;display:grid}.bulk-batch-heading{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;display:grid}.bulk-batch-heading>div{gap:4px;min-width:0;display:grid}.bulk-batch-heading strong{overflow-wrap:anywhere;min-width:0;color:var(--text);font-size:1.05rem}.bulk-batch-heading span{color:var(--muted);font-size:.86rem}.bulk-result-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px;min-width:0;display:grid}.bulk-result-card{border:1px solid var(--studio-line);border-radius:var(--studio-radius);background:#ffffff09;gap:8px;min-width:0;padding:10px;display:grid}.bulk-result-card.ready{border-color:#68d6f538}.bulk-result-card button{min-width:0;color:inherit;text-align:left;background:0 0;border:0;gap:6px;padding:0;display:grid}.bulk-result-card span,.bulk-result-card em{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;font-style:normal;overflow:hidden}.bulk-result-card span{color:var(--studio-cyan);font-weight:800}.bulk-result-card strong{min-width:0;color:var(--text);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:.93rem;line-height:1.3;display:-webkit-box;overflow:hidden}.bulk-result-card .button{justify-content:center;width:100%}@media (max-width:720px){.bulk-folder-board{grid-template-columns:minmax(0,1fr)}.bulk-folder-tabs{max-height:none;position:static}.bulk-folder-tab-list{gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.bulk-folder-tab{min-width:210px}.bulk-batch-heading{grid-template-columns:minmax(0,1fr)}.bulk-batch-heading .button{justify-content:center;width:100%}}.bulk-page .bulk-upload-panel{grid-template-columns:minmax(230px,.48fr) minmax(0,1.52fr);align-items:center;padding:14px}.bulk-page .bulk-upload-controls{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.bulk-page .bulk-upload-inputs{grid-template-columns:minmax(220px,1fr) minmax(220px,1.2fr);align-items:end}.bulk-page .bulk-upload-actions{justify-content:flex-end;align-items:center;gap:10px;min-width:max-content;display:flex}.videos-page .gallery-workbench-header{grid-template-columns:minmax(0,1fr) minmax(360px,525px);align-items:end;gap:18px;display:grid}.videos-page .gallery-folder-create{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;display:grid}.videos-page .gallery-board{grid-template-columns:minmax(190px,290px) minmax(0,1fr);align-items:start}.videos-page .gallery-folder-sidebar{max-height:calc(100dvh - 220px)}.videos-page .gallery-folder-toolbar{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;display:grid}.videos-page .gallery-folder-control-row{grid-template-columns:minmax(0,1fr) auto minmax(180px,220px);align-items:center;gap:10px;display:grid}.gallery-category-filter{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0;display:grid}.gallery-category-filter button{border:1px solid var(--studio-line);border-radius:var(--studio-radius);min-width:0;min-height:40px;color:var(--studio-muted);background:#ffffff0a;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;padding:0 9px;display:grid}.gallery-category-filter button.active{color:var(--studio-text);background:#68d6f51a;border-color:#68d6f570}.gallery-category-filter button:disabled{opacity:.48}.gallery-category-filter span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.gallery-category-filter em{min-width:22px;color:var(--studio-cyan);text-align:right;justify-self:end;font-size:.74rem;font-style:normal;font-weight:800}.videos-page .gallery-item-count{justify-self:end}.videos-page .gallery-folder-control-row select{width:100%}.videos-page .gallery-managed-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));justify-content:stretch;align-items:start}.videos-page .gallery-video-item{grid-template-rows:minmax(0,1fr) auto;min-height:350px;display:grid}.videos-page .gallery-video-item .video-card{grid-template-rows:auto minmax(2.7em,auto) auto;gap:9px;display:grid}.videos-page .gallery-video-item .history-thumb,.gallery-video-item .history-thumb{position:relative}.videos-page .gallery-video-item .video-card p{-webkit-line-clamp:2}.videos-page .gallery-video-actions{opacity:1;pointer-events:auto;grid-template-columns:minmax(0,1fr) 44px 44px;align-items:center;gap:8px;display:grid;transform:none}.videos-page .gallery-video-item.drive-only .gallery-video-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px 44px}.videos-page .gallery-video-actions .button{min-height:40px}.videos-page .gallery-video-actions .button:first-child{justify-content:center}.videos-page .gallery-video-actions select{grid-column:1/-1;width:100%;min-height:42px}.gallery-category-badge{z-index:2;color:#eafcff;white-space:nowrap;background:#050708c7;border:1px solid #03111561;border-radius:999px;align-items:center;max-width:calc(100% - 16px);min-height:24px;padding:0 8px;font-size:.72rem;font-weight:800;line-height:1;display:inline-flex;position:absolute;top:8px;left:8px}.gallery-category-badge.text_to_image{color:#fff1c7}.videos-page .gallery-video-select{opacity:1;pointer-events:auto;transform:none}.gallery-video-item.bulk-link-item,.videos-page .gallery-video-item.bulk-link-item{background:linear-gradient(90deg,#68d6f512,#ffffff05 46%,#d8af550a),#080b0bb8;border-color:#68d6f52e;grid-column:1/-1;grid-template-rows:none;grid-template-columns:30px minmax(0,1fr) minmax(260px,auto);align-items:center;gap:10px;min-height:0;padding:10px;display:grid}.gallery-video-item.bulk-link-item:hover,.gallery-video-item.bulk-link-item:focus-within{background:linear-gradient(90deg,#68d6f51c,#ffffff08 46%,#d8af550f),#080b0bdb;border-color:#68d6f561}.gallery-video-item.bulk-link-item .gallery-video-select,.videos-page .gallery-video-item.bulk-link-item .gallery-video-select{opacity:1;pointer-events:auto;background:#0a0a099e;place-self:center;position:static;transform:none}.bulk-drive-link-card{width:100%;min-width:0;min-height:82px;color:var(--text);text-align:left;background:#ffffff09;border:1px solid #faf4e61a;border-radius:8px;justify-items:stretch;gap:6px;padding:11px 13px;display:grid}.bulk-drive-link-card.ready{background:#68d6f50e;border-color:#68d6f542}.bulk-drive-link-card:hover,.bulk-drive-link-card:focus-visible{background:#ffffff0e;border-color:#faf4e63d}.bulk-link-kicker{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.bulk-link-meta,.bulk-link-target{overflow-wrap:anywhere;min-width:0;color:var(--muted);font-size:.78rem;line-height:1.2}.bulk-link-meta{color:var(--studio-cyan);font-weight:700}.bulk-link-prompt{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;line-height:1.25;overflow:hidden}.bulk-drive-link-card strong{min-width:0;color:var(--text);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.96rem;font-weight:680;line-height:1.32;display:-webkit-box;overflow:hidden}.bulk-link-target.ready{color:var(--studio-cyan)}.gallery-video-item.bulk-link-item .gallery-video-actions,.videos-page .gallery-video-item.bulk-link-item .gallery-video-actions{opacity:1;pointer-events:auto;grid-template-columns:minmax(94px,auto) 40px 40px minmax(136px,170px);justify-content:end;align-items:center;gap:8px;display:grid;transform:none}.gallery-video-item.bulk-link-item .gallery-video-actions.has-drive-link,.videos-page .gallery-video-item.bulk-link-item .gallery-video-actions.has-drive-link{grid-template-columns:minmax(122px,auto) minmax(94px,auto) 40px 40px minmax(136px,170px)}.gallery-video-item.bulk-link-item .gallery-video-actions .button,.videos-page .gallery-video-item.bulk-link-item .gallery-video-actions .button{white-space:nowrap;justify-content:center;min-width:0;min-height:40px}.gallery-video-item.bulk-link-item .gallery-video-actions select,.videos-page .gallery-video-item.bulk-link-item .gallery-video-actions select{grid-column:auto;width:100%;min-height:40px}@media (max-width:1180px){.gallery-video-item.bulk-link-item,.videos-page .gallery-video-item.bulk-link-item{grid-template-columns:30px minmax(0,1fr)}.gallery-video-item.bulk-link-item .gallery-video-actions,.videos-page .gallery-video-item.bulk-link-item .gallery-video-actions{grid-column:2;grid-template-columns:minmax(0,1fr) 40px 40px;justify-content:stretch}.gallery-video-item.bulk-link-item .gallery-video-actions.has-drive-link,.videos-page .gallery-video-item.bulk-link-item .gallery-video-actions.has-drive-link{grid-template-columns:minmax(0,1fr) minmax(90px,auto) 40px 40px}.gallery-video-item.bulk-link-item .gallery-video-actions select,.videos-page .gallery-video-item.bulk-link-item .gallery-video-actions select{grid-column:1/-1}}@media (max-width:720px){.gallery-video-item.bulk-link-item,.videos-page .gallery-video-item.bulk-link-item{grid-template-columns:1fr}.gallery-video-item.bulk-link-item .gallery-video-select,.videos-page .gallery-video-item.bulk-link-item .gallery-video-select{justify-self:start}.gallery-video-item.bulk-link-item .gallery-video-actions,.videos-page .gallery-video-item.bulk-link-item .gallery-video-actions{grid-column:1;grid-template-columns:minmax(0,1fr) 40px 40px}.gallery-video-item.bulk-link-item .gallery-video-actions.has-drive-link,.videos-page .gallery-video-item.bulk-link-item .gallery-video-actions.has-drive-link{grid-template-columns:minmax(0,1fr) minmax(86px,auto) 40px 40px}}.studio-shell .preview-layout{grid-template-columns:minmax(0,1fr) minmax(300px,360px);align-items:start}.studio-shell .video-preview-panel{grid-template-columns:minmax(220px,min(34vw,380px)) minmax(0,1fr);align-items:start;width:100%;max-width:100%;overflow:hidden}.studio-shell .video-preview-frame{aspect-ratio:9/16;justify-self:start;width:100%;max-width:380px;min-height:0;max-height:min(62vh,620px)}.studio-shell .video-preview-frame video{object-fit:contain;width:100%;max-width:100%;height:100%;max-height:min(62vh,620px)}.studio-shell .video-preview-meta{min-width:0;overflow:hidden}.studio-shell .video-preview-meta p{-webkit-line-clamp:5;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.studio-shell .generation-dock{overflow:hidden}.studio-shell .dock-sync.error,.studio-shell .prompt-sync-status.error{overflow-wrap:anywhere;text-align:right;max-width:180px}@media (max-width:1180px){.videos-page .bulk-upload-panel,.videos-page .bulk-upload-controls,.videos-page .gallery-workbench-header,.videos-page .gallery-folder-toolbar{grid-template-columns:1fr}.videos-page .bulk-upload-actions{flex-wrap:wrap;justify-content:flex-start;min-width:0}.videos-page .gallery-board{grid-template-columns:minmax(170px,220px) minmax(0,1fr)}.studio-shell .video-preview-panel{grid-template-columns:minmax(190px,300px) minmax(0,1fr)}.studio-shell .video-preview-frame{max-width:300px;max-height:min(58vh,520px)}}@media (max-width:820px){.videos-page .bulk-upload-inputs,.videos-page .gallery-board,.videos-page .gallery-folder-control-row{grid-template-columns:1fr}.gallery-category-filter{display:flex;overflow-x:auto}.gallery-category-filter button{min-width:168px}.videos-page .gallery-folder-sidebar{max-height:none}.videos-page .gallery-item-count{justify-self:start}.studio-shell .preview-layout,.studio-shell .video-preview-panel{grid-template-columns:1fr}.studio-shell .video-preview-frame{justify-self:center;width:min(100%,320px);max-width:320px;max-height:520px}.studio-shell .dock-sync.error,.studio-shell .prompt-sync-status.error{text-align:left;max-width:none}}.studio-shell .rail-topline{grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:8px;display:grid}.studio-shell .rail-brand{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.studio-shell .rail-toggle{place-items:center;width:34px;min-width:34px;height:34px;padding:0;display:grid}.studio-shell .rail-toggle span{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.studio-rail:not(.collapsed)+.studio-nav-reveal,.studio-rail:not(.collapsed)+.studio-nav-reveal.visible{display:none!important}.studio-shell .rail-account{z-index:2;min-width:0;position:relative;overflow:hidden}.studio-shell .rail-account button{justify-content:flex-start;width:100%;min-width:0}.studio-shell .rail-account button span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.studio-shell .create-command .create-heading{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;display:grid}.studio-shell .create-command .create-heading .status-chip{justify-self:end;max-width:116px;margin-top:2px}.studio-shell .duration-inputs{grid-template-columns:minmax(150px,1fr) minmax(96px,auto)}.studio-shell .duration-inputs label{min-width:96px}.studio-shell .duration-inputs input[type=number]{text-align:right;min-width:42px}@media (max-width:820px){.studio-shell .create-command .create-heading{grid-template-columns:1fr}.studio-shell .create-command .create-heading .status-chip{justify-self:start}}
