@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;450;500;550;600;650;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--bg:#111312;--panel:#1a1d1b;--line:#303530;--text:#f0f1e9;--muted:#929c92;--acid:#d9f77a;--orange:#d39b72;--font:'Be Vietnam Pro',system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:13px var(--font);line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button,a{transition:background .18s,color .18s,border-color .18s}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-definitions{display:none}[hidden]{display:none!important}a{color:inherit;text-decoration:none}.shell{display:flex;min-height:100vh}.rail{width:88px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);background:#151815;display:flex;align-items:center;flex-direction:column;padding:25px 10px 20px;z-index:3}.brand{display:flex;align-items:center;flex-direction:column;gap:4px;margin-bottom:46px}.brand-mark{font:700 32px 'DM Sans',sans-serif;letter-spacing:-2px;line-height:1}.brand-mark span{color:var(--acid)}.brand-name{font-size:9px;font-weight:600;letter-spacing:2.7px}.rail-button{width:64px;padding:12px 4px;margin-bottom:12px;border-radius:9px;display:flex;align-items:center;flex-direction:column;gap:7px;font-size:10px;color:var(--muted)}.rail-button svg{width:21px;height:21px}.rail-button:hover{background:#252a23}.rail-button.active{color:var(--acid);background:#2b3223}.rail-bottom{margin-top:auto;text-align:center}.account-avatar{display:grid;place-content:center;width:33px;height:33px;border:1px solid #51594a;border-radius:50%;margin:0 auto 9px;font-size:10px;color:var(--acid)}.rail-account{font-size:9px;color:var(--muted);line-height:1.4}.main-shell{width:calc(100% - 88px);margin-left:88px}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 4.2%;gap:16px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 14px;color:#586054}.breadcrumb strong{font-weight:500;color:var(--text)}.connection{display:flex;align-items:center;gap:16px}.status-pill{color:#b4b99d;font-size:11px;display:flex;align-items:center;gap:7px}.status-pill i{width:6px;height:6px;border-radius:50%;background:#aca681}.status-pill.connected{color:var(--acid)}.status-pill.connected i{background:var(--acid);box-shadow:0 0 8px #d9f77a50}.button{border:1px solid var(--line);background:transparent;color:var(--text);display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:7px;padding:11px 16px;font-weight:500;font-size:12px}.button:hover{background:#2b3029;border-color:#56614d}.button.compact{padding:8px 13px;font-size:11px}.button.compact>span{margin-left:8px}main{max-width:1580px;margin:auto;padding:38px 4.2% 30px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.eyebrow{display:flex;align-items:center;gap:7px;color:var(--acid);font:500 10px 'DM Sans',sans-serif;letter-spacing:2px;margin-bottom:9px}.eyebrow>span{height:5px;width:5px;background:var(--acid);transform:rotate(45deg)}h1{font-size:clamp(23px,2vw,32px);letter-spacing:-1.3px;font-weight:550;margin:0 0 9px;line-height:1.4}.page-heading p{font-size:12px;color:var(--muted);margin:0}.model-badge{border:1px solid var(--line);border-radius:7px;padding:12px 17px;display:flex;gap:14px;align-items:center;color:var(--muted);font-size:10px;line-height:1.8}.model-badge>span{font:400 30px 'DM Sans';color:var(--acid);border-right:1px solid var(--line);padding-right:16px}.model-badge strong{font-weight:400;color:#d8ddd3;font-size:10px}.workspace-grid{display:grid;grid-template-columns:minmax(345px,415px) minmax(0,1fr);gap:24px;align-items:start}.panel{border:1px solid var(--line);background:var(--panel);border-radius:12px}.composer{padding:23px}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:22px}h2{font-size:14px;font-weight:550;margin:0;letter-spacing:-.3px}.small-label{font-size:8px;letter-spacing:1px;color:#7d877b;white-space:nowrap}.mode-tabs{display:grid;grid-template-columns:1fr 1.1fr 1fr;gap:3px;background:#111511;border:1px solid #30372d;padding:4px;border-radius:7px;margin-bottom:22px}.mode-tabs button{padding:9px 3px;background:transparent;border:0;border-radius:4px;font-size:11px;color:var(--muted)}.mode-tabs button.selected{background:#30382a;color:var(--acid);box-shadow:0 1px 5px #0002}.prompt-label,.field-label{display:block;font-size:11px;font-weight:500}.prompt-label{display:flex;justify-content:space-between;margin-bottom:10px}.prompt-label>span{font-size:9px;color:var(--muted);font-weight:400}.prompt-wrap{background:#131713;border:1px solid #374030;border-radius:8px}.prompt-wrap:focus-within{border-color:var(--acid)}textarea{width:100%;min-height:159px;resize:vertical;background:transparent;color:var(--text);padding:15px 14px;border:0;font-size:12px;line-height:1.9;display:block;outline:none}textarea::placeholder{color:#6f7a6c}.prompt-footer{display:flex;justify-content:space-between;padding:0 13px 12px;color:#99a48e;font-size:8px;align-items:center}.prompt-footer>span{display:flex;align-items:center;gap:6px}.prompt-footer svg{width:12px;height:12px}kbd{border:1px solid #39432f;font:9px 'DM Sans';padding:1px 5px;border-radius:3px;color:#9ca58f}.field-hint{font-size:9px;line-height:1.8;color:#818d7b;margin:9px 0 0}.divider{height:1px;background:var(--line);margin:22px 0}.settings-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}h3{font-size:12px;font-weight:500;margin:0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}select,input[type=number]{display:block;width:100%;background:#131713;color:var(--text);border:1px solid #35402f;border-radius:6px;padding:10px;margin-top:9px;min-height:40px;font-size:11px}select:focus,input[type=number]:focus{border-color:var(--acid)}.duration-heading{display:flex;justify-content:space-between;align-items:center;margin-top:24px}.duration-heading output{background:#2a3224;border:1px solid #445032;padding:2px 9px;border-radius:4px;font-size:10px;color:var(--acid)}input[type=range]{width:100%;height:3px;accent-color:var(--acid);margin:23px 0 0;cursor:pointer}.range-labels{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin-top:7px}.advanced{margin-top:18px;border-top:1px solid var(--line);padding:15px 0 0}.advanced summary{display:flex;justify-content:space-between;list-style:none;font-size:10px;color:#b5bfac;cursor:pointer}.advanced summary::-webkit-details-marker{display:none}.advanced summary span{font-size:16px;line-height:1}.advanced[open] summary{margin-bottom:15px}.check-label{font-size:10px;display:flex;gap:6px;align-items:center;margin-top:12px;color:var(--muted)}input[type=checkbox]{accent-color:var(--acid)}.generate-area{margin-top:23px}.generation-summary{display:flex;justify-content:space-between;gap:5px;font:10px 'DM Sans',var(--font);color:var(--muted);margin-bottom:13px}.generation-summary>span:first-child{color:#c3cdb8}.primary{background:var(--acid);color:#17200c;border-color:var(--acid);width:100%;padding:14px 16px;font-size:13px;font-weight:600}.primary:hover{background:#e8ff9a;border-color:#e8ff9a}.primary svg:first-child{width:15px;height:15px}.primary .arrow{margin-left:auto}.primary span{margin-right:auto}.export{width:100%;border:0;margin-top:7px;color:#a2ae98;font-size:10px;padding:10px}.export svg{width:13px;height:13px}.output-column{display:flex;flex-direction:column;gap:20px}.preview{overflow:hidden}.preview-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 21px;border-bottom:1px solid var(--line);font:9px 'DM Sans',var(--font);color:#99a190;letter-spacing:.6px}.preview-topline>span:first-child{display:flex;align-items:center;gap:7px}.preview-topline i{width:5px;height:5px;background:var(--orange);border-radius:50%}#preview-spec{color:#747f71;letter-spacing:0}.empty-preview{padding:25px 29px 24px;background:radial-gradient(ellipse at 50% 20%,#2a30241f,transparent)}.scene-art{height:clamp(190px,21vw,307px);position:relative;overflow:hidden;background:linear-gradient(165deg,#283d2f 0%,#172c27 48%,#17221d 100%);border:1px solid #42564180;border-radius:6px;isolation:isolate}.scene-art:before{content:'';position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.17' filter='url(%23n)'/%3E%3C/svg%3E");opacity:.4;mix-blend-mode:screen;z-index:4;pointer-events:none}.scene-sun{position:absolute;top:21%;left:60%;width:115px;height:115px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#efd9a4,#d8a575 55%,#b78159);box-shadow:0 0 90px #c69b6340;z-index:-1}.scene-horizon{position:absolute;inset:68% -10% -60%;transform:rotate(-13deg);background:linear-gradient(180deg,#4a6140,#293e2c);border-top:1px solid #7e8e5d}.scene-orbit{position:absolute;border:1px solid #c8d3a640;border-radius:50%;width:370px;height:140px;top:35%;left:39%;transform:rotate(-28deg)}.orbit-two{width:290px;height:205px;top:20%;left:49%;transform:rotate(45deg);border-color:#a1ba8340}.scene-frame{position:absolute;width:14px;height:14px;border-color:#a3b68f80}.corner-one{top:17px;left:17px;border-top:1px solid;border-left:1px solid}.corner-two{bottom:17px;right:17px;border-bottom:1px solid;border-right:1px solid}.scene-timecode{position:absolute;right:17px;top:17px;font:9px 'DM Sans';letter-spacing:1px;color:#bbc9a8a0}.art-caption{position:absolute;left:8%;top:25%;font:500 clamp(24px,3.3vw,48px)/1.15 'DM Sans',sans-serif;letter-spacing:-1.7px;color:#f1eddc}.art-caption em{font-family:Georgia,serif;font-weight:400;color:#d7dfac}.empty-caption{text-align:center;padding:23px 0 1px}.empty-caption h2{font-size:14px;font-weight:500}.empty-caption p{color:#84917e;font-size:10px;line-height:1.9;margin:8px 0 0}.preview-footer{padding:13px 21px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line);font-size:9px;color:#88947f}.preview-footer>span:first-child{display:flex;align-items:center;gap:6px}.preview-footer svg{width:13px;height:13px}.preview-footer strong{font-weight:500;color:#bac4ae}#result-video{display:block;width:100%;max-height:510px;background:#080b08}.result-bar{padding:14px 18px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;color:var(--muted)}.library{padding:21px}.library .panel-title{margin-bottom:12px}.panel-title p{font-size:9px;color:var(--muted);margin:5px 0 0}.count-badge{font:11px 'DM Sans';padding:3px 9px;border-radius:4px;border:1px solid #3c4634;color:#b5c4a2}.library-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px 10px 22px}.library-empty>svg{width:23px;height:23px;stroke:#617057;margin-bottom:6px}.library-empty p{font-size:11px;color:#a3af99;margin:8px 0 3px}.library-empty>span{font-size:9px;color:#6b7a62}.footnote{display:flex;gap:13px;align-items:center;padding:0 5px;color:var(--muted)}.footnote-mark{border:1px solid #3d4734;color:#a2b48b;border-radius:4px;padding:6px;font:600 12px 'DM Sans'}.footnote p{margin:0;font-size:9px;line-height:1.9}.footnote strong{font-weight:500;color:#adb9a2}.footnote a{margin-left:auto;border:1px solid var(--line);padding:3px 9px;border-radius:50%;color:#aebb9e}.page-footer{display:flex;justify-content:space-between;gap:10px;color:#687560;font:9px 'DM Sans',var(--font);padding:0 4.2% 25px;letter-spacing:1px}.page-footer i{font-style:normal;margin:0 7px}.page-footer>span:last-child{font-family:var(--font);font-size:9px;letter-spacing:0}.notice{padding:13px 16px;border:1px solid #70603b;background:#322c1b;color:#dbc99e;border-radius:7px;font-size:11px;line-height:1.8;margin-bottom:22px;white-space:pre-wrap;overflow-wrap:anywhere}.notice.success{color:#cfdfab;background:#28331d;border-color:#526d39}.frames-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:19px}.frames-grid .field-label{font-size:9px;margin-bottom:8px}.muted{color:var(--muted);font-weight:400}.frame-drop{width:100%;aspect-ratio:1.5;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;background:#131713;border:1px dashed #46503c;color:#a6b397;border-radius:6px;font-size:9px;overflow:hidden;padding:5px}.frame-drop img{max-width:100%;max-height:100%;object-fit:contain}.frame-drop:hover,.reference-drop:hover,.reference-drop.dragover{border-color:var(--acid);background:#25301e}.text-button{background:none;border:0;padding:3px;color:#c3cea7;font-size:9px}.reference-drop{width:100%;padding:15px 10px;display:flex;align-items:center;flex-direction:column;gap:4px;background:#131713;border:1px dashed #46503c;border-radius:6px;color:#a6b397}.reference-drop strong{font-size:10px;font-weight:500}.reference-drop span{font-size:9px;color:var(--muted)}#references-input{margin-bottom:18px}.reference-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:9px}.reference-card{border:1px solid #3b4533;border-radius:5px;padding:6px;position:relative;overflow:hidden}.reference-card img{width:100%;height:53px;object-fit:cover;border-radius:2px}.reference-card>svg{width:100%;height:50px;padding:10px}.reference-card small,.reference-card span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}.reference-card small{color:var(--acid);margin-top:4px}.reference-card button{position:absolute;top:4px;right:4px;line-height:1.1;background:#12190fe0;color:var(--text);border:1px solid #67735b;border-radius:50%;width:17px;height:17px;font-size:12px}.job-row{padding:14px 0;display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;align-items:center;border-top:1px solid var(--line)}.job-icon{display:grid;place-content:center;width:36px;height:36px;border:1px solid #425238;background:#293322;border-radius:6px;color:#b3ca8b}.job-row h3{font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%;margin-bottom:3px}.job-row small{color:var(--muted);font-size:8px}.job-actions{display:flex;align-items:center;gap:7px}.job-actions button{border:1px solid #47543b;background:transparent;color:#d1dabe;border-radius:4px;font-size:9px;padding:5px 8px}.job-state{font-size:8px;color:#b8be9e}.job-state.completed{color:var(--acid)}.job-state.failed{color:#e4a298}.job-state.running{color:#eadc9b}.job-error{grid-column:2/-1;color:#df9e91;font-size:9px;overflow-wrap:anywhere}.loading{animation:pulse 1.3s ease-in-out infinite}@keyframes pulse{50%{opacity:.45}}@media(min-width:1600px){.workspace-grid{grid-template-columns:435px minmax(0,1fr)}}@media(max-width:1120px){main{padding:30px 3%}.topbar{padding:0 3%}.workspace-grid{gap:17px;grid-template-columns:minmax(310px,370px) minmax(0,1fr)}.composer{padding:19px}.model-badge{display:none}.empty-preview{padding:20px}.preview-footer{font-size:8px;padding:12px 15px}.scene-sun{left:62%;width:90px;height:90px}.connection{gap:10px}}@media(max-width:860px){.rail{width:66px;padding-left:3px;padding-right:3px}.rail-button{width:53px}.main-shell{margin-left:66px;width:calc(100% - 66px)}.brand-mark{font-size:29px}.brand-name{font-size:7px}.rail-account{font-size:8px}.breadcrumb{font-size:10px}.topbar{height:65px}.connection .button{font-size:9px;padding:7px 9px}.status-pill{font-size:9px}.workspace-grid{grid-template-columns:1fr}.composer{max-width:none}.output-column{min-width:0}.scene-art{height:300px}.art-caption{font-size:42px}.scene-sun{width:120px;height:120px}.page-heading p{max-width:430px;font-size:10px}.composer textarea{min-height:145px}.empty-preview{padding:25px}.settings-grid{gap:20px}}@media(max-width:520px){.rail{display:none}.main-shell{margin:0;width:100%}.topbar{padding:0 18px;justify-content:space-between}.breadcrumb{font-size:9px}.breadcrumb span{margin:0 7px}.breadcrumb{max-width:150px}.breadcrumb strong{display:block}.breadcrumb>span{display:none}.connection{gap:6px}.status-pill{font-size:8px}.connection .button{font-size:8px;padding:7px}.connection .button>span{display:none}main{padding:27px 17px 20px}h1{font-size:22px;letter-spacing:-.8px}.page-heading{margin-bottom:22px}.eyebrow{font-size:9px}.page-heading p{font-size:10px;line-height:1.8}.composer{padding:19px}.empty-preview{padding:17px}.scene-art{height:215px}.art-caption{font-size:31px}.scene-sun{width:91px;height:91px;left:61%}.preview-topline{font-size:8px;padding:14px}.empty-caption h2{font-size:12px}.empty-caption p{font-size:9px}.preview-footer{font-size:8px;padding:12px}.preview-footer>span:first-child{gap:4px}.library{padding:18px}.page-footer{padding:0 18px 20px;font-size:8px}.page-footer>span:last-child{display:none}.footnote p{font-size:8px}.job-actions{flex-direction:column;gap:3px}}
