:root{--ink:#24392f;--muted:#7b817b;--green:#32664d;--line:#e3e5df;--paper:#f8f9f5;--white:#fff;--serif:Georgia,"Noto Serif SC","Songti SC",serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #88b19c;outline-offset:3px}[hidden]{display:none!important}aside{width:232px;position:fixed;inset:0 auto 0 0;background:#f1f3ec;border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:10px;align-items:center;font-weight:800;font-size:23px;letter-spacing:1px}.brand-icon{display:grid;place-items:center;width:35px;height:35px;background:var(--green);color:white;border-radius:11px;font-size:20px}.brand-sub{font-size:10px;letter-spacing:2px;align-self:end;padding-bottom:4px;color:var(--muted)}.back{display:block;margin:30px 0;color:var(--muted);font-size:12px}.side-title{display:flex;justify-content:space-between;align-items:center;color:#92988e;font-size:11px;letter-spacing:1px;text-transform:uppercase;padding:0 8px}.side-title button{background:none;color:var(--green);font-size:23px}.projects{overflow:auto;flex:1;padding-top:12px}.project-item{display:block;width:100%;text-align:left;padding:12px;border-radius:10px;background:none;color:#657162;margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-item.active{background:#e0e7da;color:#2a4938;font-weight:700}.project-item small{display:block;font-weight:400;color:#899183;font-size:10px}.side-bottom{border-top:1px solid #dce1d5;padding-top:20px;font-size:11px;color:#6b7967;line-height:2}.side-bottom small{color:#949b8e}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#679a63;margin-right:6px}.app{margin-left:232px}header{height:80px;padding:0 44px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#ffffff80}.crumb{font-size:12px;color:var(--muted)}.crumb span{padding:0 14px;color:#bec5ba}.crumb strong{color:#4c5b4c;font-weight:500}.account{display:flex;align-items:center;gap:18px;font-size:12px}.account a{color:var(--green)}main{max-width:1490px;margin:auto;padding:44px 46px 60px;min-height:calc(100vh - 130px)}.eyebrow{font-size:10px;letter-spacing:3px;font-weight:700;color:#7c8a75}.eyebrow span{display:inline-block;width:18px;height:1px;background:#7c8a75;vertical-align:middle;margin-right:8px}h1{font-family:var(--serif);font-size:58px;font-weight:500;letter-spacing:-2px;line-height:1.35;margin:28px 0 20px}h1 span{color:#719267}h2{font-size:20px;letter-spacing:-.5px;margin:0 0 8px;font-weight:650}.intro{color:#81877b;line-height:2;font-size:14px;margin-bottom:30px}#welcome{position:relative;padding-top:22px}.primary{background:var(--green);color:white;border-radius:9px;padding:11px 19px;font-weight:600;box-shadow:0 3px 7px #2c483411}.primary:hover{background:#254f3b}.secondary{background:white;color:#465b48;border:1px solid #dce2d7;border-radius:9px;padding:10px 17px}.secondary:hover{background:#edf2e8}.large{padding:14px 23px}.full{width:100%}.text-button{background:none;color:var(--green);padding:10px 0;font-size:12px}.hero-art{position:absolute;right:0;top:30px;width:43%;height:340px;overflow:hidden;border-radius:90px 8px 8px 8px;background:linear-gradient(160deg,#e2e8cc,#d9cba3 48%,#9cab85);box-shadow:0 15px 40px #4c533815}.film-label{position:absolute;top:24px;left:30px;font-size:9px;letter-spacing:3px;color:#546044;z-index:3}.sun{position:absolute;top:76px;left:55%;width:70px;height:70px;border-radius:50%;background:#f6eed0;box-shadow:0 0 45px #f7ebba}.mountain{position:absolute;width:100%;height:270px;transform:rotate(-24deg);border-radius:40%;background:#687e65;top:180px;left:-40px;z-index:2}.m2{background:#8c9d77;top:150px;left:85px;transform:rotate(30deg);z-index:1}.art-caption{position:absolute;bottom:42px;left:28px;z-index:3;color:#fafbef}.art-caption span{display:block;font-size:9px;letter-spacing:1px;opacity:.7}.art-caption b{font-family:var(--serif);font-size:20px;display:block;margin-top:7px;font-weight:400}.film-perf{position:absolute;bottom:8px;left:24px;color:#f3f3d945;letter-spacing:10px;z-index:4;white-space:nowrap}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:100px;border-top:1px solid var(--line);padding-top:30px}.features b{font-family:var(--serif);font-size:22px;color:#9da98e;font-weight:400}.features span{font-family:system-ui;font-size:15px;color:var(--ink);margin-left:10px}.features p{font-size:12px;color:var(--muted);max-width:230px}.project-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.title-input{display:block;font-family:var(--serif);font-size:32px;color:var(--ink);background:transparent;border:0;border-bottom:1px solid transparent;width:min(500px,100%);padding:6px 0;outline:none}.title-input:focus{border-color:#bac8b3}.project-head p{font-size:11px;color:var(--muted);margin:4px 0}.head-actions{display:flex;gap:10px}.steps{display:flex;gap:0;border-bottom:1px solid var(--line);margin-bottom:32px}.steps button{background:none;padding:16px 24px 16px 0;margin-right:28px;color:#8a9387;border-bottom:2px solid transparent;white-space:nowrap;font-size:13px}.steps i{font-size:10px;font-style:normal;margin-right:10px;color:#a4af9c}.steps .selected{color:var(--green);border-color:var(--green);font-weight:650}.steps .selected i{color:var(--green)}.two-col{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:24px}.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:26px;min-width:0}.panel-heading,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-heading{margin-bottom:20px}.tag{font-size:10px;background:#f0f4eb;color:#82926e;padding:4px 9px;border-radius:6px;white-space:nowrap}.muted{font-size:12px;color:var(--muted);line-height:1.9;margin-top:4px}textarea,input:not([type=checkbox]),select{border:1px solid #dfe4da;border-radius:8px;padding:11px 12px;color:#3d5140;background:#fbfcf9;max-width:100%;outline:none}textarea:focus,input:not([type=checkbox]):focus,select:focus{border-color:#809c75;box-shadow:0 0 0 3px #b0c3a51a}textarea{width:100%;resize:vertical;line-height:1.9}#script{min-height:330px;margin-top:12px}.field-footer{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#9ba292;margin-top:8px}label{display:block;font-size:12px;color:#6f7c68}label input,label select{display:block;width:100%;margin-top:7px}.settings label{margin:20px 0}.hint{font-size:11px;color:#919987;line-height:1.8}.settings .primary{margin-top:5px}.toolbar{display:flex;align-items:end;gap:16px;margin:0 0 24px;padding:18px 22px;background:#edf1e7;border:1px solid #e3e8da;border-radius:12px}.toolbar label{min-width:150px}.toolbar select{background:#fff;font-size:12px;padding:9px 11px;max-width:260px}.toolbar .hint{margin-bottom:8px;margin-left:auto;max-width:350px}.character-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.character-card,.shot-card{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden}.character-card .media{height:220px}.media{position:relative;background:linear-gradient(140deg,#e9eee3,#d5dfcc);display:grid;place-items:center;overflow:hidden}.media .placeholder{font-family:var(--serif);color:#9cae91;font-size:50px;font-weight:400}.media img,.media video{width:100%;height:100%;object-fit:contain;background:#19251f}.card-body{padding:18px}.card-body input,.card-body textarea{width:100%;margin-bottom:10px}.card-body input{font-weight:600}.card-body textarea{font-size:12px;min-height:110px}.card-bottom{display:flex;gap:8px;align-items:center;justify-content:space-between}.card-bottom button{font-size:11px;padding:8px 12px}.icon-button{background:none;color:#a0a896;font-size:12px;padding:3px 7px}.shot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.shot-top{display:flex;justify-content:space-between;padding:12px 18px;font-size:10px;color:#8c9985;border-bottom:1px solid var(--line)}.shot-top b{color:var(--green);font-weight:500;letter-spacing:2px}.shot-card .media{height:240px}.shot-card .card-body label{margin-bottom:8px}.shot-card .card-body textarea{min-height:82px;margin-top:5px}.shot-card .card-body textarea.short{min-height:52px}.shot-actions{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}.shot-actions button{font-size:12px;padding:9px 13px}.inline-fields{display:flex;align-items:center;gap:12px}.inline-fields label{flex:1}.inline-fields input{margin:5px 0 0!important}.inline-fields input[type=number]{width:100px}.reference-checks{font-size:11px;color:#75876d;margin:8px 0}.reference-checks label{display:inline-flex;align-items:center;gap:4px;margin-right:8px;font-size:11px}.reference-checks input{width:auto;margin:0}.task{border:1px solid #c9d9bc;background:#edf4e7;border-radius:10px;padding:13px 17px;margin-bottom:22px;font-size:12px;color:#507442}.task.failed,.task.interrupted{border-color:#e3cdb9;background:#fbf2e9;color:#9b6d42}.task.running:before{content:'';display:inline-block;width:10px;height:10px;border:2px solid #94b081;border-top-color:transparent;border-radius:50%;animation:spin 1s linear infinite;margin-right:10px}@keyframes spin{to{transform:rotate(360deg)}}.empty{padding:70px 20px;text-align:center;border:1px dashed #cfd8c5;color:#8b9980;border-radius:14px;grid-column:1/-1}.export-list{margin:25px 0}.export-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #edf0e8;font-size:12px}.export-row span:first-child{color:#a0ae95;font-size:10px}.export-row strong{flex:1;font-weight:500}.export-row .done{color:#527447}.export-row .missing{color:#b28554}.check{display:flex;align-items:center;gap:8px;margin-bottom:20px}.check input{accent-color:var(--green)}.output{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;min-height:370px}.output-symbol{display:grid;place-items:center;font-size:35px;color:#769265;background:#eef3e7;width:90px;height:90px;border-radius:50%;margin-bottom:24px}#downloads{display:flex;gap:12px;margin-top:18px;flex-wrap:wrap;justify-content:center}footer{padding:20px 46px;border-top:1px solid var(--line);font-size:10px;color:#a1aa98;letter-spacing:1px;display:flex;justify-content:space-between}dialog{border:1px solid #dbe3d1;border-radius:18px;padding:30px;max-width:450px;width:90%;box-shadow:0 25px 100px #1e382933;color:var(--ink)}dialog::backdrop{background:#14241e60;backdrop-filter:blur(3px)}dialog h2{margin-top:18px}dialog p{font-size:13px;color:#7d8876;white-space:pre-line;line-height:1.9}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#243d30;color:white;padding:12px 22px;border-radius:10px;z-index:100;max-width:90%;font-size:12px;display:none}.mobile-menu{display:none}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;background:white;padding:20px;border:1px solid var(--line)}@media(min-width:1600px){h1{font-size:70px}.hero-art{height:400px}.features{margin-top:135px}}@media(max-width:1100px){aside{width:195px;padding:25px 15px}.app{margin-left:195px}main{padding:30px 26px}header{padding:0 26px}h1{font-size:45px}.hero-art{width:42%;height:310px}.features{gap:18px}.two-col{grid-template-columns:1fr}.settings{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.settings h2,.settings .full,.settings p,.settings .text-button{grid-column:1/-1}.character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.steps button{padding-right:12px;margin-right:15px}.head-actions{flex-direction:column}.toolbar{flex-wrap:wrap}.toolbar .hint{margin-left:0}}@media(max-width:700px){aside{display:none;width:250px;box-shadow:10px 0 50px #14271c22}aside.open{display:flex}.app{margin-left:0}header{height:64px;padding:0 18px;gap:12px}.mobile-menu{display:block;background:none;color:var(--green);font-size:20px}.crumb{flex:1}.crumb>span,.crumb>strong{display:none}.account{gap:10px;font-size:10px}main{padding:28px 18px 40px}#welcome{padding-top:5px}h1{font-size:43px;letter-spacing:-1px;margin-top:24px}.intro{font-size:12px}.hero-art{position:relative;width:100%;top:0;height:250px;margin-top:32px;border-radius:60px 8px 8px 8px}.features{grid-template-columns:1fr;margin-top:30px;gap:14px}.features article{display:grid;grid-template-columns:160px 1fr;gap:12px}.features p{margin:0}.features b{font-size:20px}.features span{font-size:13px;margin-left:7px}.project-head{align-items:start;gap:10px}.title-input{font-size:26px;width:100%}.head-actions .primary{display:none}.head-actions .secondary{font-size:11px;padding:9px 10px;white-space:nowrap}.steps{overflow:auto;margin-bottom:22px}.steps button{font-size:11px;padding:13px 0;margin-right:20px}.steps i{margin-right:5px;font-size:9px}.panel{padding:20px}.panel h2{font-size:17px}.tag{font-size:9px}.settings{display:block}.two-col{gap:18px}.field-footer{font-size:9px;flex-direction:column;gap:2px}.character-grid,.shot-grid{grid-template-columns:1fr}.section-heading h2{font-size:19px}.section-heading>.secondary{padding:9px 10px;white-space:nowrap;font-size:11px}.toolbar{padding:15px;gap:12px}.toolbar label{min-width:0;flex:1 1 140px}.toolbar select{width:100%;max-width:none}.toolbar .hint{max-width:none;font-size:10px}.shot-card .media{height:220px}.character-card .media{height:260px}.output{min-height:300px}footer{padding:18px;font-size:9px}h2{font-size:18px}}

.pipeline-banner{display:flex;align-items:center;gap:18px;border:1px solid #d9e3ce;border-radius:12px;background:linear-gradient(120deg,#eaf0e2,#f6f8f1);padding:18px 22px;margin-bottom:18px}.pipeline-banner>div{flex:1}.pipeline-banner b{color:#365c3d;font-size:15px}.pipeline-banner p{font-size:11px;color:#839274;margin:5px 0 0}.pipeline-banner button{white-space:nowrap;font-size:12px}#pipelineProgress{padding:16px 20px;background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:18px}.pipe-step{display:flex;gap:10px;align-items:center;font-size:11px;color:#8b9880;padding:5px 0}.pipe-step.complete{color:#4b7845}.pipe-step.running{color:#af8239;font-weight:600}.pipe-summary{display:flex;justify-content:space-between;font-size:12px;color:#658456;margin-bottom:8px}#pipelineDialog{max-width:480px}#pipelineDialog label{margin:14px 0}#pipeQuoteResult{background:#f1f5eb;border-radius:8px;padding:12px;margin:12px 0}#pipelineDialog .full{margin-top:10px}@media(max-width:700px){.pipeline-banner{flex-wrap:wrap;padding:16px}.pipeline-banner>div{flex:1 1 100%}.pipeline-banner button{flex:1}.pipe-summary{font-size:11px}}

.project-row{display:flex;align-items:center;border-radius:10px;margin-bottom:5px;gap:2px}.project-row.active{background:#e0e7da}.project-row .project-item{flex:1;min-width:0;width:auto;margin-bottom:0;background:transparent}.project-row.active .project-item{color:#2a4938;font-weight:700}.project-delete{flex:none;display:grid;place-items:center;width:30px;height:34px;margin-right:6px;border-radius:7px;background:transparent;color:#8d9a84}.project-delete:hover,.project-delete:focus-visible{color:#b65e4f;background:#f6e9e3}.project-delete svg{pointer-events:none}
