.video-main{width:min(1120px,calc(100% - 48px));padding:42px 0 110px}
.video-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin:0 0 22px;text-align:left}
.video-heading h1{margin:8px 0 7px;font-size:clamp(30px,3vw,39px);line-height:1.18;letter-spacing:-.045em;color:#173c2a}
.video-heading p{max-width:none;margin:0;color:#6c7b70;font-size:15px;line-height:1.7}
.video-heading a{color:#48755a;font-size:13px;text-decoration:none;border-bottom:1px solid #a2c3a8;padding-bottom:3px;white-space:nowrap}
.video-heading a:hover{color:#145a35;border-color:#145a35}
.video-eyebrow,.video-kicker{font-size:12px;font-weight:750;letter-spacing:.12em;color:#6f9677}
.video-message{max-width:1080px;margin:0 auto 18px;border:1px solid #d8e8d4;background:#f2f8ef}
.video-studio{padding:0;background:none;border:0;box-shadow:none}
.video-result{background:#fff;border:1px solid #e5eae2;border-radius:24px;box-shadow:0 22px 60px #213e2b0d}
.video-studio-heading,.video-result-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:19px}
.video-studio-heading h2,.video-result-heading h2{font-size:22px;line-height:1.25;color:#193d2c;margin:7px 0 0;letter-spacing:-.03em}
.video-studio-heading a{color:#48755a;font-size:13px;text-decoration:none;border-bottom:1px solid #a2c3a8;padding-bottom:3px}
.video-studio-heading a:hover{color:#145a35;border-color:#145a35}
.video-form{display:block}
.video-composer{border:1px solid #e2e9df;border-radius:23px;background:#fff;min-height:250px;padding:22px 24px 0;box-shadow:0 22px 60px #213e2b12;transition:border-color .2s,box-shadow .2s}
.video-composer:focus-within{border-color:#81ab86;box-shadow:0 0 0 4px #ebf3e9}
.video-reference-strip{display:flex;align-items:flex-start;gap:10px;min-height:78px}
.video-reference-list{display:flex;flex-wrap:wrap;gap:10px}
.video-file-input{display:none!important}
.video-add-image,.video-reference-item{width:74px;height:74px;border-radius:12px;flex:none}
.video-add-image{display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:2px;border:1px dashed #bed1bc;color:#3f6d4c;background:#f9fcf8;cursor:pointer}
.video-add-image[hidden]{display:none!important}
.video-add-image:hover{background:#edf6eb;border-color:#70a27c}
.video-add-image span{font-size:28px;font-weight:300;line-height:1}
.video-add-image small{font-size:10px;white-space:nowrap}
.video-reference-item{position:relative;display:block;padding:0;border:1px solid #e0e8dd;overflow:visible;background:#f8faf7}
.video-reference-item img{display:block;width:100%;height:100%;object-fit:cover;border-radius:11px}
.video-reference-item button{position:absolute;top:-7px;right:-7px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;border:2px solid #fff;background:#243d2e;color:#fff;font-size:14px;line-height:1;cursor:pointer;padding:0}
.video-reference-item select{position:absolute;left:3px;right:3px;bottom:3px;width:calc(100% - 6px);border:0;border-radius:5px;background:#fffe;color:#27523a;font-size:10px;padding:2px 0;text-align:center;cursor:pointer}
.video-composer .qt-prompt-field{margin-top:16px}
.video-composer .qt-prompt-heading{color:#345844;font-size:13px;font-weight:700}
.video-composer .qt-prompt-shell{margin-top:8px;border:0;border-radius:0;background:transparent;box-shadow:none}
.video-composer .qt-prompt-shell:focus-within{border:0;box-shadow:none}
.video-composer .qt-prompt-editor{min-height:116px;padding:3px 0 14px;outline:none;white-space:pre-wrap;overflow-wrap:anywhere;color:#1d3b2b;font-size:16px;font-weight:400;line-height:1.7}
.video-composer .qt-prompt-mentions{margin:0 0 12px;max-width:100%;border-color:#c9dec8;background:#fff;box-shadow:0 14px 36px #173d2d1e}
.video-composer .qt-prompt-image{width:36px;height:36px;border-radius:9px;box-shadow:0 2px 8px #173d2d21}
.video-composer-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 -24px;padding:11px 24px;border-top:1px solid #edf0eb}
.video-reference-hint{color:#8a998b;font-size:12px}
.video-optimize{padding:8px 12px;border:1px solid #c8dbc6;border-radius:10px;background:#f1f8ee;color:#24553b;font-weight:750;cursor:pointer}
.video-optimize:hover{background:#e5f2e0}
.video-optimize small{font-weight:400;color:#718675;margin-left:6px}
.video-settings{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:14px;margin-top:21px}
.video-settings label{display:grid;gap:7px;color:#42634d;font-size:12px;font-weight:700}
.video-settings select{width:100%;min-height:44px;padding:10px 12px;border:1px solid #d7e2d4;border-radius:11px;background:#fff;color:#203e2d;font:inherit;font-size:14px;outline:none}
.video-settings select:focus-visible{border-color:#70a27c;box-shadow:0 0 0 3px #dfeddd}
.video-submit-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:22px}
.video-quote-area{display:flex;align-items:center;gap:15px;min-height:46px}
.video-quote-button{padding:12px 17px;border:1px solid #a7c1a8;border-radius:11px;background:#fff;color:#23543a;font-size:13px;font-weight:750;cursor:pointer;white-space:nowrap}
.video-quote-button:hover{background:#f3f8f0}
.video-quote{display:inline-block;margin:0;padding:0;border:0;background:none;color:#56705a;font-size:13px;line-height:1.5}
.video-generate-button,.video-download-button{border:0;border-radius:11px;background:#1d5035;color:#fff;padding:13px 23px;min-height:46px;font-size:14px;font-weight:750;cursor:pointer;white-space:nowrap}
.video-generate-button span{margin-left:24px;font-size:18px;font-weight:400}
.video-generate-button:hover:not(:disabled),.video-download-button:hover{background:#153e2a}
.video-generate-button:disabled{background:#a7b9aa;cursor:not-allowed}
.video-result{padding:28px 34px;margin-top:34px;min-height:200px}
.video-result-help{font-size:12px;color:#8a998b}
.video-run-empty{border:1px dashed #d8e4d6;border-radius:14px;background:#fafcf9;padding:35px;text-align:center;color:#8b9a8a}
.video-result dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px 20px;margin:0 0 18px;padding:22px;border-radius:14px;background:#f6faf5}
.video-result dt{font-size:12px;color:#819083}.video-result dd{font-size:15px;color:#244d35;font-weight:700;word-break:break-word}
.video-download-button{margin-top:8px}
.video-preview{display:block;width:100%;max-height:620px;object-fit:contain;border-radius:14px;background:#15241b;margin:18px 0 10px}
.video-scene-picker{margin:0 0 22px}.video-scene-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:15px}.video-scene-heading h2{margin:6px 0 0;font-size:22px;color:#173c2a}.video-scene-heading p{margin:0;color:#738679;font-size:13px}.video-scene-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.video-scene-options button{min-height:78px;text-align:left;border:1px solid #dce8d9;background:#fff;border-radius:15px;padding:14px 16px;color:#244631;cursor:pointer;transition:border-color .18s,background .18s,transform .18s}.video-scene-options button:hover{border-color:#7aaa80;transform:translateY(-1px)}.video-scene-options button.selected{border-color:#2d7550;background:linear-gradient(135deg,#e8f4e5,#fff);box-shadow:inset 3px 0 #2d7550}.video-scene-options strong,.video-scene-options span{display:block}.video-scene-options strong{font-size:15px}.video-scene-options span{font-size:12px;color:#7b8e7d;margin-top:5px}
.video-scene-fields{display:grid;grid-template-columns:1.5fr 1fr 200px;gap:12px;margin-top:18px;align-items:start}.video-scene-fields[hidden],.video-storyboard[hidden],.video-scene-submit[hidden]{display:none!important}.video-scene-fields label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#42634d}.video-scene-fields label span{font-weight:400;color:#829383}.video-scene-fields textarea,.video-scene-fields input:not([type=checkbox]),.video-scene-fields select{width:100%;min-height:44px;border:1px solid #d7e2d4;border-radius:11px;background:#fff;color:#244631;font:inherit;font-size:13px;padding:10px 12px;outline:none}.video-scene-fields textarea{resize:vertical;min-height:74px}.video-scene-fields .video-scene-audio{grid-column:1/-1;display:flex;align-items:center;gap:8px}.video-scene-audio input{accent-color:#1d5035}.video-scene-mode .video-free-duration,.video-scene-mode .video-free-submit{display:none}.video-scene-mode .video-scene-submit{display:flex;align-items:center;gap:18px;margin-top:22px}.video-scene-submit button,.video-storyboard-actions button{border:0;border-radius:11px;background:#1d5035;color:white;padding:12px 20px;min-height:46px;font-size:14px;font-weight:750;cursor:pointer}.video-scene-submit button:hover,.video-storyboard-actions button:hover:not(:disabled){background:#153e2a}.video-scene-submit button:disabled,.video-storyboard-actions button:disabled{opacity:.48;cursor:not-allowed}.video-scene-submit span{margin-left:15px}.video-scene-submit small{color:#7d8d7f;line-height:1.5}
.video-storyboard{margin-top:28px;border:1px solid #dce7d9;border-radius:22px;background:#f9fbf7;padding:25px}.video-storyboard-heading{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:18px}.video-storyboard-heading h2{margin:5px 0 0;font-size:23px;color:#173c2a}.video-storyboard-heading p{max-width:55%;margin:0;color:#6b7f6f;font-size:13px;line-height:1.55}.video-storyboard-warnings{background:#fff8e8;border:1px solid #efdba9;border-radius:10px;color:#765d26;padding:11px 14px;font-size:13px;margin-bottom:15px}.video-shot-list{display:grid;gap:14px}.video-shot-card{border:1px solid #e0e9dc;border-radius:16px;background:#fff;padding:19px}.video-shot-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.video-shot-heading h3{font-size:16px;margin:0;color:#1a442d}.video-shot-heading span{color:#739078;font-size:12px}.video-shot-references{display:flex;gap:7px;margin:10px 0}.video-shot-references:empty{display:none}.video-shot-references img{width:56px;height:56px;object-fit:cover;border:1px solid #dce8d8;border-radius:9px}.video-shot-card label{display:grid;gap:7px;font-size:12px;color:#496d51;font-weight:700;margin-top:14px}.video-shot-card textarea,.video-shot-card input{width:100%;border:1px solid #dae5d8;border-radius:10px;background:#fcfefb;color:#243e2b;font:inherit;font-size:13px;padding:10px 12px;outline:none}.video-shot-card textarea{min-height:88px;resize:vertical;line-height:1.6}.video-shot-card textarea:focus,.video-shot-card input:focus{border-color:#74a77e;box-shadow:0 0 0 3px #e9f4e8}.video-shot-secondary{display:grid;grid-template-columns:1fr 1fr;gap:12px}.video-shot-status{margin-top:14px;color:#5e7f64;font-size:13px}.video-shot-status.error{color:#b24737}.video-shot-card video{width:100%;max-height:480px;background:#15241b;border-radius:10px;margin-top:12px}.video-shot-card video[hidden]{display:none}.video-shot-download{display:inline-block;margin-top:9px;color:#245d3a;font-size:13px;text-underline-offset:3px}.video-storyboard-actions{display:flex;align-items:center;gap:16px;margin-top:20px}.video-storyboard-actions #video-quote-all{background:white;color:#24553b;border:1px solid #abc5a9}.video-storyboard-actions strong{color:#1d5035}.video-storyboard-note{font-size:12px;color:#829383;line-height:1.6;margin:14px 0 0}
.video-composition{margin-top:22px;padding:20px;border:1px solid #b8d2b8;border-radius:16px;background:#eef7ec}.video-composition[hidden],.video-composition video[hidden],.video-composition a[hidden]{display:none}.video-composition h3{margin:0 0 8px;color:#18492e;font-size:18px}.video-composition p{margin:0 0 12px;color:#54725c;font-size:13px}.video-composition video{display:block;width:100%;max-height:640px;background:#14231a;border-radius:12px}.video-composition a{display:inline-flex;margin-top:12px;color:#155033;font-weight:700;text-underline-offset:4px}
.video-scene-mode .video-result,.video-preview[hidden]{display:none!important}
.video-view-composition .video-scene-picker,.video-view-composition .video-studio{display:none!important}.video-view-composition .video-result{display:block!important}
.production-panel[hidden],.production-source-picker[hidden],.production-saved[hidden],.production-finished[hidden]{display:none!important}
.video-production-mode #optimize-button,.video-production-mode .video-scene-audio{display:none!important}
.production-panel{margin:28px 0;padding:28px;background:#f6f9f4;border:1px solid #d9e5d4;border-radius:24px;color:#254431}
.production-heading{display:flex;justify-content:space-between;gap:32px;align-items:flex-start;margin-bottom:22px}
.production-heading h2{font-size:25px;margin:7px 0 10px;letter-spacing:-.6px}.production-heading p{font-size:14px;line-height:1.8;color:#718174;max-width:700px;margin:0}
.production-stats{display:grid;gap:7px;text-align:right;white-space:nowrap}.production-stats strong{font-size:17px}.production-stats span{font-size:12px;color:#728576}
.production-materials{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.production-material{display:flex;gap:12px;align-items:center;flex:1;min-width:220px;background:#fff;border:1px solid #e2e9de;border-radius:14px;padding:12px}.production-material img{width:64px;height:64px;object-fit:contain;border-radius:9px;background:#f2f4ee}.production-material strong{font-size:13px}.production-material p{font-size:12px;line-height:1.6;margin:4px 0;color:#667a6b}.production-material small{font-size:11px;color:#9c6b2a}
.production-blockers{background:#fff0eb;color:#a83d29;border:1px solid #f3cdbf;border-radius:12px;padding:15px;font-size:14px;line-height:1.7;margin-bottom:16px}.production-warnings{font-size:13px;color:#8c6e35;line-height:1.7}
.production-shots{display:grid;gap:18px}.production-shot{display:grid;grid-template-columns:minmax(220px,32%) minmax(0,1fr);gap:24px;padding:22px;border:1px solid #dfe7da;border-radius:18px;background:#fff;box-shadow:0 8px 26px #24402705}
.production-visual{position:relative;align-self:start;border-radius:13px;overflow:hidden;background:repeating-conic-gradient(#f3f5f0 0% 25%,#edf0e9 0% 50%) 50%/24px 24px;min-height:230px;display:grid;place-items:center}.production-visual>img{width:100%;height:340px;object-fit:contain;padding:14px 14px 42px}.production-frame-label{position:absolute;left:12px;right:12px;bottom:12px;text-align:center;font-size:11px;background:#ffffffeb;color:#56705b;padding:7px;border-radius:7px}
.production-shot-editor h3{font-size:18px;margin:0 0 8px}.production-purpose{margin:0 0 9px;font-size:13px;line-height:1.7;color:#6b7d6d}.production-timing{font-size:12px;background:#edf4e9;color:#537349;padding:5px 9px;border-radius:6px;display:inline-block}.production-bound-refs{display:flex;gap:5px;margin:12px 0}.production-bound-refs img{width:36px;height:36px;object-fit:contain;border:1px solid #dee7d8;border-radius:7px}
.production-shot-editor label{display:grid;gap:7px;margin:13px 0;font-size:12px;font-weight:600;color:#516857}.production-shot-editor textarea{width:100%;resize:vertical;font:inherit;font-weight:400;line-height:1.7;background:#fcfdfa;border:1px solid #d9e2d4;border-radius:10px;padding:10px;color:#2b4432;min-height:75px}.production-shot-editor textarea:focus{outline:2px solid #a6c6a3;outline-offset:2px}.production-shot-editor textarea:disabled{opacity:.7}
.production-panel button{font:inherit;font-size:13px;cursor:pointer;border:1px solid #b6cdb1;border-radius:9px;background:#fff;color:#285c37;padding:10px 15px}.production-panel button:hover:not(:disabled){background:#edf4e9}.production-panel button:disabled{cursor:not-allowed;opacity:.5}.production-panel button[hidden]{display:none}
.production-frame-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.production-frame-actions small{font-size:11px;color:#7b8b7b;line-height:1.6}.production-keyframe-result{margin-top:12px;font-size:13px;color:#687d6e;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.production-keyframe-result img{max-width:220px;max-height:280px;object-fit:contain;border-radius:10px}.production-status{grid-column:1/-1;margin:0;font-size:13px;color:#5f7c61}.production-video{grid-column:1/-1}.production-video:empty{display:none}.production-video video,.production-final-media video{width:100%;max-height:600px;object-fit:contain;background:#14271c;border-radius:12px}.production-video a,.production-final-media a{display:inline-block;margin-top:10px;font-size:13px;color:#265a37}
.production-actions{display:flex;gap:18px;align-items:center;margin-top:24px}.production-actions .production-generate{margin-left:auto;background:#205337;color:white;border-color:#205337;padding:13px 22px}.production-actions .production-generate:hover:not(:disabled){background:#163f28}.production-quote-value{font-size:14px}.production-footnote{font-size:12px;color:#7b8c7b;line-height:1.7;margin:15px 0 0}.production-finished{margin-top:22px;padding-top:20px;border-top:1px solid #d6e2d0}.production-finished h3{margin:0 0 8px}.production-finished p{font-size:13px;color:#68816b}
.production-saved{margin:0 0 18px;font-size:13px;color:#526e5b}.production-saved a{display:inline-block;margin:12px 18px 0 0;color:#2c5e3e}.production-source-picker{border:1px solid #d9e5d3;border-radius:16px;background:#f7faf4;padding:18px;margin-bottom:20px}.production-source-picker p{margin:0 0 12px;font-size:13px;color:#5c765d}.production-source-picker label{display:inline-flex;gap:8px;align-items:center;margin:5px 15px 5px 0;font-size:12px;cursor:pointer}.production-source-picker input{accent-color:#2e6740}
.production-shot-editor .qt-prompt-field{position:relative;margin:14px 0}.production-shot-editor .qt-prompt-heading{font-size:12px;font-weight:600;color:#516857}.production-shot-editor .qt-prompt-editor{min-height:80px;padding:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;outline:none}.production-shot-editor .qt-prompt-editor[contenteditable=false]{background:#f6f8f2;color:#7d8b7c}.production-shot-editor .qt-prompt-image{width:30px;height:30px}.production-shot-editor .qt-prompt-shell{background:#fcfdfa}
@media(max-width:900px){.video-scene-options{grid-template-columns:repeat(2,minmax(0,1fr))}.video-scene-fields{grid-template-columns:1fr 1fr}.video-scene-fields>label:first-child{grid-column:1/-1}}
@media(max-width:800px){.video-settings{grid-template-columns:repeat(2,1fr)}.video-submit-row{align-items:stretch;flex-direction:column}.video-quote-area{justify-content:space-between}.video-generate-button{width:100%}.video-studio-heading{align-items:start}}
@media(max-width:540px){.video-main{width:calc(100% - 28px);padding-top:34px}.video-heading{display:block}.video-heading a{display:inline-block;margin-top:12px}.video-result{padding:20px}.video-settings{grid-template-columns:1fr 1fr;gap:12px}.video-reference-hint{display:none}.video-composer{padding:14px 14px 0}.video-composer-footer{margin:0 -14px;padding:10px 14px}.video-result-heading{align-items:start;flex-direction:column;gap:5px}.video-result dl{grid-template-columns:1fr 1fr}}
