html{background:#f8f4ee}body{margin:0}:root{color:#191714;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f8f4ee;font-family:Microsoft YaHei UI,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer}#root{min-height:100vh}.shell{background:radial-gradient(circle at 68% 2%,#7957ff33,#0000 34rem),#100d1c;grid-template-columns:248px minmax(0,1fr);min-height:100vh;display:grid}.glass-panel{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);background:#1e1933b8;border:1px solid #ffffff1a;box-shadow:0 24px 70px #00000038}.sidebar{border-radius:22px;flex-direction:column;margin:18px 0 18px 18px;padding:26px 16px 18px;display:flex}.brand{align-items:center;gap:11px;padding:0 9px 38px;display:flex}.brand-mark{color:#fff;background:linear-gradient(145deg,#c995ff,#7555ff);border-radius:11px;place-items:center;width:35px;height:35px;font-weight:800;display:grid;box-shadow:0 9px 25px #855bff61}.brand strong,.brand span{display:block}.brand strong{letter-spacing:.01em;font-size:15px}.brand span{color:#918ba9;letter-spacing:.08em;text-transform:uppercase;margin-top:2px;font-size:10px}.nav-caption,.eyebrow{color:#857e9d;letter-spacing:.12em;text-transform:uppercase;font-family:Consolas,monospace;font-size:10px}.nav-caption{padding:0 12px 11px}.nav-list{gap:5px;display:grid}.nav-item{color:#a29bb7;text-align:left;background:0 0;border:0;border-radius:11px;padding:12px;font-size:13px;transition:all .2s}.nav-item span{color:#8379a2;width:26px;font-size:16px;display:inline-block}.nav-item:hover,.nav-item.active{color:#fff;background:linear-gradient(90deg,#865eff40,#865eff0a)}.nav-item.active span{color:#b994ff}.sidebar-footer{margin-top:auto}.status-dot{color:#8e88a3;align-items:center;gap:7px;padding:0 11px 15px;font-size:11px;display:flex}.status-dot i{background:#58dca1;border-radius:50%;width:7px;height:7px;box-shadow:0 0 12px #58dca1}.account-card{color:#fff;text-align:left;background:#ffffff0a;border:1px solid #ffffff14;border-radius:13px;align-items:center;gap:9px;width:100%;padding:10px;display:flex}.avatar{color:#d9c8ff;background:#513d83;border-radius:9px;place-items:center;width:29px;height:29px;font-size:10px;font-weight:700;display:grid}.account-card b,.account-card small{display:block}.account-card b{font-size:11px}.account-card small{color:#817b96;margin-top:2px;font-size:9px}.more{color:#8a829c;margin-left:auto}.content{width:min(1240px,100%);margin:0 auto;padding:48px clamp(24px,5vw,76px) 30px}.topbar{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:36px;display:flex}.eyebrow{margin:0 0 9px}h1,h2,p{margin:0}h1{letter-spacing:-.055em;font-size:clamp(28px,3.4vw,44px);line-height:1.1}h2{letter-spacing:-.02em;font-size:17px}.subtitle{color:#9d97af;margin-top:10px;font-size:13px}.ghost-button{color:#b4aec4;background:#ffffff0a;border:1px solid #ffffff1f;border-radius:10px;padding:9px 13px;font-size:12px}.ghost-button span{color:#8c7cae;margin-left:7px}.stats-grid{grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:18px;display:grid}.stat-card{border-radius:16px;min-height:127px;padding:19px 21px}.stat-card>span{color:#958ea9;font-size:11px}.stat-card strong{letter-spacing:-.06em;margin:13px 0 6px;font-size:28px;display:block}.stat-card em{color:#928ba4;letter-spacing:0;font-size:11px;font-style:normal;font-weight:500}.stat-card small{color:#716b81;font-size:10px}.accent-text{color:#a68aff!important}.workspace-grid{grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:18px;display:grid}.upload-card,.pipeline-card{border-radius:19px;padding:23px}.section-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:21px;display:flex}.section-heading .eyebrow{margin-bottom:7px}.step-badge,.job-id{color:#817a94;font-family:Consolas,monospace;font-size:10px}.upload-zone{color:#aaa3bb;text-align:center;cursor:pointer;background:linear-gradient(145deg,#7a51e126,#2c224a38);border:1px dashed #b291ff5e;border-radius:15px;align-content:center;place-items:center;min-height:200px;display:grid}.upload-zone input{display:none}.upload-icon{color:#bea3ff;background:#a478ff2e;border-radius:12px;place-items:center;width:39px;height:39px;margin-bottom:10px;font-size:22px;display:grid}.upload-zone strong{color:#e9e4f5;font-size:13px}.upload-zone small,.upload-zone b{color:#817b96;margin-top:6px;font-size:10px;font-weight:400;display:block}.upload-zone b{color:#bfa5ff;text-overflow:ellipsis;white-space:nowrap;max-width:90%;overflow:hidden}.field-row{grid-template-columns:1fr 1fr;gap:10px;margin:15px 0;display:grid}.field-row label{color:#837d94;font-size:10px}.field-row select{color:#ddd7e9;background:#26203d;border:1px solid #ffffff1a;border-radius:8px;width:100%;margin-top:7px;padding:10px;font-size:11px;display:block}.primary-button{color:#fff;background:linear-gradient(100deg,#8b61ec,#b874e8);border:0;border-radius:10px;width:100%;padding:12px 14px;font-size:12px;font-weight:700;box-shadow:0 9px 23px #7c52e638}.primary-button:disabled{opacity:.7;cursor:wait}.auth-shell button[aria-busy=true],.config-shell button[aria-busy=true]{z-index:1;opacity:1;transform-origin:50%;will-change:transform, box-shadow, filter;animation:1.35s ease-in-out infinite action-button-breathe;position:relative}@keyframes action-button-breathe{0%,to{filter:brightness();box-shadow:0 6px 16px #8b5cf647,0 0 #8b5cf661}50%{filter:brightness(1.14);box-shadow:0 10px 28px #8b5cf675,0 0 0 5px #8b5cf624}}@media (prefers-reduced-motion:reduce){.auth-shell button[aria-busy=true],.config-shell button[aria-busy=true]{opacity:1;outline-offset:2px;filter:brightness(1.1);outline:3px solid #8b5cf680;animation:none}}.primary-button span{float:right;font-size:18px;line-height:12px}.status-pill{color:#a8a0bb;background:#ffffff12;border-radius:7px;padding:5px 8px;font-size:10px}.status-pill.running{color:#ffc77d;background:#ffb54d1f}.status-pill.succeeded{color:#72e8b1;background:#45d28f1f}.job-id{margin:-7px 0 25px}.job-id span{color:#5ed5a4;margin-left:7px}.progress-label{color:#c9c3d4;justify-content:space-between;font-size:11px;display:flex}.progress-label b{color:#b994ff;font-family:Consolas,monospace;font-size:10px}.progress-track{background:#302847;border-radius:9px;height:5px;margin:10px 0 25px;overflow:hidden}.progress-bar{background:linear-gradient(90deg,#8a5cfa,#d49aff);border-radius:9px;height:100%;transition:width .5s}.timeline{border-left:1px solid #4b3b68;margin:0;padding:0 0 4px 9px;list-style:none}.timeline li{color:#bab3c8;margin:0 0 19px 15px;font-size:11px;position:relative}.timeline li:last-child{margin-bottom:20px}.timeline i{background:#251d3b;border:2px solid #5d4c7b;border-radius:50%;width:9px;height:9px;position:absolute;top:2px;left:-20px}.timeline li.done i{background:#ad82ff;border-color:#a87bff;box-shadow:0 0 12px #ae7effb3}.timeline li.current i{background:#ffc474;border-color:#ffc474}.timeline span{float:right;color:#736c81;font-size:10px}.timeline li.done span{color:#79d9a7}.output-box{background:#ffffff09;border:1px solid #ffffff14;border-radius:11px;align-items:center;gap:10px;padding:11px;display:flex}.file-icon{color:#a993ff;background:#8b66ff29;border-radius:8px;place-items:center;width:32px;height:32px;font-family:Consolas,monospace;font-size:8px;display:grid}.output-box b,.output-box small{display:block}.output-box b{color:#d7d0e1;font-size:11px}.output-box small{color:#746d84;margin-top:3px;font-size:9px}.download-button{color:#d2bcff;background:#8e65ff26;border:0;border-radius:7px;margin-left:auto;padding:7px 9px;font-size:10px}.footer-note{color:#686177;margin-top:23px;font-size:10px}.footer-note>span{color:#59d8a0;margin-right:7px}.footer-note a{float:right;color:#9c82db;text-decoration:none}.project-select,.project-form input,.project-form select,.compact-project-form input,.auth-card input{color:#eee9f7;background:#26203d;border:1px solid #ffffff1c;border-radius:10px;outline:none;padding:10px 12px}.project-select{min-width:190px}.project-select:focus,.project-form input:focus,.project-form select:focus,.compact-project-form input:focus,.auth-card input:focus{border-color:#9d78f4;box-shadow:0 0 0 3px #9468f11f}.project-form{grid-template-columns:1.2fr 1fr auto;align-items:end;gap:10px;margin-bottom:15px;display:grid}.project-form label,.auth-card label{color:#918aa4;font-size:10px}.project-form input,.project-form select,.auth-card input{width:100%;margin-top:7px;display:block}.compact-project-form{gap:8px;margin-bottom:14px;display:flex}.compact-project-form input{flex:1;min-width:0;font-size:11px}.secondary-button{color:#fff;white-space:nowrap;background:#7050ca;border:0;border-radius:10px;padding:11px 14px;font-size:11px}.notice-bar{color:#cfbfef;background:#774ec61f;border:1px solid #b08bff33;border-radius:11px;margin-bottom:18px;padding:11px 14px;font-size:11px}.nav-item:disabled{cursor:not-allowed;opacity:.45}.sidebar-signout{width:100%;margin-top:9px}.text-button{color:#9f92bd;background:0 0;border:0;padding:8px;font-size:11px}.text-button:hover{color:#d5c8ef}.job-list{gap:6px;margin:-7px 0 19px;display:grid}.job-list button{color:#817a94;background:#ffffff06;border:1px solid #0000;border-radius:8px;justify-content:space-between;gap:12px;padding:8px 10px;font-family:Consolas,monospace;font-size:9px;display:flex}.job-list button.active{color:#cbb6f7;background:#8b5eea1c;border-color:#aa7eff40}.job-list b{color:inherit;font-weight:500}.empty-state{color:#716a82;text-align:center;border:1px dashed #ffffff14;border-radius:10px;padding:21px 12px;font-size:10px}.job-error{color:#bd9ba3;background:#ca4d5f17;border-left:2px solid #eb7f8d;margin-bottom:14px;padding:9px 11px;font-size:10px}.job-error b{color:#ed9ca6;margin-bottom:3px;font-family:Consolas,monospace;display:block}.cancel-button{color:#c8949c;background:#c34b5c12;border:1px solid #e876872e;border-radius:8px;width:100%;margin-top:10px;padding:8px;font-size:10px}.auth-shell{color:#18181b;background:#fff;grid-template-columns:minmax(360px,46%) minmax(480px,54%);min-height:100vh;display:grid}.auth-visual{color:#fff;background:linear-gradient(#0d0a196b,#0d0a19b3),url(/assets/hero-CLDdwZDr.png) 50%/cover;flex-direction:column;min-height:100vh;padding:38px clamp(34px,5vw,76px);display:flex;position:relative;overflow:hidden}.auth-visual:after{content:"";pointer-events:none;background:#0e0a1b1f;position:absolute;inset:0}.auth-brand,.auth-copy,.auth-status{z-index:1;position:relative}.auth-brand{padding:0}.auth-copy{max-width:650px;margin:auto 0}.auth-copy h1{letter-spacing:0;font-size:clamp(38px,4.6vw,68px)}.auth-copy>p:last-child{color:#ffffffc7;max-width:510px;margin-top:22px;font-size:14px;line-height:1.8}.auth-status{color:#9d95ab;align-items:center;gap:8px;font-size:11px;display:flex}.auth-status i{background:#58dca1;border-radius:50%;width:7px;height:7px;box-shadow:0 0 12px #58dca1}.auth-panel{background:#fff;place-items:center;min-width:0;padding:88px clamp(28px,6vw,96px) 48px;display:grid;position:relative}.auth-panel-top{justify-content:flex-end;align-items:center;min-height:38px;display:flex;position:absolute;top:28px;left:32px;right:32px}.auth-mobile-brand{color:#18181b;align-items:center;gap:9px;font-size:15px;font-weight:800;display:none}.auth-mobile-brand span{color:#fff;background:#7254d8;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.auth-card{color:#18181b;background:0 0;width:min(420px,100%);padding:0}.language-switcher{background:#ffffff14;border:1px solid #826fab38;border-radius:8px;min-height:32px;padding:3px;display:inline-flex}.language-switcher button{min-width:68px;color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;border-radius:6px;padding:5px 10px;font-size:11px}.language-switcher button.active{color:#fff;background:#7650d1}.language-switcher button:focus-visible{outline-offset:2px;outline:2px solid #a88bf0}.auth-panel .language-switcher{color:#52525b;background:#fafafa;border-color:#e4e4e7}.auth-panel .language-switcher button.active{color:#fff;background:#18181b}.auth-language-switcher{margin:0}.auth-card h2{letter-spacing:0;margin-bottom:10px;font-size:28px}.form-note{color:#71717a;margin-bottom:27px;font-size:12px;line-height:1.65}.auth-card label{color:#3f3f46;margin-top:15px;font-size:11px;font-weight:600;display:block}.auth-card input{color:#18181b;background:#fff;border-color:#d4d4d8}.auth-card input:focus{border-color:#7254d8;box-shadow:0 0 0 3px #7254d81f}.auth-card .primary-button{box-shadow:none;background:#18181b;border-radius:8px;margin-top:21px;padding:13px 14px}.auth-card .primary-button:hover{background:#2f2f33}.auth-card .text-button{width:100%;margin-top:7px}.password-field{position:relative}.password-field input{padding-right:42px}.password-toggle{color:#71717a;cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;width:30px;height:30px;display:grid;position:absolute;top:7px;right:7px}.password-toggle:hover{color:#18181b;background:#f4f4f5}.password-toggle:focus-visible{outline-offset:1px;outline:2px solid #a88bf0}.password-eye{border:1.5px solid;border-radius:70% 30%/55% 45%;width:17px;height:11px;display:block;position:relative}.password-eye i{background:currentColor;border-radius:50%;width:5px;height:5px;position:absolute;top:2px;left:5px}.auth-mode-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:21px;display:grid}.auth-mode-actions .primary-button,.auth-mode-actions .auth-secondary-button{margin-top:0}.auth-secondary-button{color:#d8c8fa;cursor:pointer;background:#7650d129;border:1px solid #9d78f48c;border-radius:10px;width:100%;padding:12px 14px;font-size:12px;font-weight:700}.auth-secondary-button:hover{background:#7650d147;border-color:#a88bf0}.auth-card label small{color:#71717a;margin-top:6px;font-size:9px;font-weight:400;display:block}.auth-consents{margin-top:18px}.auth-consent{grid-template-columns:16px minmax(0,1fr);align-items:start;gap:8px;line-height:1.55;display:grid!important}.auth-consent input{accent-color:#7254d8;height:15px;width:15px!important;margin:2px 0 0!important}.auth-consent a,.auth-legal-links a{color:#6546c5;text-decoration:none}.auth-email-summary{background:#fafafa;border:1px solid #e4e4e7;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;margin:4px 0 18px;padding:11px 12px;display:flex}.auth-email-summary div{min-width:0}.auth-email-summary span,.auth-email-summary strong{display:block}.auth-email-summary span{color:#71717a;font-size:9px}.auth-email-summary strong{text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:11px;overflow:hidden}.auth-email-summary button{color:#6546c5;background:0 0;border:0;flex:none;padding:5px;font-size:10px}.otp-fields{grid-template-columns:repeat(6,minmax(38px,1fr));gap:8px;margin:20px 0 8px;display:grid}.auth-card .otp-fields input{aspect-ratio:1;text-align:center;min-width:0;margin:0;padding:0;font-size:21px;font-weight:700}.auth-divider{color:#a1a1aa;align-items:center;gap:12px;margin:20px 0 14px;font-size:10px;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:#e4e4e7;flex:1;height:1px}.google-auth-button{color:#27272a;background:#fff;border:1px solid #d4d4d8;border-radius:8px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:43px;font-size:11px;font-weight:700;display:flex}.google-auth-button:hover{background:#fafafa;border-color:#a1a1aa}.google-mark{color:#4285f4;font-size:16px;font-weight:800}.auth-switch{color:#71717a;text-align:center;margin-top:18px;font-size:11px}.auth-switch button{color:#6546c5;background:0 0;border:0;padding:3px;font-weight:700}.auth-legal-links{border-top:1px solid #e4e4e7;justify-content:center;gap:13px;margin-top:20px;padding-top:16px;font-size:9px;display:flex}.form-message{color:#9f1239;background:#fff1f2;border:1px solid #fecdd3;border-radius:8px;margin-top:15px;padding:9px 11px;font-size:10px}.turnstile-wrap{min-height:65px;margin-top:14px;overflow:hidden}.turnstile-widget{max-width:100%;min-height:65px}.turnstile-wrap iframe{max-width:100%}.turnstile-retry{color:#d8b66a;cursor:pointer;background:0 0;border:1px solid;border-radius:5px;margin-top:7px;padding:5px 8px;font-size:9px}.turnstile-not-configured{color:#d8b66a;background:#d8b66a1a;border-radius:8px;margin-top:14px;padding:9px 11px;font-size:10px;line-height:1.5}.config-shell,.loading-shell{background:radial-gradient(circle at 50% 15%,#7957ff38,#0000 34rem),#100d1c;place-items:center;min-height:100vh;padding:24px;display:grid}.config-card{border-radius:24px;width:min(560px,100%);padding:38px}.config-card h1{margin-bottom:14px;font-size:32px}.config-list{gap:8px;display:grid}.config-list code{color:#baa1ef;background:#ffffff09;border:1px solid #ffffff14;border-radius:8px;padding:11px 13px;font-family:Consolas,monospace;font-size:11px}.loading-shell{color:#8f879f;align-content:center;gap:13px;font-size:11px}.loading-mark{color:#fff;background:linear-gradient(145deg,#c995ff,#7555ff);border-radius:15px;place-items:center;width:46px;height:46px;font-weight:800;animation:1.5s ease-in-out infinite loading-pulse;display:grid;box-shadow:0 12px 35px #855bff61}@keyframes loading-pulse{50%{opacity:.72;transform:scale(.94)}}.legal-standalone{color:#29231f;background:#f8f4ee;min-height:100vh;padding:48px 20px}.legal-standalone .legal-document{background:#fff;border:1px solid #e4d8ca;border-radius:18px;width:min(820px,100%);margin:0 auto;padding:38px;box-shadow:0 20px 50px #573e2814}.legal-standalone .legal-document header{border-bottom:1px solid #e4d8ca;padding-bottom:22px}.legal-standalone .legal-document header>span{color:#f9732f;letter-spacing:.13em;font-size:10px;font-weight:900}.legal-standalone .legal-document header h1{margin:7px 0;font-size:32px}.legal-standalone .legal-document header p,.legal-standalone .legal-document section p{color:#75695e;font-size:13px;line-height:1.8}.legal-standalone .legal-document section{margin-top:27px}.legal-standalone .legal-document section h2{margin:0 0 9px;font-size:17px}.legal-standalone .legal-document footer{border-top:1px solid #e4d8ca;flex-wrap:wrap;gap:14px;margin-top:32px;padding-top:20px;display:flex}.legal-standalone .legal-document footer a,.legal-standalone .legal-document footer button{color:#f9732f;background:0 0;border:0;padding:0;font-size:11px;font-weight:800;text-decoration:none}@media (width<=900px){.shell{grid-template-columns:1fr}.sidebar{margin:12px;padding:16px}.brand{padding-bottom:16px}.nav-list{grid-template-columns:repeat(3,1fr)}.nav-item{text-align:center;padding:9px 5px;font-size:10px}.nav-item span{width:auto;display:block}.sidebar-footer{display:none}.content{padding-top:25px}.workspace-grid{grid-template-columns:1fr}.auth-shell{background:#fff;display:block}.auth-visual{display:none}.auth-panel{min-height:100vh;padding:104px 24px 42px}.auth-panel-top{justify-content:space-between;top:24px;left:24px;right:24px}.auth-mobile-brand{display:flex}}@media (width<=650px){.project-form{grid-template-columns:1fr}.topbar{flex-direction:column;align-items:stretch}.project-select{width:100%}}@media (width<=560px){.stats-grid,.field-row{grid-template-columns:1fr}.nav-list{grid-template-columns:repeat(3,1fr)}.topbar{margin-bottom:24px}.footer-note a{float:none;margin-top:8px;display:block}.auth-card{padding:0}.config-card{padding:26px 20px}.otp-fields{gap:6px}.auth-card .otp-fields input{font-size:18px}}:is(html:has(.studio-shell),body:has(.studio-shell)){background:#f8f4ee}.studio-shell,.studio-shell *{box-sizing:border-box}.studio-shell{--bg:#f8f4ee;--surface:#fff;--surface-alt:#f3eee6;--border:#e4d8ca;--text:#191714;--muted:#8d8378;--accent:#ff8a4c;--accent-dark:#f9732f;--success:#10b981;--info:#3b82f6;--warning:#f59e0b;--purple:#8b5cf6;min-width:0;min-height:100vh;color:var(--text);background:var(--bg);font-family:Microsoft YaHei UI,Segoe UI,sans-serif;font-size:13px}.studio-shell button,.studio-shell input,.studio-shell select,.studio-shell textarea{font:inherit}.studio-shell button{cursor:pointer}.studio-shell.app-shell{background:var(--bg);grid-template-columns:176px minmax(0,1fr);min-height:100dvh;display:grid}.studio-shell .sidebar{border-right:1px solid var(--border);background:#fff7ef;flex-direction:column;min-width:0;height:100dvh;padding:14px 12px 12px;display:flex;position:sticky;top:0;overflow-y:auto}.studio-shell .brand{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:0 4px 14px;display:flex}.studio-shell .brand-logo{color:#fff;background:linear-gradient(135deg, #ff9a61, var(--accent-dark));border-radius:8px;flex:0 0 34px;place-items:center;width:34px;height:34px;font-size:12px;font-weight:800;display:grid;box-shadow:0 7px 16px #f9732f33}.studio-shell .brand-title{color:var(--text);font-size:14px;font-weight:800;line-height:1.1}.studio-shell .brand-subtitle,.studio-shell .nav-label,.studio-shell .sidebar-account,.studio-shell .sidebar-link{color:#7a6252}.studio-shell .brand-subtitle{margin-top:3px;font-size:10px}.studio-shell .nav-label{color:#a18e7c;letter-spacing:.08em;margin:16px 8px 7px;font-size:10px;font-weight:700}.studio-shell .nav-list{gap:5px;display:grid}.studio-shell .nav-item{color:#6f6256;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;width:100%;min-height:44px;padding:8px 10px;font-size:13px;display:flex;position:relative}.studio-shell .nav-item-icon{color:#8e755e;background:#ffffffb8;border-radius:7px;flex:0 0 24px;place-items:center;width:24px;height:24px;display:grid}.studio-shell .nav-item-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.studio-shell .nav-item .nav-item-label{width:auto;min-width:0;color:inherit;font-size:inherit;text-overflow:clip;white-space:nowrap;flex:1;display:block;overflow:visible}.studio-shell .nav-item.active{color:var(--text);background:var(--sidebar-active,#ffe2cc);font-weight:700;box-shadow:inset 0 0 0 1px #ff8a4c3d}.studio-shell .nav-item.active:before{content:"";background:var(--accent);border-radius:0 3px 3px 0;width:3px;position:absolute;top:7px;bottom:7px;left:0}.studio-shell .nav-item.active .nav-item-icon{color:#fff;background:var(--accent);box-shadow:0 4px 10px #f9732f33}.studio-shell .sidebar-spacer{flex:auto;min-height:32px}.studio-shell .sidebar-account{border-top:1px solid var(--border);gap:9px;width:100%;padding-top:14px;display:grid}.studio-shell .sidebar-plan-badge{color:#087f8c;background:#ecfeff;border:1px solid #bfeee8;border-radius:8px;justify-content:space-between;align-items:center;gap:6px;min-height:34px;padding:7px 9px;font-size:10px;display:flex}.studio-shell .sidebar-plan-badge strong{color:#0f6d78;font-size:11px}.studio-shell .sidebar-credit-card{color:#374151;background:#fff;border:1px solid #e6ddcf;border-radius:9px;align-items:center;gap:10px;width:100%;min-height:52px;padding:8px 10px;display:flex;box-shadow:0 8px 18px #573e280d}.studio-shell .sidebar-credit-icon{color:#fff;background:linear-gradient(135deg,#f6c86e,#d9a543);border-radius:50%;flex:0 0 28px;place-items:center;width:28px;height:28px;display:grid}.studio-shell .sidebar-credit-card>div{min-width:0}.studio-shell .sidebar-credit-card strong{color:#111827;font-size:14px;line-height:1.1;display:block}.studio-shell .sidebar-credit-card>div span{color:#7c7167;margin-top:3px;font-size:10px;display:block}.studio-shell .sidebar-api-status{color:#75695e;align-items:center;gap:7px;min-width:0;padding:0 5px;font-size:10px;display:flex}.studio-shell .sidebar-api-status>span:last-child{white-space:normal;line-height:1.35;overflow:visible}.studio-shell .dot{background:var(--success);border-radius:50%;flex:0 0 7px;width:7px;height:7px;box-shadow:0 0 0 3px #10b9811f}.studio-shell .sidebar-user-row{background:#ffffff94;border-radius:8px;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;min-width:0;padding:5px;display:grid}.studio-shell .sidebar-user-avatar{color:#fff;background:linear-gradient(135deg,#f4d2a2,#c89b60);border-radius:50%;place-items:center;width:32px;height:32px;font-size:12px;font-weight:800;display:grid;box-shadow:0 5px 12px #8b5c242e}.studio-shell .sidebar-user-name{color:#544b43;overflow-wrap:anywhere;white-space:normal;min-width:0;font-size:10px;line-height:1.35;overflow:visible}.studio-shell .sidebar-link{text-align:center;background:0 0;border:1px solid #0000;border-radius:7px;width:100%;padding:7px 9px;font-size:11px;display:block}.studio-shell .sidebar-link:hover{border-color:var(--border);color:var(--accent-dark);background:#fff0e4}.studio-shell .studio-signout{color:#6f5140;background:#fff;border-color:#ead8c8;border-radius:9px;width:100%;min-height:40px;font-size:13px;font-weight:800;box-shadow:0 7px 16px #573e280f}.studio-shell .studio-signout:hover{color:var(--accent-dark);background:#fff7ed;border-color:#f2b08a}.studio-shell .mobile-signout{display:none}.studio-shell .workspace{background:var(--bg);grid-template-rows:minmax(0,1fr);min-width:0;min-height:100vh;display:grid;position:relative}.studio-shell .topbar{display:none}.studio-shell .topbar strong{color:var(--text);margin-right:10px;font-size:17px}.studio-shell #topScope{color:var(--accent);background:#fff1e6;border-radius:0;padding:2px 8px;font-size:13px;font-weight:700;display:inline-block}.studio-shell .path{color:var(--muted);margin-left:12px;font-size:15px}.studio-shell .badge{color:#746b61;white-space:nowrap;background:#f7f4ef;border-radius:0;margin-left:8px;padding:4px 10px;font-size:15px;display:inline-block}.studio-shell .badge.success{color:var(--success);background:#e8fbf3}.studio-shell .studio-topbar-title,.studio-shell .studio-topbar-actions{align-items:center;min-width:0;display:flex}.studio-shell .studio-topbar-title{white-space:nowrap;overflow:hidden}.studio-shell .studio-topbar-title .path{text-overflow:ellipsis;overflow:hidden}.studio-shell .studio-topbar-actions{gap:5px}.studio-shell .project-select{border:1px solid var(--border);min-width:120px;max-width:180px;color:var(--text);background:#fff;border-radius:6px;padding:4px 6px;font-size:11px}.studio-shell .btn{border:0;border-radius:6px;padding:7px 12px;font-size:12px;font-weight:700}.studio-shell .btn.primary,.studio-shell .preview-btn{color:#fff;background:var(--accent)}.studio-shell .btn.primary:hover,.studio-shell .preview-btn:hover{background:var(--accent-dark)}.studio-shell .btn.secondary,.studio-shell .preview-btn.secondary{border:1px solid var(--border);color:var(--text);background:#f7f4ef}.studio-shell .btn.secondary:hover,.studio-shell .preview-btn.secondary:hover{background:#ede7dd}.studio-shell .btn:disabled,.studio-shell .preview-btn:disabled{opacity:.68;cursor:not-allowed}.studio-shell button[aria-busy=true],.studio-shell button.is-running{z-index:1;opacity:1;transform-origin:50%;will-change:transform, box-shadow, filter;animation:1.35s ease-in-out infinite running-button-breathe;position:relative}.studio-shell button[aria-busy=true]:disabled{opacity:1}@keyframes running-button-breathe{0%,to{filter:brightness();transform:scale(1);box-shadow:0 6px 16px #f9731638,0 0 #f9731657}50%{filter:brightness(1.12);transform:scale(1.035);box-shadow:0 10px 26px #f9731661,0 0 0 7px #f9731629}}.studio-shell .studio-project-button{padding:4px 8px;font-size:11px}.studio-shell .studio-project-form{z-index:20;grid-template-columns:minmax(150px,1.4fr) minmax(100px,.8fr) auto auto;align-items:end;gap:8px;width:min(520px,100vw - 170px);padding:12px;display:grid;position:absolute;top:14px;left:14px;box-shadow:0 12px 28px #573e281f}.studio-shell .studio-project-form label{color:var(--muted);font-size:11px}.studio-shell .studio-project-form input,.studio-shell .studio-project-form select{border:1px solid var(--border);width:100%;color:var(--text);background:#fff;border-radius:6px;margin-top:5px;padding:7px 8px;display:block}.studio-shell .page-root{min-width:0;min-height:0;padding:6px 8px 16px;overflow:auto}.studio-shell .page-title{color:var(--text);letter-spacing:normal;margin:0;font-size:16px;font-weight:800;line-height:1.25}.studio-shell .page-desc{color:var(--muted);margin:4px 0 0;font-size:12px;line-height:1.5}.studio-shell .notice-bar{z-index:10;color:#7a4a25;background:#fff3e8;border:1px solid #ffd7ba;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin:0 0 8px;padding:8px 10px;font-size:11px;display:flex;position:relative}.studio-shell .notice-bar button{color:#9b6540;background:0 0;border:0;font-size:16px;line-height:1}:is(.studio-shell .page-root:has(.unified-workbench),.studio-shell .page-root:has(.voice-design-page)),:is(.studio-shell .workspace:has(.unified-workbench),.studio-shell .workspace:has(.voice-design-page)){height:100vh;overflow:hidden}.studio-shell .unified-workbench{grid-template-columns:minmax(0,1fr) 300px;align-items:stretch;gap:12px;height:calc(100vh - 22px);min-height:0;display:grid;overflow:hidden}.studio-shell .unified-main{grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;display:grid;overflow:hidden}.studio-shell .video-duo{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-bottom:8px;display:grid}.studio-shell .video-card{border:1px solid var(--border);background:#fff;border-radius:8px;min-width:0;padding:8px}.studio-shell .video-card-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.studio-shell .video-card-head h2{color:var(--text);margin:0;font-size:15px;font-weight:800}.studio-shell .video-preview{aspect-ratio:16/9;color:#666;background:#000;border-radius:8px;justify-content:center;align-items:center;width:100%;max-width:100%;font-size:15px;display:flex;position:relative;overflow:hidden}.studio-shell .video-preview.compact{min-height:170px}.studio-shell .video-preview.empty{border:2px dashed var(--border);color:var(--text);background:var(--surface-alt);text-align:center}.studio-shell .video-preview.empty:hover{border-color:var(--accent);background:#fff8f2}.studio-shell .video-preview.target.empty:hover{border-color:var(--border);background:var(--surface-alt)}.studio-shell .video-preview video{object-fit:contain;background:#000;border-radius:8px;width:100%;height:100%}.studio-shell .empty-upload{align-content:center;justify-items:center;padding:18px;display:grid}.studio-shell .video-preview .empty-upload .arrow{color:var(--accent);font-size:30px;font-weight:900}.studio-shell .video-preview .empty-upload h2{color:var(--text);margin:8px 0 5px;font-size:17px;font-weight:700}.studio-shell .video-preview .empty-upload p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.studio-shell .upload-selected{color:var(--accent);margin-top:10px;font-size:12px;font-weight:700}.studio-shell .file-input{display:none}.studio-shell .icon-btn{border:1px solid var(--border);width:34px;height:32px;color:var(--accent-dark);cursor:pointer;background:#fff7ed;border-radius:8px;place-items:center;font-size:16px;font-weight:900;line-height:1;display:inline-grid}.studio-shell label.icon-btn{cursor:pointer}.studio-shell .icon-btn:hover{color:#fff;background:var(--accent);border-color:var(--accent)}.studio-shell .icon-btn.success{color:var(--success);background:#e8fbf3}.studio-shell .icon-btn.success:hover{color:#fff;background:var(--success);border-color:var(--success)}.studio-shell .icon-btn.secondary{color:var(--text);background:#f7f4ef}.studio-shell .icon-btn.secondary:hover{color:var(--text);border-color:var(--border);background:#ede7dd}.studio-shell .icon-btn:disabled{opacity:.65;cursor:not-allowed}.studio-shell .subtitle-workbench-card{border:1px solid var(--border);background:#fff;border-radius:8px;min-height:0;padding:12px;overflow:hidden}.studio-shell .unified-subtitles{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;height:100%;min-height:0;display:grid}.studio-shell .srt-panel{background:#fff;flex-direction:column;min-width:0;min-height:0;padding:0;display:flex;overflow:hidden}.studio-shell .srt-panel-head{justify-content:space-between;align-items:center;gap:8px;min-height:32px;margin:0 0 10px;display:flex}.studio-shell .srt-panel-head h3{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:15px;font-weight:700;overflow:hidden}.studio-shell .srt-title-with-action{align-items:center;gap:6px;display:inline-flex}.studio-shell .inline-icon-actions{flex:none;align-items:center;gap:5px;display:flex}.studio-shell .inline-icon-actions .icon-btn{width:30px;height:28px;font-size:14px}.studio-shell .inline-icon-actions .icon-btn.auto-action{width:auto;min-width:92px;padding:0 10px;font-size:13px}.studio-shell .srt-save-btn,.studio-shell .srt-restore-btn{width:30px;height:28px;color:var(--accent-dark);cursor:pointer;background:#fff7ed;border:1px solid #f2b08a;border-radius:8px;place-items:center;font-size:16px;font-weight:900;line-height:1;display:inline-grid}.studio-shell .srt-save-btn:hover,.studio-shell .srt-restore-btn:hover{color:#fff;background:var(--accent);border-color:var(--accent)}.studio-shell .srt-restore-btn{color:var(--text);border-color:var(--border);background:#f7f4ef}.studio-shell .timeline-list{border:1px solid var(--border);background:#fbf7f1;border-radius:6px;flex:1;height:auto;min-height:0;padding:12px;overflow:auto}.studio-shell .empty-srt{color:var(--muted);font-size:14px;line-height:1.6}.studio-shell .subtitle-processing{min-height:132px;color:var(--muted);text-align:center;place-content:center;justify-items:center;gap:7px;display:grid;position:relative;overflow:hidden}.studio-shell .subtitle-processing strong{color:var(--text);font-size:15px}.studio-shell .subtitle-processing-icon{color:#0c9f72;background:#e9fbf5;border:1px solid #8ce7ca;border-radius:8px;place-items:center;width:34px;height:34px;font-size:17px;animation:1.2s ease-in-out infinite subtitle-processing-pulse;display:grid}.studio-shell .subtitle-processing i{background:#efe9e2;border-radius:999px;height:4px;position:absolute;bottom:18px;left:12%;right:12%;overflow:hidden}.studio-shell .subtitle-processing i:after{content:"";border-radius:inherit;background:linear-gradient(90deg,#18b886,#ff8a4c);width:35%;animation:1.25s linear infinite subtitle-processing-sweep;position:absolute;inset:0 auto 0 -35%}@keyframes subtitle-processing-pulse{50%{transform:scale(1.08);box-shadow:0 0 0 5px #18b8861a}}@keyframes subtitle-processing-sweep{to{transform:translate(390%)}}.studio-shell .timeline-item{border-bottom:1px solid var(--border);height:112px;min-height:112px;max-height:112px;padding:10px 0;position:relative;overflow:hidden}.studio-shell .timeline-item.active-subtitle{box-shadow:inset 3px 0 0 var(--accent), -12px 0 0 #fff0df, 12px 0 0 #fff0df;background:#fff0df}.studio-shell .timeline-time{height:24px;min-height:24px;max-height:24px;color:var(--accent);align-items:center;gap:6px;font-size:13px;font-weight:700;line-height:24px;display:flex;overflow:hidden}.studio-shell .timeline-timecode{color:inherit;font:inherit;line-height:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;padding:0;overflow:hidden}.studio-shell .timeline-timecode:hover{color:var(--accent-dark)}.studio-shell .timeline-icon-btn{cursor:pointer;background:#fff;border:2px solid;border-radius:2px;flex:0 0 26px;place-items:center;width:26px;height:22px;padding:0;font-size:12px;font-weight:800;line-height:1;display:inline-grid}.studio-shell .line-version-actions{align-items:center;gap:5px;margin-left:auto;display:flex}.studio-shell .line-version-actions select{color:#0284c7;background:var(--surface);border:1px solid #38bdf8;border-radius:4px;width:54px;height:24px;padding:0 3px;font-size:11px;font-weight:700}.studio-shell .timeline-textarea{resize:none;border:1px solid var(--border);width:100%;height:64px;min-height:64px;max-height:64px;color:var(--text);font:inherit;background:#fff;border-radius:4px;margin-top:6px;padding:8px;font-size:14px;line-height:1.5;overflow:auto}.studio-shell .timeline-textarea:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 2px #ff8a4c1f}.studio-shell .srt-edit-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;display:flex}.studio-shell .option-status{color:var(--muted);font-size:13px;font-weight:600}.studio-shell .srt-edit-actions .option-status{margin-right:auto}.studio-shell .srt-edit-actions button{border:1px solid var(--border);color:var(--text);background:#f7f4ef;border-radius:6px;padding:6px 9px;font-size:12px}.studio-shell .srt-edit-actions button:hover{border-color:var(--accent);color:var(--accent-dark)}.studio-shell .inline-hidden-meta{display:none}.studio-shell .pipeline-side{scrollbar-gutter:stable;min-width:0;min-height:0;max-height:100%;position:sticky;top:0;overflow:hidden auto}.studio-shell .pipeline-side>.page-title{color:var(--text);margin:0 0 6px;font-size:17px;font-weight:700}.studio-shell .card{border:1px solid var(--border);background:#fff;border-radius:8px}.studio-shell .pipeline-side .task-log-card{margin:0 0 8px;padding:12px 14px}.studio-shell .stage-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.studio-shell .stage-head h2{color:var(--text);margin:0;font-size:15px;font-weight:700}.studio-shell .task-title-row{align-items:center;gap:8px;min-width:0;display:inline-flex}.studio-shell .task-elapsed-time{color:var(--muted);white-space:nowrap;font-size:12px;font-weight:800}.studio-shell .stage-status{color:var(--accent);white-space:nowrap;font-size:12px;font-weight:600}.studio-shell .studio-task-meta{color:var(--muted);flex-wrap:wrap;gap:4px 10px;margin:-2px 0 7px;font-size:10px;line-height:1.4;display:flex}.studio-shell .studio-task-meta span{overflow-wrap:anywhere}.studio-shell .task-progress-bar{background:#f3eadf;border-radius:999px;height:8px;margin-top:4px;position:relative;overflow:hidden}.studio-shell .task-progress-fill{border-radius:inherit;background:linear-gradient(90deg,#ff6b1a 0%,#ff9f43 48%,#20c997 100%);width:0;height:100%;transition:width .35s;position:relative;overflow:hidden}.studio-shell .task-progress-fill.running:after{content:"";background:linear-gradient(90deg,#0000,#ffffffd1,#0000);width:42%;animation:1.35s linear infinite task-progress-sweep;position:absolute;inset:0 auto 0 -42%}.studio-shell .lipsync-progress span{transition:width .35s;position:relative;overflow:hidden}.studio-shell .lipsync-progress span.running:after{content:"";background:linear-gradient(90deg,#0000,#ffffffd1,#0000);width:42%;animation:1.35s linear infinite task-progress-sweep;position:absolute;inset:0 auto 0 -42%}@keyframes task-progress-sweep{0%{transform:translate(0)}to{transform:translate(340%)}}.studio-shell .pipeline-current-step{border:1px solid var(--border);color:#7a4a25;background:#fbf7f1;border-radius:8px;align-items:center;gap:8px;min-height:34px;margin-top:8px;padding:6px 10px;font-size:12px;font-weight:700;display:flex;overflow:hidden}.studio-shell .pipeline-current-step>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.studio-shell .pipeline-current-step .task-log-dot{background:#f2b08a;border-radius:50%;flex:0 0 8px;width:8px;height:8px}.studio-shell .studio-task-error{color:#b42318;background:#fff1f1;border-left:2px solid #ef4444;margin-top:8px;padding:7px 9px;font-size:12px}.studio-shell .studio-task-actions{gap:6px;margin-top:8px;display:flex}.studio-shell .studio-task-actions:empty{display:none}.studio-shell .studio-task-actions button{border:1px solid var(--border);color:var(--text);background:#f7f4ef;border-radius:6px;flex:1;padding:7px;font-size:12px}.studio-shell .studio-task-actions button:hover{border-color:var(--accent);color:var(--accent-dark)}.studio-shell .studio-danger-button{color:#b42318!important;background:#fff1f1!important;border-color:#fecaca!important}.studio-shell .advanced{border:1px solid var(--border);background:#fff;border-radius:8px;margin-top:6px;padding:9px}.studio-shell .advanced-head{cursor:pointer;align-items:center;display:flex}.studio-shell .advanced-head strong{color:var(--text);font-size:13px;font-weight:700}.studio-shell .advanced-head button{color:var(--accent);cursor:pointer;background:0 0;border:0;margin-left:auto;font-size:11px;font-weight:700}.studio-shell .advanced-body{grid-template-columns:1fr;gap:6px;margin-top:8px;display:grid}.studio-shell .option{border:1px solid var(--border);background:var(--surface-alt);border-radius:6px;padding:7px 8px}.studio-shell .option label,.studio-shell .advanced-body>label{color:var(--muted);margin-bottom:4px;font-size:11px;font-weight:600;display:block}.studio-shell .option select,.studio-shell .option input[type=number],.studio-shell .advanced-body>label select{border:1px solid var(--border);width:100%;color:var(--text);background:#fff;border-radius:6px;margin-top:4px;padding:6px 8px;font-size:12px}.studio-shell .option small{color:var(--muted);margin-top:4px;font-size:10px;line-height:1.4;display:block}.studio-shell .advanced-body>label select{margin-top:5px}.studio-shell .compact-advanced{margin-top:0;padding:9px}.studio-shell .compact-advanced .advanced-body{gap:6px;margin-top:8px}.studio-shell .studio-settings-three-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.studio-shell .studio-primary-settings-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:8px;margin-bottom:8px;display:grid}.studio-shell .studio-setting-wide,.studio-shell .studio-model-setting{border:1px solid var(--border);background:var(--surface-alt);border-radius:8px;min-width:0;padding:8px}.studio-shell .studio-model-setting{color:var(--muted);font-size:12px;font-weight:600;display:block}.studio-shell .studio-model-setting select{border:1px solid var(--border);width:100%;color:var(--text);background:#fff;border-radius:6px;margin-top:5px;padding:7px 8px;font-size:13px}.studio-shell .studio-language-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-shell .studio-basic-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:78px;gap:8px;display:grid}.studio-shell .studio-basic-settings-grid>.legacy-setting-field,.studio-shell .studio-basic-settings-grid>.studio-setting-wide,.studio-shell .studio-basic-settings-grid>.studio-model-setting{box-sizing:border-box;border-radius:8px;flex-direction:column;justify-content:space-between;min-width:0;height:78px;display:flex}.studio-shell .studio-basic-settings-grid .legacy-setting-field label,.studio-shell .studio-basic-settings-grid .studio-conversion-section>label,.studio-shell .studio-basic-settings-grid .studio-model-setting{font-size:12px}.studio-shell .studio-basic-settings-grid select{box-sizing:border-box;width:100%;height:34px;min-height:34px;margin-top:5px}.studio-shell .studio-custom-voice-settings{gap:8px;margin-top:8px;display:grid}.studio-shell .studio-conversion-card{margin:0 0 8px;padding:12px}.studio-shell .studio-card-section-head{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px;display:flex}.studio-shell .studio-card-section-head strong{color:var(--text);font-size:14px}.studio-shell .studio-card-section-head span{color:var(--muted);font-size:11px}.studio-shell .studio-conversion-section{gap:8px;display:grid}.studio-shell .studio-conversion-section>label{color:var(--muted);font-size:12px;font-weight:600;display:block}.studio-shell .studio-conversion-section>label select{border:1px solid var(--border);width:100%;color:var(--text);background:#fff;border-radius:6px;margin-top:5px;padding:7px 8px;font-size:13px}.studio-shell .voice-source-row,.studio-shell .studio-voice-source-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:0;display:grid}.studio-shell .voice-source-item,.studio-shell .studio-voice-source-row label{border:1px solid var(--border);min-height:30px;color:var(--text);cursor:pointer;background:#fff;border-radius:6px;align-items:center;gap:5px;padding:4px 7px;font-size:12px;display:flex}.studio-shell .voice-source-item.active,.studio-shell .studio-voice-source-row label.active{border-color:var(--accent);background:#fff7ed}.studio-shell .voice-source-item input,.studio-shell .studio-voice-source-row input{width:14px;height:14px;accent-color:var(--accent);margin:0}.studio-shell .studio-voice-upload-box,.studio-shell .studio-voice-reference{border:1px solid var(--border);background:#fffaf5;border-radius:6px;gap:7px;padding:8px;display:grid}.studio-shell .studio-voice-files{max-height:92px;overflow-y:auto}.studio-shell .studio-voice-files>div{color:var(--text);grid-template-columns:20px minmax(0,1fr) 20px;align-items:center;gap:5px;font-size:11px;display:grid}.studio-shell .studio-voice-files>div>span{color:#fff;background:var(--accent);border-radius:50%;place-items:center;width:18px;height:18px;font-size:10px;display:grid}.studio-shell .studio-voice-files b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.studio-shell .studio-voice-files button{color:#b42318;background:0 0;border:0;font-size:15px}.studio-shell .studio-voice-reference{grid-template-columns:auto minmax(0,1fr);align-items:center}.studio-shell .studio-voice-reference label{color:var(--text);white-space:nowrap;align-items:center;gap:4px;font-size:11px;display:flex}.studio-shell .studio-voice-reference select{border:1px solid var(--border);background:#fff;width:100%;min-width:0;padding:7px;font-size:12px}.studio-shell .studio-settings>label{color:var(--muted);font-size:12px;font-weight:600;display:block}.studio-shell .studio-settings>label select{border:1px solid var(--border);width:100%;color:var(--text);background:#fff;border-radius:6px;margin-top:5px;padding:7px 8px;font-size:13px}.studio-shell .studio-tts-parameters,.studio-shell .studio-voice-parameter-panel{border-top:1px solid var(--border);gap:8px;padding-top:10px;display:grid}.studio-shell .studio-parameter-title{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.studio-shell .studio-parameter-title strong{color:var(--text);font-size:14px}.studio-shell .studio-parameter-title span{color:var(--muted);font-size:11px}.studio-shell .studio-speed-mode{border:1px solid var(--border);background:var(--surface-alt);border-radius:6px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px;display:grid}.studio-shell .studio-speed-mode label{min-height:30px;color:var(--text);cursor:pointer;background:#fff;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:5px 7px;font-size:12px;display:flex}.studio-shell .studio-speed-mode label.active{color:var(--accent-dark);background:#fff7ed;border-color:#ff8a4c8c}.studio-shell .studio-speed-mode input{accent-color:var(--accent);margin:0}.studio-shell .studio-parameter-grid,.studio-shell .studio-voice-param-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.studio-shell .studio-parameter-field,.studio-shell .studio-voice-param-grid label{border:1px solid var(--border);min-width:0;color:var(--muted);background:var(--surface-alt);border-radius:6px;gap:4px;padding:7px;font-size:11px;display:grid}.studio-shell .studio-parameter-field input,.studio-shell .studio-voice-param-grid input{border:1px solid var(--border);width:100%;min-width:0;height:28px;color:var(--text);background:#fff;border-radius:5px;margin:0;padding:4px 6px;font-size:12px}.studio-shell .studio-parameter-field small{color:var(--muted);font-size:10px;line-height:1.3}.studio-shell .studio-parameter-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.studio-shell .studio-parameter-actions button{color:var(--accent-dark);background:#fff7ed;border:1px solid #f2b08a;border-radius:6px;padding:7px;font-size:12px}.studio-shell .studio-parameter-actions button:hover{color:#fff;background:var(--accent)}.studio-shell .studio-parameter-note{color:var(--muted);font-size:10px;line-height:1.4}.studio-shell .pipeline-card{margin-top:6px;margin-bottom:0;padding:12px}.studio-shell .pipeline-audio-actions{border-top:1px solid var(--border);margin-top:10px;padding-top:10px}.studio-shell .pipeline-audio-buttons{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.studio-shell .pipeline-audio-buttons .preview-btn{padding:8px 12px}.studio-shell .pipeline-audio-player,.studio-shell .audio-global-player{width:100%;margin-top:10px}.studio-shell .translate-progress{color:#7a4a25;background:#fff3e8;border:1px solid #ffd7ba;border-radius:8px;align-items:center;gap:8px;margin-top:10px;padding:8px 10px;font-size:11px;font-weight:700;display:flex}.studio-shell .progress-spinner{border:2px solid #ffd0ad;border-top-color:var(--accent);border-radius:50%;width:14px;height:14px;animation:.75s linear infinite studio-spin}@keyframes studio-spin{to{transform:rotate(360deg)}}.studio-shell .voice-sub-head{align-items:center;gap:14px;margin-bottom:8px;display:flex}.studio-shell .voice-sub-head .dub-title{color:var(--text);margin:0;font-size:18px}.studio-shell .voice-sub-head .dub-subtitle{color:var(--muted);font-size:12px}.studio-shell .dub-workbench .unified-main{grid-template-rows:auto auto auto minmax(0,1fr) auto}.studio-shell .dub-feature-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:8px;display:grid}.studio-shell .dub-feature-tab{border:1px solid var(--border);min-height:42px;color:var(--text);cursor:pointer;background:#fff;border-radius:8px;align-items:center;gap:8px;padding:7px 9px;text-decoration:none;display:flex}.studio-shell .dub-feature-tab.active{background:#fff7ed;border-color:#ff8a4c99;box-shadow:inset 0 0 0 1px #ff8a4c2e}.studio-shell .dub-feature-tab:hover{border-color:#ff8a4ca6;transform:translateY(-1px)}.studio-shell .dub-feature-tab-icon{color:#fff;border-radius:7px;flex:0 0 26px;place-items:center;width:26px;height:26px;font-size:13px;font-weight:900;display:grid}.studio-shell .dub-feature-tab strong{font-size:12px;line-height:1.2;display:block}.studio-shell .dub-feature-tab span:not(.dub-feature-tab-icon){color:var(--muted);margin-top:2px;font-size:10px;line-height:1.25;display:block}.studio-shell .audio-duo{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-bottom:8px;display:grid}.studio-shell .audio-card{border:1px solid var(--border);background:#fff;border-radius:8px;min-width:0;padding:10px;box-shadow:inset 0 0 0 2px #ffd9d2}.studio-shell .audio-card-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.studio-shell .audio-card-head h2{color:var(--text);margin:0;font-size:15px}.studio-shell .audio-body{align-items:stretch;min-height:44px;display:flex}.studio-shell .empty-audio{color:var(--muted);font-size:12px;line-height:1.5}.studio-shell .audio-body audio,.studio-shell .dub-audio-player{width:100%;height:32px}.studio-shell .audio-name{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:6px;font-size:12px;overflow:hidden}.studio-shell .audio-name:empty{display:none}.studio-shell .dub-reference-text-card{border:1px solid var(--border);background:#fff;border-radius:8px;margin-bottom:8px;padding:10px 12px;box-shadow:inset 0 0 0 2px #f0e5ff}.studio-shell .dub-reference-text-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:7px;display:flex}.studio-shell .dub-reference-text-head h2{margin:0;font-size:14px}.studio-shell .dub-reference-text-head span{color:var(--muted);font-size:11px}.studio-shell .dub-reference-text-card textarea{resize:vertical;border:1px solid var(--border);width:100%;min-height:58px;max-height:120px;color:var(--text);font:inherit;background:#fff;border-radius:6px;padding:8px 10px;font-size:12px;line-height:1.5}.studio-shell .dub-inline-text-editor{background:#fff4e8;border:1px solid #f2c8ad;border-radius:10px;flex-direction:column;flex:1;min-height:0;margin:0;padding:14px;display:flex}.studio-shell .dub-inline-text-editor textarea{min-height:180px;color:var(--text);font:inherit;background:#fff;border:1px solid #e5b99f;border-radius:4px;flex:1;padding:8px}.studio-shell .dub-workbench .subtitle-workbench-card{flex-direction:column;min-height:0;display:flex}.studio-shell .dub-workbench .subtitle-workbench-card .unified-subtitles{flex:1;min-height:0}.studio-shell .dub-workbench .timeline-item{height:112px;min-height:112px;max-height:112px}.studio-shell .dub-workbench .timeline-item .timeline-textarea{height:64px;min-height:64px;max-height:64px}.studio-shell .studio-voice-timeline-item{position:relative}.studio-shell .studio-voice-line-number{color:var(--muted);margin-left:auto;font-family:Consolas,monospace;font-size:10px}.studio-shell .studio-line-regenerate{color:var(--accent-dark);background:#fff7ed;border:1px solid #f2b08a;border-radius:5px;padding:4px 6px;font-size:10px;position:absolute;bottom:13px;right:13px}.studio-shell .studio-line-regenerate:hover{color:#fff;background:var(--accent)}.studio-shell .studio-audio-empty{min-height:96px;color:var(--muted);text-align:center;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;display:flex}.studio-shell .studio-audio-empty i{width:30px;height:30px;color:var(--accent);background:#fff1e6;border-radius:9px;place-items:center;font-size:18px;font-style:normal;display:grid}.studio-shell .studio-audio-empty strong{color:var(--text);margin-top:7px;font-size:12px}.studio-shell .studio-audio-empty span{margin-top:4px;font-size:10px}.studio-shell .studio-audio-list{gap:5px;max-height:99px;padding:7px 0 0;display:grid;overflow-y:auto}.studio-shell .studio-audio-item{background:#fffaf7;border:1px solid #ffd6c2;border-radius:7px;padding:5px 7px}.studio-shell .studio-audio-item-head{color:var(--muted);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;font-size:10px;display:grid}.studio-shell .studio-audio-item-head b{color:var(--text)}.studio-shell .studio-audio-item-head span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.studio-shell .studio-audio-item audio{width:100%;height:26px;margin-top:5px}.studio-shell .studio-mini{border:1px solid var(--border);min-height:26px;color:var(--text);cursor:pointer;background:#f7f4ef;border-radius:6px;padding:4px 8px;font-size:10px}.studio-shell .studio-mini.primary{color:#08734f;background:#e8fbf3;border-color:#a7f3d0}.studio-shell .studio-mini:hover{border-color:var(--accent)}.studio-shell .studio-reference-text{border:1px solid var(--border);background:#fff;border-radius:8px;grid-template-rows:39px minmax(0,1fr);min-height:132px;margin-bottom:8px;display:grid;overflow:hidden}.studio-shell .studio-reference-text header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:9px;padding:0 11px;display:flex}.studio-shell .studio-reference-text textarea{resize:none;min-height:0;color:var(--text);background:#fffaf5;border:0;outline:none;padding:10px 11px;font-size:12px;line-height:1.55}.studio-shell .studio-voice-subtitle-card{border:1px solid var(--border);background:#fff;border-radius:8px;grid-template-rows:minmax(0,1fr) 33px;min-height:0;display:grid;overflow:hidden}.studio-shell .studio-voice-subtitle-grid{grid-template-columns:repeat(2,minmax(0,1fr));min-height:0;display:grid}.studio-shell .studio-voice-track{grid-template-rows:43px minmax(0,1fr);min-width:0;min-height:0;padding:12px;display:grid;overflow:hidden}.studio-shell .studio-voice-track+.studio-voice-track{border-left:1px solid var(--border)}.studio-shell .studio-edit-footer{border-top:1px solid var(--border);color:var(--muted);align-items:center;gap:8px;padding:0 11px;font-size:11px;display:flex}.studio-shell .studio-edit-footer span{margin-right:auto}.studio-shell .studio-edit-footer button{border:1px solid var(--border);color:var(--text);background:#f7f4ef;border-radius:6px;padding:5px 8px;font-size:10px}.studio-shell .studio-voice-library{border:1px solid var(--border);background:#fff;border-radius:8px;grid-template-rows:43px minmax(0,1fr);min-height:114px;margin-bottom:8px;display:grid;overflow:hidden}.studio-shell .studio-voice-library>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:9px;padding:0 11px;display:flex}.studio-shell .studio-voice-library>header strong{font-size:12px}.studio-shell .studio-voice-library>header span{color:var(--muted);margin-top:3px;font-size:10px;display:block}.studio-shell .studio-voice-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:7px 10px 9px;display:grid;overflow-x:auto}.studio-shell .studio-voice-card{border:1px solid var(--border);cursor:pointer;background:#fffaf5;border-radius:8px;align-content:center;gap:3px;min-width:0;padding:7px 23px 7px 8px;display:grid;position:relative}.studio-shell .studio-voice-card:hover,.studio-shell .studio-voice-card.active{border-color:var(--accent);background:#fff4ea}.studio-shell .studio-voice-card strong,.studio-shell .studio-voice-card span,.studio-shell .studio-voice-card small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.studio-shell .studio-voice-card strong{font-size:11px}.studio-shell .studio-voice-card span{color:var(--muted);font-size:10px}.studio-shell .studio-voice-card small{color:var(--muted);font-size:9px}.studio-shell .studio-voice-card button{color:#b42318;cursor:pointer;background:0 0;border:0;font-size:14px;position:absolute;top:5px;right:5px}.studio-shell .studio-voice-library-empty{color:var(--muted);text-align:center;grid-column:1/-1;place-items:center;font-size:10px;display:grid}.studio-shell .studio-text-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-height:210px;display:grid}.studio-shell .studio-text-panel{border:1px solid var(--border);background:#fff;border-radius:8px;grid-template-rows:42px minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.studio-shell .studio-text-panel header{border-bottom:1px solid var(--border);align-items:center;padding:0 11px;font-size:12px;display:flex}.studio-shell .studio-text-panel textarea{resize:none;min-height:0;color:var(--text);background:#fffaf5;border:0;outline:none;padding:13px;font-size:12px;line-height:1.7}.studio-shell .studio-hidden-audio{display:none}.studio-shell .studio-voice-note{border:1px solid var(--border);background:#fff;border-radius:8px;margin-top:6px;padding:12px}.studio-shell .studio-voice-note strong,.studio-shell .studio-voice-note span{display:block}.studio-shell .studio-voice-note strong{font-size:12px}.studio-shell .studio-voice-note span{color:var(--muted);margin-top:5px;font-size:10px;line-height:1.5}.studio-shell .studio-side-card{border:1px solid var(--border);background:#fff;border-radius:8px}.studio-shell .studio-task-card{margin-bottom:6px;padding:10px 12px}.studio-shell .studio-card-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.studio-shell .studio-card-head strong,.studio-shell .studio-card-head span{display:block}.studio-shell .studio-card-head strong{font-size:12px}.studio-shell .studio-card-head span{color:var(--muted);margin-top:3px;font-size:10px}.studio-shell .studio-job-status{color:var(--muted);white-space:nowrap;background:#f7f4ef;border-radius:6px;padding:4px 6px;font-size:10px}.studio-shell .studio-task-elapsed{color:var(--muted);margin-top:4px;font-family:Consolas,monospace;font-size:10px}.studio-shell .studio-progress{background:#f3eadf;border-radius:9px;height:5px;margin:10px 0;overflow:hidden}.studio-shell .studio-progress i{border-radius:inherit;background:linear-gradient(90deg, var(--accent), var(--success));height:100%;transition:width .35s;display:block}.studio-shell .studio-task-progress-text{min-height:18px;color:var(--muted);font-size:10px;line-height:1.4}.studio-shell .studio-side-title{justify-content:space-between;align-items:flex-start;gap:8px;min-height:48px;padding:0 3px;display:flex}.studio-shell .studio-side-title span{color:var(--muted);letter-spacing:.08em;font-family:Consolas,monospace;font-size:11px;display:block}.studio-shell .studio-side-title h1{color:var(--text);margin:4px 0 0;font-size:17px}.studio-shell .studio-capability{color:#08734f;white-space:nowrap;background:#e8fbf3;border:1px solid #a7f3d0;border-radius:6px;padding:5px 7px;font-size:11px;font-style:normal}.studio-shell .studio-capability.pending{color:#9a5b20;background:#fff7ed;border-color:#f2d3ae}.studio-shell .studio-settings-card{margin-top:0;padding:12px}.studio-shell .studio-collapse-head{width:100%;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;padding:0;display:flex}.studio-shell .studio-collapse-head strong{font-size:14px}.studio-shell .studio-collapse-head span{color:var(--accent-dark);font-size:11px}.studio-shell .studio-settings{gap:9px;margin-top:10px;display:grid}.studio-shell .studio-run-card{margin-top:8px;padding:12px}.studio-shell .studio-run-card>div:first-child{justify-content:space-between;align-items:center;gap:6px;margin-bottom:9px;display:flex}.studio-shell .studio-run-card strong{font-size:13px}.studio-shell .studio-run-card span{color:var(--muted);font-size:11px}.studio-shell .studio-run-card>div:last-child{grid-template-columns:1fr 64px;gap:6px;display:grid}.studio-shell .studio-run-button,.studio-shell .studio-stop-button{border-radius:7px;padding:9px 10px;font-size:12px;font-weight:700}.studio-shell .studio-run-button{color:#fff;background:var(--accent);border:0}.studio-shell .studio-run-button:hover{background:var(--accent-dark)}.studio-shell .studio-stop-button{color:#b42318;background:#fff1f1;border:1px solid #fecaca}.studio-shell .voice-design-page{grid-template-columns:minmax(0,1fr) 300px;gap:12px;height:calc(100vh - 22px);min-height:0;display:grid;overflow:hidden}.studio-shell .voice-design-main{grid-template-rows:auto auto minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.studio-shell .voice-design-page .dub-feature-tabs{margin-bottom:10px}.studio-shell .voice-design-audio-duo{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-bottom:8px;display:grid}.studio-shell .voice-design-text-duo{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;min-height:0;display:grid}.studio-shell .vd-section{border:1px solid var(--border);background:#fff;border-radius:8px;margin-bottom:10px;padding:14px;box-shadow:0 10px 24px #5d4a310d}.studio-shell .vd-section-title{color:var(--text);margin-bottom:10px;font-size:14px;font-weight:800}.studio-shell .vd-voice-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;display:grid}.studio-shell .vd-voice-card{cursor:pointer;background:#fffaf3;border:1px solid #f0dfce;border-radius:8px;min-height:78px;padding:12px;position:relative}.studio-shell .vd-voice-card:hover,.studio-shell .vd-voice-card.selected{border-color:var(--accent);background:#fff4ea}.studio-shell .vd-voice-delete{color:#b42318;opacity:0;cursor:pointer;background:#fff1f0;border:1px solid #ffd0cc;border-radius:6px;width:20px;height:20px;position:absolute;top:6px;right:6px}.studio-shell .vd-voice-card:hover .vd-voice-delete{opacity:1}.studio-shell .vd-voice-name{color:var(--text);text-overflow:ellipsis;white-space:nowrap;margin-bottom:4px;font-size:13px;font-weight:800;overflow:hidden}.studio-shell .vd-voice-desc{max-height:2.8em;color:var(--muted);font-size:11px;line-height:1.4;overflow:hidden}.studio-shell .vd-voice-card.import{background:#fbf7ef;border-style:dashed;flex-direction:column;justify-content:center;align-items:center;min-height:86px;display:flex}.studio-shell .vd-import-icon{color:var(--info);margin-bottom:6px;font-size:22px}.studio-shell .vd-import-text{color:var(--muted);font-size:12px}.studio-shell .vd-text-panel{flex-direction:column;min-height:0;display:flex;overflow:hidden}.studio-shell .vd-textarea,.studio-shell .vd-input{width:100%;color:var(--text);background:#fff;border:1px solid #eadfce;border-radius:8px;padding:8px 10px;font-size:13px}.studio-shell .vd-textarea{resize:none;flex:1;min-height:110px}.studio-shell .vd-label{color:var(--muted);margin-bottom:6px;font-size:12px;font-weight:700;display:block}.studio-shell .vd-field{margin-bottom:12px}.studio-shell .vd-result-audio,.studio-shell .vd-progress{background:#fbf7ef;border:1px solid #eadfce;border-radius:8px;padding:12px}.studio-shell .vd-audio-player{width:100%;margin-bottom:8px}.studio-shell .vd-side-title{color:var(--text);margin:0 0 8px;font-size:18px;font-weight:900}.studio-shell .vd-side-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;display:grid}.studio-shell .vd-side-actions .preview-btn{width:100%}.studio-shell .vd-hidden-selects{display:none}.studio-shell .page-root:has(.lipsync-page){height:100vh;overflow:auto}.studio-shell .lipsync-page{min-height:calc(100vh - 22px)}.studio-shell .lipsync-workbench{grid-template-columns:minmax(260px,1fr) minmax(260px,1fr) 300px;grid-template-areas:"source output action""sourceInput audio action";align-items:start;gap:12px;display:grid}.studio-shell .lipsync-source-card{grid-area:source}.studio-shell .lipsync-output-card{grid-area:output}.studio-shell .lipsync-source-input{grid-area:sourceInput}.studio-shell .lipsync-audio-card{grid-area:audio}.studio-shell .lipsync-video-card{border:1px solid var(--border);background:#fff;border-radius:10px;min-width:0;padding:10px;box-shadow:0 8px 22px #573e280d}.studio-shell .lipsync-video-head{justify-content:space-between;align-items:center;gap:12px;min-height:32px;margin-bottom:9px;display:flex}.studio-shell .lipsync-video-head h2{color:var(--text);margin:0;font-size:14px}.studio-shell .lipsync-source-meta{align-items:center;gap:6px;min-width:0;max-width:70%;display:inline-flex}.studio-shell .lipsync-video{aspect-ratio:16/9;background:#f4f0e8;border:1px solid #ddd6cc;border-radius:8px;justify-content:center;align-items:center;width:100%;height:auto;display:flex;overflow:hidden}.studio-shell .lipsync-video-fit{background:#111;justify-content:center;align-items:center;width:100%;height:100%;display:flex;overflow:hidden}.studio-shell .lipsync-video video{background:#111;flex:none;max-width:100%;max-height:100%;display:block}.studio-shell .lipsync-video video.fit-wide{width:100%;height:auto}.studio-shell .lipsync-video video.fit-tall{width:auto;height:100%}.studio-shell .lipsync-video video.fit-contain{width:auto;max-width:100%;height:auto;max-height:100%}.studio-shell .lipsync-video.empty{cursor:pointer;place-items:center;display:grid}.studio-shell .lipsync-video.output.empty{cursor:default}.studio-shell .lipsync-video-empty{color:#3f3a34;text-align:center;justify-items:center;gap:7px;padding:30px;display:grid}.studio-shell .lipsync-video-empty strong{font-size:17px}.studio-shell .lipsync-video-empty span{color:#9a9187;font-size:12px;line-height:1.55}.studio-shell .lipsync-play{width:48px;height:48px;color:var(--accent);background:#fff;border-radius:50%;place-items:center;margin-bottom:4px;padding-left:3px;font-size:18px;display:grid;box-shadow:0 3px 12px #573e281f}.studio-shell .lipsync-input-card{border:1px solid var(--border);background:#fff;border-radius:10px;padding:14px 16px}.studio-shell .lipsync-input-card label{color:var(--text);margin-bottom:7px;font-size:13px;font-weight:800;display:block}.studio-shell .lipsync-audio-head{align-items:center;gap:8px;margin-bottom:7px;display:flex}.studio-shell .lipsync-audio-head>label{flex:none;margin:0}.studio-shell .lipsync-file-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.studio-shell .lipsync-file-row input{border:1px solid var(--border);color:#5f5a52;background:var(--surface-alt);border-radius:6px;min-width:0;padding:9px 10px;font-size:12px}.studio-shell .lipsync-file-row>label{border:1px solid var(--border);color:var(--text);cursor:pointer;background:#f7f4ef;border-radius:6px;place-items:center;margin:0;padding:0 12px;font-size:12px;font-weight:700;display:grid}.studio-shell .lipsync-file-row>label input{display:none}.studio-shell .lipsync-audio-mode{align-items:center;gap:6px;margin:0;display:inline-flex}.studio-shell .lipsync-audio-mode label{color:#5f5a52;cursor:pointer;background:#fff;border:1px solid #eadfd2;border-radius:999px;justify-content:center;align-items:center;gap:4px;min-height:22px;margin:0;padding:2px 8px;font-size:11px;font-weight:800;display:inline-flex}.studio-shell .lipsync-audio-mode input{width:11px;height:11px;accent-color:var(--accent);margin:0}.studio-shell .lipsync-audio-mode label:has(input:checked){border-color:var(--accent);color:#9a4a1f;background:#fff3e8}.studio-shell .lipsync-audio-preview{color:#8d8378;background:#f8f4ee;border:1px solid #eadfd2;border-radius:8px;align-items:center;min-height:36px;margin-top:10px;padding:8px;font-size:12px;display:flex}.studio-shell .lipsync-audio-preview audio{width:100%;height:34px;display:block}.studio-shell .lipsync-audio-preview.empty{border-style:dashed;justify-content:center}.studio-shell .lipsync-action-card{background:0 0;grid-area:action;align-content:start;gap:8px;min-width:0;display:grid}.studio-shell .lipsync-side-title{min-height:48px;padding:0 3px}.studio-shell .lipsync-parameter-card{border:1px solid var(--border);background:#fff;border-radius:10px;gap:9px;padding:14px;display:grid;box-shadow:0 8px 22px #573e280d}.studio-shell .lipsync-params-head{color:#3f3a34;gap:3px;margin-bottom:2px;font-size:12px;display:grid}.studio-shell .lipsync-params-head strong{font-size:13px}.studio-shell .lipsync-params-head span{color:#9a9187;font-size:11px;line-height:1.35}.studio-shell .lipsync-option{cursor:pointer;background:#fff;border:1px solid #eadfd2;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px;padding:8px;display:grid}.studio-shell .lipsync-option input{width:14px;height:14px;accent-color:var(--accent);margin-top:2px}.studio-shell .lipsync-option strong{color:#3f3a34;font-size:12px;line-height:1.25;display:block}.studio-shell .lipsync-option span{color:#9a9187;margin-top:2px;font-size:11px;line-height:1.35;display:block}.studio-shell .lipsync-action-card .btn{width:100%;padding:12px 16px}.studio-shell .lipsync-status{color:#6f655b;min-height:17px;font-size:11px;line-height:1.45}.studio-shell .lipsync-progress{background:#eadfd2;border-radius:99px;height:6px;overflow:hidden}.studio-shell .lipsync-progress span{border-radius:inherit;background:linear-gradient(90deg, var(--accent), var(--success));width:0;height:100%;transition:width .3s;display:block}@media (width<=1180px){.studio-shell .studio-settings-three-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-shell .unified-workbench{grid-template-columns:minmax(0,1fr) 300px}}@media (width<=1050px){.studio-shell .lipsync-workbench{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"source output""sourceInput audio""action action"}}@media (width<=900px){.studio-shell.app-shell{grid-template-columns:1fr}.studio-shell .sidebar{flex-direction:row;align-items:center;height:auto;min-height:0;padding:8px;position:static;overflow:visible}.studio-shell .brand{border-bottom:0;padding:0 10px 0 0}.studio-shell .nav-label,.studio-shell .sidebar-spacer,.studio-shell .sidebar-account,.studio-shell .sidebar-status,.studio-shell .sidebar-link{display:none}.studio-shell .nav-list{flex:1;grid-template-columns:repeat(3,minmax(0,1fr))}.studio-shell .nav-item{justify-content:center}.studio-shell .mobile-signout{border:1px solid var(--border);min-width:48px;min-height:40px;color:var(--text);background:var(--surface);border-radius:9px;place-items:center;font-weight:800;display:inline-grid}.studio-shell .workspace{min-height:calc(100vh - 52px)}.studio-shell .unified-workbench{grid-template-columns:1fr;height:auto;overflow:visible}.studio-shell .unified-main{overflow:visible}.studio-shell .pipeline-side{min-height:560px;overflow:visible}:is(.studio-shell .page-root:has(.unified-workbench),.studio-shell .page-root:has(.voice-design-page)){height:auto;overflow:visible}.studio-shell .voice-design-page{grid-template-columns:1fr;height:auto;overflow:visible}}@media (width<=700px){.studio-shell .topbar{flex-direction:column;align-items:flex-start;height:auto;min-height:38px}.studio-shell .studio-topbar-actions{flex-wrap:wrap;width:100%}.studio-shell .studio-topbar-actions .project-select{flex:1;max-width:none}.studio-shell .studio-project-form{grid-template-columns:1fr;width:auto;position:fixed;top:90px;left:10px;right:10px}.studio-shell .video-duo,.studio-shell .unified-subtitles,.studio-shell .audio-duo,.studio-shell .dub-feature-tabs,.studio-shell .studio-voice-subtitle-grid,.studio-shell .studio-text-grid,.studio-shell .voice-design-audio-duo,.studio-shell .voice-design-text-duo,.studio-shell .lipsync-workbench{grid-template-columns:1fr}.studio-shell .studio-voice-track+.studio-voice-track{border-top:1px solid var(--border);border-left:0}.studio-shell .studio-voice-subtitle-card{min-height:900px}.studio-shell .studio-voice-cards{grid-template-columns:repeat(2,minmax(140px,1fr))}.studio-shell .lipsync-workbench{grid-template-areas:"source""sourceInput""output""audio""action"}.studio-shell .lipsync-titlebar{display:grid}}.studio-shell .legacy-setting-field{border:1px solid var(--border);background:var(--surface-alt);border-radius:6px;min-width:0;padding:8px}.studio-shell .legacy-setting-field label{color:var(--muted);margin-bottom:4px;font-size:12px;font-weight:600;display:block}.studio-shell .legacy-setting-field select,.studio-shell .studio-settings-three-columns>label select{border:1px solid var(--border);width:100%;color:var(--text);background:#fff;border-radius:6px;margin-top:4px;padding:7px 8px;font-size:13px}.studio-shell .legacy-language-modal{z-index:10000;pointer-events:none;position:fixed;inset:0}.studio-shell .legacy-language-overlay{pointer-events:auto;background:#0000006b;border:0;width:100%;height:100%;position:absolute;inset:0}.studio-shell .legacy-language-dialog{pointer-events:auto;background:#fff;border-radius:12px;grid-template-rows:auto 1fr;width:min(720px,100vw - 42px);max-height:min(680px,100vh - 48px);display:grid;position:fixed;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 18px 45px #00000038}.studio-shell .legacy-language-dialog-head{border-bottom:1px solid var(--border);background:#fffaf5;justify-content:space-between;align-items:center;gap:14px;padding:16px 18px;display:flex}.studio-shell .legacy-language-dialog-head strong{color:var(--text);font-size:16px;font-weight:800;display:block}.studio-shell .legacy-language-dialog-head span{color:var(--muted);margin-top:3px;font-size:12px;display:block}.studio-shell .legacy-language-dialog-head button{width:30px;height:30px;color:var(--text);cursor:pointer;background:#fff;border:0;border-radius:50%;font-size:20px;line-height:1}.studio-shell .legacy-language-dialog-body{min-height:0;padding:16px 18px 18px;overflow:auto}.studio-shell .legacy-language-section{margin-bottom:16px}.studio-shell .legacy-language-section:last-child{margin-bottom:0}.studio-shell .legacy-language-section h3{color:var(--text);margin:0 0 10px;font-size:14px;font-weight:800}.studio-shell .legacy-language-items{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.studio-shell .legacy-language-items button{border:1px solid var(--border);min-height:38px;color:var(--text);text-align:left;cursor:pointer;background:#fff;border-radius:8px;padding:8px 10px;font-size:13px;font-weight:700}.studio-shell .legacy-language-items button:hover,.studio-shell .legacy-language-items button.selected{border-color:var(--accent);color:var(--accent-dark);background:#fff7ed}.studio-shell .legacy-tts-parameters .speed-grid{grid-template-columns:1fr;gap:8px;display:grid}.studio-shell .legacy-tts-parameters .legacy-rate-option{border:1px solid var(--border);background:var(--surface-alt);border-radius:6px;min-width:0;padding:7px}.studio-shell .legacy-tts-parameters .legacy-rate-option>label{color:var(--muted);margin-bottom:4px;font-size:11px;display:block}.studio-shell .legacy-tts-parameters .rate-stepper{grid-template-columns:28px minmax(0,1fr) 28px;align-items:center;gap:3px;display:grid}.studio-shell .legacy-tts-parameters .rate-stepper.with-edge-labels{grid-template-columns:52px 24px minmax(0,1fr) 24px 52px}.studio-shell .legacy-tts-parameters .rate-edge-label{color:var(--muted);text-align:center;white-space:nowrap;font-size:11px;font-weight:800;line-height:1.1}.studio-shell .legacy-tts-parameters .rate-stepper-btn{height:28px;color:var(--accent-dark);cursor:pointer;background:#fff7ed;border:1px solid #f2b08a;border-radius:5px;place-items:center;font-size:14px;font-weight:800;line-height:1;display:inline-grid}.studio-shell .legacy-tts-parameters .rate-stepper-btn:hover{border-color:var(--accent);color:#fff;background:var(--accent)}.studio-shell .legacy-tts-parameters .rate-number-input{width:100%;min-width:0;height:28px;color:var(--text);text-align:center;background:#fff;border:1px solid #f2b08a;border-radius:5px;margin:0;padding:3px 5px;font-size:13px;font-weight:700;line-height:1}.studio-shell .legacy-tts-parameters .legacy-rate-option small{color:var(--muted);margin-top:4px;font-size:10px;line-height:1.3;display:block}.studio-shell .legacy-tts-parameters .rate-stepper-btn:disabled,.studio-shell .legacy-tts-parameters .rate-number-input:disabled{cursor:not-allowed;opacity:.68}.studio-shell .legacy-tts-parameters .studio-parameter-actions{margin-top:0}.studio-shell .sidebar-plan-badge,.studio-shell .sidebar-credit-card,.studio-shell .sidebar-user-row{cursor:pointer;text-align:left;width:100%}.studio-shell .sidebar-user-menu-wrap{position:relative}.studio-shell .sidebar-user-row{border:0}.studio-shell .sidebar-user-row>span:last-child{color:#a18e7c;font-size:10px}.studio-shell .sidebar-user-menu{z-index:80;border:1px solid var(--border);background:#fff;border-radius:10px;width:160px;padding:5px;display:grid;position:absolute;bottom:calc(100% + 6px);right:0;overflow:hidden;box-shadow:0 18px 38px #573e2829}.studio-shell .sidebar-user-menu button{color:var(--text);text-align:left;background:0 0;border:0;border-radius:6px;padding:8px 9px;font-size:12px}.studio-shell .sidebar-user-menu button:hover,.studio-shell .sidebar-user-menu button:focus-visible{color:var(--accent-dark);background:#fff2e7;outline:none}.studio-shell .commercial-page{width:min(1160px,100%);margin:0 auto;padding:30px 28px 60px}.studio-shell .commercial-page-head{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px;display:flex}.studio-shell .commercial-page-head h1{letter-spacing:-.02em;margin:5px 0 0;font-size:28px}.studio-shell .commercial-eyebrow{color:var(--accent-dark);letter-spacing:.14em;font-size:10px;font-weight:900}.studio-shell .commercial-primary,.studio-shell .commercial-secondary{border-radius:9px;min-height:40px;padding:9px 16px;font-weight:800}.studio-shell .commercial-primary{border:1px solid var(--accent);color:#fff;background:linear-gradient(135deg, #ff9a61, var(--accent-dark));box-shadow:0 8px 16px #f9732f29}.studio-shell .commercial-secondary{border:1px solid var(--border);color:#6f5140;background:#fff}.studio-shell .commercial-primary:disabled{cursor:not-allowed;opacity:.58}.studio-shell .credit-summary{background:linear-gradient(135deg,#fff,#fff7ed);border:1px solid #ead9c8;border-radius:14px;grid-template-columns:1fr auto;align-items:center;padding:20px 22px;display:grid;box-shadow:0 14px 30px #573e280f}.studio-shell .credit-summary>span{color:var(--muted);font-size:12px;font-weight:700}.studio-shell .credit-summary>strong{color:#37291f;grid-row:span 2;font-size:34px}.studio-shell .credit-summary>strong small{color:var(--muted);margin-left:7px;font-size:13px}.studio-shell .credit-summary>em{color:#88786a;margin-top:5px;font-size:11px;font-style:normal}.studio-shell .credit-pool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px;display:grid}.studio-shell .credit-pool-card{border:1px solid;border-radius:14px;padding:19px 20px}.studio-shell .credit-pool-card.paid{color:#0f766e;background:linear-gradient(135deg,#f0fdfa,#fff);border-color:#bfe5df}.studio-shell .credit-pool-card.bonus{color:#c2410c;background:linear-gradient(135deg,#fff7ed,#fff);border-color:#fed7aa}.studio-shell .credit-pool-card>span{font-size:12px;font-weight:800}.studio-shell .credit-pool-card>strong{color:currentColor;margin:10px 0 15px;font-size:28px;display:block}.studio-shell .credit-pool-card dl{gap:28px;margin:0;display:flex}.studio-shell .credit-pool-card dl div{gap:2px;display:grid}.studio-shell .credit-pool-card dt{opacity:.7;font-size:10px}.studio-shell .credit-pool-card dd{margin:0;font-size:13px;font-weight:800}.studio-shell .bonus-expiration{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;margin-top:12px;padding:10px 14px;font-size:12px}.studio-shell .commercial-section{border:1px solid var(--border);background:#fff;border-radius:14px;margin-top:22px;padding:20px}.studio-shell .commercial-section-head h2{margin:0;font-size:17px}.studio-shell .commercial-section-head p{color:var(--muted);margin:5px 0 16px;font-size:11px}.studio-shell .package-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px;padding-top:8px;display:grid}.studio-shell .package-card{border:1px solid var(--border);background:#fff;border-radius:15px;min-width:0;padding:20px;position:relative;box-shadow:0 12px 28px #573e280d}.studio-shell .package-card.recommended{border-color:#f4b68f;transform:translateY(-8px);box-shadow:0 20px 25px -5px #ea580c1a}.studio-shell .package-badge{color:#fff;background:var(--accent-dark);border-radius:99px;padding:4px 10px;font-size:10px;font-weight:900;position:absolute;top:-11px;left:18px}.studio-shell .package-card-head{justify-content:space-between;gap:12px;display:flex}.studio-shell .package-card h2{margin:0;font-size:18px}.studio-shell .package-card p{min-height:34px;color:var(--muted);margin:6px 0 0;font-size:11px;line-height:1.5}.studio-shell .package-card-head>strong{color:var(--accent-dark);white-space:nowrap;font-size:24px}.studio-shell .package-card-head>strong small{color:var(--muted);text-align:right;font-size:10px;display:block}.studio-shell .package-price{margin:19px 0 14px;font-size:25px;font-weight:900}.studio-shell .package-card ul{color:#6b5d51;min-height:72px;margin:0 0 18px;padding-left:18px;font-size:11px;line-height:1.8}.studio-shell .package-card>.commercial-primary{width:100%}.studio-shell .mock-payment-panel{border-top:1px solid var(--border);grid-template-columns:92px minmax(0,1fr);gap:12px;margin-top:15px;padding-top:15px;display:grid}.studio-shell .mock-payment-placeholder{color:#b45309;text-align:center;background:repeating-linear-gradient(45deg,#fff7ed,#fff7ed 7px,#ffedd5 7px 14px);border:2px dashed #f2b08a;border-radius:10px;place-content:center;width:92px;height:92px;display:grid}.studio-shell .mock-payment-placeholder strong{font-size:12px}.studio-shell .mock-payment-placeholder span{margin-top:3px;font-size:10px}.studio-shell .payment-summary,.studio-shell .payment-success{align-content:center;gap:7px;min-width:0;display:grid}.studio-shell .payment-summary>span{color:var(--muted);overflow-wrap:anywhere;font-size:10px;line-height:1.45}.studio-shell .payment-summary>strong{font-size:17px}.studio-shell .payment-success{color:#047857;justify-items:start}.studio-shell .payment-success>span{color:#fff;background:var(--success);border-radius:50%;place-items:center;width:28px;height:28px;font-size:18px;display:grid}.studio-shell .payment-success small{color:var(--muted);overflow-wrap:anywhere}.studio-shell .ledger-table-wrap{overflow:auto}.studio-shell .ledger-table{border-collapse:collapse;width:100%;font-size:11px}.studio-shell .ledger-table th{color:var(--muted);text-align:left;white-space:nowrap;padding:9px 10px}.studio-shell .ledger-table td{white-space:nowrap;border-top:1px solid #eee5dc;padding:11px 10px}.studio-shell .ledger-pill,.studio-shell .order-status{color:#2563eb;background:#eff6ff;border-radius:99px;padding:4px 8px;font-weight:800;display:inline-block}.studio-shell .ledger-pill.reserve{color:#a16207;background:#fef9c3}.studio-shell .ledger-pill.release{color:#0f766e;background:#ccfbf1}.studio-shell .ledger-pill.expire{color:#6b7280;background:#f3f4f6}.studio-shell .ledger-pill.refund{color:#b91c1c;background:#fee2e2}.studio-shell .ledger-pill.top_up,.studio-shell .ledger-pill.signup_bonus,.studio-shell .ledger-pill.promotion{color:#047857;background:#d1fae5}.studio-shell .credit-positive{color:#047857;font-weight:800}.studio-shell .credit-negative{color:#b91c1c;font-weight:800}.studio-shell .order-list{display:grid}.studio-shell .order-row{border-bottom:1px solid #eee5dc;grid-template-columns:minmax(160px,1.5fr) minmax(110px,1fr) 90px 150px;align-items:center;gap:14px;padding:14px 5px;display:grid}.studio-shell .order-row>div{gap:4px;display:grid}.studio-shell .order-row span,.studio-shell .order-row time{color:var(--muted);font-size:10px}.studio-shell .order-status.paid{color:#047857;background:#d1fae5}.studio-shell .order-status.pending{color:#a16207;background:#fef9c3}.studio-shell .commercial-empty,.studio-shell .commercial-error{border:1px dashed var(--border);color:var(--muted);text-align:center;background:#fffaf5;border-radius:12px;justify-items:center;gap:7px;padding:35px 20px;display:grid}.studio-shell .commercial-empty strong,.studio-shell .commercial-error strong{color:var(--text)}.studio-shell .commercial-error button{border:1px solid var(--border);background:#fff;border-radius:7px;margin-top:7px;padding:7px 12px}.studio-shell .commercial-skeleton{background:linear-gradient(100deg,#f3eee6 30%,#fff 50%,#f3eee6 70%) 0 0/300% 100%;border-radius:14px;height:360px;animation:1.4s linear infinite commercial-shimmer}@keyframes commercial-shimmer{to{background-position:-150% 0}}.studio-shell .account-layout{grid-template-columns:minmax(0,1.4fr) minmax(260px,.8fr);gap:16px;display:grid}.studio-shell .profile-card,.studio-shell .account-security-card{border:1px solid var(--border);background:#fff;border-radius:14px;padding:22px}.studio-shell .profile-card{gap:15px;display:grid}.studio-shell .profile-avatar-preview{color:#fff;background:linear-gradient(135deg,#f4d2a2,#c89b60);border-radius:50%;place-items:center;width:72px;height:72px;font-size:25px;font-weight:900;display:grid;overflow:hidden}.studio-shell .profile-avatar-preview img{object-fit:cover;width:100%;height:100%}.studio-shell .profile-card label{color:var(--muted);gap:6px;font-size:11px;font-weight:700;display:grid}.studio-shell .profile-card input{border:1px solid var(--border);color:var(--text);background:#fff;border-radius:8px;padding:10px 11px}.studio-shell .profile-saved{color:#047857;font-weight:800}.studio-shell .account-security-card h2{margin:0 0 16px;font-size:16px}.studio-shell .account-security-card dl{gap:12px;margin:0;display:grid}.studio-shell .account-security-card dl div{border-bottom:1px solid #eee5dc;gap:4px;padding-bottom:10px;display:grid}.studio-shell .account-security-card dt{color:var(--muted);font-size:10px}.studio-shell .account-security-card dd{overflow-wrap:anywhere;margin:0;font-weight:700}.studio-shell .account-security-card dd.verified{color:#047857}.studio-shell .account-security-card dd.unverified{color:#b45309}.studio-shell .account-security-card p{color:var(--muted);margin:18px 0 0;font-size:10px;line-height:1.6}.studio-shell .quote-backdrop{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#31251c8a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.studio-shell .quote-dialog{background:#fffaf5;border:1px solid #efd5c1;border-radius:17px;width:min(900px,100%);max-height:calc(100vh - 48px);overflow:auto;box-shadow:0 30px 80px #27191147}.studio-shell .quote-dialog-head{border-bottom:1px solid #eddfd2;justify-content:space-between;align-items:center;gap:20px;padding:18px 22px;display:flex}.studio-shell .quote-dialog-head span{color:var(--accent-dark);font-size:10px;font-weight:900}.studio-shell .quote-dialog-head h1{margin:3px 0 0;font-size:21px}.studio-shell .quote-timer{width:48px;height:48px;color:var(--accent-dark);place-items:center;display:grid;position:relative}.studio-shell .quote-timer svg{width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.studio-shell .quote-timer circle{fill:none;stroke:#f3dfd0;stroke-width:4px}.studio-shell .quote-timer .quote-timer-progress{stroke:currentColor;stroke-linecap:round;transition:stroke-dashoffset .4s linear}.studio-shell .quote-timer strong{font-size:10px}.studio-shell .quote-timer.urgent{color:#dc2626;animation:1.2s ease-in-out infinite quote-pulse}@keyframes quote-pulse{50%{transform:scale(1.06)}}.studio-shell .quote-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:20px 22px;display:grid}.studio-shell .quote-asset-card,.studio-shell .quote-billing-card{border:1px solid var(--border);background:#fff;border-radius:13px;padding:16px}.studio-shell .quote-thumbnail{color:#fff;text-align:center;background:linear-gradient(135deg,#0f766e,#2dd4bf);border-radius:10px;place-content:center;height:130px;display:grid}.studio-shell .quote-thumbnail span{font-size:28px;font-weight:900}.studio-shell .quote-thumbnail small{opacity:.8}.studio-shell .quote-asset-card h2{text-overflow:ellipsis;white-space:nowrap;margin:13px 0;font-size:15px;overflow:hidden}.studio-shell .quote-asset-card dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;display:grid}.studio-shell .quote-asset-card dl div{background:#f8f4ee;border-radius:8px;min-width:0;padding:8px}.studio-shell .quote-asset-card dt{color:var(--muted);font-size:9px}.studio-shell .quote-asset-card dd{text-overflow:ellipsis;white-space:nowrap;margin:3px 0 0;font-size:11px;font-weight:800;overflow:hidden}.studio-shell .quote-billing-head{justify-content:space-between;gap:8px;display:flex}.studio-shell .quote-billing-head span,.studio-shell .quote-billing-head strong{display:block}.studio-shell .quote-billing-head span,.studio-shell .quote-billing-head small{color:var(--muted);font-size:9px}.studio-shell .quote-billing-head strong{margin-top:4px;font-size:14px}.studio-shell .quote-billing-card ul{min-height:100px;margin:15px 0;padding:0;list-style:none}.studio-shell .quote-billing-card li{border-bottom:1px solid #eee5dc;justify-content:space-between;gap:10px;padding:9px 0;font-size:11px;display:flex}.studio-shell .quote-balance{color:#7a6252;background:#fff7ed;border-radius:8px;justify-content:space-between;gap:8px;padding:9px;font-size:10px;display:flex}.studio-shell .quote-total{justify-content:space-between;align-items:baseline;margin-top:13px;display:flex}.studio-shell .quote-total>strong{color:var(--accent-dark);font-size:25px}.studio-shell .quote-total small{margin-left:4px;font-size:10px}.studio-shell .quote-warning{color:#b91c1c;background:#fff1f2;border-radius:7px;padding:8px;font-size:10px}.studio-shell .quote-purchase-panel{background:#fff;border-top:1px solid #eddfd2;padding:18px 22px 10px}.studio-shell .quote-purchase-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.studio-shell .quote-purchase-head strong,.studio-shell .quote-purchase-head span{display:block}.studio-shell .quote-purchase-head span{color:var(--muted);margin-top:3px;font-size:10px}.studio-shell .quote-purchase-head button{color:var(--accent-dark);background:0 0;border:0;font-size:11px;font-weight:800}.studio-shell .quote-purchase-panel .package-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.studio-shell .quote-purchase-panel .package-card{padding:14px}.studio-shell .quote-purchase-panel .package-card h2{font-size:14px}.studio-shell .quote-purchase-panel .package-card p,.studio-shell .quote-purchase-panel .package-card ul{display:none}.studio-shell .quote-purchase-panel .package-card-head>strong{font-size:18px}.studio-shell .quote-purchase-panel .package-price{margin:12px 0;font-size:18px}.studio-shell .quote-purchase-panel .mock-payment-panel{grid-template-columns:70px minmax(0,1fr)}.studio-shell .quote-purchase-panel .mock-payment-placeholder{width:70px;height:70px}.studio-shell .quote-actions{border-top:1px solid #eddfd2;justify-content:flex-end;gap:10px;padding:14px 22px;display:flex}.studio-shell .security-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.studio-shell .security-card{border:1px solid var(--border);background:#fff;border-radius:14px;align-content:start;gap:12px;padding:21px;display:grid}.studio-shell .security-card h2{margin:0;font-size:16px}.studio-shell .security-card p{color:var(--muted);margin:0;font-size:11px;line-height:1.6}.studio-shell .security-card input,.studio-shell .security-card textarea{border:1px solid var(--border);width:100%;color:var(--text);background:#fff;border-radius:8px;padding:10px}.studio-shell .security-card textarea{resize:vertical;min-height:76px}.studio-shell .security-ok{color:#047857;font-weight:800}.studio-shell .security-warn{color:#b45309;font-weight:800}.studio-shell .security-message{color:#7a4a25;font-size:10px}.studio-shell .security-card .turnstile-wrap{min-height:65px;margin-top:0;overflow:hidden}.studio-shell .security-card .turnstile-wrap>div{max-width:100%;min-height:65px}.studio-shell .security-card .turnstile-wrap iframe{max-width:100%}.studio-shell .danger-action{color:#fff;background:#dc2626;border:1px solid #dc2626;border-radius:9px;min-height:40px;padding:9px 14px;font-weight:800}.studio-shell .danger-action:disabled{opacity:.6}.studio-shell .account-confirm-backdrop{z-index:1100;background:#31251c8f;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.studio-shell .account-confirm-dialog{background:#fff;border-radius:14px;width:min(430px,100%);padding:22px;box-shadow:0 25px 60px #27191140}.studio-shell .account-confirm-dialog h2{margin:0}.studio-shell .account-confirm-dialog p{color:var(--muted);margin:9px 0 20px;line-height:1.6}.studio-shell .account-confirm-dialog>div{justify-content:flex-end;gap:9px;display:flex}.studio-shell .legal-document{border:1px solid var(--border);background:#fff;border-radius:16px;width:min(820px,100%);margin:0 auto;padding:34px;box-shadow:0 16px 38px #573e280f}.studio-shell .legal-document header{border-bottom:1px solid var(--border);padding-bottom:20px}.studio-shell .legal-document header>span{color:var(--accent-dark);letter-spacing:.12em;font-size:10px;font-weight:900}.studio-shell .legal-document header h1{margin:6px 0;font-size:29px}.studio-shell .legal-document header p,.studio-shell .legal-document section p{color:var(--muted);font-size:12px;line-height:1.8}.studio-shell .legal-document section{margin-top:24px}.studio-shell .legal-document section h2{margin:0 0 8px;font-size:16px}.studio-shell .legal-document footer{border-top:1px solid var(--border);flex-wrap:wrap;gap:13px;margin-top:30px;padding-top:18px;display:flex}.studio-shell .legal-document footer a,.studio-shell .legal-document footer button{color:var(--accent-dark);background:0 0;border:0;padding:0;font-size:11px;font-weight:800;text-decoration:none}@media (width<=900px){.studio-shell .commercial-page{padding:22px 16px 55px}.studio-shell .package-grid{grid-template-columns:1fr}.studio-shell .package-card.recommended{transform:none}.studio-shell .package-card ul{min-height:0}.studio-shell .account-layout,.studio-shell .security-grid{grid-template-columns:1fr}.studio-shell .order-row{grid-template-columns:1fr auto}}@media (width<=700px){.studio-shell .credit-pool-grid,.studio-shell .quote-columns,.studio-shell .quote-purchase-panel .package-grid.compact{grid-template-columns:1fr}.studio-shell .commercial-page-head{flex-direction:column;align-items:flex-start}.studio-shell .quote-backdrop{align-items:end;padding:0}.studio-shell .quote-dialog{border-radius:17px 17px 0 0;max-height:94vh}}@media (prefers-reduced-motion:reduce){.studio-shell .package-card.recommended{transform:none}.studio-shell .quote-timer.urgent,.studio-shell .commercial-skeleton{animation:none}.studio-shell .quote-timer .quote-timer-progress{transition:none}}html[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#f7f7f8}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#09090b}.studio-shell{--bg:#f7f7f8;--sidebar-bg:#fff;--surface:#fff;--surface-alt:#f4f4f5;--surface-raised:#fff;--stage:#fafafa;--border:#18181b14;--border-strong:#18181b1f;--text:#09090b;--muted:#71717a;--accent:#f97316;--accent-dark:#ea580c;--accent-soft:#f9731614;--focus-ring:#f973162e;--card-shadow:0 8px 30px #09090b09, 0 1px 2px #09090b06;--inner-stage:inset 0 0 0 1px #18181b06, inset 0 12px 28px #18181b05;background:var(--bg);color:var(--text)}html[data-theme=dark] .studio-shell{--bg:#09090b;--sidebar-bg:#18181b;--surface:#18181b;--surface-alt:#27272a;--surface-raised:#202023;--stage:#111113;--border:#f4f4f51a;--border-strong:#f4f4f529;--text:#f4f4f5;--muted:#a1a1aa;--accent:#fb923c;--accent-dark:#fdba74;--accent-soft:#fb923c1a;--focus-ring:#fb923c33;--card-shadow:0 14px 36px #00000047, 0 1px 0 #ffffff06;--inner-stage:inset 0 1px 0 #ffffff05, inset 0 0 0 1px #ffffff05, inset 0 16px 36px #00000038}.studio-shell.app-shell,.studio-shell .workspace{background:var(--bg)}html:has(.studio-shell){background:var(--bg)}body:has(.studio-shell){background:var(--bg)}.studio-shell .sidebar{background:var(--sidebar-bg);border-right-color:var(--border-strong);position:relative;box-shadow:8px 0 28px #18181b09}.studio-shell .brand{border-bottom-color:var(--border);padding-right:34px}.studio-shell .brand-subtitle,.studio-shell .nav-label,.studio-shell .sidebar-account,.studio-shell .sidebar-link,.studio-shell .sidebar-api-status,.studio-shell .sidebar-user-name{color:var(--muted)}.studio-shell .nav-label,.studio-shell .commercial-eyebrow,.studio-shell .legal-document header>span{letter-spacing:0}.studio-shell .theme-toggle{z-index:4;border:1px solid var(--border);width:30px;height:30px;color:var(--text);background:var(--surface-raised);border-radius:8px;place-items:center;padding:0;transition:transform .2s,border-color .2s,background .2s;display:grid;position:absolute;top:16px;right:12px;box-shadow:0 4px 14px #18181b0f}.studio-shell .theme-toggle:hover{border-color:var(--border-strong);background:var(--surface);transform:translateY(-1px)}.studio-shell .theme-toggle span{font-size:16px;line-height:1}.studio-shell .nav-item{color:var(--muted);transition:color .2s,background .2s}.studio-shell .nav-item-icon{color:var(--muted);background:var(--surface-raised)}.studio-shell .nav-item:hover{color:var(--text);background:var(--surface-alt)}.studio-shell .nav-item.active{color:var(--text);background:var(--surface-alt);box-shadow:inset 0 0 0 1px var(--border)}.studio-shell .nav-item.active .nav-item-icon{background:linear-gradient(135deg,#fb923c,#ea580c)}.studio-shell .sidebar-plan-badge{border-color:var(--border);color:#52525b;background:var(--surface-alt)}.studio-shell .sidebar-plan-badge strong{color:inherit}.studio-shell .sidebar-credit-card,.studio-shell .sidebar-user-row,.studio-shell .studio-signout,.studio-shell .sidebar-user-menu{border-color:var(--border);color:var(--text);background:var(--surface-raised);box-shadow:var(--card-shadow)}.studio-shell .notice-bar{z-index:900;width:min(390px,100vw - 36px);color:var(--text);background:color-mix(in srgb, var(--surface) 84%, transparent);-webkit-backdrop-filter:blur(18px)saturate(130%);backdrop-filter:blur(18px)saturate(130%);border-color:#f47b3f2e;border-radius:10px;margin:0;padding:10px 12px;position:fixed;top:14px;right:18px;box-shadow:0 16px 40px #18181b24}.studio-shell .notice-bar:before{content:"";background:var(--accent);width:7px;height:7px;box-shadow:0 0 0 4px var(--accent-soft);border-radius:50%;flex:0 0 7px}.studio-shell .notice-bar span{flex:1}.studio-shell .notice-bar button{color:var(--muted)}.studio-shell .brand{min-height:48px;padding-right:0}.studio-shell .brand-title{font-size:16px}.studio-shell .brand-subtitle{display:none}.studio-shell .nav-label{margin-top:11px;margin-bottom:4px}.studio-shell .nav-list{gap:2px}.studio-shell .nav-item{min-height:36px;padding:5px 8px}.studio-shell .nav-item-icon{flex-basis:22px;width:22px;height:22px}.studio-shell .sidebar-account{gap:6px;padding-top:10px}.studio-shell .sidebar-api-status{display:none}.studio-shell .sidebar-theme-toggle{width:100%;height:32px;box-shadow:none;border-radius:7px;justify-content:center;align-items:center;gap:7px;font-size:11px;display:flex;position:static}.studio-shell .sidebar-language-switcher{grid-template-columns:1fr 1fr;width:100%;display:grid}.studio-shell .sidebar-language-switcher button{min-width:0;color:var(--muted)}.studio-shell .sidebar-language-switcher button.active{color:#fff;background:var(--accent)}.studio-shell .sidebar-theme-toggle span:first-child{font-size:15px}.studio-shell .sidebar-theme-toggle span:last-child{font-size:11px}.studio-shell .pipeline-current-step{min-height:30px;margin-top:6px;padding:5px 8px;font-size:11px}.studio-shell .studio-task-meta{gap:3px 8px;margin-bottom:5px;font-size:10px}.studio-shell .video-card,.studio-shell .subtitle-workbench-card,.studio-shell .studio-voice-subtitle-card,.studio-shell .studio-side-card,.studio-shell .card,.studio-shell .audio-card,.studio-shell .commercial-section,.studio-shell .package-card,.studio-shell .profile-card,.studio-shell .account-security-card,.studio-shell .security-card,.studio-shell .quote-asset-card,.studio-shell .quote-billing-card,.studio-shell .legal-document{border-color:var(--border);background:var(--surface);box-shadow:var(--card-shadow)}.studio-shell .video-card,.studio-shell .subtitle-workbench-card{border-radius:12px}.studio-shell .video-preview.empty{color:var(--text);background:var(--stage);box-shadow:var(--inner-stage);border:0}.studio-shell .video-preview.empty:hover,.studio-shell .video-preview.target.empty:hover{background:var(--stage);box-shadow:var(--inner-stage), inset 0 0 0 1px var(--focus-ring)}.studio-shell .timeline-list,.studio-shell .studio-voice-upload-box,.studio-shell .studio-voice-reference{background:var(--stage);box-shadow:var(--inner-stage);border-color:#0000}.studio-shell .srt-panel{background:0 0}.studio-shell .timeline-item{border-bottom-color:var(--border)}.studio-shell .timeline-item:hover{background:var(--surface-raised)}.studio-shell .timeline-item.active-subtitle{background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}.studio-shell input,.studio-shell select,.studio-shell textarea,.studio-shell .project-select,.studio-shell .timeline-textarea,.studio-shell .security-card input,.studio-shell .security-card textarea,.studio-shell .profile-card input{border-color:var(--border);color:var(--text);background:var(--surface-alt);transition:border-color .2s,box-shadow .2s,background .2s}.studio-shell input:focus,.studio-shell select:focus,.studio-shell textarea:focus,.studio-shell button:focus-visible{box-shadow:0 0 0 3px var(--focus-ring);border-color:#f47b3f6b;outline:none}.studio-shell .btn.primary,.studio-shell .preview-btn:not(.secondary),.studio-shell .commercial-primary,.studio-shell .studio-run-button{background:linear-gradient(135deg,#f97316,#d97706);border-color:#0000;transition:filter .3s,transform .3s,box-shadow .3s;box-shadow:0 8px 22px #f9731629}.studio-shell .btn.primary:hover,.studio-shell .preview-btn:not(.secondary):hover,.studio-shell .commercial-primary:hover,.studio-shell .studio-run-button:hover{filter:brightness(1.08);transform:translateY(-1px);box-shadow:0 12px 28px #f9731638}.studio-shell .commercial-secondary,.studio-shell .btn.secondary,.studio-shell .preview-btn.secondary,.studio-shell .icon-btn,.studio-shell .srt-save-btn,.studio-shell .srt-restore-btn{border-color:var(--border);color:var(--text);background:var(--surface-alt)}.studio-shell .commercial-page-head h1{letter-spacing:0;font-weight:700}.studio-shell .commercial-service-notice{color:var(--muted);background:#f59e0b12;border:1px solid #f59e0b2e;border-radius:10px;justify-content:space-between;align-items:center;gap:16px;margin:-8px 0 18px;padding:10px 12px;font-size:11px;display:flex}.studio-shell .commercial-service-notice button{color:var(--accent-dark);background:0 0;border:0;padding:3px 4px;font-weight:700}.studio-shell .project-initialization-error{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.studio-shell .project-initialization-error span{color:var(--muted)}.studio-shell .credit-summary{border-color:var(--border);background:var(--surface);box-shadow:var(--card-shadow)}.studio-shell .credit-summary>strong{color:var(--text)}.studio-shell .credit-summary>em{color:var(--muted)}.studio-shell .credit-pool-card{border-color:var(--border);background:var(--surface);box-shadow:var(--card-shadow)}.studio-shell .credit-pool-card.paid{color:var(--text);background:var(--surface)}.studio-shell .credit-pool-card.bonus{color:var(--accent-dark);background:color-mix(in srgb, var(--surface) 94%, #f59e0b)}.studio-shell .package-card.recommended{border-color:#f47b3f59}.studio-shell .package-card ul{color:var(--muted)}.studio-shell .commercial-empty,.studio-shell .commercial-error{border:1px solid var(--border);background:var(--surface);box-shadow:var(--inner-stage)}.studio-shell .ledger-table td,.studio-shell .order-row,.studio-shell .account-security-card dl div,.studio-shell .quote-billing-card li{border-color:var(--border)}.studio-shell .danger-zone{background:color-mix(in srgb, var(--surface) 96%, #991b1b);border-color:#b91c1c38}.studio-shell .danger-action{background:#991b1b;border-color:#991b1b;transition:filter .2s}.studio-shell .danger-action:hover{filter:brightness(1.12)}.studio-shell .quote-dialog,.studio-shell .account-confirm-dialog{border-color:var(--border);color:var(--text);background:var(--surface);box-shadow:0 28px 80px #00000047}html[data-theme=dark] .studio-shell .nav-item:hover{background:#ffffff0b}html[data-theme=dark] .studio-shell .nav-item.active{background:#27272a}html[data-theme=dark] .studio-shell .sidebar-plan-badge{color:#d4d4d8}html[data-theme=dark] .studio-shell .sidebar-credit-card strong{color:var(--text)}html[data-theme=dark] .studio-shell .sidebar-credit-card>div span{color:var(--muted)}html[data-theme=dark] .studio-shell .credit-pool-card.paid{color:var(--text)}html[data-theme=dark] .studio-shell .credit-pool-card.bonus{color:#fdba74}html[data-theme=dark] .studio-shell .bonus-expiration{color:#fcd34d;background:#f59e0b14;border-color:#f59e0b2e}html[data-theme=dark] .studio-shell .danger-zone{color:var(--text)}.studio-shell .sidebar-credit-icon{color:#fafafa;background:linear-gradient(135deg,#3f3f46,#18181b);box-shadow:0 6px 16px #09090b24}.studio-shell .sidebar-user-avatar{color:#fafafa;background:linear-gradient(135deg,#52525b,#27272a);box-shadow:0 6px 16px #09090b1f}.studio-shell .sidebar-credit-card strong{color:var(--text)}.studio-shell .sidebar-credit-card>div span,.studio-shell .sidebar-user-row>span:last-child{color:var(--muted)}.studio-shell .sidebar-link:hover,.studio-shell .studio-signout:hover{border-color:var(--border-strong);color:var(--text);background:var(--surface-alt)}.studio-shell .theme-toggle{color:var(--muted);background:var(--surface-alt);box-shadow:none}.studio-shell .theme-toggle:hover{color:var(--accent-dark);background:var(--accent-soft);box-shadow:0 0 0 3px var(--focus-ring);border-color:#f9731647}.studio-shell .dub-feature-tab,.studio-shell .advanced,.studio-shell .vd-section,.studio-shell .lipsync-video-card,.studio-shell .lipsync-input-card,.studio-shell .lipsync-parameter-card,.studio-shell .legacy-language-dialog,.studio-shell .legacy-language-items button,.studio-shell .studio-reference-text,.studio-shell .studio-voice-library,.studio-shell .studio-text-panel,.studio-shell .studio-voice-note,.studio-shell .vd-voice-card,.studio-shell .lipsync-option{border-color:var(--border);color:var(--text);background:var(--surface);box-shadow:var(--card-shadow)}.studio-shell .dub-feature-tab:hover{border-color:var(--border-strong)}.studio-shell .dub-feature-tab.active,.studio-shell .voice-source-item.active,.studio-shell .studio-voice-source-row label.active,.studio-shell .studio-speed-mode label.active,.studio-shell .legacy-language-items button:hover,.studio-shell .legacy-language-items button.selected,.studio-shell .vd-voice-card:hover,.studio-shell .vd-voice-card.selected{color:var(--text);background:var(--accent-soft);border-color:#f973164d;box-shadow:inset 0 0 0 1px #f973160f}.studio-shell .dub-feature-tab-icon{box-shadow:none;background:#27272a!important}.studio-shell .dub-feature-tab.active .dub-feature-tab-icon{background:linear-gradient(135deg,#fb923c,#ea580c)!important}.studio-shell .audio-card,.studio-shell .dub-reference-text-card{box-shadow:var(--card-shadow)}.studio-shell .dub-inline-text-editor,.studio-shell .studio-audio-item,.studio-shell .studio-voice-card,.studio-shell .studio-reference-text textarea,.studio-shell .studio-text-panel textarea,.studio-shell .vd-voice-card.import,.studio-shell .vd-result-audio,.studio-shell .vd-progress,.studio-shell .lipsync-video.empty,.studio-shell .lipsync-audio-preview{border-color:var(--border);color:var(--muted);background:var(--stage);box-shadow:var(--inner-stage)}.studio-shell .dub-inline-text-editor textarea,.studio-shell .dub-reference-text-card textarea,.studio-shell .vd-textarea,.studio-shell .vd-input{border-color:var(--border);color:var(--text);background:var(--surface)}.studio-shell .legacy-setting-field,.studio-shell .option,.studio-shell .studio-parameter-field,.studio-shell .studio-voice-param-grid label,.studio-shell .studio-speed-mode,.studio-shell .legacy-tts-parameters .legacy-rate-option{border-color:var(--border);color:var(--muted);background:var(--surface-alt);box-shadow:inset 0 1px 2px #09090b06}.studio-shell .legacy-setting-field select,.studio-shell .studio-settings-three-columns>label select,.studio-shell .studio-settings>label select,.studio-shell .studio-conversion-section>label select,.studio-shell .option select,.studio-shell .option input[type=number],.studio-shell .advanced-body>label select,.studio-shell .studio-voice-reference select,.studio-shell .studio-parameter-field input,.studio-shell .studio-voice-param-grid input,.studio-shell .legacy-tts-parameters .rate-number-input{border-color:var(--border);color:var(--text);background:var(--surface)}.studio-shell .studio-parameter-field input:disabled{color:var(--muted);background:var(--surface-alt)}.studio-shell .legacy-tts-parameters .rate-stepper-btn,.studio-shell .studio-parameter-actions button,.studio-shell .studio-line-regenerate{border-color:var(--border);color:var(--text);background:var(--surface)}.studio-shell .legacy-tts-parameters .rate-stepper-btn:hover,.studio-shell .studio-parameter-actions button:hover,.studio-shell .studio-line-regenerate:hover{border-color:var(--accent);color:#fff;background:var(--accent)}.studio-shell .icon-btn.success,.studio-shell .studio-mini.primary{border-color:var(--border);color:#3f3f46;background:var(--surface-alt)}.studio-shell .icon-btn.success:hover,.studio-shell .studio-mini.primary:hover{border-color:var(--accent);color:#fff;background:var(--accent)}.studio-shell .studio-speed-mode label,.studio-shell .studio-voice-source-row label,.studio-shell .voice-source-item{border-color:var(--border);color:var(--text);background:var(--surface)}.studio-shell .studio-stop-button{color:#b42318;background:#b91c1c12;border-color:#b91c1c33}.studio-shell .timeline-icon-btn{background:var(--surface)}.studio-shell .timeline-icon-btn.play{color:var(--accent-dark)}.studio-shell .timeline-icon-btn.regen{color:#a1a1aa}.studio-shell .task-progress-bar,.studio-shell .studio-progress,.studio-shell .lipsync-progress{background:var(--surface-alt)}.studio-shell .task-progress-fill,.studio-shell .studio-progress i,.studio-shell .lipsync-progress span{background:linear-gradient(90deg,#f97316,#d97706)}.studio-shell .pipeline-current-step,.studio-shell .studio-job-status,.studio-shell .translate-progress{border-color:var(--border);color:var(--muted);background:var(--stage)}.studio-shell .pipeline-current-step .task-log-dot{background:var(--accent)}.studio-shell .studio-capability,.studio-shell .studio-capability.pending{color:var(--accent-dark);background:var(--accent-soft);border-color:#f9731633}.studio-shell .lipsync-video-empty,.studio-shell .lipsync-params-head,.studio-shell .lipsync-option strong{color:var(--text)}.studio-shell .lipsync-video-empty span,.studio-shell .lipsync-params-head span,.studio-shell .lipsync-option span,.studio-shell .lipsync-status,.studio-shell .lipsync-audio-preview{color:var(--muted)}.studio-shell .lipsync-play{color:var(--accent);background:var(--surface);box-shadow:var(--card-shadow)}.studio-shell .lipsync-file-row input,.studio-shell .lipsync-file-row>label,.studio-shell .lipsync-audio-mode label{border-color:var(--border);color:var(--text);background:var(--surface-alt)}.studio-shell .lipsync-audio-mode label:has(input:checked){color:var(--accent-dark);background:var(--accent-soft);border-color:#f973164d}.studio-shell .legacy-language-dialog-head{border-color:var(--border);background:var(--surface-alt)}.studio-shell .legacy-language-dialog-head button{color:var(--text);background:var(--surface)}html[data-theme=dark] .studio-shell .sidebar-credit-icon,html[data-theme=dark] .studio-shell .sidebar-user-avatar{color:#18181b;background:linear-gradient(135deg,#fafafa,#d4d4d8)}html[data-theme=dark] .studio-shell .icon-btn.success,html[data-theme=dark] .studio-shell .studio-mini.primary{color:#d4d4d8}html[data-theme=dark] .studio-shell .studio-speed-mode label,html[data-theme=dark] .studio-shell .studio-voice-source-row label,html[data-theme=dark] .studio-shell .voice-source-item{background:var(--surface-alt)}html[data-theme=dark] .studio-shell .studio-stop-button{color:#fca5a5;background:#7f1d1d38;border-color:#f8717138}html[data-theme=dark] .studio-shell .dub-feature-tab-icon{color:#18181b;background:#d4d4d8!important}html[data-theme=dark] .studio-shell .dub-feature-tab.active .dub-feature-tab-icon{color:#fff;background:linear-gradient(135deg,#fb923c,#ea580c)!important}.studio-shell .project-context-bar{border:1px solid var(--border);background:var(--surface);border-radius:10px;justify-content:space-between;align-items:center;gap:14px;margin:0 0 8px;padding:10px 12px;display:flex;box-shadow:0 6px 18px #573e280d}.studio-shell .project-context-copy{gap:2px;min-width:0;display:grid}.studio-shell .project-context-copy strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.studio-shell .project-context-copy>span:last-child{color:var(--muted);font-size:11px}.studio-shell .project-context-label{color:var(--accent-dark);letter-spacing:.06em;text-transform:uppercase;font-size:10px;font-weight:800}.studio-shell .project-context-actions{flex:none;align-items:center;gap:8px;display:flex}.studio-shell .project-context-actions select{border:1px solid var(--border);min-width:170px;max-width:260px;color:var(--text);background:var(--surface);border-radius:7px;padding:7px 9px}.studio-shell .project-context-actions select:disabled{color:var(--muted);cursor:not-allowed}.studio-shell .project-modal-backdrop{z-index:100;background:#19171447;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.studio-shell .project-modal{gap:16px;width:min(440px,100%);padding:20px;display:grid;box-shadow:0 20px 60px #19171433}.studio-shell .project-modal-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.studio-shell .project-modal-head h2{color:var(--text);margin:3px 0 0;font-size:18px}.studio-shell .project-modal-head button{color:var(--muted);background:0 0;border:0;font-size:22px;line-height:1}.studio-shell .project-modal label{color:var(--muted);gap:6px;font-size:12px;font-weight:700;display:grid}.studio-shell .project-modal input,.studio-shell .project-modal select{border:1px solid var(--border);width:100%;color:var(--text);background:var(--surface);border-radius:7px;padding:9px 10px}.studio-shell .project-modal input:focus,.studio-shell .project-modal select:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #ff8a4c1f}.studio-shell .project-modal-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.studio-shell .project-modal-actions{justify-content:flex-end;gap:8px;display:flex}@media (width<=900px){.studio-shell .project-context-bar{flex-direction:column;align-items:stretch}.studio-shell .project-context-actions{width:100%}.studio-shell .project-context-actions select{flex:1;min-width:0;max-width:none}.studio-shell .theme-toggle{top:12px;right:10px}.studio-shell .brand{padding-right:38px}}@media (prefers-reduced-motion:reduce){.studio-shell *,.studio-shell :before,.studio-shell :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.studio-shell button[aria-busy=true],.studio-shell button.is-running{opacity:1;outline-offset:2px;filter:brightness(1.08);outline:3px solid #f973166b;box-shadow:0 8px 22px #f973164d}}.studio-shell .btn,.studio-shell .preview-btn,.studio-shell .pipeline-audio-buttons button,.studio-shell .studio-parameter-actions button{border-radius:8px}.studio-shell .studio-settings-three-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-shell .studio-settings-three-columns>label,.studio-shell .studio-settings-three-columns>.legacy-setting-field{min-width:0}.studio-shell .line-version-actions select{color:#0877b9;background:#fff;border:2px solid #199be6;border-radius:5px;min-width:48px;padding:2px 4px;font-weight:800}.studio-shell .line-version-actions .timeline-icon-btn.play{color:#56ad00;background:#fff;border-color:#66c900}.studio-shell .line-version-actions .timeline-icon-btn.regen{color:#e12d39;background:#fff;border-color:#ff4545}.studio-shell .unified-workbench,.studio-shell .voice-design-page{height:calc(100dvh - 22px)}.studio-shell .subtitle-workbench-card,.studio-shell .studio-voice-subtitle-card{border:1px solid var(--border);min-height:0}.studio-shell .srt-panel{border:1px solid var(--border);border-radius:8px;padding:10px}.studio-shell .timeline-list{min-height:128px;max-height:100%;overflow-y:auto}.studio-shell .studio-voice-subtitle-card .timeline-list{min-height:116px}.studio-shell .dub-inline-text-editor{border-radius:8px;flex:1 1 0;min-height:116px;padding:8px}.studio-shell .dub-inline-text-editor textarea{resize:none;min-height:96px}.studio-shell .studio-edit-footer{min-height:33px;margin-top:0;padding-top:6px}.studio-shell .asset-library-page{grid-template-rows:auto auto minmax(0,1fr);gap:12px;height:calc(100dvh - 22px);min-height:0;padding:10px;display:grid;overflow:hidden}.studio-shell .asset-library-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-end;gap:18px;padding:4px 2px 14px;display:flex}.studio-shell .asset-library-head h1{margin:3px 0 0;font-size:22px}.studio-shell .asset-library-head p{color:var(--muted);margin:5px 0 0}.studio-shell .asset-project-actions{align-items:center;gap:8px;display:flex}.studio-shell .asset-project-actions select{border:1px solid var(--border);min-width:210px;max-width:320px;color:var(--text);background:var(--surface);border-radius:8px;padding:8px 10px}.studio-shell .asset-notice{color:#7a4a25;background:#fff3e8;border:1px solid #ffd7ba;border-radius:8px;padding:8px 10px;font-size:11px}.studio-shell .asset-library-tabs{align-items:center;gap:7px;min-width:0;display:flex;overflow-x:auto}.studio-shell .asset-library-tabs button{border:1px solid var(--border);color:var(--muted);background:var(--surface);border-radius:8px;flex:none;padding:7px 12px;font-size:12px}.studio-shell .asset-library-tabs button.active{border-color:var(--accent);color:var(--accent-dark);background:#fff1e8}.studio-shell .workspace-project-groups{grid-template-columns:1fr;gap:12px;min-height:0;display:grid;overflow:hidden}.studio-shell .workspace-project-group{border:1px solid var(--border);background:var(--surface);border-radius:8px;grid-template-rows:auto minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.studio-shell .workspace-project-group>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:10px;padding:12px;display:flex}.studio-shell .workspace-project-group h2{margin:0;font-size:15px}.studio-shell .workspace-project-group header span{color:var(--muted);margin-top:4px;font-size:11px;display:block}.studio-shell .workspace-project-group>header>strong{min-width:22px;height:22px;color:var(--accent-dark);background:#fff1e8;border-radius:999px;place-items:center;font-size:11px;display:grid}.studio-shell .workspace-project-list{min-height:0;overflow-y:auto}.studio-shell .workspace-project-row{border:0;border-bottom:1px solid var(--border);width:100%;color:var(--text);background:var(--surface);text-align:left;grid-template-columns:104px minmax(0,1fr) 24px;align-items:center;gap:12px;padding:10px 12px;display:grid}.studio-shell .workspace-project-row:last-child{border-bottom:0}.studio-shell .workspace-project-row:hover{background:var(--surface-alt)}.studio-shell .workspace-project-row:disabled{cursor:wait;opacity:.65}.studio-shell .workspace-project-thumb{aspect-ratio:16/9;border:1px solid var(--border);width:104px;color:var(--muted);background:#171717;border-radius:6px;place-items:center;display:grid;overflow:hidden}.studio-shell .asset-preview-video{object-fit:cover;width:100%;height:100%}.studio-shell .asset-preview-placeholder{color:#fff;background:#292524;place-items:center;width:100%;height:100%;font-size:18px;display:grid}.studio-shell .workspace-project-open{min-width:0;color:var(--text);text-align:left;background:0 0;border:0;gap:4px;padding:0;display:grid}.studio-shell .workspace-project-open strong,.studio-shell .workspace-project-open span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.studio-shell .workspace-project-open span{color:var(--muted);font-size:11px}.studio-shell .workspace-project-open:hover strong{color:var(--accent-dark)}.studio-shell .workspace-project-arrow{color:var(--muted);font-size:18px}.studio-shell .workspace-project-empty{min-height:120px;color:var(--muted);text-align:center;place-items:center;padding:18px;font-size:12px;display:grid}.studio-shell .asset-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.studio-shell .asset-filters{flex-wrap:wrap;gap:6px;display:flex}.studio-shell .asset-filters button{border:1px solid var(--border);min-width:58px;color:var(--muted);background:var(--surface);border-radius:8px;padding:7px 12px}.studio-shell .asset-filters button.active{border-color:var(--accent);color:var(--accent-dark);background:#fff7ed;font-weight:700}.studio-shell .asset-notice{color:#7a4a25;background:#fff3e8;border:1px solid #ffd7ba;border-radius:8px;grid-row:3;padding:8px 10px;font-size:11px}.studio-shell .asset-list{border:1px solid var(--border);background:var(--surface);border-radius:8px;grid-row:4;min-height:0;overflow-y:auto}.studio-shell .asset-row{border-bottom:1px solid var(--border);grid-template-columns:36px minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:68px;padding:10px 12px;display:grid}.studio-shell .asset-row:last-child{border-bottom:0}.studio-shell .asset-kind-icon{color:#fff;background:var(--info);border-radius:8px;place-items:center;width:34px;height:34px;font-weight:800;display:grid}.studio-shell .asset-kind-icon.audio{background:var(--success)}.studio-shell .asset-kind-icon.subtitle{background:var(--warning)}.studio-shell .asset-row-main{min-width:0}.studio-shell .asset-row-main strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.studio-shell .asset-row-main span{color:var(--muted);margin-top:4px;font-size:11px;display:block}.studio-shell .asset-status{color:var(--muted);background:var(--surface-alt);white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:11px}.studio-shell .asset-status.ready{color:#087f5b;background:#e8fbf3}.studio-shell .asset-status.expired{color:#b42318;background:#fff1f1}.studio-shell .asset-row-actions{gap:6px;display:flex}.studio-shell .asset-row-actions .btn{white-space:nowrap}.studio-shell .asset-empty{min-height:260px;color:var(--muted);text-align:center;place-content:center;gap:6px;display:grid}.studio-shell .asset-empty strong{color:var(--text);font-size:15px}@media (width<=1100px){.studio-shell .studio-settings-three-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-shell .workspace-project-groups{grid-template-columns:1fr;overflow-y:auto}.studio-shell .workspace-project-group{min-height:180px}.studio-shell .asset-row{grid-template-columns:36px minmax(0,1fr) auto}.studio-shell .asset-status{display:none}}@media (width<=720px){.studio-shell .studio-basic-settings-grid{grid-template-columns:1fr;grid-auto-rows:72px}.studio-shell .studio-basic-settings-grid>.legacy-setting-field,.studio-shell .studio-basic-settings-grid>.studio-setting-wide,.studio-shell .studio-basic-settings-grid>.studio-model-setting{height:72px}.studio-shell .studio-primary-settings-row,.studio-shell .studio-settings-three-columns{grid-template-columns:1fr}.studio-shell .asset-library-page{height:auto;overflow:visible}.studio-shell .asset-library-head,.studio-shell .asset-project-actions{flex-direction:column;align-items:stretch}.studio-shell .workspace-project-groups{overflow:visible}.studio-shell .workspace-project-row{grid-template-columns:84px minmax(0,1fr) 20px}.studio-shell .workspace-project-thumb{width:84px}.studio-shell .asset-project-actions select{width:100%;min-width:0;max-width:none}.studio-shell .asset-row{grid-template-columns:36px minmax(0,1fr)}.studio-shell .asset-row-actions{grid-column:1/-1;justify-content:flex-end}}
