.am-page{--am-bg:#f8faf9;--am-panel:#fff;--am-soft:#f0f4f3;--am-line:#dce5e1;--am-ink:#202c2a;--am-muted:#657571;--am-green:#087f68;--am-wash:#e5f4ec;--am-gold:#eabd60;--am-gold-ink:#43320c;--am-danger:#ad3448;background:var(--am-bg);color:var(--am-ink);letter-spacing:0;min-height:100dvh;font-size:15px}.dark .am-page{--am-bg:#111614;--am-panel:#191f1d;--am-soft:#232d29;--am-line:#35433d;--am-ink:#f0f5f2;--am-muted:#a9b9b1;--am-green:#78d9b2;--am-wash:#223d30;--am-danger:#ff9bab}.am-page *{box-sizing:border-box;letter-spacing:0}.am-page :is(h1,h2,p,ol,ul){margin:0}.am-page button,.am-page input,.am-page select,.am-page textarea{font:inherit}.am-page button,.am-page a{border:1px solid var(--am-line);background:var(--am-panel);min-height:40px;color:var(--am-ink);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:9px 14px;text-decoration:none;transition:background .15s,border-color .15s,opacity .15s;display:inline-flex}.am-page button:hover:not(:disabled){background:var(--am-soft);border-color:var(--am-muted)}.am-page button:disabled{opacity:.45;cursor:not-allowed}.am-page :is(button,a,input,textarea,select,summary):focus-visible{outline:2px solid var(--am-green);outline-offset:3px}.am-page :is(select,textarea){color:var(--am-ink);background:var(--am-panel);border:1px solid var(--am-line);border-radius:5px;min-width:0;max-width:100%;padding:8px 10px}.am-page select{cursor:pointer}.am-page .am-icon{flex:0 0 40px;width:40px;height:40px;padding:8px}.am-page .am-primary{background:var(--am-gold);color:var(--am-gold-ink);border-color:var(--am-gold);min-height:46px;font-weight:650}.am-page .am-primary:hover:not(:disabled){background:#f0c979;border-color:#f0c979}.am-hidden{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.am-header{background:var(--am-panel);border-bottom:1px solid var(--am-line);justify-content:space-between;align-items:center;gap:16px;padding:22px 32px;display:flex}.am-title,.am-header-actions{align-items:center;gap:12px;display:flex}.am-title>span{border:1px solid var(--am-line);width:46px;height:46px;color:var(--am-green);background:var(--am-wash);border-radius:8px;place-items:center;display:grid}.am-title small{color:var(--am-muted);font-size:10px;font-weight:650}.am-title h1{font-size:24px;font-weight:650;line-height:1.4}.am-header-actions b{background:var(--am-soft);border-radius:4px;padding:2px 6px;font-size:12px;font-weight:500}.am-steps{border-bottom:1px solid var(--am-line);background:var(--am-panel);align-items:center;gap:22px;padding:20px 32px;display:flex}.am-steps>div{color:var(--am-muted);align-items:center;gap:9px;display:flex}.am-steps>div>span{border:1px solid var(--am-line);border-radius:50%;place-items:center;width:27px;height:27px;font-size:12px;display:grid}.am-steps strong{font-size:13px;font-weight:550}.am-steps>div>svg{color:var(--am-muted);margin-left:15px}.am-steps .am-step-done{color:var(--am-green)}.am-step-done>span{background:var(--am-wash)}.am-steps .am-step-current{color:var(--am-ink)}.am-steps .am-step-current>span{background:var(--am-ink);color:var(--am-panel);border-color:var(--am-ink)}.am-private{color:var(--am-muted);white-space:nowrap;align-items:center;gap:7px;margin-left:auto;font-size:12px;display:flex}.am-content{max-width:1500px;margin:0 auto;padding:30px 32px 0}.am-inputs{grid-template-columns:1fr 1fr;gap:24px;display:grid}.am-slot{border:1px solid var(--am-line);background:var(--am-panel);border-radius:8px;min-width:0;position:relative;overflow:hidden}.am-slot>header{border-bottom:1px solid var(--am-line);justify-content:space-between;align-items:center;height:68px;padding:14px 20px;display:flex}.am-slot>header>div{align-items:center;gap:12px;display:flex}.am-slot h2,.am-edit-list h2{font-size:17px;font-weight:600}.am-number{color:var(--am-muted);font-variant-numeric:tabular-nums;font-size:11px}.am-page .am-drop{width:100%;height:290px;color:var(--am-muted);background:0 0;border:0;border-radius:0;flex-direction:column;gap:10px;display:flex}.am-drop strong{color:var(--am-ink);font-size:18px;font-weight:600}.am-drop>span:not(.am-upload-mark){font-size:13px}.am-drop small{font-size:12px}.am-upload-mark{border:1px solid var(--am-line);background:var(--am-soft);width:54px;height:54px;color:var(--am-green);border-radius:8px;place-items:center;margin-bottom:5px;display:grid}.am-reference{color:#947025;background:#faf4e7}.dark .am-reference{color:var(--am-gold);background:#342d1e}.am-slot.am-dragging{outline:2px solid var(--am-green);outline-offset:3px}.am-slot>footer{border-top:1px solid var(--am-line);justify-content:space-between;align-items:center;gap:12px;min-height:63px;padding:10px 16px;display:flex}.am-saved-select{width:100%;color:var(--am-muted);align-items:center;gap:8px;display:flex}.am-saved-select select{appearance:none;width:100%;color:var(--am-muted);background:0 0;border:0;padding:8px 2px;font-size:13px}.am-source-preview{background:#090d0b;height:290px;position:relative}.am-source-preview video{object-fit:contain;width:100%;height:100%;display:block}.am-video-label{color:#fff;pointer-events:none;background:#111c;border-radius:4px;padding:4px 8px;font-size:11px;position:absolute;top:12px;left:12px}.am-file-meta{flex-direction:column;gap:5px;min-width:0;display:flex}.am-file-meta strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:550;overflow:hidden}.am-file-meta>span{color:var(--am-muted);align-items:center;gap:8px;font-size:12px;display:flex}.am-transfer{width:100%}.am-transfer>div{color:var(--am-muted);align-items:center;gap:8px;font-size:12px;display:flex}.am-transfer .am-icon{flex-basis:28px;width:28px;height:28px;min-height:28px;margin-left:auto}.am-page progress{width:100%;height:4px;accent-color:var(--am-green);background:var(--am-line);border:0;border-radius:2px;overflow:hidden}.am-page progress::-webkit-progress-bar{background:var(--am-line)}.am-page progress::-webkit-progress-value{background:var(--am-green);transition:width .3s}.am-compressed{color:var(--am-green);align-items:center;gap:7px;padding:0 16px 10px;font-size:11px;display:flex}.am-options{flex-wrap:wrap;align-items:center;gap:20px;margin:24px 0 0;padding:0 0 24px;display:flex}.am-mode{border:1px solid var(--am-line);background:var(--am-panel);border-radius:6px;gap:3px;padding:3px;display:inline-flex}.am-mode>button{color:var(--am-muted);background:0 0;border:0;padding:9px 12px;font-size:13px}.am-mode>button[aria-pressed=true]{color:var(--am-green);background:var(--am-wash)}.am-mode button>span{color:var(--am-muted);border-left:1px solid var(--am-line);padding-left:6px;font-size:10px}.am-format{color:var(--am-muted);align-items:center;gap:10px;margin-left:auto;font-size:13px;display:flex}.am-format select{font-size:13px}.am-settings{border-top:1px solid var(--am-line);width:100%;padding-top:20px}.am-settings>summary{cursor:pointer;color:var(--am-muted);align-items:center;gap:8px;width:max-content;font-size:13px;list-style:none;display:flex}.am-settings summary>svg:last-child{margin-left:5px}.am-settings>div{gap:16px;max-width:620px;padding-top:18px;display:grid}.am-check{color:var(--am-muted);align-items:center;gap:9px;font-size:13px;display:flex}.am-check input{width:16px;height:16px;accent-color:var(--am-green);cursor:pointer;flex:0 0 16px}.am-brief{gap:8px;display:grid}.am-brief>span{font-size:13px}.am-brief small{color:var(--am-muted);margin-left:8px;font-size:11px}.am-brief textarea{resize:vertical;width:100%;min-height:70px;font-size:14px}.am-warning{color:var(--am-danger);font-size:13px;line-height:1.6}.am-action-bar{border-top:1px solid var(--am-line);justify-content:space-between;align-items:center;gap:20px;min-height:94px;margin-top:4px;padding:22px 0;display:flex}.am-cost{color:var(--am-green);flex-shrink:0;align-items:center;gap:10px;display:flex}.am-cost>div{gap:3px;display:grid}.am-cost span{color:var(--am-muted);font-size:11px}.am-cost strong{color:var(--am-ink);font-variant-numeric:tabular-nums;font-size:17px;font-weight:600}.am-cost small{color:var(--am-muted);font-size:11px;font-weight:400}.am-generate-actions,.am-output-actions{align-items:center;gap:20px;display:flex}.am-consent{max-width:215px;font-size:11px;line-height:1.5}.am-action-status{color:var(--am-muted);align-items:center;gap:8px;font-size:13px;display:flex}.am-alert{background:color-mix(in srgb,var(--am-danger) 8%,var(--am-panel));border:1px solid color-mix(in srgb,var(--am-danger) 30%,var(--am-line));color:var(--am-danger);border-radius:6px;justify-content:space-between;align-items:center;gap:14px;margin:18px 32px;padding:12px 16px;font-size:13px;line-height:1.6;display:flex}.am-content>.am-alert{margin:16px 0}.am-result{grid-template-columns:minmax(0,1fr) minmax(290px,360px);gap:28px;padding-bottom:22px;display:grid}.am-preview{min-width:0}.am-preview>header{color:var(--am-muted);justify-content:space-between;align-items:center;padding:0 0 14px;font-size:12px;display:flex}.am-preview>header>div{color:var(--am-green);align-items:center;gap:7px;display:flex}.am-ready-dot{background:var(--am-green);border-radius:50%;width:6px;height:6px}.am-result-video{background:#090d0b;border-radius:6px;height:min(55vh,530px);min-height:280px;overflow:hidden}.am-result-video video{object-fit:contain;width:100%;height:100%;display:block}.am-timeline{gap:3px;height:38px;margin:16px 0;display:flex}.am-page .am-timeline button{background:var(--am-wash);border:1px solid var(--am-line);min-width:12px;min-height:38px;color:var(--am-green);font-variant-numeric:tabular-nums;border-radius:3px;flex-basis:0;padding:3px;font-size:10px;overflow:hidden}.am-page .am-timeline button:nth-child(3n+2){background:color-mix(in srgb,var(--am-gold) 20%,var(--am-panel));color:var(--am-ink)}.am-preview>footer{color:var(--am-muted);justify-content:space-between;gap:10px;font-size:12px;display:flex}.am-preview>footer span{align-items:center;gap:7px;display:flex}.am-edit-list{border-left:1px solid var(--am-line);flex-direction:column;min-width:0;padding-left:24px;display:flex}.am-edit-list>header{justify-content:space-between;align-items:center;display:flex}.am-summary{color:var(--am-muted);padding:12px 0;font-size:13px;line-height:1.7}.am-edit-list>ol{max-height:370px;padding:0;list-style:none;overflow:auto}.am-edit-list>ol>li{border-top:1px solid var(--am-line);align-items:center;gap:10px;min-width:0;padding:15px 0;display:flex}.am-shot-number{color:var(--am-muted);font-variant-numeric:tabular-nums;font-size:11px}.am-edit-list li>div{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.am-edit-list li strong{align-items:center;gap:7px;font-size:12px;font-weight:550;display:flex}.am-edit-list li small{color:var(--am-muted);overflow-wrap:anywhere;font-size:11px;line-height:1.5}.am-edit-list select{max-width:100px;padding:7px 5px;font-size:11px}.am-edit-list>footer{color:var(--am-muted);border-top:1px solid var(--am-line);justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:16px;font-size:11px;display:flex}.am-edit-list>footer button{min-height:38px;font-size:12px}.am-review-notes{color:var(--am-muted);margin:18px 0;font-size:12px}.am-review-notes summary{cursor:pointer;align-items:center;gap:8px;display:flex}.am-review-notes summary span{background:var(--am-soft);border-radius:3px;padding:2px 5px}.am-review-notes ul{padding:12px 0 0 18px;line-height:1.7}.am-review-notes li+li{margin-top:8px}.am-loading,.am-processing{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:18px;min-height:420px;padding:30px;display:flex}.am-loading{color:var(--am-muted);font-size:14px}.am-brand-loader{border:1px solid var(--am-line);background:var(--am-panel);border-radius:8px;place-items:center;width:72px;height:72px;animation:1.7s ease-in-out infinite am-breathe;display:grid}.am-brand-loader img{width:38px;height:38px;display:block}.am-processing-label{color:var(--am-green);font-size:13px}.am-processing h2{overflow-wrap:anywhere;max-width:600px;font-size:20px;font-weight:550}.am-processing>progress{max-width:330px;margin-top:8px}.am-processing>div{color:var(--am-muted);align-items:center;gap:28px;font-size:12px;display:flex}.am-processing>div button{min-height:30px;padding:6px 10px;font-size:12px}.am-modal-backdrop{z-index:100;background:#0008;justify-content:flex-end;align-items:flex-start;padding:20px;display:flex;position:fixed;inset:0}.am-history{background:var(--am-panel);border:1px solid var(--am-line);border-radius:8px;width:460px;max-width:100%;max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 18px 60px #0003}.am-history>header{border-bottom:1px solid var(--am-line);background:var(--am-panel);justify-content:space-between;align-items:center;gap:16px;padding:20px;display:flex;position:sticky;top:0}.am-history>header>div{align-items:center;gap:10px;display:flex}.am-history h2{font-size:18px}.am-history ul{padding:0 20px;list-style:none}.am-history li{border-bottom:1px solid var(--am-line)}.am-history li>button{background:0 0;border:0;border-radius:0;justify-content:flex-start;width:100%;padding:18px 0}.am-history li>button>svg{color:var(--am-green);flex-shrink:0}.am-history li>button>svg:last-child{margin-left:auto}.am-history li>button>div{text-align:left;gap:5px;min-width:0;display:grid}.am-history li strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:550;overflow:hidden}.am-history li span{color:var(--am-muted);font-size:11px}.am-history-empty{color:var(--am-muted);padding:30px;font-size:14px}.am-spin{animation:1s linear infinite am-spin}@keyframes am-spin{to{transform:rotate(360deg)}}@keyframes am-breathe{50%{border-color:var(--am-green);transform:scale(1.04)}}@media (width>=1600px){.am-content{padding-top:38px}.am-drop,.am-source-preview{height:340px}}@media (width<=1000px){.am-result{grid-template-columns:minmax(0,1fr) minmax(250px,300px);gap:20px}.am-edit-list{padding-left:18px}.am-generate-actions,.am-action-bar{gap:12px}.am-consent{max-width:160px}.am-mode{max-width:100%}.am-mode>button{padding:9px 8px}}@media (width<=760px){.am-header{padding:18px 20px}.am-title h1{font-size:21px}.am-steps{gap:15px;padding:16px 20px}.am-steps strong{font-size:12px}.am-steps>div>svg{margin-left:0}.am-private{display:none}.am-content{padding:22px 20px 0}.am-inputs{gap:16px}.am-slot>header{height:57px;padding:10px 14px}.am-slot h2{font-size:15px}.am-page .am-drop,.am-source-preview{height:235px}.am-drop strong{font-size:16px}.am-drop small{font-size:11px}.am-result{grid-template-columns:1fr}.am-result-video{height:430px}.am-edit-list{border-left:0;border-top:1px solid var(--am-line);padding:18px 0 0}.am-edit-list>ol{max-height:270px}.am-edit-list select{max-width:120px}.am-consent{max-width:none}.am-generate-actions{flex-wrap:wrap;justify-content:flex-end}.am-action-bar{align-items:flex-start}.am-action-bar .am-primary{min-height:44px;padding:10px 12px;font-size:13px}.am-format{margin-left:0}.am-options{gap:14px}.am-alert{margin:16px 20px}.am-page .am-mode>button{font-size:12px}.am-modal-backdrop{padding:12px}.am-history{max-height:calc(100dvh - 24px)}}@media (width<=480px){.am-inputs{grid-template-columns:1fr}.am-page .am-drop,.am-source-preview{height:230px}.am-header-actions{gap:6px}.am-header-actions>button{padding:9px 10px}.am-title{gap:9px}.am-title>span{width:40px;height:40px}.am-title h1{font-size:20px}.am-steps{gap:9px}.am-steps>div{gap:6px}.am-steps>div>span{width:23px;height:23px}.am-steps strong{font-size:11px}.am-steps>div>svg{width:12px}.am-format{justify-content:space-between;width:100%}.am-mode{width:100%}.am-mode>button{flex:1}.am-action-bar{flex-wrap:wrap}.am-generate-actions{justify-content:stretch;gap:14px;width:100%}.am-generate-actions>.am-primary{width:100%}.am-consent{width:100%;font-size:12px}.am-output-actions{gap:10px;width:100%}.am-output-actions>a{flex:1}.am-preview>footer{font-size:10px}.am-result-video{height:400px}.am-cost strong{font-size:16px}.am-edit-list>footer button{font-size:12px}.am-processing{min-height:340px;padding:24px 4px}.am-processing h2{font-size:18px}}@media (prefers-reduced-motion:reduce){.am-page *{transition:none!important;animation:none!important}}.am-compare{gap:4px;margin-bottom:12px;display:flex}.am-page .am-compare button{background:0 0;border-color:#0000;min-height:36px;padding:7px 13px;font-size:13px}.am-page .am-compare button[aria-pressed=true]{background:var(--am-wash);color:var(--am-green);border-color:var(--am-line)}.am-applied{color:var(--am-muted);flex-wrap:wrap;align-items:center;gap:14px;padding:18px 0;font-size:12px;display:flex}.am-applied strong{color:var(--am-ink);font-weight:600}.am-applied span{align-items:center;gap:6px;display:flex}.am-applied i{border:1px solid var(--am-line);border-radius:2px;width:12px;height:12px}.am-style-action{margin:12px 0;justify-content:space-between!important}.am-style-action small{color:var(--am-muted);margin-left:auto;font-size:11px}.am-reference-consent{padding:14px 0;line-height:1.5}.am-shot-controls{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.am-edit-list .am-edit-shot{align-items:flex-start}.am-edit-list .am-edit-shot strong{font-size:14px}.am-edit-list .am-shot-controls select{flex:1;min-width:90px;max-width:135px;font-size:12px}.am-reference-time{color:var(--am-muted);justify-content:space-between;align-items:center;gap:8px;margin-top:6px;font-size:12px;display:flex}.am-reference-time input{border:1px solid var(--am-line);background:var(--am-panel);width:80px;color:var(--am-ink);border-radius:4px;padding:7px}.am-review-notes>p{padding-top:12px;line-height:1.6}.am-page .am-edit-list>ol{max-height:430px}@media (width<=480px){.am-title{min-width:0}.am-title>span{flex-shrink:0}.am-title h1{white-space:nowrap}.am-header-actions>button>span{display:none}}@media (width<=360px){.am-header-actions b{display:none}.am-header-actions>button:first-child{width:40px;padding:8px}.am-header{gap:10px}}.am-mode-select{color:var(--am-green);align-items:center;gap:10px;min-width:0;max-width:100%;display:flex}.am-mode-select select{min-height:44px;font-size:14px;font-weight:550}.am-edit-list .am-style-action{white-space:normal;flex-wrap:wrap;font-size:13px}.am-edit-list .am-style-action small{white-space:nowrap}.am-single-input{grid-template-columns:minmax(0,1fr);max-width:820px;margin:0 auto}.am-single-input .am-source-preview{height:360px}.am-director-brief{width:100%;max-width:820px}.am-cue-list input{border:1px solid var(--am-line);background:var(--am-panel);width:100%;min-width:0;color:var(--am-ink);border-radius:5px;padding:10px;font-size:15px;line-height:1.6}.am-cue-list input+input{color:var(--am-muted);font-size:13px}.am-edit-list .am-cue-list select{max-width:100%;font-size:13px}.am-edit-list .am-cue-list li{align-items:flex-start}.am-cue-list li>div{gap:10px}@media (width<=480px){.am-single-input .am-source-preview{height:320px}.am-mode-select{width:100%}.am-mode-select select{width:100%;font-size:13px}}
/*$vite$:1*/