@charset "UTF-8";
:root{--bg:#f7f8f4;--surface:#fff;--ink:#242c2a;--muted:#69746f;--line:#e3e8e1;--accent:#167a64;--accent-hover:#11634f;--accent-soft:#edf7f1;--dark:#202c28;--error:#b33f36;--error-soft:#fff3f0;--radius:18px;--shadow:0 6px 26px #20352b04;--font:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 var(--font);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}button,input,textarea,select,a{outline-offset:4px}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #209776}button{color:inherit}button:active:not(:disabled){filter:brightness(.96)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.icon{display:inline-block;flex-shrink:0;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.icon.small{width:16px;height:16px}.skip-link{position:fixed;z-index:100;top:-100px;left:20px;background:var(--dark);color:#fff;padding:12px 20px;border-radius:8px}.skip-link:focus{top:12px}.topbar{height:82px;padding:0 4.5%;display:flex;align-items:center;border-bottom:1px solid var(--line);background:#f9faf7;gap:56px}.brand{font-size:24px;font-weight:750;letter-spacing:-1px;display:flex;align-items:center;gap:11px;white-space:nowrap}.brand-dot{color:var(--accent)}.brand-mark{width:29px;height:32px;display:flex;align-items:center;gap:3px}.brand-mark span{width:6px;display:block;background:var(--accent);border-radius:4px;transform:rotate(21deg)}.brand-mark span:nth-child(1){height:18px}.brand-mark span:nth-child(2){height:31px}.brand-mark span:nth-child(3){height:22px}.topnav{height:100%;display:flex;gap:30px;font-size:13px;font-weight:550;color:var(--muted)}.topnav a{display:flex;align-items:center;position:relative;min-height:44px}.topnav a:hover{color:var(--accent)}.topnav a.active{color:var(--ink)}.topnav a.active:after{content:"";position:absolute;height:3px;background:var(--accent);border-radius:3px;bottom:0;left:10%;right:10%}.header-actions{margin-left:auto;display:flex;align-items:center;gap:16px}.service-button{border:1px solid var(--line);background:#fff;border-radius:24px;padding:7px 12px;display:flex;align-items:center;gap:8px;min-height:36px;font-size:12px;color:var(--muted)}.service-button:hover{border-color:#aac6b9}.status-dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:#b5bdb8;flex-shrink:0}.status-dot.ready{background:#298569;box-shadow:0 0 0 3px #29856912}.status-dot.warning{background:#b88232;box-shadow:0 0 0 3px #b8823210}.status-dot.error{background:#be5349}.status-dot.running{background:#167a64;animation:pulse 2s infinite}.icon-button{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);background:transparent;border-radius:50%;color:var(--muted)}.icon-button:hover{background:#fff;color:var(--ink)}main{max-width:1600px;padding:0 4.5%;margin:auto}.intro{padding:45px 0 32px;display:flex;justify-content:space-between;align-items:flex-end;gap:24px}.eyebrow{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:2px;color:var(--accent);font-weight:650;margin:0 0 12px}.eyebrow>span{width:18px;height:2px;background:var(--accent)}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.4;letter-spacing:-1px;margin-bottom:10px;font-weight:650}h1>span{color:var(--accent)}.intro-copy{font-size:13px;color:var(--muted);margin:0}.flow-labels{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:11px;color:#737d76;padding-bottom:5px}.flow-labels b{font-size:10px;font-weight:500;color:var(--accent);margin-right:5px;font-variant-numeric:tabular-nums}.flow-labels i{display:block;width:25px;height:1px;background:#ccd5cb}.connection-panel{border:1px solid var(--line);padding:14px 20px;background:#fff;border-radius:12px;margin-bottom:20px;display:grid;gap:8px}.connection-panel>div{display:flex;align-items:center;gap:10px;font-size:12px}.connection-panel strong{font-weight:600;white-space:nowrap}.connection-panel div>span:last-child{color:var(--muted);overflow-wrap:anywhere}.notice{margin-bottom:20px;padding:12px 18px;border-radius:10px;color:#866129;background:#fff9e9;border:1px solid #eadfbe;font-size:12px}.workspace{display:grid;grid-template-columns:minmax(260px,.88fr) minmax(340px,1.16fr) minmax(290px,1fr);gap:20px;align-items:stretch;scroll-margin-top:24px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:23px 22px;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px;min-height:26px}.panel-heading>div{display:flex;align-items:center;gap:9px}.step-number{display:grid;place-items:center;width:23px;height:23px;border-radius:6px;background:#f0f4ee;color:#6a806e;font-size:10px;font-weight:600;letter-spacing:.5px}.panel h2{font-size:16px;font-weight:650;margin:0;letter-spacing:.1px}.section-hint{color:#7a847d;font-size:10px;white-space:nowrap}.tabs{background:#f1f4ef;padding:4px;display:flex;border-radius:9px;margin-bottom:16px;gap:4px}.tab{border:0;background:transparent;flex:1;border-radius:6px;padding:8px 10px;color:var(--muted);font-size:12px;transition:background .2s,color .2s}.tab.active{color:var(--ink);background:#fff;box-shadow:0 1px 4px #24382d0d;font-weight:600}.tab:hover:not(.active){color:var(--ink)}.portrait-display{height:268px;border-radius:12px;background:#f0f3ed;position:relative;overflow:hidden;margin-bottom:17px;display:flex;align-items:center;justify-content:center}.portrait-display:before{content:"";position:absolute;inset:0;background-image:radial-gradient(#cbd5c7 1px,transparent 1px);background-size:16px 16px;opacity:.33}.portrait-display>img{position:relative;width:100%;height:100%;object-fit:contain;background:#edf1e9}.portrait-placeholder{text-align:center;position:relative;width:100%;padding:20px}.portrait-frame{width:132px;height:155px;position:relative;margin:0 auto 14px}.portrait-frame>svg{height:100%;width:100%;stroke:#a0afa1;stroke-width:1.1}.frame-corner{position:absolute;width:15px;height:15px;border-color:#819c84;border-style:solid}.frame-corner.tl{left:0;top:0;border-width:1.5px 0 0 1.5px}.frame-corner.tr{right:0;top:0;border-width:1.5px 1.5px 0 0}.frame-corner.bl{left:0;bottom:0;border-width:0 0 1.5px 1.5px}.frame-corner.br{right:0;bottom:0;border-width:0 1.5px 1.5px 0}.portrait-placeholder p{font-size:13px;color:#65766a;margin:0 0 3px}.portrait-placeholder>span{font-size:10px;color:#7a897a}.portrait-selected{position:absolute;bottom:12px;left:12px;background:#ffffffec;box-shadow:0 2px 8px #253a2e10;color:var(--accent);border:1px solid #fff;border-radius:6px;padding:4px 8px;display:flex;gap:4px;align-items:center;font-size:10px}.button{min-height:43px;padding:9px 16px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:550;transition:background .18s,border-color .18s,color .18s;white-space:nowrap}.button-outline{border:1px solid #d5ddd3;background:#fff;color:var(--ink)}.button-outline:hover:not(:disabled){background:#f6f9f3;border-color:#9aaf9c}.button-outline:disabled{background:#f6f7f4;color:#8b958d}.button-primary{background:var(--accent);border:1px solid var(--accent);color:#fff;min-height:49px;letter-spacing:.5px}.button-primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.button-primary:disabled{background:#e6ece5;border-color:#e6ece5;color:#7d8c80}.button-small{min-height:34px;font-size:11px;padding:6px 11px;gap:6px}.full-width{width:100%}.helper{font-size:10px;color:#778279;line-height:1.7;margin:9px 0 0}.centered{text-align:center}.field-error{font-size:12px;color:var(--error);margin:8px 0 0;overflow-wrap:anywhere}.form-error{padding:10px 12px;border:1px solid #f1d7d2;border-radius:7px;background:var(--error-soft)}label,legend{font-size:12px;font-weight:550}.portrait-panel textarea{min-height:94px;margin:8px 0 10px;padding:11px;border-radius:8px;font-size:12px;background:#fafbf8}textarea,input[type=password],select{width:100%;border:1px solid #dce3d8;color:var(--ink);background:#fff;transition:border-color .18s;line-height:1.8}textarea{resize:vertical;display:block}textarea::placeholder,input::placeholder{color:#8a948b}textarea:hover,input:hover,select:hover{border-color:#b6c6b3}textarea:focus,input:focus,select:focus{border-color:var(--accent)}.asset-section{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.subheading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.subheading h3{font-size:11px;margin:0;font-weight:600}.subheading>span{font-size:10px;color:#859086}.portrait-library{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.library-empty{grid-column:1/-1;color:#859086;font-size:10px;margin:0;padding:8px 0 3px}.asset-thumb{position:relative;aspect-ratio:3/4;min-width:0;overflow:hidden;border:2px solid transparent;padding:0;border-radius:8px;background:#edf1ea;transition:border-color .18s}.asset-thumb:hover{border-color:#a1bba8}.asset-thumb.selected{border-color:var(--accent)}.asset-thumb img{width:100%;height:100%;object-fit:cover;display:block}.asset-thumb .check-marker{position:absolute;right:3px;bottom:3px;background:var(--accent);color:#fff;width:17px;height:17px;display:grid;place-items:center;border-radius:50%}.check-marker .icon{width:12px;height:12px}.script-panel{display:flex;flex-direction:column}.script-panel form{flex:1}.script-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.text-button{display:inline-flex;align-items:center;gap:3px;font-size:10px;color:var(--accent);border:0;background:none;min-height:26px;padding:0 1px}.text-button:hover{text-decoration:underline}.script-editor{border:1px solid #dce3d8;border-radius:10px;overflow:hidden;background:#fdfefb;transition:border-color .2s}.script-editor:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #167a640a}.script-editor textarea{border:none!important;background:transparent;border-radius:0;padding:15px 16px;min-height:213px;font-size:13px;line-height:1.95;outline-offset:-4px}.script-editor textarea:focus-visible{outline:0}.editor-bottom{padding:10px 14px;border-top:1px solid #e9ede5;color:#7c877d;font-size:10px;display:flex;align-items:center;justify-content:space-between;gap:8px}.editor-bottom b{font-weight:400;color:#536453;font-variant-numeric:tabular-nums}.parameter-heading{margin:24px 0 17px;display:flex;align-items:center;justify-content:space-between}.parameter-heading h3{font-size:12px;margin:0;font-weight:650}.parameter-heading>span{font-size:10px;color:#839083}.ratio-fieldset{border:0;padding:0;margin:0}.ratio-fieldset legend{padding:0;margin-bottom:10px;font-size:11px}.ratio-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.ratio-option{position:relative;min-width:0;cursor:pointer}.ratio-option input{position:absolute;width:1px;height:1px;opacity:0}.ratio-option>span{display:flex;flex-direction:column;justify-content:center;align-items:center;height:92px;border:1px solid #e0e6dc;border-radius:8px;background:#fff;transition:border-color .2s,background .2s;color:#748272}.ratio-option strong{font-size:11px;font-weight:600;line-height:1.3;margin-top:7px}.ratio-option small{font-size:9px;font-weight:400;margin-top:2px}.ratio-option input:checked+span{border-color:var(--accent);color:var(--accent);background:#f0f8f1;box-shadow:inset 0 0 0 .5px var(--accent)}.ratio-option input:focus-visible+span{outline:3px solid var(--accent);outline-offset:3px}.ratio-option:hover>span{border-color:#91b19c}.ratio-shape{height:20px;width:12px;border:1.2px solid currentColor;border-radius:2px;display:block}.ratio-shape.horizontal{height:12px;width:22px;margin-top:4px;margin-bottom:4px}.ratio-shape.square{height:18px;width:18px;margin-top:1px;margin-bottom:1px}.settings-row{display:grid;grid-template-columns:1fr 1.1fr;gap:15px;align-items:end;margin-top:18px}.settings-row>div>label{display:block;font-size:11px;margin-bottom:7px}select{min-height:39px;border-radius:7px;padding:7px 8px;font-size:10px;cursor:pointer}.caption-setting{display:flex;align-items:center;gap:9px;cursor:pointer;min-height:39px}.caption-setting>span:first-child{display:flex;flex-direction:column;flex:1}.caption-setting strong{font-size:11px;font-weight:500}.caption-setting small{font-size:9px;font-weight:400;color:#7c887d;white-space:nowrap;margin-top:4px}.switch-input{position:absolute;opacity:0;width:1px;height:1px}.switch{width:29px;height:17px;border-radius:20px;background:#c4cdc3;display:block;position:relative;flex-shrink:0;transition:background .2s}.switch:after{content:"";position:absolute;background:#fff;width:13px;height:13px;top:2px;left:2px;border-radius:50%;box-shadow:0 1px 2px #0002;transition:transform .2s}.switch-input:checked+.switch{background:var(--accent)}.switch-input:checked+.switch:after{transform:translateX(12px)}.switch-input:focus-visible+.switch{outline:3px solid var(--accent);outline-offset:3px}.generate-area{margin-top:24px}.generate-area .arrow-icon{margin-left:auto}.generate-area .button>svg:first-child{margin-right:auto}.creator-note{display:flex;gap:8px;align-items:flex-start;padding:15px 0 0;margin-top:19px;border-top:1px solid #edf0e9;color:#7e897e}.creator-note>.icon{width:14px;height:14px;margin-top:1px;stroke-width:1.6}.creator-note p{font-size:9px;line-height:1.8;margin:0}.preview-panel{display:flex;flex-direction:column}.preview-label{font-size:10px;color:#71816f;border:1px solid #e3e9dd;padding:2px 7px;border-radius:4px;font-variant-numeric:tabular-nums}.preview-stage{position:relative;flex:1;min-height:445px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--dark);border-radius:12px;color:#fff}.preview-grid{position:absolute;inset:0;background-image:radial-gradient(#d0dfd11c .7px,transparent .7px);background-size:19px 19px}.preview-stage:before,.preview-stage:after{content:"";position:absolute;width:27px;height:27px;border-style:solid;border-color:#9eaf9d35;z-index:1;pointer-events:none}.preview-stage:before{left:17px;top:17px;border-width:1px 0 0 1px}.preview-stage:after{right:17px;bottom:17px;border-width:0 1px 1px 0}.preview-stage video{position:relative;width:100%;max-height:550px;aspect-ratio:9/16;object-fit:contain;z-index:2;display:block}.preview-empty{position:relative;text-align:center;padding:24px;max-width:100%}.preview-film{width:63px;height:63px;border:1px solid #b5c4b51f;border-radius:16px;display:grid;place-items:center;margin:0 auto 23px;background:#ffffff04;color:#b6cbb7}.preview-film>.icon{width:23px;height:23px;margin-left:3px;stroke-width:1.3}.preview-empty h3{font-size:14px;font-weight:500;letter-spacing:1px;margin-bottom:10px;color:#dce6db}.preview-empty p{font-size:11px;color:#a3b0a2;line-height:1.9;margin-bottom:0}.preview-small-line{width:28px;height:1px;background:#8499814d;margin:23px auto 16px}.preview-empty>span{font-size:7px;letter-spacing:1.4px;color:#849682}.preview-progress{position:relative;width:100%;padding:28px;text-align:center}.loading-orbit{width:47px;height:47px;display:block;margin:0 auto 24px;border:1px solid #668675;border-top-color:#c5e5c8;border-radius:50%;animation:spin 1.3s linear infinite}.preview-progress h3{font-size:14px;font-weight:500;color:#e8f3e5;margin-bottom:10px}.preview-progress p{font-size:11px;color:#adbfad;overflow-wrap:anywhere}.progress-track{height:3px;border-radius:3px;overflow:hidden;background:#b8cbb82b;margin:22px auto 10px;max-width:200px}.progress-track>span{display:block;height:100%;background:#a9d1b3;transition:width .5s;width:0}.preview-progress>span:last-child{font-size:10px;color:#b5ceb9;font-variant-numeric:tabular-nums}.preview-duration{position:absolute;right:14px;top:14px;background:#18231bcc;color:#fff;padding:3px 7px;font-size:10px;border-radius:4px;z-index:3}.preview-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px;min-height:34px}.preview-footer>div{display:flex;align-items:center;gap:7px;font-size:10px;color:#72816f}.preview-message{font-size:10px;color:#869281;line-height:1.8;margin:10px 0 0}.history-section{padding-top:34px;scroll-margin-top:20px}.history-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;gap:15px}.history-heading h2{font-size:17px;font-weight:600;margin:0 0 4px;display:flex;align-items:center;gap:9px}.history-heading h2>span{font-size:9px;line-height:18px;min-width:20px;text-align:center;background:#e9eee4;border-radius:5px;color:#657662;font-weight:500}.history-heading p{font-size:11px;color:#7a8678;margin:0}.jobs-list{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}.history-empty{min-height:107px;padding:25px 26px;display:flex;align-items:center;gap:14px;color:#9ba896}.history-empty>.icon{width:29px;height:29px;stroke-width:1.2}.history-empty h3{font-size:12px;font-weight:500;color:#6d7d68;margin:0 0 4px}.history-empty p{font-size:10px;margin:0;color:#87937f}.history-empty>span{margin-left:auto;font-size:10px;color:#8a9783}.job-row{padding:17px 20px;display:flex;align-items:center;gap:15px;border-bottom:1px solid #edf0e8}.job-row:last-child{border-bottom:0}.job-icon{width:38px;height:43px;border-radius:7px;background:#eef5eb;color:#718d6b;display:grid;place-items:center;flex-shrink:0;overflow:hidden}.job-icon img{width:100%;height:100%;object-fit:cover}.job-main{flex:1;min-width:0}.job-title{font-size:12px;font-weight:550;margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.job-subtitle{display:flex;gap:9px;align-items:center;font-size:10px;color:#7d8c76;overflow-wrap:anywhere}.job-subtitle .job-date{white-space:nowrap}.job-progress{height:2px;max-width:200px;background:#e7eee3;border-radius:2px;margin-top:8px;overflow:hidden}.job-progress span{display:block;background:var(--accent);height:100%;transition:width .5s}.job-error{font-size:11px;margin:6px 0 0;color:var(--error);overflow-wrap:anywhere}.job-status{display:flex;align-items:center;gap:5px;color:#6c8066;font-size:10px;white-space:nowrap}.job-status.failed{color:var(--error)}.job-status.needs_review{color:#946d33}.job-actions{display:flex;align-items:center;gap:7px}.job-actions .button{font-size:10px;min-height:32px;padding:5px 9px}.page-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:29px 0 24px;color:#8b9685;font-size:10px}.page-footer>span:first-child{font-weight:600;font-size:12px;letter-spacing:-.3px;color:#7d8d77}.page-footer i{font-style:normal;font-size:10px;font-weight:400;letter-spacing:0;margin-left:9px;color:#8b9685}.login-dialog{border:1px solid var(--line);border-radius:22px;padding:38px;width:400px;max-width:calc(100% - 32px);box-shadow:0 20px 120px #19281c26;color:var(--ink);background:#fcfdf9}.login-dialog::backdrop{background:#e8eee4e8;backdrop-filter:blur(10px)}.login-mark{display:grid;place-items:center;width:49px;height:49px;background:#edf5e8;color:var(--accent);border:1px solid #dfe9d8;border-radius:13px;margin-bottom:25px}.login-dialog .eyebrow{font-size:9px}.login-dialog h2{font-size:24px;letter-spacing:-.5px;margin:0 0 10px;font-weight:650}.login-copy{font-size:12px;color:var(--muted);margin-bottom:26px}.login-dialog label{display:block;margin-bottom:8px;font-size:11px}.login-dialog input{min-height:46px;border-radius:8px;padding:9px 12px;font-size:13px}.login-dialog .button{margin-top:18px;justify-content:space-between}.login-footer{font-size:10px;color:#87937f;text-align:center;margin:19px 0 0}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:20;border:1px solid #536752;background:#243624;color:#f0f5ec;padding:11px 20px;max-width:calc(100% - 32px);border-radius:9px;box-shadow:0 4px 25px #1d291c20;font-size:12px;overflow-wrap:anywhere}.is-busy>.icon:first-child{animation:spin 1.5s linear infinite}.button .spinner{height:15px;width:15px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;display:inline-block;animation:spin .9s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.4}}
@media(min-width:1550px){.panel{padding:26px}.portrait-display{height:290px}.preview-stage{min-height:465px}.script-editor textarea{min-height:237px}}
@media(max-width:1200px){main{padding:0 3%}.topbar{padding:0 3%;gap:34px}.workspace{gap:14px;grid-template-columns:minmax(235px,.9fr) minmax(305px,1.15fr) minmax(250px,1fr)}.panel{padding:19px 16px}.section-hint{display:none}.flow-labels{display:none}.caption-setting small{white-space:normal}.settings-row{gap:11px}.preview-stage{min-height:447px}.intro{padding-top:36px}.intro h1{font-size:31px}.portrait-display{height:253px}.preview-empty{padding:20px 12px}.preview-empty h3{font-size:12px;letter-spacing:0}.preview-empty>span{letter-spacing:.8px}}
@media(max-width:1000px){.workspace{grid-template-columns:minmax(250px,.85fr) minmax(340px,1.15fr);gap:18px}.preview-panel{grid-column:1/-1}.preview-stage{min-height:280px;max-height:440px}.preview-stage video{max-height:440px;width:auto;max-width:100%}.preview-panel .panel-heading{margin-bottom:18px}.portrait-display{height:285px}.preview-panel .preview-stage:before,.preview-panel .preview-stage:after{display:none}.preview-panel .preview-empty{padding:35px}.preview-small-line,.preview-empty>span{display:none}.preview-film{margin-bottom:14px}.preview-empty h3{font-size:14px}.topnav{gap:24px}.history-empty>span{display:none}}
@media(max-width:700px){.topbar{height:68px;padding:0 5%;gap:22px}.brand{font-size:21px;gap:8px}.brand-mark{transform:scale(.85);transform-origin:left center;width:24px}.topnav{margin-left:auto;font-size:11px;gap:18px}.topnav a:last-child{display:none}.header-actions{margin-left:0;gap:8px}.service-button{font-size:10px;padding:5px 8px;min-height:31px}.service-button .icon{display:none}.icon-button{height:32px;width:32px}.icon-button .icon{width:16px;height:16px}main{padding:0 5%}.intro{padding:30px 0 23px}.intro h1{font-size:27px;letter-spacing:-1px;margin-bottom:8px}.intro-copy{font-size:11px;line-height:1.9;max-width:290px}.eyebrow{font-size:9px;margin-bottom:10px;letter-spacing:1.1px}.workspace{grid-template-columns:minmax(0,1fr);gap:18px}.panel{padding:22px}.portrait-panel .section-hint,.script-panel .section-hint{display:block}.portrait-display{height:290px}.portrait-frame{height:164px;width:140px}.portrait-library{grid-template-columns:repeat(5,minmax(0,1fr))}.script-editor textarea{min-height:230px;font-size:14px}.script-label{margin-bottom:13px}.text-button{font-size:11px;min-height:32px}.helper{font-size:11px}.section-hint{font-size:10px}.ratio-option>span{height:96px}.ratio-option small{font-size:10px}.settings-row{grid-template-columns:1fr 1.1fr;gap:20px}.settings-row select{font-size:11px;min-height:43px}.caption-setting small{font-size:10px}.caption-setting strong{font-size:12px}.caption-setting{min-height:43px}.creator-note p{font-size:10px}.button{min-height:45px;font-size:13px}.button-primary{min-height:51px}.button-small{min-height:36px;font-size:11px}.preview-panel{grid-column:auto}.preview-stage{min-height:360px;max-height:550px}.preview-stage video{max-height:550px}.preview-empty h3{font-size:14px}.preview-footer>div{font-size:11px}.preview-message{font-size:11px}.history-section{padding-top:28px}.history-heading{margin-bottom:15px}.history-heading h2{font-size:16px}.history-heading p{font-size:10px}.history-heading .button{min-height:38px;font-size:10px}.history-empty{padding:24px 20px;gap:12px}.history-empty p{font-size:10px}.job-row{padding:16px;flex-wrap:wrap;gap:10px}.job-icon{width:33px;height:38px}.job-title{font-size:12px}.job-subtitle{font-size:9px;gap:6px;flex-wrap:wrap}.job-status{font-size:10px}.job-actions{margin-left:43px}.job-actions .button{min-height:36px}.page-footer{padding:25px 0;align-items:flex-start}.page-footer>span:last-child{display:none}.page-footer i{display:block;margin:3px 0 0;font-size:10px}.connection-panel{padding:13px 15px}.connection-panel>div{align-items:flex-start;flex-wrap:wrap;gap:8px}.connection-panel div>span:last-child{width:100%;padding-left:14px}.connection-panel .status-dot{margin-top:7px}.login-dialog{padding:30px}.login-dialog .button{font-size:12px}}
@media(max-width:380px){.topbar{gap:12px}.brand{font-size:19px}.topnav{display:none}.header-actions{margin-left:auto}.panel{padding:19px}.portrait-library{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-row{gap:12px}.caption-setting small{font-size:9px}.intro h1{font-size:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.service-button,.icon-button,.tab,.text-button,.button-small,.job-actions .button{min-height:44px}.icon-button{min-width:44px}.caption-setting{min-height:44px}.text-button{padding-left:6px;padding-right:6px}.tab{padding-top:10px;padding-bottom:10px}
.ratio-options{grid-template-columns:repeat(2,minmax(0,1fr))}
.continuity-settings{margin-top:17px;padding-top:15px;border-top:1px solid var(--line)}.continuity-settings>.caption-setting{justify-content:space-between}.continuity-settings .caption-setting small{font-size:10px;white-space:normal}.end-frame-setting{margin-top:12px}.end-frame-setting>label{display:block;margin-bottom:7px;font-size:11px}.end-frame-setting>label>span{font-size:10px;color:var(--muted);font-weight:400;margin-left:4px}.end-frame-setting select{min-height:39px;max-width:100%;text-overflow:ellipsis}.end-frame-setting .helper{margin-top:6px}.job-subtitle{flex-wrap:wrap}
@media(max-width:700px){.end-frame-setting select{min-height:44px;font-size:11px}}
@media(max-width:700px){.topnav{display:none}.header-actions{margin-left:auto}.service-button,.icon-button,.button-small,.history-heading .button,.job-actions .button{min-height:44px}.icon-button{width:44px;height:44px}.text-button{min-height:44px}.caption-setting{min-height:44px}}
