.admin-page{gap:24px;padding-bottom:24px;display:grid}.admin-hero{margin-bottom:0}.admin-hero h1{margin:8px 0 12px}.admin-access{box-sizing:border-box;border:1px solid var(--line);background:var(--panel-gradient);text-align:center;border-radius:22px;justify-items:center;gap:12px;width:100%;max-width:560px;margin:24px auto;padding:40px;display:grid}.admin-access-icon{background:rgba(var(--accent-rgb), .09);width:60px;height:60px;color:var(--accent);border-radius:18px;place-items:center;margin-bottom:10px;display:grid}.admin-access h2{letter-spacing:-.035em;margin:0;font-size:26px}.admin-access p{color:var(--muted);margin:0;font-size:13px;line-height:1.7}.admin-access form{text-align:left;gap:18px;width:100%;margin:14px 0;display:grid}.admin-access form>.MuiButton-root{gap:8px;min-height:44px}.admin-access>small{color:var(--muted);font-size:11px;line-height:1.6}.admin-groups{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;display:grid}.admin-groups>button{color:var(--text);background:var(--panel-gradient);border:1px solid var(--line);text-align:left;cursor:pointer;font:inherit;border-radius:16px;grid-template-columns:40px 1fr;align-items:center;gap:5px 12px;padding:20px;transition:border-color .18s,background .18s;display:grid}.admin-groups>button[aria-pressed=true]{border-color:var(--accent);background:rgba(var(--accent-rgb), .07)}.admin-groups>button:hover{border-color:var(--accent)}.admin-groups>button:disabled{cursor:wait}.admin-group-icon{width:40px;height:40px;color:var(--accent);background:rgba(var(--accent-rgb), .08);border-radius:12px;grid-row:span 2;place-items:center;display:grid}.admin-groups strong{font-size:13px}.admin-groups small{color:var(--muted);font-size:11px}.admin-feedback{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:12px;align-items:center;gap:10px;margin:0;padding:14px 18px;font-size:12px;line-height:1.6;display:flex}.admin-feedback>svg{color:var(--accent);flex-shrink:0}.admin-feedback.error{color:var(--accent);border-color:rgba(var(--accent-rgb), .35);background:rgba(var(--accent-rgb), .06)}.admin-editor{border:1px solid var(--line);background:var(--panel-gradient);border-radius:20px;gap:24px;padding:28px;display:grid}.admin-editor-heading{justify-content:space-between;align-items:center;gap:24px;display:flex}.admin-editor-heading h2{letter-spacing:-.035em;margin:8px 0;font-size:25px}.admin-editor-heading p{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.admin-search{min-width:230px;color:var(--muted);border:1px solid var(--line-strong);background:var(--surface);border-radius:11px;align-items:center;gap:9px;padding:11px 13px;display:flex}.admin-search input{width:100%;min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:none;padding:0;font-size:12px}.admin-search:focus-within{border-color:var(--accent)}.admin-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.admin-setting{border:1px solid var(--line);background:var(--surface);border-radius:13px;min-width:0;padding:19px}.admin-setting.modified{border-color:rgba(var(--accent-rgb), .55)}.admin-setting-field{gap:8px;display:grid}.admin-setting-label{color:var(--text);flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;font-weight:650;display:flex}.admin-setting-label small{color:var(--accent);font-size:10px;font-weight:500}.admin-setting-field code{overflow-wrap:anywhere;color:var(--muted);font-size:10px}.admin-setting-field :is(input,select){box-sizing:border-box;background:var(--surface-raised,var(--surface));width:100%;min-width:0;min-height:42px;color:var(--text);border:1px solid var(--line-strong);font:inherit;border-radius:9px;margin-top:6px;padding:10px 12px;font-size:12px}.admin-setting-field :is(input,select):focus-visible{outline:2px solid var(--accent);outline-offset:2px}.admin-setting-field input::placeholder{color:var(--muted)}.admin-setting-meta{min-height:24px;color:var(--muted);justify-content:space-between;align-items:center;gap:10px;margin-top:10px;font-size:10px;display:flex}.admin-setting-meta button{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:4px 0}.admin-setting-meta button:disabled{color:var(--muted);cursor:default}.admin-save-bar{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:18px;padding-top:20px;font-size:12px;display:flex}.admin-save-bar>div{gap:10px;display:flex}.admin-empty{color:var(--muted);text-align:center;justify-items:center;padding:40px 16px;display:grid}.admin-empty h3{color:var(--text);margin-bottom:0}.admin-page button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media (max-width:1100px){.admin-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.admin-page{gap:18px}.admin-access{margin:0;padding:24px}.admin-groups{gap:10px}.admin-groups>button{grid-template-columns:1fr;gap:8px;padding:13px}.admin-group-icon{grid-row:auto}.admin-editor{gap:20px;padding:18px}.admin-editor-heading{flex-direction:column;align-items:stretch;gap:16px}.admin-search{min-width:0}.admin-settings-grid{grid-template-columns:1fr}.admin-save-bar{flex-direction:column;align-items:stretch}.admin-save-bar>div{flex-wrap:wrap}.admin-save-bar .MuiButton-root{flex:1}}@media (prefers-reduced-motion:reduce){.admin-groups>button{transition:none}}.sidebar-utility button[aria-current=page]{color:var(--accent);background:rgba(var(--accent-rgb), .08)}.admin-model-list{grid-column:1/-1}.admin-model-list h3{margin:0 0 8px;font-size:17px}.admin-model-list h3 small{color:var(--accent);margin-left:10px;font-size:11px}.admin-model-list p{color:var(--muted);font-size:12px;line-height:1.6}.admin-model-list ul{gap:8px;padding:0;list-style:none;display:grid}.admin-model-list li{border:1px solid var(--line);background:var(--surface-raised);border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.admin-model-list li span{overflow-wrap:anywhere;font-size:12px}.admin-model-list li button{color:var(--accent);cursor:pointer;background:0 0;border:0;place-items:center;padding:8px;display:grid}.admin-model-list li button:disabled{opacity:.35;cursor:default}.admin-model-add{flex-wrap:wrap;gap:12px;margin-top:18px;display:flex}.admin-model-add>.MuiTextField-root{flex:1;min-width:160px}
.app-content>main.project-library-view,.app-content>main.project-view,.app-content>main.timeline-view{--workspace-gutter:clamp(20px, 2vw, 40px);width:calc(100% - 2 * var(--workspace-gutter));min-width:0;max-width:none;margin-inline:auto;padding-top:clamp(24px,3vh,40px);padding-bottom:64px}.project-library-view .hero{flex-wrap:wrap;gap:24px}.project-library-view .hero>div:first-child{flex:360px;min-width:0}.project-library-view .hero.project-library-heading{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.project-library-view .library-toolbar{flex-wrap:wrap}.project-library-view .project-grid:not(.project-list-layout){grid-template-columns:repeat(auto-fill,minmax(min(100%,225px),1fr));gap:16px}.project-library-view .project-card{min-width:0}.project-library-view .project-grid:not(.project-list-layout) :is(.project-card,.new-project-card){border-radius:14px;min-height:330px;padding:10px}.project-library-view .project-grid:not(.project-list-layout) .project-poster{border-radius:10px;height:120px}.project-library-view .project-grid:not(.project-list-layout) .project-poster:before{width:84px;height:84px}.project-library-view .project-grid:not(.project-list-layout) .project-poster span{font-size:29px}.project-library-view .project-grid:not(.project-list-layout) .project-copy{margin:10px 2px 0}.project-library-view .project-grid:not(.project-list-layout) .project-copy .generated-pill{letter-spacing:.05em;padding:4px 7px;font-size:9px}.project-library-view .project-grid:not(.project-list-layout) .project-copy h2{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:8px 0 6px;font-size:14px;line-height:1.4;display:-webkit-box;overflow:hidden}.project-library-view .project-copy p{margin:0;font-size:12px;line-height:1.6}.project-library-view .project-grid:not(.project-list-layout) .project-copy p{-webkit-line-clamp:2}.project-library-view .project-meta{border:0;flex-wrap:wrap;gap:12px;margin:10px 2px 0;padding:0;display:flex}.project-library-view .project-meta>div{background:0 0;border:0;border-radius:0;align-items:center;gap:5px;padding:0;display:flex}.project-library-view .project-meta dt{align-items:center;gap:4px;font-size:10px;display:inline-flex}.project-library-view .project-meta dt svg{width:12px;height:12px}.project-library-view .project-meta dd{margin:0;font-size:11px;font-weight:650}.project-library-view .micro-drama-card-style{border:0;flex-wrap:wrap;gap:5px;margin:10px 2px 0;padding:0;display:flex}.project-library-view .micro-drama-card-style>span{padding:4px 6px;font-size:9px;line-height:1.4}.project-library-view .micro-drama-card-destinations{border:0;margin-top:12px;padding:0}.project-library-view .micro-drama-card-destinations button{border-radius:8px;min-height:36px;padding:8px 10px;font-size:11px}.project-library-view .project-grid.project-list-layout{grid-template-columns:minmax(0,1fr);gap:12px}.project-library-view .project-list-layout .project-card{border-radius:14px;grid-template-rows:auto auto auto;grid-template-columns:96px minmax(0,1fr) minmax(160px,220px);align-items:center;gap:8px 18px;min-height:124px;padding:14px;display:grid}.project-library-view .project-list-layout .project-poster{border-radius:10px;grid-area:1/1/4;width:96px;height:96px;min-height:0}.project-library-view .project-list-layout .project-poster:before{width:60px;height:60px}.project-library-view .project-list-layout .project-poster span{font-size:24px}.project-library-view .project-list-layout .project-copy{grid-area:1/2/3;min-width:0;margin:0 40px 0 0}.project-library-view .project-list-layout .project-copy h2{margin:6px 0;font-size:15px}.project-library-view .project-list-layout .project-meta{grid-area:1/3;margin:0}.project-library-view .project-list-layout .micro-drama-card-style{grid-area:2/3;margin:0}.project-library-view .project-list-layout .micro-drama-card-destinations{grid-area:3/3;margin:0}.project-library-view .project-list-layout .card-topline{top:14px;right:14px}.project-library-view .project-list-layout .new-project-card{min-height:124px}.project-library-view .project-grid:not(.project-list-layout) .classic-project-card{min-height:0;padding:14px}.project-library-view .classic-project-card .card-topline{gap:8px;margin:0 2px;position:static;inset:auto}.project-library-view .classic-project-card .card-topline .generated-pill{letter-spacing:.05em;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:calc(100% - 76px);padding:4px 7px;font-size:9px;overflow:hidden}.project-card-actions{flex-shrink:0;gap:6px;display:flex}.project-delete-dialog .MuiDialog-paper{background:var(--surface);color:var(--text);border:1px solid var(--line)}.project-library-view .classic-project-card .card-topline .icon-button{flex-shrink:0;width:30px;min-width:30px;height:30px;min-height:30px}.project-library-view .project-list-layout .classic-project-card{grid-template-columns:minmax(0,1fr) minmax(160px,220px)}.project-library-view .project-list-layout .classic-project-card .card-topline{grid-area:1/1}.project-library-view .project-list-layout .classic-project-card .project-copy{grid-area:2/1/4;margin:0}.project-library-view .project-list-layout .classic-project-card :is(.project-meta,.micro-drama-card-style,.micro-drama-card-destinations){grid-column:2}.project-view>.back-button{border:1px solid var(--line);background:var(--surface);width:fit-content;min-height:32px;color:var(--muted);border-radius:8px;align-items:center;gap:7px;margin:0 0 10px;padding:6px 10px;font-size:11px;font-weight:600;text-decoration:none;display:inline-flex}.project-view>.back-button:hover{color:var(--text);border-color:var(--accent);background:var(--surface-hover)}.project-view>.back-button svg{width:14px;height:14px}.project-view>.project-detail-hero{border-radius:18px 18px 0 0;align-items:center;gap:16px;margin-bottom:0;padding:12px 16px;display:flex}.project-view .project-detail-hero .detail-title{flex:1;min-width:0}.project-view .project-detail-hero .detail-title h1{letter-spacing:-.025em;margin:4px 0 6px;font-size:clamp(19px,1.5vw,23px);line-height:1.25}.project-view .project-detail-hero .detail-title>p{-webkit-line-clamp:2;max-width:85ch;margin:0;font-size:12px;line-height:1.6}.project-view>.project-content-tabs{background:var(--surface);scrollbar-width:thin;border-top:0;border-radius:0 0 16px 16px;gap:8px;margin:0 0 16px;padding:8px 12px;display:flex;overflow-x:auto}.project-view>.project-content-tabs button{white-space:nowrap;min-height:40px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:10px;flex:1;justify-content:center;align-items:center;gap:9px;padding:8px 12px;font-size:12px;display:flex}.project-view>.project-content-tabs button.active{color:var(--text);border-color:color-mix(in srgb, var(--accent) 65%, var(--line));background:color-mix(in srgb, var(--accent) 14%, var(--surface));box-shadow:none}.project-view>.project-content-tabs button:not(.active):hover{color:var(--text);border-color:var(--line);background:var(--surface-hover)}.project-view>.project-content-tabs button>span{font-variant-numeric:tabular-nums;border-radius:6px;min-width:22px;height:20px;font-size:10px}.project-stage-content{min-width:0}.project-stage-content>.project-tab-panel{margin-top:0;padding-top:0}.project-stage-content :is(.story-script-section,.character-bible,.location-bible,.production-episodes-panel){border:1px solid var(--line);background:var(--surface);border-radius:16px;margin-top:0;overflow:clip}.project-stage-content :is(.story-script-heading,.character-bible-heading,.location-bible-heading,.production-episodes-panel>.section-heading){border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:14px;margin:0;padding:0 14px 16px;display:flex}.project-stage-content .section-heading h2{letter-spacing:-.02em;margin:5px 0;font-size:18px}.project-stage-content .section-heading p{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.project-stage-content .character-bible-utility-row{border:0;border-bottom:1px solid var(--line);background:var(--surface);border-radius:0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin:0;padding:12px 16px;display:flex}.project-stage-content .character-reference-note{flex:260px;min-width:0;margin:0;line-height:1.6}.project-stage-content .character-bible-bulk-toolbar{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.project-stage-content .character-bulk-button.MuiButton-root{border:1px solid var(--line);min-height:36px;color:var(--muted);box-shadow:none;background:0 0;border-radius:9px;padding:6px 10px;font-size:11px}.project-stage-content .character-bulk-button.MuiButton-root:hover{color:var(--accent);border-color:var(--accent);background:var(--surface-hover)}.project-stage-content .character-bulk-button.delete.MuiButton-root{color:var(--danger)}.project-stage-content .character-bulk-button.MuiButton-root:disabled{opacity:.45;color:var(--muted)}.project-stage-content :is(.character-bible-grid,.location-bible-grid,.episode-grid){overscroll-behavior:contain;scrollbar-gutter:stable;grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),230px));align-content:start;align-items:start;gap:14px;max-height:680px;margin:0;padding:18px;display:grid;overflow-y:auto}.project-stage-content .character-bible-image{aspect-ratio:1}.project-stage-content .location-bible-image{aspect-ratio:4/3}.project-stage-content :is(.character-bible-card,.location-bible-card){min-width:0;height:auto;box-shadow:none;border-radius:12px}.project-stage-content :is(.character-bible-content,.location-bible-content){padding:14px}.project-stage-content :is(.character-bible-content,.location-bible-content) h3{font-size:15px;line-height:1.4}.project-stage-content .character-voice-preview,.project-stage-content .bible-generation-prompt{min-width:0}.project-stage-content .bible-generation-prompt>summary{overflow-wrap:anywhere}.project-stage-content :is(.character-bible-empty,.compact-empty){margin:18px}.project-stage-content .character-bulk-error{margin:12px 16px}.project-stage-content .story-script-section{padding-bottom:0;position:relative}.project-stage-content .story-script-section:has(.story-script-preview-actions)>.story-script-heading{min-height:100px;padding-right:170px}.project-stage-content .story-script-preview-shell{background:var(--surface);border:0;padding:0;position:static}.project-stage-content .story-script-preview-actions{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;justify-content:flex-end;gap:8px;padding:0;display:flex;position:absolute;top:28px;right:16px}.project-stage-content .story-script-preview{background:var(--surface);max-height:640px;color:var(--text);overscroll-behavior:contain;border:0;border-radius:0;padding:clamp(18px,2vw,28px)}.project-stage-content .story-script-preview h2{color:var(--text);overflow-wrap:anywhere;font-size:clamp(23px,2.4vw,32px)}.project-stage-content .story-script-preview :is(p,.story-script-meta){color:var(--muted)}.project-stage-content .story-script-preview :is(p strong,.story-script-cue){color:var(--text)}.project-stage-content .episode-heading-actions{flex-wrap:wrap;gap:8px}.project-stage-content .episode-heading-actions .button{border-radius:9px;min-height:36px;padding:8px 12px;font-size:11px}.project-stage-content .status-legend{flex-wrap:wrap;gap:10px}.project-stage-content .episode-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))}.project-stage-content .episode-card{min-height:280px;box-shadow:none;border-radius:14px;padding:16px}.project-stage-content .episode-card-header{flex-direction:column;align-items:stretch;gap:14px;padding-right:0}.project-stage-content .generation-badge{white-space:nowrap;order:-1;align-self:flex-start;max-width:calc(100% - 82px);min-height:33px;font-size:10px}.project-stage-content .episode-number{overflow-wrap:anywhere;min-width:0;line-height:1.4}.project-stage-content .episode-card-actions{top:16px;right:16px}.project-stage-content .episode-details{flex-wrap:wrap}.project-stage-content :is(.story-script-preview,.character-bible-grid,.location-bible-grid,.episode-grid){scrollbar-width:thin;scrollbar-color:color-mix(in srgb, var(--muted) 55%, transparent) transparent}.project-stage-content :is(.story-script-preview,.character-bible-grid,.location-bible-grid,.episode-grid)::-webkit-scrollbar{width:7px}.project-stage-content :is(.story-script-preview,.character-bible-grid,.location-bible-grid,.episode-grid)::-webkit-scrollbar-track{background:0 0}.project-stage-content :is(.story-script-preview,.character-bible-grid,.location-bible-grid,.episode-grid)::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--muted) 55%, transparent);border:1px solid var(--surface);border-radius:8px}.timeline-view .timeline-heading{border-radius:16px;padding:20px}.timeline-view .timeline-heading h1{font-size:clamp(24px,2.2vw,34px)}.timeline-view .timeline-scene-tabs{gap:8px;padding-bottom:16px}.timeline-view .timeline-scene-tab{color:var(--muted);background:var(--surface);border-radius:9px;gap:10px;padding:10px 14px}.timeline-view .timeline-scene-tab.active{color:var(--accent);border-color:var(--accent);background:var(--surface-hover)}.timeline-view .timeline-scene-tab small{color:var(--muted);font-size:10px}.timeline-view .timeline-shot-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:16px}.timeline-view .video-card{border:1px solid var(--line);background:var(--surface);border-radius:17px}.timeline-view .video-card:focus-within{border-color:var(--accent)}.timeline-view .shot-preview{background:var(--surface);border:0;border-top:1px solid var(--line);min-height:155px;padding:16px}.timeline-view .shot-preview:hover{background:var(--surface-hover)}.timeline-view .shot-preview>header strong{color:var(--text);font-size:15px}.timeline-view .shot-preview>p{color:var(--muted);font-size:12px;line-height:1.65}.timeline-view .shot-preview-tags>span{border:1px solid var(--line);color:var(--muted);background:0 0;padding:4px 6px;font-size:10px}.timeline-view .video-card-actions{gap:8px;padding:12px}.timeline-view .regenerate-video{min-height:36px;color:var(--accent);background:var(--surface-hover);border-radius:9px;font-size:11px}.timeline-view .prompt-review-button{border-color:var(--line);background:var(--surface);color:var(--muted);border-radius:9px}.timeline-view .prompt-review-button.prompt-review-warning{color:var(--accent);border-color:var(--accent)}.project-view>.project-content-tabs button>.production-stage-label{min-width:0;height:auto;color:inherit;background:0 0;border-radius:0;padding:0;font-size:12px;display:inline}.project-view>.project-content-tabs button>.production-stage-number{border:1px solid var(--line);width:20px;min-width:20px;height:20px;color:var(--muted);background:0 0;border-radius:50%;padding:0}.project-view>.project-content-tabs button.active>.production-stage-number{border-color:var(--accent);background:var(--accent);color:var(--accent-ink)}.project-view>.project-content-tabs button>svg{flex:none}.project-media-switch{border:1px solid var(--line);background:var(--surface);border-bottom:0;border-radius:16px 16px 0 0;align-items:center;gap:6px;padding:10px 16px;display:flex}.project-media-switch button{min-height:40px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;align-items:center;gap:8px;padding:9px 12px;font-size:12px;display:inline-flex}.project-media-switch button[aria-selected=true]{border-color:var(--line);background:var(--surface-hover);color:var(--accent)}.project-media-switch small{background:var(--surface);min-width:22px;height:20px;color:var(--muted);font-variant-numeric:tabular-nums;border-radius:6px;place-items:center;padding:0 5px;font-size:10px;display:inline-grid}.project-media-panel :is(.character-bible,.location-bible){border-radius:0 0 16px 16px}.episode-timeline-workspace{min-height:380px;padding-left:240px;position:relative}.episode-timeline-sidebar{border-right:1px solid var(--line);flex-direction:column;width:240px;min-height:0;padding:12px;display:flex;position:absolute;inset:0 auto 0 0;overflow:hidden}.episode-list-search{border:1px solid var(--line);color:var(--muted);border-radius:9px;flex:none;align-items:center;gap:8px;padding:10px;display:flex}.episode-list-search input{width:100%;min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:0;font-size:12px}.episode-list-search:focus-within{border-color:var(--accent)}.episode-timeline-list{scrollbar-width:thin;flex-direction:column;flex:1 1 0;gap:6px;min-height:0;padding-top:12px;display:flex;overflow-y:auto}.episode-timeline-list button{width:100%;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:10px;padding:12px 10px;display:flex}.episode-timeline-list button:hover{background:var(--surface-hover)}.episode-timeline-list button[aria-current=true]{border-color:var(--accent);background:var(--surface-hover)}.episode-list-number{width:22px;color:var(--accent);flex:none;font-size:12px;font-weight:700}.episode-timeline-list button>span:nth-child(2){flex:1;gap:5px;min-width:0;display:grid}.episode-timeline-list strong{white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:1.5;display:block;overflow:hidden}.episode-timeline-list button>svg{flex:none}.episode-timeline-list small,.episode-search-empty{color:var(--muted);font-size:11px;line-height:1.6}.project-shots-content{min-width:0;padding:18px}.embedded-timeline{width:100%;min-width:0;margin:0;padding:0}.embedded-timeline .video-section{margin:0}.embedded-timeline .timeline-section-heading{flex-wrap:wrap;gap:12px;margin:0 0 16px}.embedded-timeline .timeline-section-heading h2{font-size:18px}.timeline-view .timeline-heading-actions{flex-wrap:wrap;gap:8px;display:flex}.timeline-view .timeline-heading-actions button{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--muted);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:8px 12px;font-size:11px;display:inline-flex}.timeline-view .timeline-heading-actions button:hover{color:var(--accent);border-color:var(--accent)}.prompt-workflow-select{color:var(--muted);gap:4px;font-size:10px;display:grid}.prompt-workflow-select select{border:1px solid var(--line-strong);background:var(--surface);max-width:100%;min-height:36px;color:var(--text);font:inherit;border-radius:9px;padding:7px 10px;font-size:11px}.timeline-view .timeline-references-button>span{background:var(--surface-hover);font-variant-numeric:tabular-nums;border-radius:5px;padding:2px 5px}.timeline-view .timeline-scene-tab{flex-direction:row;align-items:center;min-width:auto}.timeline-view .timeline-section-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px;display:flex}.timeline-view .timeline-section-heading>div:first-child{flex:260px}.timeline-view .timeline-section-heading h2{margin:5px 0 6px;line-height:1.3}.timeline-view .timeline-section-heading p{margin:0;line-height:1.6}.timeline-view .timeline-heading-actions{align-items:center;width:auto;margin:0}.timeline-view .timeline-heading-actions button{min-height:40px}.timeline-view .timeline-scene-toolbar{border-top:1px solid var(--line);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;padding:12px 0;display:flex}.timeline-view .timeline-scene-toolbar .timeline-scene-tabs{flex:1;gap:8px;min-width:0;margin:0;padding:0}.timeline-view .timeline-scene-toolbar .timeline-scene-tab{min-height:40px;padding:9px 13px}.timeline-view .timeline-scene-toolbar .timeline-scene-header{border:0;flex-direction:row;flex:0 auto;align-items:center;gap:16px;margin:0;padding:0;display:flex}.timeline-view .timeline-scene-toolbar .scene-title{min-width:0;display:block}.timeline-view .timeline-scene-toolbar .scene-title p{margin:0;font-size:12px;line-height:1.6}.timeline-view .timeline-scene-toolbar .generate-all-shots-button{flex:none;width:40px;height:40px;min-height:40px}.timeline-view .timeline-scene-toolbar .blocked-button-wrapper{flex:none;display:inline-flex}.timeline-view .timeline-scene{background:0 0;border:0;padding:0}.timeline-view .timeline-scene-header{margin-bottom:16px;padding:0 0 14px}.timeline-view .timeline-shot-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));align-items:stretch}.timeline-view .timeline-card-column{min-width:0}.timeline-view .video-card{flex-direction:column;height:100%;display:flex}.timeline-view .video-placeholder{aspect-ratio:auto;height:250px;min-height:250px;color:var(--muted);background:#050506;gap:9px;padding:16px}.timeline-view :is(.video-player-frame,.video-placeholder){flex-shrink:0}.timeline-view .video-player-frame{background:#050506;justify-content:center;align-items:center;height:250px;display:flex;overflow:hidden}.timeline-view .video-player-frame .asset-video-loading-frame{aspect-ratio:auto;width:100%;height:100%;min-height:0}.timeline-view .video-player-frame video{aspect-ratio:auto;object-fit:contain;width:100%;height:100%;max-height:100%}.timeline-view .video-card-footer{flex-direction:column;flex:1;display:flex;position:relative}.timeline-view .shot-preview{flex:1}.timeline-view .shot-preview>p{-webkit-line-clamp:2;min-height:3.3em;margin:12px 0}.timeline-view .shot-preview>header{flex-direction:column;gap:8px}.timeline-view .shot-preview>header>div:first-child{flex:none;width:100%;padding-right:40px}.timeline-view .shot-preview>header strong{font-size:13px}.timeline-view .shot-preview-tags{flex-wrap:nowrap;justify-content:flex-start;width:100%}.timeline-view .shot-preview-tags>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.timeline-view .shot-details-button.icon-button{z-index:1;border-radius:8px;flex:none;width:32px;height:32px;min-height:32px;position:absolute;top:8px;right:12px}.timeline-view .video-card-actions{flex-wrap:wrap}.timeline-view .video-card-actions :is(.shot-ready,.prompt-review-button){margin-left:auto}.timeline-view .video-card-actions .regenerate-video{flex:1 0 100%;justify-content:center;width:100%;margin-left:0}.timeline-view .video-card-actions>.blocked-button-wrapper{flex:1 0 100%;width:100%}.timeline-view .video-card-actions:has(>.prompt-review-button){flex-wrap:nowrap}.timeline-view .video-card-actions>.prompt-review-button{margin-left:0}.timeline-view .video-card-actions:has(>.prompt-review-button)>:is(.regenerate-video,.blocked-button-wrapper){flex:1;width:auto;min-width:0}.timeline-view .video-card-actions:has(>.prompt-review-button) .regenerate-video{white-space:normal;min-width:0}.episode-script-library{border-top:1px solid var(--line)}.episode-script-library>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:16px;font-size:12px;font-weight:600;list-style:none;display:flex}.episode-script-library>summary::-webkit-details-marker{display:none}.episode-script-library>summary>span{align-items:center;gap:8px;display:inline-flex}.episode-script-library>summary>span:last-child{color:var(--muted);font-size:11px}.episode-script-library[open]>summary>span:last-child svg{transform:rotate(90deg)}.episode-reference-dialog .MuiDialog-paper{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:18px}.episode-reference-dialog-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:16px;display:flex;padding:20px 24px!important}.episode-reference-dialog-header h2{margin:6px 0;font-size:22px}.episode-reference-dialog-header p{color:var(--muted);margin:0;font-size:12px}.episode-reference-dialog .MuiDialogContent-root{scrollbar-width:thin;padding:20px;overflow-y:auto}.episode-reference-dialog .project-media-switch{z-index:2;border-bottom:1px solid var(--line);border-radius:10px;margin-top:16px;position:sticky;top:0}.episode-reference-dialog :is(.episode-character-bible,.episode-location-bible){border-radius:12px;margin-top:16px;padding:16px}.episode-reference-dialog .episode-character-reference-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));grid-auto-columns:auto;grid-auto-flow:row;overflow-x:visible}.episode-character-reference .episode-character-reference-media{aspect-ratio:3/4}.episode-character-reference .episode-character-reference-media>img{object-fit:cover;object-position:top;height:100%}.episode-reference-preview-action{z-index:2;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.episode-reference-view-image{color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);cursor:pointer;background:#0f0f1659;border:1px solid #ffffff90;border-radius:50%;flex:0 0 28px;justify-content:center;align-items:center;width:28px;height:28px;margin:0;padding:0;display:flex;box-shadow:0 2px 12px #0003}.episode-reference-view-image>svg{flex-shrink:0;margin:0;display:block}.episode-reference-view-image:hover{background:#0f0f16a6;border-color:#fff}.episode-reference-view-image:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.episode-character-reference-media:has(.is-editing) .episode-reference-preview-action{display:none}.reference-image-viewer .MuiDialog-paper{color:#fff;background:#09090d;border-radius:0}.reference-image-viewer header{flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:12px 20px;display:flex}.reference-image-viewer h2{margin:0;font-size:16px}.reference-image-viewer .icon-button{color:#fff;background:#202027;border-color:#62626e;flex-shrink:0}.reference-image-viewer-stage{flex:1;justify-content:center;align-items:center;min-height:0;padding:0 16px 16px;display:flex}.reference-image-viewer-stage img{object-fit:contain;width:100%;height:100%;display:block}.episode-character-reference .episode-character-placeholder{height:100%;padding-bottom:100px}.episode-character-reference-overlay{z-index:1;scrollbar-width:thin;background:linear-gradient(#0000,#08090deb 28%,#08090d);max-height:calc(100% - 48px);padding:24px 12px 12px;position:absolute;inset:auto 0 0;overflow:hidden auto}.episode-character-reference .episode-character-reference-overlay h3{color:#fff;margin:0;font-size:15px;line-height:1.3}.episode-character-reference-overlay .episode-character-reference-copy{grid-template-columns:minmax(0,1fr);min-width:0;padding:0}.episode-character-reference-overlay .episode-visual-change{background:0 0;border:0;border-top:1px solid #ffffff26;border-radius:0;min-width:0;margin-top:8px;padding:8px 0 0}.episode-character-reference-overlay .episode-visual-change strong{color:#d5d5de}.episode-character-reference-overlay .episode-visual-change p{white-space:nowrap;text-overflow:ellipsis;color:#eeeef3;display:block;overflow:hidden}.episode-character-reference-overlay .episode-clothing-form small{color:#d5d5de}.episode-character-reference-overlay.is-editing{background:#08090df0;flex-direction:column;max-height:none;padding:8px 10px;display:flex;inset:44px 0 0;overflow:hidden}.episode-character-reference-overlay.is-editing h3{white-space:nowrap;text-overflow:ellipsis;flex-shrink:0;overflow:hidden}.episode-character-reference-overlay.is-editing .episode-character-reference-copy,.episode-character-reference-overlay.is-editing .episode-visual-change{flex-direction:column;flex:1;min-height:0;display:flex}.episode-character-reference-overlay.is-editing .episode-visual-change{margin-top:6px;padding-top:6px}.episode-character-reference-overlay.is-editing .episode-visual-change-heading{flex-shrink:0}.episode-character-reference-overlay.is-editing .episode-clothing-form{flex-direction:column;flex:1;gap:6px;min-height:0;margin-top:6px;display:flex}.episode-character-reference-overlay.is-editing textarea{resize:none;flex:1;height:auto;min-height:0;padding:6px}.episode-character-reference-overlay.is-editing .episode-clothing-form small,.episode-character-reference-overlay.is-editing .episode-clothing-actions{flex-shrink:0}.episode-character-reference-media>span,.episode-character-reference-media .episode-character-generate{z-index:2}.episode-reference-dialog :is(.episode-character-bible,.episode-location-bible)>header{flex-wrap:wrap;gap:12px}.episode-voice-status{color:var(--muted);margin:0;font-size:11px;line-height:1.5}.episode-character-reference-actions{flex-wrap:wrap;gap:8px;display:flex}.episode-reference-media-actions{z-index:3;flex-direction:column;gap:6px;display:flex;position:absolute;top:8px;right:8px}.episode-reference-media-actions .episode-character-generate{color:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;background:#18181f;border:1px solid #62626e;border-radius:9px;justify-content:center;align-items:center;width:32px;min-width:32px;height:32px;min-height:32px;padding:0;display:inline-flex;position:static;box-shadow:0 2px 8px #0005}.episode-reference-media-actions .episode-character-generate:hover:not(:disabled){border-color:var(--accent);color:#fff;background:#35303b}.episode-reference-media-actions .episode-character-generate:disabled{opacity:1;color:#aaaab5;cursor:not-allowed;background:#29292f;border-color:#51515c}.episode-reference-media-actions .episode-character-generate:focus-visible{outline:2px solid var(--accent);outline-offset:2px}[data-theme=light] .episode-character-reference-overlay .episode-clothing-edit.MuiIconButton-root{color:#ff9eb9;background:#21151d;border-color:#ff9eb966}[data-theme=light] .episode-character-reference-overlay .episode-clothing-edit.MuiIconButton-root:hover{background:#422334;border-color:#ff9eb9}.has-voice-controls .episode-character-reference-media>span{max-width:calc(100% - 58px)}.episode-character-voice{border-top:1px solid var(--line);background:var(--surface);align-items:center;min-height:55px;margin-top:auto;padding:10px;display:grid}.project-stage-content :is(.character-bible-grid,.location-bible-grid){scrollbar-gutter:auto;grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),214px));gap:12px;max-height:none;overflow:visible}.project-media-panel :is(.character-bible,.location-bible){background:linear-gradient(135deg, var(--surface-raised), var(--surface));border-radius:12px}.project-media-panel :is(.character-bible-heading,.location-bible-heading){border-bottom:0;padding:16px 16px 0}.project-media-panel .character-bible-utility-row{background:0 0;border-bottom:0}.project-stage-content .studio-media-card.MuiCard-root{background:#101013;border-radius:13px}.project-stage-content .studio-media-card .episode-character-reference-media{aspect-ratio:3/4;border-bottom:0}.studio-media-card .episode-character-reference-overlay{padding:24px 12px 12px}.studio-media-card .episode-character-reference-overlay.is-editing{padding:8px 10px}.studio-media-card .episode-clothing-edit.MuiIconButton-root{width:24px;min-width:24px;height:24px;min-height:24px;color:var(--accent);border:1px solid rgba(var(--accent-rgb),.25);background:rgba(var(--accent-rgb),.05);border-radius:6px;padding:0}.studio-media-description-form input{box-sizing:border-box;color:#fff;width:100%;min-width:0;font:inherit;background:#0b0b0d;border:1px solid #ffffff30;border-radius:7px;flex-shrink:0;padding:6px;font-size:10px}.studio-media-description-form .MuiButton-root{min-width:0;min-height:28px;padding:4px 8px;font-size:9px}.studio-reference-prompt-dialog .MuiDialog-paper{color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:16px}.studio-reference-prompt-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.studio-reference-prompt-heading h2{margin:0;font-size:18px}.studio-reference-prompt-dialog .bible-generation-prompt{border:0;margin:0;padding:0 24px 24px}.episode-voice-player{color:#fff;background:#303036;border-radius:18px;grid-template-columns:24px auto minmax(0,1fr) 24px;align-items:center;gap:5px;min-width:0;min-height:34px;padding:0 5px;display:grid}.episode-voice-player audio{display:none}.episode-voice-player button{width:24px;height:28px;color:inherit;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:flex}.episode-voice-player button:focus-visible{outline:2px solid var(--accent);border-radius:50%}.episode-voice-time{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:9px}.episode-voice-player input[type=range]{width:100%;min-width:0;accent-color:var(--accent);cursor:pointer;margin:0;padding:0}.episode-timeline-list button:focus-visible,.project-media-switch button:focus-visible,.episode-script-library>summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.timeline-view .shot-card-generating{border-color:var(--accent);box-shadow:0 0 0 1px rgba(var(--accent-rgb), .2), 0 0 28px rgba(var(--accent-rgb), .16)}.shot-details-dialog .MuiBackdrop-root{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0a080db3}.shot-subject-cards{flex-wrap:wrap;gap:8px;display:flex}.shot-subject-card{border:1px solid var(--line);background:var(--surface);width:54px;height:72px;color:var(--muted);border-radius:8px;flex:0 0 54px;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.shot-subject-card img{object-fit:cover;object-position:top;width:100%;height:100%;display:block}.shot-subject-card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.shot-details-dialog .shot-details-modal{overscroll-behavior:contain;width:min(960px,100% - 32px);max-width:none;max-height:calc(100dvh - 32px);color:var(--text);margin:16px;padding:0;display:block;overflow-y:auto}@media (max-width:600px){.project-library-view .project-list-layout .classic-project-card{flex-direction:column;min-height:0;display:flex}.shot-details-dialog .shot-details-modal{width:calc(100% - 24px);max-height:calc(100dvh - 24px);margin:12px}}.task-credit-spend{border-top:1px solid var(--line);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.task-credit-spend>span{color:var(--muted);align-items:center;gap:6px;font-size:11px;display:inline-flex}.task-credit-spend>strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:15px}.task-panel-header p,.task-panel .task-meta dt,.task-panel .task-id{color:var(--muted)}.task-panel-header h2,.task-card-heading strong{color:var(--text)}.micro-drama-project-modal.project-edit-modal{flex-direction:column;width:min(760px,100% - 24px);max-height:calc(100dvh - 48px);padding:0;display:flex;overflow:hidden}.project-edit-modal>.modal-header{border-bottom:1px solid var(--line);flex:none;margin:0;padding:18px 22px}.project-edit-modal>.micro-drama-modal-workspace.editing{scrollbar-width:thin;flex:1;min-height:0;margin:0;padding:0 22px 20px;display:block;overflow-y:auto}.project-edit-modal .editing .project-form-panel{width:100%;max-width:none;box-shadow:none;background:0 0;border:0;border-radius:0;margin:0;padding:20px 0 0}.project-edit-modal .project-form-panel form{gap:18px;width:100%;max-width:none;margin:0}.project-edit-modal .micro-drama-form-actions{z-index:2;border-top:1px solid var(--line);background:var(--surface);margin-inline:-22px;padding:14px 22px;position:sticky;bottom:-20px}@media (max-width:900px){.project-library-view .project-list-layout .project-card{grid-template-columns:80px minmax(0,1fr)}.project-library-view .project-list-layout .project-poster{width:80px;height:90px}.project-library-view .project-list-layout .project-copy{grid-area:1/2}.project-library-view .project-list-layout .project-meta{grid-area:2/2}.project-library-view .project-list-layout .micro-drama-card-style{grid-area:3/2}.project-library-view .project-list-layout .micro-drama-card-destinations{grid-area:4/1/auto/3}}@media (max-width:700px){.timeline-view .timeline-section-heading{align-items:flex-start;gap:12px}.timeline-view .timeline-heading-actions{width:100%}.timeline-view .timeline-scene-toolbar{flex-wrap:wrap;gap:10px}.timeline-view .timeline-scene-toolbar .timeline-scene-tabs{flex-basis:100%}.timeline-view .timeline-scene-toolbar .timeline-scene-header{flex:1;justify-content:space-between}.episode-timeline-workspace{padding-left:0}.episode-timeline-sidebar{border-right:0;border-bottom:1px solid var(--line);width:100%;max-height:240px;position:static}.episode-timeline-list{flex:auto;max-height:160px}.project-shots-content{padding:12px}.project-media-switch{flex-wrap:wrap;padding:8px}.episode-script-library>summary>span:last-child{font-size:0}.episode-reference-dialog-header{padding:16px!important}.episode-reference-dialog .MuiDialogContent-root{padding:12px}.project-library-view .hero>div:first-child{flex:0 auto}.project-view>.project-detail-hero{flex-wrap:wrap;padding:16px}.project-view .project-detail-hero .detail-title{flex-basis:100%}.project-view>.project-content-tabs button{flex:none}.project-stage-content .character-bible-bulk-toolbar{width:100%}.project-stage-content .project-media-panel .character-reference-note{flex:0 auto}.project-stage-content .project-media-panel .character-bible-bulk-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}}@media (max-width:600px){.app-content>main.project-library-view,.app-content>main.project-view,.app-content>main.timeline-view{--workspace-gutter:14px;padding-top:20px;padding-bottom:40px}.project-library-view .project-grid:not(.project-list-layout),.project-stage-content .episode-grid{grid-template-columns:minmax(0,1fr)}.project-library-view .hero{padding:22px 18px}.project-library-view .hero .format-switch-actions,.project-library-view .hero .add-button{width:100%}.project-library-view .hero .add-button{justify-content:center}.project-library-view .project-list-layout .project-card{grid-template-columns:64px minmax(0,1fr);gap:10px;padding:12px}.project-library-view .project-list-layout .project-poster{grid-row:1;width:64px;height:76px}.project-library-view .project-list-layout .project-copy h2{font-size:13px}.project-library-view .project-list-layout .project-meta,.project-library-view .project-list-layout .micro-drama-card-style{grid-column:1/3}.project-stage-content :is(.character-bible-grid,.location-bible-grid){grid-template-columns:repeat(auto-fill,minmax(min(100%,160px),1fr));max-height:540px;padding:12px}.project-stage-content .episode-grid{max-height:540px;padding:12px}.project-stage-content .story-script-preview{max-height:480px}.project-stage-content .story-script-section:has(.story-script-preview-actions)>.story-script-heading{min-height:0;padding-right:16px}.project-stage-content .story-script-preview-actions{border-bottom:1px solid var(--line);background:var(--surface);border-radius:0;padding:10px 12px;position:static}}.episode-setup-form{flex-direction:column;min-height:0;display:flex;overflow:hidden}.episode-setup-dialog .MuiDialog-paper{width:min(1180px,100% - 48px);height:min(820px,100dvh - 48px);max-height:calc(100dvh - 48px);margin:24px}.episode-setup-dialog .episode-setup-form{flex:1}.episode-setup-content.MuiDialogContent-root{flex-direction:column;gap:20px;min-height:0;padding:20px 24px 24px;display:flex}.episode-setup-steps{flex-shrink:0;grid-template-columns:1fr 1fr;gap:14px;margin:0;padding:0;list-style:none;display:grid}.episode-setup-steps li{border:1px solid var(--line);color:var(--muted);background:var(--surface-raised);border-radius:11px;align-items:center;gap:11px;padding:12px 16px;display:flex}.episode-setup-steps li[aria-current=step]{border-color:rgba(var(--accent-rgb), .3);background:rgba(var(--accent-rgb), .055);color:var(--text)}.episode-setup-step-number{border:1px solid var(--line-strong);border-radius:50%;flex-shrink:0;place-items:center;width:28px;height:28px;font-size:12px;font-weight:700;display:grid}[aria-current=step]>.episode-setup-step-number{border-color:var(--accent);background:var(--accent);color:var(--accent-ink)}.episode-setup-steps strong,.episode-setup-steps small{display:block}.episode-setup-steps strong{font-size:12px;font-weight:650}.episode-setup-steps small{color:var(--muted);margin-top:3px;font-size:10px}.episode-wizard-layout{flex:1;grid-template-columns:minmax(0,1fr) 286px;gap:20px;min-height:360px;display:grid}.episode-script-card{border:1px solid var(--line);background:var(--surface);border-radius:14px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.episode-script-card-header{border-bottom:1px solid var(--line);background:var(--panel-gradient);justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex}.episode-script-card-header .eyebrow{font-size:9px}.episode-script-card-header h3{color:var(--text);margin:6px 0 0;font-size:14px;font-weight:650}.episode-script-card-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.episode-script-card-actions .MuiButton-root{white-space:nowrap;min-height:34px;font-size:11px}.episode-script-edited{color:var(--accent);background:rgba(var(--accent-rgb), .08);border-radius:6px;padding:4px 8px;font-size:10px;font-weight:650}.episode-script-reader{overscroll-behavior:contain;scrollbar-color:var(--line-strong) transparent;flex:1;min-height:0;overflow:auto}.episode-script-reader .story-script-preview{background:var(--surface);max-height:none;color:var(--text);box-shadow:none;overflow-wrap:anywhere;border:0;border-radius:0;margin:0;padding:22px 28px;overflow:visible}.episode-script-reader .story-script-preview :is(h2,h3,h4,strong,.story-script-cue){color:var(--text)}.episode-script-reader .story-script-preview h4{border-bottom:1px solid var(--line);letter-spacing:.06em;margin:4px 0 20px;padding-bottom:14px;font-size:11px;line-height:1.7}.episode-script-reader .story-script-preview p{color:var(--muted);font-size:13px;line-height:1.85}.episode-script-reader .story-script-preview .story-script-cue{margin-top:20px;font-size:11px}.episode-script-reader .story-script-preview blockquote{color:var(--text);background:rgba(var(--accent-rgb), .035);border-left-width:2px;border-radius:0 8px 8px 0;margin:8px 0 18px;font-size:13px;line-height:1.8}.episode-script-reader.editing{padding:20px}.episode-script-reader.editing textarea{font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace}.episode-script-card-note{border-top:1px solid var(--line);color:var(--muted);flex-shrink:0;align-items:center;gap:7px;padding:11px 20px;font-size:10px;display:flex}.episode-script-card-note svg{color:var(--accent);flex-shrink:0}.episode-pacing-sidebar{min-width:0}.episode-pacing-card{border:1px solid var(--line);background:var(--panel-gradient);border-radius:14px;padding:18px}.episode-setup-card-icon{float:right;border:1px solid rgba(var(--accent-rgb), .18);width:32px;height:32px;color:var(--accent);background:rgba(var(--accent-rgb), .07);border-radius:9px;place-items:center;margin:0 0 8px 10px;display:grid}.episode-pacing-sidebar .eyebrow{font-size:9px;display:block}.episode-pacing-card h3{color:var(--text);letter-spacing:-.025em;margin:7px 0 10px;font-size:20px}.episode-pacing-sidebar p{color:var(--muted);margin:0 0 14px;font-size:11px;line-height:1.7}.episode-pacing-card .MuiInputBase-root{background:var(--surface)}.episode-pacing-card .MuiFormHelperText-root{margin-inline:0;font-size:10px}.episode-duration-presets{grid-template-columns:repeat(4,1fr);gap:7px;margin-top:12px;display:grid}.episode-duration-presets button{border:1px solid var(--line-strong);min-height:34px;color:var(--muted);background:var(--surface);font:inherit;cursor:pointer;border-radius:8px;padding:6px;font-size:11px;font-weight:600}.episode-duration-presets button:hover,.episode-duration-presets button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:rgba(var(--accent-rgb), .07)}.episode-duration-presets button:disabled{cursor:default;opacity:.5}.episode-duration-presets button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.episode-pacing-summary{border-top:1px solid var(--line);margin:14px 0 0;padding-top:2px}.episode-pacing-summary>div{justify-content:space-between;align-items:center;gap:12px;margin-top:12px;font-size:10px;display:flex}.episode-pacing-summary dt{color:var(--muted)}.episode-pacing-summary dd{text-align:right;color:var(--text);margin:0;font-weight:650}.episode-setup-footer.MuiDialogActions-root{border-top:1px solid var(--line);background:var(--surface);flex-shrink:0;justify-content:space-between;gap:16px;margin:0;padding:16px 24px}.episode-setup-footer-note{color:var(--muted);align-items:center;gap:8px;font-size:11px;display:inline-flex}.episode-setup-footer-note svg{color:var(--accent)}.episode-setup-footer-actions{align-items:center;gap:10px;display:flex;margin:0!important}.episode-setup-footer-actions .MuiButton-root{min-height:42px;font-size:12px}@media (max-width:760px){.episode-setup-dialog .MuiDialog-paper{width:calc(100% - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);margin:12px}.episode-setup-dialog .episode-reference-dialog-header{padding:16px!important}.episode-setup-dialog .episode-reference-dialog-header h2{font-size:19px}.episode-setup-content.MuiDialogContent-root{gap:14px;padding:14px}.episode-setup-steps{gap:8px}.episode-setup-steps li{gap:8px;padding:10px}.episode-setup-steps strong{font-size:10px}.episode-setup-steps small{display:none}.episode-setup-step-number{width:24px;height:24px;font-size:10px}.episode-wizard-layout{flex:none;grid-template-columns:minmax(0,1fr);gap:14px;min-height:0}.episode-script-card-header{align-items:flex-start;padding:14px}.episode-script-card-header h3{max-width:18ch;font-size:12px}.episode-script-card-actions{flex-wrap:wrap;justify-content:flex-end;max-width:132px}.episode-script-card-actions .MuiButton-root{padding:6px 9px;font-size:10px}.episode-script-reader{min-height:200px;max-height:42vh}.episode-script-reader .story-script-preview{padding:18px}.episode-script-reader.editing{padding:14px}.episode-script-card-note{padding:10px 14px}.episode-setup-footer.MuiDialogActions-root{padding:12px 14px}.episode-setup-footer-note{display:none}.episode-setup-footer-actions{width:100%}.episode-setup-footer-actions .MuiButton-contained{flex:1}}@media (pointer:coarse){.project-library-view .micro-drama-card-destinations button,.project-stage-content .character-bulk-button.MuiButton-root,.project-stage-content .episode-heading-actions .button{min-height:44px}}
.project-library-view{--library-font:Inter, ui-sans-serif, system-ui, sans-serif}.project-library-view .hero.project-library-heading{flex-direction:row;align-items:center;margin-bottom:26px}.project-library-view .library-create-button{border-radius:11px;flex-shrink:0;min-height:42px;margin-left:auto;font-size:12px}.project-library-view .project-library-heading h1{font:600 clamp(36px, 3.6vw, 52px)/1.15 var(--library-font);letter-spacing:-.055em;margin-bottom:0}.project-library-view .library-toolbar{gap:10px;margin:0 0 20px;padding:0}.project-library-view .library-search{background:var(--surface);border-radius:12px;flex:260px;min-height:44px}.project-library-view .library-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.08)}.project-library-view .library-toolbar select{background:var(--surface)}.project-library-view .library-summary{color:var(--muted);margin:0 0 20px;font-size:11px}.project-library-view .project-grid:not(.project-list-layout){grid-template-columns:repeat(auto-fill,min(100%,220px));gap:16px}.project-library-view .project-grid:not(.project-list-layout) .project-card{border-radius:14px;min-height:0;padding:6px}.project-library-view .project-card{background:linear-gradient(155deg, var(--surface-raised), var(--surface));transition:border-color .18s,box-shadow .18s,transform .18s;overflow:hidden;box-shadow:0 4px 18px #0000000f}.project-library-view .project-card:hover{border-color:rgba(var(--accent-rgb),.4);box-shadow:0 12px 36px rgba(var(--accent-rgb),.08);transform:translateY(-3px)}.project-library-view .project-grid .project-card.skeleton{background:var(--surface-raised);min-height:240px;box-shadow:none}.project-library-view .project-card.skeleton:hover{border-color:var(--line);box-shadow:none;transform:none}.project-library-view .project-grid .project-card .project-poster{aspect-ratio:9/16;cursor:default;flex-shrink:0;height:auto;min-height:0}.project-library-view .project-grid:not(.project-list-layout) .project-poster{border-radius:9px;width:min(100%,144px);margin-inline:auto}.project-library-view .project-poster:before,.project-library-view .project-poster:after{display:none}.project-library-view .project-cover-art{width:100%;height:100%;transition:transform .65s;position:absolute;inset:0}.project-library-view .project-card:hover .project-cover-art{transform:scale(1.05)}.project-library-view .project-grid .project-card .project-poster .project-cover-caption{color:#e8e5f2;font:500 10px/1.2 var(--library-font);letter-spacing:.02em;background:#12131ac9;border:1px solid #ffffff24;border-radius:7px;align-items:center;gap:6px;padding:6px 9px;display:flex;position:absolute;top:10px;left:10px}.project-library-view .project-card .card-topline{inset:16px 16px auto auto}.project-library-view .project-card .project-mark{display:none}.project-library-view .project-card .card-topline .icon-button{color:#e8e5f2;background:#12131ac9;border-color:#ffffff24;border-radius:8px;width:30px;height:30px}[data-theme=light] .project-library-view .classic-project-card .card-topline .icon-button{background:var(--surface);color:var(--accent);border-color:var(--line-strong)}[data-theme=light] .project-library-view .classic-project-card .card-topline .icon-button:hover:not(:disabled){background:var(--surface-hover);color:var(--accent);border-color:var(--accent)}[data-theme=light] .project-library-view .classic-project-card .card-topline .danger-icon:hover:not(:disabled){color:var(--danger);border-color:var(--danger);background:#fff0f3}.project-library-view .project-grid:not(.project-list-layout) .project-copy{margin:8px 8px 0}.project-library-view .project-grid:not(.project-list-layout) .project-copy .generated-pill{border:1px solid rgba(var(--accent-rgb),.16);color:var(--accent);background:rgba(var(--accent-rgb),.055);letter-spacing:.04em;border-radius:6px;padding:4px 7px;font-size:9px;line-height:1.4;display:inline-block}.project-library-view .project-grid:not(.project-list-layout) .project-copy h2{font:600 15px/1.4 var(--library-font);letter-spacing:-.025em;margin:8px 0 6px}.project-library-view .project-copy p{color:var(--muted);font-size:12px;line-height:1.7}.project-library-view .project-grid:not(.project-list-layout) .project-copy p{line-height:1.5}.project-library-view .project-grid:not(.project-list-layout) .project-meta{gap:8px;margin:8px 8px 0}.project-library-view .project-meta dt{color:var(--muted)}.project-library-view .project-grid:not(.project-list-layout) .micro-drama-card-style{gap:4px;margin:8px}.project-library-view .micro-drama-card-style>span{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:5px;padding:4px 6px;font-size:9px}.project-library-view .project-grid:not(.project-list-layout) .micro-drama-card-destinations{border-top:1px solid var(--line);margin:auto 8px 3px;padding-top:6px}.project-library-view .micro-drama-card-destinations button{min-height:36px;color:var(--text);background:0 0;border:0;border-radius:8px;padding:8px 0;font-size:11px}.project-library-view .micro-drama-card-destinations button svg{color:var(--accent)}.project-library-view .micro-drama-card-destinations button:hover{color:var(--accent);background:0 0}.project-library-view :is(button,select):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.project-library-view .project-list-layout .project-card{border-radius:14px;padding:16px}.project-library-view .project-list-layout .project-poster{border-radius:9px}.project-library-view .project-grid.project-list-layout .project-cover-caption{display:none}.project-library-view .project-list-layout .project-copy h2{font:600 17px/1.4 var(--library-font);letter-spacing:-.025em}@media (max-width:600px){.project-library-view .hero.project-library-heading{margin-bottom:22px}.project-library-view .library-search{flex-basis:100%}.project-library-view .project-grid:not(.project-list-layout){gap:18px}.project-library-view .project-list-layout .project-copy h2{font-size:16px}}@media (prefers-reduced-motion:reduce){.project-library-view .project-cover-art,.project-library-view .project-card{transition:none}.project-library-view .project-card:hover,.project-library-view .project-card:hover .project-cover-art{transform:none}}
.studio-guide{border:1px solid rgba(var(--accent-rgb),.2);background:linear-gradient(110deg, rgba(var(--accent-rgb),.08), transparent 80%), var(--surface);color:var(--text);border-radius:12px;align-items:center;gap:12px;min-width:0;margin:16px 0;padding:12px 14px;display:flex}.studio-guide-spark{width:30px;height:30px;color:var(--accent);background:rgba(var(--accent-rgb),.09);border-radius:10px;flex:none;place-items:center;display:grid}.studio-guide-copy{flex:1;min-width:0}.studio-guide-copy strong{font-size:12px;font-weight:600;line-height:1.5;display:block}.studio-guide-copy strong>span{color:var(--accent);text-transform:uppercase;letter-spacing:.08em;margin-right:8px;font-size:9px;display:inline-block}.studio-guide-copy p{color:var(--muted);margin:3px 0 0;font-size:11px;line-height:1.6}.studio-guide-dismiss{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid}.studio-guide-dismiss:hover{color:var(--text);background:var(--surface-hover)}.studio-guide-restore{border:1px solid var(--line);background:var(--surface);color:var(--muted);font:inherit;cursor:pointer;border-radius:8px;align-items:center;gap:6px;margin:10px 0;padding:5px 8px;font-size:10px;display:inline-flex}[data-guide-target=true][data-guide-target]:not(:disabled):not([aria-disabled=true]){box-shadow:0 0 0 2px var(--accent), 0 0 0 5px rgba(var(--accent-rgb),.13), 0 0 22px rgba(var(--accent-rgb),.14);animation:2.8s ease-in-out infinite studio-guide-glow}@keyframes studio-guide-glow{50%{box-shadow:0 0 0 2px var(--accent), 0 0 0 7px rgba(var(--accent-rgb),.05), 0 0 30px rgba(var(--accent-rgb),.2)}}.shot-details-modal>.studio-guide{margin:16px 28px}.studio-guide-dismiss:focus-visible,.studio-guide-restore:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media (max-width:600px){.studio-guide{gap:8px;padding:10px}.shot-details-modal>.studio-guide{margin-inline:16px}}@media (prefers-reduced-motion:reduce){[data-guide-target=true]{animation:none!important}}
[data-theme=light] .cc,[data-theme=light] .cc.cc-editor{--cc-muted:#69596f;--cc-line:#653e4e40}[data-theme=light] .cc.cc-creative-library{--cc-line:#764b6340}[data-theme=light] .cc-canvas-showcase{background:radial-gradient(at 45% 35%,#e8d3e580,#0000 65%),linear-gradient(145deg,#fbf0f6,#eff0fa)}[data-theme=light] .cc-showcase-label,[data-theme=light] .cc-showcase-footer strong>span,[data-theme=light] .cc-showcase-footer>span{color:var(--cc-muted)}[data-theme=light] .cc-showcase-footer{color:var(--cc-ink)}[data-theme=light] .cc-showcase-label>span{background:var(--cc-accent)}[data-theme=light] .cc-preview-format{background:radial-gradient(at 10% 0,#f0d5e4,#0000 75%),linear-gradient(155deg,#fff6fb,#e6e8f6);border-color:#bb8ca9;box-shadow:0 16px 45px #6b385e1a}[data-theme=light] .cc-preview-format>svg{color:#97406d;filter:none}[data-theme=light] .cc-art-orbit{background:linear-gradient(155deg,#0000,#ce85b51a);border-color:#ae76a666}[data-theme=light] .cc-art-orbit.two{border-color:#7485b466}[data-theme=light] .cc-art-orbit.three{border-color:#bd789755}[data-theme=light] .cc-art-cross{border-color:#865d7f}[data-theme=light] .cc-showcase-timeline>span{background:linear-gradient(120deg,#ae6d8b26,#70619c19);border-color:#aa6b8c66}[data-theme=light] .cc-showcase-timeline>i{background:var(--cc-accent)}[data-theme=light] .cc-edit-art{background:radial-gradient(at 20% 10%,#e7c2d680,#0000 70%),linear-gradient(140deg,#f6eaf3,#eeeaf6)}[data-theme=light] .cc-edit-card[data-tone="1"] .cc-edit-art{background:linear-gradient(140deg,#e4f0f5,#eeedf8)}[data-theme=light] .cc-edit-card[data-tone="2"] .cc-edit-art{background:linear-gradient(140deg,#f6e9da,#f4eaf2)}[data-theme=light] .cc-edit-format{color:#734962;background:#ffffffb3;border-color:#b486a45c}[data-theme=light] .cc-edit-resolution{color:#69596f}[data-theme=light] .cc-edit-frames>span{background:linear-gradient(160deg,#cd8cb12c,#695d8f12);border-color:#a36b9566}[data-theme=light] .cc-edit-frames>span:nth-child(2){color:#8d3f6d;border-color:#a36b95;box-shadow:0 12px 25px #6b385e19}[data-theme=light] .cc-creative-library .cc-edit-delete{color:#82345c;background:#fff9fc;border-color:#b486a480}[data-theme=light] .cc-creative-library .cc-edit-delete:hover{background:#f5dce7!important;border-color:#a52c57!important}[data-theme=light] .cc-creative-library .cc-create-submit,[data-theme=light] .cc-editor .cc-primary,[data-theme=light] .cc-editor .cc-delivery-controls .cc-primary,[data-theme=light] .cc-editor .cc-gen-panel .cc-gen-primary{background:var(--action-gradient);color:#fff;border-color:#0000}[data-theme=light] .cc-editor .cc-delivery-controls .cc-primary:hover:not(:disabled),[data-theme=light] .cc-editor .cc-gen-panel .cc-gen-primary:hover:not(:disabled),[data-theme=light] .cc-creative-library .cc-create-submit:hover:not(:disabled){background:#93204e}[data-theme=light] .cc :is(input,textarea)::placeholder{color:var(--cc-muted);opacity:1}[data-theme=light] .cc input:is([type=checkbox],[type=radio]){accent-color:var(--cc-accent)}[data-theme=light] .cc-import-shots label.unavailable{opacity:1;color:var(--cc-muted);background:var(--cc-bg)}[data-theme=light] .cc :is(input,select,textarea):focus-visible{outline:2px solid var(--cc-accent);outline-offset:2px}[data-theme=light] .cc-editor :is(.cc-canvas-tools,.cc-canvas-layers) button[aria-pressed=true],[data-theme=light] .cc-editor .cc-timeline-tools button[aria-pressed=true]{color:#882446;background:#f5dce7;border-color:#b76987}[data-theme=light] .cc-editor .cc-gen-tabs button[aria-selected=true],[data-theme=light] .cc-editor .cc-dock-actions button[aria-pressed=true]{background:#f9eaf1;border-color:#b76987}[data-theme=light] .cc-editor .cc-playhead{border-color:#b52660}[data-theme=light] .cc-editor .cc-playhead>span{background:#b52660}[data-theme=light] .cc .cc-trim-handle{background:#8d3f6d1a}[data-theme=light] .cc-trim-handle:after{background:#96516f}[data-theme=light] .cc .cc-trim-handle:hover{background:#8d3f6d33}[data-theme=light] .cc .cc-trim-handle:focus-visible{outline-color:#882446}[data-theme=light] .cc .cc-snap-guide{border-color:#885b00}[data-theme=light] .cc-snap-guide span{color:#704b00;background:#fff0c6}[data-theme=light] .cc-track-empty{color:var(--cc-muted);opacity:1}[data-theme=light] .cc-editor :is(.cc-track-overlay,.cc-track-image) .cc-timeline-clip{color:#284e52;background:#dcebed;border-color:#689094}[data-theme=light] .cc-editor .cc-track-shape .cc-timeline-clip{color:#603769;background:#ecddf1;border-color:#a075ac}[data-theme=light] .cc-waveform{color:#256655;opacity:.65}[data-theme=light] .cc-timeline-clip small{opacity:1}[data-theme=light] .cc-editor .cc-save-state:not(.saved){color:#865800}[data-theme=light] .cc .cc-error{color:#a11e3d;background:#fff0f2;border:1px solid #dc92a2}[data-theme=light] .cc .cc-notice{color:#5d3d7c;background:#f2edf9;border:1px solid #c5b0da}[data-theme=light] .cc-workflow-dialog .cc-workflow-description{color:var(--muted)}[data-theme=light] :is(.cc.cc-editor,.cc.cc-creative-library) button:disabled{opacity:1;color:#82727d;box-shadow:none;cursor:not-allowed;background:#f5f0f3;border-color:#ded3db}[data-theme=light] .MuiPaper-root.cc-workflow-dialog{background:var(--surface);color:var(--text);border-color:var(--line-strong);box-shadow:0 24px 90px #6b385e26}
[data-theme=light] :is(.project-view,.timeline-view,.micro-drama-project-modal,.episode-form-modal,.shot-details-modal) :is(input,textarea)::placeholder{color:var(--muted);opacity:1}[data-theme=light] :is(.project-view,.timeline-view,.micro-drama-project-modal,.episode-form-modal,.shot-details-modal) :is(input,textarea,select):not(.MuiInputBase-input):focus-visible{outline:2px solid var(--accent);outline-offset:2px}[data-theme=light] :is(.micro-drama-project-modal,.shot-details-modal) .MuiInputBase-input{box-shadow:none;background:0 0;outline:none}[data-theme=light] :is(.episode-character-bible,.episode-location-bible)>header h2,[data-theme=light] :is(.shot-block h3,.shot-detail-row strong,.idea-panel h2,.project-form-heading h2,.project-form-placeholder h2,.project-idea-generator h3,.episode-beat-editor h3){color:var(--text)}[data-theme=light] :is(.shot-kicker,.shot-field h4,.pose-list h4,.dialog-list h4,.shot-detail-list h4,.shot-detail-row p,.pose-row p,.dialog-list blockquote footer,.full-reference-prompt-review pre,.project-form-placeholder p,.idea-panel>p,.project-idea-generator p){color:var(--muted)}[data-theme=light] .shot-detail-row small{color:#4f6527}[data-theme=light] :is(.shot-block-header,.shot-detail-list,.shot-detail-row,.pose-list,.dialog-list){border-color:var(--line)}[data-theme=light] .shot-tags .shot-ready{color:var(--success);background:#e4f2e8}[data-theme=light] .timeline-view .video-placeholder{color:#c3bac2}[data-theme=light] .episode-clothing-error{color:#b52648}[data-theme=light] .episode-character-reference-overlay .episode-clothing-error{color:var(--danger)}[data-theme=light] .episode-character-reference-overlay :is(.episode-clothing-edit,.episode-clothing-edit.MuiIconButton-root){color:var(--accent);border-color:var(--line-strong);background:var(--surface)}[data-theme=light] .episode-character-reference-overlay :is(.episode-clothing-edit,.episode-clothing-edit.MuiIconButton-root):hover{border-color:var(--accent);background:var(--surface-hover)}[data-theme=light] .episode-character-reference-overlay :is(.button.secondary,.episode-clothing-actions .MuiButton-outlined){color:var(--accent);border-color:var(--line-strong);background:var(--surface)}[data-theme=light] .episode-character-reference-overlay .episode-clothing-form textarea{color:#34212b;background:#fff9fc;border-color:#bd8ba4}[data-theme=light] .episode-character-reference-media:has(.episode-character-reference-overlay.is-editing) .episode-reference-media-actions{display:none}[data-theme=light] .episode-character-reference-overlay.is-editing .episode-visual-change-heading strong{white-space:normal;overflow-wrap:anywhere;min-width:0}[data-theme=light] .episode-voice-player{color:#442b39;background:#f2e7ee}[data-theme=light] .episode-voice-player button{color:inherit}[data-theme=light] .episode-voice-player input[type=range]{accent-color:var(--accent)}[data-theme=light] .story-script-fullscreen-modal{background:var(--canvas)}[data-theme=light] .story-script-fullscreen-header h2{color:var(--text)}[data-theme=light] :is(.story-script-icon.icon-button,.story-script-editor>label,.story-script-editor-footer,.story-script-preview blockquote){color:var(--muted)}[data-theme=light] .story-script-editor-footer code{color:var(--accent)}[data-theme=light] .story-script-fullscreen-body .story-script-preview{border-color:var(--line);box-shadow:var(--panel-shadow)}[data-theme=light] .episode-character-reference,[data-theme=light] .project-stage-content .studio-media-card.MuiCard-root{background:var(--surface);border-color:var(--line-strong)}[data-theme=light] .episode-character-reference-overlay{color:var(--text);background:linear-gradient(#0000,#fffffff7 22px,#fff 38px)}[data-theme=light] .episode-character-reference-overlay.is-editing{background:var(--surface)}[data-theme=light] .episode-character-reference .episode-character-reference-overlay h3{color:var(--text)}[data-theme=light] .episode-character-reference-overlay .episode-visual-change{border-color:var(--line)}[data-theme=light] .episode-character-reference-overlay .episode-visual-change strong,[data-theme=light] .episode-character-reference-overlay .episode-clothing-form small{color:var(--muted)}[data-theme=light] .episode-character-reference-overlay .episode-visual-change p{color:var(--text)}[data-theme=light] .studio-media-description-form input{background:var(--canvas-soft);color:var(--text);border-color:var(--line-strong)}[data-theme=light] .episode-reference-media-actions .episode-character-generate{color:var(--accent);background:#fffbfdf5;border-color:#bd8ba4;box-shadow:0 2px 8px #70334c1a}[data-theme=light] .episode-reference-media-actions .episode-character-generate:hover:not(:disabled){background:var(--surface-hover);color:var(--accent);border-color:var(--accent)}[data-theme=light] .episode-reference-media-actions .episode-character-generate:disabled{color:#82717b;background:#f2edf0;border-color:#cdbdc6}[data-theme=light] .episode-character-reference-media>span{color:#70465d;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#f4eaf0f5;border:1px solid #cfb9c6}[data-theme=light] .episode-character-reference-media>span.ready{color:#286444;background:#e8f4ecf5;border-color:#9cbca8}[data-theme=light] .episode-reference-view-image{color:var(--accent);background:#fffbfdd9;border-color:#bd8ba4;box-shadow:0 2px 12px #70334c26}[data-theme=light] .episode-reference-view-image:hover{border-color:var(--accent);background:#fff}[data-theme=light] .project-delete-dialog .delete-modal h2{color:var(--text)}[data-theme=light] :is(.project-library-view,.project-view,.timeline-view,.micro-drama-project-modal,.episode-reference-dialog,.shot-details-modal,.story-script-fullscreen-modal,.shot-length-modal) .icon-button{background:var(--surface);border-color:var(--line-strong);color:var(--muted)}[data-theme=light] :is(.project-library-view,.project-view,.timeline-view,.micro-drama-project-modal,.episode-reference-dialog,.shot-details-modal,.story-script-fullscreen-modal,.shot-length-modal) .icon-button:hover:not(:disabled){background:var(--surface-hover);border-color:var(--accent);color:var(--accent)}[data-theme=light] :is(.project-library-view,.project-view,.timeline-view) .danger-icon:hover:not(:disabled){color:var(--danger);border-color:var(--danger);background:#fff0f3}[data-theme=light] .timeline-view .video-upscale-button{color:var(--accent);background:#fffbfdf5;border-color:#bd8ba4;box-shadow:0 2px 8px #70334c1a}[data-theme=light] .timeline-view .video-upscale-button:hover:not(:disabled),[data-theme=light] .timeline-view .prompt-review-button:hover:not(:disabled){color:var(--accent);background:var(--surface-hover);border-color:var(--accent)}[data-theme=light] :is(.project-view,.timeline-view,.project-library-view,.micro-drama-project-modal,.episode-reference-dialog,.shot-details-modal,.story-script-fullscreen-modal) :is(.button,.generate-all-shots-button,.regenerate-video,.prompt-review-button,.video-upscale-button):disabled{opacity:1;color:#806b79;box-shadow:none;cursor:not-allowed;background:#f4eef2;border-color:#d6c4ce}[data-theme=light] .project-stage-content .character-bulk-button.Mui-disabled{opacity:1;color:#806b79!important;background:#f4eef2!important;border-color:#d6c4ce!important}[data-theme=light] :is(.project-view,.timeline-view,.project-library-view,.micro-drama-project-modal,.episode-reference-dialog,.shot-details-modal,.story-script-fullscreen-modal) button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
