:root{font-family:Inter,Microsoft YaHei,system-ui,sans-serif;color:#f4f4f5;background:#09090b;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:1100px}button,input,textarea,select{font:inherit}button,.button{border:1px solid #3f3f46;background:#18181b;color:#e4e4e7;border-radius:9px;padding:9px 13px;cursor:pointer;text-decoration:none}button:hover,.button:hover{border-color:#71717a}button:disabled{opacity:.4;cursor:not-allowed}.primary{background:#ff6534;border-color:#ff6534;color:#fff;font-weight:700}.danger{color:#ff9292}.ghost{background:transparent}.full{width:100%}.wrap{flex-wrap:wrap}.link{border:0;background:transparent;color:#a1a1aa;padding-left:0}.shell{display:grid;grid-template-columns:250px 1fr;height:100vh}.sidebar{border-right:1px solid #27272a;background:#0d0d10;padding:24px 16px;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;margin:0 8px 25px}.brand strong{display:block}.brand small{font-size:9px;letter-spacing:1.5px;color:#71717a}.logo{display:inline-grid;place-items:center;width:38px;height:38px;background:linear-gradient(135deg,#ff8a4c,#e63b2e);border-radius:11px;color:#fff;font-weight:900}.logo.large{width:60px;height:60px;font-size:25px}.project-list{margin-top:18px;display:flex;flex-direction:column;gap:5px;overflow:auto}.project{text-align:left;background:transparent;border-color:transparent}.project span,.project small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project small{color:#71717a;margin-top:4px}.project.active{background:#27211f;border-color:#603a2b}.sidebar-bottom{margin-top:auto}.project-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:6px 0}.project-tools button{padding:6px;font-size:11px}.workspace{overflow:auto}.topbar{height:76px;border-bottom:1px solid #27272a;display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;background:#09090bf0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:5}.topbar h1{font-size:18px;margin:0 0 5px}.save-state{font-size:11px;color:#5dcb8c}.top-actions b{background:#ff6534;border-radius:20px;padding:1px 6px;margin-left:6px}.steps{height:75px;display:flex;justify-content:center;align-items:center;gap:4px;border-bottom:1px solid #1f1f22}.steps button{border:0;background:transparent;color:#71717a;padding:11px 20px}.steps button i{font-style:normal;border:1px solid #3f3f46;border-radius:50%;display:inline-grid;place-items:center;width:24px;height:24px;margin-right:8px}.steps button.active{color:#fff}.steps button.active i{background:#ff6534;border-color:#ff6534}.stage{max-width:1180px;margin:0 auto;padding:35px 40px 100px}.editor-grid{display:grid;grid-template-columns:1fr 310px;gap:20px}.main-card,.side-card,.paper,.unit{background:#111114;border:1px solid #29292e;border-radius:15px;padding:25px}.side-card{height:max-content}.eyebrow{color:#ff7445;font-size:10px;font-weight:800;letter-spacing:2px}.stage h2,.main-card h2{font-size:28px;margin:8px 0}.stage-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px}.stage-head p{color:#8b8b94;margin:0}.stage-head .row{max-width:600px}label{display:block;color:#a1a1aa;font-size:12px;margin-top:18px}input,textarea,select{width:100%;background:#0b0b0e;color:#f4f4f5;border:1px solid #323238;border-radius:9px;padding:11px;margin-top:7px;outline:none}input:focus,textarea:focus,select:focus{border-color:#ff6534}textarea{resize:vertical}.story-input{height:360px;line-height:1.8}.script-editor{min-height:480px;line-height:1.8}.tabs{display:flex;border-bottom:1px solid #29292e;margin-bottom:22px}.tabs button{border:0;border-radius:0;background:none}.tabs button.active{color:#ff7445;border-bottom:2px solid #ff6534}.tabs b{font-size:10px;background:#27272a;border-radius:15px;padding:2px 6px}.asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.asset-card{border:1px solid #29292e;background:#111114;border-radius:14px;overflow:hidden}.asset-image{height:190px;background:#17171b;display:grid;place-items:center;position:relative;color:#52525b}.asset-image img{width:100%;height:100%;object-fit:cover}.upload{position:absolute;right:9px;bottom:9px;background:#09090bcc;border:1px solid #3f3f46;border-radius:7px;padding:6px;margin:0;cursor:pointer}.asset-body{padding:16px}.asset-body h3{margin:8px 0}.asset-body p{color:#8b8b94;min-height:38px;font-size:13px}.asset-body textarea{font-size:12px}.title-input{font-weight:800;font-size:17px}.tag,.version{font-size:10px;color:#ff8a5c;background:#33211b;padding:3px 7px;border-radius:20px}.row{display:flex;align-items:center;gap:8px}.row.end{justify-content:flex-end}.asset-body .row{margin:10px 0}.history{border-top:1px solid #29292e;margin-top:6px;padding-top:6px;display:flex;flex-direction:column;gap:4px}.history button{text-align:left;font-size:11px}.history.wide{margin-top:15px}.shot-list,.unit-list{display:flex;flex-direction:column;gap:12px}.shot{border:1px solid #29292e;border-radius:13px;background:#111114}.shot-summary{border:0;background:transparent;width:100%;display:grid;grid-template-columns:55px 1fr 30px;text-align:left;align-items:center;padding:18px}.shot-summary>b{color:#ff7445;font-size:22px}.shot-summary span>*{display:block}.shot-summary small{color:#71717a;margin-top:6px}.shot-editor{border-top:1px solid #29292e;padding:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.warning{border:1px solid #735c23;background:#2d2714;color:#e7c768;border-radius:9px;padding:11px 14px;margin:12px 0}.warning button{padding:4px 8px;margin-left:8px}.bindings{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}.bindings button{padding:5px 8px;margin:3px}.bindings button.selected{border-color:#ff6534;color:#ff8a5c;background:#33211b}.check{display:flex;gap:8px;align-items:center}.check input{width:auto;margin:0}.unit header{display:flex;justify-content:space-between}.unit header span{font-size:18px;font-weight:800}.unit header b{font-size:12px;color:#8b8b94}.thumbs{display:flex;gap:10px;margin:16px 0}.thumbs div{width:76px}.thumbs img{width:76px;height:55px;object-fit:cover;border-radius:7px}.thumbs small{display:block;text-align:center;color:#71717a}.unit textarea{font-family:ui-monospace,Consolas,monospace;line-height:1.65}.output-actions{position:sticky;bottom:15px;background:#18181be8;border:1px solid #3f3f46;border-radius:12px;padding:12px;display:flex;justify-content:flex-end;gap:10px;margin-top:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.empty-inline,.empty{border:1px dashed #3f3f46;border-radius:15px;padding:60px;text-align:center;color:#71717a}.empty{margin:100px auto;max-width:600px}.overlay{position:fixed;z-index:20;inset:0;background:#0009;display:flex;justify-content:flex-end}.drawer{width:440px;background:#111114;border-left:1px solid #29292e;padding:22px;overflow:auto}.drawer header,.modal header,.library-page header{display:flex;justify-content:space-between;align-items:center}.drawer h2,.modal h2,.library-page h2{margin:5px 0}.jobs{display:flex;flex-direction:column;gap:10px;margin-top:15px}.jobs article{background:#18181b;border:1px solid #29292e;border-radius:10px;padding:13px}.jobs article>div{display:flex;justify-content:space-between}.jobs small{color:#71717a}.jobs img,.jobs video{width:100%;margin-top:10px;border-radius:8px}.status{font-size:11px;padding:3px 7px;border-radius:20px;background:#333}.status.succeeded{background:#183728;color:#68d391}.status.failed,.status.submission_unknown{background:#431c1c;color:#ff8b8b}.status.running,.status.downloading{background:#18324b;color:#7cc4ff}.modal{width:700px;max-height:90vh;margin:auto;background:#111114;border:1px solid #3f3f46;border-radius:16px;padding:24px;overflow:auto}.modal section{border-top:1px solid #29292e;margin-top:20px;padding-top:15px}.config{display:grid;grid-template-columns:100px 1.5fr 1fr 1fr auto;gap:8px;align-items:center;margin:8px 0}.config input{margin:0}.connected{color:#68d391}.login-flow{display:flex;align-items:center;gap:12px;margin-top:12px}.login-flow code{background:#27272a;padding:8px}.library-overlay{justify-content:center;padding:3vh}.library-page{width:min(1300px,96vw);background:#0d0d10;border:1px solid #3f3f46;border-radius:16px;padding:25px;overflow:auto}.library-page header p{color:#71717a}.library-item>.primary{margin-top:6px}.login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 50% 35%,#2c1812,#09090b 42%)}.login form{width:380px;background:#111114;border:1px solid #302b29;border-radius:18px;padding:36px;text-align:center;box-shadow:0 25px 80px #000}.login h1{margin-bottom:6px}.login p,.login small{color:#71717a}.login label{text-align:left}.error{color:#ff9292;font-size:13px;margin:10px 0}.toast{position:fixed;z-index:50;bottom:25px;left:50%;transform:translate(-50%);background:#27272a;border:1px solid #52525b;border-radius:10px;padding:12px 18px;box-shadow:0 10px 40px #000;cursor:pointer}.toast span{margin-left:20px;color:#71717a}.center{display:grid;place-items:center;min-height:100vh}.muted{color:#71717a}@media(max-width:1200px){.asset-grid{grid-template-columns:repeat(2,1fr)}.stage{padding-left:24px;padding-right:24px}}.shot-preview{width:240px;max-height:180px;object-fit:cover;border-radius:10px;float:right;margin:18px 0 18px 18px}.archive-toggle{margin-top:8px;width:100%;border:0;background:transparent;color:#71717a;font-size:11px}.cost-note{margin:0 0 16px;color:#a1a1aa;font-size:12px}.report{white-space:pre-wrap;color:#d4d4d8;font:12px/1.7 inherit;background:#0b0b0e;padding:10px;border-radius:8px}
