/* Shared full-width workspace and admin design system. */
:root{--bg:#f4f6fa;--panel:#fff;--ink:#1d293d;--muted:#718096;--line:#e5eaf1;--blue:#405bd8;--blue-soft:#eef1ff;--green:#168c70;--radius:14px;--shadow:0 3px 18px #1d293d04}
html{min-height:100%;scroll-behavior:smooth}body{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.55}a{color:var(--blue)}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}input,textarea,select{font:inherit}button{transition:background .16s,border-color .16s,box-shadow .16s}button:not(:disabled):hover{filter:brightness(.98)}button:disabled{cursor:not-allowed}.primary,.ghost{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:39px;padding:9px 15px;border-radius:8px;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}.primary{box-shadow:0 2px 4px #405bd815}.primary:hover{background:#334cbd}.ghost:hover{border-color:#c6cfdf;background:#f8faff}.danger{color:#c3454b}.danger:hover{background:#fff5f5;border-color:#e6babc}.neutral{color:var(--muted);background:#f1f4f8}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:4px 9px;line-height:1.5}.badge.success{background:#eaf7f1;color:#187e61}.badge.warning{background:#fff6e6;color:#95601a}.badge.error{background:#fff0f0;color:#bf4149}.badge.running{background:#edf0ff;color:var(--blue)}[hidden]{display:none!important}
.shell{grid-template-columns:216px minmax(0,1fr);width:100%;min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;padding:28px 16px 18px;align-self:start;z-index:5}.logo{display:flex;align-items:center;gap:10px;padding:0 10px 32px;color:var(--ink);text-decoration:none;letter-spacing:-.7px}.brand-mark{display:grid;place-items:center;flex:0 0 34px;width:34px;height:36px;background:var(--blue);border-radius:10px;color:#fff!important;font-size:27px;font-style:italic;font-weight:800}.brand-name{font-size:21px;color:var(--ink)!important}.logo .brand-name small{display:block;font-size:8px;font-weight:600;letter-spacing:1.8px;margin:0;color:var(--muted)}.nav-caption{font-size:10px;color:#9aa5b6;padding:0 14px 10px;letter-spacing:1px}.sidebar nav{gap:6px}.sidebar button{display:flex;align-items:center;gap:11px;min-height:46px;padding:11px 14px;font-weight:500;font-size:13px}.sidebar button.active{box-shadow:inset 3px 0 var(--blue);font-weight:650}.nav-icon{width:21px;font-size:19px;text-align:center}.side-foot{background:none;border:0;padding:0;margin-top:auto}.admin-entry{display:flex;gap:11px;align-items:center;margin:0 0 18px;padding:12px 14px;border:1px solid var(--line);border-radius:9px;text-decoration:none;color:#637089;font-size:13px}.admin-entry span:last-child{margin-left:auto}.local-status{border-top:1px solid var(--line);padding:15px 8px 0;display:flex;align-items:center;gap:7px;font-size:11px}.local-status small{margin-left:auto;font-size:10px}.status-dot{display:inline-block;flex:0 0 6px;width:6px;height:6px;border-radius:50%;background:var(--green)}
.app-header{height:72px;padding:0 clamp(20px,2.6vw,42px);position:sticky;top:0;z-index:4;background:#fffffff5;backdrop-filter:blur(12px)}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:12px}.breadcrumb>span:first-child{color:#98a3b3}.breadcrumb>span:nth-child(2){color:#c4cbd6}.breadcrumb b{font-weight:550;color:#4d5a70}.header-actions{display:flex;gap:10px;align-items:center}.app-header .ghost{margin:0}.header-admin{font-size:12px;color:var(--muted);margin-right:8px;text-decoration:none}.view{width:100%;max-width:none;padding:30px clamp(20px,2.6vw,42px) 48px}.welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:2px 0 26px}.welcome small,.section-title small,.block-heading small{font-size:10px;font-weight:650;letter-spacing:1.4px;color:#8793a7}.welcome h1{font-size:clamp(26px,2.2vw,36px);letter-spacing:-1px;font-weight:650;margin:8px 0 8px;line-height:1.5}.welcome p{font-size:13px;margin:0;color:var(--muted)}.workflow-tag{display:flex;align-items:center;gap:11px;color:#8995a8;font-size:11px;white-space:nowrap}.workflow-tag i{font-style:normal;color:#c2cad8}.workspace-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.workspace-stats>div{display:grid;grid-template-columns:1fr auto;gap:5px 10px;align-items:center;padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:12px;min-width:0}.workspace-stats span{font-size:12px;color:#66738a}.workspace-stats b{grid-column:2;grid-row:1/3;font-size:29px;font-weight:650;letter-spacing:-1px;color:#293853}.workspace-stats small{font-size:10px;color:#99a3b3}
.home-workspace-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.85fr);gap:22px;align-items:start}.panel,.prompt-box{border-radius:var(--radius);box-shadow:var(--shadow)}.creation-panel{max-width:none;padding:26px;width:100%;min-width:0}.block-heading{display:flex;align-items:center;gap:12px;margin-bottom:23px}.block-heading h2{margin:3px 0 0;font-size:18px;font-weight:650}.block-heading .badge{margin-left:auto;font-size:10px}.block-icon{width:40px;height:40px;flex:0 0 40px;border:1px solid #e5e9ff;background:#f1f3ff;border-radius:11px;display:grid;place-items:center;color:var(--blue);font-size:21px}.reference-icon{color:#438b80;background:#eef8f5;border-color:#dceee9}.field-label{display:block;font-size:12px;font-weight:550;color:#5a6780;margin:16px 0 8px}.creation-panel textarea{min-height:160px;line-height:1.9;font-size:13px;border-color:var(--line);border-radius:9px;resize:vertical;background:#fcfdff;padding:15px}.creation-panel textarea:focus{border-color:#8f9edf;background:#fff}.style-picker{margin-top:22px}.style-picker>span{font-size:12px;font-weight:550;color:#5a6780;margin-bottom:10px}.style-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.style-option{background:#fff;padding:14px 10px;border-radius:8px}.style-option b{font-size:12px;font-weight:600}.style-option small{font-size:10px}.style-option.selected{box-shadow:0 0 0 1px #405bd815}.series-option{margin:20px 0 0;padding:16px 0;border-top:1px solid #eef1f6;border-bottom:1px solid #eef1f6;gap:10px 18px;font-size:12px}.series-option .hint{font-size:11px;margin-left:auto}.series-option input[type=checkbox]{accent-color:var(--blue)}.prompt-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.prompt-actions label{display:grid;gap:7px;min-width:0;font-size:11px;color:var(--muted)}.prompt-actions select{width:100%;min-width:0;font-size:12px;padding:10px}.creation-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:23px}.creation-footer .hint{font-size:11px}.creation-footer .primary{padding:11px 23px}
.reference-workbench{padding:26px;margin:0;min-width:0;border:1px solid var(--line)}.reference-workbench .section-description{font-size:12px;line-height:1.8;color:var(--muted);margin:-7px 0 17px}.reference-workbench>input{max-width:none;width:100%;margin:0;padding:12px;border:1px solid var(--line);border-radius:8px;font-size:12px;background:#fcfdff}.input-divider{display:flex;align-items:center;gap:12px;color:#9aa5b4;font-size:10px;margin:18px 0}.input-divider:before,.input-divider:after{content:"";height:1px;background:var(--line);flex:1}.upload-field{display:flex;flex-direction:column;gap:5px;padding:17px;border:1px dashed #ccd5e5;border-radius:9px;background:#fbfcff;font-size:12px}.upload-field>span{font-weight:550;color:#596c93}.upload-field small{font-size:10px;color:var(--muted)}.upload-field input{font-size:11px;width:100%;margin-top:8px;color:#8490a4}.upload-field input::file-selector-button{border:1px solid var(--line);padding:6px 9px;background:#fff;border-radius:5px;margin-right:9px;color:#637089;cursor:pointer}.reference-actions{display:flex;gap:10px;margin-top:20px}.reference-actions .primary{flex:1}.reference-actions .ghost{background:#fff}.reference-note{display:flex;align-items:start;gap:8px;border-top:1px solid var(--line);padding-top:14px;margin-top:18px;line-height:1.8;font-size:10px;color:#939db0}.reference-note>span{font-size:15px;color:#9ba7b9}.reference-workbench #homeProviderStatus{font-size:10px;line-height:1.7;margin:12px 0 0}.reference-workbench #homeReferenceResult{border-top:1px solid var(--line);margin-top:18px;padding-top:6px;min-width:0}.reference-workbench #homeReferenceResult textarea{width:100%;font:11px/1.7 ui-monospace,Consolas,monospace;border:1px solid var(--line);padding:10px;border-radius:8px}.home-reference-shots b{font-size:12px}.home-reference-shots p{font-size:11px}.reference-workbench details summary{font-size:12px}.home-reference-head{gap:12px;font-size:13px}.reference-workbench #homeReferenceResult>p{font-size:12px;line-height:1.8}.analysis-progress{font-size:12px;border-radius:6px}.analysis-progress[data-stage=done] .analysis-spinner,.analysis-progress[data-stage=resolved] .analysis-spinner{display:none}.analysis-progress[data-stage=done],.analysis-progress[data-stage=resolved]{border-color:var(--green);background:#eef8f3}.analysis-progress a{color:inherit}
.home-projects{margin-top:34px}.section-title{align-items:center;gap:18px;margin-bottom:20px}.section-title h2{font-weight:650;font-size:23px;letter-spacing:-.4px;margin:4px 0 0}.section-title .hint{margin:7px 0 0;font-size:12px}.project-search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px 12px;color:#8f9aad}.project-search input{border:0;outline:0;min-width:0;width:190px;font-size:12px;background:transparent}.series-home-list{margin-top:0}.project-subhead{display:flex;align-items:center;gap:8px;font-size:12px;margin:18px 0 13px;color:#617089}.project-subhead h3{margin:0;font-size:13px;font-weight:600;color:#445169}.project-subhead span{display:inline-flex;align-items:center;justify-content:center;background:#e9edf4;border-radius:5px;padding:1px 6px;font-size:10px}.series-projects,.film-projects{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.project-card{display:flex;flex-direction:column;padding:19px;min-width:0;background:#fff;border:1px solid var(--line);border-radius:12px;transition:border-color .2s,box-shadow .2s}.project-card:hover{border-color:#cdd6ea;box-shadow:0 5px 18px #25365606}.project-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.project-card-icon{display:grid;place-items:center;background:#f0f3ff;color:#6b7bc6;width:34px;height:34px;border-radius:9px;font-size:17px}.project-card-icon.film{background:#eef7f4;color:#5c9386}.project-card h3{font-size:15px;line-height:1.65;overflow-wrap:anywhere;letter-spacing:-.2px;font-weight:600;margin:15px 0 7px}.project-card h3 button{border:0;padding:0;background:none;text-align:left;font:inherit;color:var(--ink)}.project-card .project-card-desc{font-size:11px;line-height:1.8;color:#8a95a8;margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:39px}.project-card-footer{display:flex;align-items:center;gap:8px;border-top:1px solid #eef1f6;padding-top:13px;margin-top:auto}.project-card-footer small{font-size:10px;color:#9aa5b6;margin-right:auto}.icon-action{border:0;background:none;padding:5px 7px;font-size:11px;color:#738199;border-radius:5px}.icon-action:hover{background:#f1f4fb;color:var(--blue)}.icon-action.danger{color:#bc7379}.empty-state{border:1px dashed #d9e0ed;border-radius:12px;background:#ffffff80;padding:30px;text-align:center;grid-column:1/-1;color:#8c98ab;font-size:12px}.empty-state b{display:block;color:#5d6c85;margin-bottom:7px;font-size:14px;font-weight:550}.toolbar-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.toolbar-actions select{border:1px solid var(--line);background:#fff;max-width:min(340px,100%);min-width:180px;font-size:12px}.toolbar-actions .ghost{min-height:38px}
.studio-grid{grid-template-columns:minmax(0,1fr) 280px;gap:22px}.plan-panel{min-width:0;overflow:hidden}.tabs{padding:0 24px;gap:27px;overflow-x:auto}.tabs button{white-space:nowrap;font-size:13px}.plan-body{padding:25px}.plan-body h3{font-size:16px;font-weight:600}.plan-body label{font-size:12px;color:#68778c}.plan-body textarea{line-height:1.85}.plan-body pre,.reference-result pre{overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.7}.action-panel{padding:22px;position:sticky;top:94px}.action-panel h3{font-size:14px;font-weight:600}.stage{font-size:12px}.generation-settings{margin-top:17px;padding-top:17px}.generation-settings select,.generation-settings input{font-size:12px}.generation-settings .hint,.action-panel>.hint{font-size:11px}.settings-link{display:block;font-size:11px;margin-top:14px;text-decoration:none}.storyboard-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:17px}.card-actions{flex-wrap:wrap;gap:7px}.card-actions button{flex:1}.story-body{padding:16px}.story-media{height:190px}.speech-meta input{max-width:100%;font-size:11px}.speech-meta{margin:12px 0}.speech-meta .hint{font-size:10px}.scene-voice-player{max-width:100%;height:32px}.entity-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.entity-info{padding:17px}.film-review-panel{margin:0;padding:0 25px}.film-review-panel .review-config{padding:18px 0}.review-config .hint{line-height:1.8}.review-config label{font-size:12px}.review-report{overflow-wrap:anywhere}.film-shot-list span{font-size:11px}.series-layout{grid-template-columns:minmax(250px,.85fr) minmax(0,1.5fr) minmax(200px,.65fr);gap:20px}.series-conversation,.series-outline,.series-episodes{min-width:0;padding:22px}.series-messages{height:min(48vh,550px)}.series-outline h2{font-size:23px}.series-outline p{font-size:13px}.series-episodes{top:94px}.series-panel-head{flex-wrap:wrap}.series-panel-head h3,.series-episodes h3{font-size:14px;font-weight:600}.series-message{font-size:12px}.series-message b{font-size:11px;color:#72819a}.series-composer textarea{font-size:12px}.studio-series-nav{margin-bottom:18px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}.studio-series-nav>b{font-size:13px}.studio-episode-buttons{display:flex;flex-wrap:wrap;gap:6px}.studio-episode-buttons .ghost{min-width:34px;padding:5px}.studio-episode-buttons .selected{background:var(--blue-soft);color:var(--blue);border-color:#9fabe4}#episodePlanningStatus{padding:18px;display:flex;gap:15px;align-items:center;margin-bottom:20px}
.asset-toolbar{display:flex;align-items:center;gap:14px;margin-bottom:20px;padding:13px 18px;background:#fff;border:1px solid var(--line);border-radius:10px;font-size:12px}.asset-toolbar button{margin-left:auto}.asset-grid{grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:18px}.asset-card{position:relative;overflow:hidden;padding:13px;border-radius:12px}.asset-card b{display:block;font-size:12px;margin-top:10px;overflow-wrap:anywhere}.asset-select{position:absolute;top:21px;left:21px;z-index:1;padding:3px 5px;border-radius:5px;background:#fffffff0}.queue-group{margin-bottom:24px}.queue-group-head{font-size:12px;margin:6px 0 7px}.job{padding:18px;margin-bottom:10px;border-radius:11px}.job small{font-size:11px}.job-right{min-width:90px}.queue-preview{max-height:160px}.job-main b{font-size:13px}.toast{z-index:100;background:#26354b;box-shadow:0 5px 24px #13233b20;font-size:12px;right:26px;bottom:26px}
.skip-link{position:fixed;top:-60px;left:15px;background:#fff;padding:12px;z-index:101;border:1px solid var(--blue);border-radius:8px}.skip-link:focus{top:10px}.ui-dialog{border:1px solid var(--line);border-radius:16px;padding:0;width:min(480px,calc(100vw - 32px));background:#fff;color:var(--ink);box-shadow:0 20px 80px #14233c35}.ui-dialog::backdrop{background:#15243970;backdrop-filter:blur(2px)}.ui-dialog form{padding:27px}.ui-dialog h2{margin:0 0 12px;font-size:20px;font-weight:650}.ui-dialog p{margin:0 0 20px;font-size:13px;color:var(--muted);white-space:pre-wrap;line-height:1.85}.ui-dialog label{display:block;font-size:12px;color:#5a6780;margin-bottom:7px}.ui-dialog input{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:8px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}.dialog-actions .danger{background:#c24b51;color:#fff;border:0}.dialog-error{color:#bd444b;font-size:11px;min-height:18px;margin-top:7px}
@media(min-width:1800px){.home-workspace-grid{grid-template-columns:minmax(0,1.5fr) minmax(380px,.9fr)}.creation-panel,.reference-workbench{padding:30px}.style-option{padding:16px}.creation-panel textarea{min-height:185px}.project-card{padding:23px}}
@media(max-width:1330px){.style-options{grid-template-columns:repeat(3,minmax(0,1fr))}.series-layout{grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr)}.series-episodes{position:static;grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.series-episodes>h3,.series-episodes>p{grid-column:1/-1}.episode-rail-item{border:1px solid var(--line);padding:14px;border-radius:8px}.series-option .hint{width:100%;margin:0}.workflow-tag{display:none}.workspace-stats>div{padding:16px}.workspace-stats b{font-size:25px}}
@media(max-width:1130px){.home-workspace-grid{grid-template-columns:1fr}.reference-workbench{padding:24px}.style-options{grid-template-columns:repeat(5,minmax(0,1fr))}.studio-grid{grid-template-columns:minmax(0,1fr) 250px}.workspace-stats{gap:10px}.workspace-stats small{display:none}.series-option .hint{width:auto;margin-left:auto}.reference-actions{justify-content:flex-end}.reference-actions .primary{flex:none;min-width:180px}}
@media(max-width:900px){.shell{grid-template-columns:184px minmax(0,1fr)}.sidebar{padding:25px 10px 16px}.brand-name{font-size:18px}.brand-mark{width:29px;flex-basis:29px;height:32px}.logo{padding:0 8px 30px;gap:7px}.sidebar button{font-size:12px;padding:11px;gap:8px}.view{padding:24px 22px 40px}.app-header{padding:0 22px}.studio-grid{grid-template-columns:1fr}.action-panel{position:static}.style-options{grid-template-columns:repeat(3,minmax(0,1fr))}.series-layout{grid-template-columns:1fr}.series-episodes{grid-column:auto;grid-template-columns:repeat(2,minmax(0,1fr))}.section-title{flex-wrap:wrap}.project-search{margin-left:auto}.header-admin{display:none}.workspace-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-stats small{display:block}.workspace-stats>div{padding:15px 18px}}
@media(max-width:650px){.shell{grid-template-columns:minmax(0,1fr)}.sidebar{min-width:0;position:sticky;height:auto;top:0;display:block;padding:0 12px;border-right:0;border-bottom:1px solid var(--line);background:#fffffff7;backdrop-filter:blur(10px)}.logo,.nav-caption,.side-foot{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:3px;padding:7px 0}.sidebar button{flex:1;justify-content:center;min-width:max-content;gap:5px;padding:9px 8px;font-size:11px;min-height:36px}.sidebar .nav-icon{font-size:15px;width:17px}.sidebar button.active{box-shadow:none}.app-header{top:58px;height:57px;padding:0 16px;z-index:3}.breadcrumb{font-size:11px;gap:8px}.breadcrumb>span:first-child,.breadcrumb>span:nth-child(2){display:none}.header-actions{gap:7px}.header-actions .primary,.header-actions .ghost{padding:7px 10px;min-height:34px;font-size:11px}.header-admin{display:inline;font-size:10px;margin:0}.view{padding:21px 16px 35px}.welcome{margin-bottom:20px}.welcome h1{font-size:25px;line-height:1.6;letter-spacing:-.8px}.welcome small{font-size:8px}.welcome p{font-size:11px;line-height:1.9}.workspace-stats{gap:10px;margin-bottom:18px}.workspace-stats>div{padding:13px}.workspace-stats small{display:none}.workspace-stats span{font-size:10px}.workspace-stats b{font-size:23px}.creation-panel,.reference-workbench{padding:20px}.home-workspace-grid{gap:18px}.block-heading h2{font-size:16px}.block-heading small{font-size:8px}.block-heading{gap:9px}.block-icon{width:35px;height:35px;flex-basis:35px}.block-heading .badge{padding:3px 6px;font-size:9px}.style-options{grid-template-columns:repeat(2,minmax(0,1fr))}.style-option{padding:12px}.prompt-actions{gap:8px}.prompt-actions select{font-size:11px;padding:9px 6px}.creation-footer{align-items:flex-end}.creation-footer .hint{font-size:10px;max-width:160px}.creation-footer .primary{padding:10px 15px}.series-option .hint{width:100%;margin:0}.reference-actions .primary{flex:1;min-width:0}.reference-actions{gap:8px}.reference-actions button{font-size:11px;padding:10px}.section-title h2{font-size:21px}.project-search{width:100%;margin:0}.project-search input{width:100%}.toolbar-actions{width:100%}.toolbar-actions select{flex:1;min-width:0;max-width:none;width:100px}.toolbar-actions .ghost{padding:8px 10px;font-size:11px}.series-projects,.film-projects{grid-template-columns:1fr}.series-episodes{grid-template-columns:1fr}.tabs{padding:0 16px;gap:22px}.tabs button{font-size:12px}.plan-body{padding:20px}.storyboard-grid{grid-template-columns:minmax(0,1fr)}.story-media{height:215px}.film-review-panel{padding:0 20px}.asset-toolbar{flex-wrap:wrap;gap:8px;padding:12px}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.asset-card{padding:10px}.asset-card b{font-size:10px}.asset-card .hint{font-size:10px}.asset-card a{font-size:11px}.asset-select{left:14px;top:14px}.asset-card img,.asset-card video{height:140px}.toast{right:16px;bottom:16px;max-width:calc(100vw - 32px)}.job{flex-wrap:wrap}.job-right{flex-direction:row;justify-content:start;width:100%;min-width:0}.film-heading,.film-footer{flex-wrap:wrap}.home-projects{margin-top:28px}}
/* Per-shot choices and project-scoped libraries. */
.scene-generation-options{margin:16px 0;border:1px solid var(--line);border-radius:9px;background:#fafbfe;min-width:0}.scene-generation-options>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;padding:11px 12px;font-size:12px;font-weight:600;color:#485b82}.scene-generation-options>summary span{font-size:10px;color:var(--muted);font-weight:400}.scene-generation-options[open]>summary{border-bottom:1px solid var(--line)}.scene-generation-options>small{display:block;margin:0 12px 12px;font-size:10px}.video-options-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;padding:13px}.video-options-fields>div{min-width:0}.video-options-fields label{display:block;font-size:11px;margin:0 0 6px}.video-options-fields select,.video-options-fields input{width:100%;min-width:0;padding:9px 10px;border:1px solid #dce3ee;border-radius:7px;font-size:11px;background:#fff}.video-option-model,.video-option-frames,.video-options-hint{grid-column:1/-1}.video-option-frames input+label{margin-top:10px}.video-options-hint{font-size:10px;margin:0;line-height:1.75}.shot-actual-config{font-size:10px;line-height:1.8;color:#78869d;padding:8px 0;overflow-wrap:anywhere}.shot-actual-config span{color:#4d6189;font-weight:600}.inline-task-error{display:flex;align-items:flex-start;gap:9px;flex-wrap:wrap}.inline-task-error span{overflow-wrap:anywhere;flex:1;min-width:100px}.inline-task-error button{font-size:10px;min-height:31px;padding:6px 8px}.video-retry-dialog{max-height:calc(100dvh - 32px);overflow-y:auto;width:min(580px,calc(100vw - 32px))}.dialog-eyebrow{font-size:9px;font-weight:650;letter-spacing:1.3px;color:#92a0b7}.video-retry-dialog h2{margin-top:5px}.video-retry-dialog .video-options-fields{padding:0;gap:16px}.video-retry-dialog select,.video-retry-dialog input{font-size:12px;padding:11px}.retry-original{padding:13px 15px;border:1px solid #e6eaf2;background:#f8faff;border-radius:9px;margin:0 0 19px;display:grid;gap:5px;font-size:11px;color:#75849c;overflow-wrap:anywhere}.retry-original b{color:#556780;font-size:11px}.retry-original small{color:#bd535b;font-size:11px}.video-retry-dialog .dialog-error{margin-top:12px}.project-groups{display:grid;grid-template-columns:minmax(0,1fr);gap:17px}.project-group{border:1px solid var(--line);border-radius:12px;background:#fff;min-width:0;overflow:hidden;box-shadow:var(--shadow)}.project-group-summary{display:flex;align-items:center;gap:15px;list-style:none;cursor:pointer;padding:20px 23px;min-width:0}.project-group-summary::-webkit-details-marker{display:none}.project-group-summary:focus-visible{outline:2px solid var(--blue);outline-offset:-3px}.project-group-summary:before{content:'›';width:18px;flex:0 0 18px;font-size:23px;color:#8594ad;transition:transform .15s}.project-group[open]>.project-group-summary:before{transform:rotate(90deg)}.project-group-title{font-size:15px;font-weight:600;overflow-wrap:anywhere}.project-group-subtitle{display:block;font-size:10px;color:var(--muted);line-height:1.8;margin-top:3px}.project-group-heading{flex:1;min-width:0}.project-group-stats{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;font-size:11px;color:#7e8b9f}.project-group-count{font-size:12px;font-weight:650;color:#4c5e80;white-space:nowrap}.project-group-body{padding:0 22px 22px;border-top:1px solid #eff2f7}.project-group-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;font-size:11px;color:#73809a}.project-group-actions label{display:flex;align-items:center;gap:7px}.project-group-items.asset-grid{margin-top:0;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:15px}.project-group-items.queue-list{display:block;padding-top:18px}.project-group .job{background:#fbfcff;border-color:#e9edf4;margin-bottom:10px}.project-group .job:last-child{margin-bottom:0}.job-main{min-width:0;overflow-wrap:anywhere}.queue-task-meta{color:#7184ae!important;overflow-wrap:anywhere}.job-right .retry-button{font-size:11px;padding:7px 10px;min-height:33px}.asset-card audio{width:100%;height:38px;margin-top:22px}.asset-placeholder{display:grid;place-items:center;background:#f3f6fa;height:130px;border-radius:7px;color:#94a1b6;font-size:12px}.asset-card>img,.asset-card>video{width:100%;object-fit:contain;max-height:220px;background:#f8faff}.project-groups .empty-state{background:#fff;border:1px dashed var(--line);border-radius:12px;padding:35px}.project-group-summary .badge{font-size:10px}.group-selection-count{font-size:10px;color:#8a98ae}
@media(max-width:650px){.project-group-summary{padding:17px 13px;gap:8px;align-items:flex-start;flex-wrap:wrap}.project-group-summary:before{margin-top:-2px}.project-group-stats{width:100%;padding-left:26px;justify-content:flex-start}.project-group-body{padding:0 13px 15px}.project-group-title{font-size:13px}.project-group-items.asset-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:11px}.project-group .job{flex-direction:column;align-items:stretch;padding:14px;gap:12px}.project-group .job-right{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;min-width:0;gap:8px}.video-retry-dialog form{padding:22px}.video-options-fields select{font-size:11px}.asset-toolbar{flex-wrap:wrap}.asset-toolbar button{margin-left:0}}
.project-group-select{display:flex;align-items:center;gap:8px;padding:14px 0;font-size:11px;color:#73809a}.project-group-stat-text{font-size:11px;color:#8390a4}.project-group-caret{display:none}.project-group.is-archived .project-group-title{color:#7c879a}.project-group.is-unassigned .project-group-title{color:#7e8a9f}#projects .empty-state{border:1px dashed var(--line);border-radius:12px;background:#fff;padding:28px;font-size:12px;color:var(--muted)}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation-duration:2s!important}}
