:root{font-family:Noto Sans SC,DM Sans,sans-serif;color:#202a35;background:#f3f5f7;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#202a35;--muted:#7c8792;--line:#e7eaed;--blue:#246bce;--blue-dark:#1959b8;--pale:#edf4fd;--mono:"DM Mono",monospace}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f3f5f7}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.topbar{height:64px;background:#fff;border-bottom:1px solid #e8ebee;display:flex;align-items:center;justify-content:space-between;padding:0 max(calc((100vw - 1280px)/2),5.3%)}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#202b35;font-weight:700;font-size:16px;letter-spacing:.02em}.brand-light{font-weight:450;color:#89939c}.brand-mark{width:24px;height:24px;border-radius:7px;background:#2869c5;display:flex;align-items:end;justify-content:center;gap:2px;padding:6px 5px}.brand-mark i{display:block;width:3px;background:#fff;border-radius:3px;transform:skewY(-23deg)}.brand-mark i:nth-child(1){height:7px;opacity:.74}.brand-mark i:nth-child(2){height:12px}.brand-mark i:nth-child(3){height:9px;opacity:.86}.top-meta{display:flex;align-items:center;gap:8px;color:#67737d;font-size:12px}.connection-dot{height:7px;width:7px;border-radius:50%;background:#39a879;box-shadow:0 0 0 3px #eaf7f1}.connection-dot.offline{background:#e4a43b;box-shadow:0 0 0 3px #fff6e8}.top-divider{height:15px;width:1px;background:#e4e7eb;margin:0 5px}.workspace{max-width:1280px;margin:0 auto;padding:35px 0 22px}.intro-row{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:24px}.eyebrow{font:500 10px var(--mono);letter-spacing:.12em;color:#59728d;display:flex;align-items:center;gap:8px;text-transform:uppercase}.eyebrow-line{width:18px;height:1px;background:#3d78c4}.eyebrow-index{color:#a0aab4;margin-left:5px}h1{font-size:27px;line-height:1.3;letter-spacing:-.035em;margin:9px 0 5px;font-weight:650;color:#202a35}.intro-copy{margin:0;color:#75818c;font-size:13px}.steps{display:flex;align-items:center;gap:11px;padding-bottom:4px}.step{display:flex;align-items:center;gap:7px;color:#9aa4ad;font-size:11px}.step>span{height:23px;width:23px;border:1px solid #d9dee3;border-radius:50%;display:grid;place-items:center;font:11px var(--mono);background:#fff}.step.active{color:#315f91}.step.active>span{background:#eaf2fc;color:#246bce;border-color:#c9dcf4}.step b{font-weight:500}.step-line{width:32px;height:1px;background:#dce1e6}.notice,.alert{display:flex;gap:12px;align-items:flex-start;padding:12px 15px;border:1px solid #f0dfbf;background:#fffaf0;border-radius:5px;color:#765721;margin:0 0 18px}.notice-icon{flex:none;border:1px solid #d2aa5f;border-radius:50%;width:17px;height:17px;text-align:center;line-height:16px;font:500 11px var(--mono);margin-top:1px}.notice strong{font-size:12px;font-weight:600}.notice p{margin:3px 0 0;color:#836e4d;font-size:11px}.notice code{font:11px var(--mono);background:#f7f0df;padding:2px 4px;border-radius:3px}.alert{align-items:center;margin-bottom:14px;padding:10px 13px;background:#fff3f1;border-color:#f2d0ca;color:#a63c2e}.alert>span{font-weight:700}.alert p{font-size:12px;flex:1;margin:0}.alert button{background:none;border:0;color:#93564d;font-size:20px}.main-grid{display:grid;grid-template-columns:minmax(0,1.57fr) minmax(310px,.83fr);gap:18px;align-items:start}.form-column,.preview-column{display:flex;flex-direction:column;gap:14px}.panel,.preview-panel,.job-panel{background:#fff;border:1px solid #e7eaed;border-radius:7px;box-shadow:0 2px 8px #17293d06}.panel{padding:19px 21px}.section-heading{display:flex;align-items:flex-start;gap:11px;margin-bottom:18px}.section-number{font:11px var(--mono);color:#4680c3;border-right:1px solid #dce7f3;padding:3px 10px 3px 0;margin-top:2px}.section-heading h2{font-size:15px;line-height:1.4;margin:0 0 3px;font-weight:650;letter-spacing:-.015em}.section-heading p{font-size:11px;color:#89939d;margin:0}.section-status{margin-left:auto;color:#9ca6af;font-size:10px;background:#f4f6f7;padding:4px 8px;border-radius:3px}.section-status.complete{color:#287b58;background:#edf7f1}.uploads{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field-label{display:block;color:#344250;font-size:11px;font-weight:600;margin:0 0 8px}.field-label em{font-style:normal;color:#bd6b48;font-size:9px;font-weight:500;margin-left:5px}.dropzone{height:160px;border:1px dashed #d6dde4;border-radius:5px;background:#fafbfc;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;transition:border-color .18s,background .18s;cursor:pointer}.dropzone:hover{border-color:#78a3d5;background:#f6f9fd}.upload-symbol{position:relative;width:34px;height:34px;border-radius:8px;background:#edf3fa;color:#5481b4;display:grid;place-items:center;margin-bottom:8px}.upload-symbol svg,.audio-art svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.portrait-symbol span{position:absolute;right:-4px;bottom:-4px;background:#3478ca;color:#fff;border:2px solid #fafbfc;border-radius:50%;height:15px;width:15px;line-height:11px;text-align:center;font-size:13px}.audio-symbol{background:#f2f1ed;color:#9c855c}.dropzone strong{font-size:11px;font-weight:550;color:#3e4c5b}.upload-caption{font-size:10px;color:#929da7;margin-top:4px}.format-label{font:9px var(--mono);letter-spacing:.05em;color:#aab2ba;margin-top:10px}.helper{font-size:10px;line-height:1.65;color:#8e99a3;margin:7px 0 0}.file-input{display:none}.hidden-picker{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.asset-preview{height:160px;position:relative;border:1px solid #e5e9ed;border-radius:5px;background:#fafbfc;overflow:hidden;display:flex;align-items:center;padding:12px;gap:11px}.image-preview img{width:88px;height:132px;object-fit:cover;border-radius:3px;background:#e8ebee}.asset-info{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.asset-info strong{font-size:11px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#354351}.asset-info>span{font-size:10px;color:#909aa4}.remove-btn{position:absolute;right:7px;top:6px;border:0;background:#fff;border-radius:4px;width:22px;height:22px;color:#89939c;font-size:17px;line-height:18px;box-shadow:0 1px 3px #17293d14}.audio-preview{height:160px;align-items:flex-start;padding-top:19px}.audio-art{width:32px;height:32px;flex:none;border-radius:6px;background:#f1f0eb;color:#95825c;display:grid;place-items:center}.audio-info{padding:1px 18px 0 0}.audio-info audio{width:100%;height:30px;margin-top:7px}.name-field{display:grid;grid-template-columns:105px 1fr auto;align-items:center;gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid #f0f2f4}.name-field .field-label{margin:0}.optional{font-size:9px;color:#9aa3ab;font-weight:400;margin-left:4px}.name-field input{height:34px;border:1px solid #e1e6eb;border-radius:4px;padding:0 10px;font-size:11px;color:#364350;outline:none}.name-field input:focus,.select-field select:focus,.prompt-editor textarea:focus{border-color:#78a3d5;box-shadow:0 0 0 2px #e9f2fc}.name-field input::placeholder{color:#b2bac1}.input-hint{font-size:9px;color:#9ca6af}.settings-panel{padding-bottom:16px}.choice-field{margin:0;padding:0;border:0;min-width:0}.choice-field legend{padding:0}.style-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.style-option{position:relative;height:54px;border:1px solid #e5e9ed;background:#fff;border-radius:4px;display:flex;align-items:center;justify-content:flex-start;gap:7px;padding:0 9px;color:#596572;font-size:10px;transition:.15s}.style-option:hover,.ratio-choice:hover,.quality-choice:hover{border-color:#9bb9dc}.style-option.selected,.ratio-choice.selected,.quality-choice.selected{border-color:#6c9bd0;background:#f5f9fe;color:#245f9e}.style-glyph{font-size:14px;color:#879cb2;width:17px;text-align:center}.glyph-3{font-size:16px}.style-option.selected .style-glyph{color:#3478c9}.selected-tick{margin-left:auto;font-size:10px;color:#3379c7}.select-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.select-field{display:block}.select-field .field-label{margin-bottom:7px}.select-field select{width:100%;height:35px;border:1px solid #e3e7eb;border-radius:4px;background:#fff;color:#43515f;font-size:11px;padding:0 10px;outline:none}.prompt-area{border:1px solid #e8ebee;border-radius:4px;overflow:hidden}.prompt-toggle{width:100%;min-height:48px;border:0;background:#fafbfc;display:flex;align-items:center;text-align:left;padding:8px 11px;gap:10px;color:#495763}.toggle-chevron{font-size:21px;line-height:12px;transform:rotate(0);transition:transform .15s;color:#87939e}.toggle-chevron.open{transform:rotate(90deg)}.prompt-toggle strong{display:block;font-size:10px;font-weight:600}.prompt-toggle small{display:block;font-size:9px;color:#929ca5;margin-top:2px}.toggle-action{margin-left:auto;font-size:10px;color:#5786ba}.prompt-editor{padding:10px 11px;border-top:1px solid #e9edf0}.prompt-editor textarea{resize:vertical;min-height:75px;width:100%;border:1px solid #e1e6ea;border-radius:4px;padding:9px;font-size:11px;line-height:1.7;color:#536170;outline:none}.prompt-footer{display:flex;justify-content:space-between;align-items:center;color:#9aa3ab;font-size:9px;margin-top:6px}.text-button{border:0;background:none;color:#3678c0;font-size:10px;padding:2px 0}.output-options{display:grid;grid-template-columns:1fr 1.15fr;gap:20px}.ratio-options,.quality-options{display:flex;gap:7px}.ratio-choice,.quality-choice{height:54px;min-width:69px;border:1px solid #e5e9ed;border-radius:4px;background:#fff;color:#596572;display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;padding:0 9px}.ratio-icon{display:block;border:1.4px solid #8195a9;border-radius:2px;width:13px;height:17px}.ratio-icon.ratio-16-9{width:19px;height:11px}.ratio-icon.ratio-1-1{width:14px;height:14px}.selected .ratio-icon{border-color:#3479c7}.quality-choice{flex:1;min-width:65px;justify-content:center;flex-direction:column;gap:2px}.quality-choice span{font-size:10px}.quality-choice small{font:9px var(--mono);color:#9aa4ad}.quality-choice.selected small{color:#6490c0}.submit-row{display:flex;align-items:center;justify-content:space-between;padding:3px 1px 0}.submit-note{display:flex;align-items:center;gap:8px;color:#87929b;font-size:10px;line-height:1.7}.submit-note b{font-weight:500;color:#596875}.secure-icon{width:24px;height:24px;border:1px solid #dce5ed;color:#6887a7;display:grid;place-items:center;border-radius:50%;font-size:13px}.primary-button{height:45px;min-width:225px;border:0;border-radius:4px;background:#286bc4;color:#fff;font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:10px;padding:0 15px;box-shadow:0 2px 4px #2363b533;transition:background .15s,transform .15s}.primary-button:hover:not(:disabled){background:#1d5eb4;transform:translateY(-1px)}.primary-button:disabled{background:#a9bfd8;box-shadow:none;cursor:not-allowed}.primary-button svg,.download-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.button-arrow{font-size:17px;font-weight:400;margin-left:3px}.spinner{width:14px;height:14px;border:2px solid #ffffff66;border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.preview-column{position:sticky;top:16px}.preview-panel{padding:17px 17px 12px}.preview-top{display:flex;align-items:flex-start;justify-content:space-between}.preview-kicker,.job-eyebrow{font:9px var(--mono);letter-spacing:.13em;color:#8291a0}.preview-top h2{font-size:14px;font-weight:650;margin:4px 0 0}.preview-aspect{font:10px var(--mono);color:#60758c;border:1px solid #e3e9ef;padding:4px 7px;border-radius:3px}.preview-stage{display:flex;justify-content:center;align-items:center;min-height:340px;margin:12px 0 10px;background:#f3f5f7;border:1px solid #edf0f3;border-radius:4px;overflow:hidden;padding:12px}.video-frame{position:relative;width:100%;height:316px;max-width:252px;background:#e4e8ec;border-radius:3px;overflow:hidden;display:flex;justify-content:center;align-items:center;transition:aspect-ratio .2s}.video-frame.frame-9-16{aspect-ratio:9/16;max-width:178px;height:auto;min-height:282px}.video-frame.frame-16-9{aspect-ratio:16/9;width:100%;max-width:330px;height:auto;min-height:178px}.video-frame.frame-1-1{aspect-ratio:1/1;width:100%;max-width:270px;height:auto;min-height:250px}.video-frame>img,.video-frame>video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.video-frame>video{z-index:2;background:#111}.empty-portrait{width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(145deg,#e7ebef,#dbe1e6);display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}.empty-head{width:56px;height:69px;border-radius:48% 48% 45% 45%;background:#ccd4dc;position:relative;z-index:1}.empty-head:before{content:"";position:absolute;width:45px;height:15px;border-radius:50% 50% 20% 20%;background:#b9c5d0;top:-3px;left:5px}.empty-body{width:126px;height:95px;border-radius:52% 52% 0 0;background:#cbd4dc;margin-top:5px}.empty-portrait span{position:absolute;bottom:19px;font-size:9px;color:#85919b;letter-spacing:.05em}.preview-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#fff;font-size:10px;text-shadow:0 1px 5px #26344288;background:linear-gradient(0deg,#18263342,transparent 50%,#18263314)}.play-orbit{width:40px;height:40px;border:1px solid #ffffff9c;border-radius:50%;display:grid;place-items:center;background:#1423312b;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.play-orbit span{font-size:13px;margin-left:2px}.frame-corner{position:absolute;z-index:1;width:14px;height:14px;border-color:#fffa}.corner-tl{top:8px;left:8px;border-left:1px solid;border-top:1px solid}.corner-br{bottom:8px;right:8px;border-right:1px solid;border-bottom:1px solid}.preview-caption{border-top:1px solid #edf0f2;padding:10px 1px 1px;display:flex;align-items:center;gap:7px;font-size:9px;color:#7d8993}.caption-indicator{height:6px;width:6px;border-radius:50%;background:#6c9ad0}.caption-size{margin-left:auto;color:#9da6ae;font:9px var(--mono)}.result-actions{display:flex;justify-content:space-between;align-items:center;padding:11px 0 1px;border-top:1px solid #edf0f2;margin-top:10px}.result-meta{display:flex;flex-direction:column;gap:3px}.result-meta strong{font:12px var(--mono);color:#445668}.result-meta span{font-size:9px;color:#8a959e}.download-button{height:32px;border:1px solid #d7e4f1;border-radius:4px;background:#f4f8fd;color:#316ba8;display:flex;align-items:center;gap:6px;padding:0 10px;font-size:10px}.download-button:hover{background:#eaf3fc}.job-head{display:flex;align-items:center;justify-content:space-between}.job-head h3{font-size:13px;font-weight:650;margin:3px 0 0}.job-pill{display:flex;align-items:center;gap:6px;padding:5px 8px;background:#f2f4f6;color:#8b959e;border-radius:3px;font-size:9px}.job-pill i{width:6px;height:6px;border-radius:50%;background:#aab3bb}.job-pill.queued{color:#926d29;background:#fff8e8}.job-pill.queued i{background:#d5a842}.job-pill.running{color:#306dac;background:#edf5fd}.job-pill.running i{background:#4284cc;animation:pulse 1s infinite}.job-pill.succeeded{color:#287b58;background:#edf7f1}.job-pill.succeeded i{background:#48a67a}.job-pill.failed,.job-pill.cancelled{color:#ad483a;background:#fff1ef}.job-pill.failed i,.job-pill.cancelled i{background:#d66c5d}@keyframes pulse{50%{box-shadow:0 0 0 4px #4687cc24}}.job-id{display:flex;align-items:center;justify-content:space-between;margin:16px 0 8px;color:#929da6;font-size:9px}.job-id code{font:9px var(--mono);color:#6f7e8b}.progress-track{height:4px;border-radius:5px;background:#edf0f2;overflow:hidden}.progress-track>span{height:100%;display:block;background:#4382c4;border-radius:5px;transition:width .35s}.progress-track>span.animated{background:linear-gradient(90deg,#3f7fc4 25%,#9dc0e5,#3f7fc4 75%);background-size:200% 100%;animation:progress-glint 1.5s linear infinite}@keyframes progress-glint{to{background-position:-200% 0}}.progress-meta{display:flex;justify-content:space-between;gap:8px;margin-top:8px;color:#7f8a94;font-size:10px}.progress-meta b{font:10px var(--mono);color:#637b92;white-space:nowrap}.job-empty{padding:21px 0 0}.queue-icon{height:31px;display:flex;align-items:end;gap:3px;margin-bottom:8px}.queue-icon i{width:4px;background:#cad9e8;border-radius:3px;height:11px}.queue-icon i:nth-child(2){height:21px;background:#9cb9d5}.queue-icon i:nth-child(3){height:15px;background:#b1c9df}.job-empty p{font-size:10px;line-height:1.7;color:#8b969f;margin:0}.queue-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0f2;margin-top:16px;padding-top:10px;color:#949da5;font-size:9px}.queue-footer b{font-weight:500;color:#637280}.poll-warning{margin-top:11px;padding:8px;background:#fff8e9;color:#856921;display:flex;align-items:center;justify-content:space-between;font-size:9px;gap:8px}.poll-warning button{border:0;background:none;color:#286ebc;font-size:9px;white-space:nowrap}.job-error{margin-top:10px;color:#a54338;background:#fff3f1;padding:8px;font-size:10px;line-height:1.5}.retry-button{border:0;background:none;color:#286bc4;font-size:10px;margin-top:10px;padding:0}.retry-button span{margin-left:5px;font-size:15px}.privacy-note{display:flex;align-items:flex-start;gap:9px;padding:2px 4px;color:#87929c}.privacy-note>span{font-size:13px;color:#8da2b6}.privacy-note p{font-size:9px;line-height:1.6;margin:0}.page-footer{display:flex;justify-content:space-between;margin-top:24px;padding-top:13px;border-top:1px solid #e3e7eb;color:#9aa4ad;font-size:9px}.page-footer b{font-weight:400;color:#c0c7cd;margin:0 4px}@media(max-width:1340px){.workspace{margin:0 5.3%}}@media(max-width:900px){.workspace{margin:0 24px;padding-top:27px}.main-grid{grid-template-columns:minmax(0,1.3fr) minmax(270px,.8fr);gap:13px}.panel{padding:16px}.uploads{gap:11px}.style-option{padding:0 7px;font-size:9px}.preview-stage{min-height:300px}.video-frame{height:275px}}@media(max-width:700px){.topbar{height:56px;padding:0 17px}.workspace{margin:0 16px;padding:23px 0 18px}.intro-row{display:block;margin-bottom:19px}.intro-row h1{font-size:23px}.intro-copy{font-size:12px}.steps{margin-top:17px;justify-content:flex-start}.step-line{width:26px}.main-grid{display:flex;flex-direction:column}.form-column,.preview-column{width:100%}.preview-column{position:static;order:-1}.preview-panel{padding:14px}.preview-stage{min-height:285px;margin-top:10px}.video-frame{height:260px;max-width:204px}.video-frame.frame-9-16{min-height:245px;max-width:155px}.video-frame.frame-16-9{min-height:160px;max-width:300px}.video-frame.frame-1-1{min-height:230px;max-width:240px}.job-panel{padding:14px}.privacy-note{padding:3px}.page-footer{margin-top:18px}.top-meta{font-size:10px}.workspace-tag{display:none}.top-divider{margin:0 2px}.notice{padding:11px}}@media(max-width:480px){.workspace{margin:0 12px}.panel{padding:14px 13px}.section-heading{margin-bottom:14px}.uploads{grid-template-columns:1fr;gap:15px}.dropzone,.asset-preview{height:144px}.image-preview img{height:118px}.audio-preview{height:144px}.name-field{grid-template-columns:1fr auto;gap:7px}.name-field .field-label{grid-column:1/-1}.input-hint{grid-column:2;grid-row:2}.name-field input{grid-column:1;grid-row:2}.style-options{grid-template-columns:1fr 1fr}.style-option{height:44px;font-size:10px}.select-row{gap:9px}.output-options{grid-template-columns:1fr;gap:15px}.ratio-options{gap:8px}.ratio-choice{flex:1}.submit-row{align-items:stretch;flex-direction:column;gap:11px}.submit-note{font-size:9px}.primary-button{width:100%;height:45px}.step{font-size:10px;gap:5px}.step-line{width:19px}.step>span{height:21px;width:21px}.page-footer span:last-child{display:none}.caption-size{font-size:8px}}.clip-selector{margin-top:12px;padding:12px;border:1px solid #e1e8f0;border-radius:5px;background:#fbfcfe}.clip-selector-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.clip-selector-head>div{display:flex;flex-direction:column;gap:3px;min-width:0}.clip-selector-head strong{font-size:11px;font-weight:600;color:#34485c}.clip-selector-head span{font:10px var(--mono);color:#3475ba}.clip-preview-button{flex:none;border:1px solid #d7e4f1;border-radius:4px;background:#fff;color:#326da9;padding:6px 9px;font-size:10px}.clip-preview-button:hover:not(:disabled){background:#eef5fc}.clip-preview-button:disabled{opacity:.55;cursor:not-allowed}.audio-timeline{height:64px;position:relative;overflow:hidden;border-radius:4px;background:linear-gradient(180deg,#f3f7fb,#f8fafc);border:1px solid #e4eaf0;touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair}.audio-timeline.dragging{cursor:grabbing}.waveform-bars,.waveform-placeholder{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:space-between;gap:2px;padding:8px 5px;pointer-events:none}.waveform-bars i{display:block;flex:1;min-width:1px;border-radius:2px;background:#80a8d1;opacity:.7}.waveform-placeholder i{display:block;flex:1;height:1px;background:#e0e7ee}.audio-selection-window{position:absolute;top:0;bottom:0;min-width:2px;border:1px solid #3479c9;background:#4e91d02b;box-shadow:0 0 0 999px #1726381c;cursor:grab;touch-action:none}.audio-selection-window:before,.audio-selection-window:after{content:"";position:absolute;top:0;bottom:0;width:3px;background:#3479c9}.audio-selection-window:before{left:-1px}.audio-selection-window:after{right:-1px}.audio-selection-window span{position:absolute;top:50%;width:5px;height:20px;margin-top:-10px;border-radius:3px;background:#fff;box-shadow:0 0 0 1px #3479c977}.audio-selection-window span:first-child{left:3px}.audio-selection-window span:last-child{right:3px}.clip-timeline-labels{display:flex;justify-content:space-between;margin:4px 1px 8px;color:#929eaa;font:9px var(--mono)}.clip-start-control{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px}.clip-start-control label{font-size:10px;color:#637386;white-space:nowrap}.clip-start-control input{width:100%;height:16px;margin:0;accent-color:#3479c9}.clip-start-control output{font:10px var(--mono);color:#426b96;min-width:40px;text-align:right}.clip-selector-hint{margin:7px 0 0;color:#8794a1;font-size:9px;line-height:1.5}.clip-selector-hint+.clip-selector-hint{margin-top:3px}@media(max-width:480px){.clip-selector{padding:10px}.clip-selector-head{align-items:flex-start}.audio-timeline{height:58px}.clip-start-control{grid-template-columns:1fr auto;gap:5px}.clip-start-control label{grid-column:1/-1}.clip-start-control input{grid-column:1}.clip-start-control output{grid-column:2;grid-row:2}}.output-options{grid-template-columns:repeat(2,minmax(0,1fr))}.audio-selection-window:before,.audio-selection-window:after{width:5px}.audio-selection-window span{pointer-events:none}.output-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.output-options>.choice-field{min-width:0}.output-options .ratio-options,.output-options .quality-options{display:flex;width:100%;gap:8px}.output-options .ratio-choice,.output-options .quality-choice{flex:1;min-width:0}.clip-selector{padding:16px}.clip-selector-head{margin-bottom:13px}.clip-selector-head>div{gap:5px}.clip-selector-head strong{font-size:15px}.clip-selector-head span{font-size:13px}.clip-preview-button{padding:9px 13px;font-size:13px}.audio-timeline{height:76px}.clip-timeline-labels{margin:6px 1px 10px;font-size:12px}.clip-selector-hint{margin-top:9px;font-size:12px;line-height:1.65}.clip-selector-hint+.clip-selector-hint{margin-top:5px}@media(max-width:700px){.preview-column{order:initial}}:root{font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif;font-synthesis:none;text-rendering:auto;--mono: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif}body{color:#202a35;-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.intro-copy{color:#65727e;font-size:14px}.top-meta,.steps{font-size:12px}.eyebrow{font-size:11px}.section-number{font-size:12px}.section-heading p,.notice p{color:#707d89;font-size:12px}.section-status{font-size:11px}.field-label{font-size:12px}.upload-caption,.helper{color:#707d89;font-size:11px}.format-label{color:#737f8b;font-size:10px}.name-field input,.select-field select,.style-option,.ratio-choice,.quality-choice,.primary-button{font-size:12px}.toggle-action,.text-button,.download-button,.prompt-toggle strong{font-size:11px}.prompt-toggle small{color:#74818d;font-size:10px}.prompt-editor textarea{font-size:12px}.preview-caption,.privacy-note p,.job-empty p{color:#687681;font-size:10px}.job-pill,.queue-footer,.progress-meta{font-size:10px}@media(max-width:700px){.intro-copy{font-size:13px}.style-option{font-size:11px}}:root{--ink: #1f2937;--muted: #687584;--line: #dfe5ec;--blue: #2563b9;--blue-dark: #1e55a0;--pale: #eef5fd;--surface: #fff;--surface-soft: #f8fafc;--control-radius: 5px;--card-radius: 8px}body{color:var(--ink);background:#f4f6f8}.panel,.preview-panel,.job-panel{border-color:#e1e6ec;border-radius:var(--card-radius);box-shadow:0 1px 2px #14233209}.dropzone,.asset-preview,.prompt-area{border-radius:var(--control-radius)}.dropzone{background:var(--surface-soft)}.dropzone:hover{border-color:#78a2d0;background:#f3f8ff}.name-field input,.select-field select,.prompt-editor textarea{border-color:#d7dee6;border-radius:var(--control-radius);color:#273444}.style-option,.ratio-choice,.quality-choice{border-color:#dfe5ec;border-radius:var(--control-radius)}.style-option:hover,.ratio-choice:hover,.quality-choice:hover{background:#f8fbff}.style-option.selected,.ratio-choice.selected,.quality-choice.selected{border-color:#6b9bd2;background:#f1f7ff;color:#1e5798}.primary-button{background:#2563b9}.primary-button:hover:not(:disabled){background:#1e55a0}.primary-button:disabled{opacity:.78}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid rgba(67,132,203,.32);outline-offset:2px}button,.dropzone,.name-field input,.select-field select,.prompt-editor textarea{transition-duration:.14s}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}:root{font-size:14px}h1{font-size:26px;letter-spacing:-.02em}.intro-copy,.top-meta,.steps{font-size:14px}.eyebrow{font-size:12px}.section-heading h2{font-size:16px}.section-heading p,.notice p,.section-number,.section-status,.field-label,.field-label em,.optional,.upload-caption,.helper,.format-label{font-size:12px}.dropzone strong,.name-field input,.select-field select,.style-option,.ratio-choice,.quality-choice,.primary-button{font-size:14px}.quality-choice span{font-size:14px;font-weight:400;line-height:1.35}.quality-choice small{font-size:12px;line-height:1.3}.step>span{font-size:12px}.notice strong{font-size:14px}.notice code{font-size:12px}.alert p,.asset-info strong{font-size:14px}.asset-info>span{font-size:12px}.prompt-footer,.selected-tick,.submit-note{font-size:12px}.preview-aspect{font:12px var(--mono)}.preview-overlay,.empty-portrait span{font-size:12px}.caption-size{font:12px var(--mono)}.result-meta strong{font-size:14px}.result-meta span,.job-id{font-size:12px}.job-id code,.progress-meta b{font:12px var(--mono)}.poll-warning,.job-error,.poll-warning button,.retry-button,.input-hint,.toggle-action,.download-button,.text-button{font-size:12px}.prompt-toggle strong{font-size:14px}.prompt-toggle small{font-size:12px}.prompt-editor textarea{font-size:14px}.preview-kicker,.job-eyebrow{font-size:12px}.preview-top h2{font-size:16px}.preview-caption,.privacy-note p,.job-empty p{font-size:12px}.job-pill,.progress-meta,.queue-footer,.page-footer{font-size:12px}@media(max-width:700px){h1{font-size:24px}.intro-copy{font-size:14px}.section-heading h2,.preview-top h2,.job-head h3{font-size:16px}.field-label,.style-option,.name-field input,.select-field select,.ratio-choice,.quality-choice{font-size:14px}}:root{--ink: #182b43;--muted: #53677e;--line: #dce6f1;--blue: #246fd0;--blue-dark: #1859b1;--pale: #edf5ff}body{color:#182b43;background:#f2f7fd}.topbar{border-bottom-color:#dfe8f2}.workspace{color:#182b43}.intro-copy,.top-meta{color:#5b6f85}h1,.section-heading h2,.preview-top h2,.job-head h3{color:#182b43}.eyebrow,.section-number{color:#2469bd}.eyebrow-line{background:#4389dc}.panel,.preview-panel,.job-panel{border-color:#dce6f0;box-shadow:0 2px 8px #1d47770b}.section-number{border-right-color:#d5e5f7}.section-status{background:#f0f5fb;color:#58708a}.section-status.complete{background:#e6f6ee;color:#18764d}.dropzone{border-color:#b9cde3;background:#f6faff}.dropzone:hover{border-color:#4f8ed7;background:#edf5ff}.upload-symbol{background:#e6f1ff;color:#286fbd}.audio-symbol,.audio-art{background:#fff4e3;color:#a66c18}.dropzone strong,.asset-info strong{color:#263c54}.upload-caption,.helper,.input-hint{color:#60758c}.name-field input,.select-field select,.prompt-editor textarea{border-color:#cbd8e6;background-color:#fff}.style-option,.ratio-choice,.quality-choice{border-color:#d5e0ec;color:#425a73}.style-option:hover,.ratio-choice:hover,.quality-choice:hover{border-color:#91b8e4;background:#f5f9ff}.style-option.selected,.ratio-choice.selected,.quality-choice.selected{border-color:#4b8bd2;background:#edf5ff;color:#1b5ea9}.style-glyph{color:#6785a5}.selected-tick{color:#2169bc}.primary-button,.brand-mark{background:#246fd0}.primary-button:hover:not(:disabled){background:#1859b1}.primary-button:disabled{background:#91afd2}.secure-icon{color:#3675b9;border-color:#d4e4f5;background:#f4f9ff}.preview-stage{background:#edf4fc;border-color:#e1ebf6}.preview-aspect{color:#456c98;border-color:#d6e4f2;background:#f8fbff}.video-frame{background:#dce9f7}.empty-portrait{background:linear-gradient(145deg,#e4effb,#d4e3f3)}.empty-head{background:#bfd2e7}.empty-head:before{background:#acc3dc}.empty-body{background:#b7cce2}.caption-indicator{background:#2e7ccc}.caption-size{color:#70869d}.preview-caption,.privacy-note p,.job-empty p{color:#566e86}.job-pill.queued{background:#fff4df;color:#946012}.job-pill.running{background:#eaf3ff;color:#205f9f}.job-pill.succeeded{background:#e7f6ee;color:#18764d}.job-pill.failed,.job-pill.cancelled{background:#fff0ed;color:#a53e30}.progress-track{background:#e3ebf4}.progress-track>span{background:#347dcc}.job-id,.progress-meta,.queue-footer{color:#60758a}.job-id code,.progress-meta b,.queue-footer b{color:#385a7c}.page-footer{color:#6a7f95;border-top-color:#dce6f1}.notice{background:#fff8eb;border-color:#f0dcb9;color:#75521d}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline-color:#317dcf6b}:root{--blue: #1769df;--blue-dark: #0e55bf;--pale: #eaf3ff}body{background:#edf5ff}.topbar{border-bottom-color:#d3e2f4}.brand-mark{background:linear-gradient(145deg,#3285f2,#155bc5)}.connection-dot.offline{background:#f1a22f;box-shadow:0 0 0 3px #fff0d8}.eyebrow{color:#216dc6}.eyebrow-line{background:#3789f3}.section-number{color:#1766bf;border-right:0;border-radius:4px;background:#e7f2ff;padding:4px 7px;font-weight:600}.section-heading h2{color:#172c48}.dropzone{border-color:#a8c8ee;background:#f1f7ff}.dropzone:hover{border-color:#3787e6;background:#e8f3ff}.portrait-symbol{color:#2876d1;background:#dfedff}.portrait-symbol span{background:#1872df}.audio-symbol,.audio-art{color:#a76305;background:#fff0d9}.format-label{color:#6c829a}.helper{color:#526b86}.style-glyph{font-weight:600}.glyph-0{color:#079783}.glyph-1{color:#3977d5}.glyph-2{color:#d77a24}.glyph-3{color:#c0448a}.style-option.selected{box-shadow:inset 0 0 0 1px #7eafe9}.style-option.selected .glyph-0{color:#078777}.style-option.selected .glyph-1{color:#2468c6}.style-option.selected .glyph-2{color:#c76c13}.style-option.selected .glyph-3{color:#af3478}.primary-button{background:#1769df;box-shadow:0 3px 8px #1769df38}.primary-button:hover:not(:disabled){background:#0e55bf;box-shadow:0 4px 12px #1769df47}.download-button{color:#135fba;border-color:#bdd7f6;background:#edf6ff}.download-button:hover{background:#e1efff}.ratio-choice.selected,.quality-choice.selected{box-shadow:inset 0 0 0 1px #79a9e0}.preview-stage{background:#e7f2ff;border-color:#d6e7fa}.video-frame{background:#d8eaff}.empty-portrait{background:linear-gradient(145deg,#e2f0ff,#cfe3fb)}.empty-head{background:#b7d3f2}.empty-head:before{background:#9fc2e9}.empty-body{background:#a9c9ec}.caption-indicator{background:#1475e2;box-shadow:0 0 0 3px #dcecff}.preview-aspect{color:#2065ae;border-color:#c6dcf4;background:#f4f9ff}.frame-corner{border-color:#fff}.job-pill.queued{background:#fff2d7;color:#955b00}.job-pill.running{background:#e5f1ff;color:#165ba8}.job-pill.running i{background:#267de0}.job-pill.succeeded{background:#e4f8ed;color:#08784a}.job-pill.failed,.job-pill.cancelled{background:#fff0eb;color:#aa402d}.progress-track{background:#dfeaf6}.progress-track>span{background:#2879dc}.secure-icon{color:#1769c5;background:#edf6ff;border-color:#cfe2f7}.notice{background:#fff7e8;border-color:#efd8ae}.alert{background:#fff0ed;border-color:#f4c8bd}@media(max-width:700px){.section-number{padding:4px 6px}.primary-button{box-shadow:0 3px 8px #1769df2e}}.background-setting{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid #cfe0f3;border-radius:7px;background:linear-gradient(105deg,#f2f8ff,#f8fbff 70%)}.background-copy{display:flex;flex-direction:column;gap:5px}.background-copy strong{color:#1d3858;font-size:14px;font-weight:600}.background-copy span{color:#56708c;font-size:12px;line-height:1.55}.switch-control{width:46px;height:26px;flex:0 0 46px;padding:3px;border:0;border-radius:99px;background:#9aabba;transition:background-color .15s ease}.switch-control span{display:block;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #17345235;transition:transform .15s ease}.switch-control.on{background:#1769df}.switch-control.on span{transform:translate(20px)}.switch-control:focus-visible{outline:3px solid #79afea;outline-offset:3px}@media(max-width:480px){.background-setting{padding:14px}.background-copy strong{font-size:13px}}.history-panel{background:#fff;border:1px solid #e4ebf2;border-radius:13px;padding:14px 16px;box-shadow:0 5px 18px #264d7009}.history-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.history-head h3{margin:3px 0 0;font-size:15px;color:#21364b}.history-head>button{border:0;background:#edf5ff;color:#286bc4;border-radius:7px;padding:6px 10px;font-size:12px}.history-head>button:disabled{opacity:.55;cursor:default}.history-row{width:100%;display:flex;align-items:center;gap:10px;padding:10px 4px;text-align:left;border:0;border-top:1px solid #eef2f6;background:transparent;color:#30485e}.history-row.current{background:#f5f9ff}.history-status{width:8px;height:8px;border-radius:50%;background:#7e9bb6;flex:none}.history-status.succeeded{background:#35a77b}.history-status.failed{background:#d16b5b}.history-status.queued,.history-status.running,.history-status.submitting,.history-status.preparing{background:#e2a638}.history-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.history-copy strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}.history-copy small,.history-label{font-size:11px;color:#7c8fa2}.history-label{flex:none}.output-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.duration-options{display:flex;gap:7px}.duration-choice{height:54px;min-width:0;flex:1;border:1px solid #e5e9ed;border-radius:4px;background:#fff;color:#596572;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:550;padding:0 6px;transition:border-color .15s,background .15s,color .15s}.duration-choice:hover{border-color:#a6c5e9;background:#f7faff}.duration-choice.selected{border-color:#5792d5;background:#edf5ff;color:#175eb6;box-shadow:inset 0 0 0 1px #5792d5}@media(max-width:900px){.output-options{grid-template-columns:repeat(2,minmax(0,1fr))}.duration-field{grid-column:1/-1}}@media(max-width:480px){.output-options{grid-template-columns:1fr}.duration-field{grid-column:auto}}.topbar{position:sticky;top:0;z-index:100;height:68px;border-color:#e6ebf1;padding-inline:max(calc((100vw - 1320px)/2),24px);gap:20px;background:#fff}.topbar-page-title{margin:0 auto 0 0;color:#1d3045;font-size:18px;line-height:1.2;font-weight:700;letter-spacing:-.025em;white-space:nowrap}.workspace{width:min(1320px,calc(100% - 48px));max-width:none;margin:0 auto;padding:24px 0 20px}.intro-row{align-items:center;margin-bottom:16px}.intro-copy{font-size:14px;color:#657486}.eyebrow{font-size:11px;color:#4775aa}.steps{gap:13px}.step{font-size:12px;color:#718096}.step>span{width:26px;height:26px;font-size:12px}.step-line{width:38px}.main-grid{grid-template-columns:minmax(0,1.58fr) minmax(340px,.82fr);gap:22px}.form-column,.preview-column{gap:16px}.panel,.preview-panel,.job-panel{border-color:#e3e9f0;border-radius:12px;box-shadow:0 4px 16px #1d354e0b}.panel{padding:18px 20px}.section-heading{gap:11px;margin-bottom:14px}.section-number{font-size:12px;padding-right:12px;color:#3474bd}.section-heading h2{font-size:17px;margin-bottom:4px}.section-heading p{font-size:12px;color:#738194}.section-status{font-size:11px;border-radius:999px;padding:5px 10px}.uploads{gap:14px}.field-label{font-size:13px;color:#27384a;margin-bottom:9px}.field-label em{font-size:11px}.dropzone{height:154px;border-radius:9px;background:#f8fafc}.upload-symbol{width:40px;height:40px;border-radius:10px;margin-bottom:10px}.dropzone strong{font-size:13px;font-weight:600}.upload-caption{font-size:11px;color:#728196}.format-label{font-size:10px;color:#8292a5}.asset-preview{height:154px;border-radius:9px;padding:12px;gap:12px}.image-preview img{width:82px;height:128px;border-radius:6px}.asset-info strong{font-size:13px}.asset-info>span{font-size:11px}.audio-preview{padding-top:17px}.audio-art{width:38px;height:38px}.audio-info audio{height:34px}.remove-btn{width:26px;height:26px;border-radius:7px}.settings-panel{padding-bottom:17px}.style-options{gap:8px}.style-option{height:52px;border-radius:8px;padding-inline:10px;font-size:12px;gap:7px}.style-glyph{font-size:16px;width:19px}.mode-auto-row{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #d8e7f7;border-radius:9px;background:#f5f9ff}.mode-auto-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:9px;background:#e5f0ff;color:#2872c9;font-size:17px}.mode-auto-row>div{display:grid;gap:4px;min-width:0}.mode-auto-row strong{color:#24415f;font-size:12px;font-weight:600;line-height:1.5}.mode-auto-row>div>span{color:#72849a;font-size:11px}.audio-analysis{margin-top:1px;padding:19px 21px;border:1px solid #d7e4f2;border-radius:10px;background:linear-gradient(105deg,#f5f9ff,#fbfdff)}.analysis-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.analysis-heading>div{display:grid;gap:5px}.analysis-heading strong{font-size:13px;color:#27394c}.analysis-heading span{font-size:11px;line-height:1.5;color:#718397}.analysis-confirmed{padding:4px 8px;border-radius:999px;background:#e9f6ef;color:#278054;font-size:10px!important;white-space:nowrap}.analysis-status-running{background:#eaf3ff;color:#2e6db5}.analysis-button,.analysis-confirm{min-height:34px;padding:0 13px;border:1px solid #276fd0;border-radius:7px;background:#286fc9;color:#fff;font-size:12px;font-weight:600}.analysis-button:disabled,.analysis-retry:disabled,.analysis-confirm:disabled{opacity:.55;cursor:not-allowed}.analysis-button .spinner{display:inline-block;width:12px;height:12px;margin-right:7px;vertical-align:-2px}.analysis-empty-state{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:14px}.analysis-progress{display:inline-flex;align-items:center;gap:8px;color:#4a6684;font-size:12px}.analysis-prompt{color:#6c7f94;font-size:12px;line-height:1.5}.analysis-progress i{width:8px;height:8px;border-radius:50%;background:#4b8ad3;box-shadow:0 0 0 4px #dcecff;animation:pulse 1.2s infinite}.analysis-content{display:flex;flex-direction:column;align-items:stretch;gap:14px}.analysis-summary{display:flex;align-items:center;flex-wrap:wrap;gap:12px 34px}.analysis-fact{display:flex;align-items:center;justify-content:flex-start;gap:14px;font-size:12px;white-space:nowrap}.analysis-fact>span{color:#75869a}.analysis-fact>strong{color:#31475f;font-size:12px;font-weight:600}.emotion-select select{min-width:116px;padding:6px 9px;border:1px solid #d7e0ea;border-radius:6px;background:#fff;color:#26384b;font-size:12px}.analysis-segments{min-width:0;display:grid;gap:7px;padding-top:12px;border-top:1px solid #e4edf6}.analysis-segments>span{color:#75869a;font-size:11px}.analysis-segment-list{display:flex;flex-wrap:wrap;gap:6px}.analysis-segment-list>div{display:grid;grid-template-columns:auto auto;gap:3px 8px;align-items:center;min-width:145px;padding:8px 10px;border:1px solid #e0eaf5;border-radius:7px;background:#fffc;font-size:11px}.analysis-segment-list small{color:#718397;font-size:11px;white-space:nowrap}.analysis-segment-list b{color:#3b5c7c;font-weight:600}.analysis-segment-list div>span{grid-column:1/-1;color:#65778b;line-height:1.35}.analysis-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:1px}.analysis-retry{min-height:32px;padding:0 10px;border:1px solid #d5e0eb;border-radius:7px;background:#fff;color:#4d6680;font-size:11px}.analysis-confirm{min-height:32px;font-size:11px}.analysis-error{grid-column:1/-1;margin:8px 0 0;color:#a64538;font-size:11px;line-height:1.5}.analysis-error button{border:0;background:none;color:#286fc9;font-size:11px;text-decoration:underline}@media(max-width:1100px){.analysis-summary{gap:12px 24px}}.output-panel{padding-bottom:18px}.compact-heading{margin-bottom:14px}.output-options{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.output-options>.choice-field:last-child{justify-self:end;width:min(100%,264px)}.ratio-choice,.quality-choice,.duration-choice{height:58px;border-radius:8px;font-size:12px}.ratio-choice{min-width:0;flex:1;gap:8px}.output-options .quality-options{justify-content:flex-end}.output-options .quality-choice{flex:0 1 80px}.ratio-icon{width:14px;height:18px}.quality-choice span{font-size:12px}.quality-choice small{font-size:10px}.duration-choice{font-size:12px}.submit-row{padding-top:4px}.submit-note{font-size:12px;color:#637488}.submit-note b{color:#394d61}.secure-icon{width:28px;height:28px}.primary-button{height:50px;min-width:250px;border-radius:9px;font-size:14px}.preview-panel{padding:17px 17px 13px}.preview-kicker,.job-eyebrow{font-size:10px;letter-spacing:.12em;color:#74869a}.preview-top h2{font-size:17px}.preview-stage{width:100%;height:340px;min-height:340px;margin:12px 0 10px;border-radius:9px;background:#f3f6f9}.video-frame{position:relative;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;flex:none;border-radius:7px;aspect-ratio:auto;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#101419}.video-frame.frame-9-16{width:auto;height:100%;max-width:100%;aspect-ratio:9/16}.video-frame.frame-16-9{width:100%;height:auto;max-height:100%;aspect-ratio:16/9}.video-frame.frame-1-1{width:auto;height:100%;max-width:100%;aspect-ratio:1/1}.video-frame>img,.video-frame>video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.video-frame>img{object-fit:cover}.video-frame>video{z-index:2;background:#111;object-fit:contain}.preview-caption{font-size:11px;padding-top:12px}.caption-size{font-size:10px}.job-panel{padding:16px 17px}.job-head h3{font-size:16px}.job-pill{font-size:11px;border-radius:999px;padding:6px 10px}.job-id{font-size:11px}.job-id code{font-size:10px}.progress-meta{font-size:12px}.progress-meta b{font-size:11px}.job-empty p{font-size:12px}.queue-footer{font-size:11px}.history-panel{border-radius:12px;padding:18px 20px;box-shadow:0 4px 16px #1d354e0b}.history-head h3{font-size:16px}.history-head>button{font-size:12px;padding:7px 11px;border-radius:8px}.history-row{gap:12px;padding:12px 5px}.history-copy strong{font-size:13px}.history-copy small,.history-label,.privacy-note p,.page-footer{font-size:11px}.instance-topbar{display:flex;align-items:center;gap:8px;white-space:nowrap}.instance-topbar>strong{font-size:12px;color:#52667c;font-weight:650}.instance-topbar-status{display:flex;align-items:center;gap:6px;margin-right:3px;color:#66798d;font-size:11px}.instance-topbar-refresh{width:30px;height:30px;border:1px solid #e0e8f0;border-radius:7px;background:#fff;color:#58728e;font-size:18px;line-height:1}.instance-topbar-power{height:30px;padding:0 10px;border:1px solid transparent;border-radius:7px;font-size:11px;font-weight:600;transition:.15s}.instance-topbar-power.on{border-color:#c9e8d8;background:#edf8f2;color:#267b54}.instance-topbar-power.off{border-color:#f0d4d0;background:#fff4f2;color:#ad4b3d}.instance-topbar button:disabled{opacity:.45;cursor:not-allowed}.instance-dot{width:7px;height:7px;border-radius:50%;background:#aab5c0}.instance-dot.running{background:#35a875;box-shadow:0 0 0 3px #e5f5ed}.instance-dot.stopped{background:#8b97a4}.instance-dot.starting,.instance-dot.stopping{background:#e4a43b;box-shadow:0 0 0 3px #fff4dc}.instance-control-message{margin:0 0 12px;color:#5c7187;font-size:11px;line-height:1.4}.power-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:20px;background:#121f2e6b;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.power-dialog{position:relative;width:min(420px,100%);padding:28px;border:1px solid #e0e8f1;border-radius:16px;background:#fff;box-shadow:0 24px 80px #0d203538}.power-dialog-close{position:absolute;right:14px;top:12px;width:32px;height:32px;border:0;border-radius:8px;background:#f3f6f9;color:#6b7b8d;font-size:22px;line-height:1}.power-dialog-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#eaf3fd;color:#3474bd;font-size:25px}.power-dialog h2{margin:17px 0 6px;font-size:20px;color:#26384b}.power-dialog>p{margin:0 0 20px;color:#708096;font-size:13px;line-height:1.65}.power-key-label{display:block;margin-bottom:7px;color:#34495f;font-size:12px;font-weight:650}.power-dialog input{width:100%;height:43px;padding:0 12px;border:1px solid #dce4ec;border-radius:8px;color:#26384b;font-size:14px;outline:none}.power-dialog input:focus{border-color:#79a9dc;box-shadow:0 0 0 3px #eaf3fd}.power-dialog-error{margin:9px 0 0!important;color:#b84b40!important;font-size:12px!important}.power-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.power-dialog-actions button{height:39px;padding:0 15px;border:1px solid #dce4ec;border-radius:8px;background:#fff;color:#526579;font-size:13px;font-weight:600}.power-dialog-actions button:disabled{opacity:.5;cursor:not-allowed}.power-dialog-actions .power-dialog-confirm{border-color:#c9e8d8;background:#edf8f2;color:#267b54}.power-dialog-actions .power-dialog-confirm.off{border-color:#f0d4d0;background:#fff4f2;color:#ad4b3d}@media(max-width:1100px){.main-grid{grid-template-columns:minmax(0,1.25fr) minmax(300px,.85fr);gap:16px}.panel{padding:20px}.style-option{padding-inline:8px;font-size:11px}}@media(max-width:900px){.workspace{width:calc(100% - 40px)}.main-grid{grid-template-columns:minmax(0,1fr) 300px}.uploads{gap:12px}.field-label{font-size:12px}.style-options,.output-options{grid-template-columns:repeat(2,minmax(0,1fr))}.duration-field{grid-column:1/-1}}@media(max-width:700px){.topbar{height:auto;min-height:60px;padding:9px 16px;flex-wrap:wrap;row-gap:8px}.topbar-page-title{margin-left:auto;font-size:16px}.instance-topbar{width:100%;justify-content:flex-end;padding-top:7px;border-top:1px solid #edf1f5}.instance-topbar>strong{margin-right:auto}.workspace{width:calc(100% - 32px);padding:24px 0 20px}.intro-row{margin-bottom:20px}.intro-row h1{font-size:26px}.intro-copy{font-size:13px}.step{font-size:11px}.step-line{width:26px}.main-grid{display:flex;flex-direction:column;gap:16px}.form-column,.preview-column{width:100%}.preview-column{position:static;order:initial}.preview-stage{height:340px;min-height:340px}.section-heading h2{font-size:16px}.section-heading p{font-size:12px}.dropzone,.asset-preview{height:160px}}@media(max-width:480px){.workspace{width:calc(100% - 24px)}.panel{padding:17px 15px}.section-heading{margin-bottom:16px}.uploads{grid-template-columns:1fr;gap:16px}.style-options{grid-template-columns:repeat(2,minmax(0,1fr))}.output-options{grid-template-columns:1fr;gap:16px}.duration-field{grid-column:auto}.duration-choice{height:52px}.submit-row{gap:12px}.primary-button{min-width:0;width:100%}.preview-panel,.job-panel{padding:16px}.preview-stage{height:340px;min-height:340px}.audio-analysis{padding:13px}.analysis-heading{align-items:flex-start}.analysis-summary{align-items:stretch;flex-direction:column;gap:11px}.analysis-fact{justify-content:space-between}.analysis-segment-list>div{min-width:calc(50% - 4px);flex:1 1 calc(50% - 4px)}}:root{font-size:16px}body{font-size:15px;line-height:1.55}.brand{font-size:17px}.topbar-page-title{font-size:20px}.intro-row h1{font-size:30px}.intro-copy{font-size:16px}.eyebrow{font-size:13px}.steps,.step{font-size:14px}.step>span{font-size:13px}.section-heading h2,.preview-top h2{font-size:18px}.section-heading p,.notice p{font-size:14px;line-height:1.55}.section-number{font-size:14px}.section-status{font-size:12px}.field-label{font-size:15px}.field-label em,.optional{font-size:13px}.dropzone strong{font-size:15px}.upload-caption,.helper,.format-label{font-size:13px}.asset-info strong{font-size:15px}.asset-info>span{font-size:13px}.mode-auto-row strong{font-size:14px}.mode-auto-row>div>span{font-size:13px}.analysis-heading strong{font-size:15px}.analysis-heading span,.analysis-progress{font-size:13px}.analysis-button,.analysis-confirm,.analysis-fact{font-size:14px}.analysis-fact>strong,.emotion-select select{font-size:14px}.analysis-segments>span{font-size:13px}.analysis-segment-list>div{font-size:12px}.analysis-segment-list small{font-size:12px}.analysis-retry,.analysis-error,.analysis-error button{font-size:13px}.style-option,.ratio-choice,.quality-choice,.duration-choice{font-size:14px}.quality-choice span{font-size:15px}.quality-choice small{font-size:13px}.submit-note{font-size:14px}.primary-button{font-size:16px}.preview-aspect,.caption-size{font-size:13px}.preview-overlay{font-size:14px}.preview-caption,.result-meta span{font-size:13px}.result-meta strong,.job-head h3{font-size:17px}.job-eyebrow,.job-pill,.job-id,.job-id code,.progress-meta,.queue-footer,.progress-meta b,.job-empty p,.poll-warning,.poll-warning button,.job-error,.retry-button{font-size:13px}.history-copy strong{font-size:14px}.history-copy small,.history-label{font-size:12px}.privacy-note p{font-size:12px;line-height:1.6}.page-footer{font-size:12px}@media(max-width:700px){.topbar-page-title{font-size:18px}.intro-row h1{font-size:27px}.intro-copy{font-size:15px}.section-heading h2,.preview-top h2,.job-head h3{font-size:17px}.field-label,.style-option,.ratio-choice,.quality-choice{font-size:14px}.primary-button{font-size:15px}}.preview-stage{height:360px;min-height:360px;padding:14px;border:1px solid #dbe7f4;border-radius:10px;background:#f0f4f8}.video-frame{border-radius:8px;box-shadow:0 5px 16px #16253624}.video-fullscreen-button{position:absolute;z-index:4;top:9px;right:9px;display:grid;place-items:center;width:34px;height:34px;padding:7px;border:1px solid rgba(255,255,255,.48);border-radius:7px;background:#0f1925b8;color:#fff;opacity:.94;cursor:pointer;transition:background .16s ease,transform .16s ease}.video-fullscreen-button:hover{background:#0f1925f0;transform:scale(1.04)}.video-fullscreen-button:focus-visible{outline:2px solid #fff;outline-offset:2px}.video-fullscreen-button svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.video-frame.frame-9-16,.video-frame.frame-16-9,.video-frame.frame-1-1{flex:none}.preview-caption{min-height:36px;font-size:12px}.caption-size{font-size:11px}@media(max-width:700px){.preview-stage{height:360px;min-height:360px;margin-top:14px;padding:14px}.preview-caption{font-size:11px}}.auth-loading{min-height:100vh;display:grid;place-items:center;color:#5e6d7d;font-size:15px;background:#f4f6f8}.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(380px,1fr) minmax(460px,.92fr);background:#fff;color:#182637}.auth-brand-panel{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;overflow:hidden;padding:42px clamp(34px,7vw,112px);background:#102b49;color:#fff}.auth-brand{color:#fff}.auth-brand .brand-light{color:#a9c0d6}.auth-brand-copy{position:relative;z-index:1;max-width:530px;margin:-24px 0 22px}.auth-kicker{display:inline-flex;align-items:center;gap:10px;color:#96c8ff;font-size:13px;letter-spacing:.16em}.auth-kicker:before{content:"";width:25px;height:1px;background:#71aff3}.auth-brand-copy h1{margin:25px 0 17px;color:#fff;font-size:clamp(38px,4.5vw,62px);line-height:1.32;letter-spacing:-.055em;font-weight:650}.auth-brand-copy p{max-width:410px;margin:0;color:#bdcddd;font-size:16px;line-height:1.9}.auth-spectrum{height:70px;display:flex;align-items:center;gap:6px;margin-top:48px;opacity:.75}.auth-spectrum i{width:4px;height:12px;border-radius:4px;background:#7abaff;animation:auth-wave 1.1s ease-in-out infinite alternate}.auth-spectrum i:nth-child(4n+1){height:22px;animation-delay:-.2s}.auth-spectrum i:nth-child(4n+2){height:36px;animation-delay:-.6s}.auth-spectrum i:nth-child(4n+3){height:48px;animation-delay:-.9s}.auth-spectrum i:nth-child(5n){height:28px;animation-delay:-.4s}@keyframes auth-wave{to{transform:scaleY(.4);opacity:.45}}.auth-brand-foot{color:#9eb1c4;font-size:12px}.auth-brand-foot b{padding:0 5px;color:#528bc0;font-weight:400}.auth-form-panel{display:grid;place-items:center;padding:50px 36px;background:#fff}.auth-form-wrap{width:min(100%,400px)}.auth-eyebrow{color:#2769b4;font-size:13px;font-weight:650;letter-spacing:.08em}.auth-form-wrap h2{margin:10px 0 7px;color:#1d2d40;font-size:31px;line-height:1.3;letter-spacing:-.04em}.auth-subtitle{margin:0 0 32px;color:#708094;font-size:15px;line-height:1.7}.auth-form{display:flex;flex-direction:column;gap:10px}.auth-form label{margin-top:9px;color:#30445b;font-size:14px;font-weight:600}.auth-form input{width:100%;height:48px;padding:0 14px;border:1px solid #d8e0e8;border-radius:6px;background:#fff;color:#223348;font-size:15px;outline:none;transition:border-color .18s,box-shadow .18s}.auth-form input::placeholder{color:#a2adba}.auth-form input:focus{border-color:#3982cd;box-shadow:0 0 0 3px #3982cd19}.auth-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.auth-code-row button{min-width:126px;padding:0 13px;border:1px solid #c8d9ec;border-radius:6px;background:#f5f9fe;color:#286cb4;font-size:13px;font-weight:600;white-space:nowrap}.auth-code-row button:hover:not(:disabled){background:#eaf3fe}.auth-code-row button:disabled{color:#97a5b4;cursor:not-allowed}.auth-submit{height:50px;display:flex;align-items:center;justify-content:space-between;margin-top:17px;padding:0 17px;border:0;border-radius:6px;background:#286fba;color:#fff;font-size:15px;font-weight:650;box-shadow:0 5px 12px #286fba25;transition:background .18s,transform .18s}.auth-submit:hover:not(:disabled){background:#1f5f9f;transform:translateY(-1px)}.auth-submit:disabled{opacity:.65;cursor:wait}.auth-submit span{font-size:20px;font-weight:400}.auth-message{margin:1px 0 0;padding:9px 11px;border-radius:5px;font-size:13px;line-height:1.5}.auth-message.error{background:#fff2f0;color:#b34236}.auth-message.success{background:#eef8f2;color:#347753}.auth-switch{margin-top:23px;color:#708094;text-align:center;font-size:14px}.auth-switch button{border:0;background:none;color:#236db9;font-size:14px;font-weight:650}.auth-privacy{display:flex;gap:9px;margin-top:35px;padding-top:17px;border-top:1px solid #edf0f3;color:#8491a0;font-size:12px;line-height:1.65}.auth-privacy>span:first-child{color:#4580bb}.account-topbar{display:flex;align-items:center;gap:12px;margin-left:auto;color:#53667b;font-size:12px}.account-topbar>span{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-topbar button{padding:7px 11px;border:1px solid #dbe2e8;border-radius:5px;background:#fff;color:#455a70;font-size:12px}.account-topbar button:hover{border-color:#9ab8d7;color:#246bb8}@media(max-width:760px){.auth-page{grid-template-columns:1fr;min-height:100vh}.auth-brand-panel{min-height:245px;padding:24px 25px 22px}.auth-brand-copy{margin:34px 0 9px}.auth-brand-copy h1{margin:13px 0 7px;font-size:31px}.auth-brand-copy p{max-width:360px;font-size:13px}.auth-kicker{font-size:11px}.auth-spectrum{position:absolute;right:27px;bottom:34px;width:114px;height:44px;gap:3px;margin:0}.auth-spectrum i{width:3px}.auth-brand-foot{font-size:10px}.auth-form-panel{padding:34px 24px 42px;align-items:start}.auth-form-wrap h2{font-size:27px}.auth-subtitle{margin-bottom:22px;font-size:14px}.auth-privacy{margin-top:26px}.topbar{gap:12px}.topbar-page-title{display:none}.account-topbar{gap:7px}.account-topbar>span{max-width:135px;font-size:11px}.account-topbar button{padding:6px 9px}}@media(prefers-reduced-motion:reduce){.auth-spectrum i{animation:none}}.toast-stack{position:fixed;z-index:10000;right:24px;top:20px;display:flex;flex-direction:column;gap:10px;width:min(420px,calc(100vw - 32px));pointer-events:none}.toast-card{display:flex;align-items:center;gap:11px;min-height:54px;padding:12px 14px;border:1px solid #dce5ef;border-radius:12px;background:#fffffff7;box-shadow:0 12px 34px #16304f29;color:#263b51;pointer-events:auto;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.toast-mark{display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:50%;background:#edf4ff;color:#2874d8;font-size:14px;font-weight:750}.toast-card p{flex:1;margin:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.toast-error{border-color:#ffd2cb}.toast-error .toast-mark{background:#fff0ed;color:#d64e3d}.toast-success{border-color:#ccebdc}.toast-success .toast-mark{background:#e8f8ef;color:#238855}.toast-action,.toast-close{flex:none;border:0;background:transparent;cursor:pointer}.toast-action{padding:6px 8px;border-radius:7px;color:#246bc3;font-size:13px;font-weight:650;white-space:nowrap}.toast-action:hover{background:#eff6ff}.toast-close{padding:1px 4px;color:#8b98a7;font-size:19px;line-height:1}.toast-close:hover{color:#394b5e}.toast-enter-active,.toast-leave-active,.toast-move{transition:opacity .2s ease,transform .2s ease}.toast-enter-from,.toast-leave-to{opacity:0;transform:translateY(-8px)}.toast-leave-active{position:absolute;right:0;left:0}@media(max-width:700px){.toast-stack{top:auto;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));left:16px;width:auto}.toast-card{min-height:50px;padding:11px 12px}.toast-card p{font-size:13px}}@media(prefers-reduced-motion:reduce){.toast-enter-active,.toast-leave-active,.toast-move{transition:none}}.image-field-heading,.audio-field-heading{display:flex;align-items:center;min-height:34px;margin-bottom:9px}.audio-field-heading{justify-content:space-between;gap:8px}.image-field-heading .field-label{margin:0}.audio-field-heading .field-label{margin:0;white-space:nowrap}.audio-source-tabs{display:flex;gap:5px;margin:0;padding:3px;width:fit-content;flex:none;border:1px solid #dce7f3;border-radius:8px;background:#f5f8fc}.audio-source-tabs button{min-height:28px;padding:0 9px;border:0;border-radius:6px;background:transparent;color:#586d82;font:inherit;font-size:13px;cursor:pointer}.audio-source-tabs button.active{background:#fff;color:#1767bd;box-shadow:0 1px 3px #1b4e8020;font-weight:650}.audio-source-tabs button:disabled{cursor:not-allowed;opacity:.6}.douyin-import{display:flex;flex-direction:column;justify-content:center;height:154px;margin:0;padding:14px 16px;border:1px dashed #b7cee6;border-radius:9px;background:#f8fafc}.douyin-import>label{display:block;margin-bottom:8px;color:#334b64;font-size:13px;font-weight:650}.douyin-import-row{display:flex;gap:8px}.douyin-import-row input{min-width:0;flex:1;height:42px;padding:0 12px;border:1px solid #cddceb;border-radius:7px;outline:none;background:#fff;color:#253c53;font:inherit;font-size:14px}.douyin-import-row input:focus{border-color:#4d91df;box-shadow:0 0 0 3px #4d91df20}.douyin-import-row input::placeholder{color:#96a5b5}.douyin-import-row button{min-width:96px;height:42px;padding:0 14px;border:1px solid #2d79cb;border-radius:7px;background:#347fce;color:#fff;font:inherit;font-size:13px;font-weight:650;cursor:pointer}.douyin-import-row button:hover:not(:disabled){background:#236db9}.douyin-import-row button:disabled{border-color:#c5d5e5;background:#d9e3ed;color:#8294a7;cursor:not-allowed}.douyin-import-note{display:block;margin-top:8px;color:#71859a;font-size:11px;line-height:1.5}.audio-drop.disabled{cursor:wait;opacity:.65}@media(max-width:560px){.audio-field-heading{gap:6px}.audio-source-tabs{gap:2px}.audio-source-tabs button{min-height:30px;padding-inline:8px;font-size:12px}.douyin-import{padding:12px}.douyin-import-row input{height:40px}.douyin-import-row button{min-width:84px;height:40px;padding-inline:10px}}.workspace-nav{display:flex;align-items:center;gap:5px;margin:0 auto 0 22px}.workspace-nav button{border:1px solid transparent;background:transparent;color:#73849a;padding:8px 12px;border-radius:8px;font-size:13px;font-weight:600;white-space:nowrap}.workspace-nav button:hover{background:#f3f7fc;color:#246bce}.workspace-nav button.active{background:#edf4fd;color:#246bce;border-color:#d9e8fa}.task-manager{min-height:calc(100vh - 120px);padding:16px 0 36px}.task-manager-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 24px;gap:20px}.task-kicker{display:block;margin-bottom:6px;color:#4380c3;font-size:12px;font-weight:700;letter-spacing:.08em}.task-manager-heading h2{margin:0;color:#1d3045;font-size:27px;line-height:1.25;letter-spacing:-.035em}.task-manager-heading p{margin:8px 0 0;color:#718197;font-size:14px}.task-refresh{display:flex;align-items:center;gap:9px;padding:9px 13px;border:1px solid #d8e2ed;border-radius:8px;background:#fff;color:#35516e;font-size:13px;font-weight:600}.task-refresh span{font-size:17px;line-height:1}.task-refresh:disabled{opacity:.55;cursor:wait}.task-filters{display:flex;gap:8px;overflow-x:auto;margin-bottom:15px;padding:0 0 3px}.task-filters button{height:38px;flex:0 0 auto;padding:0 15px;border:1px solid #e1e8ef;border-radius:8px;background:#fff;color:#63748a;font-size:13px;font-weight:600}.task-filters button.active{border-color:#70a8e8;background:#edf5ff;color:#1f67b9;box-shadow:0 0 0 2px #e5f0ff}.task-list{display:grid;gap:10px}.task-card{overflow:hidden;border:1px solid #e1e8ef;border-radius:12px;background:#fff;box-shadow:0 3px 13px #244a6d08;transition:border-color .15s,box-shadow .15s}.task-card:hover,.task-card.expanded{border-color:#c4d9ee;box-shadow:0 8px 22px #244a6d0d}.task-card-main{width:100%;min-height:76px;display:flex;align-items:center;gap:14px;padding:14px 17px;border:0;background:transparent;text-align:left}.task-status-mark{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;background:#eff4f8}.task-status-mark i{width:9px;height:9px;border-radius:50%;background:#9caebe}.task-status-mark.succeeded{background:#ebf7f0}.task-status-mark.succeeded i{background:#37a66f}.task-status-mark.failed,.task-status-mark.cancelled{background:#fff1ee}.task-status-mark.failed i,.task-status-mark.cancelled i{background:#db6d5a}.task-status-mark.running,.task-status-mark.queued,.task-status-mark.preparing,.task-status-mark.submitting{background:#edf5ff}.task-status-mark.running i,.task-status-mark.queued i,.task-status-mark.preparing i,.task-status-mark.submitting i{background:#4188d2;animation:task-pulse 1.4s infinite}@keyframes task-pulse{50%{box-shadow:0 0 0 5px #4188d224}}.task-card-copy{min-width:0;display:grid;gap:7px;flex:1}.task-card-copy>strong{overflow:hidden;color:#283c52;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.task-card-copy>strong small{font-size:14px;font-weight:500;color:#63758b}.task-card-copy>span{color:#8290a0;font-size:12px}.task-card-copy>span i{margin:0 5px;color:#c3cbd3;font-style:normal}.task-card-state{padding:5px 9px;border-radius:20px;background:#f1f4f7;color:#708094;font-size:11px;font-weight:650;white-space:nowrap}.task-card-state.succeeded{background:#eaf7ef;color:#31815a}.task-card-state.failed,.task-card-state.cancelled{background:#fff0ed;color:#b05245}.task-card-state.queued,.task-card-state.running,.task-card-state.preparing,.task-card-state.submitting{background:#edf5ff;color:#3476b9}.task-card-chevron{color:#94a2b2;font-size:18px;transition:transform .15s}.task-card.expanded .task-card-chevron{transform:rotate(180deg)}.task-detail{padding:0 20px 17px 65px;border-top:1px solid #eef2f6;animation:task-detail-in .18s ease-out}@keyframes task-detail-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.task-facts{display:flex;gap:30px;padding:15px 0 9px}.task-facts>div{display:grid;gap:5px}.task-facts small{color:#8492a1;font-size:11px}.task-facts strong{color:#354b62;font-size:13px;font-weight:650}.task-prompt{margin:6px 0 13px;color:#687a8e;font-size:12px}.task-prompt summary{width:max-content;color:#3677bb;cursor:pointer;font-weight:600}.task-prompt-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px;color:#7b8b9b;font-size:11px}.task-prompt-toolbar button{padding:5px 10px;border:1px solid #d7e4f1;border-radius:6px;background:#fff;color:#3475b8;font-size:11px;font-weight:600}.task-prompt-toolbar button:hover{border-color:#91b5db;background:#f4f9ff}.task-prompt p{margin:8px 0 0;padding:11px;border:1px solid #e6edf3;border-radius:7px;background:#f8fafc;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.task-failure,.task-trash-note{margin:5px 0 12px;color:#a94f42;font-size:12px;line-height:1.6}.task-trash-note{color:#7b8999}.task-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.task-actions button{padding:7px 12px;border:1px solid #dbe4ed;border-radius:7px;background:#fff;color:#526a83;font-size:12px;font-weight:600}.task-actions button:hover{border-color:#9bbde1;color:#236dbd}.task-actions .task-action-primary{border-color:#347ed0;background:#347ed0;color:#fff}.task-actions .task-action-primary:hover{background:#286dbc;color:#fff}.task-actions .task-action-danger{border-color:#f0d7d1;background:#fff8f6;color:#af5a4b}.task-active-note{color:#7b8998;font-size:12px}.task-pagination{display:flex;align-items:center;justify-content:space-between;padding:15px 2px;color:#8290a0;font-size:12px}.task-pagination>div{display:flex;gap:7px}.task-pagination button{padding:7px 12px;border:1px solid #dce4ec;border-radius:7px;background:#fff;color:#526982;font-size:12px}.task-pagination button:disabled{opacity:.45;cursor:not-allowed}.task-empty{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;border:1px dashed #d7e2ec;border-radius:13px;background:#f9fbfd;text-align:center}.task-empty-icon{display:grid;width:46px;height:46px;place-items:center;margin-bottom:13px;border-radius:14px;background:#edf4fc;color:#5587bd;font-size:27px}.task-empty>strong{color:#354b61;font-size:16px}.task-empty p{margin:8px 0 18px;color:#8391a0;font-size:13px}.task-empty button{padding:8px 13px;border:0;border-radius:7px;background:#347ed0;color:#fff;font-size:13px;font-weight:600}.task-empty button span{margin-left:8px}.task-loader{width:25px;height:25px;margin-bottom:15px;border:2px solid #d7e5f3;border-top-color:#347ed0;border-radius:50%;animation:task-spin .7s linear infinite}@keyframes task-spin{to{transform:rotate(360deg)}}@media(max-width:700px){.topbar{height:auto;min-height:0;padding:10px 16px;gap:8px}.topbar-primary{width:100%;display:grid;grid-template-columns:auto 1fr;gap:8px 12px}.topbar-primary .brand{gap:8px;font-size:14px}.topbar-primary .brand-mark{width:22px;height:22px}.topbar-primary .topbar-page-title{display:block;justify-self:end;font-size:14px;white-space:nowrap}.topbar-primary .workspace-nav{grid-column:1/-1;width:100%;margin:0;padding:6px 0 0;border:0;border-top:1px solid #edf1f5}.topbar-primary .workspace-nav button{flex:1;padding:7px 9px}.topbar-utilities{width:100%;justify-content:space-between;gap:8px}.topbar-utilities .instance-topbar{width:auto;justify-content:flex-start;padding:0;border:0}.topbar-utilities .instance-topbar>strong{display:none}.topbar-utilities .instance-topbar-status{font-size:10px}.topbar-utilities .account-topbar{gap:7px}.topbar-utilities .account-topbar>span{max-width:116px;font-size:10px}.topbar-utilities .account-topbar button{padding:6px 8px}.task-manager-heading{align-items:flex-start;margin-bottom:18px}.task-manager-heading h2{font-size:24px}.task-manager-heading p{max-width:250px;font-size:12px;line-height:1.6}.task-filters button{height:36px;padding:0 12px}.task-card-main{gap:10px;padding:13px 11px}.task-card-copy>strong{font-size:13px}.task-card-copy>strong small{font-size:12px}.task-card-copy>span{font-size:10px}.task-card-state{padding:4px 7px;font-size:10px}.task-detail{padding:0 13px 14px}.task-facts{gap:16px;justify-content:space-between}.task-facts strong{font-size:12px}.task-pagination{font-size:11px}}@media(max-width:420px){.task-manager-heading{gap:8px}.task-refresh{padding:8px 9px;font-size:11px}.task-card-main{gap:8px}.task-status-mark{width:30px;height:30px;flex-basis:30px}.task-card-chevron{font-size:15px}.task-card-copy>span{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media(prefers-reduced-motion:reduce){.task-status-mark i,.task-loader,.task-detail{animation:none}}.topbar{display:flex;justify-content:space-between;gap:24px;padding-inline:max(calc((100vw - 1320px)/2),24px)}.topbar-primary,.topbar-utilities{display:flex;align-items:center;min-width:0}.topbar-primary{gap:20px}.topbar-primary .topbar-page-title{margin:0;color:#20354c;font-size:17px;font-weight:700;letter-spacing:-.025em}.topbar-primary .workspace-nav{margin:0 0 0 4px;padding-left:17px;border-left:1px solid #e7edf3;gap:4px}.topbar-primary .workspace-nav button{padding:8px 11px}.topbar-utilities{gap:22px;flex:0 0 auto}.topbar-utilities .account-topbar{margin:0}.task-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:300;display:grid;place-items:center;padding:28px;background:#0d1621d1;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);outline:none;animation:task-preview-in .18s ease-out}@keyframes task-preview-in{0%{opacity:0}to{opacity:1}}.task-preview-dialog{width:min(920px,calc(100vw - 56px));height:min(88dvh,900px);max-height:calc(100dvh - 48px);min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #ffffff2b;border-radius:13px;background:#111820;box-shadow:0 24px 80px #0008}.task-preview-header{height:58px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 16px 0 19px;border-bottom:1px solid #ffffff19;color:#f4f7fa}.task-preview-header>div{min-width:0;display:flex;align-items:center;gap:12px}.task-preview-header>div span{flex:0 0 auto;color:#aebdca;font-size:12px}.task-preview-header>div strong{overflow:hidden;color:#eef3f7;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.task-preview-header>button{width:32px;height:32px;flex:0 0 32px;border:1px solid #ffffff27;border-radius:8px;background:#ffffff0a;color:#f3f6f9;font-size:22px;line-height:1}.task-preview-header>button:hover{background:#ffffff1b}.task-preview-stage{height:auto;min-height:0;flex:1 1 auto;display:grid;place-items:center;overflow:hidden;padding:12px;background:#0b1015}.task-preview-stage video{display:block;width:auto;height:auto;max-width:100%;max-height:100%;border-radius:5px;background:#050709;object-fit:contain}@media(max-width:1100px){.topbar{gap:14px;padding-inline:20px}.topbar-primary{gap:13px}.topbar-primary .workspace-nav{margin-left:0;padding-left:11px}.topbar-utilities{gap:12px}.topbar-primary .topbar-page-title{font-size:15px}}@media(max-width:900px)and (min-width:701px){.topbar{height:auto;min-height:68px;flex-wrap:wrap;padding-block:10px}.topbar-primary{flex:1 1 100%;justify-content:space-between}.topbar-primary .topbar-page-title{display:block}.topbar-primary .workspace-nav{margin-left:auto}.topbar-utilities{width:100%;justify-content:flex-end}.topbar-utilities .instance-topbar{margin-right:auto}}@media(max-width:700px){.topbar{height:auto;min-height:0;padding:10px 16px;gap:8px}.topbar-primary{width:100%;display:grid;grid-template-columns:auto 1fr;gap:8px 12px}.topbar-primary .brand{gap:8px;font-size:14px}.topbar-primary .brand-mark{width:22px;height:22px}.topbar-primary .topbar-page-title{display:block;justify-self:end;font-size:14px;white-space:nowrap}.topbar-primary .workspace-nav{grid-column:1/-1;width:100%;margin:0;padding:6px 0 0;border:0;border-top:1px solid #edf1f5}.topbar-primary .workspace-nav button{flex:1;padding:7px 9px}.topbar-utilities{width:100%;justify-content:space-between;gap:8px}.topbar-utilities .instance-topbar{width:auto;justify-content:flex-start;padding:0;border:0}.topbar-utilities .instance-topbar>strong{display:none}.topbar-utilities .instance-topbar-status{font-size:10px}.topbar-utilities .account-topbar{gap:7px}.topbar-utilities .account-topbar>span{max-width:116px;font-size:10px}.topbar-utilities .account-topbar button{padding:6px 8px}.task-preview-backdrop{padding:12px}.task-preview-dialog{width:100%;height:min(92dvh,900px);max-height:calc(100dvh - 24px);border-radius:10px}.task-preview-header{height:52px;flex:0 0 52px;padding-inline:12px}.task-preview-stage{height:auto;min-height:0;flex:1 1 auto;padding:8px}}@media(prefers-reduced-motion:reduce){.task-preview-backdrop{animation:none}}.progress-track{position:relative;height:5px;overflow:hidden;border-radius:999px;background:#e7edf4}.progress-track>span{position:relative;display:block;height:100%;width:0;border-radius:inherit;background:#4282c7;transition:width .3s ease}.progress-track>span.indeterminate{width:26%;background:linear-gradient(90deg,#8bb6e3,#347ed0,#8bb6e3);animation:progress-indeterminate 1.5s ease-in-out infinite}.progress-track>span.complete{width:100%;background:#35a675}@keyframes progress-indeterminate{0%{transform:translate(-110%)}to{transform:translate(490%)}}.progress-meta b{font-family:inherit;font-size:12px;font-weight:600;letter-spacing:0;color:#506b88}.progress-track.succeeded+.progress-meta b{color:#2e8c62}@media(prefers-reduced-motion:reduce){.progress-track>span.indeterminate{width:45%;animation:none;transform:translate(60%)}}.audio-input-heading{min-height:30px;margin:0 0 9px}.audio-input-heading .audio-source-caption{color:#64778c;font-size:12px;font-weight:600}.script-studio{display:flex;flex-direction:column;gap:12px;padding:13px;border:1px solid #d7e4f2;border-radius:10px;background:linear-gradient(180deg,#fbfdff,#f6f9fc)}.script-preview-banner{display:flex;align-items:center;gap:7px;color:#365d83;font-size:11px;font-weight:650}.script-preview-banner>span:last-child{margin-left:auto;padding:4px 7px;border:1px solid #e0e7ef;border-radius:999px;background:#fff;color:#7e8c99;font-size:10px;font-weight:500;white-space:nowrap}.script-live-dot{width:7px;height:7px;border-radius:50%;background:#d3a64f;box-shadow:0 0 0 3px #f8efd9}.script-field{display:flex;flex-direction:column;gap:6px;min-width:0}.script-field>label{color:#2e4258;font-size:13px;font-weight:650}.script-field>label em{margin-left:4px;color:#ad5739;font-size:11px;font-style:normal;font-weight:550}.script-field>label small{margin-left:5px;color:#71849a;font-size:11px;font-weight:400}.script-field textarea,.script-field input,.script-field select,.script-draft{width:100%;min-width:0;border:1px solid #d5e0eb;border-radius:7px;outline:none;background:#fff;color:#263c52;font:inherit;font-size:14px;line-height:1.65;transition:border-color .15s,box-shadow .15s}.script-field textarea,.script-draft{resize:vertical;padding:9px 10px}.script-field input,.script-field select{height:36px;padding:0 9px}.script-field :is(textarea,input,select):focus,.script-draft:focus{border-color:#6ea2dc;box-shadow:0 0 0 3px #4d91df20}.script-field :is(textarea,input,select)::placeholder,.script-draft::placeholder{color:#a2afbc}.script-fields-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.script-generate-button{height:42px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #286fc9;border-radius:7px;background:#347fce;color:#fff;font-size:14px;font-weight:650;transition:background .15s,transform .15s}.script-generate-button:hover:not(:disabled){background:#276db8;transform:translateY(-1px)}.script-generate-button:disabled{opacity:.52;cursor:not-allowed}.script-generate-button>span{font-size:15px}.script-result-head,.script-voice-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.script-result-head>div{display:flex;align-items:baseline;gap:8px;min-width:0}.script-result-head strong,.script-voice-head strong{color:#2d4359;font-size:14px;font-weight:650}.script-result-head span,.script-voice-head>span{color:#6f8194;font-size:12px}.script-result-head>button{padding:6px 10px;border:1px solid #d5e0eb;border-radius:6px;background:#fff;color:#376a9b;font-size:12px}.script-draft{min-height:120px;max-height:260px;background:#fff}.script-draft-meta{display:flex;justify-content:space-between;margin-top:-8px;color:#6f8194;font-size:12px}.script-voice-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.script-speed-control{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:4px 12px;width:100%;min-width:0;padding:9px 14px;border:1px solid #dce6f0;border-radius:8px;background:#f9fbfd}.script-speed-control>div{grid-column:1/-1;display:flex;flex-direction:column;gap:2px}.script-speed-control label{color:#344a60;font-size:13px;font-weight:650}.script-speed-control span{color:#718398;font-size:11px;line-height:1.4}.script-speed-control input{grid-column:1/-1;width:100%;height:26px;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;cursor:grab;touch-action:pan-y}.script-speed-control input:active{cursor:grabbing}.script-speed-control input::-webkit-slider-runnable-track{height:7px;border:1px solid #d4e0ec;border-radius:999px;background:linear-gradient(90deg,#dce9f7,#e7edf3)}.script-speed-control input::-webkit-slider-thumb{width:20px;height:20px;margin-top:-7px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:3px solid #fff;border-radius:50%;background:#347fce;box-shadow:0 0 0 1px #347fce,0 1px 4px #264b7026}.script-speed-control input::-moz-range-track{height:7px;border:1px solid #d4e0ec;border-radius:999px;background:linear-gradient(90deg,#dce9f7,#e7edf3)}.script-speed-control input::-moz-range-thumb{width:14px;height:14px;border:3px solid #fff;border-radius:50%;background:#347fce;box-shadow:0 0 0 1px #347fce,0 1px 4px #264b7026}.script-speed-control input:focus-visible{outline:2px solid #8cb7e4;outline-offset:2px;border-radius:999px}.script-speed-control output{grid-column:2;color:#2d6eae;font:600 13px DM Mono,monospace;text-align:right}.script-speed-control button{grid-column:3;height:32px;padding:0 12px;border:1px solid #cbdced;border-radius:6px;background:#eef5fc;color:#2d6eae;font-size:11px;white-space:nowrap}.script-speed-control button:disabled{opacity:.55;cursor:not-allowed}.script-voice-card{min-width:0;min-height:58px;display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;gap:3px;padding:5px 6px 5px 8px;border:1px solid #dce5ee;border-radius:7px;background:#fff;color:#42576d}.script-voice-card.selected{border-color:#6c9bd0;background:#f0f6fd;box-shadow:inset 0 0 0 1px #6c9bd0;color:#245f9e}.script-voice-select{min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding:0;border:0;background:transparent;color:inherit;text-align:left}.script-voice-select span{max-width:100%;overflow:hidden;font-size:13px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.script-voice-select small{max-width:100%;overflow:hidden;color:#718398;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.script-voice-preview{width:26px;height:26px;display:grid;place-items:center;border:1px solid #cddded;border-radius:50%;background:#fff;color:#347fce;transition:background .15s,color .15s}.script-voice-preview:hover,.script-voice-preview.playing{background:#347fce;color:#fff}.script-voice-preview svg{width:13px;height:13px;fill:currentColor}.script-audio-output{position:relative;display:flex;align-items:center;gap:9px;overflow:hidden;padding:9px;border:1px solid #e0e7ee;border-radius:8px;background:#fff}.script-audio-icon{width:31px;height:31px;flex:none;display:grid;place-items:center;border-radius:8px;background:#edf4fc;color:#3980c7;font-size:17px}.script-audio-output>div:nth-child(2){display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}.script-audio-output strong{color:#344a60;font-size:13px}.script-audio-output span{color:#718398;font-size:12px}.script-audio-output>button{height:34px;padding:0 11px;border:1px solid #cbdced;border-radius:6px;background:#f1f7fd;color:#356b9e;font-size:12px;white-space:nowrap}.script-audio-output>button:disabled{opacity:.6;cursor:not-allowed}.script-audio-output>button:disabled.waiting{cursor:wait}.script-audio-output.generating{border-color:#b7d0eb;background:#f9fcff}.script-audio-output.generating .script-audio-icon{animation:script-audio-beat 1.15s ease-in-out infinite}.script-audio-output.generating>div:nth-child(2)>strong{color:#2869ad}.script-audio-output.generating>button{border-color:#bfd5ec;background:#edf5fd;color:#2f6eae}.script-audio-output.generating>button .spinner{width:13px;height:13px;border-color:#347fce35;border-top-color:#347fce}.script-audio-output.generating:after{position:absolute;right:0;bottom:0;left:0;height:3px;background:#e8f0f8;content:""}.script-audio-output.generating:before{position:absolute;z-index:1;bottom:0;left:-38%;width:38%;height:3px;background:linear-gradient(90deg,transparent,#4d8fd0 45%,#9dc4eb 60%,transparent);content:"";animation:script-audio-progress 1.7s ease-in-out infinite}@keyframes script-audio-beat{0%,to{transform:translateY(0) scale(1)}45%{transform:translateY(-2px) scale(1.06)}70%{transform:translateY(0) scale(.98)}}@keyframes script-audio-progress{to{left:100%}}@media(prefers-reduced-motion:reduce){.script-audio-output.generating .script-audio-icon,.script-audio-output.generating:before{animation:none}.script-audio-output.generating:before{left:0;width:100%;opacity:.65}}.script-generated-audio{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 11px;border:1px solid #dce7f0;border-radius:8px;background:#fff}.script-generated-audio audio{width:100%;height:38px;min-width:0}.script-generated-audio>a{color:#2d6eae;font-size:12px;text-decoration:none;white-space:nowrap}.script-generated-audio>a:hover{text-decoration:underline}.script-page{max-width:1120px;margin:8px auto 0}.script-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 20px}.script-page-kicker{color:#4c7eaf;font-size:11px;font-weight:650;letter-spacing:.06em}.script-page-heading h2{margin:5px 0;color:#21364b;font-size:25px;line-height:1.25;letter-spacing:-.025em}.script-page-heading p{margin:0;color:#718196;font-size:13px}.script-page-status{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid #e5eaf0;border-radius:999px;background:#fff;color:#75869a;font-size:11px;white-space:nowrap}.script-page-status i{width:7px;height:7px;border-radius:50%;background:#d1a347;box-shadow:0 0 0 3px #f8efd9}.script-page-grid{display:grid;grid-template-columns:minmax(300px,.88fr) minmax(0,1.12fr);align-items:start;gap:16px}.script-page-card{display:flex;flex-direction:column;gap:16px;min-width:0;padding:21px;border:1px solid #e2e9f0;border-radius:12px;background:#fff;box-shadow:0 4px 16px #1d354e0a}.script-page-card-head{display:flex;align-items:center;gap:11px;padding-bottom:14px;border-bottom:1px solid #edf1f5}.script-page-card-head>span{display:grid;width:31px;height:28px;place-items:center;border-radius:7px;background:#eaf2fc;color:#3474bd;font-size:11px;font-weight:700}.script-page-card-head h3{margin:0 0 3px;color:#2a3f55;font-size:15px;font-weight:700}.script-page-card-head p{margin:0;color:#8a99a8;font-size:11px}.script-request-card .script-fields-row{gap:12px}.script-request-card .script-field textarea{min-height:76px}.script-request-card .script-field textarea#script-points{min-height:110px}.script-request-card .script-generate-button{height:43px;margin-top:2px}.script-card-note{margin:-7px 0 0;color:#8b99a8;font-size:10px;line-height:1.55;text-align:center}.script-result-card{gap:13px}.script-result-card .script-draft{min-height:220px;padding:13px;line-height:1.8}.script-result-card .script-draft-meta{margin-top:-8px}.script-voice-section{display:grid;gap:10px;padding-top:14px;border-top:1px solid #edf1f5}.script-result-card .script-voice-card{min-height:62px;padding-inline:8px}.script-result-card .script-audio-output{min-height:58px;padding:11px;background:#f9fbfd}.script-result-card .script-audio-output>button{height:34px;padding-inline:13px;border-color:#cbdced;background:#eef5fc;color:#2d6eae;font-size:11px;font-weight:600}.script-page-footnote{display:flex;align-items:center;gap:8px;margin-top:15px;color:#7a8ba0;font-size:11px}.script-page-footnote>span{color:#6a91b9;font-size:14px}.creation-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 16px}.creation-paths>button{min-width:0;min-height:68px;display:flex;align-items:center;gap:12px;padding:11px 14px;border:1px solid #dfe7ef;border-radius:10px;background:#fff;color:#53677d;text-align:left;transition:border-color .16s,background .16s,box-shadow .16s}.creation-paths>button:hover{border-color:#aac5e2;background:#fbfdff}.creation-paths>button.active{border-color:#7faadc;background:#f1f7fe;box-shadow:inset 0 0 0 1px #7faadc}.creation-path-icon{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:9px;background:#f0f4f8;color:#6786a8;font-size:18px}.creation-path-icon.script{background:#eaf2fc;color:#397bc0}.creation-paths>button>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.creation-paths strong{color:#344a61;font-size:12px;font-weight:700}.creation-paths small{overflow:hidden;color:#8191a2;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.creation-paths>button>i{flex:none;color:#7895b3;font-size:10px;font-style:normal}.uploads.script-path{grid-template-columns:minmax(0,1fr);gap:16px}.uploads.script-path>.upload-block:first-child{display:grid;grid-template-columns:minmax(250px,280px) minmax(0,1fr);align-items:center;gap:8px 16px;padding-bottom:14px;border-bottom:1px solid #edf1f5}.script-path .image-field-heading{grid-column:1/-1}.script-path .image-drop,.script-path .image-preview{width:100%;height:136px;min-height:136px}.script-path .image-drop strong{font-size:12px}.script-path .image-drop .upload-caption{max-width:100%;padding-inline:8px;text-align:center;line-height:1.4}.script-path .image-drop .format-label{white-space:nowrap;font-size:9px;letter-spacing:.02em}.script-path .image-preview img{width:62px;height:88px}.script-image-note{display:flex;flex-direction:column;gap:5px;max-width:430px;color:#6f8092}.script-image-note strong{color:#3d5875;font-size:12px;font-weight:650}.script-image-note span{font-size:11px;line-height:1.6}.script-path .script-studio{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;background:#fbfdff}.script-path .script-studio>.script-preview-banner,.script-path .script-studio>.script-topic-field,.script-path .script-studio>.script-fields-row,.script-path .script-studio>.script-generate-button,.script-path .script-studio>.script-result-head,.script-path .script-studio>.script-draft,.script-path .script-studio>.script-draft-meta,.script-path .script-studio>.script-voice-head,.script-path .script-studio>.script-voice-options,.script-path .script-studio>.script-audio-output,.script-path .script-studio>.script-generated-audio,.script-path .script-studio>.script-speed-control{grid-column:1/-1}.script-path .script-studio>.script-audience-field{grid-column:1}.script-path .script-studio>.script-points-field{grid-column:2}.script-path .script-studio>.script-draft{min-height:130px}.script-path .script-audio-output{align-items:flex-start}.script-path .script-audio-output>div:nth-child(2){padding-top:2px}@media(max-width:560px){.script-studio{padding:11px;gap:11px}.script-fields-row{gap:7px}.script-voice-options{gap:5px}.script-voice-card{padding-inline:6px}}@media(max-width:760px){.script-page{margin-top:2px}.script-page-grid{grid-template-columns:1fr}.script-result-card .script-draft{min-height:170px}}@media(max-width:480px){.script-page-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:15px}.script-page-heading h2{font-size:22px}.script-page-heading p{font-size:12px;line-height:1.6}.script-page-card{padding:16px;gap:14px}.script-request-card .script-fields-row{gap:8px}.script-page-footnote{align-items:flex-start;line-height:1.5}}@media(max-width:420px){.script-generated-audio{grid-template-columns:1fr}.script-generated-audio>a{justify-self:end}}@media(max-width:560px){.script-speed-control{grid-template-columns:minmax(0,1fr) auto auto;gap:4px 9px;padding:8px 10px}.script-speed-control input{grid-column:1/-1}.script-speed-control output{grid-column:2}.script-speed-control button{grid-column:3;justify-self:end}}@media(max-width:700px){.creation-paths{grid-template-columns:1fr;gap:8px}.creation-paths>button{min-height:61px}.uploads.script-path{grid-template-columns:1fr}.uploads.script-path>.upload-block:first-child{grid-template-columns:minmax(220px,260px) minmax(0,1fr);gap:8px 12px}.script-path .script-studio{grid-template-columns:1fr}.script-path .script-studio>*{grid-column:1!important}.script-path .image-drop,.script-path .image-preview{height:128px;min-height:128px}}@media(max-width:480px){.uploads.script-path>.upload-block:first-child{grid-template-columns:1fr}.script-path .image-drop,.script-path .image-preview{width:100%;height:136px;min-height:136px}.script-image-note{grid-column:1}}
