@font-face{font-family:Space;src:url('assets/fonts/SpaceGrotesk-Medium.ttf') format('truetype');font-weight:400 500;font-display:swap}
@font-face{font-family:Space;src:url('assets/fonts/SpaceGrotesk-Bold.ttf') format('truetype');font-weight:600 800;font-display:swap}
@font-face{font-family:Mono;src:url('assets/fonts/JetBrainsMono-Medium.ttf') format('truetype');font-display:swap}
@font-face{font-family:Montserrat;src:url('assets/fonts/Montserrat-ExtraBold.ttf') format('truetype');font-weight:800;font-display:swap}
:root{--bg:#0d1216;--sidebar:#0b0f12;--panel:#141a1e;--panel2:#192126;--line:#273035;--muted:#8e9da5;--text:#ecf1f3;--yellow:#ffe100;--cyan:#00f0ff;--green:#7ce2aa;--radius:14px;font-family:Space,system-ui,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none;color-scheme:dark}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button{color:inherit}a{color:inherit;text-decoration:none}svg{width:19px;height:19px;vertical-align:middle;flex-shrink:0}button svg{pointer-events:none}button span[data-icon]{display:inline-flex}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--yellow);outline-offset:4px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:1px solid var(--yellow);border-color:var(--yellow)}[hidden]{display:none!important}strong{font-weight:600}h1,h2,h3,p{margin:0}p{line-height:1.65}h2{font-size:19px;font-weight:600}small{font-size:11px}em{font-style:normal;color:var(--yellow)}.shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:var(--sidebar);border-right:1px solid #20282d;padding:29px 17px 17px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:8px;padding:0 10px}.brand-mark{color:var(--yellow);display:flex;align-items:center}.brand-mark svg{width:39px;height:39px}.brand strong{font-size:26px;letter-spacing:-1.5px;white-space:nowrap}.brand-dot{color:var(--yellow)}.brand-studio{font-size:16px;letter-spacing:-.6px;color:#b6c0c4;margin-left:5px;font-weight:400}.brand small{display:block;font-family:Mono;font-size:6.9px;letter-spacing:.8px;color:#6e7d85;margin-top:3px}.workspace{display:flex;align-items:center;gap:9px;margin:35px 6px 28px;padding:13px 9px;background:#151b1f;border:1px solid #252e34;border-radius:9px}.workspace-icon{width:29px;height:29px;display:grid;place-items:center;background:#293137;color:var(--yellow);font-size:14px;border-radius:7px}.workspace strong{display:block;font-size:11px}.workspace small{color:var(--muted);font-size:9px;display:block;margin-top:3px}.local-tag{font:7px Mono;color:#87969e;margin-left:auto}.nav-label{font:9px Mono;letter-spacing:1.4px;color:#6f818b;padding:0 16px;margin-bottom:11px}.nav-item{display:flex;align-items:center;width:100%;gap:12px;border:1px solid transparent;background:transparent;padding:13px 14px;text-align:left;font-size:12px;color:#9dabb3;border-radius:8px;margin-bottom:4px;transition:background .15s,color .15s}.nav-item:hover{background:#151e23;color:#fff}.nav-item.active{background:#252615;color:var(--yellow);border-color:#3b3a20}.nav-item svg{width:17px;height:17px}.nav-plus{margin-left:auto;font-size:18px}.nav-count{font:9px Mono;margin-left:auto;padding:2px 5px;background:#242f35;border-radius:4px;color:#a6b4bb}.sidebar-note{position:relative;margin:37px 9px 24px;border-top:1px solid #252e34;padding-top:25px}.note-orbit{display:block;color:#526c76;margin-bottom:13px}.note-orbit svg{width:28px;height:28px}.sidebar-note strong{font-size:13px;line-height:1.6}.sidebar-note p{font-size:11px;color:#71818a;margin:9px 0 17px}.text-button{background:none;border:0;display:flex;align-items:center;gap:10px;font-size:10px;color:#b6c6ce;padding:0}.text-button:hover{color:var(--yellow)}.text-button svg{width:13px}.sidebar-bottom{margin-top:auto}.engine-state{display:flex;gap:9px;align-items:center;padding:16px 13px;margin-top:10px;border-top:1px solid #232c32}.status-dot{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;box-shadow:0 0 8px #7ce2aa23;flex-shrink:0}.engine-state strong{font-size:10px;display:block;color:#c1cdd3}.engine-state small{font-size:9px;color:#768790;display:block;margin-top:4px}.sidebar-version{font:8px Mono;letter-spacing:.7px;color:#52656f;padding:5px 13px;display:flex;justify-content:space-between}.main-wrap{margin-left:232px;width:calc(100% - 232px)}.topbar{height:73px;border-bottom:1px solid #232c32;display:flex;align-items:center;justify-content:space-between;padding:0 37px;background:#0d1216e8}.breadcrumbs{display:flex;gap:14px;align-items:center;font-size:11px;color:#82939d}.breadcrumbs strong{color:#cfd8dd;font-weight:400}.breadcrumb-slash{color:#43535d}.topbar-actions{display:flex;gap:24px;align-items:center}.local-indicator{display:flex;gap:8px;align-items:center;color:#8fa39c;font-size:10px}.account-button{display:flex;align-items:center;gap:9px;padding:8px 13px;background:#171f24;border:1px solid #2d3940;border-radius:7px;font-size:11px}.account-button:hover{border-color:#526671}.account-button svg{width:15px;height:15px}.mobile-only{display:none}main{max-width:1450px;margin:auto;padding:39px 37px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font:9px Mono;letter-spacing:1.7px;color:#7f9099;display:flex;align-items:center;gap:8px;margin-bottom:13px}.eyebrow>span{width:6px;height:6px;border-radius:50%;background:var(--yellow)}h1{font-size:clamp(26px,2.4vw,37px);font-weight:500;letter-spacing:-1.3px;line-height:1.18}.page-heading p{font-size:12px;color:#889ba6;margin-top:11px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;padding:12px 17px;border-radius:7px;font-size:11px;font-weight:600;white-space:nowrap;min-height:40px;transition:background .15s,transform .15s}.button svg{width:15px;height:15px}.button.primary{background:var(--yellow);color:#171a12;box-shadow:0 3px 20px #ffe1000a}.button.primary:hover{background:#ffeb58;transform:translateY(-1px)}.button.secondary{background:#172025;border-color:#334148;color:#c2d0d7}.button.secondary:hover{background:#223038}.button.ghost{background:transparent;color:#92a5b0;padding:11px 4px}.button.ghost:hover{color:#fff}.studio-layout{display:grid;grid-template-columns:minmax(390px,1fr) 286px;gap:28px;align-items:start}.editor{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.editor-top{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:17px 24px;border-bottom:1px solid #263138}.editor-top>div{display:flex;align-items:center;gap:8px;min-width:0}.project-indicator{height:7px;width:7px;background:#657a87;border-radius:2px;flex-shrink:0}.editor-top input{background:transparent;border:0;border-radius:3px;width:200px;max-width:100%;font-size:11px;color:#c3d0d7;padding:3px 0;min-width:0}.save-state{font:8px Mono;white-space:nowrap;color:#80949f}.step-tabs{display:flex;padding:0 24px;border-bottom:1px solid #293339;gap:15px}.step-tab{border:0;border-bottom:2px solid transparent;background:none;color:#7d929f;padding:21px 3px 17px;font-size:10px;display:flex;align-items:center;gap:8px;flex:1;justify-content:center;white-space:nowrap}.step-tab>span{font:8px Mono;display:grid;place-items:center;height:21px;width:23px;background:#222c32;border:1px solid #35414a;border-radius:4px}.step-tab.active{border-bottom-color:var(--yellow);color:var(--yellow)}.step-tab.active>span{background:#2d3019;border-color:#51532a;color:var(--yellow)}.editor-body{padding:25px 24px 15px}.section-heading{margin-bottom:21px}.section-heading h2{font-size:18px;letter-spacing:-.45px}.section-heading p{font-size:11px;color:#8b9da7;margin-top:6px}.source-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:24px}.source-option{background:#172025;border:1px solid #34434b;border-radius:8px;display:flex;gap:9px;text-align:left;padding:13px 10px;align-items:center;position:relative;min-height:70px}.source-option.active{background:#222416;border-color:#726925}.source-icon{color:#8a9aa2}.source-icon svg{width:21px;height:21px}.source-option.active .source-icon{color:var(--yellow)}.source-option strong{font-size:10px;display:block;line-height:1.4}.source-option small{font-size:8px;display:block;color:#80919a;margin-top:5px}.source-option.active strong{color:#f9f4cc}.radio-dot{display:inline-block;width:11px;height:11px;border:1px solid #4b5b65;border-radius:50%;margin-left:auto;flex-shrink:0}.active>.radio-dot{background:var(--yellow);border-color:var(--yellow);box-shadow:inset 0 0 0 2px #303119}.field-label{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;gap:10px}.field-label>span:first-child{font-size:11px;color:#c6d1d7}.field-label>span:last-child:not(:first-child){font:7px Mono;letter-spacing:.7px;color:#6f858f}.field-label label{margin:0}label{display:block;font-size:11px;font-weight:500;color:#c9d4da;margin-bottom:10px}input:not([type=checkbox]):not([type=range]),textarea,select{width:100%;background:#10171b;border:1px solid #35434c;color:#e0e8ec;border-radius:7px;padding:12px 13px;font-size:11px;line-height:1.7;transition:border .2s}textarea{resize:vertical;min-height:70px}textarea::placeholder,input::placeholder{color:#667d8a;opacity:1}textarea:hover,input:not([type=checkbox]):hover,select:hover{border-color:#536776}.editor-top input:not([type=checkbox]):not([type=range]){width:200px;background:none;border:0;padding:2px 0;font-size:11px}.inspiration{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px;align-items:center}.inspiration>span{font-size:8px;color:#6f8591;margin-right:2px}.inspiration button{background:#1b242a;border:1px solid #334149;border-radius:4px;font-size:8px;padding:5px 7px;color:#a0b1bb}.inspiration button>span{color:#728e9e;margin-left:4px}.inspiration button:hover{border-color:#a09330;color:var(--yellow)}.script-label{margin-top:25px}.ai-button{background:#252719;border:1px solid #4d4e2e;border-radius:5px;color:#e2d778;font-size:9px;padding:7px 9px;display:flex;align-items:center;gap:6px}.ai-button svg{width:12px;height:12px}.ai-button:hover{background:#3c3d21;color:var(--yellow)}.script-meta{display:flex;justify-content:space-between;font:8px Mono;color:#7a8f9a;margin-top:9px}.advanced-fields{margin-top:24px;border-top:1px solid #2c363d;padding-top:14px}.advanced-fields summary{font-size:10px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;color:#a0b2bd}.advanced-fields summary::-webkit-details-marker{display:none}.advanced-fields summary svg{width:13px}.advanced-fields[open] summary{margin-bottom:17px}.advanced-fields label{margin-top:14px}.editor-footer{display:flex;justify-content:space-between;align-items:center;padding:18px 24px 20px;margin-top:8px;border-top:1px solid #2a353b;background:#11191e}.preview-column{padding-top:2px}.preview-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.preview-heading h2{font-size:12px;color:#bac9d1;font-weight:500}.live-badge{display:flex;align-items:center;gap:5px;font:7px Mono;letter-spacing:1px;color:#c2c7a5;background:#21271c;border:1px solid #38442b;padding:5px 7px;border-radius:4px}.live-badge>span{width:4px;height:4px;border-radius:50%;background:#c2d872}.preview-surface{border-radius:11px;border:1px solid #364149;background:#06090b;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:10px;min-height:426px}.video-preview{width:100%;aspect-ratio:9/16;max-height:485px;position:relative;overflow:hidden;border-radius:5px;background:#101a20;isolation:isolate}.video-preview>img{height:100%;width:100%;object-fit:cover;position:absolute;z-index:-3;transform:scale(1.05)}.video-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#0007,transparent 35%,#0003 50%,#000b 100%)}.preview-watermark{position:absolute;top:8%;left:0;width:100%;display:flex;justify-content:center;align-items:center;gap:5px;color:#e2e5e2c9;font:7px Mono}.preview-watermark .tiny-globe svg{width:11px;height:11px;color:#ffdc69}.preview-hook{position:absolute;top:18%;left:6%;right:6%;font-family:Montserrat;font-size:24px;font-weight:800;line-height:1.15;text-align:center;color:var(--yellow);text-shadow:1px 1px 4px #000}.preview-captions{position:absolute;top:58%;transform:translateY(-50%);left:6%;right:6%;font-family:Montserrat;font-size:20px;font-weight:800;letter-spacing:-.45px;line-height:1.3;text-align:center;text-shadow:-1px -1px 0 #1a1206,1px -1px 0 #1a1206,-1px 1px 0 #1a1206,1px 1px 0 #1a1206,0 2px 4px #000}.preview-captions span{display:block}.preview-captions b{color:var(--yellow)}.preview-captions.classic{color:var(--yellow)}.preview-captions.classic b{color:#00ff6e}.preview-captions.minimal{font-size:19px}.preview-captions.minimal b{color:#fff}.preview-captions.social{background:#14181ded;padding:8px 4px;border-radius:8px}.preview-captions.social b{color:var(--cyan)}.video-bottom{position:absolute;bottom:7%;left:8%;right:8%;display:flex;justify-content:space-between;align-items:center}.video-bottom>span:first-child{font:6px Mono;letter-spacing:1.7px;color:#dce4e2a3}.video-bottom svg{width:13px;height:13px;color:#b0c0c6a3}.video-progress{height:3px;position:absolute;bottom:0;left:0;right:0;background:#e2e7de23}.video-progress span{display:block;height:100%;width:5%;background:var(--yellow);transition:width .25s linear}.preview-controls{display:flex;align-items:center;gap:11px;padding:13px 3px}.play-button{height:28px;width:28px;border-radius:50%;border:1px solid #495961;background:#222d34;display:grid;place-items:center}.play-button:hover{color:var(--yellow)}.play-button svg{width:12px;height:12px}.preview-controls>span{font:8px Mono;color:#d2dee5}.preview-controls>span>small{color:#6b8290;font-size:8px}.preview-controls .preview-ratio{margin-left:auto;color:#708a99}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:none;color:#9eb2bd;padding:5px}.icon-button:hover{color:#fff}.preview-controls .icon-button svg{width:13px;height:13px}.preview-notice{display:flex;align-items:flex-start;gap:7px;font-size:9px;line-height:1.5;color:#849aa6;border-bottom:1px solid #2a363d;padding:3px 0 17px}.preview-notice svg{width:12px;height:12px;margin-top:2px;color:#6f8694}.preview-details{display:grid;gap:12px;margin-top:20px}.preview-details>div{display:flex;justify-content:space-between;align-items:center}.preview-details span{font:7px Mono;letter-spacing:1.3px;color:#6d8795}.preview-details strong{font-size:10px;font-weight:400;color:#bbcbd4}.photo-credit{margin-top:15px;font-size:8px;color:#607e8e;line-height:1.5}.photo-credit summary{cursor:pointer}.photo-credit p{padding-top:7px}.photo-credit a{text-decoration:underline}.tip-card{display:flex;gap:11px;margin-top:24px;padding:16px 13px;border:1px solid #324149;border-radius:8px;background:linear-gradient(130deg,#1b282f,#141d23)}.tip-card>span{color:#c6b768;padding-top:1px}.tip-card svg{width:16px;height:16px}.tip-card strong{font-size:10px;color:#c3d2da}.tip-card p{font-size:9px;color:#8ba3b1;margin-top:5px}.field-hint{font-size:10px;color:#8198a5;margin:10px 0 20px;line-height:1.7}.upload-zone{width:100%;padding:24px 10px;border:1px dashed #4c6777;border-radius:8px;background:#111c23;display:flex;flex-direction:column;align-items:center;gap:9px;color:#a3bac7}.upload-zone:hover,.upload-zone.dragging{border-color:var(--yellow);background:#22261b}.upload-zone strong{font-size:12px;font-weight:500}.upload-zone>span{font-size:10px}.upload-zone b{color:var(--yellow);font-weight:400}.upload-zone small{font-size:8px;color:#6a8a9d}.upload-icon{padding:10px;border-radius:8px;background:#24353f;margin-bottom:4px}.image-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.selected-image{position:relative;background:#111b22;border:1px solid #344a56;border-radius:6px;overflow:hidden}.selected-image>img{width:100%;height:90px;object-fit:cover;display:block}.selected-image .scene-number{position:absolute;top:5px;left:5px;font:8px Mono;background:#111a24bf;padding:3px 5px;border-radius:3px}.image-actions{display:flex;justify-content:space-between;align-items:center;padding:5px}.image-actions button{background:transparent;border:0;padding:3px 6px;color:#96b0bd;font-size:11px}.image-actions button:disabled{opacity:.3;cursor:default}.image-actions button:hover{color:var(--yellow)}.image-actions small{font:7px Mono;color:#5d7e90}.caption-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 24px}.caption-option{background:#172229;border:1px solid #374851;border-radius:8px;padding:12px;text-align:left;display:flex;flex-direction:column;align-items:start;gap:7px}.caption-option.active{border-color:#8c822a;background:#242619}.caption-option strong{font-size:11px}.caption-option small{color:#869da9;font-size:9px}.caption-sample{font:800 16px Montserrat;letter-spacing:-.7px;background:linear-gradient(135deg,#31404a,#0f171c);width:100%;height:65px;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:5px;text-shadow:1px 2px 2px #000}.caption-sample.giro b{color:var(--yellow)}.caption-sample.classic{color:var(--yellow)}.caption-sample.classic b{color:#00ff6e}.caption-sample.social b{color:var(--cyan);background:#12181d;border-radius:3px;padding:3px}.tiny-badge{display:inline-block;font:7px Mono;letter-spacing:.5px;color:#c1b962;border:1px solid #515031;border-radius:3px;padding:4px 5px}.no-caption{grid-column:1/-1;flex-direction:row;align-items:center;gap:12px;padding:14px}.no-caption svg{color:#859fab}.no-caption small{display:block;margin-top:4px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:21px;margin:22px 0}.two-fields label,.range-label{display:flex;justify-content:space-between;align-items:center;gap:5px}output{font:9px Mono;color:#adbe91}input[type=range]{accent-color:var(--yellow);width:100%;height:5px;margin:9px 0 14px;cursor:pointer}.switch-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #2f3e46;padding:18px 0 2px;margin-top:22px;margin-bottom:10px;cursor:pointer;gap:14px}.switch-row small{display:block;font-size:10px;color:#819aa8;margin-top:5px}.switch-row strong{font-size:11px}.switch-row>input{position:absolute;opacity:0}.switch{background:#334550;width:34px;height:19px;border-radius:20px;position:relative;border:1px solid #4f6470;flex-shrink:0}.switch:after{content:'';position:absolute;height:13px;width:13px;left:2px;top:2px;border-radius:50%;background:#8599a5;transition:transform .2s}.switch-row input:checked+.switch{background:#ffe100;border-color:#ffe100}.switch-row input:checked+.switch:after{background:#38391b;transform:translateX(15px)}.switch-row input:focus-visible+.switch{outline:2px solid #fff;outline-offset:4px}.voice-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}.voice-option{display:flex;align-items:center;gap:10px;text-align:left;background:#162128;border:1px solid #354851;border-radius:8px;padding:13px 11px}.voice-option.active{background:#242819;border-color:#777632}.voice-avatar{width:30px;height:35px;display:flex;align-items:center;justify-content:center;border-radius:6px;background:#2c3b44;color:#98b0be;font-size:14px;flex-shrink:0}.voice-avatar svg{width:17px}.voice-avatar.yellow{color:var(--yellow);background:#413f21}.voice-avatar.cyan{color:#98e4eb;background:#1c3d45}.voice-avatar.purple{color:#c1bcf4;background:#313045}.voice-option strong{font-size:11px;display:block}.voice-option small{font-size:8px;display:block;color:#7d9aac;margin-top:5px}.aspect-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:13px;margin-bottom:26px}.aspect-option{border:1px solid #3b505d;border-radius:7px;background:#16232b;display:flex;align-items:center;flex-direction:column;gap:9px;padding:16px 5px}.aspect-option.active{border-color:#817937;background:#24271a}.aspect-drawing{height:32px;width:19px;border:1px solid #8ba5b2;border-radius:3px;margin:0 0 1px}.aspect-drawing.landscape{width:42px;height:24px;margin:4px 0 5px}.aspect-drawing.square{width:30px;height:30px;margin:1px 0 2px}.aspect-option.active .aspect-drawing{border-color:var(--yellow);background:#ffe10008}.aspect-option strong{font-size:10px}.aspect-option small{font-size:7px;color:#859aa7;text-align:center;line-height:1.5}.render-summary{display:flex;align-items:flex-start;gap:12px;padding:18px 15px;border:1px solid #354933;background:#1b271e;border-radius:8px;margin-top:20px}.render-summary svg{color:#b2c599}.render-summary strong{font-size:11px;color:#c5d5be}.render-summary p{font-size:10px;color:#889f82;margin-top:5px}.job-banner{padding:18px 24px;background:#152523;border-top:1px solid #3e534c;font-size:11px}.job-banner .job-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.job-banner strong{color:#d9e7db}.job-banner p{font-size:10px;color:#97b3ac;margin-top:10px}.job-track{height:4px;background:#354740;border-radius:4px;margin:12px 0 4px;overflow:hidden}.job-track span{height:100%;display:block;background:var(--yellow);transition:width .5s}.job-banner.failed{background:#2b1e1e;border-color:#6b4646}.job-banner.failed strong{color:#f4bab1}.job-banner .button{font-size:9px;padding:7px 10px;min-height:30px}.page-footer{padding:36px 0 25px;display:flex;justify-content:space-between;color:#506d7b;font:7px Mono;letter-spacing:1px}.page-footer>span:last-child{font:10px Space;letter-spacing:0;color:#748995}.page-footer b{color:var(--yellow);margin-left:6px}.view{animation:enter .25s ease}.library-toolbar{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #2c3d46;margin-bottom:24px;padding-bottom:18px}.filter-tabs{display:flex;gap:8px;flex-wrap:wrap}.filter-tabs>button{padding:8px 12px;font-size:10px;background:none;border:1px solid transparent;border-radius:6px;color:#8aa4b2}.filter-tabs>button.active{background:#272c20;border-color:#5e5c34;color:var(--yellow)}#project-search{max-width:220px;font-size:10px;padding:7px 12px}.projects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.project-card{background:var(--panel);border:1px solid #33454f;border-radius:10px;overflow:hidden}.project-card-top{height:145px;background:radial-gradient(ellipse at 90% 10%,#384c3e33,transparent),linear-gradient(135deg,#1f313b,#111c22);position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.project-card-top img{width:100%;height:100%;object-fit:cover}.project-card-top .project-orbit svg{width:48px;height:48px;color:#688797}.project-status{position:absolute;top:11px;left:12px;font:7px Mono;padding:5px 7px;border:1px solid #76858b3d;border-radius:4px;background:#101a20e3;color:#b4c7d0}.project-status.complete{color:#a0edbf;border-color:#59987570}.project-status.running,.project-status.queued{color:var(--yellow);border-color:#a6a45855}.project-status.failed{color:#f3aea4}.project-card-body{padding:18px}.project-card-body h3{font-size:14px;line-height:1.45;overflow-wrap:anywhere}.project-card-body p{font-size:9px;color:#7f9dad;margin-top:7px}.project-card-footer{display:flex;flex-wrap:wrap;gap:7px;margin-top:17px}.project-card-footer .button{font-size:9px;padding:8px 11px;min-height:32px}.job-mini-progress{height:3px;background:#253c48;margin-top:12px;border-radius:3px;overflow:hidden}.job-mini-progress span{display:block;height:100%;background:var(--yellow)}.empty-state{grid-column:1/-1;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:75px 20px;border:1px dashed #364f5e;border-radius:12px;min-height:330px}.empty-state>span svg{width:38px;height:38px;color:#718d9e;margin-bottom:20px}.empty-state h2{font-size:21px}.empty-state p{font-size:12px;color:#7d9aab;max-width:380px;margin:10px 0 24px}.assets-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.asset-card{background:var(--panel);border:1px solid #334752;border-radius:9px;overflow:hidden}.asset-card>img{width:100%;aspect-ratio:4/3;object-fit:cover}.asset-card>div{padding:13px}.asset-card h3{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-card small{color:#7995a5;font:8px Mono;display:block;margin-top:8px}.asset-card-actions{display:flex;justify-content:space-between;align-items:center;margin-top:13px}.asset-card-actions .button{font-size:8px;padding:7px 8px;min-height:29px}.brand-hero{padding:42px;background:radial-gradient(ellipse at 15% 60%,#ffe1000e,transparent 65%),#151d21;border:1px solid #38464a;border-radius:14px;display:flex;align-items:center;gap:65px;margin-bottom:24px}.brand-large{font-size:110px;font-weight:600;letter-spacing:-8px}.brand-large>span{color:var(--yellow)}.brand-hero h2{font-size:27px;letter-spacing:-.6px;line-height:1.3}.brand-hero p{font-size:11px;color:#91a6b1;margin-top:12px}.brand-cards{display:grid;grid-template-columns:1fr 1fr;gap:22px}.panel{padding:27px;background:var(--panel);border:1px solid #33454e;border-radius:12px}.panel h2{margin-bottom:17px;font-size:19px}.panel p{font-size:12px;color:#91a7b4;line-height:1.8;margin-bottom:15px}.swatches{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:24px}.swatches>div>span{height:50px;display:block;background:var(--swatch);border-radius:6px;border:1px solid #49575e}.swatches strong{display:block;margin-top:10px;font-size:8px}.swatches small{display:block;margin-top:5px;color:#7b95a4;font:8px Mono}.panel .font-specimen{font-family:Montserrat;font-size:25px;margin:22px 0}.brand-caption{font:800 25px Montserrat;display:block;line-height:1.5;margin:24px 0}.brand-caption b{color:var(--yellow)}.settings-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px}#profile-details{font-size:13px;margin-bottom:20px;line-height:1.9}#profile-details p{font-size:12px}.provider-row{display:flex;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid #34454e;font-size:11px}.provider-row>span:last-child{font:8px Mono;color:#94c9ad}.provider-row>span.missing{color:#d4b085}dialog{color:var(--text);background:#131e25;border:1px solid #476070;border-radius:15px;padding:34px;max-width:calc(100% - 32px);box-shadow:0 25px 100px #0007}dialog::backdrop{background:#04090dc7;backdrop-filter:blur(7px)}.auth-dialog{width:440px}.dialog-close{position:absolute;top:15px;right:15px}.auth-mark{display:flex;align-items:center;justify-content:center;height:50px;width:50px;background:#363920;border:1px solid #646532;border-radius:12px;color:var(--yellow);margin-bottom:25px}.auth-mark svg{height:30px;width:30px}.auth-dialog .eyebrow{font-size:7px}.auth-dialog h2{font-size:27px;letter-spacing:-.9px}.auth-dialog>p{font-size:11px;color:#8ea7b6;margin:10px 0 20px}.auth-tabs{display:flex;gap:0;border-bottom:1px solid #435b68;margin-bottom:22px}.auth-tabs button{background:none;border:0;border-bottom:2px solid transparent;color:#8ea5b4;padding:11px 13px;font-size:11px}.auth-tabs button.active{border-bottom-color:var(--yellow);color:var(--yellow)}.auth-dialog label{font-size:11px;margin:17px 0 9px}.auth-dialog form>.button{width:100%;margin-top:10px}.form-error{font-size:11px;color:#f3b1a3;line-height:1.5;min-height:15px;margin-top:15px}.auth-footnote{display:block;text-align:center;color:#6f8b9d;font-size:9px;margin-top:24px}.video-dialog{width:850px;padding:25px}.dialog-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px;gap:20px}.dialog-header h2{font-size:18px}.video-dialog video{width:100%;max-height:65vh;background:#000;border-radius:8px}.video-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.confirm-dialog{width:550px}.confirm-dialog p{color:#94abba;font-size:12px;margin:15px 0 23px}.confirm-actions{display:flex;gap:9px;flex-wrap:wrap}.toast{position:fixed;left:calc(50% + 116px);bottom:27px;transform:translateX(-50%);max-width:calc(100% - 32px);padding:14px 20px;border:1px solid #546d73;border-radius:9px;background:#22353ceF;box-shadow:0 5px 20px #0006;z-index:100;font-size:12px;line-height:1.5;color:#e8f1ed}.toast.error{background:#3d2426;border-color:#95675f;color:#ffd4c5}.loading{opacity:.65;pointer-events:none}.video-preview.playing>img{animation:pan 12s alternate infinite ease-in-out}.video-preview.playing .preview-captions b{animation:wordpop 1.6s infinite}.button.loading span[data-icon]{animation:spin 1.2s linear infinite}@keyframes pan{from{transform:scale(1.05) translate(0,0)}to{transform:scale(1.14) translate(-1%,1%)}}@keyframes wordpop{0%,85%,100%{filter:brightness(1)}15%{filter:brightness(1.35)}}@keyframes enter{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1550px){.studio-layout{grid-template-columns:minmax(470px,1fr) 340px;gap:40px}.video-preview{max-height:540px}.preview-surface{padding:14px}.preview-captions{font-size:24px}.source-option strong{font-size:12px}.source-option small{font-size:10px}.editor-body{padding:30px}.editor-top,.step-tabs{padding-left:30px;padding-right:30px}.step-tab{font-size:12px}.editor-top input:not([type=checkbox]):not([type=range]){font-size:13px}.field-label label,label,.field-label>span:first-child{font-size:13px}textarea,input:not([type=checkbox]):not([type=range]),select{font-size:13px}.button{font-size:12px}.section-heading h2{font-size:21px}.section-heading p,.page-heading p{font-size:13px}.inspiration button,.inspiration>span{font-size:10px}}
@media(max-width:1150px){.sidebar{width:206px;padding-left:10px;padding-right:10px}.main-wrap{margin-left:206px;width:calc(100% - 206px)}main{padding:30px 25px 0}.topbar{padding:0 25px}.studio-layout{grid-template-columns:minmax(350px,1fr) 242px;gap:20px}.preview-surface{min-height:370px;padding:7px}.preview-captions{font-size:18px}.editor-body{padding:22px 18px 14px}.editor-top,.step-tabs{padding-left:18px;padding-right:18px}.editor-footer{padding:18px}.source-options{grid-template-columns:1fr}.source-option{min-height:60px;padding:11px 13px}.source-option strong{font-size:11px}.source-option small{font-size:9px}.sidebar-note{margin-top:28px}.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.assets-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.voice-options{grid-template-columns:1fr}.voice-option small{font-size:9px}.toast{left:calc(50% + 103px)}}
@media(max-width:950px){.sidebar{width:190px}.main-wrap{margin-left:190px;width:calc(100% - 190px)}.studio-layout{grid-template-columns:minmax(0,1fr)}.preview-column{display:grid;grid-template-columns:240px minmax(0,1fr);column-gap:24px}.preview-heading{grid-column:1/-1}.preview-surface{grid-column:1;grid-row:2/6}.preview-controls{grid-column:1}.preview-notice,.preview-details,.photo-credit,.tip-card{grid-column:2}.preview-notice{grid-row:2;align-self:start}.preview-details{grid-row:3;margin-top:0}.photo-credit{grid-row:4}.tip-card{grid-row:5;margin-top:12px}.source-options{grid-template-columns:1fr 1fr}.page-heading{align-items:flex-start}.page-heading>.button{font-size:9px;padding:10px;min-height:34px}.brand-studio{font-size:13px}.brand strong{font-size:24px}.brand small{font-size:6px}.brand-mark svg{width:32px;height:32px}.workspace{margin-top:29px}.sidebar-note{padding-top:20px;margin-top:22px}.brand-hero{gap:26px;padding:25px}.brand-large{font-size:85px}.brand-hero h2{font-size:22px}.brand-cards,.settings-layout{grid-template-columns:1fr}.assets-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toast{left:calc(50% + 95px)}}
@media(max-width:720px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:230px;box-shadow:20px 0 70px #0009}.sidebar.open{transform:translateX(0)}.main-wrap{margin-left:0;width:100%}.topbar{height:62px;padding:0 19px;gap:13px}.breadcrumbs{gap:8px;font-size:10px;flex:1}.topbar-actions{gap:10px}.local-indicator{display:none}.mobile-only{display:inline-flex}.account-button{font-size:10px;padding:7px 10px}main{padding:27px 18px 0}.page-heading{gap:12px;margin-bottom:25px}.page-heading h1{font-size:28px;letter-spacing:-1px}.page-heading p{font-size:11px;line-height:1.65;max-width:400px}.page-heading>.button{padding:8px;min-width:30px;font-size:0;gap:0}.page-heading>.button svg{width:16px;height:16px}.eyebrow{font-size:8px}.editor-body{padding:22px 17px 13px}.step-tabs{gap:8px}.source-options{gap:8px}.source-option{padding:12px 8px;gap:6px}.source-option strong{font-size:10px}.source-option small{font-size:8px}.source-icon svg{height:17px;width:17px}.source-option .radio-dot{width:9px;height:9px}.step-tab{font-size:10px;padding:17px 0;gap:6px}.step-tab>span{height:18px;width:20px}.editor-top{padding:16px 17px}.editor-top input:not([type=checkbox]):not([type=range]){width:160px}.preview-column{grid-template-columns:200px minmax(0,1fr);column-gap:16px}.preview-surface{min-height:340px}.preview-captions{font-size:16px}.tip-card{padding:12px 9px;gap:6px}.preview-details strong{font-size:8px}.preview-details>div{gap:6px}.preview-details span{font-size:6px;letter-spacing:.5px}.preview-notice{font-size:8px}.photo-credit{font-size:7px}.page-footer{font-size:6px;letter-spacing:.3px}.toast{left:50%;width:max-content;max-width:calc(100% - 30px)}.library-toolbar{flex-direction:column}.filter-tabs{gap:4px}.filter-tabs>button{font-size:9px;padding:8px 10px}#project-search{max-width:none}.project-card-top{height:130px}.project-card-body{padding:13px}.project-card-body h3{font-size:12px}.project-card-footer{gap:5px}.project-card-footer .button{font-size:8px;padding:7px 9px}.brand-hero{flex-direction:column;align-items:flex-start;gap:12px;padding:25px}.brand-large{font-size:90px;line-height:1.1}.swatches{gap:7px}.panel{padding:22px}.panel .font-specimen,.brand-caption{font-size:22px}.auth-dialog{padding:29px}.auth-dialog h2{font-size:25px}.dialog-header h2{font-size:14px}.video-dialog{padding:18px}.two-fields{gap:15px}.editor-footer{padding:16px 17px}.button{font-size:10px;padding:11px 13px}.button.ghost{padding-left:0}.inspiration>span{width:100%;margin-bottom:2px}.brand-cards{gap:18px}}
@media(max-width:390px){.source-options{grid-template-columns:1fr}.preview-column{display:block}.preview-surface{max-width:260px;margin:auto}.preview-controls{max-width:260px;margin:auto}.preview-notice{margin-top:8px}.preview-details{margin-top:20px}.caption-options{gap:8px}.caption-option{padding:8px}.caption-sample{font-size:13px}.caption-option small{font-size:8px}.projects-grid{grid-template-columns:1fr}.editor-top input:not([type=checkbox]):not([type=range]){width:135px}.step-tabs{gap:3px}.step-tab{font-size:9px}.editor-footer .button{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.icon-button.mobile-only{display:none}
input:not([type=checkbox]):not([type=range]),textarea,select{font-size:13px}
label,.field-label>span:first-child{font-size:12px}
.button{font-size:12px}.nav-item{font-size:13px}.source-option strong{font-size:12px}.source-option small{font-size:10px}.step-tab{font-size:12px}.section-heading p{font-size:12px}.page-heading p{font-size:13px}.ai-button{font-size:10px}.inspiration button,.inspiration>span{font-size:9px}.script-meta,.save-state{font-size:9px}.voice-option small,.caption-option small{font-size:10px}.voice-option strong,.caption-option strong{font-size:12px}.field-hint{font-size:11px}.preview-heading h2{font-size:13px}.preview-watermark svg{width:11px;height:11px}.project-card-footer .button{font-size:10px}.projects-grid .empty-state p{font-size:13px}
@media(max-width:720px){.icon-button.mobile-only{display:inline-flex}.step-tab{font-size:11px}.source-option strong{font-size:11px}.source-option small{font-size:9px}.button{font-size:11px}.page-heading>.button{font-size:0}.page-heading p{font-size:12px}.editor-top input:not([type=checkbox]):not([type=range]){font-size:12px}.project-card-footer .button{font-size:9px}.preview-watermark svg{width:10px;height:10px}}

.render-readiness{margin-top:22px;padding:17px 18px;border:1px solid #665730;border-radius:10px;background:#242115;font-size:12px;line-height:1.6}
.render-readiness strong{color:var(--yellow)}.render-readiness ul{margin:8px 0 0;padding-left:18px;color:#d0d6d9}.render-readiness li+li{margin-top:4px}.render-readiness.ready{border-color:#305247;background:#14241f}.render-readiness.ready strong{color:var(--green)}
#duration-warning{margin-top:12px;padding-top:10px;border-top:1px solid #546052;color:#e5c582;font-size:11px}
.save-conflict{margin:0 18px 16px;padding:15px;background:#302416;border:1px solid #785d2c;border-radius:9px;font-size:12px}.save-conflict p{margin:6px 0;color:#d0bfa5}.save-conflict>div{display:flex;gap:12px;flex-wrap:wrap}.save-conflict .button{font-size:11px}
.save-state{max-width:155px;text-align:right;line-height:1.5}.editor-top>div{min-width:0}.project-card-footer{flex-wrap:wrap}

/* Usability: clear navigation, actionable checks, and readable touch controls. */
.skip-link{position:fixed;top:10px;left:10px;z-index:40;background:var(--yellow);color:#101619;padding:11px 15px;border-radius:8px;transform:translateY(-160%)}
.skip-link:focus{transform:none}
.step-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.render-readiness button{border:0;background:none;padding:6px 2px;text-align:left;color:#f3e3b0;text-decoration:underline;text-underline-offset:3px;line-height:1.5}
.render-readiness button:hover{color:var(--yellow)}
.render-readiness button span{display:inline-block;margin-left:4px}
.menu-backdrop{display:none}
.image-actions button,.play-button,.preview-controls .icon-button,.inspiration button,.filter-tabs>button{min-width:40px;min-height:40px}
.image-actions button{font-size:16px}
.preview-controls .play-button{width:40px;height:40px}
.preview-controls .icon-button svg{width:17px;height:17px}
.inspiration button{padding:8px 11px}
.field-hint,.preview-notice,.photo-credit,.script-meta,.preview-details span,.tip-card p{color:#a9bdc8}
@media(max-width:720px){
  .menu-backdrop{display:block;position:fixed;inset:0;z-index:19;border:0;background:#03080bbd}
  .editor-footer{gap:12px;flex-wrap:wrap}
  .step-actions{margin-left:auto}
  .source-option,.caption-option,.voice-option,.aspect-option,.step-tab{min-height:48px}
  .source-option small,.caption-option small,.voice-option small,.aspect-option small{font-size:10px;line-height:1.45}
  .field-hint,.preview-notice,.photo-credit,.tip-card p{font-size:11px}
  .preview-details span{font-size:9px}
  .preview-details strong{font-size:11px}
  .inspiration button,.filter-tabs>button{font-size:11px}
  .step-tab{font-size:11px}
  .page-heading>.button{min-width:44px;min-height:44px}
}

.settings-form label{display:block;margin:14px 0 8px}.settings-form .button{margin-top:6px}.auth-forgot{width:100%;margin-top:8px}.usage-row{display:flex;justify-content:space-between;gap:12px;font-size:12px;padding:9px 0;border-bottom:1px solid #26333a}.usage-row span:last-child{color:var(--yellow)}

@font-face{font-family:Vietnam;src:url('assets/fonts/BeVietnamPro-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Bodoni;src:url('assets/fonts/BodoniModa-Variable.ttf') format('truetype');font-weight:400 900;font-display:swap}
@font-face{font-family:Charm;src:url('assets/fonts/Charm-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
.caption-sample.neon b,.preview-captions.neon b{color:#ff3ea5}.caption-sample.sunset b,.preview-captions.sunset b{color:#ff8a00}.caption-sample.ocean b,.preview-captions.ocean b{color:#3ee6c1}
.caption-sample.pop,.preview-captions.pop{color:#111;text-shadow:none}.caption-sample.pop{background:#ffe100}.preview-captions.pop{background:#ffe100;padding:6px 4px;border-radius:8px}.caption-sample.pop b,.preview-captions.pop b{color:#d7263d}
.preview-captions.custom-colors{color:var(--cap-text)!important}.preview-captions.custom-colors b{color:var(--cap-hi)!important}
.preview-captions.font-grotesk{font-family:Space}.preview-captions.font-vietnam{font-family:Vietnam}.preview-captions.font-bodoni{font-family:Bodoni;font-weight:900}.preview-captions.font-charm{font-family:Charm}
.style-custom{margin:0 0 20px}.color-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.color-pick{display:flex!important;align-items:center;gap:6px;margin:0!important;cursor:pointer}.color-pick input{width:34px;height:34px;padding:0;border:1px solid #35434c;border-radius:7px;background:none;cursor:pointer}
.swatches{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px;font-size:11px}.swatches button{width:30px;height:30px;border-radius:50%;border:1px solid #35434c;background:linear-gradient(135deg,var(--a) 50%,var(--b) 50%)}
.my-style{margin:4px 0 22px}.my-style .field-hint{display:block;margin-top:8px}
.el-voices{margin:-6px 0 22px}.el-voices-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.el-voices-head select{width:auto}
.el-voice-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:330px;overflow:auto;padding-right:4px}
.el-voice{display:flex;align-items:center;gap:8px;border:1px solid #35434c;border-radius:9px;padding:9px 10px;text-align:left;background:none}.el-voice.active{border-color:var(--yellow);box-shadow:inset 0 0 0 1px var(--yellow)}
.el-voice div{flex:1;min-width:0}.el-voice strong{display:block;font-size:12px}.el-voice small{display:block;font-size:10px;opacity:.75;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.el-voice .play-sample{flex:none;width:30px;height:30px;border-radius:50%;border:1px solid #35434c;display:grid;place-items:center;background:none}
@media (max-width:720px){.el-voice-list{grid-template-columns:1fr}}
.color-pick input[type=color]{width:42px!important;height:36px;padding:3px!important;line-height:1}
.color-pick input[type=color]::-webkit-color-swatch-wrapper{padding:0}.color-pick input[type=color]::-webkit-color-swatch{border:none;border-radius:4px}
