#animationPane{color:var(--v2-text);margin-top:18px}#animationPane[hidden]{display:none}.animation-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.animation-toolbar h2{font-size:19px;margin:0}.animation-toolbar h3{font-size:16px;margin:0}.animation-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;border:1px solid var(--v2-line);border-radius:7px;overflow:hidden;background:var(--v2-surface)}.animation-editor{min-width:0;padding:22px}.animation-settings{padding:22px;background:var(--v2-surface-muted);border-left:1px solid var(--v2-line)}.animation-settings h3{font-size:16px;margin:0 0 22px}.animation-layout label{display:grid;gap:9px;min-width:0;margin-bottom:18px;font-size:13px}.animation-layout input,.animation-layout select,.animation-layout textarea{width:100%;min-width:0;background:var(--v2-surface);color:var(--v2-text);border:1px solid var(--v2-line);border-radius:6px;padding:11px;font:inherit}.animation-layout textarea{resize:vertical;min-height:230px;line-height:1.7}.animation-layout :is(input,select,textarea):focus{outline:2px solid var(--v2-primary);outline-offset:1px}.animation-setting-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.animation-asset-tools{display:flex;gap:9px;flex-wrap:wrap}.animation-assets{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.animation-asset{display:flex;align-items:center;max-width:100%;background:var(--v2-primary-soft);border:1px solid var(--v2-line);border-radius:5px}.animation-asset>button:first-child{background:none;border:0;color:var(--v2-primary);padding:8px;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.animation-settings-meta{display:flex;gap:9px;flex-wrap:wrap;font-size:11px;color:var(--v2-muted);margin:20px 0}.animation-price{font-size:12px;line-height:1.7;color:var(--v2-muted);margin:-6px 0 20px}#animationStart{width:100%;justify-content:center;min-height:44px}.animation-message{color:var(--v2-primary);font-size:13px;line-height:1.7;margin-top:16px;overflow-wrap:anywhere}.animation-output{border-top:1px solid var(--v2-line);margin-top:22px;padding-top:18px}.animation-progress{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;font-size:13px}.animation-progress span{color:var(--v2-muted);font-size:12px}#animationProgress{width:100%;height:6px;margin:16px 0;accent-color:var(--v2-primary)}#animationPlayer video{display:block;width:100%;max-height:360px;background:#111;border-radius:6px;margin-bottom:12px}.animation-history{margin-top:26px;border-top:1px solid var(--v2-line);padding-top:20px}#animationProjects{display:grid;gap:0}.animation-project{display:grid;grid-template-columns:minmax(0,1fr) 150px 170px;gap:14px;align-items:center;width:100%;text-align:left;padding:16px 10px;border:0;border-bottom:1px solid var(--v2-line);background:transparent;color:var(--v2-text);cursor:pointer}.animation-project.active,.animation-project:hover{background:var(--v2-primary-soft)}.animation-project strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.animation-project span,.animation-project small{font-size:12px;color:var(--v2-muted)}.animation-picker{width:min(600px,94vw);border:1px solid var(--v2-line);border-radius:8px;background:var(--v2-surface);color:var(--v2-text);padding:20px}.animation-picker-list{display:grid;gap:8px;max-height:60vh;overflow:auto}.animation-picker-list button{overflow-wrap:anywhere;text-align:left}#animationPane button svg{width:16px;height:16px;flex-shrink:0}#animationPane button{display:inline-flex;align-items:center;gap:7px}#animationPane button:disabled{opacity:.5;cursor:wait}@media(max-width:800px){.animation-layout{grid-template-columns:1fr}.animation-settings{border-left:0;border-top:1px solid var(--v2-line)}.animation-editor,.animation-settings{padding:16px}.animation-project{grid-template-columns:minmax(0,1fr) 110px}.animation-project small{grid-column:1/-1}.animation-toolbar h2{font-size:17px}}
#animationProjects{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px}.animation-project{grid-template-columns:108px minmax(0,1fr);padding:10px;border:1px solid var(--v2-line);border-radius:7px;background:var(--v2-surface)}.animation-project.active,.animation-project:hover{border-color:var(--v2-primary);background:var(--v2-primary-soft)}.animation-project-thumb{position:relative;display:flex;align-items:center;justify-content:center;min-height:112px;padding:0;border:1px solid var(--v2-line);border-radius:5px;overflow:hidden;background:#101a1b;color:#fff;cursor:pointer}.animation-project-thumb img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.animation-project-thumb i{position:relative;padding:7px;border-radius:50%;background:#0009}.animation-project-info{min-width:0;display:grid;align-content:start;gap:5px}.animation-project-info span,.animation-project-info small{font-size:11px}.animation-project-info p{margin:2px 0 0;font-size:12px;line-height:1.45;color:var(--v2-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#animationPane .animation-record{display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px;padding:14px;border:1px solid var(--v2-line);border-radius:7px;background:var(--v2-surface);min-width:0;align-items:start}
#animationPane .animation-record.active{border-color:var(--v2-primary)}
#animationPane .animation-record-thumb{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;width:100%;aspect-ratio:4/3;overflow:hidden;border:1px solid var(--v2-line);border-radius:5px;background:#101a1b;color:white;padding:0;cursor:pointer}
#animationPane .animation-record-thumb img{position:absolute;width:100%;height:100%;inset:0;object-fit:contain}
#animationPane .animation-record-thumb svg{position:relative;box-sizing:content-box;padding:10px;width:20px;height:20px;border-radius:50%;background:#000a;transition:transform .15s ease}
#animationPane .animation-record-thumb b{position:relative;font-size:11px;font-weight:500;padding:3px 7px;background:#000b;border-radius:3px}
#animationPane .animation-record-thumb:hover:not(:disabled) svg{transform:scale(1.1)}
#animationPane .animation-record-thumb:disabled{opacity:1;cursor:default}
.animation-record-info{min-width:0;display:grid;gap:10px}.animation-record-heading{display:flex;align-items:start;gap:8px;justify-content:space-between;min-width:0}.animation-record-heading strong{font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.animation-record-status{flex-shrink:0;font-size:11px;color:var(--v2-muted);line-height:1.5}.animation-record-status[data-status=completed]{color:var(--v2-primary)}.animation-record-status[data-status=failed]{color:#e16e73}
.animation-record-info dl{margin:0;display:grid;gap:6px;font-size:12px}.animation-record-info dl>div{display:grid;grid-template-columns:56px minmax(0,1fr);gap:8px}.animation-record-info dt{color:var(--v2-muted)}.animation-record-info dd{margin:0;overflow-wrap:anywhere;color:var(--v2-text)}.animation-record-info small{color:var(--v2-muted);font-size:11px}.animation-record-prompt{font-size:12px;color:var(--v2-muted);min-width:0}.animation-record-prompt summary{cursor:pointer;color:var(--v2-text)}.animation-record-prompt p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;max-height:180px;overflow:auto;margin:8px 0 0}.animation-record-open{justify-self:start;font-size:12px}
.animation-record-error{margin:0;padding:9px 10px;border:1px solid color-mix(in srgb,#d94a50 35%,var(--v2-line));border-radius:5px;background:color-mix(in srgb,#d94a50 8%,var(--v2-surface));color:var(--v2-danger,#b4232c);font-size:12px;line-height:1.55;overflow-wrap:anywhere}.animation-record-stop{justify-self:start;font-size:12px}
#animationProjects{grid-template-columns:repeat(auto-fill,minmax(min(100%,400px),1fr));gap:14px}
#animationPlayer{margin:16px 0}#animationPlayer .animation-record{grid-template-columns:180px minmax(0,1fr);background:var(--v2-surface-muted)}
@media(max-width:600px){#animationPane .animation-record,#animationPlayer .animation-record{grid-template-columns:100px minmax(0,1fr);gap:12px;padding:12px}.animation-record-heading{flex-direction:column;gap:4px}.animation-record-info dl>div{grid-template-columns:1fr;gap:2px}.animation-record-info{gap:8px}}
.animation-voice-note{margin:-8px 0 12px;color:var(--v2-muted);font-size:11px;line-height:1.5}
.animation-audio-status{display:grid;gap:8px;margin:12px 0;padding:0;list-style:none}.animation-audio-status li{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:10px 12px;border:1px solid var(--v2-line,var(--border-color,#d8dee8));border-radius:6px;background:var(--v2-surface-muted,var(--surface-muted,#f7f8fa));color:var(--v2-text,var(--text-color,inherit))}.animation-audio-status li small{grid-column:1/-1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--v2-muted,var(--text-muted,#667085))}

/* Approved three-column animation workspace. */
html:not(.theme-dark):not(.theme-pink) #animationPane{--v2-text:#203735;--v2-ink:#203735;--v2-muted:#778582;--v2-line:#e0e7e4;--v2-surface:#fff;--v2-surface-muted:#f8faf8;--v2-primary:#167863;--v2-primary-soft:#edf5f1}html:not(.theme-dark):not(.theme-pink) #animationPane .primary{background:#167863;border-color:#167863;box-shadow:none}#animationPane .animation-layout button{font-weight:400}#animationPane .animation-layout input,#animationPane .animation-layout select,#animationPane .animation-layout textarea{font-weight:400}
#animationPane{margin-top:24px;letter-spacing:0}.animation-page-heading{margin-bottom:20px}.animation-page-heading h2{font-size:22px;font-weight:600}.animation-page-heading p{font-size:12px;color:var(--v2-muted);margin:7px 0 0}.animation-layout{grid-template-columns:300px minmax(0,1fr) 236px;border-radius:8px;align-items:stretch}.animation-editor,.animation-settings{padding:20px}.animation-editor{border-right:1px solid var(--v2-line)}.animation-settings{background:var(--v2-surface)}.animation-section-heading{display:flex;align-items:center;justify-content:space-between;min-height:28px;margin-bottom:15px}.animation-section-heading h3,.animation-settings h3{font-size:14px;font-weight:600;margin:0}.animation-section-heading small,.animation-settings h3 small{font-size:10px;color:var(--v2-muted);font-weight:400;margin-right:9px}.animation-settings h3{margin:5px 0 20px}.animation-sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.animation-layout label{font-size:11px;gap:9px;margin-bottom:17px}.animation-layout input,.animation-layout select{font-size:12px;padding:9px;min-height:37px;border-radius:5px}.animation-layout textarea{font-size:12px;min-height:215px;line-height:1.9;padding:13px;border-radius:6px 6px 0 0;background:var(--v2-surface-muted)}.animation-layout .animation-prompt-field{margin:0}.animation-prompt-footer{border:1px solid var(--v2-line);border-top:0;border-radius:0 0 6px 6px;display:flex;align-items:center;justify-content:space-between;padding:7px 10px;gap:5px}.animation-prompt-footer button{font-size:11px;background:none;border:0;padding:0;color:var(--v2-primary)}.animation-prompt-footer small{font-size:10px;color:var(--v2-muted);white-space:nowrap}.animation-assets-heading{margin-top:24px;margin-bottom:12px}.animation-asset-tools{gap:7px}.animation-editor>.animation-asset-tools button{flex:1;font-size:11px;padding:9px 6px;justify-content:center}.animation-assets{min-height:48px;margin-top:12px;gap:7px}.animation-asset{max-width:100%}.animation-asset>button:first-child{max-width:170px;font-size:11px}.animation-example{margin-top:24px}.animation-message{font-size:12px;margin-top:12px}.animation-stage{display:flex;flex-direction:column;background:var(--v2-surface-muted);min-width:0}.animation-stage-header{height:61px;flex-shrink:0;padding:0 20px;border-bottom:1px solid var(--v2-line);display:flex;align-items:center;justify-content:space-between;gap:12px}.animation-stage-header strong{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:500}.animation-stage-header>span{font-size:10px;color:var(--v2-primary)}.animation-stage-body{flex:1;display:flex;flex-direction:column;justify-content:center;min-height:350px;padding:24px 22px}.animation-preview{background:#102a2b;aspect-ratio:16/9;width:100%;border-radius:4px;overflow:hidden;display:flex;align-items:center;justify-content:center}.animation-preview video{display:block;width:100%;height:100%;object-fit:contain;background:#102a2b}.animation-empty{display:grid;justify-items:center;gap:15px;color:#b6cfc3;text-align:center;padding:24px;font-size:12px}.animation-empty>svg{width:34px;height:34px;opacity:.55}.animation-empty strong{font-weight:400}.animation-preview-meta{display:flex;justify-content:space-between;gap:10px;margin-top:17px;font-size:10px;color:var(--v2-muted)}.animation-output{margin:0;padding:15px 20px;border-top:1px solid var(--v2-line);background:var(--v2-surface)}.animation-progress{font-size:11px;gap:6px}.animation-progress strong{font-weight:500}.animation-progress span{font-size:10px}.animation-price{font-size:10px;line-height:1.7;margin:-7px 0 18px}.animation-settings-meta{font-size:10px;gap:6px;margin:18px 0 12px}.animation-ratios{display:flex;gap:5px}.animation-ratios button{flex:1;justify-content:center;padding:8px 2px;font-size:11px;border:1px solid var(--v2-line);border-radius:5px;background:var(--v2-surface);color:var(--v2-text);min-width:0}.animation-ratios button.selected{border-color:var(--v2-primary);background:var(--v2-primary-soft);color:var(--v2-primary)}.animation-voice-controls{border-top:1px solid var(--v2-line);border-bottom:1px solid var(--v2-line);padding:20px 0 8px;margin-top:22px}.animation-layout label.animation-voice-toggle{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:17px;cursor:pointer}.animation-voice-toggle input{appearance:none;width:30px;height:18px;min-height:18px;padding:0;background:var(--v2-line);border:0;border-radius:20px;position:relative;cursor:pointer}.animation-voice-toggle input:before{content:"";position:absolute;left:3px;top:3px;width:12px;height:12px;border-radius:50%;background:white;transition:transform .15s}.animation-voice-toggle input:checked{background:var(--v2-primary)}.animation-voice-toggle input:checked:before{transform:translateX(12px)}.animation-voice-note{font-size:10px;margin:0 0 10px;line-height:1.7}.animation-settings select:disabled{opacity:.55}.animation-settings #animationStart{font-size:12px;min-height:41px}.animation-history{border-top:0;padding-top:0;margin-top:27px}.animation-history .animation-toolbar h3{font-size:15px;font-weight:600}.animation-history h3 small{font-size:11px;font-weight:400;color:var(--v2-muted);margin-left:9px}.animation-history-tools{display:flex;align-items:center;gap:10px}.animation-history-tools select{font-size:11px;padding:6px 8px;border:1px solid var(--v2-line);border-radius:5px;background:var(--v2-surface);color:var(--v2-text)}#animationProjects{display:block}#animationProjects .animation-record{border:0;border-top:1px solid var(--v2-line);border-bottom:1px solid var(--v2-line);border-radius:0;padding:14px 0;grid-template-columns:120px minmax(0,1fr);gap:18px}#animationProjects .animation-record+.animation-record{border-top:0}#animationProjects .animation-record-thumb{aspect-ratio:16/9;border:0}#animationProjects .animation-record-thumb b{display:none}#animationProjects .animation-record-info{grid-template-columns:minmax(0,1fr) 180px auto;gap:6px 20px;align-items:start}#animationProjects .animation-record-heading{grid-column:1;grid-row:1}#animationProjects .animation-record-info dl{grid-column:2;grid-row:1/3;font-size:10px}#animationProjects .animation-record-prompt{grid-column:1;font-size:11px}#animationProjects .animation-record-info>small{grid-column:2;font-size:10px}#animationProjects .animation-record-open{grid-column:3;grid-row:1/3;font-size:11px}#animationProjects .animation-record-error{grid-column:1/-1}#animationProjects .animation-record-stop{grid-column:1}#animationPlayer{margin:12px 0}#animationPlayer .animation-record{display:block;padding:0;border:0;background:transparent}#animationPlayer .animation-record-thumb{display:none}#animationPlayer .animation-record-heading strong{font-weight:500;font-size:12px}#animationPlayer .animation-record-info{gap:8px}#animationPlayer .animation-record-info dl,#animationPlayer .animation-record-info>small,#animationPlayer .animation-record-heading>.animation-record-status{display:none}#animationResultActions button{font-size:11px;padding:8px}.animation-more{margin-top:14px}
@media(min-width:1600px){.animation-layout{grid-template-columns:340px minmax(0,1fr) 270px}.animation-stage-body{padding:30px}.animation-layout textarea{min-height:245px}}
@media(max-width:1250px){.animation-layout{grid-template-columns:270px minmax(0,1fr)}.animation-settings{grid-column:1/-1;border-left:0;border-top:1px solid var(--v2-line);display:grid;grid-template-columns:1fr 1fr 1fr;gap:0 20px}.animation-settings>h3{grid-column:1/-1}.animation-settings>.animation-voice-controls{grid-column:2;grid-row:2/7;border:0;padding:0;margin:0}.animation-settings>.animation-settings-meta{grid-column:3;grid-row:2;align-content:start}.animation-settings>#animationStart{grid-column:3;grid-row:3;height:41px}.animation-settings>label{grid-column:1}.animation-settings>.animation-setting-pair{grid-column:1}.animation-settings>.animation-price{grid-column:1}#animationProjects .animation-record-info{grid-template-columns:minmax(0,1fr) 140px}#animationProjects .animation-record-open{grid-column:2;grid-row:auto}}
@media(max-width:720px){#animationPane{margin-top:18px}.animation-page-heading h2{font-size:19px}.animation-page-heading p{font-size:10px}.animation-layout{grid-template-columns:1fr}.animation-stage{grid-row:1}.animation-editor{border-right:0;border-top:1px solid var(--v2-line);padding:18px}.animation-stage-header{height:47px;padding:0 15px}.animation-stage-body{min-height:0;padding:15px}.animation-output{padding:13px 15px}.animation-layout textarea{min-height:150px}.animation-settings{display:block;padding:18px}.animation-settings>.animation-voice-controls{border-top:1px solid var(--v2-line);border-bottom:1px solid var(--v2-line);padding:18px 0 8px;margin-top:22px}.animation-settings-meta{margin-top:18px}.animation-history h3 small{display:none}#animationProjects .animation-record{grid-template-columns:92px minmax(0,1fr);gap:12px}#animationProjects .animation-record-info{display:grid;grid-template-columns:1fr;gap:8px}#animationProjects .animation-record-info dl,#animationProjects .animation-record-info>small{display:none}#animationProjects .animation-record-open{grid-column:1;grid-row:auto}#animationProjects .animation-record-heading{display:flex;flex-direction:row;gap:6px}.animation-record-heading strong{font-size:12px}.animation-record-status{font-size:10px}.animation-history-tools{gap:3px}}
