:root{color-scheme:dark;--bg:#121315;--surface:#191a1d;--line:#303135;--text:#e8e8ea;--muted:#8c8e94;--accent:#ece8e1;--accent-hover:#fff;--green:#91bca5;--amber:#d9af79;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:13px;line-height:1.5;-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin:0}button,input,textarea,select{font:inherit}button{border:0;background:none;color:inherit;cursor:pointer}button:disabled{opacity:.36;cursor:not-allowed}button,a,input,textarea,select{outline-offset:3px}button:focus-visible,a:focus-visible{outline:2px solid #cbb495}input:focus,textarea:focus,select:focus{outline:1px solid #96979b;outline-offset:0}button{transition:background .12s,color .12s}button:not(:disabled):active{transform:translateY(1px)}a{color:inherit;text-decoration:none}svg{flex-shrink:0;width:17px;height:17px;vertical-align:middle}button svg{width:16px;height:16px}::selection{background:#786f5b99}[hidden]{display:none!important}fieldset{padding:0;margin:0;border:0;min-width:0}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.topbar{height:58px;display:flex;align-items:center;padding:0 24px;border-bottom:1px solid var(--line);gap:24px;background:#141518}.brand{display:flex;align-items:center;gap:9px}.brand strong{font-weight:600;font-size:17px;letter-spacing:1px}.brand-icon{display:flex;gap:3px;align-items:center;justify-content:center;width:26px;height:28px}.brand-icon i{width:3px;height:9px;background:#dad5cc;border-radius:1px}.brand-icon i:nth-child(2){height:23px}.brand-icon i:nth-child(3){height:16px}.brand-icon i:nth-child(4){height:7px}.app-title{font-size:12px;color:#929499;border-left:1px solid #36373b;padding-left:24px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:24px}.demo-label{font-size:11px;color:#909298;display:flex;align-items:center;gap:6px;padding:7px 0}.demo-label:hover{color:#dedee0}.demo-label span{font-size:13px}.demo-toggle{display:flex;align-items:center;gap:8px;font-size:11px;color:#a6a8ae;padding:7px 0}.demo-toggle:hover{color:#e7e7e7}.demo-toggle svg{height:15px;width:15px}
.workbench{display:grid;grid-template-columns:344px minmax(0,1fr);height:calc(100dvh - 134px);min-height:520px}.composer{display:flex;flex-direction:column;border-right:1px solid var(--line);background:#191a1d;min-width:0;overflow:auto}.composer-heading{display:flex;justify-content:space-between;align-items:center;height:64px;flex-shrink:0;padding:0 24px}.composer-heading h2{font-size:14px;font-weight:550}.step-hint{color:#696b71;font-size:10px;font-variant-numeric:tabular-nums}.composer-heading .quiet-button{font-size:11px;gap:5px}.composer-heading .quiet-button svg{width:13px;height:13px}.composer-body{padding:0 24px 20px}.composer-footer{padding:18px 24px 22px;margin-top:auto;display:flex;flex-direction:column;gap:11px;align-items:stretch;border-top:1px solid #292a2e;background:#191a1d;position:sticky;bottom:0;z-index:3}.composer-footer>.quiet-button{justify-content:center;font-size:11px}.footer-hint{text-align:center;font-size:10px;color:#777a80}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--accent);background:var(--accent);color:#202124;border-radius:5px;padding:10px 17px;font-size:12px;font-weight:550;min-height:39px;white-space:nowrap}.primary-button:hover:not(:disabled){background:#fff;border-color:#fff}.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #45474d;border-radius:5px;padding:9px 14px;color:#c9cacf;font-size:12px;white-space:nowrap}.secondary-button:hover:not(:disabled){background:#2b2c30}.quiet-button{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#96989f;padding:5px 0}.quiet-button:hover:not(:disabled){color:#dedfe2}.icon-button{display:inline-flex;align-items:center;justify-content:center;height:30px;width:30px;border-radius:4px;color:#85888f}.icon-button:hover{background:#26272b;color:#d1d2d6}.tabs{display:flex;border-bottom:1px solid #34353a;gap:24px;margin-bottom:18px}.tab{padding:7px 0 12px;color:#85888e;position:relative;display:inline-flex;align-items:center;gap:6px;font-size:12px}.tab svg{width:14px;height:14px}.tab.active{color:#e1e2e5}.tab.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#d4cec3}.script-area{position:relative}.script-area textarea{width:100%;height:240px;min-height:180px;max-height:350px;resize:vertical;background:#131416;border:1px solid #383a40;border-radius:5px;padding:13px 13px 30px;color:#d0d2d7;font-size:12px;line-height:1.95;display:block}.script-area textarea::placeholder{color:#686b72}.char-count{position:absolute;right:11px;bottom:9px;font-size:10px;color:#676a71}.sample-link{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#aaa79f;font-size:11px;width:100%;padding:13px 0}.sample-link:hover{color:#e3ddd0}.sample-link svg{width:13px;height:13px}.upload-zone{height:220px;width:100%;border:1px dashed #494b52;background:#151619;border-radius:5px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;text-align:center;padding:18px}.upload-zone>svg{width:24px;height:24px;color:#909198;margin-bottom:4px}.upload-zone strong{font-size:12px;font-weight:400}.upload-zone small{font-size:10px;color:#72767e}.upload-zone:hover,.upload-zone.dragover{background:#222428;border-color:#a5a7ad}.file-preview{padding:16px 12px;border:1px solid #3b3e45;border-radius:5px;background:#141619}.file-info{display:flex;align-items:center;gap:9px;margin-bottom:17px}.file-info strong{display:block;font-size:11px;font-weight:500;word-break:break-all}.file-info small{display:block;font-size:10px;color:#858991;margin-top:4px}.file-info svg{color:#94979e}.file-preview audio{width:100%;height:34px}.file-preview .sample-link{padding:12px 0 0}
.field-label{display:block;color:#bbbfc6;font-size:11px;margin-bottom:8px}.optional{font-size:10px;color:#72767e}.form-section{margin-bottom:18px}.analysis-note{margin:0 0 21px;padding:12px 0;border-top:1px solid #303237;border-bottom:1px solid #303237}.analysis-note>span{font-size:10px;color:#9d9588}.analysis-note p{font-size:11px;line-height:1.85;color:#a4a8af;margin-top:5px}.select-input{height:36px;width:100%;background:#202226;color:#d0d3d9;border:1px solid #3c4046;border-radius:4px;padding:6px 9px;font-size:12px;cursor:pointer}.chips{display:flex;background:#141618;border:1px solid #34373e;padding:3px;border-radius:4px;gap:3px}.chip{flex:1;border-radius:2px;color:#898f99;font-size:12px;padding:6px 8px}.chip.active{background:#3a3d44;color:#e1e4e8}.chip:hover:not(.active){background:#272a30;color:#b4bdc8}.duration-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.duration-row .field-label{margin:0}.duration-control{display:flex;align-items:center;gap:8px;color:#939aa4;font-size:11px}.duration-control input{width:68px;height:33px;border:1px solid #3b4149;border-radius:4px;background:#14171b;padding:6px 8px;color:#d9e0e9;font-size:12px}.range-hint{font-size:10px;color:#6f7784;display:block;text-align:right;margin-bottom:21px}.switch-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #30343c;padding-top:18px}.switch-row b{font-size:12px;font-weight:500}.switch-row small{display:block;font-size:10px;color:#7f8792;margin-top:4px}.switch{width:32px;height:19px;position:relative;display:block;flex-shrink:0}.switch input{position:absolute;width:100%;height:100%;opacity:0;z-index:2;margin:0;cursor:pointer}.switch span{position:absolute;inset:0;border-radius:16px;background:#393f49;border:1px solid #4b525d}.switch span:after{content:'';width:11px;height:11px;position:absolute;left:3px;top:3px;border-radius:50%;background:#969fae;transition:transform .15s}.switch input:checked+span{background:#c2b6a1;border-color:#c2b6a1}.switch input:checked+span:after{background:#282622;transform:translateX(13px)}.switch input:focus-visible+span{outline:2px solid #e0c59a;outline-offset:3px}.more-settings{border-top:1px solid #30343a;padding-top:15px}.more-settings summary{cursor:pointer;font-size:11px;color:#a1a7b0;list-style:none;display:flex;align-items:center;gap:7px}.more-settings summary:before{content:'+';color:#858e9a;font-size:13px}.more-settings[open] summary:before{content:'−'}.more-settings summary span{margin-left:auto;font-size:10px;color:#68717f}.notes-input{width:100%;resize:vertical;min-height:69px;background:#14181d;border:1px solid #3b424c;border-radius:4px;color:#c4cdd9;font-size:11px;line-height:1.8;padding:10px;margin-top:10px}.notes-input::placeholder{color:#687384}.notice{border-left:2px solid #bc9f78;background:#2a261f;color:#c6b18f;border-radius:0;padding:11px;font-size:11px;line-height:1.8;margin-top:12px}.notice.error{border-color:#b47d7d;color:#c9a4a4;background:#2b2323}.notice.info{border-color:#738595;background:#22262b;color:#a4afbb}.notice.feedback-note{margin:0 0 17px}.notice svg{width:14px;height:14px;margin-right:5px}.notice-actions{display:flex;gap:16px;margin-top:7px}.notice-actions button{font-size:11px;padding:0;text-decoration:underline;text-underline-offset:3px}.error-inline{font-size:11px;color:#cb9d9d;margin:8px 0 14px}
.results-panel{min-width:0;display:flex;flex-direction:column;background:#121315}.results-heading{height:64px;margin:0 32px;border-bottom:1px solid #2b2d32;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:15px}.results-heading>div{display:flex;align-items:center;gap:12px}.results-heading h1{font-size:15px;font-weight:550;letter-spacing:0}.result-count{font-size:10px;color:#737982}.result-tools{display:flex;gap:10px;align-items:center}.result-tools select{background:#1b1e23;border:1px solid #353a42;border-radius:4px;padding:5px 9px;font-size:11px;color:#adb5c1;max-width:180px}.results-body{padding:0 32px 26px;overflow:auto;flex:1;display:flex;flex-direction:column;min-height:0}.batch-context{padding:19px 0;display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#8b939f;font-size:11px}.batch-context>span:not(:first-child):before{content:'·';margin-right:9px;color:#545c68}.batch-context>button{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:10px;color:#959ea9;padding:4px 0}.batch-context>button svg{width:12px;height:12px}.batch-context>button:hover{color:#d1d9e5}.track-list{border-top:1px solid #333942}.candidate{padding:22px 15px 20px 10px;border-bottom:1px solid #30353d;background:transparent;position:relative}.candidate:hover{background:#1a1d22}.track-main{display:flex;align-items:center;gap:17px}.track-number{font-size:10px;color:#65707e;width:16px;text-align:center;font-variant-numeric:tabular-nums}.track-play{width:36px;height:36px;border:1px solid #4c5664;color:#cbd3dd;display:flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0}.track-play:hover{background:#d4c4a9;border-color:#d4c4a9;color:#202020}.track-play svg{width:16px;height:16px}.track-info{min-width:140px;max-width:210px;flex:1}.track-info h2{font-size:14px;font-weight:500;letter-spacing:.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#e0e5eb}.track-info p{color:#7b8797;font-size:10px;margin-top:5px;white-space:nowrap}.track-info p span{padding:0 7px;color:#556476}.waveform{display:flex;align-items:center;gap:2px;min-width:70px;max-width:340px;height:34px;flex:1.5;padding:3px 0}.waveform i{flex:1;min-width:1px;display:block;height:var(--height);background:#48525f;border-radius:1px}.waveform i.played{background:#bd9c70}.track-duration{font-size:11px;font-family:ui-monospace,monospace;color:#8997aa;flex-shrink:0;width:38px;text-align:right}.download-track{padding:6px 11px;border:1px solid #525c69;border-radius:4px;min-width:61px;font-size:11px;color:#c4cdd9;display:flex;justify-content:center;align-items:center;gap:4px;white-space:nowrap}.download-track:hover{border-color:#bac2cc;color:#f0f2f5}.download-track svg{width:12px;height:12px}.feedback-button{font-size:10px;color:#788599;padding:5px 0}.feedback-button:hover{color:#c6d0df}.track-checks{display:flex;align-items:center;gap:16px;margin:17px 0 0 86px;flex-wrap:wrap}.check-row{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#7f8c9f;line-height:1.6}.check-row svg{width:12px;height:12px}.check-row button{font-size:10px;color:#b5bfce;padding:0;margin-left:5px;text-decoration:underline;text-underline-offset:3px}.check-row.warning{color:#d6b281}.check-row.confirmed{color:#91bba3}.check-divider{height:10px;width:1px;background:#3e4857}.download-panel{margin-top:24px;padding:16px 0;display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid #30363f;scroll-margin-bottom:20px}.download-panel>div{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.chosen-label{color:#89a591;font-size:10px}.download-panel strong{font-size:12px;font-weight:500;color:#cdd7d2}.selection-warning{font-size:10px;color:#bba17e}.download-button{font-size:11px;min-height:34px;padding:7px 13px}.download-other{font-size:11px;margin-top:22px;color:#8c99a9;display:flex;gap:10px}.download-other button{font-size:11px;color:#bcc9da;text-decoration:underline}.empty-state{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:300px;padding:30px;margin-bottom:60px}.empty-icon{color:#535e6d;display:block;margin-bottom:19px}.empty-icon svg{width:32px;height:32px;stroke-width:1}.empty-state h2{font-size:16px;color:#9da8b7;font-weight:400}.empty-state p{font-size:12px;color:#646f80;margin-top:9px;text-align:center}.generation-state{flex:1;min-height:320px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:36px 16px;margin-bottom:60px}.state-icon{margin-bottom:22px;color:#c8b18d}.state-icon .spinner{height:29px;width:29px;border-width:2px}.state-icon.error{color:#b88d7b}.state-icon svg{height:29px;width:29px}.generation-state h2{font-size:17px;font-weight:500;margin-bottom:12px;color:#d0d5dd}.generation-state p{font-size:12px;color:#7d899a}.simulation-timing{font-size:10px;color:#626f81;border:1px solid #333c49;padding:3px 7px;border-radius:3px;margin-top:15px}.state-actions{display:flex;gap:12px;margin-top:23px}.generation-state .quiet-button{font-size:11px;margin-top:25px}.generation-state .state-footnote{font-size:10px;margin-top:13px}.spinner{display:inline-block;width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin 1s linear infinite}.pending-banner{margin-top:17px;display:flex;justify-content:space-between;padding:10px 12px;background:#222932;border-left:2px solid #74859b;color:#9fadc0;font-size:11px}.pending-banner button{font-size:11px;color:#c5d0e0;text-decoration:underline}
.player-dock{height:76px;position:fixed;bottom:0;left:0;right:0;background:#1b1e23;border-top:1px solid #343b46;display:grid;grid-template-columns:280px minmax(200px,600px) 1fr;gap:38px;align-items:center;padding:0 24px;z-index:20}.player-track{display:flex;align-items:center;gap:11px;min-width:0}.mini-art{width:35px;height:35px;background:#2b323d;display:flex;align-items:center;justify-content:center;color:#94a2b7;border-radius:3px;flex-shrink:0}.mini-art svg{width:18px;height:18px}.player-track strong{display:block;font-size:12px;font-weight:500;color:#d3dce8}.player-track small{display:block;font-size:10px;color:#738197;margin-top:3px}.player-empty{opacity:.55}.player-center{display:flex;align-items:center;gap:12px}.player-toggle{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#d4d6d9;color:#1c2026;flex-shrink:0}.player-toggle svg{width:13px;height:13px}.player-time{font:10px ui-monospace,monospace;color:#8a9bb2;min-width:29px}.seek{flex:1;min-width:30px;width:100%;height:3px;accent-color:#c9ae89;cursor:pointer}.player-volume{display:flex;align-items:center;justify-content:flex-end;gap:8px;color:#8d9eb6}.player-volume svg{width:15px;height:15px}.player-volume input{width:70px;height:3px;accent-color:#aab5c5}.player-volume small{margin-left:14px;font-size:9px;color:#65778f}
#dialog{color:var(--text);padding:0;border:1px solid #494949;background:#1b1b1b;border-radius:16px;width:min(560px,calc(100vw - 32px));max-height:calc(100vh - 64px);box-shadow:0 25px 100px #00000088}#dialog::backdrop{background:#070707bd;backdrop-filter:blur(5px)}.dialog-head{padding:22px 24px 18px;border-bottom:1px solid #333333;display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-head h2{font-size:17px;font-weight:500}.dialog-close{color:#919191;width:28px;height:28px;border-radius:6px;display:flex;align-items:center;justify-content:center}.dialog-close:hover{background:#333333}.dialog-close svg{width:18px;height:18px}.dialog-body{padding:23px 24px;overflow:auto}.dialog-intro{color:#a7a7a7;font-size:12px;line-height:1.9;margin-bottom:20px}.dialog-section{margin:22px 0}.dialog-section:first-child{margin-top:0}.dialog-section:last-child{margin-bottom:0}.dialog-section h3{font-size:12px;font-weight:500;color:#cfcfcf;margin-bottom:10px}.dialog-section p,.dialog-section li{font-size:12px;line-height:1.9;color:#9f9f9f}.dialog-section ul{padding-left:18px;margin:9px 0}.radio-options{display:grid;gap:9px}.radio-option{border:1px solid #3c3c3c;background:#1f1f1f;padding:11px 13px;border-radius:9px;display:flex;gap:11px;align-items:center;cursor:pointer}.radio-option:has(input:checked){border-color:#9b9b9b;background:#2e2e2e}.radio-option input{accent-color:#ababab;margin:0}.radio-option strong{font-size:12px;font-weight:500;color:#d0d0d0}.radio-option small{display:block;color:#8f8f8f;font-size:10px;margin-top:2px}.select-input{width:100%;background:#141414;border:1px solid #4e4e4e;border-radius:8px;padding:10px 12px;color:#c5c5c5;font-size:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;padding:17px 24px;border-top:1px solid #323232;background:#1c1c1c}.danger-button{color:#ababab;font-size:11px;padding:9px 0;display:flex;align-items:center;gap:6px;margin-right:auto}.danger-button svg{width:13px;height:13px}.dialog-body .notice{font-size:11px}.feedback-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.feedback-option{border:1px solid #3f3f3f;border-radius:8px;padding:11px 12px;display:flex;align-items:center;gap:8px;font-size:12px;color:#bbbbbb;cursor:pointer}.feedback-option:has(input:checked){border-color:#a6a6a6;background:#303030}.feedback-option input{accent-color:#a9a9a9;margin:0}.feedback-text{margin-top:17px}.history-list{display:grid;gap:13px}.history-item{border:1px solid #3b3b3b;background:#1d1d1d;border-radius:10px;padding:16px}.history-item-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:9px}.history-item-head strong{font-size:13px;font-weight:500}.history-item-head span{font-size:10px;color:#8d8d8d}.history-item p{font-size:11px;color:#9f9f9f;line-height:1.9}.history-item .secondary-button{font-size:11px;padding:7px 12px;margin-top:12px;width:100%;justify-content:space-between}.empty-state{padding:35px 15px;text-align:center;color:#939393;font-size:12px}.empty-state svg{width:31px;height:31px;margin-bottom:14px}.toast{position:fixed;left:50%;bottom:31px;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:100;color:#d9d9d9;background:#323232;border:1px solid #666666;border-radius:9px;padding:12px 21px;font-size:12px;box-shadow:0 6px 30px #00000066;transition:opacity .2s,transform .2s;max-width:calc(100vw - 40px);text-align:center}.has-player .toast{bottom:104px}.toast.show{opacity:1;transform:translate(-50%,0)}.link-text{color:#bababa;text-decoration:underline;text-underline-offset:4px}.download-other{font-size:11px;color:#afafaf;margin-top:12px}.download-other button{text-decoration:underline;font-size:11px;color:#cdcdcd;padding:0}.pending-banner{padding:11px 15px;border:1px solid #5c5c5c;background:#2a2a2a;border-radius:8px;margin-bottom:19px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:#bfbfbf}.pending-banner button{color:#d3d3d3;font-size:11px;text-decoration:underline}.source-preview{font-size:11px;color:#ababab;line-height:1.95;max-height:126px;overflow:auto;white-space:pre-wrap}.help-divider{height:1px;background:#343434;margin:20px 0}
#dialog{border-radius:8px;max-width:480px}#dialog::backdrop{background:#080a0dd9;backdrop-filter:none}.dialog-head{padding:18px 21px;border-bottom-color:#343b43}.dialog-head h2{font-size:15px}.dialog-body{padding:20px 21px}.dialog-actions{padding:14px 21px}.dialog-intro{font-size:12px;line-height:1.8;margin-bottom:17px}.dialog-body .select-input{font-size:12px;height:37px}.dialog-section h3{font-size:12px}.dialog-section p{font-size:12px;line-height:1.9}.radio-option,.feedback-option,.history-item{border-radius:5px}.history-item .secondary-button{font-size:11px}.toast{border-radius:5px;padding:10px 17px;font-size:11px;bottom:94px!important;background:#303842;border-color:#596776;color:#e0e5ed}.history-item p{color:#929eaf}.feedback-option input,.radio-option input{accent-color:#c9b89a}.feedback-option:has(input:checked),.radio-option:has(input:checked){border-color:#a59a8a;background:#31302d}.notice.info{background:#242a31;border-color:#576578;color:#a3afbf}.danger-button{color:#ba9b94}.pending-banner{margin-top:17px;padding:10px 12px;border:0;border-left:2px solid #74859b;border-radius:0;background:#222932;color:#9fadc0}.pending-banner.warning{border-color:#b39a70;color:#c9b58f}.pending-banner button{color:#bbc9de}.download-other{margin-top:22px}.download-other button{color:#bbc9de}.check-row button:hover,.batch-context button:hover{color:#e6edf6}
@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.workbench{grid-template-columns:370px minmax(0,1fr)}.results-heading{margin:0 42px}.results-body{padding:0 42px 26px}.candidate{padding-top:26px;padding-bottom:24px}.track-info{max-width:260px}.waveform{max-width:460px}}
@media(max-width:1100px){.workbench{grid-template-columns:310px minmax(0,1fr)}.composer-heading{padding:0 20px}.composer-body{padding-left:20px;padding-right:20px}.composer-footer{padding-left:20px;padding-right:20px}.results-heading{margin:0 24px}.results-body{padding-left:24px;padding-right:24px}.track-main{gap:12px}.track-number{display:none}.track-info{min-width:115px;max-width:170px}.waveform{min-width:50px}.track-checks{margin-left:48px;gap:10px}.player-dock{grid-template-columns:230px minmax(180px,1fr) 110px;gap:22px}.player-volume small{display:none}}
@media(max-width:850px){.workbench{grid-template-columns:280px minmax(0,1fr)}.composer-heading{padding:0 17px}.composer-body,.composer-footer{padding-left:17px;padding-right:17px}.results-heading{margin:0 18px}.results-body{padding-left:18px;padding-right:18px}.results-heading h1{font-size:14px}.track-main{gap:10px;flex-wrap:wrap}.track-info{flex:1;max-width:none;min-width:120px}.candidate .waveform{order:6;flex-basis:100%;max-width:none;margin-left:46px;margin-right:0;height:27px}.track-duration{width:32px}.download-track{min-width:49px;padding:5px 7px;font-size:10px}.feedback-button{font-size:10px}.track-checks{margin-top:10px;gap:9px}.check-divider{display:none}.batch-context{font-size:10px;gap:7px}.batch-context>button{width:100%;justify-content:flex-end}.player-dock{grid-template-columns:180px minmax(150px,1fr) 80px;gap:15px;padding:0 18px}.player-volume input{width:47px}.download-panel{align-items:flex-start}.download-panel>div{gap:5px 8px}.download-button{font-size:10px;padding:7px 10px}}
@media(max-width:660px){.topbar{height:54px;padding:0 18px;gap:15px}.brand strong{font-size:16px}.app-title{display:none}.top-actions{gap:17px}.demo-toggle{font-size:10px}.demo-label{font-size:10px}.workbench{display:flex;flex-direction:column;height:auto;min-height:calc(100dvh - 130px);padding-bottom:88px}.composer{overflow:visible;border-right:0;border-bottom:1px solid var(--line)}.composer-heading{padding:0 20px;height:55px}.composer-body{padding:0 20px 20px}.composer-footer{padding:15px 20px;position:static;gap:10px}.script-area textarea{height:160px;min-height:130px}.upload-zone{height:150px}.form-section{margin-bottom:15px}.analysis-note{margin-bottom:18px;padding-top:10px}.range-hint{margin-bottom:15px}.switch-row{padding-top:15px}.tabs{margin-bottom:16px}.results-panel{min-height:300px}.results-heading{height:57px;margin:0 20px}.results-body{overflow:visible;padding:0 20px 20px}.empty-state,.generation-state{min-height:240px;margin-bottom:0;padding:35px 10px}.empty-state h2{font-size:15px}.empty-icon svg{height:26px;width:26px}.candidate{padding:20px 7px}.track-checks{margin-left:46px}.track-main{gap:9px}.track-info{min-width:105px}.candidate .waveform{height:27px}.player-dock{height:83px;grid-template-columns:1fr auto;gap:8px 20px;padding:10px 19px}.player-track .mini-art{width:28px;height:28px}.player-track strong{font-size:11px}.player-track small{display:none}.player-center{grid-column:1/-1;grid-row:2}.player-volume{grid-column:2;grid-row:1}.player-volume input{width:65px}.player-toggle{width:23px;height:23px}.player-toggle svg{width:11px;height:11px}.player-volume svg{width:13px;height:13px}.toast{bottom:98px!important}.result-tools{gap:3px}.result-tools select{font-size:10px;padding:5px 6px;max-width:150px}.batch-context>button{width:auto;margin-left:auto}.download-panel{gap:10px}.download-panel strong{font-size:11px}.download-panel .selection-warning{width:100%}.feedback-options{grid-template-columns:1fr 1fr}.dialog-head{padding:17px}.dialog-body{padding:17px}.dialog-actions{padding:14px 17px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Two entry modes, with explicit review before content-based generation. */
.composer-heading{height:52px;flex-shrink:0}
.entry-tabs{display:flex;gap:4px;margin:0 24px 24px;padding:4px;background:#111315;border:1px solid #34373c;border-radius:5px;flex-shrink:0}
.entry-tab{flex:1;padding:8px 6px;border-radius:3px;font-size:12px;color:#8e939a;white-space:nowrap}
.entry-tab.active{color:#ece9e3;background:#34363a}
.entry-tab:hover:not(.active):not(:disabled){color:#d1d4d9;background:#202329}
.composer-body{padding-bottom:22px}
.source-intro{margin-bottom:22px}
.source-intro h3,.section-heading h3{font-size:13px;font-weight:500;color:#d9dde2}
.source-intro p{font-size:12px;line-height:1.7;color:#828b99;margin-top:7px}
.composer .tabs{margin-bottom:12px;gap:24px}
.composer .tab{font-size:12px;padding-top:5px;padding-bottom:10px}
.composer .script-area textarea{height:235px;min-height:130px;max-height:300px;font-size:12px;line-height:1.9}
.composer .upload-zone{height:220px}
.source-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 0;min-height:25px}
.source-actions .sample-link{width:auto;padding:4px 0;font-size:11px}
.source-actions>span{font-size:10px;color:#767f8c}
.source-changed{color:#c3ae8d;font-size:11px;line-height:1.8;margin-top:19px}
.analysis-progress{display:flex;gap:10px;align-items:center;font-size:12px;color:#b6b1a6;margin-top:24px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
.section-heading>span{font-size:10px;color:#8c949f}
.section-heading .review-status{font-size:11px;color:#d0b88d}
.source-details{border-bottom:1px solid #34373c;padding-bottom:15px;margin-bottom:20px}
.source-details>summary{display:flex;align-items:center;gap:8px;cursor:pointer;color:#a4adbb;font-size:11px;list-style:none}
.source-details>summary::-webkit-details-marker{display:none}
.source-details>summary>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.source-details>summary>small{color:#868d98;font-size:10px;flex-shrink:0}
.source-details>summary svg{width:14px;height:14px}
.source-details[open]>summary{margin-bottom:18px}
.source-details .script-area textarea{height:145px;min-height:100px}
.source-details .upload-zone{height:140px}
.suggestion-review{margin-bottom:18px}
.suggestion-review .section-heading{margin-bottom:10px}
.analysis-summary{font-size:12px;line-height:1.8;color:#c4c9d0}
.analysis-reason{font-size:11px;line-height:1.85;color:#929ca9;margin-top:9px}
.simulation-note{display:block;font-size:10px;color:#777f8b;margin-top:11px}
.settings-fields{padding-top:17px;border-top:1px solid #30333a}
.manual-mode .settings-fields{padding-top:3px;border-top:0}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.settings-grid .field-label{font-size:12px}
.settings-grid .optional{font-size:9px;margin-left:3px;white-space:nowrap}
.settings-grid .select-input{font-size:12px}
.settings-grid .duration-control{justify-content:flex-start;height:36px}
.settings-grid .duration-control input{width:80px;height:36px}
.toggle-field{height:36px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#b4bcc8}
.composer-footer{padding-top:16px;padding-bottom:17px}
.settings-fields .more-settings{padding-top:15px}
.settings-fields .form-section{margin-bottom:19px}
.settings-fields .chips{height:37px}
.settings-fields .chip{padding:4px 8px;font-size:12px}
@media(max-width:1100px){.entry-tabs{margin-left:20px;margin-right:20px}.entry-tab{font-size:11px}.settings-grid{gap:12px}.settings-grid .field-label{font-size:11px}}
@media(max-width:850px){.entry-tabs{margin-left:17px;margin-right:17px}.entry-tab{font-size:11px}.composer .script-area textarea{font-size:11px}.settings-grid{gap:10px}.settings-grid .optional{font-size:8px;margin-left:0}}
@media(max-width:660px){.entry-tabs{margin:0 20px 20px}.composer .script-area textarea{height:175px;font-size:12px}.composer-heading{height:49px}.source-intro{margin-bottom:16px}.settings-grid{gap:18px}.settings-fields .form-section{margin-bottom:16px}.composer .upload-zone{height:155px}}

.download-track{min-width:76px;gap:6px}.download-track svg{width:14px;height:14px}.download-track .spinner{width:12px;height:12px}@media(max-width:850px){.download-track{min-width:62px;gap:4px}}
/* Prompt-first creation and inline pending candidates. */
.prompt-settings{padding:0!important;border:0}
.prompt-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.prompt-heading label{font-size:13px;font-weight:500;color:#e1e2e5}
.prompt-heading>span{font-size:10px;color:#858e9b}
.prompt-heading .review-status{color:#c8b492}
.prompt-help{font-size:11px;color:#8b95a4;line-height:1.8;margin:8px 0 12px}
.prompt-input{display:block;width:100%;height:226px;min-height:160px;max-height:400px;resize:vertical;border:1px solid #454a52;border-radius:5px;background:#131518;padding:14px;color:#d7dce4;font-size:13px;line-height:1.9}
.prompt-input::placeholder{color:#697380}
.prompt-input:disabled{color:#b3bbc6;opacity:1;resize:none}
.prompt-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px}
.prompt-tools .sample-link{width:auto;padding:0;font-size:11px}
.prompt-tools>span{font-size:10px;color:#6d7787}
.content-insight{margin-top:18px;padding:12px 0;border-top:1px solid #30343a;border-bottom:1px solid #30343a}
.content-insight summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;font-size:11px;color:#a0a9b7;list-style:none}
.content-insight summary:before{content:'+';color:#929ba7}
.content-insight[open] summary:before{content:'−'}
.content-insight summary span{margin-left:auto;font-size:10px;color:#737e8d}
.content-insight p{font-size:11px;line-height:1.9;color:#909baa;margin-top:12px}
.prompt-constraints{margin-top:25px;padding-top:19px;border-top:1px solid #30343a}
.content-insight+.prompt-constraints{border-top:0;padding-top:0;margin-top:21px}
.prompt-constraints .form-section{margin-bottom:0}
.constraint-help{font-size:10px;color:#768191;margin-top:12px}
.has-suggestion .source-details{margin-bottom:19px}
.has-suggestion .source-details[open]{margin-bottom:20px}
.brief-snapshot{display:flex;align-items:flex-start;gap:20px;padding:18px 0}
.request-prompt{flex:1;min-width:0}
.request-prompt summary{display:flex;gap:12px;align-items:center;list-style:none;cursor:pointer;color:#a6afbd;font-size:11px}
.request-prompt summary::-webkit-details-marker,.content-insight summary::-webkit-details-marker{display:none}
.request-prompt summary>span:nth-child(2){padding-left:12px;border-left:1px solid #424851}
.prompt-disclosure{color:#788596;display:flex;align-items:center;gap:6px;margin-left:4px;font-size:10px}
.prompt-disclosure svg{width:10px;height:10px;transition:transform .2s}
.request-prompt[open] .prompt-disclosure svg{transform:rotate(90deg)}
.request-prompt p{font-size:12px;color:#a9b3c1;line-height:1.9;white-space:pre-wrap;margin-top:14px;max-width:800px}
.snapshot-apply{color:#8c98a8;display:flex;align-items:center;gap:6px;font-size:10px;white-space:nowrap;padding:1px 0}
.snapshot-apply svg{width:12px;height:12px}
.snapshot-apply:hover{color:#d8dfe9}
.history-prompt{margin-top:7px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}
.generation-workspace{padding-top:28px}
.generation-overview{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:26px}
.generation-status{display:flex;gap:17px;align-items:center;min-width:0}
.generation-mark{width:40px;height:40px;border:1px solid #373d44;border-radius:5px;display:flex;align-items:center;justify-content:center;gap:3px;color:#c4b79f;flex-shrink:0}
.generation-mark i{width:3px;height:12px;background:#c4b79f;border-radius:1px;animation:waiting-pulse 1.5s ease-in-out infinite}
.generation-mark i:nth-child(2){height:22px;animation-delay:.2s}.generation-mark i:nth-child(3){height:17px;animation-delay:.4s}.generation-mark i:nth-child(4){height:10px;animation-delay:.6s}
.generation-status h2{font-size:16px;font-weight:500;color:#d7dee7;line-height:1.7}
.generation-status p{font-size:11px;color:#7d8a9b;margin-top:5px}
.elapsed-counter{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex-shrink:0}
.elapsed-counter>span{font-size:10px;color:#778596}
.elapsed-counter strong{font:20px ui-monospace,SFMono-Regular,monospace;font-weight:400;color:#bac5d3;font-variant-numeric:tabular-nums}
.generation-workspace .brief-snapshot{border-top:1px solid #2d323a;padding:18px 0}
.pending-tracks{border-top:1px solid #333a44}
.pending-track{display:flex;gap:17px;align-items:center;padding:28px 16px 28px 10px;border-bottom:1px solid #303740;min-height:110px}
.pending-track-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:1px solid #353e49;border-radius:50%;color:#68798e;flex-shrink:0}
.pending-track-icon svg{width:16px;height:16px}
.pending-track-name{flex:1;max-width:220px;min-width:125px}
.pending-track h3{font-size:13px;font-weight:400;color:#a7b4c5}
.pending-track p{font-size:10px;color:#63748a;margin-top:7px}
.audio-placeholder{flex:1;max-width:380px;display:flex;flex-direction:column;gap:7px;padding:0 20px}
.audio-placeholder i{display:block;max-width:100%;height:4px;background:linear-gradient(90deg,#222b37 20%,#3b4656 50%,#222b37 80%);background-size:220% 100%;animation:audio-pending 2.3s ease-in-out infinite;border-radius:2px}
.audio-placeholder i:nth-child(2){width:80%;animation-delay:.15s}.audio-placeholder i:nth-child(3){width:91%;animation-delay:.3s}
.pending-track-status{font-size:11px;color:#7f91a7;margin-left:auto;min-width:60px;text-align:right}
.generation-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px}
.wait-mode{color:#758397;font-size:10px}
.generation-footer .quiet-button{font-size:11px;display:flex;align-items:center;gap:7px;color:#a6b4c6;padding:5px 0}
.generation-footer .quiet-button:hover{color:#e0e6ee}
.generation-footer .quiet-button svg{width:13px;height:13px}
.overdue-notice{display:flex;align-items:center;justify-content:space-between;gap:15px;border-left:2px solid #b29a70;background:#25231f;padding:15px 18px;margin-top:22px}
.overdue-notice strong{font-weight:400;font-size:12px;color:#c8b58f}
.overdue-notice p{font-size:11px;color:#9b927f;margin-top:6px}
.overdue-notice button{font-size:11px;white-space:nowrap}
.generation-failed .generation-mark{color:#c79c92;border-color:#604a44}
.generation-failed .audio-placeholder i{animation:none;background:#2c3038}
.generation-failed .pending-track-status{color:#9d8b87}
.generation-recovery{display:flex;gap:12px;margin-top:23px}
.generation-recovery button{font-size:12px}
@keyframes waiting-pulse{0%,100%{opacity:.35;transform:scaleY(.65)}50%{opacity:1;transform:scaleY(1)}}
@keyframes audio-pending{0%{background-position:120% 0}100%{background-position:-120% 0}}
@media(max-width:1000px){.pending-track{gap:12px}.pending-track-name{min-width:110px}.audio-placeholder{padding:0 10px}.generation-status h2{font-size:14px}.elapsed-counter strong{font-size:18px}.generation-overview{gap:12px}.generation-status{gap:12px}}
@media(max-width:850px){.prompt-input{font-size:12px;padding:12px;height:225px}.generation-mark{display:none}.audio-placeholder{max-width:160px}.pending-track-name{min-width:100px}.pending-track-status{min-width:40px;font-size:10px}.pending-track-icon{display:none}.generation-footer{align-items:flex-start;flex-wrap:wrap;gap:8px}.generation-status p{font-size:10px}.brief-snapshot{gap:12px;flex-wrap:wrap}.request-prompt summary{gap:9px;font-size:10px}.prompt-disclosure{font-size:10px}.overdue-notice{flex-direction:column;align-items:flex-start}}
@media(max-width:660px){.prompt-input{height:190px}.generation-workspace{padding-top:23px}.generation-mark{display:flex;width:34px;height:34px}.pending-track-icon{display:flex}.generation-overview{padding-bottom:21px}.generation-status h2{font-size:14px}.pending-track{padding:23px 5px}.audio-placeholder{padding:0 6px}.generation-footer{gap:10px}.prompt-heading>span{font-size:10px}.request-prompt{min-width:180px}.generation-recovery{gap:8px}.generation-recovery button{font-size:11px;padding:9px 11px}}
/* Material-led welcome, with a large decorative sound wave. */
.creation-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;padding:25px 0 70px;text-align:center}
.welcome-wave{width:min(100%,800px);margin:0 0 25px;pointer-events:none}
.welcome-wave svg{display:block;width:100%;height:auto;overflow:visible}
.wave-axis{stroke:#34383e;stroke-width:.65;stroke-dasharray:1 7;opacity:.65}
.welcome-wave-bars line{transform-box:fill-box;transform-origin:center;animation:welcome-breathe 5.5s ease-in-out infinite}
.welcome-copy{padding:0 15px}
.welcome-copy h2{font-size:22px;font-weight:450;letter-spacing:.8px;color:#d5d4d0}
.welcome-copy p{font-size:12px;line-height:1.9;color:#858b94;margin-top:12px}
.welcome-actions{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:25px}
.welcome-actions .secondary-button{border-color:#454744;border-radius:5px;padding:10px 17px;gap:8px;color:#bcb8af;background:#191b1d;font-size:12px}
.welcome-actions .secondary-button:first-child{border-color:#6b6253;color:#ded2bd;background:#25231f}
.welcome-actions .secondary-button:hover:not(:disabled){background:#302e29;border-color:#a89a82;color:#eee4d3}
.welcome-actions svg{width:15px;height:15px}
@keyframes welcome-breathe{0%,100%{transform:scaleY(.86);opacity:.75}50%{transform:scaleY(1);opacity:1}}
/* Prompt and structured choices remain available together. */
.prompt-input{height:154px;min-height:120px}
.music-options{border-top:1px solid #30343a;margin-top:20px;padding-top:17px;gap:14px 16px}
.music-options .form-section{margin-bottom:0}
.music-options .select-input{height:34px;border-radius:4px;padding:6px 9px;background:#14171a;border-color:#3b4149}
.music-options .field-label{font-size:11px;margin-bottom:7px}
.music-options+.prompt-constraints{border-top:0;padding-top:0;margin-top:18px}
.content-insight+.music-options{border-top:0;margin-top:17px;padding-top:0}
.snapshot-options{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:12px;font-size:10px;color:#a99e89}
@media(max-width:1000px){.creation-empty{min-height:350px}.welcome-copy h2{font-size:19px}.welcome-copy p{font-size:11px}.welcome-actions{gap:9px}.welcome-actions .secondary-button{padding:9px 12px;font-size:11px}}
@media(max-width:660px){.creation-empty{min-height:330px;padding:20px 0 35px}.welcome-wave{margin-bottom:14px}.welcome-copy h2{font-size:19px}.welcome-copy p{max-width:300px}.welcome-actions{margin-top:20px}.prompt-input{height:150px}.music-options{gap:14px 18px}.music-options .field-label{font-size:12px}}
/* Distinct, honest waiting states for the two independent requests. */
.submitted-label{text-align:center;color:#aaa18f;font-size:11px;padding:10px 0}
.task-route{display:flex;align-items:center;gap:14px;color:#666f7b;font-size:11px;flex-wrap:wrap}
.task-route>span{display:flex;gap:6px;align-items:center}.task-route>i{font-style:normal;color:#46505c}.task-route .current{color:#d2c2a7}.task-route .done{color:#9cac9d}.task-route svg{width:12px;height:12px}
.analysis-workspace{max-width:760px;width:100%;margin:0 auto;padding:30px 20px 28px}
.analysis-workspace .task-route{justify-content:center}
.analysis-focus{text-align:center;padding:32px 0 24px}.analysis-focus h2{font-size:19px;font-weight:450;color:#dedbd4;line-height:1.6}.analysis-focus p{font-size:12px;color:#8c97a5;margin-top:9px}.analysis-focus small{display:block;font-size:10px;color:#77818e;margin-top:13px}.analysis-focus b{font-weight:400;font-family:monospace}
.analysis-orbit{width:52px;height:52px;margin:0 auto 20px;position:relative;display:grid;place-items:center;color:#cdbb9b}.analysis-orbit>svg{width:23px;height:23px}.analysis-orbit>span{position:absolute;inset:0;border:1px solid #3f4142;border-top-color:#cdbb9b;border-right-color:#8c806b;border-radius:50%;animation:spin 2.5s linear infinite}
.analysis-document{max-width:540px;margin:auto;border:1px solid #3e4248;border-radius:7px;background:#181b1f;position:relative;overflow:hidden}.analysis-source{display:flex;align-items:center;gap:10px;padding:16px 20px;border-bottom:1px solid #30353c;color:#aeb6c0;font-size:12px}.analysis-source>span:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-dot{width:5px;height:5px;border-radius:50%;background:#c4b08d;margin-left:auto;animation:waiting-pulse 1.7s infinite}
.analysis-preview{padding:23px 24px 26px}.analysis-preview>span{font-size:11px;color:#9ca4ae}.analysis-preview>i{display:block;height:6px;border-radius:3px;background:#2e343d;margin-top:14px;width:96%}.analysis-preview>i:nth-of-type(2){width:85%}.analysis-preview>i:nth-of-type(3){width:60%}.analysis-preview>div{display:flex;gap:10px;margin-top:25px}.analysis-preview b{font-size:10px;font-weight:400;padding:5px 12px;border:1px solid #343b45;border-radius:3px;color:#778391}.scan-line{position:absolute;left:0;right:0;height:70px;top:-70px;background:linear-gradient(transparent,#c2b28b08);border-bottom:1px solid #c2b28b38;animation:scan-document 3s linear infinite;pointer-events:none}.analysis-footnote{text-align:center;font-size:11px;color:#78818e;margin-top:22px}
@keyframes scan-document{to{top:100%}}
.generation-workspace{padding-top:24px}.generation-overview{padding-bottom:20px}.generation-workspace>.task-route{border-top:1px solid #2d323a;padding-top:19px}.generation-wave{position:relative;max-width:750px;margin:8px auto 3px;text-align:center}.generation-wave .welcome-wave{margin:0 auto;width:min(100%,660px)}.generation-wave .welcome-wave svg{height:160px}.generation-wave>span{display:block;font-size:10px;color:#9c9383;margin-top:-10px;padding-bottom:15px}.generation-wave .welcome-wave-bars line{animation-duration:1.8s}
.generation-workspace .pending-tracks{display:grid;grid-template-columns:1fr 1fr;gap:14px;border-top:0}.generation-workspace .pending-track{border:1px solid #303740;background:#171a1e;border-radius:5px;min-height:78px;padding:16px;gap:12px}.generation-workspace .pending-track .track-number,.generation-workspace .audio-placeholder{display:none}.generation-workspace .pending-track-icon{width:29px;height:29px;border-radius:4px}.generation-workspace .pending-track-name{min-width:0}.generation-workspace .pending-track-status{min-width:35px;font-size:10px}.generation-workspace .pending-track h3{font-size:12px}.generation-workspace .pending-track p{font-size:10px}.generation-workspace .brief-snapshot{padding:14px 0}.generation-footer{margin-top:18px}
@media(max-width:850px){.analysis-workspace{padding:24px 0}.analysis-focus h2{font-size:16px}.analysis-source{padding:13px}.analysis-preview{padding:20px}.task-route{gap:8px;font-size:10px}.generation-workspace .pending-track{gap:8px;padding:13px 10px}.generation-workspace .pending-track-icon{display:none}.generation-wave .welcome-wave svg{height:140px}}
@media(prefers-reduced-motion:reduce){.scan-line{display:none}}
.composer-footer{flex-shrink:0}
.analysis-focus{padding:22px 0 20px}.analysis-orbit{margin-bottom:13px;width:44px;height:44px}.analysis-preview{padding:18px 24px 20px}.analysis-preview>div{margin-top:18px}.analysis-footnote{margin-top:16px}
/* Task processing panel: stages, confirmed conditions, and two reserved results. */
.task-panel-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(230px,.85fr);gap:24px;border-top:1px solid #30353b;padding:22px 0}
.task-stage-panel h3,.task-conditions h3{font-size:12px;font-weight:500;color:#d5d6d5;margin:0 0 16px}.task-stage-panel h3>span{font-weight:400;color:#737d89;font-size:10px;margin-left:10px}
.task-stages{list-style:none;margin:0;padding:0}.task-stages li{display:flex;align-items:flex-start;gap:12px;position:relative;min-height:57px;padding-bottom:14px}.task-stages li:last-child{padding-bottom:0;min-height:42px}.task-stages li:not(:last-child):before{content:'';position:absolute;left:10px;top:24px;bottom:3px;width:1px;background:#353b42}.stage-index{display:grid;place-items:center;width:21px;height:21px;border:1px solid #3b424c;border-radius:50%;flex-shrink:0;color:#737e8e;font-size:10px}.stage-index svg{width:12px;height:12px}.task-stages strong{display:block;font-size:12px;line-height:21px;font-weight:400;color:#909aa7}.task-stages p{font-size:10px;color:#69788b;margin-top:3px;line-height:1.6}.task-stages small{margin-left:auto;white-space:nowrap;color:#68778a;font-size:9px;line-height:21px}.stage-done .stage-index{color:#9faf9e;border-color:#627564}.stage-done strong{color:#bac3c9}.stage-active .stage-index{color:#d3bd98;border-color:#a58e69}.stage-active strong,.stage-active small{color:#d3bd98}.stage-active p{color:#a19580}.stage-pulse{width:6px;height:6px;border-radius:50%;background:#d3bd98;animation:waiting-pulse 1.5s infinite}.stage-failed strong,.stage-failed small{color:#c39b92}.stage-skip{opacity:.7}
.task-conditions{padding:18px 19px;background:#191c20;border:1px solid #353a42;border-radius:6px;align-self:start}.task-conditions dl{display:grid;grid-template-columns:1fr 1fr;gap:17px 14px;margin:0}.task-conditions dt{font-size:10px;color:#768394;margin-bottom:4px}.task-conditions dd{margin:0;font-size:12px;color:#ccd1d6}.condition-prompt{border-top:1px solid #343b44;margin-top:19px;padding-top:13px}.condition-prompt summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;color:#a5aebc;font-size:11px;list-style:none}.condition-prompt svg{width:11px;height:11px}.condition-prompt p{font-size:11px;line-height:1.9;color:#a8b2bf;white-space:pre-wrap;margin-top:11px}.condition-note{font-size:10px;color:#7d8793;line-height:1.6;margin-top:13px}.task-panel .overdue-notice{margin:0 0 18px}.task-panel .pending-track{min-height:74px}.results-ready{padding:20px 0 17px;border-bottom:1px solid #30363e;display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.results-ready strong{font-size:13px;font-weight:500;color:#c5d2c7}.results-ready p{font-size:11px;color:#8290a1;margin-top:5px}.results-ready>details{min-width:115px;max-width:440px;flex:1;text-align:right}.results-ready summary{font-size:10px;color:#939daa;cursor:pointer;list-style:none}.results-ready .task-stages{margin-top:18px;text-align:left}
@media(max-width:1050px){.task-panel-grid{gap:16px;grid-template-columns:minmax(0,1fr) minmax(200px,.8fr)}.task-stages li{gap:8px}.task-stages small{font-size:8px}.task-conditions{padding:15px}.task-stages p{font-size:9px}.task-stages strong{font-size:11px}}
@media(max-width:800px){.task-panel-grid{grid-template-columns:1fr}.task-conditions dl{grid-template-columns:repeat(3,1fr)}.task-conditions{padding:16px}.results-ready{flex-direction:column}.results-ready>details{width:100%;text-align:left}.task-stages p{font-size:10px}}

.task-panel-grid{padding:16px 0}.task-stages li{min-height:46px;padding-bottom:9px}.task-stages li:last-child{min-height:39px}.task-stage-panel h3{margin-bottom:12px}
/* Simulated creative activity feed; not model telemetry or a progress meter. */
.creation-update{border:1px solid #343a3d;border-radius:6px;background:#171a1d;display:flex;flex-direction:column;align-self:stretch;min-width:0}
.creation-update-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 20px;border-bottom:1px solid #2c3136;color:#bbc2c8;font-size:12px}.creation-update-heading small{font-size:9px;color:#8a939d;white-space:nowrap}
.creation-feed{padding:13px 21px 10px;flex:1;min-height:180px}.creation-received{display:flex;align-items:center;gap:9px;font-size:10px;color:#98a59e;margin-bottom:12px}.creation-received>span{width:5px;height:5px;background:#8ba392;border-radius:50%}.creation-received small{color:#66727d;margin-left:auto;font-size:9px}
.creation-entry{position:relative;margin-left:3px;padding-left:23px}.creation-entry.past{padding-bottom:8px;border-left:1px solid #343b40;color:#76818e;font-size:11px;line-height:1.5}.creation-entry.past strong{font-weight:400}.creation-node{position:absolute;left:-3px;top:6px;width:5px;height:5px;border-radius:50%;background:#56616a}.creation-entry.current{animation:creation-arrive .5s ease-out}.creation-entry.current>.creation-node{left:-5px;top:5px;width:9px;height:9px;background:#c8b596;box-shadow:0 0 0 4px #c8b59612;animation:creation-pulse 1.8s ease-in-out infinite}.creation-node svg{width:12px;height:12px}.creation-update h3{font-size:15px;font-weight:450;line-height:1.6;color:#dfd6c7;margin:0 0 8px}.creation-entry.current p{font-size:11px;line-height:1.9;color:#a3adba;min-height:42px;margin:0}.creation-cursor{display:inline-block;width:4px;height:12px;background:#c8b596;vertical-align:-2px;margin-left:4px;animation:creation-caret .9s steps(1) infinite}.creation-live{display:flex;align-items:center;gap:3px;height:16px;margin-top:8px}.creation-live i{width:2px;height:9px;background:#b4a489;border-radius:2px;animation:creation-bars 1s ease-in-out infinite alternate}.creation-live i:nth-child(2){animation-delay:-.4s;height:14px}.creation-live i:nth-child(3){animation-delay:-.7s}.creation-live i:nth-child(4){animation-delay:-.2s;height:12px}.creation-live i:nth-child(5){animation-delay:-.6s;height:6px}
.creation-archive{margin:0 0 8px 26px;font-size:9px;color:#687580}.creation-archive summary{cursor:pointer;list-style:none}.creation-archive summary::before{content:'↳ ';}.creation-archive p{margin:10px 0;color:#929da8}.creation-archive small{display:block;font-size:9px;line-height:1.7;color:#6e7b88;margin-top:3px}.creation-update-note{margin:0 20px;padding:9px 0;border-top:1px solid #2c3136;font-size:9px;line-height:1.7;color:#6e7a86}.service-update h3{color:#c7ced8}.service-update .creation-node{animation:none!important;background:none!important;box-shadow:none!important}
@keyframes creation-arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes creation-caret{50%{opacity:0}}@keyframes creation-pulse{50%{box-shadow:0 0 0 7px #c8b59609;opacity:.6}}@keyframes creation-bars{to{transform:scaleY(.35);opacity:.4}}
@media(max-width:1050px){.creation-feed{padding:15px 17px}.creation-update-heading{padding:15px 16px}.creation-update-note{margin:0 16px}.creation-update h3{font-size:14px}}
@media(max-width:800px){.creation-feed{min-height:185px}.creation-entry.current p{font-size:12px}}

/* Full-width creative stage. Effects communicate activity, never completion. */
.generation-stage{border-top:1px solid #30353b;padding:16px 0}
.generation-stage .creation-update{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#181c20 0%,#15191c 60%,#181b1c 100%);border-color:#373c40;min-height:284px}
.generation-stage .creation-update-heading{position:relative;border-bottom:0;padding:16px 23px 8px}
.generation-stage .creation-feed{position:relative;z-index:1;padding:12px 25px 14px;min-height:193px;width:72%;max-width:760px}
.generation-stage .creation-received small{margin-left:12px}
.generation-stage .creation-update-note{position:relative;z-index:1;margin:0 23px;border-color:#ffffff0b}
.generation-stage .creation-entry.current h3{font-size:18px;color:#e4d8c3;animation:creation-text-breathe 2.8s ease-in-out infinite}
.generation-stage .creation-entry.current p{font-size:12px;max-width:580px;text-shadow:0 1px 5px #121619}
.generation-stage .creation-live{display:none}
.creation-atmosphere{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;background:radial-gradient(ellipse at 86% 48%,#ad946513,transparent 60%)}
.creation-spectrum{position:absolute;right:0;top:12%;width:57%;height:75%;display:flex;align-items:center;justify-content:center;gap:4px;opacity:.38;mask-image:linear-gradient(90deg,transparent,#000 40%,#000 85%,transparent)}
.creation-spectrum i{flex:1;max-width:3px;height:var(--bar);border-radius:4px;background:linear-gradient(0deg,#68798855,#d4bd93,#83959f66);box-shadow:0 0 10px #bba47a0b;animation:creation-spectrum-flow var(--speed) ease-in-out var(--delay) infinite alternate;transform-origin:center}
.creation-sweep{position:absolute;top:-70%;bottom:-70%;width:19%;left:-30%;background:linear-gradient(90deg,transparent,#d6c29a06,transparent);transform:rotate(22deg);animation:creation-scan 6s ease-in-out infinite}
@keyframes creation-spectrum-flow{0%{transform:scaleY(.3);opacity:.25}100%{transform:scaleY(1.1);opacity:.85}}
@keyframes creation-scan{to{left:130%}}
@keyframes creation-text-breathe{50%{color:#fff1d8;text-shadow:0 0 18px #d8bc9220}}
@media(max-width:800px){.generation-stage .creation-feed{width:100%;padding:14px 20px}.generation-stage .creation-entry.current h3{font-size:16px}.creation-spectrum{width:65%;opacity:.15}.generation-stage .creation-update{min-height:280px}}

/* Candidate decisions: selection, verification and feedback remain independent. */
.results-ready{padding:12px 0}.brief-snapshot{padding-top:12px;padding-bottom:12px}.comparison-source{font-size:10px;line-height:1.7;color:#939ca9;margin:10px 0 13px}.candidate{padding-top:20px;padding-bottom:18px}.candidate.is-final{background:#24212e;border-left:3px solid #b3a0e0;padding-left:9px}.candidate-decision{display:flex;gap:20px;justify-content:space-between;align-items:center;margin:13px 0 0 86px}.comparison-copy p{font-size:11px;color:#c2c9d2;line-height:1.7}.comparison-copy small{display:block;font-size:10px;color:#99a5b4;line-height:1.7;margin-top:3px}.choose-final{flex-shrink:0;border:1px solid #655979;border-radius:4px;padding:7px 10px;font-size:10px;color:#d1c3ed;display:flex;align-items:center;gap:5px}.choose-final[aria-pressed=true]{background:#b7a4dc;color:#201b29;border-color:#b7a4dc}.choose-final svg{width:12px;height:12px}.track-checks{margin-top:12px;gap:10px}.check-row{color:#a2aebe}.check-row.warning{color:#d7b98e}.check-row.confirmed{color:#a6cbb4}.feedback-button{color:#aeb9c7}.final-selection{margin-top:18px;padding:15px 16px;border:1px solid #584c6a;border-radius:5px;background:#201e27;display:flex;justify-content:space-between;align-items:center;gap:15px}.final-label{font-size:10px;color:#b7a4dc;display:block}.final-selection strong{display:block;font-size:13px;font-weight:500;color:#e4dced;margin:5px 0}.final-selection p{font-size:10px;color:#c6b99e}.final-selection small{display:block;font-size:9px;color:#97929e;margin-top:5px}.final-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.final-actions button{font-size:10px}.empty-final{border-color:#353a41;background:transparent;font-size:11px;color:#b0b7c1;justify-content:flex-start;flex-wrap:wrap}.empty-final span{font-size:10px;color:#8793a3}.version-feedback{font-size:10px;color:#b5a6ce;margin:10px 0}.feedback-adjust{margin-top:18px;padding:14px;background:#141619;border:1px solid #40434b;border-radius:5px}.feedback-adjust>span{font-size:10px;color:#929aa6}.feedback-adjust>p{font-size:12px;color:#d2d6df;margin:5px 0 14px}.feedback-adjust>label{display:block;font-size:11px;color:#c3b4dc;margin-bottom:8px}.feedback-boundary{font-size:10px;color:#949da9;line-height:1.8;margin-top:14px}#feedback-error{font-size:11px;color:#dfb18c;margin-top:8px}.player-dock.idle{height:34px;display:flex;justify-content:center;background:#17191c;padding:0 20px}.idle-player-hint{font-size:10px;color:#8994a3;display:flex;align-items:center;gap:8px}.idle-player-hint svg{width:13px;height:13px}.player-idle .workbench{height:calc(100dvh - 92px)}
@media(max-width:1100px){.candidate-decision{margin-left:48px;gap:12px}}
@media(max-width:850px){.candidate-decision{margin-left:46px;align-items:flex-start;flex-wrap:wrap}.final-selection{align-items:flex-start;flex-direction:column}.track-checks{align-items:flex-start}.check-row{flex-wrap:wrap}}
@media(max-width:660px){.player-idle .workbench{height:auto;padding-bottom:45px}.candidate-decision{margin-left:0}.candidate.is-final{padding-left:7px}}

@media(min-width:661px){.workbench{grid-template-rows:minmax(0,1fr)}.composer,.results-panel{min-height:0}.composer-footer{flex-shrink:0}}
.results-ready{padding:10px 0}.brief-snapshot{padding-top:10px;padding-bottom:10px}.comparison-source{margin:7px 0 10px}.candidate{padding-top:16px;padding-bottom:12px}.candidate-decision{margin-top:9px}.track-checks{margin-top:9px}.final-selection{padding:12px 16px;margin-top:14px}
