@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/caveat-cyrillic-ext-700-normal-CrK2-ngJ.woff2)format("woff2"),url(/assets/caveat-cyrillic-ext-700-normal-DjFGiEhD.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/caveat-cyrillic-700-normal-BIyejhEL.woff2)format("woff2"),url(/assets/caveat-cyrillic-700-normal-Bhcx9qBB.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/caveat-latin-ext-700-normal-DFbRgDry.woff2)format("woff2"),url(/assets/caveat-latin-ext-700-normal-DjJQd59I.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/caveat-latin-700-normal-D8_1Nw6V.woff2)format("woff2"),url(/assets/caveat-latin-700-normal-cPyBTTZN.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg:#f4f5f7;--panel:#fff;--panel-2:#f9fafb;--stage:#eceef2;--line:#e4e7ec;--line-strong:#d0d5dd;--text:#101828;--text-2:#344054;--muted:#667085;--accent:#4f46e5;--accent-hover:#4338ca;--accent-soft:#eef2ff;--accent-line:#c7d2fe;--bad:#d92d20;--bad-soft:#fef3f2;--good:#079455;--good-soft:#ecfdf3;--warn:#dc6803;--warn-soft:#fffaeb;--radius:10px;--shadow:0 1px 2px #1018280d;--shadow-lg:0 12px 32px #1018281f}*{box-sizing:border-box}[hidden]{display:none!important}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font:14px/1.5 Inter,-apple-system,SF Pro Text,Segoe UI,system-ui,sans-serif}h3{letter-spacing:-.01em;color:var(--text);margin:0;font-size:16px;font-weight:700}.app{flex-direction:column;height:100dvh;display:flex}header{background:var(--panel);border-bottom:1px solid var(--line);z-index:5;flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;height:56px;padding:0 20px;display:flex;position:relative}.header-left{align-items:center;gap:8px;display:flex}.brand{letter-spacing:-.01em;align-items:center;gap:8px;margin-right:8px;font-size:15px;font-weight:700;display:flex}.brand-mark{background:var(--accent);color:#fff;border-radius:7px;place-items:center;width:26px;height:26px;font-size:11px;display:inline-grid}.project-title{text-align:center;flex-direction:column;flex:1;align-items:center;min-width:0;line-height:1.3;display:flex}.project-title strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:14px;overflow:hidden}.warning-dot{background:var(--warn);vertical-align:middle;border-radius:50%;width:8px;height:8px;margin-left:6px;display:inline-block}.switcher{position:relative}.header-right{align-items:center;gap:8px;display:flex}.header-right .switcher-panel{width:min(760px,94vw);max-height:min(78vh,760px);padding:18px;left:auto;right:0}.header-right .switcher-panel .project-list{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));align-items:start;display:grid}.count-badge{background:var(--accent-soft);min-width:20px;height:20px;color:var(--accent);border-radius:999px;place-items:center;padding:0 6px;font-size:11.5px;font-weight:700;display:inline-grid}.switcher-panel{background:var(--panel);border:1px solid var(--line);width:min(440px,90vw);max-height:70vh;box-shadow:var(--shadow-lg);border-radius:12px;margin:0;padding:14px;position:absolute;top:calc(100% + 6px);left:0;overflow-y:auto}.workflow-status{background:var(--good-soft);color:#054f31;border-bottom:1px solid #abefc6;flex-shrink:0;align-items:center;gap:12px;padding:10px 20px;display:flex}.workflow-status.working{background:var(--accent-soft);border-bottom-color:var(--accent-line);color:#2d2a8c}.workflow-status .small{color:inherit;opacity:.85}.activity-time{text-align:right;white-space:nowrap;margin-left:auto}.activity-time span{color:var(--muted);white-space:normal;display:block}.activity-spinner{border:2px solid var(--accent-line);border-top-color:var(--accent);border-radius:50%;flex-shrink:0;width:16px;height:16px;animation:1s linear infinite activity-spin;display:inline-block}.activity-message{color:var(--text-2);align-items:center;gap:8px;display:flex}@keyframes activity-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.activity-spinner{animation:none}}main{flex:1;grid-template-columns:minmax(380px,500px) minmax(0,1fr);min-height:0;display:grid}.studio-mode{grid-template-columns:minmax(360px,460px) minmax(0,1fr)}.editor{background:var(--panel-2);border-right:1px solid var(--line);flex-direction:column;gap:12px;padding:16px 16px 32px;display:flex;overflow-y:auto}.editor-fields{border:0;flex-direction:column;gap:12px;min-width:0;margin:0;padding:0;display:flex}.preview{padding:20px 24px 32px;overflow-y:auto}.preview:has(.inspector){grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:0;padding:0;display:grid;overflow:hidden}.stage{background:var(--stage);background-image:radial-gradient(#dde1e8 1px,#0000 1px);background-size:18px 18px;place-items:center;height:100%;padding:24px;display:grid;overflow:auto}.inspector{background:var(--panel);border-left:1px solid var(--line);flex-direction:column;gap:0;height:100%;padding:4px 0 32px;display:flex;overflow-y:auto}.inspector-section{border-bottom:1px solid var(--line);flex-direction:column;gap:10px;padding:16px 18px;display:flex}.inspector-section:last-child{border-bottom:0}.inspector .toolbar{grid-template-columns:1fr 1fr;display:grid}.inspector .toolbar button{justify-content:center}.voice-summary{color:var(--text-2)}.subheading{color:var(--text-2);margin-top:4px;font-size:12px;font-weight:600}main.home{display:block;overflow-y:hidden}main.home .editor{background:0 0;border:0;max-width:880px;height:100%;margin:0 auto;padding:32px 24px}.home .project-list{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));display:grid}.card-title{letter-spacing:-.01em;font-size:18px}main.landing-main{overflow:hidden}.landing-scroll{scroll-behavior:smooth;height:100%;overflow-y:auto}.landing{--ink:#0b1020;color:var(--text)}.landing .eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-size:12px;font-weight:700;display:inline-block}.landing button.big,.landing .button.big{border-radius:999px;padding:12px 22px;font-size:15px}.hero{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center;gap:48px;max-width:1200px;margin:0 auto;padding:72px 40px 80px;display:grid}.landing-main{background:radial-gradient(1200px 600px at 85% -10%, #e0e7ff 0%, transparent 60%), radial-gradient(900px 500px at -10% 30%, #fdf2f8 0%, transparent 55%), var(--bg)}.hero h1{letter-spacing:-.035em;color:var(--ink);margin:14px 0 18px;font-size:clamp(38px,5vw,64px);font-weight:800;line-height:1.04}.hero h1 em{background:linear-gradient(90deg,#4f46e5,#db2777 55%,#f97316);color:#0000;-webkit-background-clip:text;background-clip:text;font-style:normal}.lead{max-width:560px;color:var(--text-2);margin:0 0 28px;font-size:18px;line-height:1.6}.hero-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.hero-points{color:var(--muted);flex-wrap:wrap;gap:8px 20px;margin:28px 0 0;padding:0;font-size:13.5px;list-style:none;display:flex}.hero-points li:before{content:"✓";color:var(--good);margin-right:6px;font-weight:700}.hero-phones{justify-content:center;align-items:center;display:flex}.hero-phones .phone-sm{z-index:1;margin:0 -28px;transform:rotate(-6deg)translateY(24px)}.hero-phones .phone-sm:last-child{transform:rotate(6deg)translateY(24px)}.hero-phones .phone-lg{z-index:2}.phone{flex-direction:column;align-items:center;gap:10px;margin:0;display:flex}.phone-screen{aspect-ratio:9/16;background:#0b1020;border-radius:28px;padding:7px;position:relative;box-shadow:0 30px 60px -20px #0f172a73,inset 0 0 0 1px #ffffff14}.phone-screen video{object-fit:cover;background:#111;border-radius:22px;width:100%;height:100%;display:block}.phone-sm .phone-screen{width:190px}.phone-md .phone-screen{width:250px}.phone-lg .phone-screen{width:280px}.phone-sound{color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0000008c;border:0;border-radius:50%;justify-content:center;width:36px;height:36px;padding:0;font-size:15px;position:absolute;bottom:16px;right:16px}.phone-sound:hover:not(:disabled){color:#fff;background:#000000bf}.phone figcaption{text-align:center;max-width:250px;color:var(--muted);font-size:13px}.products{max-width:1200px;margin:0 auto;padding:40px 40px 24px}.section-title{text-align:center;letter-spacing:-.03em;color:var(--ink);margin:0;font-size:clamp(28px,3.2vw,40px);font-weight:800}.section-lead{text-align:center;color:var(--muted);margin:10px 0 18px;font-size:16px}.product-jump{flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:24px;display:flex}.product-jump button{border:1px solid var(--line-strong);background:var(--panel);color:var(--text-2);border-radius:999px}.product{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow-lg);border-radius:28px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:56px;margin:24px 0;padding:48px;scroll-margin-top:24px;display:grid}.product.flip .product-copy{order:2}.product h3{letter-spacing:-.025em;color:var(--ink);margin:10px 0 14px;font-size:clamp(24px,2.6vw,34px);font-weight:800;line-height:1.15}.product p{color:var(--text-2);margin:0 0 20px;font-size:16px;line-height:1.65}.product-steps{counter-reset:step;gap:10px;margin:0 0 28px;padding:0;list-style:none;display:grid}.product-steps li{counter-increment:step;color:var(--text);align-items:center;gap:12px;font-size:15px;display:flex}.product-steps li:before{content:counter(step);background:var(--accent-soft);width:28px;height:28px;color:var(--accent);border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:700;display:grid}.product-media{justify-content:center;align-items:flex-start;gap:20px;display:flex}.product-media .phone:nth-child(2){margin-top:48px}.product-media:has(.phone:nth-child(2)) .phone-screen{width:220px}#explainers{background:linear-gradient(135deg,#fff 40%,#eef2ff)}#quizzes{background:linear-gradient(135deg,#fff 40%,#fdf2f8)}#reels{background:linear-gradient(135deg,#fff 40%,#fff7ed)}.blog-teaser{color:#e2e8f0;background:#0b1020;border-radius:24px;justify-content:space-between;align-items:center;gap:24px;max-width:1120px;margin:24px auto 64px;padding:32px 40px;display:flex}.blog-teaser .eyebrow{color:#a5b4fc}.blog-teaser h3{color:#fff;margin:6px 0 8px;font-size:22px}.blog-teaser p{color:#94a3b8;max-width:640px;margin:0}.create-page{max-width:1160px;margin:0 auto;padding:28px 40px 64px}.create-back{margin:0 0 14px -10px}.create-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:40px;display:grid}.create-form{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow-lg);border-radius:24px;gap:14px;padding:36px 40px}.create-form h1{letter-spacing:-.03em;color:#0b1020;margin:8px 0;font-size:clamp(28px,3vw,38px);font-weight:800;line-height:1.1}.create-lead{color:var(--text-2);max-width:620px;margin:0;font-size:16px;line-height:1.6}.create-form .eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-size:12px;font-weight:700;display:inline-block}.kind-tabs{background:#eef0f4;border-radius:14px;flex-wrap:wrap;gap:6px;width:fit-content;margin:6px 0 4px;padding:5px;display:flex}.kind-tabs button{box-shadow:none;color:var(--text-2);background:0 0;border:0;border-radius:10px;gap:8px;padding:9px 16px;font-weight:600}.kind-tabs button:hover:not(:disabled){background:#fff9;border:0}.kind-tabs button[aria-checked=true]{background:var(--panel);color:var(--accent);box-shadow:0 1px 3px #1018281f}.create-body{flex-direction:column;gap:10px;display:flex}.create-body p{color:var(--text-2);margin:0 0 8px;font-size:15px;line-height:1.6}.create-body label{color:var(--text);margin-top:6px;font-size:13.5px;font-weight:600}.create-body input:not([type=checkbox]),.create-body select,.create-body textarea{border-radius:12px;padding:11px 14px;font-size:15px}.create-body #video-idea{resize:vertical;min-height:120px;padding:14px 16px;font-size:16px;line-height:1.5}.create-body #generate-script,.create-form button.big,.create-form .button.big{border-radius:999px;padding:12px 22px;font-size:15px}.create-body .row{margin-top:6px}.chip-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.chip{background:var(--panel-2);border-radius:999px;padding:6px 12px;font-size:13px;font-weight:500}.chip[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.create-body input.chip-input{border-radius:999px;width:90px;padding:6px 12px;font-size:13px}.create-aside{flex-direction:column;align-items:center;gap:20px;display:flex;position:sticky;top:24px}.create-points{background:var(--panel);border:1px solid var(--line);border-radius:18px;align-self:stretch;padding:18px 20px}.create-points ul{gap:8px;margin:10px 0 0;padding:0;list-style:none;display:grid}.create-points li{color:var(--text-2);gap:8px;font-size:13.5px;display:flex}.create-points li:before{content:"✓";color:var(--good);font-weight:700}@media (width<=960px){.hero,.product{grid-template-columns:minmax(0,1fr)}.create-page{padding:16px 12px 40px}.create-layout{grid-template-columns:minmax(0,1fr)}.create-form{padding:24px 20px}.create-aside{position:static}.hero{gap:32px;padding:40px 20px 48px}.product{gap:28px;padding:28px 22px}.product.flip .product-copy{order:0}.products{padding-left:16px;padding-right:16px}.phone-sm .phone-screen{width:130px}.phone-lg .phone-screen,.phone-md .phone-screen{width:200px}.blog-teaser{flex-direction:column;align-items:flex-start;margin:16px;padding:24px}}.tabs{z-index:2;box-shadow:0 -16px 0 6px var(--panel-2);background:#eaecf0;border-radius:10px;gap:4px;padding:4px;display:flex;position:sticky;top:0}.chat-anchor{scroll-margin-top:56px}.tabs button{color:var(--muted);box-shadow:none;background:0 0;border:0;border-radius:7px;flex:1;padding:7px 12px;font-weight:500}.tabs button:hover:not(:disabled){color:var(--text);border:0}.tabs button[aria-selected=true]{background:var(--panel);color:var(--text);font-weight:600;box-shadow:0 1px 3px #1018281a}.tab-step{background:var(--line);width:18px;height:18px;color:var(--muted);border-radius:50%;place-items:center;margin-right:6px;font-size:11px;font-weight:700;display:inline-grid}.tabs button[aria-selected=true] .tab-step{background:var(--accent);color:#fff}.tab-dot{background:var(--warn);vertical-align:middle;border-radius:50%;width:7px;height:7px;margin-left:6px;display:inline-block}.steps-card{align-self:start;max-width:560px;margin:24px auto}.steps-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.steps-list li{border:1px solid var(--line);border-radius:8px;gap:2px;padding:10px 12px;display:grid}.steps-list li.current{border-color:var(--accent-line);background:var(--accent-soft)}.steps-list .link{justify-self:start}.idea-fields{border:1px solid var(--line);gap:8px;min-width:0;display:grid}.idea-fields:disabled{opacity:1}.idea-fields :is(input,textarea,select):disabled{color:var(--text);-webkit-text-fill-color:var(--text);opacity:1;background:var(--panel-2)}.idea-fields :is(input,textarea):disabled::placeholder{color:var(--muted);-webkit-text-fill-color:var(--muted)}.idea-fields textarea,.idea-fields input,.idea-fields select{width:100%}.tab-count{background:var(--accent-soft);color:var(--accent);border-radius:99px;margin-left:6px;padding:0 7px;font-size:12px;font-weight:600}.tab-help{margin-top:-2px}.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:10px;padding:14px 16px;display:flex}.summary-bar{padding:2px 2px 0}.card.scene{cursor:pointer;gap:12px;transition:border-color .15s,box-shadow .15s}.card.scene:hover{border-color:var(--line-strong)}.card.scene.active{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.card.scene>.row.spread{flex-wrap:nowrap}.row.scene-title{flex-wrap:nowrap;flex:1;min-width:0}.scene-name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.row.scene-actions{flex-wrap:nowrap;flex-shrink:0;gap:2px}.scene-body{flex-direction:column;gap:12px;display:flex}.scene-footer{border-top:1px solid var(--line);flex-direction:column;gap:8px;padding-top:10px;display:flex}.text-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px;display:grid}.text-field{flex-direction:column;gap:3px;display:flex}.scene-regeneration{border-top:1px solid var(--line);cursor:default;flex-direction:column;gap:8px;padding-top:12px;display:flex}.plan-scene.changed{border-color:var(--good);box-shadow:0 0 0 3px var(--good-soft)}.script-review{flex-direction:column;gap:12px;width:100%;max-width:760px;margin:0 auto;display:flex}.storyboard-fields{text-align:left;border:0;flex-direction:column;gap:12px;width:100%;min-width:0;margin:0;padding:0;display:flex}.chat-messages{flex-direction:column;gap:10px;max-height:45vh;display:flex;overflow-y:auto}.chat-message{background:var(--panel-2);border:1px solid var(--line);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:10px;padding:10px 12px}.chat-message.user{background:var(--accent-soft);border-color:var(--accent-line);margin-left:24px}.chat-message.assistant{margin-right:24px}.brief{gap:0;padding:0}.brief-toggle{text-align:left;white-space:normal;width:100%;box-shadow:none;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 16px;display:flex}.brief-toggle:hover:not(:disabled){background:var(--panel-2);border:0}.brief-toggle .small{text-overflow:ellipsis;-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.brief-fields{flex-direction:column;gap:8px;padding:0 16px 16px;display:flex}.brief-card,.puzzle-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel-2);flex-direction:column;gap:8px;padding:12px 14px;display:flex}.brief-card label{flex-direction:column;gap:4px;display:flex}.brief-points{margin:6px 0 0;padding-left:20px}label{color:var(--text-2);font-size:13px;font-weight:500}.field{color:var(--text-2);flex-direction:column;gap:5px;font-size:13px;font-weight:500;display:flex}.field-row{grid-template-columns:110px minmax(0,1fr);align-items:center;gap:10px;display:grid}.field-row .row{flex-wrap:nowrap}.field-row input[type=number]{width:90px}input,textarea,select{background:var(--panel);width:100%;color:var(--text);border:1px solid var(--line-strong);font:inherit;box-shadow:var(--shadow);border-radius:8px;padding:8px 10px;font-size:14px;font-weight:400;transition:border-color .15s,box-shadow .15s}input:focus,textarea:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}input:disabled,textarea:disabled,select:disabled{background:var(--panel-2);color:var(--muted)}input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent);box-shadow:none}input[type=range]{box-shadow:none;accent-color:var(--accent);border:0;padding:0}.row select,.toolbar select{width:auto}textarea{resize:vertical}textarea.mono,pre{font:12px/1.45 ui-monospace,SF Mono,Menlo,monospace}.checkbox{color:var(--text-2);flex-wrap:nowrap;font-weight:400}.checkbox input{width:16px}button,.button{background:var(--panel);color:var(--text-2);border:1px solid var(--line-strong);font:inherit;cursor:pointer;white-space:nowrap;box-shadow:var(--shadow);border-radius:8px;align-items:center;gap:6px;padding:7px 13px;font-size:13.5px;font-weight:500;text-decoration:none;transition:background .15s,border-color .15s,color .15s;display:inline-flex}button:hover:not(:disabled),.button:hover{background:var(--panel-2);border-color:var(--line-strong);color:var(--text)}button:focus-visible,.button:focus-visible{box-shadow:0 0 0 3px var(--accent-soft);border-color:var(--accent);outline:none}button:disabled{opacity:.5;cursor:default}.primary,.button.primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}.primary:hover:not(:disabled),.button.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:#fff}button.ghost{box-shadow:none;color:var(--muted);background:0 0;border-color:#0000}button.ghost:hover:not(:disabled){color:var(--text);background:#f2f4f7;border-color:#0000}button.icon{padding:4px 8px;font-size:13px}button.link{color:var(--accent);cursor:pointer;font-size:inherit;box-shadow:none;background:0 0;border:0;padding:0;font-weight:500;text-decoration:none}button.link:hover:not(:disabled){color:var(--accent-hover);background:0 0;text-decoration:underline}button.link:disabled{text-decoration:none}.danger:hover:not(:disabled){color:var(--bad);background:var(--bad-soft);border-color:#fda29b}button.ghost.danger:hover:not(:disabled){border-color:#0000}.primary.danger{background:var(--bad);border-color:var(--bad);color:#fff}.saved-projects{flex-direction:column;gap:10px;display:flex}.project-list{flex-direction:column;gap:6px;display:flex}.project-row{align-items:stretch;gap:6px;display:flex;position:relative}.project-row .project-entry{flex:1;min-width:0;padding-right:40px}.project-row>.icon.danger{box-shadow:none;opacity:.55;background:0 0;border-color:#0000;position:absolute;top:8px;right:8px}.project-row:hover>.icon.danger{opacity:1}.project-entry,.studio-entry{text-align:left;white-space:normal;overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;display:flex}.project-entry>span:first-child,.studio-entry>span:first-child{color:var(--text);font-weight:600}.project-entry[aria-pressed=true],.studio-entry[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.project-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;align-self:start;gap:6px;padding:12px;display:flex}.project-card.current{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.project-open{text-align:left;white-space:normal;width:100%;box-shadow:none;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:2px;padding:4px 6px}.project-open:hover:not(:disabled){background:var(--panel-2);border:0}a.project-open{color:inherit;border-radius:8px;text-decoration:none;display:flex}a.project-open:hover{background:var(--panel-2)}.project-name{color:var(--text);overflow-wrap:anywhere;font-size:14.5px;font-weight:600}.row.project-card-actions{gap:4px}.project-card-actions .studio-entry{flex-direction:row;padding:4px 10px}.versions{border-top:1px solid var(--line);flex-direction:column;gap:4px;padding-top:6px;display:flex}.project-row.version-row{align-items:center;gap:4px}.version-row .project-entry{box-shadow:none;border-color:#0000;padding:6px 8px}.version-row .project-entry:hover:not(:disabled){border-color:var(--line)}.version-row .project-entry>span:first-child{font-size:13px;font-weight:500}.project-row.version-row>.icon.danger{opacity:.6;position:static}.project-row.version-row:hover>.icon.danger{opacity:1}.settings-dialog,.new-project-dialog{background:var(--panel);max-height:calc(100dvh - 48px);color:var(--text);border:1px solid var(--line);box-shadow:var(--shadow-lg);border-radius:14px;padding:24px;overflow-y:auto}.settings-dialog{width:min(540px,100vw - 32px)}.new-project-dialog{width:min(480px,100vw - 32px)}.settings-dialog::backdrop,.new-project-dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#10182873}.settings-fields{border:0;flex-direction:column;gap:18px;min-width:0;margin:0;padding:0;display:flex}.settings-section{border-top:1px solid var(--line);flex-direction:column;gap:8px;padding-top:16px;display:flex}.dialog-content{flex-direction:column;gap:14px;display:flex}.key-controls{gap:10px}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.spread{flex-direction:row;justify-content:space-between}.num{background:var(--accent-soft);width:22px;height:22px;color:var(--accent);border-radius:6px;flex-shrink:0;place-items:center;font-size:12px;font-weight:700;display:inline-grid}.badge{color:var(--good);background:var(--good-soft);border:1px solid #abefc6;border-radius:99px;padding:1px 8px;font-size:12px;font-weight:500}.dot{background:var(--line-strong);border-radius:50%;flex-shrink:0;width:8px;height:8px}.dot.on{background:var(--good)}.muted{color:var(--muted)}.small{font-size:12.5px}.good{color:var(--good);font-weight:600}.bad{color:var(--bad);font-weight:600}.error{color:#912018;background:var(--bad-soft);white-space:pre-wrap;border:1px solid #fecdca;border-radius:8px;margin:0;padding:10px 12px;font-size:13px}.notice{color:#93370d;background:var(--warn-soft);border:1px solid #fedf89;border-radius:8px;padding:10px 12px}.notice.ok{color:#05603a;background:#ecfdf3;border-color:#abefc6}.toolbar{gap:8px;display:flex}.job{flex-direction:column;gap:6px;display:flex}.record-overlay{z-index:1000;background:#000;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex;position:fixed;inset:0}.record-frame{flex:none;max-width:100vw}.record-bar{background:#ffffffeb;border-radius:10px;align-items:center;gap:12px;padding:8px 12px;font-size:13px;display:flex}.bar{background:#eaecf0;border-radius:99px;width:100%;height:6px;overflow:hidden}.bar>div{background:var(--accent);height:100%;transition:width .3s}.empty{text-align:center;height:100%;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:12px;margin:auto;display:flex}.empty-mark{background:var(--accent-soft);width:56px;height:56px;color:var(--accent);border-radius:14px;place-items:center;font-size:20px;display:grid}.handle-settings,.sound-settings{flex-direction:column;gap:10px;display:flex}.voice-tuning,.cue-editor{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;width:100%;padding:8px 12px}.voice-tuning summary,.cue-editor summary{cursor:pointer;color:var(--text-2);font-size:13px;font-weight:500}.voice-tuning[open],.cue-editor[open]{flex-direction:column;gap:10px;display:flex}.voice-tuning[open] summary{margin-bottom:4px}.tuning-slider{flex-direction:column;gap:2px;font-weight:500;display:flex}.tuning-slider input{width:100%}.sound-chips{flex-wrap:wrap;gap:6px;display:flex}.sound-chips .chip{box-shadow:none;border-radius:999px;padding:3px 10px;font-size:12px}.row.music-row{flex-wrap:nowrap}.music-row select{flex:1;min-width:0}.row.cue{flex-wrap:nowrap;gap:6px}.cue select{flex:1;min-width:0}.cue-time{flex-wrap:nowrap;gap:4px;font-weight:400}.cue input[type=number],.hold-input input{width:72px;padding:5px 8px}.hold-input{gap:8px;font-weight:500}.kind-badge{color:#b54708;vertical-align:1px;background:#fff4e5;border-radius:99px;margin-right:6px;padding:1px 7px;font-size:11px;font-weight:700;display:inline-block}.clip-drop.dragging{border-color:var(--accent);background:var(--accent-soft);border-style:dashed}.drop-hint{border:1.5px dashed var(--line-strong);text-align:center;color:var(--text-2);border-radius:10px;flex-direction:column;gap:4px;padding:22px 12px;display:flex}.clip-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;display:grid}.clip-tile{border:1px solid var(--line);background:var(--panel);border-radius:10px;flex-direction:column;gap:6px;min-width:0;padding:6px;display:flex}.clip-tile img{aspect-ratio:16/10;object-fit:cover;background:#101828;border-radius:6px;width:100%}.clip-tile img.portrait{object-fit:contain}.clip-tile.pending{background:var(--panel-2);justify-content:center;min-height:120px}.clip-tile.failed{color:#b42318;border-color:#fda29b}.clip-meta{flex-direction:column;gap:3px;min-width:0;display:flex}.clip-name{text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:600;overflow:hidden}.clip-actions{flex-wrap:nowrap;justify-content:space-between}.cut-thumb{object-fit:cover;background:#101828;border-radius:4px;flex-shrink:0;width:44px;height:28px}.cut-fields{cursor:default;min-width:0;color:var(--text-2);border:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 10px;margin:0;padding:0;font-size:12.5px;display:grid}.cut-fields .wide{grid-column:span 2}.cut-fields input[type=number],.cut-fields select,.cut-fields input:not([type]){min-width:0;padding:5px 8px}.cut-fields .full{grid-column:1/-1}.cut-fields textarea{resize:vertical;min-height:32px;padding:5px 8px}.text-look summary{cursor:pointer;color:var(--text-2);padding:2px 0;font-weight:600}.text-look[open] summary{margin-bottom:8px}.text-look-grid{color:var(--text-2);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px;font-size:12.5px;display:grid}.inspector .text-look-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.text-look-grid select{min-width:0;padding:5px 8px}.colour-pick{flex-wrap:nowrap;gap:8px}input[type=color]{cursor:pointer;width:48px;height:32px;padding:2px}@media (width<=1280px){.preview:has(.inspector){grid-template-columns:minmax(0,1fr);gap:0;overflow-y:auto}.stage,.inspector{height:auto}.inspector{border-left:0;border-top:1px solid var(--line)}.preview:has(.inspector){flex-direction:column;display:flex}.preview:has(.inspector)>.stage{flex:none;align-self:stretch}}@media (width<=760px){.app{height:auto;min-height:100dvh}.app>header{z-index:20;position:sticky;top:0}html{scroll-padding-top:64px}.cut-fields{grid-template-columns:1fr 1fr}main,main.studio-mode{flex:none;grid-template-columns:minmax(0,1fr)}.workflow-status{flex-wrap:wrap;padding:12px}.editor,.preview{overflow-y:visible}.studio-mode button{white-space:normal}}.style-picker{border:0;min-width:0;margin:4px 0 0;padding:0}.style-picker legend{margin-bottom:2px;padding:0;font-weight:600}.style-picker>.muted{margin-bottom:8px}.style-options{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px;display:grid}.style-option{border:1.5px solid var(--line,#ddd);cursor:pointer;background:#fff;border-radius:12px;flex-direction:column;gap:4px;padding:8px;display:flex;position:relative}.style-option:hover{border-color:#9aa4b2}.style-option.selected{border-color:var(--accent,#1f6feb);box-shadow:0 0 0 2px color-mix(in srgb, var(--accent,#1f6feb) 25%, transparent)}.style-option:has(input:focus-visible){outline:2px solid var(--accent,#1f6feb);outline-offset:2px}.style-option input{opacity:0;pointer-events:none;position:absolute}.style-option .small{line-height:1.3}.style-swatch{border:1px solid #00000014;border-radius:8px;line-height:0;display:block;position:relative;overflow:hidden}.style-thumb{aspect-ratio:16/10;width:100%;height:auto;display:block}.style-name{font-size:17px;line-height:1.15}.style-picker:disabled .style-option{cursor:default;opacity:.6}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.review-bar{z-index:3;background:color-mix(in srgb, var(--panel) 92%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--line);border-radius:var(--radius);align-items:center;gap:16px;margin-top:-4px;padding:12px 16px;display:flex;position:sticky;top:0;box-shadow:0 6px 18px #10182814}.review-bar-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.review-bar input.review-title{box-shadow:none;background:0 0;border:1px solid #0000;margin-left:-6px;padding:2px 6px;font-size:18px;font-weight:700}.review-bar input.review-title:hover,.review-bar input.review-title:focus{border-color:var(--line-strong);background:var(--panel)}.review-bar .primary{flex-shrink:0}.video-details summary{cursor:pointer;align-items:baseline;gap:8px;list-style:none;display:flex}.video-details summary::-webkit-details-marker{display:none}.video-details summary:before{content:"▸";color:var(--muted);font-size:12px}.video-details[open] summary:before{content:"▾"}.video-details[open]{gap:10px}.scenes-head{align-items:baseline;gap:10px;margin-top:6px;display:flex}.scenes-head strong{font-size:15px}.scenes-head button{color:var(--accent);margin-left:auto}.plan-scene{border-left:4px solid var(--accent-line,#c7d2fe);gap:0;padding:0;transition:box-shadow .15s;overflow:hidden}.plan-scene:hover{box-shadow:0 4px 14px #10182814}.plan-scene.open{border-left-color:var(--accent);box-shadow:0 6px 18px #1018281a}.plan-scene-head{align-items:center;gap:8px;padding:10px 12px 10px 4px;display:flex}.plan-scene.open .plan-scene-head{background:var(--accent-soft);border-bottom:1px solid var(--line)}button.scene-toggle{text-align:left;min-width:0;box-shadow:none;cursor:pointer;color:inherit;font:inherit;background:0 0;border:0;flex:1;align-items:center;gap:10px;padding:6px 8px;display:flex}button.scene-toggle:hover .scene-toggle-title{color:var(--accent)}.scene-number{background:var(--accent);color:#fff;letter-spacing:.02em;white-space:nowrap;border-radius:999px;flex-shrink:0;padding:3px 10px;font-size:12px;font-weight:700}.scene-toggle-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.scene-toggle-title{text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:600;overflow:hidden}.scene-toggle-preview{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.scene-seconds{flex-shrink:0}.plan-scene-tools{flex-wrap:nowrap;flex-shrink:0;gap:2px}.plan-scene-tools button.ghost:not(.icon){color:var(--accent);font-weight:500}.card.scene .plan-scene-head{flex-wrap:wrap;row-gap:0}.card.scene button.scene-toggle{flex-basis:100%}.card.scene:not(.open) .scene-actions{display:none}.card.scene .scene-actions{margin-left:auto}.plan-scene-body{flex-direction:column;gap:12px;padding:14px 16px 16px;display:flex}.plan-scene-body[hidden]{display:none}.voiceover-label{color:var(--text-2);flex-direction:column;gap:6px;font-size:13px;font-weight:600;display:flex}textarea.voiceover{background:#fcfcfd;font-size:16px;line-height:1.5}.on-screen{border-top:1px dashed var(--line);flex-direction:column;gap:10px;padding-top:12px;display:flex}.on-screen-title{color:var(--text-2);font-size:13px}button.add-scene{color:var(--muted);background:0 0;border-style:dashed;padding:12px}.review-foot{text-align:center;padding-bottom:16px}.existing-video{border-color:var(--accent-line);background:var(--accent-soft)}.chat-compose{align-items:flex-end;gap:8px;display:flex}.chat-compose textarea{resize:vertical;flex:1}.script-chat .chip-row{gap:6px}.script-chat .chip{padding:4px 10px;font-size:12px}.chat-history summary{cursor:pointer;color:var(--muted)}.chat-history .row{flex-wrap:nowrap;margin-top:8px}.chat-history select{flex:1;min-width:0}.rewrite-box{border-top:1px solid var(--line);flex-direction:column;gap:8px;margin-top:8px;padding-top:12px;display:flex}@media (width<=960px){.review-bar{flex-direction:column;align-items:stretch;top:0}.plan-scene-head{flex-wrap:wrap}.plan-scene-tools{margin-left:32px}}.voice-group .voice-card{border:1px solid var(--line);background:var(--field,#f9fafb);border-radius:10px;gap:8px;padding:10px 12px;display:grid}.voice-state{color:#b45309;background:#fff4e5;border-radius:999px;padding:2px 8px;font-size:12px}.voice-state.on{color:#15803d;background:#e8f7ee}.inspector-section button.wide{text-align:center;justify-content:center;width:100%}.inspector-section{gap:12px;padding:20px 18px}.inspector-section+.inspector-section{border-top:6px solid var(--bg)}.settings-section>strong:first-child,.style-picker legend{font-size:16px;font-weight:700}.brief-toggle{gap:4px;padding:14px 16px}.brief-head{align-items:center;gap:10px;width:100%;display:flex}.brief-title{color:var(--text);flex:1;font-size:19px;font-weight:700}.open-tag{color:var(--accent);background:var(--accent-soft);border:1px solid var(--accent-line);border-radius:999px;padding:2px 10px;font-size:12.5px;font-weight:600}.brief-toggle .brief-sub{font-size:13.5px}.card.brief{border-left:4px solid var(--accent-line)}.summary-bar h3{margin-bottom:2px}.summary-bar{align-items:flex-start;padding-top:6px}button.small-button{padding:4px 10px;font-size:12.5px}.restyle-box{border:1px solid var(--accent-line);background:var(--accent-soft);border-radius:var(--radius);flex-direction:column;gap:6px;padding:12px 14px;display:flex}.restyle-box strong{font-size:15px}.scenes-head h3,.video-details summary .section-label{font-size:16px}.chat-title,.section-label{font-size:16px;font-weight:700}.open-tag{flex-shrink:0;margin-left:auto}button.scene-toggle:hover .open-tag,.brief-toggle:hover .open-tag{background:var(--accent);color:#fff;border-color:var(--accent)}h3,.summary-bar h3,.scenes-head h3,.chat-title,.section-label,.settings-section>strong:first-child,.style-picker legend{font-size:18px}.inspector-section>h3,.inspector-section>.row>h3{font-size:17px}.samples{max-width:1200px;margin:0 auto;padding:40px 40px 8px;scroll-margin-top:24px}.samples>.muted{text-align:center}.sample-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;margin:8px 0 14px;display:grid}.sample-card{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow-lg);border-radius:18px;flex-direction:column;align-items:flex-start;gap:8px;padding:20px;display:flex}.sample-card h3{color:var(--ink);margin:0;font-size:18px;line-height:1.3}.sample-card p{color:var(--text-2);margin:0;font-size:14px;line-height:1.5}.sample-card button{margin-top:auto}.free-tag,.key-tag,.owner-tag{vertical-align:middle;border-radius:999px;padding:2px 9px;font-size:12px;font-weight:700;display:inline-block}.free-tag{background:var(--good-soft);color:var(--good)}.key-tag{background:var(--accent-soft);color:var(--accent)}.owner-tag{color:#475467;background:#f2f4f7}.section-title .free-tag{vertical-align:6px;font-size:14px}.free-vs-key{background:var(--panel);border:1px solid var(--line);border-radius:20px;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1120px;margin:24px auto 0;padding:24px 28px;display:grid}.free-vs-key ul{color:var(--text-2);margin:8px 0 12px;padding-left:18px;font-size:14px;line-height:1.55}.free-vs-key>p{grid-column:1/-1;margin:0}@media (width<=900px){.free-vs-key{grid-template-columns:minmax(0,1fr);margin:24px 20px 0}.samples{padding:32px 20px 8px}}.guest-pill{background:var(--good-soft);color:var(--good);white-space:nowrap;border-radius:999px;align-self:center;padding:3px 10px;font-size:12px;font-weight:600}.samples-heading{margin-top:14px;display:block}.key-card{border:1px solid var(--accent-line);background:var(--accent-soft);border-radius:14px;gap:10px;margin:12px 0;padding:16px 18px;display:grid}.key-card-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.key-card-head strong{font-size:15px}.key-steps{gap:8px;margin:0;padding-left:20px;display:grid}.key-steps a{font-weight:600}.key-paste{gap:8px;margin-top:6px}.key-paste input{background:var(--panel);flex:1;min-width:200px}.key-privacy{margin:0}.start-paths{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px;display:grid}.start-path{text-align:left;white-space:normal;border:1.5px solid var(--line);background:var(--panel);border-radius:14px;justify-items:start;gap:6px;height:auto;padding:16px;display:grid}.start-path strong{font-size:16px}.start-path[aria-checked=true]{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.demo-ideas{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin:8px 0 16px;display:grid}.demo-idea{text-align:left;white-space:normal;border-radius:12px;justify-items:start;gap:4px;height:auto;padding:12px 14px;display:grid}.demo-idea[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.demo-brief{gap:12px;display:grid}.demo-brief dl{grid-template-columns:max-content 1fr;gap:6px 16px;margin:0;display:grid}.demo-brief dt{color:var(--muted)}.demo-brief dd{margin:0;font-weight:600}.demo-step{letter-spacing:.04em;text-transform:uppercase;color:var(--accent);font-size:12px;font-weight:700}.demo-banner{border:1px solid var(--accent-line);background:var(--accent-soft);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;padding:12px 14px;display:flex}.demo-banner .row{flex-wrap:wrap;gap:8px}.scene-read{gap:14px}.scene-read section{flex-direction:column;gap:6px;display:flex}.scene-read h4{color:var(--muted);text-transform:none;margin:0;font-size:13px;font-weight:700}.scene-read blockquote{border-left:3px solid var(--accent);background:var(--accent-soft);border-radius:0 10px 10px 0;margin:0;padding:10px 14px;font-size:16px;line-height:1.5}.scene-read p{margin:0;line-height:1.55}.scene-read ol{flex-direction:column;gap:6px;margin:0;padding-left:20px;line-height:1.5;display:flex}.details-read{grid-template-columns:max-content 1fr;gap:6px 14px;margin:0;display:grid}.details-read dt{color:var(--muted);font-weight:600}.details-read dd{margin:0;line-height:1.5}.script-review.read-only .review-title{background:0 0;border-color:#0000}.sample-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto;padding-top:4px}.product-more{margin:18px 0 0!important;font-size:15px!important}.product-more a{color:var(--accent);font-weight:600}.sample-pages{max-width:1120px;color:var(--muted);flex-wrap:wrap;justify-content:center;gap:6px 18px;margin:0 auto;padding:8px 20px 0;font-size:14px;display:flex}.sample-pages strong{color:var(--text-2);font-weight:600}.sample-pages a{color:var(--accent)}@media (width<=720px){.start-paths{grid-template-columns:1fr}}.change-video{border-color:var(--accent-line);background:var(--accent-soft);margin-bottom:12px}.change-video textarea{resize:vertical;width:100%}.change-video .row{flex-wrap:wrap;align-items:center;gap:10px}.lock-tag{color:var(--muted);background:var(--line);white-space:nowrap;border-radius:999px;margin-left:8px;padding:2px 8px;font-size:12px;font-weight:600}.change-video.ai-off textarea,.script-chat textarea:disabled{resize:none;background:var(--panel-2);cursor:not-allowed;width:100%}.change-video.ai-off{background:var(--panel-2);border-color:var(--line-strong);gap:6px;display:grid}.text-editor{justify-items:center;gap:8px;display:grid}.text-hint,.text-toolbar{min-height:36px}.text-toolbar{border:1px solid var(--line,#e4e7ec);background:#fff;border-radius:12px;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;max-width:min(560px,92vw);padding:6px 8px;display:flex;box-shadow:0 6px 18px #1018281f}.text-toolbar .text-words{flex:180px;min-width:140px}.text-toolbar select{width:auto}.text-toolbar input[type=color]{cursor:pointer;border-radius:8px;width:34px;height:30px;padding:2px}.text-toolbar .small-button.on{background:var(--accent-soft,#eef4ff);border-color:var(--accent,#4f46e5)}.text-toolbar .small-button.danger{color:#b42318}.text-size{gap:4px}.text-size .small{text-align:center;min-width:42px}.text-layer{position:relative}.text-layer.editable [data-text-key],.text-layer.editable [data-added-text]{cursor:move;touch-action:none}.text-outline{pointer-events:none;border:2px dashed var(--accent,#4f46e5);border-radius:6px;position:absolute;box-shadow:0 0 0 9999px #0000}.text-outline.hint{background:#4f46e50f;border-width:1.5px;border-color:#4f46e58c}.text-hint-pill{color:var(--accent,#4f46e5);background:var(--accent-soft,#eef4ff);border-radius:999px;padding:6px 12px;font-size:13px}.text-layer.editable.over-text,.text-layer.editable.over-text *{cursor:move!important}.review-guide{border:1px solid var(--accent-line);border-radius:var(--radius);background:var(--accent-soft);color:var(--text-2);flex-direction:column;gap:4px;padding:12px 16px;line-height:1.45;display:flex}.review-guide strong{color:var(--text);font-size:15px}.story-line{color:var(--text-2);white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;line-height:1.45;display:-webkit-box;overflow:hidden}.glance{color:var(--text-2);margin:4px 0 2px;font-size:15px}.story-line.muted{color:var(--muted)}.drawing-instructions{border-top:1px dashed var(--line);padding-top:10px}.drawing-instructions>summary{cursor:pointer;color:var(--text-2);font-size:13px;font-weight:600}.drawing-instructions[open]>summary{margin-bottom:10px}.drawing-instructions>label+label{margin-top:10px}.scene-read .drawing-instructions p,.scene-read .drawing-instructions ol{color:var(--text-2);font-size:13px}.settings-footer{background:var(--panel,#fff);border-top:1px solid var(--line,#e4e7ec);justify-content:space-between;align-items:center;gap:12px;margin-top:8px;padding:12px 0 4px;display:flex;position:sticky;bottom:0}.idea-lock{background:var(--accent-soft);border-radius:10px;margin-bottom:12px;padding:10px 12px}.idea-lock .lock-tag{margin-left:6px}input.key-wanted{outline:3px solid var(--accent-line);border-color:var(--accent)}.export-log{margin-top:10px;font-size:13px}.export-log summary{cursor:pointer;font-weight:600}.export-log ul{gap:6px;margin:6px 0 0;padding:0;list-style:none;display:grid}.export-log li{border:1px solid #80808040;border-radius:8px;gap:1px;padding:7px 9px;display:grid}.export-when{font-weight:600}.export-file{text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,Menlo,monospace;font-size:12px;overflow:hidden}.job-badge{color:#4338ca;vertical-align:1px;white-space:nowrap;background:#eef2ff;border-radius:99px;margin-left:8px;padding:1px 8px;font-size:11px;font-weight:700;display:inline-block}.job-badge.failed{color:#b42318;background:#fef3f2}.job-failed{background:#fffbfa;border-color:#fda29b;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:8px 0;display:flex}.job-failed .row{gap:8px}.own-voice{flex-wrap:wrap;align-items:center;gap:.5rem;margin:.25rem 0 .5rem;display:flex}.own-voice audio{max-width:260px;height:32px}.own-voice .error{flex-basis:100%;margin:0}.recording-dot{background:#e5484d;border-radius:50%;width:10px;height:10px;animation:1s ease-in-out infinite own-voice-pulse}@keyframes own-voice-pulse{50%{opacity:.3}}.usage-dialog{background:var(--panel);width:min(1100px,96vw);max-height:calc(100dvh - 48px);color:var(--text);border:1px solid var(--line);box-shadow:var(--shadow-lg);border-radius:16px;padding:24px 28px;overflow-y:auto}.usage-dialog::backdrop{background:#10182873}.usage-dialog h2{margin:0}.usage-dialog h3{margin:22px 0 8px;font-size:15px}.usage-dialog .space-between{justify-content:space-between}.usage-tiles{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin-top:16px;display:grid}.usage-tiles>div{border:1px solid var(--line);background:var(--panel-2);border-radius:12px;flex-direction:column;padding:12px 14px;display:flex}.usage-tiles strong{font-size:24px}.usage-tiles span{color:var(--muted);font-size:12.5px}.usage-tiles em{color:var(--bad);font-size:12px;font-style:normal}.usage-table-wrap{border:1px solid var(--line);border-radius:10px;max-height:340px;overflow:auto}.usage-table{border-collapse:collapse;width:100%;font-size:12.5px}.usage-table th,.usage-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:6px 10px}.usage-table th{background:var(--panel-2);white-space:nowrap;font-weight:600;position:sticky;top:0}.usage-table tr.failed td{background:var(--bad-soft)}@media (width<=760px){header{gap:6px;height:52px;padding:0 10px;position:sticky;top:0}.header-left,.header-right{flex-shrink:0;gap:6px}.brand{margin-right:0}header button,header .button{padding:6px 10px}.project-title strong{font-size:13px}.project-title .small{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:11px;overflow:hidden}.header-right .switcher-panel{width:auto;max-height:calc(100dvh - 72px);position:fixed;top:56px;left:8px;right:8px}.header-right .switcher-panel .project-list{grid-template-columns:1fr}main[data-pane]{padding-bottom:72px;display:block}main[data-pane=preview] .editor,main[data-pane=preview] .inspector,main[data-pane=scenes] .preview,main[data-pane=settings] .editor,main[data-pane=settings] .stage{display:none}main[data-pane=preview] .stage{min-height:calc(100dvh - 124px);padding:12px 8px}main[data-pane] .stage>*{max-width:100%}main[data-pane] .inspector{border-top:0}.phone-panes{z-index:20;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:var(--panel);border-top:1px solid var(--line);gap:4px;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -6px 20px #10182814}.phone-panes button{box-shadow:none;color:var(--muted);background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;gap:2px;padding:6px 4px;font-size:12px;font-weight:600}.phone-panes button span{font-size:18px;line-height:1}.phone-panes button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.plan-scene-head button.scene-toggle{flex-basis:100%}.plan-scene-tools{margin-left:auto}}.jobs-bar{z-index:30;grid-template-columns:minmax(0,1fr);gap:6px;width:min(540px,100vw - 16px);display:grid;position:fixed;bottom:16px;left:50%;transform:translate(-50%)}.jobs-bar-item{min-width:0}.jobs-bar-item .icon{padding:4px 8px}.jobs-bar-item{border:1px solid var(--line);background:var(--panel);border-radius:12px;align-items:center;gap:10px;padding:10px 12px;display:flex;box-shadow:0 10px 28px -10px #10182859}.jobs-bar-item.done{background:#f0fdf4;border-color:#86efac}.jobs-bar-item.failed{background:#fef2f2;border-color:#fecaca}.jobs-bar-text{flex-direction:column;flex:1;min-width:0;font-size:13px;line-height:1.3;display:flex}.jobs-bar-text>span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.jobs-bar-item button{flex-shrink:0}@media (width<=760px){.app:has(.phone-panes) .jobs-bar{bottom:calc(72px + env(safe-area-inset-bottom))}.jobs-bar{bottom:calc(8px + env(safe-area-inset-bottom))}}.loading-row{background:var(--accent-soft);color:#2d2a8c;border-radius:8px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;font-weight:500;display:flex}.start-path-go{color:var(--accent);margin-top:4px;font-size:13px;font-weight:600;display:none}.start-path[aria-checked=true] .start-path-go{display:block}#start-next{scroll-margin-top:72px}.usage-dialog h3 .count-badge{color:#b42318;background:#fef3f2;margin-left:8px}.check-row.inline{margin:0 0 0 10px;display:inline-flex}.feedback-list{gap:10px;display:grid}.feedback-item{border:1px solid var(--line);background:var(--panel);border-radius:12px;padding:12px 14px}.feedback-item.unread{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.feedback-item header{flex-wrap:wrap;align-items:baseline;gap:6px 12px;display:flex}.feedback-item p{white-space:pre-wrap;margin:6px 0}.feedback-item-error{color:#912018;white-space:pre-wrap;background:#fef3f2;border-radius:8px;max-height:140px;margin:6px 0;padding:8px 10px;font-size:12px;overflow:auto}#open-usage .count-badge{color:#b42318;background:#fef3f2;margin-left:6px}.save-note{background:var(--accent-soft);color:var(--accent);border-radius:10px;align-items:center;gap:8px;padding:8px 12px;font-size:13.5px;font-weight:600;display:inline-flex}.save-note.ok{color:#067647;background:#ecfdf3}.save-note.bad{color:#b42318;background:#fef3f2}
