.screenplay-route-state{color:#20242b;text-align:center;background:#f7f8fa;place-content:center;justify-items:center;gap:.75rem;min-height:100dvh;padding:2rem;display:grid}.screenplay-route-state h1,.screenplay-route-state p{margin:0}.screenplay-creation-workspace,.screenplay-dialog-content,.screenplay-select-menu,.screenplay-action-menu,.screenplay-entity-editor{--screenplay-accent:#4f73d9;--screenplay-accent-strong:#365bbd;--screenplay-accent-soft:#edf1ff;--screenplay-bg:#f5f6f8;--screenplay-panel:#fff;--screenplay-panel-soft:#f8f9fb;--screenplay-text:#20242b;--screenplay-muted:#727986;--screenplay-line:#e4e7ec;--screenplay-danger:#c94d4d;font-family:Inter,SF Pro Text,PingFang SC,Microsoft YaHei,sans-serif}.screenplay-creation-workspace{--screenplay-scrollbar-size:10px;--screenplay-side-width:680px;background:var(--screenplay-bg);width:100%;min-width:320px;min-height:100dvh;color:var(--screenplay-text);overflow:hidden}.screenplay-creation-workspace button,.screenplay-creation-workspace input,.screenplay-creation-workspace textarea,.screenplay-dialog-content button,.screenplay-dialog-content input,.screenplay-dialog-content select,.screenplay-dialog-content textarea{font:inherit}.screenplay-stage-title,.screenplay-editor-actions,.screenplay-footer-actions{align-items:center;display:flex}.screenplay-layout{grid-template-columns:214px minmax(0, 1fr) 7px var(--screenplay-side-width);align-items:stretch;min-height:calc(100dvh - 76px);display:grid;position:relative}.screenplay-stage-nav{border-right:1px solid var(--screenplay-line);background:var(--screenplay-panel);padding:18px 12px}.screenplay-nav-label{color:var(--screenplay-muted);letter-spacing:.08em;margin:0 10px 12px;font-size:12px;font-weight:500}.screenplay-stage-list{gap:6px;display:grid}.screenplay-stage-button{cursor:pointer;width:100%;color:var(--screenplay-text);text-align:left;background:0 0;border:0;border-radius:10px;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px;display:grid}.screenplay-stage-button:hover{background:var(--screenplay-panel-soft)}.screenplay-stage-button[aria-current=step]{background:var(--screenplay-accent-soft);color:var(--screenplay-accent-strong)}.screenplay-step-number{border:1px solid var(--screenplay-line);background:var(--screenplay-panel);border-radius:50%;place-items:center;width:26px;height:26px;font-size:13px;display:grid}.screenplay-stage-button[aria-current=step] .screenplay-step-number{border-color:var(--screenplay-accent);background:var(--screenplay-accent);color:#fff}.screenplay-stage-copy{min-width:0;display:grid}.screenplay-stage-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;overflow:hidden}.screenplay-stage-copy span{color:var(--screenplay-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:12px;overflow:hidden}.screenplay-stage-dot{background:#c6cbd3;border-radius:50%;width:7px;height:7px}.screenplay-stage-dot.is-draft{background:#e9a441}.screenplay-stage-dot.is-confirmed{background:#4aa77a}.screenplay-stage-dot.is-needs_review{background:#d96565}.screenplay-stage-short{display:none}.screenplay-main{--screenplay-main-inset:22px;min-width:0;min-height:0;padding:var(--screenplay-main-inset);background:var(--screenplay-panel);grid-template-rows:auto minmax(340px,1fr) auto;display:grid;overflow:hidden}.screenplay-editor-header{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px;display:flex}.screenplay-editor-header h1{margin:0;font-size:21px}.screenplay-editor-header p{color:var(--screenplay-muted);margin:7px 0 0;font-size:13px}.screenplay-stage-title{flex-wrap:wrap;gap:9px}.screenplay-status-badge{color:var(--screenplay-muted);background:#eef0f3;border-radius:999px;padding:4px 9px;font-size:11px}.screenplay-status-badge.is-draft{color:#9b691e;background:#fff4df}.screenplay-status-badge.is-confirmed{color:#267551;background:#e8f7ef}.screenplay-status-badge.is-needs_review{color:#ad3f3f;background:#fff0f0}.screenplay-editor-actions,.screenplay-footer-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}.screenplay-editor-actions{align-self:flex-end;align-items:flex-end;gap:6px}.screenplay-editor-actions .screenplay-button,.screenplay-version-list-toolbar .screenplay-button{min-height:32px;padding:4px 9px;font-size:12px}.screenplay-footer-actions .screenplay-button,.screenplay-entity-detail .screenplay-dialog-footer .screenplay-button{min-width:0;height:34px;min-height:34px;padding:0 12px;font-size:12px;line-height:1.5}.screenplay-editor-actions .screenplay-view-toggle{border-radius:8px;padding:2px}.screenplay-editor-actions .screenplay-view-toggle button{border-radius:6px;width:28px;height:26px}.screenplay-editor-actions .screenplay-view-toggle button svg{width:14px;height:14px}.screenplay-button{cursor:pointer;border:1px solid var(--screenplay-line);background:var(--screenplay-panel);min-height:36px;color:var(--screenplay-text);border-radius:8px;justify-content:center;align-items:center;padding:7px 12px;font-size:12px;display:inline-flex}.screenplay-button:hover:not(:disabled){color:var(--screenplay-accent-strong);border-color:#c8d1ec}.screenplay-button:disabled{cursor:default;opacity:.5}.screenplay-button.is-primary{border-color:var(--screenplay-accent);background:var(--screenplay-accent);color:#fff}.screenplay-button.is-primary:hover:not(:disabled){border-color:var(--screenplay-accent-strong);background:var(--screenplay-accent-strong);color:#fff}.screenplay-button.is-danger{border-color:var(--screenplay-danger);background:var(--screenplay-danger);color:#fff}.screenplay-button.is-danger:hover:not(:disabled){color:#fff;background:#a83c3c;border-color:#a83c3c}.screenplay-editor-surface{border-block:1px solid var(--screenplay-line);background:var(--screenplay-panel);min-height:0;display:grid;overflow-y:auto}.screenplay-editor-surface.is-full-bleed-scroll{width:calc(100% + var(--screenplay-main-inset));background:linear-gradient(var(--screenplay-line), var(--screenplay-line)) top left / calc(100% - var(--screenplay-scrollbar-size)) 1px no-repeat border-box, linear-gradient(var(--screenplay-line), var(--screenplay-line)) bottom left / calc(100% - var(--screenplay-scrollbar-size)) 1px no-repeat border-box, var(--screenplay-panel);scrollbar-color:#20242b80 transparent;scrollbar-width:thin;border-block-color:#0000;padding-right:0}.screenplay-editor-surface.is-full-bleed-scroll::-webkit-scrollbar{width:var(--screenplay-scrollbar-size)}.screenplay-editor-surface.is-full-bleed-scroll::-webkit-scrollbar-track{box-shadow:none;background:0 0;border:0}.screenplay-editor-surface.is-full-bleed-scroll::-webkit-scrollbar-thumb{background:#20242b80 padding-box content-box;border:3px solid #0000;border-radius:999px}.screenplay-editor-surface.is-full-bleed-scroll>.screenplay-entity-editor,.screenplay-editor-surface.is-full-bleed-scroll>.screenplay-shot-editor{padding-right:calc(var(--screenplay-main-inset) + var(--screenplay-main-inset))}.screenplay-editor-placeholder{text-align:center;place-content:center;justify-items:center;gap:8px;min-height:100%;padding:40px;display:grid}.screenplay-editor-placeholder>span{background:var(--screenplay-accent-soft);width:52px;height:52px;color:var(--screenplay-accent-strong);border-radius:16px;place-items:center;font-weight:700;display:grid}.screenplay-editor-placeholder h2{margin:4px 0 0;font-size:17px}.screenplay-editor-placeholder p{max-width:420px;color:var(--screenplay-muted);margin:0;font-size:13px;line-height:1.7}.screenplay-core-editor,.screenplay-entity-editor{padding:22px}.screenplay-core-editor{grid-template-rows:auto minmax(280px,1fr) auto;gap:14px;width:100%;min-height:0;display:grid}.screenplay-field{color:var(--screenplay-text);gap:7px;font-size:12px;display:grid}.screenplay-field>span{font-weight:500}.screenplay-field input,.screenplay-field select,.screenplay-field textarea{border:1px solid var(--screenplay-line);background:var(--screenplay-panel-soft);width:100%;color:var(--screenplay-text);border-radius:10px;outline:none;padding:11px 12px;line-height:1.6}.screenplay-field input:focus,.screenplay-field select:focus,.screenplay-field textarea:focus{border-color:var(--screenplay-accent);box-shadow:0 0 0 3px #4f73d921}.screenplay-field input:disabled,.screenplay-field select:disabled,.screenplay-field textarea:disabled{opacity:.65}.screenplay-world-field{grid-template-rows:auto minmax(0,1fr);min-height:0}.screenplay-markdown-editor{border:1px solid var(--screenplay-line);background:var(--screenplay-panel-soft);height:100%;min-height:0;color:var(--screenplay-text);border-radius:10px;grid-template-rows:minmax(0,1fr);display:grid;overflow:hidden}.screenplay-markdown-editor:focus-within{border-color:var(--screenplay-accent);box-shadow:0 0 0 3px #4f73d921}.screenplay-markdown-editor>.milkdown{grid-template-rows:minmax(0,1fr);height:100%;min-height:0;display:grid;overflow:hidden}.screenplay-markdown-editor .ProseMirror{box-sizing:border-box;background:var(--screenplay-panel-soft);height:100%;min-height:0;color:var(--screenplay-text);outline:none;padding:11px 12px;font-family:inherit;font-size:13px;line-height:1.7;overflow-y:auto}.screenplay-markdown-editor .ProseMirror>:first-child{margin-top:0}.screenplay-markdown-editor .ProseMirror>:last-child{margin-bottom:0}.screenplay-markdown-editor .ProseMirror h1,.screenplay-markdown-editor .ProseMirror h2,.screenplay-markdown-editor .ProseMirror h3{margin:1em 0 .45em;line-height:1.35}.screenplay-markdown-editor .ProseMirror h1{font-size:20px}.screenplay-markdown-editor .ProseMirror h2{font-size:17px}.screenplay-markdown-editor .ProseMirror h3{font-size:15px}.screenplay-markdown-editor .ProseMirror p,.screenplay-markdown-editor .ProseMirror ul,.screenplay-markdown-editor .ProseMirror ol,.screenplay-markdown-editor .ProseMirror blockquote{margin:.6em 0}.screenplay-markdown-editor .ProseMirror ul,.screenplay-markdown-editor .ProseMirror ol{padding-left:22px}.screenplay-markdown-editor .ProseMirror ul{list-style:outside}.screenplay-markdown-editor .ProseMirror ol{list-style:decimal}.screenplay-markdown-editor .ProseMirror blockquote{border-left:3px solid var(--screenplay-accent);color:var(--screenplay-muted);padding-left:10px}.screenplay-markdown-editor .ProseMirror code{background:var(--screenplay-panel);border-radius:4px;padding:2px 4px;font-family:SFMono-Regular,Consolas,monospace;font-size:.92em}.screenplay-markdown-editor .ProseMirror table{border-collapse:collapse;width:100%}.screenplay-markdown-editor .ProseMirror th,.screenplay-markdown-editor .ProseMirror td{border:1px solid var(--screenplay-line);text-align:left;padding:6px 8px}.screenplay-markdown-editor .ProseMirror a{color:var(--screenplay-accent-strong)}.screenplay-markdown-editor .ProseMirror[data-placeholder]>p:only-child:has(br.ProseMirror-trailingBreak):before{float:left;height:0;color:var(--screenplay-muted);content:attr(data-placeholder);pointer-events:none}.screenplay-markdown-editor.is-disabled{opacity:.65}.screenplay-entity-editor{grid-template-rows:minmax(0,1fr);display:grid}.screenplay-view-toggle{background:var(--screenplay-panel-soft);border-radius:9px;padding:3px;display:flex}.screenplay-view-toggle button{cursor:pointer;width:32px;height:30px;color:var(--screenplay-muted);background:0 0;border:0;border-radius:7px;place-items:center;padding:0;display:grid}.screenplay-view-toggle button svg{width:16px;height:16px}.screenplay-view-toggle button[aria-pressed=true]{background:var(--screenplay-panel);color:var(--screenplay-accent-strong);box-shadow:0 1px 4px #00000014}.screenplay-entity-add-button{gap:6px;min-height:32px;padding:5px 9px}.screenplay-entity-add-button svg{width:15px;height:15px}.screenplay-empty-state{text-align:center;place-content:center;justify-items:center;gap:8px;min-height:280px;display:grid}.screenplay-empty-state>span{background:var(--screenplay-accent-soft);width:48px;height:48px;color:var(--screenplay-accent);border-radius:14px;place-items:center;font-size:24px;display:grid}.screenplay-empty-state h3,.screenplay-empty-state p{margin:0}.screenplay-empty-state p{color:var(--screenplay-muted);font-size:12px}.screenplay-entity-list{align-content:start;display:grid}.screenplay-entity-item{border-bottom:1px solid var(--screenplay-line);background:0 0;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 0;display:grid}.screenplay-entity-editor.is-cards .screenplay-entity-list{grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr));gap:12px;padding-top:6px}.screenplay-entity-editor.is-cards .screenplay-entity-item{background:var(--screenplay-panel-soft);border:0;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:start;padding:14px}.screenplay-entity-editor.is-cards .screenplay-entity-image{grid-column:1/-1;width:100%;height:148px}.screenplay-entity-image{background:var(--screenplay-panel-soft);width:56px;height:56px;color:var(--screenplay-accent);border-radius:9px;place-items:center;font-weight:500;display:grid;position:relative;overflow:hidden}.screenplay-entity-image:is(button){font:inherit;border:0;padding:0}.screenplay-entity-image.is-previewable{cursor:zoom-in}.screenplay-entity-image.is-previewable:after{content:"";background:#0f172a00;transition:background .14s;position:absolute;inset:0}.screenplay-entity-image.is-previewable:hover:after{background:#0f172a1f}.screenplay-entity-image.is-previewable:focus-visible{outline:2px solid var(--screenplay-accent);outline-offset:2px}.screenplay-entity-image img{object-fit:cover;width:100%;height:100%}.screenplay-entity-image-placeholder{background:var(--screenplay-accent-soft);color:var(--screenplay-accent-strong);place-items:center;display:grid;position:absolute;inset:0}.screenplay-entity-image small{color:#fff;background:#00000094;border-radius:999px;padding:2px 5px;font-size:9px;position:absolute;bottom:4px;right:4px}.screenplay-entity-collection{min-width:0;padding-right:calc(var(--screenplay-main-inset) + var(--screenplay-main-inset))}.screenplay-main.is-entity-detail-layout{grid-template-rows:auto minmax(0,1fr) auto}.screenplay-editor-surface.is-entity-detail-surface{border-block:1px solid var(--screenplay-line);background:var(--screenplay-panel);width:100%;overflow:hidden}.screenplay-entity-split{grid-template-columns:minmax(0, var(--screenplay-entity-list-width,15%)) 9px minmax(0, 1fr);min-width:0;height:100%;min-height:0;display:grid;overflow:hidden}.screenplay-entity-split>.screenplay-entity-editor{overscroll-behavior:contain;scrollbar-width:thin;min-width:0;min-height:0;padding:18px 12px 18px 0;overflow-y:auto}.screenplay-entity-split>.screenplay-entity-editor.is-cards .screenplay-entity-list{grid-template-columns:repeat(auto-fill,minmax(min(160px,100%),1fr));padding-top:0}.screenplay-entity-split .screenplay-entity-item{cursor:pointer;min-width:0;box-shadow:inset 0 0 0 1px var(--screenplay-line)}.screenplay-entity-split .screenplay-entity-item:is(:hover,:focus-visible,.is-selected){box-shadow:inset 0 0 0 2px var(--screenplay-accent);outline:none}.screenplay-entity-split .screenplay-entity-item.is-selected{background:var(--screenplay-accent-soft)}.screenplay-entity-split .screenplay-empty-state{grid-column:1/-1;padding:12px}.screenplay-entity-split:has(.screenplay-empty-state){grid-template-columns:minmax(0,1fr)}.screenplay-entity-resize-handle{cursor:col-resize;touch-action:none;-webkit-user-select:none;user-select:none;background:0 0;border:0;width:9px;height:100%;min-height:0;padding:0;position:relative}.screenplay-entity-resize-handle:before{background:var(--screenplay-line);content:"";width:1px;position:absolute;inset:0 auto 0 4px}.screenplay-entity-resize-handle:is(:hover,:active,:focus-visible):before{background:var(--screenplay-accent);width:3px;left:3px}.screenplay-entity-resize-handle:focus-visible{outline:none}.screenplay-entity-detail{background:var(--screenplay-panel);border:0;border-radius:0;min-width:0;height:100%;min-height:0;position:relative;overflow:hidden}.screenplay-entity-detail>.screenplay-dialog-shell{grid-template-rows:auto minmax(0,1fr) auto;height:100%;min-height:0}.screenplay-entity-detail:has(>.screenplay-entity-detail-side:not(:empty)){grid-template-columns:minmax(0, 1fr) 9px minmax(0, min(var(--screenplay-image-panel-width,360px), 65%));display:grid}.screenplay-image-panel-resize-handle{display:none}.screenplay-entity-detail:has(>.screenplay-entity-detail-side:not(:empty))>.screenplay-image-panel-resize-handle{display:block}.screenplay-entity-detail>.screenplay-dialog-shell{min-width:0;overflow:hidden}.screenplay-entity-detail-side{min-width:0;height:100%;min-height:0;overflow:hidden;container-type:inline-size}.screenplay-entity-detail-side:empty{display:none}.screenplay-entity-detail-side>.screenplay-image-generation-panel{background:var(--screenplay-panel);width:100%;min-width:0;height:100%;min-height:0;box-shadow:none;border-left:0;animation:none;position:static}@container (width<=300px){.screenplay-entity-detail-side .screenplay-image-generation-history{grid-template-columns:minmax(0,1fr)}.screenplay-entity-detail-side .screenplay-image-generation-panel-header{flex-wrap:wrap;padding:14px 12px}.screenplay-entity-detail-side .screenplay-image-generation-panel-body{padding:12px}}.screenplay-entity-detail .screenplay-dialog-header{border-bottom:0;min-height:64px;padding:18px 24px}.screenplay-entity-detail .screenplay-dialog-header h2{margin:0;font-size:16px;font-weight:600}.screenplay-entity-detail .screenplay-dialog-body{overscroll-behavior:contain;scrollbar-width:thin;grid-template-rows:auto minmax(180px,1fr) auto;align-content:stretch;gap:22px;min-height:0;padding:0 24px 24px;overflow-y:auto}.screenplay-entity-detail .screenplay-field{align-content:start;gap:9px;min-width:0;font-size:13px}.screenplay-entity-detail .screenplay-field:nth-child(2){grid-template-rows:auto minmax(0,1fr);align-content:stretch;min-height:180px}.screenplay-entity-detail .screenplay-field :is(input,textarea){border-radius:8px;width:100%;min-width:0;font-size:14px;line-height:1.75}.screenplay-entity-detail .screenplay-field textarea{resize:none;height:100%;min-height:150px}.screenplay-entity-detail .screenplay-image-generation-heading{flex-wrap:wrap;gap:8px}.screenplay-entity-detail .screenplay-dialog-images{gap:12px}.screenplay-entity-detail .screenplay-dialog-images>:is(figure,.screenplay-upload-placeholder){aspect-ratio:1;flex:none;width:min(128px,100%);height:auto}.screenplay-entity-detail .screenplay-dialog-footer{background:var(--screenplay-panel);border-top:0;flex-wrap:wrap;min-height:68px;padding:14px 24px}@media (width<=1120px){.screenplay-main.is-entity-detail-layout{height:max(600px,100dvh - 76px)}}@media (width<=640px){.screenplay-entity-split>.screenplay-entity-editor{padding-right:8px}.screenplay-entity-detail .screenplay-dialog-header,.screenplay-entity-detail .screenplay-dialog-footer{padding:14px 12px}.screenplay-entity-detail .screenplay-dialog-body{padding:0 12px 16px}}.screenplay-entity-copy{min-width:0}.screenplay-entity-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;display:block;overflow:hidden}.screenplay-entity-copy p{color:var(--screenplay-muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:5px 0 0;font-size:12px;line-height:1.55;display:-webkit-box;overflow:hidden}.screenplay-entity-editor.is-cards .screenplay-entity-copy{display:contents}.screenplay-entity-editor.is-cards .screenplay-entity-copy strong{grid-area:2/1;align-self:center;min-width:0}.screenplay-entity-editor.is-cards .screenplay-entity-copy p{grid-area:3/1/auto/-1;margin:0}.screenplay-entity-editor.is-cards .screenplay-entity-item>.screenplay-more-button{grid-area:2/2}.screenplay-overflow-tooltip{z-index:130;color:#fff;overflow-wrap:anywhere;white-space:pre-wrap;background:#20242b;border-radius:8px;max-width:min(420px,100vw - 32px);padding:8px 10px;font-size:12px;line-height:1.6;box-shadow:0 8px 24px #0f172a38}.screenplay-overflow-tooltip-arrow{fill:#20242b}.screenplay-more-button{cursor:pointer;width:32px;height:32px;color:var(--screenplay-muted);background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid}.screenplay-more-button svg{width:16px;height:16px}.screenplay-more-button:hover{background:var(--screenplay-panel-soft);color:var(--screenplay-accent)}.screenplay-action-menu{z-index:80;border:1px solid var(--screenplay-line);background:var(--screenplay-panel);border-radius:9px;min-width:112px;padding:4px;box-shadow:0 12px 32px #181f2f2e}.screenplay-action-item{cursor:pointer;color:var(--screenplay-text);border-radius:6px;outline:none;padding:8px 10px;font-size:12px}.screenplay-action-item[data-highlighted]{background:var(--screenplay-accent-soft);color:var(--screenplay-accent-strong)}.screenplay-action-item.is-danger{color:var(--screenplay-danger)}.screenplay-context-menu{z-index:100;display:grid;position:fixed}.screenplay-context-menu .screenplay-action-item{text-align:left;background:0 0;border:0;width:100%}.screenplay-context-menu .screenplay-action-item:hover,.screenplay-context-menu .screenplay-action-item:focus-visible{background:var(--screenplay-accent-soft);color:var(--screenplay-accent-strong);outline:none}.screenplay-context-menu .screenplay-action-item.is-danger:hover,.screenplay-context-menu .screenplay-action-item.is-danger:focus-visible{color:var(--screenplay-danger)}.director-resource-list>.screenplay-entity-editor{padding:0}.director-resource-list .screenplay-empty-state{min-height:220px}.director-resource-list .screenplay-entity-item{grid-template-columns:52px minmax(0,1fr) auto;gap:10px;padding:11px 2px}.director-resource-list .screenplay-entity-image{width:52px;height:52px}.screenplay-entity-item.is-openable{cursor:pointer}.screenplay-entity-item.is-openable:hover{background:var(--screenplay-panel-soft)}.screenplay-dialog-overlay{z-index:90;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a94;position:fixed;inset:0}.screenplay-dialog-content{z-index:91;border:1px solid var(--screenplay-line);background:var(--screenplay-panel);width:min(620px,100vw - 32px);max-height:min(760px,100dvh - 48px);color:var(--screenplay-text);border-radius:14px;padding:0;transition:width .18s;position:fixed;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 24px 70px #0f172a47}.screenplay-dialog-content:has(.screenplay-image-generation-panel){width:min(980px,100vw - 32px)}.screenplay-dialog-content:has(.screenplay-image-generation-panel)>.screenplay-dialog-shell{width:calc(100% - 360px)}.screenplay-dialog-shell{max-height:inherit;grid-template-rows:auto minmax(0,1fr) auto;display:grid}.screenplay-dialog-header{border-bottom:1px solid var(--screenplay-line);justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;display:flex}.screenplay-dialog-header h2{margin:0;font-size:17px}.screenplay-dialog-header p{color:var(--screenplay-muted);margin:5px 0 0;font-size:11px;line-height:1.5}.screenplay-dialog-close{cursor:pointer;width:32px;height:32px;color:var(--screenplay-muted);background:0 0;border:0;border-radius:8px;place-items:center;padding:0;font-size:22px;font-weight:300;line-height:1;display:grid}.screenplay-dialog-close:hover{background:var(--screenplay-panel-soft);color:var(--screenplay-text)}.screenplay-dialog-close:focus-visible{outline:2px solid var(--screenplay-accent);outline-offset:2px}.screenplay-dialog-close:disabled{cursor:default;opacity:.55}.screenplay-dialog-body{gap:14px;padding:20px;display:grid;overflow-y:auto}.screenplay-dialog-footer{border-top:1px solid var(--screenplay-line);justify-content:flex-end;gap:8px;padding:14px 20px;display:flex}.screenplay-workspace-entity-dialog{width:min(760px,100vw - 32px)}.screenplay-workspace-entity-dialog .screenplay-dialog-body>label,.screenplay-workspace-entity-dialog .director-character-form-grid label{color:var(--screenplay-text);gap:7px;font-size:12px;display:grid}.screenplay-workspace-entity-dialog .screenplay-dialog-body>label>input,.screenplay-workspace-entity-dialog .screenplay-dialog-body>label>textarea,.screenplay-workspace-entity-dialog .director-character-form-grid input,.screenplay-workspace-entity-dialog .director-character-form-grid textarea{border:1px solid var(--screenplay-line);background:var(--screenplay-panel-soft);width:100%;color:var(--screenplay-text);border-radius:10px;outline:none;padding:11px 12px;line-height:1.6}.screenplay-workspace-entity-dialog .screenplay-dialog-body>label>input:focus,.screenplay-workspace-entity-dialog .screenplay-dialog-body>label>textarea:focus,.screenplay-workspace-entity-dialog .director-character-form-grid input:focus,.screenplay-workspace-entity-dialog .director-character-form-grid textarea:focus{border-color:var(--screenplay-accent);box-shadow:0 0 0 3px #4f73d921}.screenplay-dialog-images{flex-wrap:wrap;gap:8px;display:flex}.screenplay-dialog-images figure{background:var(--screenplay-panel-soft);width:72px;height:72px;color:var(--screenplay-muted);border-radius:9px;place-items:center;margin:0;display:grid;position:relative;overflow:hidden}.screenplay-dialog-images img{object-fit:cover;width:100%;height:100%}.screenplay-dialog-images.is-resource figure.is-video{width:min(260px,100%);height:146px}.screenplay-dialog-images.is-resource figure.is-audio{width:min(320px,100%);height:72px;padding:7px}.screenplay-dialog-images.is-resource video{object-fit:contain;background:#111827;width:100%;height:100%}.screenplay-dialog-images.is-resource audio{width:100%}.screenplay-dialog-image-empty{color:var(--screenplay-muted);margin:0;font-size:11px;line-height:1.5}.screenplay-image-remove{z-index:3;cursor:pointer;color:#fff;opacity:0;background:#0000009e;border:0;border-radius:50%;place-items:center;width:20px;height:20px;padding:0;transition:opacity .14s;display:grid;position:absolute;top:3px;right:3px}.screenplay-image-preview{z-index:2;cursor:pointer;color:#fff;opacity:0;background:#0f172a6b;border:0;place-items:center;width:100%;padding:0;transition:opacity .14s;display:grid;position:absolute;inset:0}.screenplay-image-preview svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7px;width:24px;height:24px}.screenplay-dialog-images figure:hover :is(.screenplay-image-preview,.screenplay-image-remove),.screenplay-dialog-images figure:focus-within :is(.screenplay-image-preview,.screenplay-image-remove){opacity:1}.screenplay-image-remove:focus-visible,.screenplay-image-preview:focus-visible{opacity:1;outline-offset:-3px;outline:2px solid #fff}.screenplay-dialog-images>.screenplay-upload-placeholder{background:var(--screenplay-accent-soft);width:72px;height:72px;color:var(--screenplay-accent-strong);border:1px dashed #b9c4e8;border-radius:9px;flex:none;place-items:center;padding:0;display:grid;position:static}.screenplay-dialog-images>.screenplay-upload-placeholder:hover:not(:disabled){border-color:var(--screenplay-accent);background:#e4eaff}.screenplay-dialog-images>.screenplay-upload-placeholder:disabled{cursor:default;opacity:.5}.screenplay-upload-placeholder svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6px;width:25px;height:25px}.screenplay-upload-input{display:none}.screenplay-image-preview-overlay{z-index:110;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#313d533b;position:fixed;inset:0}.screenplay-image-preview-dialog{z-index:111;color:#20242b;background:#fff;border:1px solid #e5e8ee;border-radius:16px;grid-template-rows:54px minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);width:min(960px,100vw - 64px);min-width:0;height:min(640px,100dvh - 64px);font:14px/1.5 Inter,PingFang SC,Microsoft YaHei,sans-serif;display:grid;position:fixed;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 24px 90px #263b6226,0 4px 16px #263b620a}.screenplay-image-preview-dialog *{box-sizing:border-box}.screenplay-image-preview-dialog button{cursor:pointer;font:inherit}.screenplay-image-preview-dialog button:disabled{cursor:default;opacity:.32}.screenplay-image-preview-dialog button:focus-visible{outline-offset:2px;outline:3px solid #aebff5}.screenplay-image-preview-dialog svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.screenplay-image-preview-dialog>header{border-bottom:1px solid #e4e7ec;align-items:center;gap:10px;min-width:0;padding:0 16px;display:flex}.screenplay-image-preview-icon{color:#4f73d9;background:#edf1ff;border-radius:8px;flex-shrink:0;place-items:center;width:30px;height:30px;display:grid}.screenplay-image-preview-heading{flex:1;min-width:0}.screenplay-image-preview-heading h2{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;font-weight:600;overflow:hidden}.screenplay-image-preview-heading p{color:#727986;text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:11px;overflow:hidden}.screenplay-image-preview-counter{color:#727986;font-variant-numeric:tabular-nums;white-space:nowrap;border:1px solid #e4e7ec;border-radius:6px;flex-shrink:0;padding:3px 9px;font-size:11px}.screenplay-image-preview-stage{background:#f5f6f8;min-width:0;min-height:0;position:relative;overflow:hidden}.screenplay-image-preview-viewport{touch-action:none;place-items:center;display:grid;position:absolute;inset:0;overflow:hidden}.screenplay-image-preview-viewport>img{object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;transform-origin:50%;width:100%;min-width:0;height:100%;min-height:0;transition:opacity .16s;display:block}.screenplay-image-preview-viewport>img.is-loading{opacity:0}.screenplay-image-preview-loading{color:#727986;pointer-events:none;align-content:center;justify-items:center;gap:10px;display:grid;position:absolute;inset:0}.screenplay-image-preview-loading>span{border:2px solid #dfe5f2;border-top-color:#4f73d9;border-radius:50%;width:24px;height:24px;animation:.8s linear infinite screenplay-preview-loading}.screenplay-image-preview-loading p{margin:0;font-size:12px}@keyframes screenplay-preview-loading{to{transform:rotate(360deg)}}.screenplay-image-preview-viewport.is-zoomed{cursor:grab}.screenplay-image-preview-viewport.is-dragging{cursor:grabbing}.screenplay-image-preview-error{color:#727986;padding:20px;font-size:13px}.screenplay-image-preview-nav{color:#6c7584;background:#fff;border:1px solid #e1e5ed;border-radius:9px;place-items:center;width:36px;height:42px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 2px 6px #1d2d4605}.screenplay-image-preview-nav:hover:not(:disabled){color:#4f73d9;background:#fafdff;border-color:#c2cff0}.screenplay-image-preview-nav.is-previous{left:10px}.screenplay-image-preview-nav.is-next{right:10px}.screenplay-image-preview-toolbar{flex-shrink:0;align-items:center;gap:2px;display:flex}.screenplay-image-preview-tool{color:#727986;background:0 0;border:0;border-radius:7px;flex-shrink:0;place-items:center;width:32px;height:32px;padding:0;display:grid}.screenplay-image-preview-tool:hover:not(:disabled){color:#4f73d9;background:#edf1ff}.screenplay-image-preview-tool.is-close:hover{color:#20242b;background:#f0f2f6}.screenplay-image-preview-zoom{color:#556071;font-variant-numeric:tabular-nums;text-align:center;min-width:48px;font-size:12px}.screenplay-image-preview-divider{background:#e4e7ec;width:1px;height:20px;margin-inline:5px}.screenplay-image-preview-dialog .screenplay-image-preview-fit{color:#727986;white-space:nowrap;background:0 0;border:0;border-radius:6px;height:30px;padding:0 9px;font-size:12px}.screenplay-image-preview-fit:hover,.screenplay-image-preview-fit[aria-pressed=true]{color:#365bbd;background:#edf1ff}.screenplay-image-preview-footer{border-top:1px solid #e4e7ec;justify-content:space-between;align-items:center;gap:16px;min-width:0;padding:10px 16px;display:flex}.screenplay-image-preview-filmstrip{scrollbar-width:thin;align-items:center;gap:10px;min-width:0;max-width:60%;padding:2px;display:flex;overflow-x:auto}.screenplay-image-preview-filmstrip button{background:#fff;border:1px solid #e4e7ec;border-radius:7px;flex-shrink:0;width:58px;height:38px;padding:2px;overflow:hidden}.screenplay-image-preview-filmstrip button[aria-pressed=true]{border-color:#4f73d9;box-shadow:0 0 0 2px #4f73d91a}.screenplay-image-preview-filmstrip img{object-fit:cover;border-radius:4px;width:100%;height:100%;display:block}@media (width<=700px){.screenplay-image-preview-dialog{border-radius:12px;grid-template-rows:52px minmax(0,1fr) auto;width:calc(100vw - 24px);height:min(560px,100dvh - 32px,72vw + 220px)}.screenplay-image-preview-dialog>header{gap:9px;padding:0 14px}.screenplay-image-preview-nav{width:30px;height:36px}.screenplay-image-preview-nav.is-previous{left:7px}.screenplay-image-preview-nav.is-next{right:7px}.screenplay-image-preview-footer{flex-wrap:wrap;gap:8px;padding:8px 12px}.screenplay-image-preview-filmstrip{justify-content:safe center;gap:7px;max-width:100%}.screenplay-image-preview-filmstrip button{width:52px;height:34px}.screenplay-image-preview-toolbar{gap:0}.screenplay-image-preview-divider{margin-inline:2px}.screenplay-image-preview-dialog .screenplay-image-preview-fit{padding-inline:7px}}@media (prefers-reduced-motion:reduce){.screenplay-image-preview-viewport>img{transition:none}.screenplay-image-preview-loading>span{animation:none}}.screenplay-form-error{color:var(--screenplay-danger);margin:0;font-size:12px}.screenplay-image-generation-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.screenplay-image-generation-heading>span{font-weight:500}.screenplay-image-generation-heading>small{color:var(--screenplay-muted);font-size:10px;font-weight:400}.screenplay-image-generation-tools{gap:5px;display:flex}.screenplay-image-generation-tools>button{cursor:pointer;border:1px solid var(--screenplay-line);background:var(--screenplay-panel);width:30px;height:30px;color:var(--screenplay-muted);border-radius:8px;place-items:center;padding:0;display:grid}.screenplay-image-generation-tools>button:hover:not(:disabled),.screenplay-image-generation-tools>button.is-active{background:var(--screenplay-accent-soft);color:var(--screenplay-accent-strong);border-color:#c8d1ec}.screenplay-image-generation-tools>button:disabled{cursor:default;opacity:.5}.screenplay-image-generation-tools svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:16px;height:16px}.screenplay-image-generation-tools button:first-child svg{fill:currentColor;stroke:none}.screenplay-image-generation-panel{z-index:2;border-left:1px solid var(--screenplay-line);background:var(--screenplay-panel-soft);grid-template-rows:auto minmax(0,1fr);width:360px;animation:.18s both screenplay-image-panel-in;display:grid;position:absolute;top:0;bottom:0;right:0}@keyframes screenplay-image-panel-in{0%{opacity:0;transform:translate(12px)}to{opacity:1;transform:none}}.screenplay-image-generation-panel-header{border-bottom:1px solid var(--screenplay-line);justify-content:space-between;align-items:center;gap:12px;min-height:68px;padding:14px 18px;display:flex}.screenplay-image-generation-panel-header>div{gap:4px;min-width:0;display:grid}.screenplay-image-generation-panel-header strong{font-size:14px}.screenplay-image-generation-panel-header span{color:var(--screenplay-muted);font-size:10px;line-height:1.4}.screenplay-image-generation-panel-header>button{cursor:pointer;width:30px;height:30px;color:var(--screenplay-muted);background:0 0;border:0;border-radius:8px;flex:none;place-items:center;padding:0;font-size:20px;display:grid}.screenplay-image-generation-panel-header>button:hover:not(:disabled){background:var(--screenplay-panel);color:var(--screenplay-text)}.screenplay-image-generation-panel-header>button:disabled{cursor:default;opacity:.5}.screenplay-image-generation-panel-body{overscroll-behavior:contain;scrollbar-color:#20242b80 transparent;scrollbar-width:thin;min-height:0;padding:18px;overflow-y:auto}.screenplay-image-generation-panel-body::-webkit-scrollbar{width:10px}.screenplay-image-generation-panel-body::-webkit-scrollbar-track{box-shadow:none;background:0 0;border:0}.screenplay-image-generation-panel-body::-webkit-scrollbar-thumb{background:#20242b80 padding-box content-box;border:3px solid #0000;border-radius:999px}.screenplay-image-generation-form{gap:14px;display:grid}.screenplay-image-generation-form.is-compact{grid-template-columns:1fr}.screenplay-image-generation-form.is-compact textarea{resize:vertical;min-height:138px}.screenplay-image-generation-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.screenplay-dialog-footer>.screenplay-button,.screenplay-image-generation-actions>.screenplay-button{min-width:72px;min-height:36px;padding:7px 12px;font-size:12px;line-height:1.5}.screenplay-image-generation-state{min-height:64px;color:var(--screenplay-muted);text-align:center;justify-content:center;align-items:center;gap:8px;margin:0;font-size:12px;display:flex}.screenplay-image-generation-history-shell{gap:12px;display:grid}.screenplay-image-generation-history-filter{justify-self:end;width:min(104px,100%)}.screenplay-image-generation-history-filter .screenplay-select-trigger{min-height:32px;padding:5px 8px;font-size:11px}.screenplay-image-generation-history{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.screenplay-image-generation-history-item{border:1px solid var(--screenplay-line);background:var(--screenplay-panel);border-radius:10px;align-content:start;gap:8px;min-width:0;padding:7px;display:grid}.screenplay-image-generation-history-preview{cursor:zoom-in;background:0 0;border:0;width:100%;padding:0;display:block}.screenplay-image-generation-history-preview:focus-visible{outline:2px solid var(--screenplay-accent);outline-offset:2px;border-radius:7px}.screenplay-image-generation-history-preview img,.screenplay-image-generation-placeholder{aspect-ratio:4/3;background:var(--screenplay-accent-soft);width:100%;height:auto;color:var(--screenplay-accent-strong);object-fit:cover;border-radius:7px;place-items:center;font-size:12px;font-weight:600;display:grid}.screenplay-image-generation-history-item>div{gap:4px;min-width:0;display:grid}.screenplay-image-generation-history-item header{flex-wrap:wrap;justify-content:space-between;gap:5px;display:flex}.screenplay-image-generation-history-item strong{font-size:11px}.screenplay-image-generation-history-item time,.screenplay-image-generation-history-item small{color:var(--screenplay-muted);font-size:9px}.screenplay-image-generation-history-item p{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:11px;line-height:1.45;display:-webkit-box;overflow:hidden}.screenplay-image-generation-history-item>.screenplay-button{width:100%;min-height:30px;padding:5px 8px;font-size:10px}.screenplay-image-generation-history-item>.screenplay-button.is-generating{background:var(--screenplay-accent-soft);color:var(--screenplay-accent-strong);opacity:1;border-color:#cbd7fa}.screenplay-image-generation-history-item>.screenplay-button.is-failed{color:#b42318;opacity:1;background:#fff0ee;border-color:#f2c7c2}.screenplay-image-generation-dialog{width:min(580px,100vw - 32px)}@media (width<=760px){.screenplay-dialog-content:has(.screenplay-image-generation-panel){width:min(620px,100vw - 32px)}.screenplay-dialog-content:has(.screenplay-image-generation-panel)>.screenplay-dialog-shell{width:100%}.screenplay-image-generation-panel{width:min(360px,100%);box-shadow:-18px 0 38px #181f2f29}}.screenplay-dialog-content.is-save-version{width:min(560px,100vw - 32px)}.screenplay-dialog-content.is-save-version .screenplay-field>small{color:var(--screenplay-muted);justify-self:end;font-size:10px}.screenplay-dialog-content.is-shot{width:min(720px,100vw - 32px);height:fit-content;margin:auto;inset:0;transform:none}.screenplay-shot-form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.screenplay-action-field .shot-content-editor{--studio-line:var(--screenplay-line);--studio-surface:var(--screenplay-panel);--studio-surface-soft:var(--screenplay-panel-soft);--studio-text:var(--screenplay-text);--studio-muted:var(--screenplay-muted);--studio-blue:var(--screenplay-accent)}.screenplay-action-field .shot-content-editor-input{border-radius:10px;min-height:280px;max-height:360px;padding:11px 12px;line-height:2.2}.screenplay-action-field>small{color:var(--screenplay-muted);font-size:11px;font-weight:400}.screenplay-dialogue-section{gap:10px;display:grid}.screenplay-dialogue-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.screenplay-dialogue-heading>div{gap:3px;display:grid}.screenplay-dialogue-heading strong{font-size:12px;font-weight:500}.screenplay-dialogue-heading>div span{color:var(--screenplay-muted);font-size:11px}.screenplay-dialogue-add{gap:5px;min-height:32px;padding:5px 9px}.screenplay-dialogue-add>span{font-size:16px;line-height:1}.screenplay-dialogue-empty{border:1px dashed var(--screenplay-line);background:var(--screenplay-panel-soft);color:var(--screenplay-muted);text-align:center;border-radius:10px;margin:0;padding:18px;font-size:12px}.screenplay-dialogue-list{gap:10px;display:grid}.screenplay-dialogue-item{border:1px solid var(--screenplay-line);background:var(--screenplay-panel-soft);border-radius:11px;gap:10px;padding:12px;display:grid}.screenplay-dialogue-item-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.screenplay-dialogue-item-heading strong{color:var(--screenplay-accent-strong);font-size:11px;font-weight:600}.screenplay-dialogue-item-heading button{cursor:pointer;color:var(--screenplay-danger);background:0 0;border:0;padding:2px 4px;font-size:11px}.screenplay-dialogue-item-heading button:disabled{cursor:default;opacity:.5}.screenplay-dialogue-grid{grid-template-columns:minmax(180px,.72fr) minmax(0,1.28fr);align-items:start;gap:12px;display:grid}.screenplay-dialogue-grid textarea{resize:vertical;min-height:84px}.screenplay-select-trigger{cursor:pointer;border:1px solid var(--screenplay-line);background:var(--screenplay-panel);width:100%;min-height:42px;color:var(--screenplay-text);text-align:left;border-radius:9px;justify-content:space-between;align-items:center;padding:9px 11px;display:flex}.screenplay-select-trigger-copy{align-items:center;gap:8px;min-width:0;display:flex}.screenplay-select-trigger-copy>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.screenplay-select-trigger:focus{border-color:var(--screenplay-accent);outline:none;box-shadow:0 0 0 3px #4f73d921}.screenplay-select-trigger:disabled{cursor:default;opacity:.55}.screenplay-select-menu{z-index:100;min-width:var(--radix-dropdown-menu-trigger-width);border:1px solid var(--screenplay-line);background:var(--screenplay-panel);border-radius:9px;max-height:260px;padding:4px;overflow-y:auto;box-shadow:0 14px 36px #181f2f33}.screenplay-select-option{cursor:pointer;color:var(--screenplay-text);border-radius:6px;outline:none;padding:8px 30px 8px 10px;font-size:12px;position:relative}.screenplay-select-option[data-highlighted]{background:var(--screenplay-accent-soft);color:var(--screenplay-accent-strong)}.screenplay-select-indicator{color:var(--screenplay-accent);position:absolute;right:10px}.screenplay-select-option-copy{gap:3px;min-width:0;display:grid}.screenplay-select-option-copy>strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.screenplay-select-option-copy>span{color:var(--screenplay-muted);font-size:10px;line-height:1.45}.screenplay-select-option-copy>small{color:var(--screenplay-accent-strong);font-size:9px;line-height:1.4}.screenplay-shot-editor{grid-template-rows:minmax(0,1fr);padding:22px;display:grid}.screenplay-shot-list{align-content:start;width:100%;max-width:900px;margin:0 auto;display:grid}.screenplay-shot-item{border-bottom:1px solid var(--screenplay-line);background:0 0;grid-template-columns:28px 48px minmax(0,1fr) auto;align-items:start;gap:8px;padding:20px 0;transition:opacity .15s,transform .15s;display:grid;position:relative}.screenplay-shot-item:first-child{padding-top:0}.screenplay-shot-item.is-dragging{opacity:.62}.screenplay-shot-item.is-drop-before:before,.screenplay-shot-item.is-drop-after:after{z-index:1;background:var(--screenplay-accent);content:"";pointer-events:none;border-radius:999px;height:2px;position:absolute;left:0;right:0}.screenplay-shot-item.is-drop-before:before{top:-1px}.screenplay-shot-item.is-drop-after:after{bottom:-1px}.screenplay-drag-handle{cursor:grab;width:28px;height:36px;color:var(--screenplay-muted);letter-spacing:-3px;background:0 0;border:0;border-radius:7px;place-items:center;display:grid}.screenplay-drag-handle:hover,.screenplay-drag-handle:focus{background:var(--screenplay-panel-soft);color:var(--screenplay-accent);outline:none}.screenplay-drag-handle:active{cursor:grabbing}.screenplay-shot-number{color:var(--screenplay-accent-strong);font-variant-numeric:tabular-nums;padding-top:9px;font-size:12px;font-weight:600}.screenplay-shot-copy{min-width:0}.screenplay-shot-heading{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.screenplay-shot-heading strong{font-size:14px;font-weight:500}.screenplay-shot-heading span{background:var(--screenplay-panel-soft);color:var(--screenplay-muted);border-radius:999px;padding:3px 7px;font-size:10px}.screenplay-shot-copy p{color:var(--screenplay-text);margin:7px 0;font-size:13px;line-height:1.75}.screenplay-shot-copy blockquote{max-width:560px;color:var(--screenplay-text);text-align:center;gap:4px;margin:8px auto;padding:5px 10px;font-size:13px;display:grid}.screenplay-shot-copy blockquote b{color:var(--screenplay-accent-strong);font-size:12px;font-weight:500}.screenplay-shot-copy small{color:var(--screenplay-muted);font-size:12px}.screenplay-review-editor{align-content:start;gap:16px;padding:22px;display:grid}.screenplay-review-editor h2{margin:0;font-size:17px}.screenplay-review-note{background:var(--screenplay-accent-soft);color:var(--screenplay-accent-strong);border-radius:9px;margin:0;padding:10px 12px;font-size:12px}.screenplay-review-grid{border-top:1px solid var(--screenplay-line);display:grid}.screenplay-review-row{border-bottom:1px solid var(--screenplay-line);grid-template-columns:112px minmax(0,1fr) auto;align-items:center;gap:14px;padding:15px 4px;display:grid}.screenplay-review-row>span{color:var(--screenplay-muted);font-size:11px}.screenplay-review-row>strong{font-size:12px;font-weight:500}.screenplay-review-row>em{color:#267551;background:#e8f7ef;border-radius:999px;padding:3px 7px;font-size:10px;font-style:normal}.screenplay-review-row>em.is-warning{color:#9b691e;background:#fff4df}.screenplay-review-warning{color:#8a621e;background:#fff9ed;border:1px solid #f1d39c;border-radius:9px;padding:10px 12px;font-size:12px}.screenplay-review-action{justify-content:flex-end;display:flex}.screenplay-editor-footer{justify-content:space-between;align-items:center;gap:12px;margin-top:14px;display:flex}.screenplay-footer-message{color:var(--screenplay-muted);font-size:11px}.screenplay-side{--screenplay-side-inset:16px;min-width:0;min-height:0;padding:var(--screenplay-side-inset);background:var(--screenplay-panel);grid-template-rows:auto minmax(0,1fr);display:grid}.screenplay-side-tabs{background:var(--screenplay-panel-soft);border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px;display:grid}.screenplay-side-tabs>.screenplay-side-tab{cursor:pointer;color:var(--screenplay-muted);background:0 0;border:0;border-radius:6px;padding:6px 7px;font-size:14px}.screenplay-side-tab[aria-selected=true]{background:var(--screenplay-panel);color:var(--screenplay-accent-strong);box-shadow:0 1px 4px #00000014}.screenplay-side-content{min-height:0;margin-top:18px}.screenplay-side-content.is-ai,.screenplay-side-content.is-tasks{width:calc(100% + var(--screenplay-side-inset));overflow:hidden}.screenplay-side-content.is-tasks>.shot-video-task-panel{width:100%}.screenplay-side-content.is-tasks .shot-video-task-filter-trigger{font-size:.7rem}.screenplay-side-content.is-versions{width:calc(100% + var(--screenplay-side-inset));padding-right:var(--screenplay-side-inset);overscroll-behavior:contain;scrollbar-color:#20242b80 transparent;scrollbar-width:thin;overflow-y:auto}.screenplay-side-content.is-versions::-webkit-scrollbar{width:var(--screenplay-scrollbar-size)}.screenplay-side-content.is-versions::-webkit-scrollbar-track{box-shadow:none;background:0 0;border:0}.screenplay-side-content.is-versions::-webkit-scrollbar-thumb{background:#20242b80 padding-box content-box;border:3px solid #0000;border-radius:999px}.screenplay-resize-handle{cursor:col-resize;background:0 0;border:0;width:7px;min-height:100%;padding:0;position:relative}.screenplay-resize-handle:before{content:"";background:0 0;width:1px;position:absolute;inset:0 auto 0 3px}.screenplay-resize-handle:hover:before,.screenplay-resize-handle:focus-visible:before{background:var(--screenplay-accent);width:3px}.screenplay-resize-handle:focus{outline:none}.screenplay-ai-placeholder,.screenplay-version-placeholder{text-align:center;align-content:start;justify-items:center;gap:8px;padding:46px 12px;display:grid}.screenplay-ai-placeholder>span{color:var(--screenplay-accent);font-size:30px}.screenplay-ai-placeholder h2,.screenplay-version-placeholder h2{margin:0;font-size:15px}.screenplay-ai-placeholder p,.screenplay-version-placeholder p{color:var(--screenplay-muted);margin:0;font-size:12px;line-height:1.65}.screenplay-ai-panel{grid-template-rows:auto minmax(0,1fr) auto auto;height:100%;min-height:0;display:grid;overflow:hidden}.screenplay-ai-panel.is-history{grid-template-rows:minmax(0,1fr) auto}.screenplay-ai-panel>.screenplay-ai-error{margin-right:var(--screenplay-side-inset)}.screenplay-ai-header{min-width:0;padding-right:var(--screenplay-side-inset)}.screenplay-ai-title-row{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.screenplay-ai-title-main{flex:1;align-items:center;gap:3px;min-width:0;display:flex}.screenplay-ai-title-main h3{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:18px;font-weight:600;overflow:hidden}.screenplay-ai-title-edit{flex:1;align-items:center;gap:4px;min-width:0;display:flex}.screenplay-ai-title-edit input{border:1px solid var(--screenplay-accent);background:var(--screenplay-panel);width:100%;min-width:0;color:var(--screenplay-text);outline:2px solid color-mix(in srgb, var(--screenplay-accent) 18%, transparent);border-radius:7px;padding:5px 7px;font-size:14px}.screenplay-ai-title-actions{align-items:center;gap:3px;display:flex}.screenplay-ai-title-button,.screenplay-ai-history-back{cursor:pointer;width:32px;height:32px;color:var(--screenplay-muted);background:0 0;border:0;border-radius:8px;flex:none;place-items:center;padding:0;display:grid}.screenplay-ai-title-button:hover:not(:disabled),.screenplay-ai-title-button[aria-pressed=true],.screenplay-ai-history-back:hover{background:var(--screenplay-panel-soft);color:var(--screenplay-accent)}.screenplay-ai-title-button:disabled{cursor:default;opacity:.5}.screenplay-ai-title-button svg,.screenplay-ai-history-back svg,.screenplay-ai-attach svg,.screenplay-ai-send svg{stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.screenplay-ai-header>p{color:var(--screenplay-muted);margin:6px 0 15px;font-size:12px;line-height:1.55}.screenplay-ai-attachment button{cursor:pointer;border:1px solid var(--screenplay-line);background:var(--screenplay-panel);color:var(--screenplay-text);border-radius:6px;padding:4px 7px;font-size:10px}.screenplay-ai-messages,.screenplay-ai-history{overscroll-behavior:contain;scrollbar-color:#20242b80 transparent;scrollbar-width:thin;min-height:0;overflow-y:auto}.screenplay-ai-messages::-webkit-scrollbar{width:var(--screenplay-scrollbar-size)}.screenplay-ai-history::-webkit-scrollbar{width:var(--screenplay-scrollbar-size)}.screenplay-ai-messages::-webkit-scrollbar-track{box-shadow:none;background:0 0;border:0}.screenplay-ai-history::-webkit-scrollbar-track{box-shadow:none;background:0 0;border:0}.screenplay-ai-messages::-webkit-scrollbar-thumb{background:#20242b80 padding-box content-box;border:3px solid #0000;border-radius:999px}.screenplay-ai-history::-webkit-scrollbar-thumb{background:#20242b80 padding-box content-box;border:3px solid #0000;border-radius:999px}.screenplay-ai-message-region{min-height:0;position:relative}.screenplay-ai-messages{height:100%;padding:4px var(--screenplay-side-inset) 16px 2px;align-content:start;gap:14px;display:grid}.screenplay-creation-workspace .screenplay-ai-scroll-bottom{z-index:2;cursor:pointer;border:1px solid var(--screenplay-line);background:var(--screenplay-panel);color:var(--screenplay-text);border-radius:999px;align-items:center;gap:5px;padding:7px 11px;font-size:12px;display:flex;position:absolute;bottom:10px;left:calc(50% - 8px);transform:translate(-50%);box-shadow:0 6px 18px #181f2f24}.screenplay-ai-scroll-bottom:hover{border-color:color-mix(in srgb, var(--screenplay-accent) 45%, var(--screenplay-line));color:var(--screenplay-accent-strong)}.screenplay-ai-history{padding-right:var(--screenplay-side-inset);align-content:start;display:grid}.screenplay-ai-history-title-row{align-items:center;gap:6px;margin:2px 0 10px;display:flex}.screenplay-ai-history-title-row h3{margin:0;font-size:18px;font-weight:500}.screenplay-ai-history-back{width:30px;height:30px}.screenplay-ai-history>button{cursor:pointer;border:0;border-bottom:1px solid var(--screenplay-line);color:var(--screenplay-text);text-align:left;background:0 0;gap:5px;padding:13px 2px;display:grid}.screenplay-ai-history>button:hover,.screenplay-ai-history>button[aria-current=true]{color:var(--screenplay-accent)}.screenplay-ai-history strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;overflow:hidden}.screenplay-ai-history time,.screenplay-ai-history p{color:var(--screenplay-muted);font-size:11px}.screenplay-ai-message{justify-self:start;gap:6px;max-width:92%;display:grid}.screenplay-ai-message>span{color:var(--screenplay-muted);font-size:12px}.screenplay-ai-message.is-user{justify-self:end;justify-items:end}.screenplay-ai-message.is-user>span{text-align:right}.screenplay-ai-bubble{background:var(--screenplay-panel-soft);border-radius:11px;max-width:100%;padding:10px 11px;font-size:14px;line-height:1.6}.screenplay-ai-message.is-user .screenplay-ai-bubble{background:var(--screenplay-accent-soft)}.screenplay-ai-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.screenplay-ai-markdown{gap:8px;min-width:0;display:grid}.screenplay-ai-markdown>:first-child{margin-top:0}.screenplay-ai-markdown>:last-child{margin-bottom:0}.screenplay-ai-markdown>mark{justify-self:start}.screenplay-ai-markdown :is(h1,h2,h3,h4,h5,h6){margin:8px 0 0;line-height:1.35}.screenplay-ai-markdown h1{font-size:1.35em}.screenplay-ai-markdown h2{font-size:1.22em}.screenplay-ai-markdown :is(h3,h4,h5,h6){font-size:1.08em}.screenplay-ai-markdown :is(ul,ol){margin:0;padding-left:22px}.screenplay-ai-markdown li+li{margin-top:3px}.screenplay-ai-markdown blockquote{border-left:3px solid var(--screenplay-line);color:var(--screenplay-muted);margin:0;padding-left:10px}.screenplay-ai-markdown pre{background:#eef0f4;border-radius:8px;max-width:100%;margin:0;padding:9px;font-size:12px;line-height:1.55;overflow-x:auto}.screenplay-ai-markdown :not(pre)>code{background:#eef0f4;border-radius:4px;padding:1px 4px;font-size:.9em}.screenplay-ai-markdown a{color:var(--screenplay-accent-strong);text-underline-offset:2px;text-decoration:underline}.screenplay-ai-markdown hr{border:0;border-top:1px solid var(--screenplay-line);width:100%;margin:4px 0}.screenplay-ai-markdown-table{border:1px solid var(--screenplay-line);border-radius:8px;max-width:100%;overflow-x:auto}.screenplay-ai-markdown-table table{border-collapse:collapse;background:var(--screenplay-panel);width:100%;min-width:520px;font-size:13px;line-height:1.55}.screenplay-ai-markdown-table :is(th,td){border-right:1px solid var(--screenplay-line);border-bottom:1px solid var(--screenplay-line);text-align:left;vertical-align:top;overflow-wrap:anywhere;padding:7px 9px}.screenplay-ai-markdown-table th{background:var(--screenplay-panel-soft);font-weight:600}.screenplay-ai-markdown-table :is(th,td):last-child{border-right:0}.screenplay-ai-markdown-table tr:last-child td{border-bottom:0}.screenplay-ai-bubble details{color:var(--screenplay-muted);margin-bottom:10px;font-size:12px}.screenplay-ai-bubble mark{color:#7553c6;background:#eee9ff;border-radius:999px;margin:0 2px;padding:0 5px;display:inline-flex}.screenplay-ai-bubble mark.is-scene{color:#1878a8;background:#e3f4ff}.screenplay-ai-bubble mark.is-screenplayShot,.screenplay-ai-bubble mark.is-shot{color:#08784c;background:#e5f7ee}.screenplay-ai-bubble mark.is-resource{color:#9a5b00;background:#fff3d6}.screenplay-ai-bubble mark.is-generationTask{color:#7047b8;background:#f0e9ff}.screenplay-ai-bubble mark.is-deleted{color:#b42318;background:#fee4e2;-webkit-text-decoration:line-through #d92d20;text-decoration:line-through #d92d20;text-decoration-thickness:1.5px}.screenplay-ai-message-images{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:7px;display:grid}.screenplay-ai-message-images img{object-fit:cover;border-radius:7px;width:100%;height:88px}.screenplay-ai-streaming-indicator{border:2px solid color-mix(in srgb, var(--screenplay-accent) 24%, transparent);border-top-color:var(--screenplay-accent);border-radius:50%;width:14px;height:14px;margin:9px 0 0 auto;animation:.75s linear infinite screenplay-ai-spin;display:block}@keyframes screenplay-ai-spin{to{transform:rotate(360deg)}}.screenplay-ai-empty{min-height:160px;color:var(--screenplay-muted);text-align:center;align-content:center;justify-items:center;gap:6px;display:grid}.screenplay-ai-empty>span{color:var(--screenplay-accent);font-size:26px}.screenplay-ai-empty p,.screenplay-ai-empty strong{margin:0;font-size:11px}.screenplay-ai-tool-state{color:var(--screenplay-muted);margin:0;font-size:10px}.screenplay-ai-composer{padding-top:12px;padding-right:var(--screenplay-side-inset);--studio-line:var(--screenplay-line);--studio-surface:var(--screenplay-panel);--studio-surface-soft:var(--screenplay-panel-soft);--studio-text:var(--screenplay-text);--studio-muted:var(--screenplay-muted);--studio-blue:var(--screenplay-accent);gap:8px;display:grid}.screenplay-ai-input-shell{position:relative}.screenplay-ai-input-shell.is-reference-drag-over .shot-content-editor-input{border-color:var(--screenplay-accent);background:color-mix(in srgb, var(--screenplay-accent) 6%, var(--screenplay-panel));box-shadow:0 0 0 3px color-mix(in srgb, var(--screenplay-accent) 18%, transparent)}.screenplay-ai-reference-drag-mask{z-index:3;pointer-events:none;border:1px dashed color-mix(in srgb, var(--screenplay-accent) 62%, transparent);background:color-mix(in srgb, var(--screenplay-panel) 88%, transparent);color:var(--screenplay-accent-strong);letter-spacing:.02em;border-radius:12px;place-items:center;font-size:13px;font-weight:600;transition:background-color .16s,border-color .16s,box-shadow .16s;display:grid;position:absolute;inset:0}.screenplay-ai-input-shell.is-reference-drag-over .screenplay-ai-reference-drag-mask{border-color:var(--screenplay-accent);background:color-mix(in srgb, var(--screenplay-accent) 12%, var(--screenplay-panel));box-shadow:inset 0 0 0 2px color-mix(in srgb, var(--screenplay-accent) 16%, transparent)}.is-reference-pointer-draggable{touch-action:none}.is-reference-pointer-draggable.is-reference-pointer-dragging{opacity:.58}.ai-reference-pointer-preview{overflow:hidden;transform:none;box-shadow:0 16px 36px #141f3033;z-index:1200!important;pointer-events:none!important;opacity:.82!important;position:fixed!important}.screenplay-ai-composer .shot-content-editor-input{background:var(--screenplay-panel);border-radius:12px;min-height:132px;max-height:220px;padding:11px 50px 50px 12px;font-size:14px;line-height:1.55}.screenplay-ai-composer .shot-content-editor-input:empty:before{color:var(--screenplay-muted);content:attr(data-placeholder);pointer-events:none}.screenplay-ai-composer-actions{pointer-events:none;align-items:center;gap:6px;display:flex;position:absolute;bottom:8px;left:14px;right:14px}.screenplay-ai-attach,.screenplay-ai-send{cursor:pointer;pointer-events:auto;border:0;border-radius:9px;place-items:center;width:32px;height:32px;padding:0;display:grid}.screenplay-ai-attach{color:var(--screenplay-muted);background:0 0}.screenplay-ai-attach:hover:not(:disabled){background:var(--screenplay-panel-soft);color:var(--screenplay-accent)}.screenplay-ai-model-tools{pointer-events:auto;align-items:center;gap:6px;min-width:0;margin-left:auto;display:flex}.screenplay-ai-model{width:min(150px,45vw);min-width:0}.screenplay-ai-model .screenplay-select-trigger{min-height:30px;color:var(--screenplay-muted);border-radius:8px;padding:4px 8px;font-size:11px}.screenplay-ai-model .screenplay-select-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.screenplay-ai-send{background:var(--screenplay-accent);color:#fff}.screenplay-ai-send.is-stop svg{width:16px;height:16px}.screenplay-ai-send:hover:not(:disabled){filter:brightness(1.06)}.screenplay-ai-attach:disabled,.screenplay-ai-send:disabled{cursor:default;opacity:.55}.screenplay-visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.screenplay-ai-attachments{gap:6px;display:flex;overflow-x:auto}.screenplay-ai-attachment{flex:0 0 72px;gap:2px;width:72px;display:grid;position:relative}.screenplay-ai-attachment img{object-fit:cover;border-radius:6px;width:72px;height:50px}.screenplay-ai-attachment span{color:var(--screenplay-muted);font-size:8px}.screenplay-ai-attachment>button:last-child{background:#ffffffe0;width:18px;height:18px;padding:0;position:absolute;top:2px;right:2px}.screenplay-ai-error{color:#b42318;margin:0;font-size:10px;line-height:1.45}.screenplay-proposal-group{gap:0;margin-top:14px;display:grid}.screenplay-proposal-group-summary{cursor:pointer;width:100%;min-width:0;color:var(--screenplay-text);text-align:left;background:0 0;border:0;border-radius:0;align-items:center;gap:8px;padding:5px 2px;display:flex}.screenplay-proposal-group-summary:hover{color:var(--screenplay-accent-strong)}.screenplay-proposal-group-summary:focus-visible,.screenplay-proposal-group-more:focus-visible{outline:2px solid color-mix(in srgb, var(--screenplay-accent) 42%, transparent);outline-offset:2px}.screenplay-proposal-group-icon{background:var(--screenplay-accent-soft);width:20px;height:20px;color:var(--screenplay-accent-strong);border-radius:50%;flex:none;place-items:center;font-size:12px;font-weight:700;display:grid}.screenplay-proposal-group-summary>strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:14px;overflow:hidden}.screenplay-proposal-group.is-completed .screenplay-proposal-group-summary>strong{color:var(--screenplay-muted);font-weight:400}.screenplay-proposal-group-counts{flex:none;align-items:center;gap:5px;display:flex}.screenplay-proposal-group-counts em{background:var(--screenplay-accent-soft);color:var(--screenplay-accent-strong);white-space:nowrap;border-radius:999px;padding:2px 7px;font-size:11px;font-style:normal}.screenplay-proposal-group-counts em.is-attention{color:#b42318;background:#fff0ee}.screenplay-proposal-group-action{color:var(--screenplay-muted);white-space:nowrap;flex:none;font-size:12px}.screenplay-proposal-group-summary:hover .screenplay-proposal-group-action{color:var(--screenplay-accent-strong)}.screenplay-proposal-group-list{gap:8px;padding:7px 0 0 18px;display:grid}.screenplay-proposal-group-list>.screenplay-proposal-card{border-color:var(--screenplay-line);margin-top:0;box-shadow:0 1px 2px #181f2f0d}.screenplay-proposal-group-more{cursor:pointer;background:var(--screenplay-panel-soft);color:var(--screenplay-muted);border:0;border-radius:8px;justify-self:stretch;margin:7px 0 0 18px;padding:8px 10px;font-size:11px}.screenplay-proposal-group-more:hover{color:var(--screenplay-accent-strong)}.screenplay-proposal-card{border:1px solid color-mix(in srgb, var(--screenplay-accent) 32%, var(--screenplay-line));background:var(--screenplay-panel);border-radius:10px;gap:10px;margin-top:10px;padding:12px;display:grid}.screenplay-proposal-card.is-collapsed{gap:0;padding-block:10px}.screenplay-proposal-card>header{gap:5px;display:grid}.screenplay-proposal-heading,.screenplay-proposal-toggle{align-items:center;gap:8px;width:100%;min-width:0;display:flex}.screenplay-proposal-toggle{cursor:pointer;color:var(--screenplay-text);text-align:left;background:0 0;border:0;padding:0}.screenplay-proposal-card>header strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:14px;overflow:hidden}.screenplay-proposal-card>header span{background:var(--screenplay-accent-soft);color:var(--screenplay-accent-strong);border-radius:999px;flex:none;padding:2px 7px;font-size:12px}.screenplay-proposal-status.is-conflict{color:#9b691e;background:#fff4df}.screenplay-proposal-toggle em{color:var(--screenplay-muted);flex:none;font-size:12px;font-style:normal}.screenplay-proposal-toggle:hover em{color:var(--screenplay-accent-strong)}.screenplay-proposal-card>header small{color:var(--screenplay-muted);font-size:11px}.screenplay-proposal-body{gap:10px;display:grid}.screenplay-proposal-body>p{margin:0;font-size:14px;line-height:1.65}.screenplay-proposal-card.is-conflict,.screenplay-proposal-card.is-failed{border-color:#e7b3ac}.screenplay-proposal-fields{gap:8px;margin:0;display:grid}.screenplay-proposal-fields>div{gap:3px;display:grid}.screenplay-proposal-fields dt{color:var(--screenplay-muted);font-size:12px}.screenplay-proposal-fields dd,.screenplay-proposal-fields del{overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.65}.screenplay-proposal-fields del{color:#a45d58}.screenplay-proposal-fields dd.is-pre{white-space:pre-wrap}.screenplay-proposal-order{gap:4px;margin:0;padding-left:22px;font-size:14px;display:grid}.screenplay-proposal-result{object-fit:cover;border-radius:8px;width:100%;max-height:210px}.screenplay-proposal-card pre{background:var(--screenplay-panel-soft);border-radius:7px;max-height:180px;margin:0;padding:9px;font-size:12px;overflow:auto}.screenplay-proposal-body>footer{flex-wrap:wrap;gap:7px;display:flex}.screenplay-proposal-body>footer .screenplay-button{min-height:34px;padding:6px 11px;font-size:13px}.screenplay-ai-image-dialog{max-width:620px}.screenplay-ai-image-summary{color:var(--screenplay-text);margin:0;font-size:12px;line-height:1.6}.screenplay-ai-image-params{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;display:grid}.screenplay-ai-image-params>div{border:1px solid var(--screenplay-line);border-radius:8px;gap:3px;padding:8px;display:grid}.screenplay-ai-image-params>div.is-wide{grid-column:1/-1}.screenplay-ai-image-params dt{color:var(--screenplay-muted);font-size:10px}.screenplay-ai-image-params dd{overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.55}.screenplay-ai-image-references{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.screenplay-ai-image-references img{object-fit:cover;border-radius:7px;width:100%;height:110px}.screenplay-version-panel{gap:14px;display:grid}.screenplay-version-list-toolbar{justify-content:flex-start;display:flex}.screenplay-side-title h2,.screenplay-side-title p{margin:0}.screenplay-side-title h2{font-size:15px}.screenplay-side-title>strong{color:var(--screenplay-text);margin-top:9px;font-size:12px;font-weight:500;display:block}.screenplay-side-title p{color:var(--screenplay-muted);margin-top:5px;font-size:11px;line-height:1.55}.screenplay-version-list{gap:9px;display:grid}.screenplay-version-item{border:1px solid var(--screenplay-line);background:var(--screenplay-panel);border-radius:11px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;min-width:0;padding:11px;transition:border-color .14s,box-shadow .14s,transform .14s;display:grid;box-shadow:0 3px 12px #23324b0a}.screenplay-version-item:hover{border-color:color-mix(in srgb, var(--screenplay-accent) 35%, var(--screenplay-line));box-shadow:0 7px 18px #23324b14}.screenplay-version-open{cursor:pointer;min-width:0;color:var(--screenplay-text);text-align:left;background:0 0;border:0;gap:5px;padding:0;display:grid}.screenplay-version-open:hover{color:var(--screenplay-accent-strong)}.screenplay-version-title{align-items:center;gap:7px;min-width:0;display:flex}.screenplay-version-open strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.screenplay-version-number{color:var(--screenplay-muted);flex:none;font-size:10px;font-weight:750}.screenplay-version-open em{background:var(--screenplay-accent-soft);color:var(--screenplay-accent-strong);border-radius:999px;flex:none;padding:2px 6px;font-size:10px;font-style:normal}.screenplay-version-open p{color:var(--screenplay-muted);overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:1.5;display:-webkit-box;overflow:hidden}.screenplay-version-meta{color:var(--screenplay-muted);flex-wrap:wrap;align-items:center;gap:5px;font-size:10px;display:flex}.screenplay-version-meta>span{background:var(--screenplay-panel-soft);border-radius:5px;padding:2px 5px}.screenplay-version-empty,.screenplay-version-panel>p{color:var(--screenplay-muted);font-size:10px}.screenplay-version-restore{cursor:pointer;background:var(--screenplay-panel-soft);color:var(--screenplay-accent-strong);border:0;border-radius:7px;padding:6px 8px;font-size:10px}.screenplay-version-restore:hover:not(:disabled){background:var(--screenplay-accent-soft)}.screenplay-version-restore:disabled{cursor:default;opacity:.5}.screenplay-version-more{width:100%}.screenplay-version-panel.is-detail{gap:0}.screenplay-version-detail-fixed{z-index:4;border-bottom:1px solid var(--screenplay-line);background:var(--screenplay-panel);gap:12px;padding-bottom:14px;display:grid;position:sticky;top:0}.screenplay-version-detail-toolbar{justify-content:space-between;align-items:center;gap:8px;display:flex}.screenplay-version-back{cursor:pointer;color:var(--screenplay-accent-strong);background:0 0;border:0;padding:7px 0;font-size:12px}.screenplay-version-back:hover{color:var(--screenplay-accent)}.screenplay-version-item>.screenplay-version-restore,.screenplay-version-detail-toolbar>.screenplay-button{border-radius:8px;justify-content:center;align-items:center;min-width:72px;min-height:36px;padding:7px 12px;font-size:12px;line-height:1.5;display:inline-flex}.screenplay-version-summary{gap:5px;display:grid}.screenplay-version-summary>span{background:var(--screenplay-accent-soft);color:var(--screenplay-accent-strong);border-radius:999px;justify-self:start;padding:3px 7px;font-size:10px}.screenplay-version-summary h2,.screenplay-version-summary p{margin:0}.screenplay-version-summary h2{font-size:16px}.screenplay-version-summary p,.screenplay-version-summary small{color:var(--screenplay-muted);font-size:11px;line-height:1.55}.screenplay-version-detail{gap:14px;padding-top:14px;display:grid}.screenplay-version-detail h2,.screenplay-version-detail h3,.screenplay-version-detail p{margin:0}.screenplay-version-detail>section{border-bottom:1px solid var(--screenplay-line);gap:8px;padding-bottom:14px;display:grid}.screenplay-version-detail>section h3{font-size:16px;font-weight:700}.screenplay-version-detail>section>p{color:var(--screenplay-muted);font-size:12px}.screenplay-version-detail dl{gap:7px;margin:0;display:grid}.screenplay-version-detail dl>div,.screenplay-version-detail article{background:var(--screenplay-panel-soft);border-radius:8px;gap:4px;padding:9px 10px;display:grid}.screenplay-version-detail article.screenplay-version-entity{grid-template-columns:64px minmax(0,1fr);align-items:start;gap:10px}.screenplay-version-entity>div{gap:4px;min-width:0;display:grid}.screenplay-version-entity-preview,.screenplay-version-entity-placeholder{background:var(--screenplay-panel);width:64px;height:64px;color:var(--screenplay-muted);border:0;border-radius:8px;place-items:center;padding:0;font-size:10px;display:grid;position:relative;overflow:hidden}.screenplay-version-entity-preview{cursor:zoom-in}.screenplay-version-entity-preview img{object-fit:cover;width:100%;height:100%;transition:transform .16s}.screenplay-version-detail .screenplay-version-entity-preview>small{color:#fff;background:#0000009e;border-radius:999px;padding:2px 4px;font-size:8px;line-height:1.3;position:absolute;bottom:3px;right:3px}.screenplay-version-entity-preview:hover img{transform:scale(1.04)}.screenplay-version-entity-preview:focus-visible{outline:2px solid var(--screenplay-accent);outline-offset:2px}.screenplay-version-detail dt,.screenplay-version-detail article small{color:var(--screenplay-muted);font-size:11px}.screenplay-version-detail dd,.screenplay-version-detail article p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.6}.screenplay-version-detail article strong{font-size:13px}@media (width<=1120px){.screenplay-layout{grid-template-columns:174px minmax(0,1fr)}.screenplay-side{border-top:1px solid var(--screenplay-line);grid-column:1/-1}.screenplay-side-content{min-height:220px}.screenplay-side-content.is-ai{min-height:520px}.screenplay-resize-handle{display:none}}@media (prefers-reduced-motion:reduce){.screenplay-ai-streaming-indicator{animation-duration:1.5s}}@media (width>=1121px){.screenplay-creation-workspace{grid-template-rows:auto minmax(0,1fr);height:100dvh;display:grid}.screenplay-layout{height:100%;min-height:0}.screenplay-stage-nav{min-height:0;overflow-y:auto}.screenplay-side{min-height:0;overflow:hidden}}@media (width<=720px){.screenplay-layout{grid-template-columns:1fr;min-height:calc(100dvh - 68px)}.screenplay-stage-nav{border-right:0;border-bottom:1px solid var(--screenplay-line);padding:12px;overflow-x:auto}.screenplay-nav-label{display:none}.screenplay-stage-list{grid-template-columns:repeat(5,minmax(0,1fr))}.screenplay-stage-button{text-align:center;grid-template-columns:1fr;justify-items:center;gap:4px;padding:8px 4px}.screenplay-stage-copy span,.screenplay-stage-dot{display:none}.screenplay-stage-copy strong{font-size:12px}.screenplay-stage-short{display:none}.screenplay-main{--screenplay-main-inset:16px}.screenplay-editor-header,.screenplay-editor-footer{flex-direction:column;align-items:stretch}.screenplay-editor-actions{justify-content:flex-start;align-self:stretch;align-items:center}.screenplay-footer-actions{justify-content:flex-end}.screenplay-core-editor,.screenplay-entity-editor,.screenplay-shot-editor,.screenplay-review-editor{padding:16px}.screenplay-entity-item{grid-template-columns:56px minmax(0,1fr) auto}.screenplay-entity-image{width:56px;height:56px}.screenplay-entity-editor.is-cards .screenplay-entity-image{width:100%;height:148px}.screenplay-shot-form-grid,.screenplay-dialogue-grid{grid-template-columns:1fr}.screenplay-dialogue-heading{flex-direction:column;align-items:stretch}.screenplay-dialogue-add{align-self:start}.screenplay-shot-item{grid-template-columns:26px 34px minmax(0,1fr) auto}.screenplay-review-row{grid-template-columns:90px minmax(0,1fr)}.screenplay-review-row>em{grid-column:2;justify-self:start}.screenplay-proposal-group-counts{display:none}}.shot-content-editor-inline-field{white-space:pre-wrap;margin-inline:6px;display:inline}.shot-content-editor-inline-prefix{white-space:nowrap;color:var(--text-secondary,#8b91a5);-webkit-user-select:none;user-select:none;align-items:baseline;font-size:12px;display:inline-flex}.shot-content-editor-inline-field [data-editable-text]{white-space:pre-wrap;padding:2px 3px}.shot-content-editor-inline-field [data-editable-text]:empty:before{content:attr(data-placeholder);color:var(--text-secondary,#8b91a5);opacity:.65}.screenplay-shot-copy .shot-content-editor-input{min-height:0;max-height:none;color:var(--screenplay-text);background:0 0;border:0;border-radius:0;margin-top:7px;padding:0;line-height:2.2;overflow:visible}.screenplay-shot-copy .shot-content-editor-input:focus{box-shadow:none}.screenplay-ai-reference{color:#465bc7;font:inherit;cursor:pointer;background:#e8edff;border:0;border-radius:4px;padding:1px 5px;display:inline}.screenplay-ai-reference.is-scene{color:#28745a;background:#e5f4ef}.screenplay-ai-reference.is-shot{color:#975d14;background:#fff0db}.screenplay-ai-reference.is-resource{color:#7850a7;background:#f0e8ff}.screenplay-ai-reference:focus-visible{outline-offset:2px;outline:2px solid}.screenplay-shot-collection{min-width:0;padding-right:calc(var(--screenplay-main-inset) + var(--screenplay-main-inset))}.screenplay-shot-editor.is-cards .screenplay-shot-list,.screenplay-shot-editor.is-detail .screenplay-shot-list{grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr));gap:12px;max-width:none}.screenplay-shot-editor:is(.is-cards,.is-detail) .screenplay-shot-item{background:var(--screenplay-panel-soft);border:0;border-radius:12px;grid-template-columns:24px minmax(0,1fr) auto;gap:8px;min-width:0;padding:14px}.screenplay-shot-editor:is(.is-cards,.is-detail) .screenplay-shot-copy{grid-area:2/1/auto/-1}.screenplay-shot-editor:is(.is-cards,.is-detail) .screenplay-shot-item>.screenplay-more-button{grid-area:1/3}.screenplay-shot-editor:is(.is-cards,.is-detail) .screenplay-shot-copy>.shot-content-editor{pointer-events:none;max-height:140px;overflow:hidden}.screenplay-shot-split>.screenplay-shot-editor{overscroll-behavior:contain;scrollbar-width:thin;min-width:0;min-height:0;padding:18px 12px 18px 0;overflow-y:auto}.screenplay-shot-split .screenplay-shot-list{grid-template-columns:repeat(auto-fill,minmax(min(160px,100%),1fr))}.screenplay-shot-split .screenplay-shot-item{cursor:pointer;box-shadow:inset 0 0 0 1px var(--screenplay-line)}.screenplay-shot-split .screenplay-shot-item:is(:hover,:focus-visible,.is-selected){box-shadow:inset 0 0 0 2px var(--screenplay-accent);outline:none}.screenplay-shot-split .screenplay-shot-item.is-selected{background:var(--screenplay-accent-soft)}.screenplay-shot-detail{min-width:0;height:100%;min-height:0;overflow:hidden;container-type:inline-size}.screenplay-shot-detail.is-shot-workspace>.screenplay-dialog-shell{grid-template-rows:minmax(0,1fr) auto;min-height:0}.screenplay-shot-detail .shot-workspace-body{grid-template-columns:var(--shot-resource-width,30%) minmax(0, 1fr)}.screenplay-shot-detail .shot-workspace-resize-handle{left:calc(var(--shot-resource-width,30%) - 3.5px)}.screenplay-shot-detail .shot-workspace-main-scroll{padding:14px 16px 12px}.screenplay-shot-detail .shot-workspace-resource{flex-wrap:wrap}.screenplay-shot-detail .screenplay-dialog-footer{flex-wrap:wrap;gap:8px}@container (width<=600px){.screenplay-shot-detail .shot-workspace-resources,.screenplay-shot-detail .shot-workspace-resize-handle{display:none}.screenplay-shot-detail .shot-workspace-body{grid-template-columns:minmax(0,1fr)}.screenplay-shot-detail .shot-workspace-editor-toolbar>span{display:none}}.screenplay-dialog-content.is-shot-workspace{--screenplay-accent:#5174ed;--screenplay-accent-strong:#4265dd;--screenplay-text:#262d3a;--screenplay-muted:#89909e;--screenplay-line:#e9ecf2;border:1px solid #fffc;border-radius:18px;width:min(1160px,100vw - 72px);height:min(790px,100dvh - 72px);max-height:calc(100dvh - 72px);font:14px/1.6 -apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;box-shadow:0 30px 100px #17233b40,0 4px 18px #17233b15}.shot-workspace-overlay{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1c253959}.is-shot-workspace *,.is-shot-workspace :before,.is-shot-workspace :after{box-sizing:border-box}.is-shot-workspace .screenplay-dialog-shell{grid-template-rows:52px minmax(0,1fr) auto;height:100%}.is-shot-workspace button{cursor:pointer}.is-shot-workspace button:disabled{cursor:default;opacity:.5}.is-shot-workspace button:focus-visible{outline-offset:3px;outline:3px solid #b8c7ff}.shot-workspace-icon{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0;width:18px;height:18px}.is-shot-workspace .screenplay-dialog-header{justify-content:flex-start;gap:13px;height:52px;padding:0 26px}.shot-workspace-head-icon{width:28px;height:28px;color:var(--screenplay-accent);background:#eef2ff;border-radius:8px;flex-shrink:0;place-items:center;display:grid}.shot-workspace-head-icon svg{width:16px;height:16px}.is-shot-workspace .screenplay-dialog-header .shot-workspace-context{min-width:0;color:var(--screenplay-muted);letter-spacing:.3px;align-items:center;gap:7px;margin:0;font-size:12px;font-weight:400;display:flex}.shot-workspace-context>span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.shot-workspace-context>span:last-child{flex-shrink:0}.shot-workspace-context i{color:#c4cad5;font-style:normal}.shot-workspace-head-right{flex-shrink:0;align-items:center;gap:22px;margin-left:auto;display:flex}.shot-workspace-draft{color:#9298a4;align-items:center;gap:7px;font-size:12px;display:flex}.shot-workspace-draft i{background:#abb4c3;border-radius:50%;width:6px;height:6px}.is-shot-workspace .screenplay-dialog-close{color:#939aaa}.is-shot-workspace .screenplay-dialog-close:hover{color:var(--screenplay-text);background:#f0f3f8}.shot-workspace-body{grid-template-columns:var(--shot-resource-width,292px) minmax(0, 1fr);min-height:0;display:grid;position:relative}.shot-workspace-body>.shot-workspace-resize-handle{z-index:1;left:calc(var(--shot-resource-width,292px) - 3.5px);touch-action:none;-webkit-user-select:none;user-select:none;display:block;position:absolute;top:0;bottom:0}.shot-workspace-resources{border-right:1px solid var(--screenplay-line);background:#f8f9fc;flex-direction:column;min-width:0;min-height:0;padding:12px 18px 0;display:flex;overflow:hidden}.shot-workspace-section-heading{justify-content:space-between;align-items:center;margin:0 2px 8px;display:flex}.shot-workspace-section-heading strong{font-size:13px;font-weight:600}.shot-workspace-section-heading span{color:#a0a7b5;letter-spacing:1.5px;font-size:10px}.shot-workspace-categories{background:#eceff5;border-radius:9px;flex-shrink:0;grid-template-columns:repeat(auto-fit,minmax(40px,1fr));gap:3px;margin-bottom:8px;padding:3px;display:grid}.is-shot-workspace .shot-workspace-category{color:#8a92a2;background:0 0;border:0;border-radius:6px;padding:4px 0;font-size:12px}.is-shot-workspace .shot-workspace-category[aria-selected=true]{color:var(--screenplay-accent);background:#fff;font-weight:600;box-shadow:0 2px 5px #263b6510}.shot-workspace-search{color:#9aa3b2;background:#fff;border:1px solid #e5e9f0;border-radius:8px;flex-shrink:0;align-items:center;gap:8px;padding:6px 10px;display:flex}.shot-workspace-search svg{width:15px;height:15px}.is-shot-workspace .shot-workspace-search input{width:100%;min-width:0;color:var(--screenplay-text);background:0 0;border:0;outline:none;padding:0;font-size:12px}.shot-workspace-search:focus-within{border-color:#adc0ff;box-shadow:0 0 0 3px #5174ed0c}.shot-workspace-search input::placeholder{color:#a2a9b6}.shot-workspace-list-caption{color:#99a1af;flex-shrink:0;justify-content:space-between;padding:10px 3px 6px;font-size:11px;display:flex}.shot-workspace-resource-list{flex:1;min-height:0;margin-right:-18px;padding:1px 18px 6px 1px;overflow-y:auto}.shot-workspace-resource-list,.shot-workspace-document .shot-content-editor-input,.shot-workspace-reading,.shot-workspace-references{scrollbar-width:thin;scrollbar-color:#d5dbe7 transparent}.shot-workspace-resource{background:#fff;border:1px solid #e8ecf3;border-radius:11px;gap:12px;margin-bottom:10px;padding:12px;transition:border-color .15s,box-shadow .15s;display:flex}.shot-workspace-resource:hover{border-color:#b9c9ff;box-shadow:0 4px 12px #344a7d09}.shot-workspace-resource[draggable=true]{cursor:grab}.shot-workspace-resource[draggable=true]:active{cursor:grabbing}.is-shot-workspace .shot-workspace-resource-image,.shot-workspace-resource-placeholder{background:#edf1f5;border:0;border-radius:7px;flex-shrink:0;width:57px;height:73px;padding:0;overflow:hidden}.is-shot-workspace .shot-workspace-resource-image{cursor:zoom-in}.shot-workspace-resource-image>img{object-fit:cover;width:100%;height:100%;display:block}.shot-workspace-resource-placeholder{color:#aab6c7;place-items:center;display:grid}.shot-workspace-resource-placeholder svg{width:25px;height:25px}.shot-workspace-resource-copy{flex:1;min-width:0}.shot-workspace-resource-title{justify-content:space-between;align-items:center;gap:6px;margin-bottom:5px;display:flex}.shot-workspace-resource-title strong{overflow-wrap:anywhere;min-width:0;font-size:13px;font-weight:600}.shot-workspace-resource-title span{color:#8295c8;white-space:nowrap;background:#f1f4fd;border-radius:4px;padding:1px 5px;font-size:9px}.shot-workspace-resource-copy p{-webkit-line-clamp:2;color:#969eab;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:0;font-size:11px;line-height:1.65;display:-webkit-box;overflow:hidden}.is-shot-workspace .shot-workspace-insert{color:#748ac2;background:0 0;border:0;margin-top:6px;padding:0;font-size:10px}.shot-workspace-insert:hover{color:var(--screenplay-accent)}.shot-workspace-assets-hint{border-top:1px solid var(--screenplay-line);color:#9ca5b4;flex-shrink:0;justify-content:center;align-items:center;gap:6px;padding:6px 0;font-size:10px;display:flex}.shot-workspace-assets-hint svg{width:13px;height:13px}.shot-workspace-empty{color:#9ca5b3;text-align:center;padding:24px 10px;font-size:12px}.shot-workspace-main{flex-direction:column;min-width:0;min-height:0;display:flex}.shot-workspace-main-scroll{flex-direction:column;flex:1;min-height:0;padding:14px 40px 12px;display:flex;overflow:hidden}.shot-workspace-title{flex-direction:column;flex-shrink:0;display:flex}.shot-workspace-title>span{color:#9299a7;letter-spacing:.5px;align-items:center;gap:8px;font-size:11px;display:flex}.shot-workspace-title small{color:#c2c8d4;letter-spacing:1px;font-size:9px}.is-shot-workspace .shot-workspace-title>input{border:0;border-bottom:1px solid var(--screenplay-line);color:#293241;letter-spacing:.4px;background:0 0;border-radius:0;outline:none;width:100%;min-width:0;margin:4px 0 10px;padding:0 0 9px;font-size:25px;font-weight:600;line-height:1.6}.shot-workspace-title>input:focus{border-bottom-color:#a5b9ff}.shot-workspace-content-heading{flex-shrink:0;justify-content:space-between;align-items:center;min-height:28px;margin-bottom:8px;display:flex}.shot-workspace-content-heading h3{color:#687285;margin:0;font-size:12px;font-weight:600}.shot-workspace-mode{border:1px solid #e9ecf2;border-radius:7px;gap:2px;padding:3px;display:flex}.is-shot-workspace .shot-workspace-mode button{color:#929aaa;background:0 0;border:0;border-radius:4px;align-items:center;gap:5px;padding:3px 10px;font-size:10px;display:flex}.shot-workspace-mode svg{width:12px;height:12px}.shot-workspace-mode button[aria-pressed=true]{color:#5875c3;background:#edf2ff}.shot-workspace-editor-shell{background:#fff;border:1px solid #e4e9f2;border-radius:11px;flex-direction:column;flex:1;min-height:0;transition:border-color .15s;display:flex;overflow:hidden}.shot-workspace-editor-shell:focus-within{border-color:#b2c3f8;box-shadow:0 0 0 3px #5174ed05}.shot-workspace-editor-toolbar{background:#fafbfd;border-bottom:1px solid #eef0f5;flex-shrink:0;align-items:center;gap:5px;height:32px;padding:0 12px;display:flex}.is-shot-workspace .shot-workspace-tool{color:#8090ab;background:0 0;border:0;border-radius:5px;align-items:center;gap:5px;padding:3px 7px;font-size:11px;display:flex}.shot-workspace-tool:hover{color:var(--screenplay-accent);background:#edf2ff}.shot-workspace-tool b{font-size:14px;font-weight:400}.shot-workspace-tool svg{width:13px;height:13px}.shot-workspace-editor-toolbar>i{background:#e4e9f2;width:1px;height:13px;margin:0 3px}.shot-workspace-editor-toolbar>span{color:#a2aabd;margin-left:auto;font-size:10px}.shot-workspace-document{flex-direction:column;flex:1;min-height:0;padding:0;display:flex;overflow:hidden}.shot-workspace-document>div:not([hidden]):not(.shot-workspace-reading){flex-direction:column;flex:1;min-height:0;display:flex}.shot-workspace-document [hidden]{display:none}.shot-workspace-document .shot-content-editor{flex-direction:column;flex:1;min-height:0;display:flex}.is-shot-workspace .shot-workspace-document .shot-content-editor-input,.shot-workspace-reading{color:#535d6e;overflow-wrap:anywhere;background:#fff;border:0;border-radius:0;outline:none;flex:1;min-height:0;max-height:none;padding:16px 26px 18px;font-size:13px;line-height:2;overflow-y:auto}.is-shot-workspace .shot-workspace-document .shot-content-editor-input:focus{box-shadow:none;border:0;outline:none}.shot-workspace-document .shot-content-editor-input{position:relative}.shot-workspace-document[data-content-empty=true] .shot-content-editor-input:before{content:attr(data-placeholder);color:var(--screenplay-muted);pointer-events:none;position:absolute}.shot-workspace-document .shot-content-editor-mention.is-text-reference,.shot-workspace-reference{color:#5a78ca;white-space:normal;vertical-align:baseline;background:#edf2ff;border:0;border-radius:5px;align-items:center;padding:1px 7px;font-size:12px;font-weight:400;line-height:1.8;display:inline-flex}.shot-workspace-document .shot-content-editor-mention.is-scene,.shot-workspace-reference.is-scene{color:#659177;background:#edf5ef}.shot-workspace-document .shot-content-editor-inline-field{background:#fafbfe;border-left:2px solid #dde5fa;border-radius:0 6px 6px 0;margin:10px 0 18px;padding:9px 14px;display:block}.shot-workspace-document .shot-content-editor-inline-prefix{color:#8a97b0;align-items:center;gap:6px;margin-bottom:3px;font-size:10px;line-height:1.6;display:flex}.shot-workspace-document .shot-content-editor-inline-field [data-editable-text]{padding:0}.shot-workspace-document [data-field-prefix=补充：]{color:#a2a9b5;background:0 0;border:0;margin:6px 0 18px;padding:0;font-size:12px}.shot-workspace-editor-bottom{color:#a0a8b7;background:#fafbfd;border-top:1px solid #eef0f5;flex-shrink:0;justify-content:space-between;gap:12px;padding:5px 14px;font-size:10px;display:flex}.shot-workspace-editor-bottom>span:last-child{flex-shrink:0}.shot-workspace-references{color:#a3aaba;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:9px;max-height:72px;margin-top:10px;font-size:10px;display:flex;overflow-y:auto}.shot-workspace-reference-pill{color:#8591a7;overflow-wrap:anywhere;background:#f5f7fa;border:1px solid #edf0f5;border-radius:5px;align-items:center;gap:5px;padding:2px 8px;display:flex}.shot-workspace-reference-pill svg{width:11px;height:11px}.shot-workspace-main-scroll>.screenplay-form-error{flex-shrink:0;max-height:64px;margin:12px 0 0;overflow-y:auto}.is-shot-workspace .screenplay-dialog-footer{background:#fff;justify-content:space-between;align-items:center;min-height:56px;padding:10px 26px;display:flex}.shot-workspace-footer-note{color:#a0a8b6;align-items:center;gap:6px;font-size:11px;display:flex}.shot-workspace-footer-note svg{width:14px;height:14px}.shot-workspace-actions{gap:10px;display:flex}.is-shot-workspace .shot-workspace-actions .screenplay-button{color:#758094;background:#fff;border:1px solid #e4e8f0;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:0;padding:7px 17px;font-size:12px;font-weight:400;line-height:1.6;display:flex}.is-shot-workspace .shot-workspace-actions .screenplay-button:hover{background:#f6f8fc}.is-shot-workspace .shot-workspace-actions .is-primary{border-color:var(--screenplay-accent);background:var(--screenplay-accent);color:#fff;box-shadow:0 3px 8px #5174ed25}.is-shot-workspace .shot-workspace-actions .is-primary:hover{background:var(--screenplay-accent-strong)}.shot-workspace-actions svg{width:14px;height:14px}.shot-workspace-reading p{white-space:pre-wrap;margin:0 0 18px}.shot-workspace-prose>p{display:inline}.shot-workspace-prose>p+p:before{content:"\a \a ";white-space:pre}.shot-workspace-prose[data-paragraph-start=true]:before{content:"\a ";white-space:pre}.shot-workspace-whitespace{white-space:pre-wrap}.shot-workspace-reading blockquote,.shot-workspace-dialogue{background:#fafbfe;border-left:2px solid #dde5fa;border-radius:0 6px 6px 0;margin:10px 0 18px;padding:9px 14px}.shot-workspace-reading blockquote small,.shot-workspace-dialogue strong{color:#8a97b0;margin-bottom:3px;font-size:10px;font-weight:400;display:block}.shot-workspace-dialogue p:last-child,.shot-workspace-reading blockquote p:last-child{margin-bottom:0}.shot-workspace-supplement{color:#a2a9b5;margin:6px 0 18px;font-size:12px}.shot-workspace-reading img{max-width:100%}.shot-workspace-reading pre{background:#f5f7fa;padding:12px;overflow-x:auto}.shot-workspace-reading table{border-collapse:collapse;max-width:100%;display:block;overflow-x:auto}.shot-workspace-reading th,.shot-workspace-reading td{border:1px solid var(--screenplay-line);padding:6px 10px}.shot-workspace-main-scroll.is-preview .shot-workspace-editor-shell{box-shadow:none;border-color:#0000}.shot-workspace-main-scroll.is-preview .shot-workspace-reading{padding:6px 4px 12px}.shot-workspace-main-scroll.is-preview .shot-workspace-editor-bottom{background:#fff}@media (width<=900px){.screenplay-dialog-content.is-shot-workspace{width:calc(100vw - 40px);height:calc(100dvh - 40px);max-height:calc(100dvh - 40px)}.shot-workspace-body{grid-template-columns:var(--shot-resource-width,250px) minmax(0, 1fr)}.shot-workspace-body>.shot-workspace-resize-handle{left:calc(var(--shot-resource-width,250px) - 3.5px)}.shot-workspace-main-scroll{padding:14px 25px 12px}.is-shot-workspace .shot-workspace-title>input{font-size:22px}.is-shot-workspace .shot-workspace-document .shot-content-editor-input,.shot-workspace-reading{padding:16px 20px 18px}.shot-workspace-draft{display:none}}@media (width<=640px){.screenplay-dialog-content.is-shot-workspace{border-radius:13px;width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.is-shot-workspace .screenplay-dialog-header{padding:0 16px}.shot-workspace-body{grid-template-columns:minmax(0,1fr)}.shot-workspace-resources,.shot-workspace-body>.shot-workspace-resize-handle{display:none}.shot-workspace-main-scroll{padding:14px 18px 12px}.is-shot-workspace .screenplay-dialog-footer{padding:9px 16px}.shot-workspace-footer-note{font-size:10px}.is-shot-workspace .shot-workspace-actions .screenplay-button{padding:7px 12px}.is-shot-workspace .shot-workspace-document .shot-content-editor-input,.shot-workspace-reading{padding:16px 16px 18px;font-size:12px}.shot-workspace-editor-toolbar>span{display:none}.shot-workspace-references{margin-top:10px}.shot-workspace-context{gap:4px}}.ProseMirror{word-wrap:break-word;white-space:pre-wrap;white-space:break-spaces;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;font-feature-settings:"liga" 0;position:relative}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection ::selection{background:0 0}.ProseMirror-hideselection ::selection{background:0 0}.ProseMirror-hideselection{caret-color:#0000}.ProseMirror [draggable][contenteditable=false]{-webkit-user-select:text;user-select:text}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{content:"";pointer-events:none;border:2px solid #8cf;position:absolute;inset:-2px -2px -2px -32px}img.ProseMirror-separator{border:none!important;margin:0!important;display:inline!important}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-2xl:1rem;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--ease-in:cubic-bezier(.4, 0, 1, 1);--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.\!visible{visibility:visible!important}.collapse{visibility:collapse}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:0}.top-1\/2{top:50%}.left-1\/2{left:50%}.z-40{z-index:40}.z-50{z-index:50}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.h-screen{height:100vh}.max-h-\[calc\(100svh-2rem\)\]{max-height:calc(100svh - 2rem)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-12{min-height:calc(var(--spacing) * 12)}.w-\[min\(28rem\,calc\(100\%-2rem\)\)\]{width:min(28rem,100% - 2rem)}.w-full{width:100%}.flex-shrink{flex-shrink:1}.flex-grow{flex-grow:1}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.resize{resize:both}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[var\(--radius-md\)\]{border-radius:var(--radius-md)}.rounded-\[var\(--radius-sm\)\]{border-radius:var(--radius-sm)}.rounded-full{border-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-\[var\(--border-default\)\]{border-color:var(--border-default)}.border-\[var\(--border-subtle\)\]{border-color:var(--border-subtle)}.border-current{border-color:currentColor}.border-r-transparent{border-right-color:#0000}.bg-\[var\(--accent\)\]{background-color:var(--accent)}.bg-\[var\(--danger\)\]{background-color:var(--danger)}.bg-\[var\(--surface-overlay\)\]{background-color:var(--surface-overlay)}.bg-\[var\(--surface-panel\)\]{background-color:var(--surface-panel)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.px-3\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-2{padding-block:calc(var(--spacing) * 2)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-nowrap{text-wrap:nowrap}.text-\[var\(--accent\)\]{color:var(--accent)}.text-\[var\(--muted\)\]{color:var(--muted)}.text-\[var\(--text\)\]{color:var(--text)}.text-white{color:var(--color-white)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,transform\,opacity\]{transition-property:background-color,transform,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[border-color\,background-color\,box-shadow\]{transition-property:border-color,background-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.select-all{-webkit-user-select:all;user-select:all}.placeholder\:text-\[var\(--muted-soft\)\]::placeholder{color:var(--muted-soft)}@media (hover:hover){.hover\:border-\[var\(--border-strong\)\]:hover{border-color:var(--border-strong)}.hover\:bg-\[var\(--accent-strong\)\]:hover{background-color:var(--accent-strong)}.hover\:bg-\[var\(--danger\)\]:hover{background-color:var(--danger)}}.active\:scale-\[0\.98\]:active{scale:.98}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-\[var\(--surface-raised\)\]:disabled{background-color:var(--surface-raised)}.disabled\:opacity-45:disabled{opacity:.45}.disabled\:opacity-55:disabled{opacity:.55}.disabled\:active\:scale-100:disabled:active{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.aria-\[invalid\=true\]\:border-\[var\(--danger\)\][aria-invalid=true]{border-color:var(--danger)}.aria-\[invalid\=true\]\:bg-\[var\(--danger-soft\)\][aria-invalid=true]{background-color:var(--danger-soft)}@media (prefers-reduced-motion:reduce){.motion-reduce\:animate-none{animation:none}}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--surface-page:#fff;--surface-panel:#1a1c1f0d;--surface-raised:#f6f7f8;--surface-overlay:#fff;--accent:#339cff;--accent-strong:#1f88e5;--text:#1a1c1f;--muted:#1a1c1f7e;--muted-soft:var(--muted);--danger:#e25507;--danger-soft:#fff3ee;--border-subtle:#1a1c1f14;--border-default:#1a1c1f1e;--border-strong:#1a1c1f33;--border-accent:#339cff4d;--accent-soft:#e5f2ff;--shadow-panel:0 1.5rem 4rem #00000014;--radius-sm:.5rem;--radius-md:.875rem;--radius-lg:1.25rem;--focus-ring:0 0 0 3px #339cff6b;color:var(--text);background:var(--surface-page);font-synthesis:none;text-rendering:optimizelegibility;font-family:SF Pro Text,Segoe UI Variable,PingFang SC,Microsoft YaHei,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,sans-serif}*{box-sizing:border-box}body{background:var(--surface-page);min-width:320px;min-height:100dvh;margin:0}button,input,select,textarea{font:inherit}.eyebrow{color:var(--accent);letter-spacing:.22em;margin-bottom:.75rem;font-size:.75rem;font-weight:700}.lede{color:var(--muted)}.ui-focus:focus-visible{box-shadow:var(--focus-ring);outline:none}.project-select-trigger{background:var(--surface-panel);width:100%;min-height:2.75rem;color:var(--text);font:inherit;border:1px solid #1a1c1f1a;border-radius:.5rem;justify-content:space-between;align-items:center;padding:.75rem;display:flex}.project-select-trigger>span:last-child{color:var(--accent);font-size:1.25rem;line-height:1}.project-select-value{align-items:center;gap:.5rem;display:inline-flex}.project-screen-type-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7px;flex:none;width:1.25rem;height:1.25rem}.project-select-menu{z-index:60;min-width:var(--radix-popper-anchor-width);background:var(--surface-overlay);border:1px solid #83c3ff47;border-radius:.65rem;padding:.3rem;overflow:hidden;box-shadow:0 1rem 2.5rem #0000006b}.project-select-option{cursor:pointer;min-height:2.35rem;color:var(--text);border-radius:.4rem;outline:none;align-items:center;gap:.55rem;padding:.45rem 2rem .45rem .7rem;display:flex;position:relative}.project-select-option[data-highlighted]{color:var(--accent);background:#83c3ff24}.project-select-option[data-state=checked]{background:#83c3ff1a}.project-select-indicator{color:var(--accent);position:absolute;right:.7rem}.project-create-dialog{width:min(32rem,100vw - 2rem);max-width:calc(100vw - 2rem);overflow:hidden auto}.project-create-form:is([data-step="2"],[data-step="3"]) :is(input:not([type=file]),.project-select-trigger){min-height:42px;padding:8px 12px;font-size:15px}.project-create-select-menu{max-height:min(18rem, var(--radix-dropdown-menu-content-available-height));overflow-y:auto}.project-create-select-menu .project-select-option{min-height:34px;padding-block:6px;font-size:15px}.project-create-form .project-create-actions .ui-button{min-height:36px;padding:6px 12px;font-size:14px}.project-edit-dialog{width:min(28rem,100vw - 2rem);max-width:calc(100vw - 2rem);padding:1.25rem;overflow:hidden auto}.project-create-step{color:var(--muted);margin:.5rem 0 1rem;font-size:.85rem}.project-visual-style-hint{color:var(--muted);margin:0;font-size:.85rem}.project-visual-style-previews{gap:.65rem;min-width:0;padding:2px;display:flex;overflow-x:auto}.project-visual-style-preview{cursor:zoom-in;border:1px solid var(--border-default);background:var(--surface-panel);border-radius:.65rem;flex:0 0 12rem;min-width:0;padding:0;overflow:hidden}.project-visual-style-preview:hover{border-color:var(--accent)}.project-visual-style-preview img{aspect-ratio:4/3;object-fit:cover;width:100%;display:block}.project-visual-style-placeholder{border:1px dashed var(--border-default);min-height:10rem;color:var(--muted);border-radius:.65rem;place-items:center;margin:0;font-size:.85rem;display:grid}.project-edit-dialog-title{letter-spacing:-.02em;margin:0;padding-right:2rem;font-size:1.25rem;font-weight:750;line-height:1.4}.project-edit-dialog-close{cursor:pointer;width:1.9rem;height:1.9rem;color:var(--muted);background:0 0;border:0;border-radius:.45rem;place-items:center;padding:0;font-size:1.35rem;line-height:1;display:grid;position:absolute;top:.9rem;right:.9rem}.project-edit-dialog-close:hover:not(:disabled){background:var(--surface-panel);color:var(--text)}.project-edit-dialog-close:disabled{cursor:not-allowed;opacity:.45}.project-edit-form{gap:1rem;margin-top:1rem;display:grid}.project-edit-form>label>span,.project-edit-form>div>label{color:var(--text);font-size:.8rem;font-weight:650}.project-edit-name-input{min-height:2.6rem;padding-block:.45rem;font-size:.9rem}.project-edit-cover-preview{aspect-ratio:auto;height:10rem}.project-edit-cover-replace{cursor:pointer;color:#fff;background:#0000009e;border:1px solid #ffffff47;border-radius:.4rem;padding:.3rem .5rem;font-size:.7rem;font-weight:650;position:absolute;bottom:.55rem;left:.55rem}.project-edit-cover-replace:hover{background:#000000d1}.project-edit-cover-preview .cover-uploading{color:#fff;font-size:.7rem;bottom:.55rem;right:.55rem}.project-edit-actions{border-top:1px solid var(--border-subtle);justify-content:flex-end;gap:.5rem;margin:.25rem -1.25rem -1.25rem;padding:.85rem 1.25rem;display:flex}.project-edit-actions .ui-button{min-height:2.4rem;padding:.45rem .9rem;font-size:.8rem}.project-mode-fieldset{border:0;min-width:0;margin:0;padding:0}.project-current-mode{color:var(--muted);align-items:center;gap:.5rem;margin:.65rem 0 1rem;font-size:.875rem;display:flex}.project-current-mode strong{background:var(--accent-soft);color:var(--accent-strong);border-radius:999px;padding:.25rem .6rem;font-size:.8rem}.project-mode-hint{color:var(--muted);margin:0 0 1rem;font-size:.9rem}.project-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.project-mode-option{cursor:pointer;border:1px solid var(--border-default);background:var(--surface-panel);text-align:left;border-radius:.85rem;align-content:start;justify-items:start;gap:.65rem;min-height:11rem;padding:1rem;display:grid}.project-mode-option:hover{border-color:var(--border-accent);background:var(--accent-soft)}.project-mode-option[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.project-mode-option-icon{background:var(--surface-overlay);width:2.25rem;height:2.25rem;color:var(--accent-strong);border-radius:.65rem;place-items:center;font-size:1.15rem;display:grid}.project-mode-option strong{font-size:1rem}.project-mode-option>span:last-child{color:var(--muted);font-size:.85rem;line-height:1.55}.cover-upload-placeholder{cursor:pointer;min-height:10rem;color:var(--muted);text-align:center;background:#1a1c1f08;border:1px dashed #83c3ff5c;border-radius:.75rem;place-content:center;justify-items:center;gap:.45rem;display:grid}.cover-upload-placeholder:hover{border-color:var(--accent);background:#83c3ff12}.cover-upload-placeholder strong{color:var(--text)}.cover-upload-placeholder>span:last-child{font-size:.8rem}.cover-upload-icon{width:2rem;height:2rem;color:var(--accent);background:#83c3ff24;border-radius:50%;place-items:center;font-size:1.35rem;display:grid}.cover-preview{aspect-ratio:16/9;background:var(--surface-panel);border:1px solid #1a1c1f1f;border-radius:.75rem;position:relative;overflow:hidden}.cover-preview img{object-fit:cover;width:100%;height:100%;display:block}.cover-remove{cursor:pointer;color:#fff;background:#0000009e;border:1px solid #ffffff40;border-radius:50%;place-items:center;width:2rem;height:2rem;font-size:1.3rem;line-height:1;display:grid;position:absolute;top:.6rem;right:.6rem}.cover-remove:hover{border-color:var(--danger);color:#fff;background:#ff854933}.cover-uploading{color:var(--text);background:#000000a6;border-radius:999px;padding:.3rem .55rem;font-size:.8rem;position:absolute;bottom:.75rem;right:.75rem}@media (width<=480px){.project-mode-grid{grid-template-columns:1fr}.project-mode-option{min-height:auto}}a{color:inherit;text-decoration:none}button{color:inherit}.ui-button{color:#fff}.auth-shell,.protected-shell,.project-list-overlay-theme{--surface-page:#f5f7fa;--surface-panel:#eef2f6;--surface-raised:#e8edf3;--accent:#0969da;--accent-strong:#0550ae;--text:#17202b;--muted:#5b6673;--muted-soft:#64748b;--danger:#b42318;--danger-soft:#fff1ef;--border-subtle:#e1e6ec;--border-default:#d5dce4;--border-strong:#b8c2ce;--border-accent:#0969da59;--accent-soft:#e8f2ff;--shadow-panel:0 1.5rem 4rem #1a27361a;--radius-sm:.625rem;--radius-md:1rem;--radius-lg:1rem;--focus-ring:0 0 0 3px #0969da47}.auth-shell{isolation:isolate;background:#f2f5f9;min-height:100dvh;display:grid;position:relative;overflow-x:hidden}.auth-shell:before{z-index:-3;content:"";pointer-events:none;background:#111923 url(/images/auth-cinematic-stage.jpg) 56%/cover;border-radius:1.25rem;position:absolute;inset:1rem;overflow:hidden;transform:scaleX(-1)}.auth-shell:after{z-index:-2;content:"";pointer-events:none;background:linear-gradient(90deg,#070e16e6 0%,#070e16a3 48%,#070e164d 100%),linear-gradient(#070e162e 0%,#070e160d 54%,#070e1694 100%);border-radius:1.25rem;position:absolute;inset:1rem}.auth-light-effects{z-index:-1;pointer-events:none;border-radius:1.25rem;position:absolute;inset:1rem;overflow:hidden}.auth-light-effects:before{content:"";filter:blur(18px);transform-origin:52% 8%;will-change:transform, opacity;background:conic-gradient(from 145deg at 52% 8%,#0000 0deg,#82c1ff08 12deg,#9bd0ff30 20deg,#0000 29deg 39deg,#72abf517 45deg,#0000 54deg);animation:22s ease-in-out infinite alternate auth-light-sweep;position:absolute;inset:-35%}.auth-light-effects:after{content:"";will-change:transform, opacity;background:radial-gradient(at 24% 65%,#377ddc30,#0000 42%),radial-gradient(at 65% 22%,#abd0ff26,#0000 35%),radial-gradient(at 13% 88%,#dca26517,#0000 30%);animation:16s ease-in-out infinite alternate auth-glow-drift;position:absolute;inset:-15%}@keyframes auth-light-sweep{0%{opacity:.45;transform:rotate(-9deg)}to{opacity:.95;transform:rotate(10deg)}}@keyframes auth-glow-drift{0%{opacity:.55;transform:translate(-3%,2%)scale(1)}to{opacity:1;transform:translate(4%,-3%)scale(1.08)}}.auth-layout{grid-template-columns:minmax(0,1.1fr) minmax(25rem,.9fr);align-items:center;gap:clamp(2.75rem,4.5vw,6rem);width:min(100%,120rem);min-height:100%;margin-inline:auto;padding:clamp(2.5rem,3.4vw,5rem);display:grid}.auth-brand-panel{color:#f5f8fc;flex-direction:column;min-height:calc(100dvh - clamp(5rem,6.8vw,10rem));padding-right:clamp(1rem,2.5vw,2.5rem);display:flex}.auth-brand{letter-spacing:-.01em;align-items:center;gap:.8rem;width:fit-content;font-size:1rem;font-weight:800;display:inline-flex}.auth-brand-desktop{letter-spacing:.01em;flex-shrink:0;align-self:flex-start;font-size:.95rem;position:absolute;top:3rem;left:3rem}.auth-brand-mark{background:var(--accent);color:#fff;border-radius:.7rem;place-items:center;width:2.5rem;height:2.5rem;font-weight:900;display:grid;box-shadow:0 .8rem 2rem #1478ff42}.brand-symbol img{border-radius:inherit;object-fit:contain;width:100%;height:100%;display:block}.auth-brand-stage{width:min(100%,39rem);margin-block:auto;transform:translateY(1.25rem)}.auth-brand-copy{max-width:37rem}.auth-brand-label{color:#9fb0c4;letter-spacing:.08em;margin:0 0 1rem;font-size:.76rem;font-weight:750}.auth-brand-copy h2{letter-spacing:-.052em;max-width:10.5em;margin:0;font-size:clamp(2.5rem,3vw,4rem);line-height:1.06}.auth-brand-copy h2 span{white-space:nowrap;display:block}.auth-brand-copy h2 span+span{padding-left:.7em}.auth-brand-copy>p:last-child{color:#aebdcd;max-width:29rem;margin:1.4rem 0 0;font-size:1rem;line-height:1.75}.auth-card-wrap{justify-content:center;width:100%;display:flex}.auth-card{border-color:var(--border-default);border-radius:var(--radius-lg);background:var(--surface-overlay);width:100%;max-width:30.5rem;padding:clamp(1.75rem,3.5vw,2.4rem);box-shadow:0 1.5rem 4rem #2033481c}.auth-card.is-switching{will-change:height;overflow:clip}.auth-card-content{display:flow-root}.auth-mobile-brand{align-items:center;gap:.7rem;margin-bottom:2rem;font-weight:800;display:none}.auth-card-header{margin-bottom:1.75rem}.auth-card-header h1{letter-spacing:-.045em;margin:0;font-size:clamp(2.1rem,3.5vw,2.6rem);line-height:1.1}.auth-card-header>p:last-child{color:var(--muted);margin:.75rem 0 0;line-height:1.6}.auth-form{gap:1.1rem;display:grid}.auth-field{gap:.5rem;display:grid}.auth-field label{color:#364352;font-size:.85rem;font-weight:720}.auth-field input{background:#fdfefe}.auth-field input::placeholder{font-size:inherit;color:var(--muted-soft)}.auth-password-field{position:relative}.auth-password-field input{padding-right:4.25rem}.auth-password-toggle{cursor:pointer;min-width:3.25rem;min-height:2.25rem;color:var(--accent-strong);background:0 0;border:0;border-radius:.45rem;padding:.35rem .5rem;font-size:.78rem;font-weight:750;position:absolute;top:50%;right:.45rem;transform:translateY(-50%)}.auth-password-toggle:hover{background:var(--accent-soft)}.auth-verification-group{grid-template-columns:minmax(0,1fr) 7.75rem;align-items:end;gap:.65rem;display:grid}.auth-verification-group .auth-secondary-button{min-height:3rem}.auth-form>.ui-button{min-height:3rem;margin-top:.1rem}.auth-forgot-password{cursor:pointer;width:fit-content;color:var(--accent);background:0 0;border:0;margin:-.35rem auto 0;padding:.15rem;font-size:.84rem;font-weight:650;display:block}.auth-forgot-password:hover{text-underline-offset:.2rem;text-decoration:underline}.auth-error{color:var(--danger);margin:0;font-size:.8rem;line-height:1.45}.auth-server-error{border-radius:var(--radius-sm);background:var(--danger-soft);border:1px solid #d94d163d;padding:.75rem}.auth-secondary-button{border:1px solid var(--border-default);width:100%;color:var(--accent-strong);background:#fff}.auth-secondary-button:hover{border-color:var(--border-accent);background:var(--accent-soft)}.auth-card-footer{border-top:1px solid var(--border-subtle);color:var(--muted);text-align:center;margin-top:1.6rem;padding-top:1.2rem;font-size:.875rem}.auth-card-footer p{margin:0}.auth-card-footer a{color:var(--accent);font-weight:700}.auth-card-footer a:hover{text-underline-offset:.2rem;text-decoration:underline}.auth-footer-link{cursor:pointer;color:var(--accent);font:inherit;background:0 0;border:0;padding:0;font-weight:700}.auth-footer-link:hover{text-underline-offset:.2rem;text-decoration:underline}.protected-shell{background:#f7f9fb;min-height:100dvh}.app-header{z-index:20;border-bottom:1px solid var(--border-subtle);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff0;justify-content:space-between;align-items:center;gap:1rem;min-height:4.75rem;padding:.75rem 2rem;display:flex;position:sticky;top:0}.app-header-inner{justify-content:space-between;align-items:center;gap:1rem;width:100%;min-width:0;display:flex}.protected-shell>.app-header{padding-inline:clamp(1rem,3.4vw,4rem)}.protected-shell>.app-header .app-header-inner{width:min(100%,144rem);margin-inline:auto}.app-header-identity{align-items:center;gap:.75rem;min-width:0;display:flex}.app-header-brand-mark{background:var(--accent);color:#fff;border-radius:.65rem;flex:none;place-items:center;width:2.35rem;height:2.35rem;font-weight:900;display:grid;box-shadow:0 .55rem 1.25rem #1478ff33}.app-header-identity>div{gap:.08rem;min-width:0;display:grid}.app-header-brand-name{color:var(--muted);letter-spacing:.04em;font-size:.68rem;font-weight:750}.app-header-title{letter-spacing:-.025em;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:1.15rem;overflow:hidden}.app-header .account-menu{flex:none;margin:0}.desktop-rail{z-index:10;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffe6;border-right:1px solid #1a1c1f14;flex-direction:column;gap:2rem;width:14rem;padding:1.25rem 1rem;display:flex;position:fixed;inset:0 auto 0 0}.brand-mark{background:var(--accent);width:2.5rem;height:2.5rem;color:var(--surface-page);border-radius:.75rem;place-items:center;font-weight:900;display:grid}.desktop-navigation{gap:.5rem;display:grid}.nav-item{color:var(--muted);border-radius:.75rem;align-items:center;gap:.75rem;padding:.7rem;font-weight:650;display:flex}.nav-item:hover,.nav-item-active{background:var(--surface-raised);color:var(--text)}.nav-mark{width:2rem;height:2rem;color:var(--accent);border:1px solid #1a1c1f1a;border-radius:.6rem;place-items:center;font-size:.75rem;display:grid}.account-menu{margin-top:auto;position:relative}.account-summary{cursor:pointer;max-width:12rem;color:inherit;background:0 0;border:0;border-radius:.75rem;align-items:center;gap:.65rem;padding:.35rem .5rem;display:flex}.avatar{color:#fff;background:#17202b;border-radius:50%;flex:none;place-items:center;width:2.15rem;height:2.15rem;font-size:.75rem;font-weight:800;display:grid}.account-username{max-width:7rem;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.account-toggle-indicator{width:1.6rem;height:1.6rem;color:var(--muted);border:0;border-radius:.5rem;flex:none;place-items:center;display:grid}.account-toggle-indicator svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:.9rem;height:.9rem;transition:transform .16s}.account-summary[data-state=open] .account-toggle-indicator svg{transform:rotate(180deg)}.account-menu-overlay-theme{--accent:#0969da;--text:#17202b;--muted:#5b6673;--border-default:#d5dce4;--focus-ring:0 0 0 3px #0969da47}.account-popover{z-index:50;border:1px solid var(--border-default);min-width:14rem;color:var(--text);background:#fff;border-radius:.75rem;padding:.65rem;box-shadow:0 1rem 3rem #1f30432e}.account-identity-row{gap:.2rem;min-width:0;padding:.15rem .6rem 1rem;display:grid}.account-identity-row strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.account-open-id-row{min-width:0;color:var(--muted);align-items:center;gap:.35rem;font-size:.7rem;display:flex}.account-open-id-row span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.account-open-id-copy{cursor:pointer;color:var(--muted);background:0 0;border:0;flex:none;align-items:center;padding:0;display:inline-flex}.account-open-id-copy:hover:not(:disabled){color:var(--accent)}.account-open-id-copy:disabled{cursor:default;opacity:.45}.account-open-id-copy svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6px;width:.8rem;height:.8rem}.account-credit-toolbar{justify-content:space-between;align-items:center;padding:.15rem .25rem .4rem .6rem;display:flex}.account-recharge-button{cursor:pointer;color:var(--accent);text-underline-offset:.16rem;background:0 0;border:0;padding:0;font-size:.72rem;font-weight:650;text-decoration:underline}.account-recharge-button:hover{color:var(--accent)}@supports (color:color-mix(in lab, red, red)){.account-recharge-button:hover{color:color-mix(in srgb, var(--accent) 78%, #000)}}.account-credit-refresh{cursor:pointer;width:1.75rem;height:1.75rem;color:var(--muted);background:0 0;border:0;border-radius:.5rem;place-items:center;padding:0;display:grid}.account-credit-refresh:hover:not(:disabled){color:var(--text);background:#1a1c1f12}.account-credit-refresh:disabled{cursor:wait;opacity:.65}.account-credit-refresh svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7px;width:1rem;height:1rem}.account-credit-refresh:disabled svg{animation:.7s linear infinite account-credit-refresh-spin}@keyframes account-credit-refresh-spin{to{transform:rotate(360deg)}}.credit-row{color:var(--muted);justify-content:space-between;gap:1.5rem;padding:.55rem .6rem;font-size:.8rem;display:flex}.credit-row b{color:var(--accent)}.account-separator{background:#1a1c1f1a;height:1px;margin:.35rem 0}.account-menu-action,.account-logout{cursor:pointer;border-radius:.5rem;outline:none;align-items:center;gap:.5rem;padding:.4rem .5rem;font-size:.75rem;display:flex}.account-menu-action svg,.account-logout svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6px;flex-shrink:0;width:1rem;height:1rem}.account-menu-action:is(:hover,:focus,[data-highlighted]),.account-logout:is(:hover,:focus,[data-highlighted]){background:#1a1c1f12}.account-recharge-dialog-overlay{z-index:60;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a94;position:fixed;inset:0}.account-recharge-dialog{z-index:70;border:1px solid var(--border-default);width:min(24rem,100% - 2rem);color:var(--text);background:#fff;border-radius:1rem;padding:1.5rem;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 1.5rem 4rem #1f30433d}.account-recharge-dialog h2{margin:0;font-size:1.25rem}.account-recharge-dialog p{color:var(--muted);margin:.75rem 0 0;font-size:.875rem}.account-recharge-dialog-actions{justify-content:flex-end;margin-top:1.5rem;display:flex}.account-recharge-dialog-confirm{cursor:pointer;background:var(--accent);color:#fff;border:0;border-radius:.55rem;padding:.55rem .9rem;font-size:.8rem;font-weight:650}.account-recharge-dialog-confirm:hover{filter:brightness(.94)}.password-dialog-overlay{z-index:60;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a94;position:fixed;inset:0}.password-dialog{z-index:70;border:1px solid var(--border-default);width:min(29rem,100% - 2rem);max-height:calc(100dvh - 2rem);color:var(--text);background:#fff;border-radius:1rem;padding:1.5rem;position:fixed;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 1.5rem 4rem #1f30433d}.password-dialog h2{margin:0;font-size:1.25rem}.password-dialog>p{color:var(--muted);margin:.6rem 0 0;font-size:.875rem;line-height:1.55}.password-dialog-form{gap:1rem;margin-top:1.35rem;display:grid}.password-dialog-actions{justify-content:flex-end;gap:.75rem;margin-top:.35rem;display:flex}.password-dialog-actions .ui-button{min-height:2.75rem}.password-dialog-cancel{cursor:pointer;border:1px solid var(--border-default);border-radius:var(--radius-sm);min-height:2.75rem;color:var(--text);background:#fff;padding:.5rem 1rem;font-weight:650}.password-dialog-cancel:hover{background:var(--surface-raised)}.feedback-overlay{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#1f2a3b47}.feedback-dialog{color:#202834;border:1px solid #ffffffb3;border-radius:20px;flex-direction:column;width:min(680px,100vw - 32px);height:580px;max-height:calc(100dvh - 48px);padding:0;display:flex;overflow:hidden;box-shadow:0 24px 80px #1a294033,0 4px 16px #1a29400f}.feedback-dialog svg{fill:none;stroke:currentColor;stroke-width:1.65px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px}.feedback-header{border-bottom:1px solid #edf0f4;flex:none;justify-content:space-between;align-items:center;gap:12px;height:62px;padding:12px 24px;display:flex}.feedback-title{align-items:center;gap:11px;display:flex}.feedback-title-icon{color:#2874df;background:#edf4ff;border-radius:8px;place-items:center;width:30px;height:30px;display:grid}.feedback-dialog h2{letter-spacing:-.3px;margin:0;font-size:17px;font-weight:650}.feedback-dialog h3{color:#202834;margin:0;font-size:14px;font-weight:550}.feedback-header-actions{align-items:center;gap:13px;display:flex}.feedback-link{color:#627084;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:7px 0;font-size:13px;display:inline-flex}.feedback-link:hover{color:#246bd1}.feedback-link:disabled{cursor:default;opacity:.45}.feedback-close{color:#89929f;cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;width:28px;height:28px;display:grid}.feedback-close:hover{background:#f0f3f7}.feedback-body{outline:none;flex:1;min-height:0;padding:24px 28px;overflow-y:auto}.feedback-body-compose{flex-direction:column;padding:12px 14px;display:flex}.feedback-body-compose .feedback-form{flex-direction:column;flex:1 0 auto;display:flex}.feedback-body-compose .feedback-form-footer{margin-top:auto;padding-top:24px}.feedback-intro{color:#7b8695;margin:0 0 22px;font-size:13px;line-height:1.8}.feedback-form label{margin-bottom:11px;font-size:14px;font-weight:550;display:block}.feedback-input-wrap{background:#fcfdff;border:1px solid #dde3eb;border-radius:11px;flex-direction:column;flex:1;min-height:120px;display:flex;overflow:hidden}.feedback-input-wrap:focus-within{border-color:#86b3f2;box-shadow:0 0 0 3px #edf4ff}.feedback-form textarea{resize:none;color:#293548;width:100%;height:auto;min-height:80px;font:inherit;background:0 0;border:0;outline:none;flex:1;padding:15px 16px;font-size:14px;line-height:1.8;display:block}.feedback-form textarea::placeholder{color:#a5aeba}.feedback-input-wrap:has(textarea[aria-invalid=true]){border-color:var(--danger)}.feedback-counter{text-align:right;color:#a0a9b5;font-variant-numeric:tabular-nums;padding:0 14px 11px;font-size:11px}.feedback-counter.auth-error{color:var(--danger)}.feedback-form-footer{justify-content:space-between;align-items:center;gap:16px;margin-top:24px;display:flex}.feedback-hint{color:#919aa7;align-items:center;gap:6px;font-size:12px;display:flex}.feedback-hint svg{width:14px;height:14px}.feedback-form-footer .ui-button{background:#2d73dc;border:1px solid #2369d1;border-radius:8px;flex:none;gap:8px;min-height:36px;padding:6px 12px;font-size:14px;line-height:22px;box-shadow:0 2px 4px #2065cb20}.feedback-form-footer .ui-button:hover:not(:disabled){background:#2465c6}.feedback-form-footer .ui-button:disabled{box-shadow:none;opacity:1;background:#a8c6ef;border-color:#a8c6ef}.feedback-form .auth-error:empty{display:none}.feedback-success-overlay{z-index:80}.feedback-success-dialog{z-index:90;width:min(380px,100vw - 32px)}.feedback-success-dialog .feedback-form-footer{justify-content:flex-end}.feedback-body-list{padding:9px 28px 20px}.feedback-list-note{color:#929caa;margin:13px 0 4px;font-size:12px}.feedback-list-item{text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #edf0f4;width:100%;padding:20px 0;display:block}.feedback-list-item:hover .feedback-summary{color:#2874df}.feedback-row,.feedback-meta{justify-content:space-between;align-items:center;gap:12px;display:flex}.feedback-summary{-webkit-line-clamp:2;overflow-wrap:anywhere;color:#344153;-webkit-box-orient:vertical;min-width:0;font-size:14px;line-height:1.6;display:-webkit-box;overflow:hidden}.feedback-badge{color:#2671d6;white-space:nowrap;background:#edf4ff;border-radius:5px;flex:none;padding:3px 6px;font-size:10px}.feedback-preview{text-overflow:ellipsis;white-space:nowrap;color:#939caa;margin:9px 0 13px;font-size:12px;display:block;overflow:hidden}.feedback-meta{color:#9ba4b1;flex-wrap:wrap;font-size:11px}.feedback-pagination{justify-content:center;align-items:center;gap:16px;margin-top:20px;font-size:12px;display:flex}.feedback-list-end{text-align:center;color:#afb6c1;margin:20px 0 0;font-size:11px}.feedback-content{overflow-wrap:anywhere;white-space:pre-wrap;color:#435064;margin:12px 0 24px;font-size:14px;line-height:1.85}.feedback-reply{background:#f6f9fe;border:1px solid #e3ecfa;border-radius:12px;margin-top:16px;padding:18px 20px}.feedback-reply strong{color:#3774c7;font-size:12px}.feedback-reply .feedback-content{color:#54647b;margin:10px 0 0;font-size:13px;line-height:1.85}.feedback-reply small{color:#9ba4b1;font-size:11px}.feedback-read-error{color:var(--danger);margin-top:10px;font-size:12px}.feedback-empty{color:#7b8695;font-size:13px;line-height:1.8}@media (width<=520px){.feedback-dialog{border-radius:16px;max-height:calc(100dvh - 64px)}.feedback-header{padding:12px 20px}.feedback-body{padding:22px 20px}.feedback-body-compose{padding:11px 10px}.feedback-body-list{padding:8px 20px 20px}.feedback-header-actions{gap:8px}.feedback-form-footer{align-items:flex-start}.feedback-hint{max-width:145px;line-height:1.7}.feedback-hint svg{display:none}}.app-content{min-height:calc(100dvh - 4.75rem);margin-left:0;padding:22px}.placeholder-page h1{letter-spacing:-.05em;margin:0;font-size:clamp(2.5rem,6vw,5rem)}.mobile-navigation{display:none}.toast{z-index:50;background:var(--surface-raised);border-radius:.75rem;padding:.75rem 1rem;position:fixed;bottom:1rem;right:1rem}.route-error{text-align:center;place-content:center;min-height:100vh;display:grid}.page-heading,.workspace-heading{justify-content:space-between;align-items:start;gap:1.5rem;margin-bottom:2rem;display:flex}.page-heading :is(h1,h2),.workspace-heading h1{letter-spacing:-.05em;margin:0;font-size:clamp(2rem,3.3vw,3rem);line-height:1.08}.page-heading-description{max-width:38rem;color:var(--muted);margin:.7rem 0 0;line-height:1.65}.project-library-heading{justify-content:flex-end;margin-bottom:2.25rem}.project-library-heading :is(h1,h2){font-size:clamp(1.875rem,2.4vw,2.25rem)}.project-library-heading>.ui-button{flex:none;min-height:40px;padding:8px 16px;font-size:14px}.screenplay-list-page{flex-direction:column;width:min(100%,144rem);min-height:calc(100dvh - 4.75rem - 44px);margin-inline:auto;display:flex}.project-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1.25rem;display:grid}.project-card{border-color:var(--border-default);background:var(--surface-overlay);flex-direction:column;padding:0;transition:transform .18s,border-color .18s,box-shadow .18s;display:flex;position:relative;overflow:hidden;box-shadow:0 .25rem 1rem #25364a0a}.project-card:hover,.project-card:focus-within{border-color:var(--border-accent);transform:translateY(-2px);box-shadow:0 1.1rem 2.5rem #25364a1f}.project-card-main{min-width:0;color:inherit;flex-direction:column;flex:1;display:flex}.project-card-main:focus-visible{box-shadow:inset var(--focus-ring)}.project-card-media{aspect-ratio:16/9;background:#18222e;width:100%;position:relative;overflow:hidden}.project-card-cover{object-fit:cover;width:100%;height:100%;transition:transform .3s cubic-bezier(.16,1,.3,1);display:block}.project-card:hover .project-card-cover,.project-card:focus-within .project-card-cover{transform:scale(1.025)}.project-card-cover-placeholder{background:radial-gradient(circle at 72% 18%,#1478ff52,#0000 28%),linear-gradient(145deg,#243549,#111923);place-items:center;width:100%;height:100%;display:grid;position:relative}.project-card-cover-placeholder:before{content:"";border:1px solid #ffffff17;border-radius:.65rem;position:absolute;inset:.8rem}.project-card-placeholder-mark{opacity:.2;width:5rem;height:5rem}.project-card-placeholder-mark img{width:100%;height:100%}.project-card-type{color:#fff;letter-spacing:.04em;background:#111923c2;border:1px solid #ffffff24;border-radius:999px;padding:.3rem .55rem;font-size:.75rem;font-weight:700;position:absolute;top:.75rem;left:.75rem}.project-card-summary{justify-content:space-between;align-items:center;gap:1rem;min-width:0;padding:1.15rem 1.2rem .85rem;display:flex}.project-card-summary>div{min-width:0}.project-card-summary h2{letter-spacing:-.025em;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1.08rem;line-height:1.3;overflow:hidden}.project-card-meta{color:var(--muted);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:.65rem;margin:.45rem 0 0;font-size:.75rem;display:flex}.project-card-meta span+span{padding-left:.65rem;position:relative}.project-card-meta span+span:before{background:var(--border-default);content:"";width:1px;height:.7rem;position:absolute;top:50%;left:0;transform:translateY(-50%)}.project-card-footer{border-top:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:.75rem;margin:0 1.2rem;padding:.7rem 0 .85rem;display:flex}.project-card-updated{color:var(--muted);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;overflow:hidden}.project-card-menu-trigger{cursor:pointer;width:1.6rem;height:1.6rem;color:var(--muted);letter-spacing:.06em;background:0 0;border:0;border-radius:.4rem;flex:none;place-items:center;padding:0 0 .2rem;font-size:.72rem;font-weight:700;display:grid;position:static}.project-card-menu-trigger:hover,.project-card-menu-trigger[data-state=open]{background:var(--accent-soft);color:var(--accent)}.project-card-menu{z-index:60;border:1px solid var(--border-default);background:var(--surface-overlay);border-radius:.65rem;min-width:9rem;padding:.35rem;box-shadow:0 1rem 2.5rem #1f30432e}.project-card-menu-edit,.project-card-menu-delete{cursor:pointer;border-radius:.45rem;outline:none;padding:.6rem .7rem;font-size:.875rem;font-weight:650}.project-card-menu-edit:is(:hover,:focus,[data-highlighted]){background:var(--accent-soft);color:var(--accent-strong)}.project-card-menu-delete{color:var(--danger)}.project-card-menu-delete:is(:hover,:focus,[data-highlighted]){background:#ff85491f}.project-card-context-menu{z-index:70;border:1px solid var(--border-default);background:var(--surface-overlay);border-radius:.65rem;min-width:9rem;padding:.35rem;display:grid;position:fixed;box-shadow:0 1rem 2.5rem #1f30432e}.project-card-context-menu button{cursor:pointer;color:var(--text);text-align:left;background:0 0;border:0;border-radius:.45rem;outline:none;padding:.6rem .7rem;font-size:.875rem;font-weight:650}.project-card-context-menu button:is(:hover,:focus){background:var(--accent-soft);color:var(--accent-strong)}.project-card-context-menu button.is-danger{color:var(--danger)}.project-card-context-menu button.is-danger:is(:hover,:focus){color:var(--danger);background:#ff85491f}.empty-state h2{margin-top:0}.project-link{color:var(--accent);margin-top:1rem;font-weight:700;display:inline-flex}.empty-state{text-align:center;max-width:40rem;margin:auto;padding-block:4rem}.project-library-page>.empty-state{border:1px dashed var(--border-default);border-radius:var(--radius-md);background:#ffffff85;width:min(100%,40rem);padding:clamp(3rem,8vw,5rem) 1.5rem}.project-state-card{justify-content:space-between;align-items:center;gap:1.5rem;padding:1.25rem;display:flex}.project-state-card h2{margin:0;font-size:1rem}.project-state-card p{margin:.35rem 0 0;font-size:.86rem}.project-refresh-notice{color:#704d00;background:#fff8e8;border-color:#f0c36a;margin-bottom:1rem;padding:.8rem 1rem;font-size:.84rem}.project-retry-button{border:1px solid var(--border-default);color:var(--accent-strong);background:#fff;flex:none}.project-card-skeleton{border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-overlay);overflow:hidden}.project-card-skeleton>span{aspect-ratio:16/9;background:linear-gradient(110deg,#e7ebf0 18%,#f3f5f7 38%,#e7ebf0 58%) 0 0/200% 100%;animation:1.4s ease-in-out infinite project-skeleton;display:block}.project-card-skeleton>strong,.project-card-skeleton>small{background:var(--surface-raised);border-radius:.35rem;height:.8rem;margin:1rem 1.1rem 0;display:block}.project-card-skeleton>strong{width:55%}.project-card-skeleton>small{width:36%;height:.6rem;margin-top:.65rem;margin-bottom:1rem}@keyframes project-skeleton{to{background-position-x:-200%}}.pagination{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:center;align-items:center;gap:.75rem;margin-top:auto;padding-top:2.5rem;font-size:.82rem;display:flex}.pagination .ui-button{border:1px solid var(--border-default);background:var(--surface-overlay);min-height:2.5rem;color:var(--text);font-size:.8rem}.pagination .ui-button:hover{border-color:var(--border-accent);background:var(--accent-soft);color:var(--accent-strong)}.project-dialog-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a94}.project-dialog-secondary-button{border:1px solid var(--border-default);background:var(--surface-overlay);color:var(--text)}.project-dialog-secondary-button:hover{border-color:var(--border-accent);background:var(--accent-soft);color:var(--accent-strong)}.workspace-layout{grid-template-columns:13rem minmax(0,1fr);gap:1.5rem;display:grid}.step-navigation{flex-direction:column;gap:.5rem;display:flex}.step-navigation button{cursor:pointer;background:var(--surface-panel);color:var(--muted);text-align:left;border:1px solid #0000;border-radius:.75rem;grid-template-columns:1.75rem 1fr;align-items:center;gap:.15rem .65rem;padding:.75rem;display:grid}.step-navigation button>span{background:var(--surface-raised);width:1.75rem;height:1.75rem;color:var(--accent);border-radius:50%;grid-row:span 2;place-items:center;display:grid}.step-navigation button strong{color:var(--text)}.step-navigation button small{text-overflow:ellipsis;overflow:hidden}.step-navigation button[aria-current=step]{border-color:var(--accent);background:var(--surface-raised)}.step-workspace{border-radius:var(--radius-lg);background:var(--surface-panel);border:1px solid #1a1c1f14;gap:1.5rem;min-width:0;padding:clamp(1rem,3vw,2rem);display:grid}.project-shell{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(13rem,17rem) minmax(0,1fr);min-height:100svh;display:grid}.project-shell>.app-header{grid-area:1/1/auto/-1}.project-shell>.workspace-layout{display:contents}.project-navigation{background:#ffffffe6;border-right:1px solid #1a1c1f14;grid-area:2/1;gap:.5rem;padding:0 1.5rem 1.5rem}.project-navigation .nav-item{min-width:0}.project-navigation .nav-item[aria-current=page]{background:var(--surface-raised);color:var(--text)}.project-content{grid-area:2/2;min-width:0;margin:clamp(1rem,3vw,3rem)}.project-content :is(input,select,textarea,video){min-width:0;max-width:100%}.project-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.storyboard-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1rem;display:grid}.storyboard-grid>*{min-width:0}.storyboard-grid label{gap:.4rem;margin-top:.8rem;display:grid}.video-grid,.task-list{grid-template-columns:minmax(0,1fr);gap:1.5rem;display:grid}.video-grid>*,.task-list>*{min-width:0}.task-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.task-filters label{gap:.5rem;min-width:0;display:grid}.director-workspace{--surface-page:#f7f9fb;--surface-panel:#f1f4f7;--surface-raised:#e9eef4;--surface-overlay:#fff;--accent:#0969da;--accent-strong:#0550ae;--text:#17202b;--muted:#5b6673;--muted-soft:#64748b;--danger:#b42318;--danger-soft:#fff1ef;--border-subtle:#e1e6ec;--border-default:#d5dce4;--border-strong:#b8c2ce;--border-accent:#0969da59;--accent-soft:#e8f2ff;--shadow-panel:0 1.5rem 4rem #1a27361a;--focus-ring:0 0 0 3px #0969da47;background:var(--surface-page);width:100%;min-height:100svh;color:var(--text);grid-template-rows:auto minmax(0,1fr);padding:0;display:grid}@media (width>=1101px){.director-workspace{height:100svh;overflow:hidden}}.director-header{border-bottom:1px solid var(--border-subtle);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff5;justify-content:space-between;align-items:center;gap:1rem;min-height:4.75rem;padding:.7rem clamp(1rem,2vw,1.75rem);display:flex;box-shadow:0 1px #17202b05}.director-header-identity,.director-title-row{align-items:center;min-width:0;display:flex}.director-header-identity{flex:1;gap:1rem}.director-workspace-home{color:#344254;border-radius:.7rem;flex:none;align-items:center;gap:.65rem;padding:.25rem .45rem .25rem .25rem;font-size:.78rem;font-weight:750;display:flex}.director-workspace-home:hover{background:var(--accent-soft);color:var(--accent-strong)}.director-header-brand-mark{background:var(--accent);color:#fff;border-radius:.62rem;place-items:center;width:2.25rem;height:2.25rem;display:grid;box-shadow:0 .5rem 1.1rem #0969da2e}.director-header-divider{background:var(--border-default);flex:none;width:1px;height:2rem}.director-project-title{gap:.28rem;min-width:0;display:grid}.director-title-row{gap:.6rem}.director-title-row h1{letter-spacing:-.025em;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1.08rem;line-height:1.25;overflow:hidden}.director-project-meta{min-width:0;color:var(--muted);font-variant-numeric:tabular-nums;align-items:center;gap:.55rem;margin:0;font-size:.68rem;display:flex}.director-project-meta span{white-space:nowrap}.director-project-meta span+span{padding-left:.55rem;position:relative}.director-project-meta span+span:before{background:var(--border-strong);content:"";border-radius:50%;width:2px;height:2px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.director-back{border:1px solid var(--border-subtle);width:2.25rem;height:2.25rem;color:var(--muted);border-radius:.55rem;flex:none;place-items:center;font-size:1rem;display:grid}.director-back:hover{border-color:var(--border-accent);background:var(--accent-soft);color:var(--accent)}.director-project-type{background:var(--accent-soft);color:var(--accent-strong);border:1px solid #d5e7fb;border-radius:999px;flex:none;padding:.16rem .45rem;font-size:.65rem;font-weight:750}.director-header-actions{flex:none;align-items:center;gap:.75rem;display:flex}.director-resource-type-menu{--surface-page:#f7f9fb;--surface-raised:#e9eef4;--surface-overlay:#fff;--accent:#0969da;--accent-strong:#0550ae;--text:#17202b;--muted:#5b6673;--danger:#b42318;--border-subtle:#e1e6ec;--border-default:#d5dce4;--accent-soft:#e8f2ff;--focus-ring:0 0 0 3px #0969da47}.director-task-sidebar{--screenplay-scrollbar-size:10px;--screenplay-side-inset:1rem;--screenplay-accent:#4f73d9;--screenplay-accent-strong:#365bbd;--screenplay-accent-soft:#edf1ff;--screenplay-panel:#fff;--screenplay-panel-soft:#f8f9fb;--screenplay-text:#20242b;--screenplay-muted:#727986;--screenplay-line:#e4e7ec;--screenplay-danger:#c94d4d;grid-template-columns:0 var(--director-task-sidebar-width);border-left:1px solid var(--border-subtle);background:#fff;min-width:0;min-height:0;display:grid;overflow:hidden}.director-task-sidebar-resize-handle{z-index:2;cursor:col-resize;touch-action:none;justify-self:start;width:.5rem;min-height:100%;position:relative}.director-task-sidebar-resize-handle:before{content:"";background:0 0;width:1px;transition:width .12s,background .12s;position:absolute;inset:0 auto 0 0}.director-task-sidebar-resize-handle:is(:hover,:focus-visible):before{background:var(--accent);width:3px}.director-task-sidebar-content{width:var(--director-task-sidebar-width);grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;padding:1rem;display:grid;overflow:hidden}.director-task-sidebar-content>.screenplay-side-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.director-task-sidebar-panel{min-width:0;min-height:0;margin-top:1.125rem;overflow:hidden}.director-task-sidebar-panel[hidden]{display:none}.director-task-sidebar-panel:is(.is-ai,.is-tasks,.is-exports){width:calc(100% + var(--screenplay-side-inset))}.director-task-sidebar-panel.is-ai,.director-task-sidebar-panel:is(.is-tasks,.is-exports){height:calc(100% - 1.125rem)}.director-task-sidebar-panel :is(.shot-video-task-panel,.export-task-panel){width:100%}.export-task-panel{width:var(--director-task-sidebar-width);background:#fff;grid-template-rows:auto minmax(0,1fr);height:100%;min-height:0;display:grid;overflow:hidden}.export-task-content{align-content:start;display:grid}.export-task-item{position:relative}.export-task-error{line-height:1.5;color:var(--danger)!important}.export-task-remark{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;color:var(--text)!important}.export-task-download{background:var(--accent-soft);color:var(--accent-strong);border-radius:.4rem;justify-self:end;padding:.35rem .55rem;font-size:.65rem;font-weight:750;text-decoration:none}.export-task-download:hover{background:var(--accent);color:#fff}.export-task-pagination{color:var(--muted);justify-content:center;align-items:center;gap:.65rem;padding-top:.75rem;font-size:.65rem;display:flex}.export-task-pagination button{cursor:pointer;border:1px solid var(--border-default);color:var(--text);font:inherit;background:#fff;border-radius:.4rem;padding:.35rem .55rem}.export-task-pagination button:disabled{cursor:not-allowed;opacity:.45}.director-export-remark-field small{color:var(--muted);justify-self:end;font-size:.68rem;font-weight:500}.director-task-sidebar-content .screenplay-ai-scroll-bottom{z-index:2;cursor:pointer;border:1px solid var(--screenplay-line);background:var(--screenplay-panel);color:var(--screenplay-text);border-radius:999px;align-items:center;gap:5px;padding:7px 11px;font-size:12px;display:flex;position:absolute;bottom:10px;left:calc(50% - .5rem);transform:translate(-50%);box-shadow:0 6px 18px #181f2f24}.shot-video-task-panel{width:var(--director-task-sidebar-width);background:#fff;grid-template-rows:auto minmax(0,1fr);height:100%;min-height:0;display:grid;overflow:hidden;container-type:inline-size}.shot-video-task-filter{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:.75rem;padding:.7rem .75rem;display:flex}.shot-video-task-filter>span{color:var(--muted);font-size:.68rem;font-weight:700}.shot-video-task-filter-trigger{cursor:pointer;border:1px solid var(--border-default);min-width:7.5rem;color:var(--text);font:inherit;background:#fff;border-radius:.45rem;justify-content:space-between;align-items:center;gap:.75rem;padding:.4rem .5rem .4rem .55rem;font-size:.7rem;display:flex}.shot-video-task-filter-trigger:hover{border-color:var(--border-strong)}.shot-video-task-filter-trigger svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:.8rem;height:.8rem;transition:transform .12s}.shot-video-task-filter-trigger[data-state=open] svg{transform:rotate(180deg)}.shot-video-task-filter-menu{z-index:120;min-width:var(--radix-dropdown-menu-trigger-width);border:1px solid var(--border-default);background:#fff;border-radius:.5rem;padding:.25rem;box-shadow:0 .75rem 2rem #1f304329}.shot-video-task-filter-option{cursor:pointer;color:var(--text);-webkit-user-select:none;user-select:none;border-radius:.35rem;outline:none;padding:.45rem .55rem .45rem 1.5rem;font-size:.7rem;position:relative}.shot-video-task-filter-option:is(:hover,:focus,[data-highlighted]){background:var(--accent-soft);color:var(--accent-strong)}.shot-video-task-filter-option>span{color:var(--accent);font-size:.66rem;font-weight:800;position:absolute;left:.5rem}.shot-video-task-content{overscroll-behavior:contain;min-height:0;padding:.75rem var(--screenplay-side-inset) .75rem .75rem;scrollbar-color:#20242b80 transparent;scrollbar-width:thin;background:#fff;overflow-y:auto}.shot-video-task-content::-webkit-scrollbar{width:var(--screenplay-scrollbar-size)}.shot-video-task-content::-webkit-scrollbar-track{box-shadow:none;background:0 0;border:0}.shot-video-task-content::-webkit-scrollbar-thumb{background:#20242b80 padding-box content-box;border:3px solid #0000;border-radius:999px}.shot-video-task-list{gap:.55rem;margin:0;padding:0;list-style:none;display:grid}.shot-video-task-item{border:1px solid var(--border-default);background:#fff;border-radius:.7rem;grid-template-columns:clamp(76px,28%,108px) minmax(0,1fr);gap:.65rem;min-width:0;padding:.75rem;display:grid;box-shadow:0 .2rem .75rem #25364a0a}.shot-video-task-item.is-generating{position:relative}.shot-video-task-item.is-generating .shot-video-task-item-content{padding-bottom:2rem}.shot-video-task-preview,.shot-video-task-preview-placeholder{aspect-ratio:27/19;background:linear-gradient(145deg,#eef2f7,#e2e8f0);border:0;border-radius:.55rem;align-self:start;place-items:center;width:100%;padding:0;display:grid;position:relative;overflow:hidden}.shot-video-task-preview{cursor:zoom-in}.shot-video-task-preview :is(img,video){object-fit:cover;width:100%;height:100%}.shot-video-task-preview-open{color:#fff;background:#101923ad;border-radius:999px;place-items:center;width:1.4rem;height:1.4rem;font-size:.68rem;display:grid;position:absolute;bottom:.4rem;right:.4rem}.shot-video-task-preview:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.shot-video-task-preview-placeholder{color:#94a3b8;align-content:center;gap:.35rem}.shot-video-task-preview-placeholder svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.4px;width:2rem;height:2rem}.shot-video-task-preview-placeholder small{font-size:.62rem}.shot-video-task-item-content{gap:.5rem;min-width:0;display:grid}.shot-video-task-item-heading{justify-content:space-between;align-items:center;gap:.6rem;min-width:0;display:flex}.shot-video-task-item-heading strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.76rem;overflow:hidden}.shot-video-task-status{border-radius:999px;flex:none;padding:.2rem .4rem;font-size:.58rem;font-weight:750}.shot-video-task-status-generating,.shot-video-task-status-processing{background:var(--accent-soft);color:var(--accent-strong)}.shot-video-task-status-queued{color:#b45309;background:#f59e0b1f}.shot-video-task-status-completed{color:#178359;background:#28a7741a}.shot-video-task-status-failed{color:var(--danger);background:#e255071a}.shot-video-task-status-canceled,.shot-video-task-status-unknown{background:var(--border-subtle);color:var(--muted)}.shot-video-task-error{min-width:0;color:var(--danger);overflow-wrap:anywhere;word-break:break-word;margin:0;font-size:.64rem;line-height:1.5}.shot-video-task-error>summary{cursor:pointer}.shot-video-task-error>summary:focus-visible{outline:2px solid var(--danger);outline-offset:2px}.shot-video-task-error>p{white-space:pre-wrap;margin:.35rem 0 0}.shot-video-task-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem .65rem;margin:0;display:grid}.shot-video-task-meta>div{grid-template-columns:auto minmax(0,1fr);gap:.3rem;min-width:0;font-size:.64rem;line-height:1.45;display:grid}.shot-video-task-meta :is(dt,dd){min-width:0;margin:0}.shot-video-task-meta dt{color:var(--muted)}.shot-video-task-meta dd{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-weight:650;overflow:hidden}@container (width<=380px){.shot-video-task-item{gap:.55rem;padding:.6rem}.shot-video-task-meta{grid-template-columns:minmax(0,1fr);gap:.25rem}}.shot-video-task-progress-wrap{gap:.3rem;display:grid}.shot-video-task-progress-copy{color:var(--muted);justify-content:space-between;align-items:center;font-size:.6rem;display:flex}.shot-video-task-progress-copy b{color:var(--accent-strong);font-size:.62rem}.shot-video-task-progress{background:var(--border-subtle);border-radius:999px;height:.3rem;overflow:hidden}.shot-video-task-progress>span{border-radius:inherit;background:var(--accent);height:100%;display:block}.shot-video-task-stop{cursor:pointer;color:var(--danger);font:inherit;background:0 0;border:0;border-radius:.4rem;padding:.35rem .5rem;font-size:.62rem;font-weight:750;transition:background .12s;position:absolute;bottom:.65rem;right:.75rem}.shot-video-generation-task-item .shot-video-task-item-heading strong{font-size:13px}.shot-video-generation-task-item :is(.shot-video-task-preview-open,.shot-video-task-preview-placeholder small,.shot-video-task-status,.shot-video-task-error,.shot-video-task-meta>div,.shot-video-task-progress-copy,.shot-video-task-progress-copy b,.shot-video-task-stop){font-size:12px}.shot-video-task-stop:is(:hover,:focus-visible){background:#e255071a}.shot-video-task-stop:focus-visible{outline:2px solid var(--danger);outline-offset:2px}.shot-video-task-stop:disabled{cursor:wait;color:var(--muted)}.shot-video-task-stop-error{color:var(--danger);margin:0 0 .55rem;font-size:.66rem;line-height:1.5}.shot-video-task-confirm-backdrop{z-index:150;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#10192375;place-items:center;padding:1rem;display:grid;position:fixed;inset:0;overflow-y:auto}.shot-video-task-confirm{border:1px solid var(--border-default);background:var(--surface-overlay);width:min(28rem,100%);max-height:calc(100vh - 2rem);box-shadow:var(--shadow-panel);color:var(--text);border-radius:1rem;gap:.85rem;padding:1.1rem;display:grid;overflow-y:auto}.shot-video-task-confirm h2{margin:0;font-size:1.15rem}.shot-video-task-confirm>p{color:var(--muted);margin:0;font-size:.78rem;line-height:1.6}.shot-video-task-confirm [role=alert]{color:var(--danger);font-size:.72rem;font-weight:750}.shot-video-task-confirm-actions{justify-content:flex-end;gap:.5rem;display:flex}.shot-video-task-confirm-actions button{cursor:pointer;border:1px solid var(--border-default);background:var(--surface-raised);min-height:2.35rem;color:var(--text);border-radius:.5rem;padding:.55rem .75rem;font-size:.74rem;font-weight:800}.shot-video-task-confirm-actions button:hover:not(:disabled){border-color:var(--border-strong);background:var(--accent-soft);color:var(--accent-strong)}.shot-video-task-confirm-actions button:focus-visible{box-shadow:var(--focus-ring);outline:none}.shot-video-task-confirm-actions .shot-video-task-confirm-danger{border-color:var(--danger);background:var(--danger);color:#fff}.shot-video-task-confirm-actions .shot-video-task-confirm-danger:hover:not(:disabled){color:#fff;background:#8f1c14;border-color:#8f1c14}.shot-video-task-confirm-actions button:disabled{cursor:wait;opacity:.65}.shot-video-task-video-dialog video{background:#05070a;border-radius:.65rem;width:100%;max-height:min(72vh,48rem);display:block}@media (hover:none){.shot-video-task-stop{opacity:1;pointer-events:auto}}.shot-video-task-state{color:var(--muted);text-align:center;justify-items:center;gap:.55rem;margin:0;padding:1.25rem .75rem;font-size:.7rem;display:grid}.shot-video-task-state.is-error{color:var(--danger)}.shot-video-task-state button{cursor:pointer;border:1px solid var(--border-default);background:var(--surface-raised);color:var(--text);font:inherit;border-radius:.45rem;padding:.4rem .65rem}.shot-video-task-state button:hover{border-color:var(--border-accent);color:var(--accent)}.director-layout{grid-template-columns:var(--director-sidebar-width) 0 minmax(0, 1fr) auto;background:var(--surface-page);min-width:0;min-height:0;display:grid}.director-resource-panel{border-right:1px solid var(--border-subtle);background:#fff;min-width:0;padding:1.15rem .85rem 1rem;overflow-y:auto}.director-resize-handle{z-index:2;cursor:col-resize;touch-action:none;justify-self:start;width:.5rem;min-height:100%;position:relative}.director-resize-handle:before{content:"";background:0 0;width:1px;transition:width .12s,background .12s;position:absolute;inset:0 auto 0 0}.director-resize-handle:is(:hover,:focus-visible):before{background:var(--accent);width:3px}.director-resize-handle.ui-focus:focus-visible,.director-task-sidebar-resize-handle.ui-focus:focus-visible{box-shadow:none}.director-panel-heading{color:var(--text);letter-spacing:0;text-transform:none;justify-content:space-between;align-items:center;gap:.75rem;padding:0 .15rem;font-size:.78rem;font-weight:750;display:flex}.director-panel-heading span:last-child{color:var(--muted);font-size:.68rem;font-weight:600}.director-shot-toolbar h2{letter-spacing:-.04em;margin:0;font-size:clamp(1.45rem,2.4vw,2rem)}.director-tabs{border:1px solid var(--border-subtle);background:#f5f7fa;border-radius:.7rem;grid-template-columns:repeat(3,minmax(0,1fr));gap:.2rem;margin:.85rem 0 1rem;padding:.22rem;display:grid}.director-tabs button{cursor:pointer;min-width:0;min-height:2.15rem;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:.48rem;justify-content:center;align-items:center;gap:.35rem;padding:.4rem .2rem;font-size:.75rem;font-weight:700;display:flex}.director-tabs button:hover{color:var(--text);background:#fff}.director-tabs button[aria-selected=true]{color:var(--accent-strong);background:#fff;font-weight:800;box-shadow:0 1px 3px #1f30431a}.director-tab-icon,.director-tab-icon svg{width:1rem;height:1rem;display:block}.director-tab-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round}.director-resource-list{align-content:start;gap:.45rem;display:grid}.director-resource-tools,.director-scene-tools{grid-template-columns:minmax(0,1fr) auto;gap:.45rem;margin-bottom:.65rem;display:grid}.director-resource-search{border:1px solid var(--border-default);min-width:0;min-height:2.35rem;color:var(--text);font:inherit;background:#fff;border-radius:.58rem;padding:.5rem .65rem;font-size:.75rem}.director-resource-search::placeholder{color:var(--muted-soft)}.director-resource-add{background:var(--accent);color:#fff;font:inherit;white-space:nowrap;border:0;border-radius:.58rem;justify-content:center;align-items:center;gap:.25rem;padding:.45rem .55rem;font-size:.75rem;font-weight:800;display:inline-flex}.director-resource-add:hover{background:var(--accent-strong)}.director-resource-add-icon{width:2.35rem;height:2.35rem;padding:0;font-size:1rem}.director-resource-add:disabled{cursor:wait;opacity:.68}.director-side-state{color:var(--danger);background:#ff85490f;border:1px solid #ff854933;border-radius:.55rem;margin:0;padding:.75rem;font-size:.72rem;line-height:1.45}.director-resource-item{width:100%;min-width:0;color:var(--text);text-align:left;background:#fff;border:1px solid #0000;border-radius:.68rem;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.65rem;padding:.58rem;display:grid}.director-resource-item>span{width:1.5rem;height:1.5rem;color:var(--accent);font-variant-numeric:tabular-nums;background:0 0;border-radius:.4rem;place-items:center;font-size:.7rem;font-weight:800;display:grid}.director-resource-item>.director-resource-icon{border:1px solid var(--border-subtle);background:#f3f6f9;border-radius:.55rem;width:2.85rem;height:2.85rem}.director-resource-item>.director-scene-thumbnail{border:1px solid var(--border-subtle);background:var(--accent-soft);border-radius:.55rem;width:2.85rem;height:2.85rem;overflow:hidden}.director-scene-thumbnail img{object-fit:cover;width:100%;height:100%;display:block}.director-scene-thumbnail svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:1.15rem;height:1.15rem}.director-resource-item:hover,.director-resource-item:focus-visible{border-color:var(--border-default);background:#f8fafc;outline:none;box-shadow:0 .35rem 1rem #25364a0f}.director-resource-preview-trigger{cursor:pointer}.director-resource-preview-trigger.is-draggable{cursor:grab}.director-resource-preview-trigger.is-draggable:active{cursor:grabbing}.director-resource-item>div{gap:.2rem;min-width:0;display:grid}.director-resource-item h3{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.78rem;overflow:hidden}.director-resource-item p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;opacity:.76;margin:0;font-size:.7rem;line-height:1.35;overflow:hidden}.director-resource-more{cursor:pointer;width:1.75rem;height:1.75rem;color:var(--muted);letter-spacing:.08em;background:0 0;border:0;border-radius:.4rem;place-items:center;padding:0;font-size:.7rem;display:grid}.director-resource-more:hover{background:var(--accent-soft);color:var(--accent-strong)}.director-resource-name{align-items:center;gap:.35rem;min-width:0;display:flex}.director-resource-name h3{min-width:0}.director-resource-type{background:var(--border-subtle);color:var(--muted);border-radius:.25rem;flex:none;padding:.1rem .3rem;font-size:.62rem;font-weight:800;line-height:1.2}.director-resource-type.is-image{color:#237fc8;background:#e9f6ff}.director-resource-type.is-video{color:#7655bf;background:#f1ecff}.director-resource-type.is-audio{color:#25885e;background:#e8f8f1}.director-resource-icon{position:relative;overflow:hidden}.director-resource-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:1rem;height:1rem}.director-resource-thumbnail{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.director-resource-video-thumbnail{object-fit:cover;pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}.director-resource-icon.is-video{color:#7655bf}.director-resource-icon.is-audio{color:#25885e}.director-resource-item>.director-task-dot{background:var(--accent);border-radius:50%;width:.55rem;height:.55rem;margin-inline:.45rem}.director-resource-item:hover>.director-task-dot{background:var(--accent)}.director-resource-context-menu{z-index:70;border:1px solid var(--border-default);background:#fff;border-radius:.6rem;min-width:7rem;padding:.3rem;display:grid;position:fixed;overflow:hidden;box-shadow:0 .75rem 1.8rem #19212929}.director-resource-context-menu button{color:var(--text);font:inherit;text-align:left;background:0 0;border:0;border-radius:.35rem;padding:.45rem .55rem;font-size:.76rem}.director-resource-context-menu button:hover{background:var(--accent-soft)}.director-resource-context-menu button.is-danger{color:var(--danger)}.director-dialog-backdrop{z-index:30;background:#19212952;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.director-resource-dialog{border:1px solid var(--border-subtle);background:var(--surface-page);width:min(25rem,100%);color:var(--text);border-radius:.8rem;gap:.85rem;padding:1.15rem;display:grid;position:relative;box-shadow:0 1.2rem 3rem #1921292e}.director-scene-dialog{width:min(52rem,100%);max-height:calc(100vh - 2rem);overflow-y:auto}.director-resource-dialog h2,.director-resource-dialog p{margin:0}.director-resource-dialog h2{font-size:1.1rem}.director-resource-preview-dialog{width:min(52rem,100%)}.director-preview-heading{justify-content:space-between;align-items:start;gap:1rem;display:flex}.director-preview-title{gap:.25rem;min-width:0;display:grid}.director-preview-title-row{align-items:center;gap:.5rem;min-width:0;display:flex}.director-preview-close{cursor:pointer;background:var(--border-subtle);width:1.8rem;height:1.8rem;color:var(--text);border:0;border-radius:.45rem;flex:none;place-items:center;font-size:1.2rem;line-height:1;display:grid}.director-preview-image,.director-preview-video{object-fit:contain;background:#131c24;border-radius:.55rem;width:100%;max-height:min(68vh,42rem);display:block}.director-preview-audio{width:100%}.director-preview-unavailable{border:1px dashed var(--border-subtle);text-align:center;border-radius:.55rem;padding:2.25rem 1rem;color:var(--muted)!important}.director-preview-description{line-height:1.5;color:var(--muted)!important;font-size:.78rem!important}.director-resource-dialog>p{color:var(--muted);font-size:.8rem;line-height:1.5}.director-resource-dialog label{color:var(--text);gap:.35rem;font-size:.75rem;font-weight:700;display:grid}.director-resource-dialog input,.director-resource-dialog select,.director-resource-dialog textarea{border:1px solid var(--border-subtle);background:var(--surface-page);width:100%;color:var(--text);font:inherit;border-radius:.45rem;padding:.5rem .55rem;font-size:.8rem}.director-resource-dialog textarea{resize:vertical}.director-resource-dialog .director-scene-content-input{resize:none}.director-character-dialog{width:min(44rem,100%);max-height:calc(100vh - 2rem);overflow-y:auto}.director-character-form-grid,.director-character-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.director-character-form-wide{grid-column:1/-1}.director-character-birth-field{align-content:start;gap:.45rem;display:grid}.director-character-date-control{position:relative}.director-resource-dialog .director-character-date-control input{padding-right:2.25rem}.director-character-date-control input.is-empty:not(:focus)::-webkit-datetime-edit{color:#0000}.director-character-date-placeholder{pointer-events:none;color:var(--muted);font-size:.8rem;position:absolute;top:50%;left:.55rem;transform:translateY(-50%)}.director-character-date-control:focus-within .director-character-date-placeholder{display:none}.director-character-date-clear{cursor:pointer;width:1.4rem;height:1.4rem;color:var(--muted);background:0 0;border:0;border-radius:.3rem;place-items:center;padding:0;font-size:1.1rem;line-height:1;display:grid;position:absolute;top:50%;right:.35rem;transform:translateY(-50%)}.director-character-date-clear:hover{color:var(--text);background:#19212914}.director-character-dialog textarea,.director-character-fixed-textarea{resize:none!important}.director-character-preview-field{background:#1921290a;border-radius:.55rem;gap:.25rem;min-width:0;padding:.65rem;display:grid}.director-character-preview-field strong{font-size:.72rem}.director-character-preview-field p{color:var(--text);white-space:pre-wrap}.director-resource-field{color:var(--text);gap:.35rem;font-size:.75rem;font-weight:700;display:grid}.director-resource-type-trigger{border:1px solid var(--border-subtle);background:var(--surface-page);width:100%;color:var(--text);font:inherit;text-align:left;border-radius:.45rem;justify-content:space-between;align-items:center;padding:.5rem .55rem;font-size:.8rem;display:flex}.director-resource-type-trigger>span:last-child{color:var(--accent);font-size:1rem;line-height:1}.director-resource-type-trigger:disabled{cursor:not-allowed;background:var(--surface-raised);color:var(--muted);opacity:.75}.director-resource-type-trigger:disabled>span:last-child{color:var(--muted)}.director-resource-type-menu{z-index:60;min-width:var(--radix-popper-anchor-width);background:var(--surface-page);border:1px solid #339cff40;border-radius:.55rem;padding:.25rem;overflow:hidden;box-shadow:0 .75rem 1.8rem #19212924}.director-resource-type-option{cursor:pointer;color:var(--text);border-radius:.35rem;outline:none;align-items:center;padding:.45rem .5rem .45rem 1.75rem;font-size:.78rem;display:flex;position:relative}.director-resource-type-option[data-highlighted]{background:#339cff1a}.director-resource-type-option[data-state=checked]{color:var(--accent);font-weight:800}.director-resource-type-indicator{color:var(--accent);position:absolute;left:.5rem}.director-file-input{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.director-file-picker{border:1px solid var(--border-subtle);background:var(--surface-page);border-radius:.45rem;align-items:center;gap:.55rem;min-width:0;padding:.35rem;display:flex}.director-file-picker button{background:var(--accent);color:var(--surface-page);font:inherit;border:0;border-radius:.3rem;flex:none;padding:.35rem .5rem;font-size:.72rem;font-weight:800}.director-file-picker>span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;overflow:hidden}.director-upload-status{color:var(--muted)!important;font-size:.75rem!important}.director-upload-preview{border:1px solid var(--border-subtle);background:#339cff0d;border-radius:.5rem;grid-template-columns:3rem minmax(0,1fr);align-items:center;gap:.7rem;padding:.45rem;display:grid;position:relative;overflow:hidden}.director-upload-preview>img,.director-upload-preview>span{background:var(--border-subtle);width:3rem;height:3rem;color:var(--accent);object-fit:cover;border-radius:.35rem;place-items:center;font-size:.8rem;font-weight:800;display:grid}.director-upload-preview>div{gap:.15rem;min-width:0;display:grid}.director-upload-preview strong,.director-upload-preview small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.director-upload-preview strong{font-size:.75rem}.director-upload-preview small{color:var(--muted);font-size:.68rem}.director-upload-cancel{cursor:pointer;width:1.25rem;height:1.25rem;color:var(--muted);background:#19212917;border:0;border-radius:50%;place-items:center;padding:0;font-size:1rem;line-height:1;display:grid;position:absolute;top:.35rem;right:.35rem}.director-upload-cancel:hover{color:var(--text);background:#19212929}.director-scene-upload-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.65rem;display:flex}.director-scene-upload-heading>div{color:var(--text);gap:.2rem;font-size:.75rem;font-weight:700;display:grid}.director-scene-upload-heading small{color:var(--muted);font-size:.68rem;font-weight:500}.director-scene-upload-heading>.director-image-generation-heading-actions{flex-direction:row;flex:none;gap:.35rem;display:flex}.director-image-generation-heading-actions>button{cursor:pointer;border:1px solid var(--border-subtle);background:var(--surface-page);width:2rem;height:2rem;color:var(--muted);border-radius:.45rem;place-items:center;padding:0;display:grid}.director-image-generation-heading-actions>button:hover,.director-image-generation-heading-actions>button.is-active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.director-image-generation-heading-actions svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:1.05rem;height:1.05rem}.director-image-generation-heading-actions button:first-child svg{fill:currentColor;stroke:none}.director-resource-dialog:has(.director-image-generation-panel){width:min(74rem,100%);padding-right:23.15rem;transition:width .18s,padding-right .18s}.director-image-generation-panel{z-index:2;border-left:1px solid var(--border-subtle);background:var(--surface-page);border-radius:0 .8rem .8rem 0;grid-template-rows:auto minmax(0,1fr);width:22rem;min-height:0;animation:.18s both director-image-panel-in;display:grid;position:absolute;top:0;bottom:0;right:0;overflow:hidden;box-shadow:-.8rem 0 2rem #1921290d}@keyframes director-image-panel-in{0%{opacity:0;transform:translate(.75rem)}to{opacity:1;transform:none}}.director-image-generation-panel-header{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:.75rem;min-height:4.25rem;padding:.85rem 1rem;display:flex}.director-image-generation-panel-header>div{gap:.2rem;min-width:0;display:grid}.director-image-generation-panel-header strong{font-size:.85rem}.director-image-generation-panel-header span{color:var(--muted);font-size:.65rem;line-height:1.4}.director-image-generation-panel-header>button{cursor:pointer;width:1.9rem;height:1.9rem;color:var(--muted);font:inherit;background:0 0;border:0;border-radius:.45rem;flex:none;place-items:center;padding:0;font-size:1.25rem;display:grid}.director-image-generation-panel-header>button:hover:not(:disabled){background:var(--accent-soft);color:var(--text)}.director-image-generation-panel-header>button:disabled{cursor:default;opacity:.5}.director-image-generation-panel-body{overscroll-behavior:contain;scrollbar-color:#20242b80 transparent;scrollbar-width:thin;min-height:0;padding:1rem;overflow-y:auto}.director-image-generation-panel-body::-webkit-scrollbar{width:10px}.director-image-generation-panel-body::-webkit-scrollbar-track{box-shadow:none;background:0 0;border:0}.director-image-generation-panel-body::-webkit-scrollbar-thumb{background:#20242b80 padding-box content-box;border:3px solid #0000;border-radius:999px}.director-workspace .screenplay-select-trigger{border-color:var(--border-subtle);background:var(--surface-page);color:var(--text)}.director-workspace .screenplay-select-trigger:focus{border-color:var(--accent);box-shadow:var(--focus-ring)}.director-image-generation-form{gap:.75rem;display:grid}.director-image-generation-form.is-compact{grid-template-columns:1fr}.director-image-generation-form.is-compact textarea{resize:vertical;min-height:8.6rem}.director-image-generation-actions{justify-content:flex-end;gap:.45rem;display:flex}.director-image-generation-actions>button,.director-image-generation-state button,.director-image-generation-history-item>button{cursor:pointer;background:var(--border-subtle);color:var(--text);font:inherit;border:0;border-radius:.45rem;padding:.48rem .65rem;font-size:.72rem;font-weight:800}.director-image-generation-actions>.director-resource-add,.director-image-generation-history-item>button:not(:disabled){background:var(--accent);color:#fff}.director-image-generation-actions>button:disabled,.director-image-generation-history-item>button:disabled{cursor:not-allowed;opacity:.5}.director-image-generation-state{text-align:center;justify-content:center;align-items:center;gap:.5rem;min-height:4rem;display:flex;color:var(--muted)!important;font-size:.75rem!important}.director-image-generation-history-shell{gap:.75rem;display:grid}.director-image-generation-history-filter{justify-self:end;width:min(6.5rem,100%)}.director-image-generation-history-filter .screenplay-select-trigger{min-height:2rem;padding:.3rem .5rem;font-size:.7rem}.director-image-generation-history{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;display:grid}.director-image-generation-history-item{border:1px solid var(--border-subtle);background:var(--surface-page);border-radius:.55rem;align-content:start;gap:.65rem;min-width:0;padding:.45rem;display:grid}.director-image-generation-history-preview{cursor:zoom-in;background:0 0;border:0;width:100%;padding:0;display:block}.director-image-generation-history-preview:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:.4rem}.director-image-generation-history-preview img,.director-image-generation-placeholder{aspect-ratio:4/3;background:var(--border-subtle);width:100%;height:auto;color:var(--accent);object-fit:cover;border-radius:.4rem;place-items:center;font-size:.8rem;font-weight:900;display:grid}.director-image-generation-history-item>div{gap:.25rem;min-width:0;display:grid}.director-image-generation-history-item header{flex-wrap:wrap;justify-content:space-between;gap:.35rem;display:flex}.director-image-generation-history-item strong{font-size:.72rem}.director-image-generation-history-item time,.director-image-generation-history-item small{color:var(--muted);font-size:.65rem}.director-image-generation-history-item p{color:var(--text);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:.72rem;line-height:1.4;display:-webkit-box;overflow:hidden}.director-image-generation-history-item>button{width:100%}.director-image-generation-history-item>button.is-generating{color:var(--accent);opacity:1;background:#edf1ff}.director-image-generation-history-item>button.is-failed{color:#b42318;opacity:1;background:#fff0ee}.director-image-generation-dialog{width:min(36rem,100%)}@media (width<=720px){.director-resource-dialog:has(.director-image-generation-panel){padding-right:1.15rem}.director-image-generation-panel{width:min(22rem,100%);box-shadow:-1rem 0 2.4rem #19212924}}.director-scene-upload-add-button{background:var(--accent);color:var(--surface-page);font:inherit;border:0;border-radius:.3rem;flex:none;padding:.35rem .5rem;font-size:.72rem;font-weight:800}.director-scene-upload-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;display:grid}.director-scene-image-grid{grid-template-columns:repeat(auto-fit,minmax(6rem,1fr));gap:.55rem;display:grid}.director-scene-upload-item,.director-scene-upload-dropzone{border:1px solid var(--border-subtle);background:#339cff0d;border-radius:.5rem;gap:.45rem;min-width:0;min-height:18.5rem;padding:.4rem;display:grid;position:relative}.director-scene-upload-item>img,.director-scene-image-grid img{aspect-ratio:4/3;background:var(--border-subtle);object-fit:cover;border-radius:.35rem;width:100%;display:block}.director-scene-upload-item>video{aspect-ratio:4/3;object-fit:contain;background:#131c24;border-radius:.35rem;width:100%;display:block}.director-scene-upload-item>audio{align-self:center;width:100%}.director-resource-file-placeholder{aspect-ratio:4/3;background:var(--border-subtle);width:100%;color:var(--muted);border-radius:.35rem;place-items:center;font-size:.78rem;font-weight:800;display:grid}.director-scene-upload-item>span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;line-height:1.35;overflow:hidden}.director-scene-upload-description{color:var(--text);align-content:start;gap:.25rem;font-size:.68rem;font-weight:700;display:grid}.director-scene-upload-description textarea{min-height:3.75rem;padding:.35rem .4rem;font-size:.7rem}.director-resource-dialog .director-scene-upload-description textarea{resize:none}.director-scene-upload-actions{justify-content:flex-end;gap:.25rem;display:flex}.director-scene-upload-actions button{background:var(--border-subtle);color:var(--text);font:inherit;border:0;border-radius:.3rem;padding:.25rem .4rem;font-size:.66rem;font-weight:700}.director-scene-edit-remove{cursor:pointer;color:#fff;background:#192129ad;border:0;border-radius:50%;place-items:center;width:1.6rem;height:1.6rem;padding:0;font-size:1rem;line-height:1;display:grid;position:absolute;top:.65rem;right:.65rem}.director-scene-edit-remove:hover{background:var(--danger)}.director-scene-upload-retry{background:var(--border-subtle);color:var(--text);font:inherit;border:0;border-radius:.3rem;justify-self:end;padding:.25rem .4rem;font-size:.66rem;font-weight:700}.director-scene-upload-dropzone{cursor:pointer;color:var(--muted);font:inherit;text-align:center;border-style:dashed;align-content:center;place-items:center}.director-scene-upload-dropzone>span{color:var(--accent);font-size:1.5rem;line-height:1}.director-scene-upload-dropzone strong{color:var(--text);font-size:.75rem}.director-scene-upload-dropzone small{font-size:.68rem}.director-resource-dialog :is(input,textarea)[readonly]{color:var(--muted);cursor:default;background:#1921290a}.director-resource-dialog :is(input,textarea)[readonly]:focus{border-color:var(--border-subtle);box-shadow:none;outline:none}.director-dialog-actions{justify-content:flex-end;gap:.45rem;margin-top:.15rem;display:flex}.director-dialog-actions>button{background:var(--border-subtle);color:var(--text);font:inherit;border:0;border-radius:.45rem;padding:.45rem .65rem;font-size:.75rem;font-weight:800}.director-dialog-actions>button:hover:not(:disabled){background:var(--surface-raised);color:var(--accent-strong)}.director-dialog-actions>.director-resource-add{background:var(--accent);color:var(--surface-page)}.director-dialog-actions>.director-resource-add:hover:not(:disabled){background:var(--accent-strong);color:#fff}.director-dialog-actions>.director-danger-button{background:var(--danger);color:var(--surface-page)}.director-dialog-actions>.director-danger-button:hover:not(:disabled){color:#fff;background:#8f1c14}.director-dialog-actions>button,.director-image-generation-actions>button{border-radius:.45rem;min-width:4.5rem;min-height:2.25rem;padding:.48rem .75rem;font-size:.75rem}.director-dialog-error{font-weight:700;color:var(--danger)!important}.director-shot-panel{background:#fff;min-width:0;min-height:0;padding:0;display:flex}.shot-studio-state{width:100%;color:var(--muted);text-align:center;place-content:center;gap:.55rem;margin:0;padding:2rem;display:grid}.shot-studio-state :is(h2,p){margin:0}.shot-studio-state h2{color:var(--text);font-size:1rem}.shot-studio-state button{background:var(--accent);color:#fff;font:inherit;border:0;border-radius:.5rem;justify-self:center;padding:.55rem .8rem;font-size:.75rem;font-weight:750}.director-shot-toolbar{justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1.2rem;display:flex}.director-shot-toolbar>div{gap:.45rem;max-width:42rem;display:grid}.director-project-description{color:var(--muted);margin:0;font-size:.82rem;line-height:1.55}.director-generate-button,.director-retry-button{cursor:pointer;background:var(--accent);min-height:2.4rem;color:var(--surface-page);border:0;border-radius:.5rem;flex:none;justify-content:center;align-items:center;gap:.45rem;padding:.6rem .8rem;font-size:.78rem;font-weight:800;display:inline-flex}.director-generate-button:hover,.director-retry-button:hover{background:var(--accent-strong)}.director-generate-button>span{font-size:1rem}.director-shot-list{gap:.85rem;display:grid}.director-shot-card{border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-panel);grid-template-columns:minmax(10rem,13rem) minmax(0,1fr);gap:1rem;min-width:0;padding:1rem;transition:border-color .16s,transform .16s;display:grid;overflow:hidden;box-shadow:0 .8rem 2rem #00000026}.director-shot-card:hover{border-color:var(--border-accent);transform:translateY(-2px)}.director-shot-visual{min-height:8rem;color:var(--accent);background:radial-gradient(circle at 78% 18%, #83c3ff38, transparent 25%), linear-gradient(145deg, #24384b, var(--surface-panel));margin:-1rem 0 -1rem -1rem;position:relative;overflow:hidden}.director-shot-visual-2{color:#f59a56;background:radial-gradient(circle at 22% 18%, #f59a5640, transparent 28%), linear-gradient(145deg, #3a2b21, var(--surface-panel))}.director-shot-visual-3{color:#74d58b;background:radial-gradient(circle at 76% 22%, #74d58b40, transparent 28%), linear-gradient(145deg, #20362a, var(--surface-panel))}.director-shot-visual svg{fill:currentColor;width:100%;height:100%;display:block}@supports (color:color-mix(in lab, red, red)){.director-shot-visual svg{fill:color-mix(in srgb, currentColor 16%, transparent)}}.director-shot-visual .director-shot-line{fill:none;stroke:currentColor;stroke-width:4px;stroke-linecap:round}.director-shot-visual>span{color:#fff;font-variant-numeric:tabular-nums;background:#181818c7;border-radius:999px;padding:.2rem .4rem;font-size:.65rem;position:absolute;bottom:.45rem;right:.55rem}.director-shot-copy{align-content:start;gap:.45rem;min-width:0;display:grid}.director-shot-heading{justify-content:space-between;align-items:start;gap:1rem;display:flex}.director-shot-heading p{color:var(--muted);letter-spacing:.1em;margin:0 0 .3rem;font-size:.65rem;font-weight:700}.director-shot-heading h3{letter-spacing:-.02em;margin:0;font-size:1rem}.director-status{border:1px solid var(--border-accent);background:var(--accent-soft);color:var(--accent);border-radius:999px;flex:none;padding:.3rem .55rem;font-size:.68rem;font-weight:700}.director-status-generating{border-color:var(--border-accent);background:var(--accent-soft);color:var(--accent)}.director-status-generated{color:#75e5ae;border-color:#5bd59a52}.director-status-dirty{color:#ffbd70;border-color:#ffb85c52}.director-shot-description{margin:0}.director-shot-description p,.director-empty-copy{color:var(--muted);margin:0;font-size:.78rem;line-height:1.5}.director-shot-meta{flex-wrap:wrap;gap:.45rem 1.1rem;margin:.2rem 0 0;display:flex}.director-shot-meta>div{gap:.35rem;font-size:.7rem;display:flex}.director-shot-meta dt{color:var(--muted)}.director-shot-meta dd{color:var(--text);margin:0}.director-shot-empty,.director-page-state{min-height:14rem;color:var(--muted);text-align:center;place-content:center;padding:2rem;display:grid}.director-page-state{min-height:100svh}.director-shot-empty{border:1px dashed var(--border-default);border-radius:var(--radius-md)}.director-shot-empty h3{color:var(--text);margin:0}.director-shot-empty p{margin:.5rem 0 0}.shot-studio{gap:1rem;min-width:0;padding-bottom:1.5rem;display:grid;position:relative}.shot-studio button,.shot-studio input,.shot-studio textarea{font:inherit}.shot-studio-toolbar{justify-content:space-between;align-items:flex-end;gap:1rem;min-width:0;display:flex}.shot-studio-toolbar h2{letter-spacing:-.04em;margin:0;font-size:clamp(1.45rem,2.4vw,2rem)}.shot-studio-toolbar p{color:var(--muted);margin:0;font-size:.75rem}.shot-studio-toolbar-actions{flex:none;align-items:center;gap:.5rem;display:flex}.shot-studio-button{cursor:pointer;border:1px solid var(--border-default);background:var(--surface-overlay);min-height:2.4rem;color:var(--text);border-radius:.55rem;justify-content:center;align-items:center;padding:.58rem .82rem;transition:border-color .14s,background .14s,transform .14s;display:inline-flex;font-size:.76rem!important;font-weight:800!important}.shot-studio-button:active:not(:disabled){transform:translateY(1px)}.shot-studio-button-primary{border-color:var(--accent);background:var(--accent);color:#fff}.shot-studio-button-primary:hover:not(:disabled){border-color:var(--accent-strong);background:var(--accent-strong)}.shot-studio-button:disabled{cursor:not-allowed;opacity:.48}.shot-studio-preview{border:1px solid var(--border-default);background:#101923;border-radius:1rem;min-width:0;overflow:hidden;box-shadow:0 1.2rem 3rem #1921291f}.shot-studio-preview-art{isolation:isolate;color:#fff;background:radial-gradient(circle at 73% 24%,#339cff6b,#0000 24%),radial-gradient(circle at 25% 72%,#56d2af33,#0000 28%),linear-gradient(145deg,#172c42 0%,#0e1721 58%,#151e27 100%);place-items:center;min-height:clamp(15rem,34vw,29rem);display:grid;position:relative;overflow:hidden}.shot-studio-preview-art:before,.shot-studio-preview-art:after{z-index:-1;content:"";position:absolute}.shot-studio-preview-art:before{background:linear-gradient(160deg,#ffffff12,#0000 52%);border:1px solid #ffffff1a;border-radius:50% 50% 12% 12%;inset:15% 11% 13%;transform:perspective(28rem)rotateX(58deg)}.shot-studio-preview-art:after{background:linear-gradient(#0000 60%,#040a10c2);inset:0}.shot-studio-preview-art>span{z-index:1;text-overflow:ellipsis;white-space:nowrap;background:#070f17ad;border:1px solid #ffffff1f;border-radius:999px;max-width:min(72%,36rem);padding:.4rem .75rem;font-size:.8rem;font-weight:750;position:absolute;bottom:1rem;right:1.2rem;overflow:hidden}.shot-studio-controls{color:#ffffffb8;background:#111b26;grid-template-columns:2.2rem 6.6rem minmax(0,1fr);align-items:center;gap:.75rem;min-height:3.65rem;padding:.55rem .8rem;display:grid}.shot-studio-play{cursor:pointer;color:#fff;background:#ffffff14;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:2.2rem;height:2.2rem;padding:0;display:grid;font-size:.75rem!important}.shot-studio-controls>span{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.7rem}.shot-studio-controls input[type=range]{cursor:pointer;width:100%;height:.3rem;accent-color:var(--accent)}.shot-studio-timeline{background:#111b26;gap:2px;min-height:2rem;padding:0 .8rem .7rem;display:flex}.shot-studio-timeline-item{min-width:1.8rem;display:flex}.shot-studio-timeline-segment{cursor:pointer;color:#ffffff75;text-align:left;background:#ffffff12;border:0;border-radius:.25rem;width:100%;min-width:1.8rem;padding:0 .25rem;overflow:hidden;font-size:.62rem!important;font-weight:800!important}.shot-studio-timeline-segment:hover{color:#fff;background:#339cff2e}.shot-studio-timeline-segment[aria-current=true]{background:var(--accent);color:#fff}.shot-studio-track-shell{grid-template-columns:2rem minmax(0,1fr) 2rem;align-items:stretch;gap:.45rem;min-width:0;display:grid}.shot-studio-scroll-button{cursor:pointer;border:1px solid var(--border-default);background:var(--surface-overlay);min-height:13.5rem;color:var(--muted);border-radius:.65rem;place-items:center;padding:0;display:grid;font-size:1.35rem!important}.shot-studio-track{overscroll-behavior-inline:contain;scroll-behavior:smooth;scrollbar-color:var(--border-default) transparent;scrollbar-width:thin;touch-action:pan-x;white-space:nowrap;align-items:stretch;gap:.75rem;min-width:0;min-height:13.5rem;padding:.15rem .1rem .65rem;display:flex;position:relative;overflow:auto hidden}.shot-studio-drop-indicator{z-index:4;pointer-events:none;background:var(--studio-blue);border-radius:999px;width:3px;position:absolute;top:.15rem;bottom:.65rem;transform:translate(-50%)}.shot-studio-card{border:1px solid var(--border-default);background:var(--surface-overlay);white-space:normal;border-radius:.8rem;flex:0 0 clamp(13rem,22vw,17rem);min-width:0;transition:border-color .14s,box-shadow .14s,opacity .14s,transform .14s;display:flex;position:relative;overflow:hidden;box-shadow:0 .65rem 1.8rem #19212912}@supports (color:color-mix(in lab, red, red)){.shot-studio-card:hover{border-color:color-mix(in srgb, var(--accent) 28%, var(--border-default))}}.shot-studio-card.is-selected{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft), 0 .8rem 2rem #339cff21}.shot-studio-card.is-dragging{z-index:3;opacity:.62;transform:scale(.98)}.shot-studio-card-select{cursor:default;width:100%;min-width:0;color:inherit;text-align:left;background:0 0;border:0;grid-template-rows:7.5rem minmax(0,1fr);padding:0;display:grid}.shot-studio-card-preview{background:radial-gradient(circle at 72% 24%,#339cff61,#0000 26%),linear-gradient(145deg,#263e55,#121d29);display:block;position:relative;overflow:hidden}.shot-studio-card-preview:after{clip-path:polygon(0 100%,23% 35%,44% 68%,65% 4%,100% 100%);content:"";background:#ffffff21;position:absolute;inset:42% 12% 0}.shot-studio-card-preview b{z-index:1;color:#fff;font-variant-numeric:tabular-nums;background:#040a1094;border-radius:.35rem;padding:.22rem .38rem;font-size:.64rem;position:absolute;top:.55rem;left:.6rem}.shot-studio-card-copy{align-content:start;gap:.45rem;min-width:0;padding:.7rem .75rem .8rem;display:grid}.shot-studio-card-copy>span:last-child{color:var(--muted);-webkit-line-clamp:2;white-space:pre-line;-webkit-box-orient:vertical;font-size:.7rem;line-height:1.45;display:-webkit-box;overflow:hidden}.shot-studio-card-heading{justify-content:space-between;align-items:baseline;gap:.55rem;min-width:0;display:flex}.shot-studio-card-heading>[role=heading]{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.82rem;font-weight:850;overflow:hidden}.shot-studio-card-heading>span:last-child{color:var(--muted);font-variant-numeric:tabular-nums;flex:none;font-size:.66rem}.shot-studio-status{border:1px solid var(--border-default);background:var(--surface-raised);width:max-content;color:var(--muted);border-radius:999px;padding:.18rem .42rem;font-size:.61rem;font-weight:800}.shot-studio-status-generating{border-color:var(--border-accent);background:var(--accent-soft);color:var(--accent)}.shot-studio-status-ready{color:#178359;background:#28a77417;border-color:#28a7743d}.shot-studio-status-custom{border-color:var(--border-accent);background:var(--accent-soft);color:var(--accent)}.shot-studio-more-button{z-index:2;cursor:pointer;color:#fff;letter-spacing:-.08em;background:#070f17a3;border:1px solid #ffffff1f;border-radius:50%;place-items:center;width:1.75rem;height:1.75rem;padding:0;display:grid;position:absolute;top:.45rem;right:.45rem;font-size:.72rem!important;font-weight:900!important}.shot-studio-more-button:hover{background:#145c9bdb;border-color:#339cff9e}.shot-studio-menu{z-index:140;border:1px solid var(--border-default);background:var(--surface-overlay);border-radius:.65rem;gap:.18rem;width:9.5rem;padding:.32rem;display:grid;position:fixed;box-shadow:0 1rem 2.5rem #1921292e}.shot-studio-menu button{cursor:pointer;color:var(--text);text-align:left;background:0 0;border:0;border-radius:.4rem;align-items:center;gap:.5rem;padding:.5rem .6rem;font-size:.74rem;font-weight:720;display:flex}.shot-studio-menu button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;flex:none;width:1rem;height:1rem}.shot-studio-dialog-backdrop{z-index:150;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#10192375;place-items:center;padding:1rem;display:grid;position:fixed;inset:0;overflow-y:auto}.shot-studio-dialog{border:1px solid var(--border-default);background:var(--surface-overlay);width:min(34rem,100%);max-height:calc(100vh - 2rem);box-shadow:var(--shadow-panel);border-radius:1rem;gap:.85rem;padding:1.1rem;display:grid;overflow-y:auto}.shot-studio-dialog-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.shot-studio-dialog-heading h2,.shot-studio-confirm h2{margin:0;font-size:1.15rem}.shot-studio-dialog-heading>button{cursor:pointer;background:var(--surface-raised);width:2rem;height:2rem;color:var(--muted);border:0;border-radius:50%;place-items:center;padding:0;font-size:1.15rem;display:grid}.shot-studio-dialog form{gap:.8rem;display:grid}.shot-studio-dialog form>label{color:var(--text);gap:.35rem;font-size:.72rem;font-weight:800;display:grid}.shot-studio-dialog :is(input,textarea){border:1px solid var(--border-default);background:var(--surface-page);width:100%;color:var(--text);border-radius:.5rem;padding:.6rem .65rem;font-size:.78rem;font-weight:500}.shot-studio-dialog textarea{resize:vertical}.shot-studio-dialog :is(input,textarea):focus{border-color:var(--accent);box-shadow:var(--focus-ring);outline:none}.shot-studio-dialog fieldset{border:1px solid var(--border-subtle);border-radius:.55rem;gap:1rem;padding:.65rem;display:flex}.shot-studio-dialog legend{color:var(--muted);padding:0 .25rem;font-size:.68rem;font-weight:800}.shot-studio-dialog fieldset label{cursor:pointer;align-items:center;gap:.35rem;font-size:.75rem;font-weight:750;display:flex}.shot-studio-dialog fieldset input{width:auto;accent-color:var(--accent);margin:0;padding:0}.shot-studio-dialog [role=alert]{color:var(--danger);margin:0;font-size:.72rem;font-weight:750}.shot-studio-dialog-actions{justify-content:flex-end;gap:.5rem;display:flex}.shot-studio-dialog-actions button{cursor:pointer;border:1px solid var(--border-default);background:var(--surface-raised);min-height:2.35rem;color:var(--text);border-radius:.5rem;padding:.55rem .75rem;font-size:.74rem;font-weight:800}.shot-studio-dialog-actions .shot-studio-button-primary{border-color:var(--accent);background:var(--accent);color:#fff}.shot-studio-dialog-actions .shot-studio-danger-button{border-color:var(--danger);background:var(--danger);color:#fff}.shot-studio-confirm>p{color:var(--muted);margin:0;font-size:.78rem;line-height:1.6}.shot-studio.is-dragging,.shot-studio.is-dragging *{-webkit-user-select:none;user-select:none;cursor:grabbing!important}.shot-studio :is(button,input,textarea):focus-visible{box-shadow:var(--focus-ring);outline:none}.shot-studio{--studio-page:#fff;--studio-surface:#fff;--studio-surface-soft:#f7f9fc;--studio-surface-deep:#16212d;--studio-text:#18222e;--studio-muted:#667586;--studio-line:#dce3ea;--studio-line-strong:#bdc9d5;--studio-blue:#1686f2;--studio-blue-soft:#e7f2ff;--studio-blue-text:#0c68bd;--studio-draft:#fff3cf;--studio-draft-text:#805f00;--studio-making:#e9e4ff;--studio-making-text:#6451b7;--studio-ready:#dcf5e9;--studio-ready-text:#23734e;--studio-danger:#d84b44;--studio-overlay:#141e2a70;--studio-shadow:#1a2a3a1f;--studio-rain-a:#314a6c;--studio-rain-b:#101d2f;--studio-street-a:#7e346a;--studio-street-b:#18213a;--studio-window-a:#b87338;--studio-window-b:#253348;--studio-smile-a:#426a77;--studio-smile-b:#272c38;background:var(--studio-page);width:100%;min-height:100%;box-shadow:none;color:var(--studio-text);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;border:0;border-radius:0;flex-direction:column;padding:0;font-family:SF Pro Text,Segoe UI Variable,PingFang SC,Microsoft YaHei,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;display:flex;overflow:hidden}.shot-studio *{box-sizing:border-box}.shot-studio-toolbar{border-bottom:1px solid var(--studio-line);background:var(--studio-surface);justify-content:flex-end;align-items:center;gap:16px;padding:14px 18px}.shot-studio-brand,.shot-studio-toolbar-actions,.shot-studio-transport,.shot-studio-time,.shot-studio-list-heading,.shot-studio-meta,.shot-studio-card-footer{align-items:center;display:flex}.shot-studio-brand{gap:11px;min-width:0}.shot-studio-logo{background:var(--studio-blue);color:#fff;border-radius:10px;flex:none;place-items:center;width:34px;height:34px;font-weight:500;display:grid}.shot-studio-brand-copy{min-width:0}.shot-studio-brand-copy strong,.shot-studio-brand-copy span{display:block}.shot-studio-brand-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;overflow:hidden}.shot-studio-brand-copy span{color:var(--studio-muted);margin-top:2px;font-size:12px}.shot-studio-toolbar-actions{flex:none;gap:8px}.shot-studio-toolbar>.shot-studio-toolbar-actions{display:flex}.shot-studio-button{border:1px solid var(--studio-line);background:var(--studio-surface);min-height:36px;color:var(--studio-text);border-radius:9px;padding:7px 12px;transition:none;font-size:13px!important;font-weight:500!important}.shot-studio-button:hover:not(:disabled){border-color:var(--studio-line-strong);background:var(--studio-surface)}.shot-studio-button-primary,.shot-studio-button-primary:hover:not(:disabled){border-color:var(--studio-blue);background:var(--studio-blue);color:#fff}.shot-studio-generate-button{justify-content:center;width:106px}.shot-studio-export-button{min-width:64px}.shot-studio-generate-count{font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:2px;display:inline-block}.shot-studio-create-split{border:1px solid var(--studio-line);background:var(--studio-surface);border-radius:9px;flex:none;display:inline-flex;overflow:hidden}.shot-studio-create-split .shot-studio-button{border:0;border-radius:0}.shot-studio-create-split .shot-studio-button:hover:not(:disabled){background:var(--studio-surface-soft)}.shot-studio-create-more{place-items:center;width:34px;min-width:34px;padding:7px 8px;display:grid;border-left:1px solid var(--studio-line)!important;font-size:16px!important}.shot-studio-create-more svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:16px;height:16px;display:block}.shot-studio-create-menu{z-index:180;border:1px solid var(--studio-line);background:var(--studio-surface);border-radius:10px;min-width:184px;padding:5px;box-shadow:0 14px 35px #0f172a2e}.shot-studio-create-menu [role=menuitem]{cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:7px;outline:none;padding:9px 10px;font-size:13px}.shot-studio-create-menu [role=menuitem]:is(:hover,:focus,[data-highlighted]){background:var(--studio-surface-soft)}.shot-studio-main{flex:1;grid-template-rows:minmax(0,1fr) auto;align-content:stretch;gap:18px;min-height:0;padding:10px;display:grid;overflow:hidden}.shot-studio-preview-shell{border:1px solid var(--studio-line);background:var(--studio-surface);min-width:0;min-height:0;box-shadow:0 12px 34px var(--studio-shadow);border-radius:15px;grid-template-rows:minmax(0,1fr) auto;display:grid;overflow:hidden}.shot-studio-preview-art{aspect-ratio:16/9;isolation:isolate;background:linear-gradient(145deg, var(--studio-rain-a), var(--studio-rain-b));place-self:center;width:auto;max-width:100%;height:100%;min-height:0;max-height:none;margin:0;display:block;position:relative;overflow:hidden}.shot-studio-preview-art:before,.shot-studio-preview-art:after{pointer-events:none;content:"";position:absolute}.shot-studio-preview-art:before{z-index:-1;opacity:.78;background:radial-gradient(circle at 72% 25%, var(--studio-blue), transparent 18%), linear-gradient(115deg, transparent 52%, var(--studio-surface) 52% 53%, transparent 53%);inset:0}@supports (color:color-mix(in lab, red, red)){.shot-studio-preview-art:before{background:radial-gradient(circle at 72% 25%, color-mix(in srgb, var(--studio-blue) 44%, transparent), transparent 18%), linear-gradient(115deg, transparent 52%, color-mix(in srgb, var(--studio-surface) 12%, transparent) 52% 53%, transparent 53%)}}.shot-studio-preview-art:after{z-index:0;background:var(--studio-surface-deep);border-radius:46% 46% 12% 12%;width:24%;height:72%;bottom:-13%;right:16%}@supports (color:color-mix(in lab, red, red)){.shot-studio-preview-art:after{background:color-mix(in srgb, var(--studio-surface-deep) 88%, transparent)}}.shot-studio-preview-art:after{box-shadow:-170px 52px 0 16px var(--studio-surface-deep)}@supports (color:color-mix(in lab, red, red)){.shot-studio-preview-art:after{box-shadow:-170px 52px 0 16px color-mix(in srgb, var(--studio-surface-deep) 55%, transparent)}}.shot-studio-preview-art:after{transform:rotate(-5deg)}.shot-studio-preview-art[data-scene=street],.shot-studio-card-preview[data-scene=street]{background:linear-gradient(145deg, var(--studio-street-a), var(--studio-street-b))}.shot-studio-preview-art[data-scene=window],.shot-studio-card-preview[data-scene=window]{background:linear-gradient(145deg, var(--studio-window-a), var(--studio-window-b))}.shot-studio-preview-art[data-scene=smile],.shot-studio-card-preview[data-scene=smile]{background:linear-gradient(145deg, var(--studio-smile-a), var(--studio-smile-b))}.shot-studio-preview-video{z-index:1;visibility:hidden;object-fit:contain;background:#000;width:100%;height:100%;position:absolute;inset:0}.shot-studio-preview-video.is-active{visibility:visible}.shot-studio-preview-buffering{z-index:2;color:#fff;pointer-events:none;background:#08111bc7;border-radius:8px;padding:8px 14px;font-size:13px;position:absolute;bottom:20px;left:50%;transform:translate(-50%)}.shot-studio-preview-copy{z-index:2;color:#fff;text-shadow:0 2px 18px #050c147a;max-width:min(68%,520px);position:absolute;bottom:21px;left:22px}.shot-studio-preview-copy>span{letter-spacing:.1em;margin-bottom:7px;font-size:12px;font-weight:500;display:block}.shot-studio-preview-title{font-size:clamp(22px,4vw,36px);font-weight:500;line-height:1.15}.shot-studio-preview-copy p{margin:8px 0 0;font-size:13px}.shot-studio-preview-play{z-index:3;cursor:pointer;opacity:0;color:#fff;pointer-events:none;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#08111bad;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:60px;height:60px;padding:0 0 0 3px;line-height:1;transition:opacity .16s,transform .16s,background .16s;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(.92);box-shadow:0 12px 34px #030a124d;font-size:22px!important}.shot-studio-preview-play[aria-label=预览暂停]{padding-left:0}.shot-studio-preview-art:hover .shot-studio-preview-play,.shot-studio-preview-play:focus-visible{opacity:1;pointer-events:auto;transform:translate(-50%,-50%)scale(1)}.shot-studio-preview-play:hover{background:#08111bd1}.shot-studio-preview-play:focus-visible{outline:3px solid var(--studio-blue)}@supports (color:color-mix(in lab, red, red)){.shot-studio-preview-play:focus-visible{outline:3px solid color-mix(in srgb, var(--studio-blue) 48%, transparent)}}.shot-studio-preview-play:focus-visible{outline-offset:3px}@media (hover:none){.shot-studio-preview-play{opacity:1;pointer-events:auto;transform:translate(-50%,-50%)scale(1)}}@media (prefers-reduced-motion:reduce){.shot-studio-preview-play{transition:none}}.shot-studio-controls{border-top:1px solid var(--studio-line);background:var(--studio-surface);color:var(--studio-text);grid-template-columns:auto minmax(0,1fr) auto;gap:14px;padding:12px 14px}.shot-studio-transport{gap:8px}.shot-studio-play{background:var(--studio-blue);color:#fff;border:0;width:34px;height:34px;font-size:14px!important}.shot-studio-play:hover{background:var(--studio-blue);border-color:#0000}.shot-studio-time{font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;justify-content:center;gap:4px;width:112px;font-size:12px;overflow:hidden}.shot-studio-time span:last-child{color:var(--studio-muted)}.shot-studio-progress-wrap{--studio-progress-thumb-size:16px;gap:8px;min-width:0;display:grid}.shot-studio-timeline{background:var(--studio-surface-soft);border-radius:5px;gap:0;height:20px;min-height:0;padding:0;display:flex;position:relative;overflow:hidden}.shot-studio-timeline-item{flex-basis:0;min-width:0;display:flex}.shot-studio-timeline-segment{background:var(--studio-line);width:100%;min-width:0;color:var(--studio-muted);border-radius:0;padding:0 7px;font-size:10px!important;font-weight:500!important}.shot-studio-timeline-segment:hover,.shot-studio-timeline-segment[aria-current=true]{background:var(--studio-blue-soft);color:var(--studio-blue-text)}.shot-studio-playhead-track{pointer-events:none;position:absolute;inset:0}.shot-studio-playhead{z-index:3;pointer-events:none;background:var(--studio-blue);width:2px;box-shadow:0 0 0 2px var(--studio-blue);position:absolute;top:0;bottom:0;transform:translate(-50%)}@supports (color:color-mix(in lab, red, red)){.shot-studio-playhead{box-shadow:0 0 0 2px color-mix(in srgb, var(--studio-blue) 18%, transparent)}}.shot-studio-range,.shot-studio-volume{width:100%;height:auto;accent-color:var(--studio-blue);margin:0}.shot-studio-controls input.shot-studio-range[type=range]{appearance:none;box-sizing:border-box;width:calc(100% + var(--studio-progress-thumb-size));min-width:0;max-width:none;height:var(--studio-progress-thumb-size);margin:0 calc(var(--studio-progress-thumb-size) / -2);background-color:#0000;background-position:50%;background-repeat:no-repeat;background-size:calc(100% - var(--studio-progress-thumb-size)) 4px;border:0;padding:0}.shot-studio-range::-webkit-slider-runnable-track{background:0 0;height:4px}.shot-studio-range::-webkit-slider-thumb{appearance:none;width:var(--studio-progress-thumb-size);height:var(--studio-progress-thumb-size);margin-top:calc((4px - var(--studio-progress-thumb-size)) / 2);background:var(--studio-blue);border:0;border-radius:50%}.shot-studio-range::-moz-range-track{background:0 0;height:4px}.shot-studio-range::-moz-range-thumb{width:var(--studio-progress-thumb-size);height:var(--studio-progress-thumb-size);background:var(--studio-blue);border:0;border-radius:50%}.shot-studio-playback-settings{align-items:center;gap:8px;display:flex}.shot-studio .shot-studio-quality-button,.shot-studio .shot-studio-volume-button{cursor:pointer;height:28px;color:var(--studio-muted);background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:4px;padding:0 6px;font-size:12px;font-weight:400;line-height:16px;display:flex}.shot-studio-quality-button:hover,.shot-studio-volume-button:is(:hover,[aria-expanded=true]){background:var(--studio-blue-soft);color:var(--studio-blue-text)}.shot-studio-quality-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;width:10px;height:10px}.shot-studio-volume-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;width:16px;height:16px}.shot-studio-volume-group{position:relative}.shot-studio-volume-panel{z-index:30;border:1px solid var(--studio-line);background:var(--studio-surface);width:64px;color:var(--studio-muted);font-variant-numeric:tabular-nums;border-radius:12px;flex-direction:column;align-items:center;gap:12px;padding:14px 10px;font-size:11px;display:flex;position:absolute;bottom:calc(100% + 10px);right:0;box-shadow:0 8px 24px #0f172a29}.shot-studio-volume-panel input[type=range]{writing-mode:vertical-lr;direction:rtl;width:6px;height:112px}.shot-studio-quality-menu{--studio-blue-soft:#e7f2ff;--studio-blue-text:#0c68bd;z-index:180;border:1px solid var(--studio-line);background:var(--studio-surface);min-width:110px;color:var(--studio-text);border-radius:10px;padding:5px;box-shadow:0 8px 24px #0f172a29}.shot-studio-quality-option{cursor:pointer;border-radius:6px;outline:none;justify-content:space-between;align-items:center;padding:9px 10px;font-size:12px;display:flex}.shot-studio-quality-option[data-highlighted]{background:var(--studio-blue-soft);color:var(--studio-blue-text)}.shot-studio-list{align-self:end;gap:12px;width:100%;display:grid}.shot-studio-list-heading{justify-content:space-between;gap:14px}.shot-studio-list-summary{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.shot-studio-list-title h2{letter-spacing:0;margin:0;font-size:18px;font-weight:500}.shot-studio-list-title p{color:var(--studio-muted);margin:4px 0 0;font-size:12px}.shot-studio-meta{flex:none;gap:7px}.shot-studio-meta>span{border:1px solid var(--studio-line);background:var(--studio-surface);color:var(--studio-muted);white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:11px}.shot-studio-card-labels{flex:none;align-items:center;gap:6px;display:inline-flex}.shot-studio-generation-failed-dot{background:var(--studio-danger);width:7px;height:7px;box-shadow:0 0 0 2px var(--studio-danger);border-radius:50%;flex:none}@supports (color:color-mix(in lab, red, red)){.shot-studio-generation-failed-dot{box-shadow:0 0 0 2px color-mix(in srgb, var(--studio-danger) 14%, transparent)}}.shot-studio-generation-failed-tooltip{z-index:1100;color:#fff;-webkit-user-select:none;user-select:none;background:#1f2937;border-radius:6px;padding:5px 8px;font-size:11px;line-height:1;box-shadow:0 6px 18px #0f172a33}.shot-studio-generation-failed-tooltip-arrow{fill:#1f2937}.shot-studio-multi-controls{align-items:center;gap:6px;margin-right:3px;display:flex}.shot-studio-select-all{cursor:pointer;border:1px solid var(--studio-line);background:var(--studio-surface);height:28px;color:var(--studio-text);white-space:nowrap;border-radius:9px;align-items:center;gap:5px;padding:0 8px;font-size:11px;font-weight:400;display:inline-flex}.shot-studio-select-all input{width:14px;height:14px;accent-color:var(--studio-blue);margin:0}.shot-studio-select-all:hover{border-color:var(--studio-blue);background:var(--studio-blue-soft)}.shot-studio .shot-studio-selection-cancel{cursor:pointer;border:1px solid var(--studio-danger);background:var(--studio-danger);color:#fff;border-radius:9px;height:28px;padding:0 7px;font-family:inherit;font-weight:400;line-height:1;font-size:11px!important}.shot-studio .shot-studio-selection-cancel:hover{border-color:var(--studio-danger)}@supports (color:color-mix(in lab, red, red)){.shot-studio .shot-studio-selection-cancel:hover{border-color:color-mix(in srgb, var(--studio-danger) 86%, #000)}}.shot-studio .shot-studio-selection-cancel:hover{background:var(--studio-danger)}@supports (color:color-mix(in lab, red, red)){.shot-studio .shot-studio-selection-cancel:hover{background:color-mix(in srgb, var(--studio-danger) 86%, #000)}}.shot-studio .shot-studio-selection-cancel:hover{color:#fff}.shot-studio-track-shell{grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:8px}.shot-studio-track-shell.is-empty{grid-template-columns:minmax(0,1fr)}.shot-studio-scroll-button{border:1px solid var(--studio-line);background:var(--studio-surface);width:32px;height:54px;min-height:0;color:var(--studio-muted);border-radius:9px;font-size:18px!important}.shot-studio-scroll-button:hover{border-color:var(--studio-blue);background:var(--studio-surface);color:var(--studio-blue-text)}.shot-studio-track{scroll-snap-type:none;scrollbar-color:auto;touch-action:pan-x;flex-wrap:nowrap;align-items:flex-start;gap:10px;min-height:0;padding:4px 2px 9px}.shot-studio-empty-item{flex:1 0 100%;width:100%}.shot-studio-empty{border:1px dashed var(--studio-line);background:var(--studio-surface);width:100%;min-height:190px;color:var(--studio-text);text-align:center;white-space:normal;border-radius:12px;place-content:center;justify-items:center;padding:28px;display:grid}.shot-studio-empty-icon{color:var(--studio-blue-text);font-size:26px}.shot-studio-empty h3{margin:8px 0 0;font-size:16px}.shot-studio-empty p{color:var(--studio-muted);margin:6px 0 16px;font-size:12px}.shot-studio-card{border:1px solid var(--studio-line);background:var(--studio-surface);min-width:210px;box-shadow:0 8px 20px var(--studio-shadow);scroll-snap-align:start;border-radius:12px;flex:0 0 210px;display:block}.shot-studio-card:hover{border-color:var(--studio-line)}.shot-studio-card.is-selected{border-color:var(--studio-blue);box-shadow:0 8px 20px var(--studio-shadow);transform:translateY(-2px)}.shot-studio-card.is-multi-selected{border-color:var(--studio-blue);box-shadow:0 0 0 2px var(--studio-blue-soft), 0 8px 20px var(--studio-shadow)}.shot-studio-card.is-dragging{opacity:.52;transform:none}.shot-studio-multi-select-target{z-index:6;cursor:pointer;border-radius:inherit;color:#fff;background:0 0;border:0;padding:0;position:absolute;inset:0}.shot-studio-multi-select-target[aria-pressed=true]{background:var(--studio-blue)}@supports (color:color-mix(in lab, red, red)){.shot-studio-multi-select-target[aria-pressed=true]{background:color-mix(in srgb, var(--studio-blue) 10%, transparent)}}.shot-studio-multi-select-target>span{background:var(--studio-blue);border:2px solid #fff;border-radius:999px;place-items:center;width:22px;height:22px;font-size:13px;font-weight:800;display:none;position:absolute;top:9px;right:9px;box-shadow:0 2px 8px #0f172a3d}.shot-studio-multi-select-target[aria-pressed=true]>span{display:grid}.shot-studio-multi-select-target:focus-visible{outline:2px solid var(--studio-blue);outline-offset:-4px}.shot-studio-drag-preview{z-index:1000;pointer-events:none;opacity:.94;will-change:left, top;margin:0;position:fixed;transform:rotate(1deg)scale(1.02);box-shadow:0 18px 44px #0f172a47}.shot-studio-card-select{min-width:0;color:var(--studio-text);touch-action:pan-y;grid-template-rows:none;display:block}.shot-studio-card-preview{aspect-ratio:16/9;background:linear-gradient(145deg, var(--studio-rain-a), var(--studio-rain-b));display:block;position:relative;overflow:hidden}.shot-studio-card-preview:after{clip-path:none;background:var(--studio-surface-deep);border-radius:50% 50% 14% 14%;width:24%;height:76%;bottom:-23%;left:auto;right:17%}@supports (color:color-mix(in lab, red, red)){.shot-studio-card-preview:after{background:color-mix(in srgb, var(--studio-surface-deep) 82%, transparent)}}.shot-studio-card-preview.has-video:after{display:none}.shot-studio-card-video{z-index:0;object-fit:cover;background:#000;width:100%;height:100%;position:absolute;inset:0}.shot-studio-card-preview b,.shot-studio-card-preview i{z-index:1;background:var(--studio-surface-deep);border-radius:999px;padding:3px 7px;position:absolute;top:8px}@supports (color:color-mix(in lab, red, red)){.shot-studio-card-preview b,.shot-studio-card-preview i{background:color-mix(in srgb, var(--studio-surface-deep) 78%, transparent)}}.shot-studio-card-preview b,.shot-studio-card-preview i{color:#fff;font-variant-numeric:tabular-nums;font-size:10px;font-style:normal;font-weight:500}.shot-studio-card-preview b{left:8px}.shot-studio-card-preview i{right:8px}.shot-studio-card-copy{gap:6px;padding:10px}.shot-studio-card-copy>span:last-child{min-height:32px;color:var(--studio-muted);white-space:normal;font-size:11px;line-height:normal}.shot-studio-card-heading{align-items:center;gap:8px}.shot-studio-card-heading>[role=heading]{font-size:13px;font-weight:500}.shot-studio-status{border:0;border-radius:999px;flex:none;width:auto;padding:3px 7px;font-size:10px;font-weight:500}.shot-studio-status-draft{background:var(--studio-draft);color:var(--studio-draft-text)}.shot-studio-status-generating{background:var(--studio-making);color:var(--studio-making-text)}.shot-studio-status-ready{background:var(--studio-ready);color:var(--studio-ready-text)}.shot-studio-status-custom{background:var(--studio-making);color:var(--studio-making-text)}.shot-studio-card-footer{border-top:1px solid var(--studio-line);justify-content:space-between;gap:7px;padding:8px 10px}.shot-studio-card-footer>span{color:var(--studio-muted);font-size:10px}.shot-studio-more-button{z-index:auto;background:var(--studio-surface-soft);width:auto;min-width:28px;height:28px;color:var(--studio-muted);letter-spacing:.08em;border:0;border-radius:7px;position:static;font-size:14px!important;font-weight:500!important}.shot-studio-more-button:hover{background:var(--studio-blue-soft);color:var(--studio-blue-text);border-color:#0000}.shot-studio-menu{border:1px solid var(--studio-line);background:var(--studio-surface);width:auto;min-width:142px;box-shadow:0 14px 34px var(--studio-shadow);border-radius:10px;gap:3px;padding:5px}.shot-studio-menu button{color:var(--studio-text);border-radius:7px;padding:8px 10px;font-size:12px!important;font-weight:500!important}.shot-studio-menu button:hover{background:var(--studio-blue-soft);color:var(--studio-blue-text)}.shot-studio-menu button.is-danger{color:var(--studio-danger)}.shot-studio-action-error{color:var(--studio-danger);margin:0 18px 18px;font-size:12px;font-weight:500}.shot-studio-dialog-backdrop{background:var(--studio-overlay);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);padding:18px}.shot-studio-dialog{border:1px solid var(--studio-line);background:var(--studio-surface);width:min(720px,100%);box-shadow:0 22px 60px var(--studio-shadow);color:var(--studio-text);border-radius:14px;gap:16px;padding:18px}.shot-studio-dialog-heading h2,.shot-studio-confirm h2{font-size:19px;font-weight:500}.shot-studio-dialog-heading p{color:var(--studio-muted);letter-spacing:.12em;margin:0 0 4px;font-size:10px}.shot-studio-dialog-heading>button{border-color:var(--studio-line);background:var(--studio-surface-soft);width:30px;height:30px;color:var(--studio-muted)}.shot-studio-dialog form{gap:12px}.shot-studio-dialog form>label{color:var(--studio-text);gap:6px;font-size:12px;font-weight:500}.shot-studio-editor-field{color:var(--studio-text);gap:6px;font-size:12px;font-weight:500;display:grid}.shot-studio-editor-hint{color:var(--studio-muted);font-size:11px;font-weight:400;line-height:1.45}.shot-studio-dialog :is(input,textarea){border-color:var(--studio-line);background:var(--studio-surface-soft);color:var(--studio-text);border-radius:9px;padding:9px 10px;font-size:13px}.shot-studio-dialog :is(input,textarea):focus{border-color:var(--studio-blue);box-shadow:0 0 0 3px var(--studio-blue)}@supports (color:color-mix(in lab, red, red)){.shot-studio-dialog :is(input,textarea):focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--studio-blue) 18%, transparent)}}.shot-studio-dialog fieldset{border-color:var(--studio-line);border-radius:9px;gap:16px;padding:10px}.shot-studio-dialog legend{color:var(--studio-muted);font-size:11px;font-weight:500}.shot-studio-dialog fieldset label{gap:6px;font-size:12px;font-weight:500}.shot-studio-dialog fieldset input{accent-color:var(--studio-blue)}.shot-studio-dialog [role=alert]{color:var(--studio-danger);font-size:12px;font-weight:500}.shot-content-editor{position:relative}.shot-content-editor-input{border:1px solid var(--studio-line);background:var(--studio-surface-soft);min-height:140px;max-height:210px;color:var(--studio-text);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:9px;padding:9px 10px;font-size:13px;line-height:1.7;overflow-y:auto}.shot-content-editor-input:focus{border-color:var(--studio-blue);box-shadow:0 0 0 3px var(--studio-blue);outline:none}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-input:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--studio-blue) 18%, transparent)}}.shot-content-editor-mention,.shot-content-editor-lines{border:1px solid var(--studio-blue);align-items:center;margin:0 2px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-mention,.shot-content-editor-lines{border:1px solid color-mix(in srgb, var(--studio-blue) 35%, var(--studio-line))}}.shot-content-editor-mention,.shot-content-editor-lines{background:var(--studio-blue);border-radius:999px;padding:1px 7px}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-mention,.shot-content-editor-lines{background:color-mix(in srgb, var(--studio-blue) 13%, var(--studio-surface))}}.shot-content-editor-mention,.shot-content-editor-lines{color:var(--studio-blue);-webkit-user-select:all;user-select:all;font-weight:650;line-height:1.45}.shot-content-editor-mention.is-character{border-color:#8b5cf6}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-mention.is-character{border-color:color-mix(in srgb, #8b5cf6 40%, var(--studio-line))}}.shot-content-editor-mention.is-character{background:#8b5cf6}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-mention.is-character{background:color-mix(in srgb, #8b5cf6 13%, var(--studio-surface))}}.shot-content-editor-mention.is-character{color:#8b5cf6}.shot-content-editor-mention.is-scene{border-color:#0ea5e9}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-mention.is-scene{border-color:color-mix(in srgb, #0ea5e9 40%, var(--studio-line))}}.shot-content-editor-mention.is-scene{background:#0ea5e9}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-mention.is-scene{background:color-mix(in srgb, #0ea5e9 13%, var(--studio-surface))}}.shot-content-editor-mention.is-scene{color:#0284c7}.shot-content-editor-mention.is-resource{border-color:#f59e0b}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-mention.is-resource{border-color:color-mix(in srgb, #f59e0b 42%, var(--studio-line))}}.shot-content-editor-mention.is-resource{background:#f59e0b}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-mention.is-resource{background:color-mix(in srgb, #f59e0b 14%, var(--studio-surface))}}.shot-content-editor-mention.is-resource{color:#b45309}.shot-content-editor-mention.is-workspaceScene{border-color:#0ea5e9}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-mention.is-workspaceScene{border-color:color-mix(in srgb, #0ea5e9 40%, var(--studio-line))}}.shot-content-editor-mention.is-workspaceScene{background:#0ea5e9}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-mention.is-workspaceScene{background:color-mix(in srgb, #0ea5e9 13%, var(--studio-surface))}}.shot-content-editor-mention.is-workspaceScene{color:#0284c7}.shot-content-editor-mention.is-generationTask{border-color:#8b5cf6}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-mention.is-generationTask{border-color:color-mix(in srgb, #8b5cf6 40%, var(--studio-line))}}.shot-content-editor-mention.is-generationTask{background:#8b5cf6}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-mention.is-generationTask{background:color-mix(in srgb, #8b5cf6 13%, var(--studio-surface))}}.shot-content-editor-mention.is-generationTask{color:#7c3aed}.shot-content-editor-mention.is-shotChild{border-color:#10b981}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-mention.is-shotChild{border-color:color-mix(in srgb, #10b981 42%, var(--studio-line))}}.shot-content-editor-mention.is-shotChild{background:#10b981}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-mention.is-shotChild{background:color-mix(in srgb, #10b981 13%, var(--studio-surface))}}.shot-content-editor-mention.is-shotChild{color:#047857}.shot-content-editor-mention.is-screenplayShot,.shot-content-editor-mention.is-shot{border-color:#10b981}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-mention.is-screenplayShot,.shot-content-editor-mention.is-shot{border-color:color-mix(in srgb, #10b981 42%, var(--studio-line))}}.shot-content-editor-mention.is-screenplayShot,.shot-content-editor-mention.is-shot{background:#10b981}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-mention.is-screenplayShot,.shot-content-editor-mention.is-shot{background:color-mix(in srgb, #10b981 13%, var(--studio-surface))}}.shot-content-editor-mention.is-screenplayShot,.shot-content-editor-mention.is-shot{color:#047857}.shot-content-editor-mention.is-workspaceShot{border-color:#10b981}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-mention.is-workspaceShot{border-color:color-mix(in srgb, #10b981 42%, var(--studio-line))}}.shot-content-editor-mention.is-workspaceShot{background:#10b981}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-mention.is-workspaceShot{background:color-mix(in srgb, #10b981 13%, var(--studio-surface))}}.shot-content-editor-mention.is-workspaceShot{color:#047857}.shot-content-editor-lines{border-color:var(--studio-line);background:var(--studio-surface);color:var(--studio-muted)}.shot-studio-floating-layer{--studio-surface:#fff;--studio-surface-soft:#f7f9fc;--studio-text:#18222e;--studio-muted:#667586;--studio-line:#dce3ea;--studio-blue:#1686f2;box-sizing:border-box;color:var(--studio-text);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:SF Pro Text,Segoe UI Variable,PingFang SC,Microsoft YaHei,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,sans-serif}.shot-studio-floating-layer *{box-sizing:border-box}.shot-content-editor-menu{z-index:170;overscroll-behavior:contain;border:1px solid var(--studio-line);background:var(--studio-surface);border-radius:10px;grid-template-rows:auto minmax(0,1fr);padding:5px;display:grid;position:fixed;overflow:hidden;box-shadow:0 14px 35px #0f172a2e}.shot-content-editor-tabs{border-bottom:1px solid var(--studio-line);scrollbar-width:none;gap:3px;padding:0 0 5px;display:flex;overflow-x:auto}.shot-content-editor-tabs::-webkit-scrollbar{display:none}.shot-content-editor-tabs button{cursor:pointer;min-width:44px;color:var(--studio-muted);white-space:nowrap;background:0 0;border:0;border-radius:6px;flex:1 0 auto;padding:6px 8px;font-size:11px;font-weight:650}.shot-content-editor-tabs button:is(:hover,.is-active){background:var(--studio-blue)}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-tabs button:is(:hover,.is-active){background:color-mix(in srgb, var(--studio-blue) 12%, var(--studio-surface))}}.shot-content-editor-tabs button:is(:hover,.is-active){color:var(--studio-blue)}.shot-content-editor-options{min-height:0;padding-top:4px;overflow-y:auto}.shot-content-editor-option{width:100%;color:var(--studio-text);text-align:left;background:0 0;border:0;border-radius:7px;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:8px;padding:8px;display:grid}.shot-content-editor-option:is(:hover,.is-active){background:var(--studio-surface-soft)}.shot-content-editor-option-type{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;width:fit-content;padding:1px 6px;font-size:11px;font-weight:650;line-height:1.45;display:inline-flex}.shot-content-editor-option-type.is-character{border-color:#8b5cf6}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-option-type.is-character{border-color:color-mix(in srgb, #8b5cf6 32%, var(--studio-line))}}.shot-content-editor-option-type.is-character{background:#8b5cf6}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-option-type.is-character{background:color-mix(in srgb, #8b5cf6 12%, var(--studio-surface))}}.shot-content-editor-option-type.is-character{color:#8b5cf6}.shot-content-editor-option-type.is-scene{border-color:#0ea5e9}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-option-type.is-scene{border-color:color-mix(in srgb, #0ea5e9 32%, var(--studio-line))}}.shot-content-editor-option-type.is-scene{background:#0ea5e9}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-option-type.is-scene{background:color-mix(in srgb, #0ea5e9 12%, var(--studio-surface))}}.shot-content-editor-option-type.is-scene{color:#0284c7}.shot-content-editor-option-type.is-resource{border-color:#f59e0b}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-option-type.is-resource{border-color:color-mix(in srgb, #f59e0b 34%, var(--studio-line))}}.shot-content-editor-option-type.is-resource{background:#f59e0b}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-option-type.is-resource{background:color-mix(in srgb, #f59e0b 13%, var(--studio-surface))}}.shot-content-editor-option-type.is-resource{color:#b45309}.shot-content-editor-option-type.is-shotChild{border-color:#10b981}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-option-type.is-shotChild{border-color:color-mix(in srgb, #10b981 34%, var(--studio-line))}}.shot-content-editor-option-type.is-shotChild{background:#10b981}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-option-type.is-shotChild{background:color-mix(in srgb, #10b981 12%, var(--studio-surface))}}.shot-content-editor-option-type.is-shotChild{color:#047857}.shot-content-editor-option-type.is-screenplayShot,.shot-content-editor-option-type.is-shot{border-color:#10b981}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-option-type.is-screenplayShot,.shot-content-editor-option-type.is-shot{border-color:color-mix(in srgb, #10b981 34%, var(--studio-line))}}.shot-content-editor-option-type.is-screenplayShot,.shot-content-editor-option-type.is-shot{background:#10b981}@supports (color:color-mix(in lab, red, red)){.shot-content-editor-option-type.is-screenplayShot,.shot-content-editor-option-type.is-shot{background:color-mix(in srgb, #10b981 12%, var(--studio-surface))}}.shot-content-editor-option-type.is-screenplayShot,.shot-content-editor-option-type.is-shot{color:#047857}.shot-content-editor-option strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;overflow:hidden}.shot-content-editor-empty{color:var(--studio-muted);text-align:center;margin:0;padding:12px;font-size:12px}.shot-studio-dialog-actions{gap:8px}.shot-studio-dialog-actions button{border-color:var(--studio-line);background:var(--studio-surface);min-height:36px;color:var(--studio-text);border-radius:9px;padding:7px 12px;font-size:13px;font-weight:500}.shot-studio-dialog-actions button:hover:not(:disabled){border-color:var(--studio-line-strong);background:var(--studio-surface-soft)}.shot-studio-dialog-actions .shot-studio-button-primary{border-color:var(--studio-blue);background:var(--studio-blue)}.shot-studio-dialog-actions .shot-studio-button-primary:hover:not(:disabled){color:#fff;background:#0969da;border-color:#0969da}.shot-studio-dialog-actions .shot-studio-danger-button{border-color:var(--studio-danger);background:var(--studio-danger)}.shot-studio-dialog-actions .shot-studio-danger-button:hover:not(:disabled){color:#fff;background:#b42318;border-color:#b42318}.shot-studio-confirm{width:min(440px,100%)}.shot-studio-confirm>p{color:var(--studio-muted);font-size:13px}.shot-studio-history-dialog{grid-template-rows:auto minmax(0,1fr) auto;width:min(1040px,100%);height:min(720px,100vh - 36px);overflow:hidden}.shot-studio-history-layout{border:1px solid var(--studio-line);border-radius:12px;grid-template-columns:260px minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.shot-studio-history-list{border-right:1px solid var(--studio-line);background:var(--studio-surface-soft);flex-direction:column;gap:6px;min-width:0;min-height:0;padding:10px;display:flex;overflow-y:auto}.shot-studio-history-item{cursor:pointer;border:1px solid var(--studio-line);background:var(--studio-surface);width:100%;color:var(--studio-text);text-align:left;border-radius:10px;flex:none;gap:8px;padding:12px;display:grid}.shot-studio-history-item:hover{border-color:var(--studio-blue)}@supports (color:color-mix(in lab, red, red)){.shot-studio-history-item:hover{border-color:color-mix(in srgb, var(--studio-blue) 45%, var(--studio-line))}}.shot-studio-history-item.is-selected{border-color:var(--studio-blue);background:var(--studio-blue-soft);box-shadow:0 0 0 1px var(--studio-blue)}@supports (color:color-mix(in lab, red, red)){.shot-studio-history-item.is-selected{box-shadow:0 0 0 1px color-mix(in srgb, var(--studio-blue) 18%, transparent)}}.shot-studio-history-title{align-items:center;gap:8px;min-width:0;display:flex}.shot-studio-history-title strong{color:var(--studio-text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.shot-studio-history-title span{background:var(--studio-blue);color:#fff;border-radius:999px;flex:none;padding:2px 7px;font-size:10px}.shot-studio-history-meta{color:var(--studio-muted);gap:4px;font-size:11px;display:grid}.shot-studio-history-meta time{font-variant-numeric:tabular-nums}.shot-studio-history-detail{background:var(--studio-surface);grid-template-rows:minmax(0,1fr) auto;gap:14px;min-width:0;min-height:0;padding:16px;display:grid;overflow:hidden}.shot-studio-history-video{background:#0a1119;border-radius:10px;height:100%;min-height:0;position:relative;overflow:hidden}.shot-studio-history-video video{object-fit:contain;background:#0a1119;width:100%;height:100%;display:block}.shot-studio-history-video>span{color:#fff;background:#040a10ad;border-radius:6px;padding:3px 7px;font-size:11px;position:absolute;bottom:9px;right:9px}.shot-studio-history-video.is-empty{border:1px dashed var(--studio-line-strong);background:var(--studio-surface-soft);width:100%;color:var(--studio-muted);place-content:center;place-items:center;gap:10px;display:grid}.shot-studio-history-video.is-empty svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;width:34px;height:34px}.shot-studio-history-video.is-empty>span{color:inherit;background:0 0;padding:0;font-size:12px;position:static}.shot-studio-history-detail-copy{flex:none;gap:14px;display:grid}.shot-studio-history-detail-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.shot-studio-history-detail-heading>div{gap:4px;min-width:0;display:grid}.shot-studio-history-detail-heading>div>span,.shot-studio-history-content>span{color:var(--studio-muted);font-size:11px;font-weight:500}.shot-studio-history-detail-heading h3{overflow-wrap:anywhere;color:var(--studio-text);margin:0;font-size:17px;font-weight:600}.shot-studio-history-detail-heading>button{cursor:pointer;border:1px solid var(--studio-blue);background:var(--studio-surface);min-height:32px;color:var(--studio-blue-text);border-radius:8px;flex:none;padding:6px 10px;font-size:12px;font-weight:500}.shot-studio-history-detail-heading>button:hover:not(:disabled){background:var(--studio-blue);color:#fff}.shot-studio-history-detail-heading>button:disabled{cursor:wait;opacity:.58}.shot-studio-history-default-badge{background:var(--studio-blue);color:#fff;border-radius:999px;flex:none;padding:4px 9px;font-size:11px}.shot-studio-history-detail-meta{color:var(--studio-muted);flex-wrap:wrap;gap:6px 14px;font-size:11px;display:flex}.shot-studio-history-detail-meta time{font-variant-numeric:tabular-nums}.shot-studio-history-content{gap:7px;display:grid}.shot-studio-history-content .shot-content-editor-input{background:var(--studio-surface-soft);height:140px;max-height:140px;overflow-y:auto}.shot-studio-history-state{border:1px dashed var(--studio-line);color:var(--studio-muted);text-align:center;border-radius:10px;margin:0;padding:28px 16px;font-size:13px}.shot-studio-history-state.is-error{border-color:var(--studio-danger)}@supports (color:color-mix(in lab, red, red)){.shot-studio-history-state.is-error{border-color:color-mix(in srgb, var(--studio-danger) 35%, var(--studio-line))}}.shot-studio-history-state.is-error{color:var(--studio-danger)}.shot-studio-upload-dialog{width:min(500px,100%)}.shot-studio-upload-field{color:var(--studio-text);gap:6px;font-size:12px;font-weight:700;display:grid}.shot-studio-upload-dropzone{border:1px dashed var(--studio-line-strong);background:var(--studio-surface-soft);border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;min-width:0;padding:14px;display:grid;position:relative}.shot-studio-upload-input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;height:1px;margin:-1px;position:absolute;overflow:hidden;width:1px!important}.shot-studio-upload-icon{background:var(--studio-blue-soft);width:34px;height:34px;color:var(--studio-blue);border-radius:9px;place-items:center;font-size:12px;display:grid}.shot-studio-upload-dropzone>div{min-width:0}.shot-studio-upload-dropzone strong,.shot-studio-upload-dropzone small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.shot-studio-upload-dropzone strong{color:var(--studio-text);font-size:13px;font-weight:650}.shot-studio-upload-dropzone small{color:var(--studio-muted);margin-top:3px;font-size:11px;font-weight:500}.shot-studio-upload-dropzone button{cursor:pointer;border:1px solid var(--studio-line);background:var(--studio-surface);min-height:32px;color:var(--studio-text);border-radius:8px;padding:6px 10px;font-size:12px;font-weight:600}.shot-studio :is(button,input,textarea):focus-visible{outline:2px solid var(--studio-blue);outline-offset:2px;box-shadow:none}.director-state-card{border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-panel);grid-template-columns:5.5rem minmax(0,1fr);align-items:center;gap:1rem;min-height:9rem;padding:1rem;display:grid}.director-state-visual{background:linear-gradient(145deg, #ff85492e, var(--surface-raised));width:5.5rem;height:5.5rem;color:var(--danger);border-radius:.7rem;place-items:center;font-size:1.5rem;font-weight:850;display:grid}.director-state-card h3{margin:0;font-size:1rem}.director-state-card p{color:var(--muted);margin:.35rem 0 .7rem;font-size:.78rem}.director-retry-button{min-height:2.15rem;padding:.45rem .7rem}.shot-studio-generation-dialog{width:min(600px,100%)}.shot-studio-generation-summary{color:var(--studio-muted);margin:-6px 0 0;font-size:13px;line-height:1.6}.shot-studio-generation-models{max-height:min(420px,55vh);overflow-y:auto;gap:9px!important;padding:12px!important;display:grid!important}.shot-studio-generation-models>label{border:1px solid var(--studio-line);background:var(--studio-surface-soft);border-radius:10px;grid-template-columns:auto minmax(0,1fr);padding:12px;transition:border-color .16s,background-color .16s,box-shadow .16s;align-items:start!important;gap:11px!important;display:grid!important}.shot-studio-generation-models>label:hover{border-color:var(--studio-line-strong)}.shot-studio-generation-models>label.is-selected{border-color:var(--studio-blue);background:var(--studio-blue-soft);box-shadow:0 0 0 2px var(--studio-blue)}@supports (color:color-mix(in lab, red, red)){.shot-studio-generation-models>label.is-selected{box-shadow:0 0 0 2px color-mix(in srgb, var(--studio-blue) 12%, transparent)}}.shot-studio-generation-models input{margin-top:3px!important}.shot-studio-generation-model-copy{gap:4px;min-width:0;display:grid}.shot-studio-generation-model-copy b{color:var(--studio-text);font-size:14px;font-weight:650}.shot-studio-generation-model-copy>span{color:var(--studio-muted);font-size:12px;line-height:1.55}.shot-studio-generation-model-copy small{color:var(--studio-blue-text);font-size:11px;line-height:1.5}.shot-studio-generation-state{border:1px dashed var(--studio-line);background:var(--studio-surface-soft);min-height:104px;color:var(--studio-muted);text-align:center;border-radius:10px;place-items:center;gap:10px;padding:18px;font-size:13px;display:grid;margin:0!important}.shot-studio-generation-state.is-error{color:var(--studio-danger)}.shot-studio-generation-state button{cursor:pointer;border:1px solid var(--studio-line);background:var(--studio-surface);min-height:34px;color:var(--studio-text);border-radius:8px;padding:6px 11px}.shot-studio-generation-dialog button:disabled,.shot-studio-generation-models input:disabled{cursor:not-allowed;opacity:.58}.director-shot-panel .shot-studio-toolbar{padding-inline:1rem}.director-shot-panel .shot-studio-main{background:#f8fafc}@media (width<=1200px){.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width>=1600px){.project-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:1.35rem}.project-library-heading{margin-bottom:2.5rem}}@media (width>=2400px){.project-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:1.5rem}.project-library-heading{margin-bottom:2.75rem}}@media (width<=1100px){.auth-layout{grid-template-columns:minmax(0,1fr) minmax(23rem,.9fr);gap:2.5rem;padding:2.5rem}.director-header{z-index:30;position:sticky;top:0}.director-task-sidebar{z-index:20;grid-template-columns:0 min(20.625rem,100vw - 2rem);position:fixed;top:4.75rem;bottom:0;right:0;box-shadow:-.8rem 0 2rem #19212924}.director-task-sidebar-resize-handle{display:none}.director-task-sidebar-content{width:min(20.625rem,100vw - 2rem)}}@media (height<=820px) and (width>=701px){.auth-layout{gap:2.5rem;padding-block:1.5rem}.auth-brand-panel{min-height:calc(100dvh - 3rem)}.auth-brand-copy h2{font-size:clamp(2.25rem,3vw,3rem)}.auth-brand-copy>p:last-child{margin-top:1rem;line-height:1.6}.auth-card{padding-block:1.5rem}.auth-card-header{margin-bottom:1.25rem}.auth-form{gap:.9rem}}@media (width<=900px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.auth-shell{background:var(--surface-page);min-height:100dvh;overflow-y:auto}.auth-shell:before,.auth-shell:after,.auth-light-effects{display:none}.auth-layout{width:100%;padding:1rem;display:block}.auth-brand-panel{display:none}.auth-card-wrap{grid-template-columns:minmax(0,1fr);place-items:center;min-height:calc(100dvh - 2rem);display:grid}.auth-card{max-width:29rem;box-shadow:none;border-color:#0000;padding:1.5rem .5rem}.auth-mobile-brand{display:flex}.auth-card-header{margin-bottom:1.5rem}.auth-verification-group{grid-template-columns:minmax(0,1fr)}.auth-verification-group .auth-secondary-button{width:100%}.desktop-rail{display:none}.app-header{min-height:4.25rem;padding:.65rem 1rem}.app-header-brand-name{display:none}.account-username{max-width:8rem}.app-content{min-height:calc(100dvh - 4.25rem);margin-left:0;padding:22px}.screenplay-list-page{min-height:calc(100dvh - 4.25rem - 44px)}.project-grid{grid-template-columns:minmax(0,1fr);gap:1rem}.project-state-card{flex-direction:column;align-items:stretch}.project-retry-button{width:100%}.mobile-navigation{z-index:10;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff0;border:1px solid #1a1c1f1a;border-radius:1rem;grid-template-columns:repeat(3,1fr);gap:.25rem;padding:.4rem;display:grid;position:fixed;inset:auto .75rem .75rem}.mobile-navigation .nav-item{flex-direction:column;gap:.2rem;padding:.45rem .25rem;font-size:.7rem}.mobile-navigation .nav-mark{width:1.7rem;height:1.7rem}.page-heading,.workspace-heading{flex-direction:column;align-items:stretch}.project-library-heading{gap:1.25rem;margin-bottom:1.75rem}.project-library-heading>.ui-button{width:100%}.project-card-summary{padding:1rem 1rem .75rem}.project-card-footer{margin-inline:1rem}.pagination{gap:.5rem;padding-top:2rem}.pagination .ui-button{flex:1}.workspace-layout{display:block}.step-navigation{scrollbar-width:thin;flex-direction:row;margin:0 -1.25rem 1rem;padding:0 1.25rem .5rem;overflow-x:auto}.step-navigation button{flex:0 0 9.5rem}.step-workspace{padding:1rem}.project-shell{min-width:0;padding-bottom:5.75rem;display:block}.project-navigation{z-index:30;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff5;border:1px solid #1a1c1f1a;border-radius:1rem;grid-template-columns:repeat(5,minmax(0,1fr));gap:.25rem;margin:0;padding:.4rem;display:grid;position:fixed;inset:auto .75rem .75rem;overflow:visible;box-shadow:0 1rem 3rem #00000052}.project-navigation .nav-item{text-align:center;place-items:center;min-height:2.75rem;padding:.4rem .15rem;font-size:.72rem;display:grid}.project-content{border:0;border-radius:0;width:auto;min-width:0;margin:0;padding:1.25rem;display:grid}.project-metrics,.task-filters,.storyboard-grid,.video-grid,.task-list{grid-template-columns:minmax(0,1fr)}.project-content .page-heading{gap:1rem}.project-content .page-heading>*{min-width:0}.director-workspace{padding:0}.director-header{align-items:center;min-height:4.25rem;padding:.55rem .75rem}.director-header-identity{gap:.6rem}.director-workspace-home{padding-right:.25rem}.director-workspace-home>span{display:none}.director-header-brand-mark{width:2rem;height:2rem}.director-header-divider{height:1.6rem}.director-project-meta span:last-child{display:none}.director-header-actions{width:auto}.account-username{display:none}.director-title-row h1{max-width:42vw;font-size:.95rem}.director-project-type{display:none}.director-task-sidebar{top:4.25rem}.director-layout{display:block}.director-resize-handle{display:none}.director-resource-panel{border-right:0;border-bottom:1px solid var(--border-subtle);max-height:20rem;padding:1rem}.director-shot-toolbar{flex-direction:column;align-items:flex-start}.director-shot-card{grid-template-columns:minmax(0,1fr)}.director-shot-visual{aspect-ratio:16/9;min-height:0;margin:-1rem -1rem 0}.shot-studio-toolbar{flex-direction:column;align-items:stretch}.shot-studio-toolbar-actions{width:100%}.shot-studio-toolbar-actions>:is(.shot-studio-create-split,button),.shot-studio-create-split>.shot-studio-button:first-child{flex:1}.shot-studio-main{gap:14px}.shot-studio-preview-art{min-height:0}.shot-studio-controls{grid-template-columns:auto minmax(0,1fr);gap:10px}.shot-studio-playback-settings{grid-column:1/-1;justify-content:flex-end}.shot-studio-list-heading{flex-direction:column;align-items:flex-start}.shot-studio-track-shell{grid-template-columns:28px minmax(0,1fr) 28px;gap:5px}.shot-studio-scroll-button{width:28px;min-height:0}.shot-studio-track{min-height:0}.shot-studio-card{flex-basis:190px;min-width:190px}.shot-studio-card-select{grid-template-rows:none}.shot-studio-generation-dialog{align-self:start;margin-top:6vh}.shot-studio-generation-models{max-height:48vh}.shot-studio-history-dialog{align-self:start;height:calc(100svh - 36px)}.shot-studio-history-layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.shot-studio-history-list{border-right:0;border-bottom:1px solid var(--studio-line);flex-direction:row;overflow:auto hidden}.shot-studio-history-item{width:210px}.shot-studio-history-detail{grid-template-rows:minmax(180px,1fr) auto;overflow-y:auto}.director-state-card,.director-scene-upload-grid,.director-character-form-grid,.director-character-preview-grid{grid-template-columns:minmax(0,1fr)}.director-character-form-wide{grid-column:auto}}@media (width<=380px){.auth-layout{padding-inline:.75rem}.auth-card{padding-inline:.25rem}.app-header-title{font-size:1rem}.account-summary{padding-inline:.35rem}}@media (prefers-reduced-motion:reduce){.auth-light-effects:before,.auth-light-effects:after,.auth-card{animation:none}.ui-button,.project-card,.project-card-cover{transition-duration:.01ms!important}.project-card:hover,.project-card:focus-within,.project-card:hover .project-card-cover,.project-card:focus-within .project-card-cover{transform:none}.project-card-skeleton>span{animation:none}.shot-studio *,.shot-studio :before,.shot-studio :after{scroll-behavior:auto!important;transition-duration:.01ms!important}}.shot-content-editor-mention.is-text-reference{font-size:inherit;font-weight:inherit;box-shadow:none;line-height:inherit;cursor:pointer;background:0 0;border:0;border-radius:0;margin:0 1px;padding:0;display:inline}.shot-content-editor-mention.is-text-reference:focus-visible{outline-offset:3px;outline:1px dashed}.shot-content-editor-field-remove{color:#8b91a5;vertical-align:middle;cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;width:18px;height:18px;margin-left:3px;padding:0;font-size:15px;line-height:1;display:inline-flex}.shot-content-editor-field-remove:hover{color:#c94d4d;background:#fff0f0}.shot-content-reference-details{z-index:175;border:1px solid var(--studio-line);background:var(--studio-surface);white-space:normal;overflow-wrap:anywhere;overscroll-behavior:contain;scrollbar-color:#20242b80 transparent;scrollbar-width:thin;border-radius:10px;width:min(320px,100vw - 16px);max-height:min(360px,100dvh - 32px);padding:14px;font-size:13px;line-height:1.6;overflow-y:auto;box-shadow:0 10px 30px #0f172a29}.shot-content-reference-heading{align-items:baseline;gap:8px;display:flex}.shot-content-reference-heading>span{color:var(--studio-muted);font-size:11px}.shot-content-reference-heading>strong{color:var(--studio-text);font-size:14px}.shot-content-reference-details>img{object-fit:contain;border-radius:6px;width:100%;max-height:160px;margin-top:10px;display:block}.shot-content-reference-details>p{color:var(--studio-muted);white-space:pre-wrap;margin:10px 0 0;font-size:12px;line-height:1.7}.shot-content-reference-actions{z-index:1;border-bottom:1px solid var(--studio-line);background:var(--studio-surface);gap:8px;margin:-14px -14px 12px;padding:12px 14px;display:flex;position:sticky;top:-14px}.shot-content-reference-actions>button{cursor:pointer;color:#365bbd;background:#edf1ff;border:0;border-radius:5px;padding:5px 9px;font-size:12px}.shot-content-reference-actions>button:hover:not(:disabled){background:#dfe7ff}.shot-content-reference-actions>button:disabled{cursor:default;color:#9299a4;background:#f5f6f8}.shot-content-reference-details::-webkit-scrollbar{width:10px}.shot-content-reference-details::-webkit-scrollbar-track{box-shadow:none;background:0 0;border:0}.shot-content-reference-details::-webkit-scrollbar-thumb{background:#20242b80 padding-box content-box;border:3px solid #0000;border-radius:999px}.shot-content-reference-details>video{border-radius:6px;width:100%;max-height:180px;margin-top:10px;display:block}.project-edit-lock-page{min-height:100svh}.project-edit-lock-notice,.project-edit-lock-reopen{z-index:1201;box-sizing:border-box;border:1px solid var(--border-default,#e5e7eb);background:var(--surface-overlay,#fff);width:max-content;max-width:min(460px,100vw - 32px);color:var(--text-primary,#20242b);overflow-wrap:anywhere;border-radius:12px;position:fixed;top:16px;left:50%;transform:translate(-50%);box-shadow:0 8px 32px #0f172a29}.project-edit-lock-notice{flex-wrap:wrap;align-items:center;gap:12px;padding:10px 12px;font-size:14px;display:flex}.project-edit-lock-notice button{cursor:pointer;border:1px solid;border-radius:6px;padding:6px 12px}.project-edit-lock-content{border:0;min-width:0;margin:0;padding:0;display:contents}.project-edit-lock-content:disabled [contenteditable=true]{pointer-events:none}.project-edit-lock-dialog-overlay{z-index:1200;background:#0f172a6b;position:fixed;inset:0}.project-edit-lock-dialog{z-index:1201;box-sizing:border-box;border:1px solid var(--border-default,#e5e7eb);background:var(--surface-overlay,#fff);width:min(460px,100vw - 32px);max-height:calc(100svh - 32px);color:var(--text-primary,#20242b);border-radius:16px;padding:28px;position:fixed;top:16px;left:50%;overflow-y:auto;transform:translate(-50%);box-shadow:0 24px 80px #0f172a3d}.project-edit-lock-dialog-title{margin:0;font-size:20px;font-weight:600;line-height:1.4}.project-edit-lock-dialog-description{color:var(--text-secondary,#64748b);margin:14px 0 24px;font-size:14px;line-height:1.8}.project-edit-lock-dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.project-edit-lock-dialog-actions button,.project-edit-lock-reopen{border:1px solid var(--border-default,#e5e7eb);background:var(--surface-overlay,#fff);color:inherit;font:inherit;cursor:pointer;border-radius:8px;padding:8px 12px;font-size:14px}.project-edit-lock-dialog-actions .is-primary{color:#fff;background:#20242b;border-color:#20242b}.project-edit-lock-dialog-actions button:focus-visible,.project-edit-lock-reopen:focus-visible{outline-offset:3px;outline:2px solid #5579df}.director-header-export{border:1px solid var(--border-subtle);min-height:34px;color:var(--muted);font:inherit;white-space:nowrap;cursor:pointer;background:#fff;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:6px 11px;font-size:12px;display:inline-flex}.director-header-actions .director-view-toggle{--screenplay-panel-soft:#f8f9fb;--screenplay-panel:#fff;--screenplay-muted:#727986;--screenplay-accent-strong:#365bbd;border-radius:8px;padding:2px}.director-header-actions .director-view-toggle button{border-radius:6px;width:28px;height:26px}.director-header-actions .director-view-toggle button svg{width:14px;height:14px}.director-header-export{border-color:var(--accent);background:var(--accent);color:#fff}.director-header-export:hover{background:var(--accent-strong)}.director-header-actions button:disabled{cursor:default;opacity:.55}.director-header-actions>button>svg,.director-layout-controls svg,.director-shot-detail-empty svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;width:17px;height:17px}.director-layout.is-resources-hidden>.director-resource-panel,.director-layout.is-resources-hidden>.director-resize-handle,.director-layout.is-tools-hidden>.director-task-sidebar{display:none}.director-layout.is-tools-hidden{grid-template-columns:var(--director-sidebar-width) 0 minmax(0, 1fr)}.director-layout.is-resources-hidden>.director-shot-panel{grid-column:3}.director-layout.is-detail-mode>.director-task-sidebar{grid-area:1/4}.director-layout.is-detail-mode>.director-shot-panel{flex-direction:column;grid-area:1/3;container:director-canvas/inline-size}.director-layout-controls{border-bottom:1px solid var(--border-subtle);background:#fff;flex-shrink:0;align-items:center;gap:10px;min-height:42px;padding:6px 10px;display:flex}.director-layout-controls>span{color:var(--muted-soft);text-align:center;flex:1;font-size:11px}.director-layout-controls button{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;flex-shrink:0;align-items:center;gap:6px;padding:5px 7px;font-size:11px;display:inline-flex}.director-layout-controls button:hover{background:var(--accent-soft);color:var(--accent)}.shot-studio.is-detail-mode{flex:1;min-height:0}.shot-studio.is-detail-mode>.shot-studio-main{grid-template-columns:minmax(0,1fr) minmax(285px,40%);column-gap:10px}.shot-studio.is-detail-mode .shot-studio-preview-shell{grid-area:1/1}.shot-studio.is-detail-mode .shot-studio-list{grid-area:2/1}.director-shot-detail{--screenplay-accent:#5174ed;--screenplay-accent-strong:#4265dd;--screenplay-text:#262d3a;--screenplay-muted:#89909e;--screenplay-line:#e9ecf2;border:1px solid var(--studio-line);background:#fff;border-radius:12px;flex-direction:column;grid-area:1/2/3;min-width:0;min-height:0;display:flex;overflow:hidden}.director-shot-detail-heading{border-bottom:1px solid var(--studio-line);flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;min-height:44px;padding:10px 16px;font-size:13px;display:flex}.director-shot-detail-heading span{color:var(--studio-muted);font-size:11px}.director-shot-detail>.screenplay-shot-detail{flex:1;height:auto}.director-shot-detail .shot-workspace-resources,.director-shot-detail .shot-workspace-resize-handle{display:none}.director-shot-detail .shot-workspace-body{grid-template-columns:minmax(0,1fr)}.director-shot-detail .shot-workspace-title>input{font-size:23px}@media (width<=900px){.director-shot-detail .shot-workspace-title>input{font-size:20px}}.director-shot-detail .shot-workspace-editor-toolbar>span{display:none}.director-shot-detail .screenplay-dialog-footer{padding:12px 16px}.director-shot-detail-empty{color:var(--studio-muted);text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;padding:24px;font-size:13px;display:flex}.director-shot-detail-empty svg{color:#a6b4c7;width:32px;height:32px}.director-shot-detail-empty p{max-width:230px;margin:0;font-size:12px;line-height:1.8}.director-shot-detail-notice{border-bottom:1px solid var(--studio-line);color:var(--studio-muted);justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;font-size:11px;display:flex}@container director-canvas (width<=760px){.director-layout-controls>span{display:none}.director-layout-controls{justify-content:space-between}.shot-studio.is-detail-mode .shot-studio-list-heading{flex-direction:column;align-items:flex-start}.shot-studio.is-detail-mode .shot-studio-controls{grid-template-columns:auto minmax(0,1fr)}.shot-studio.is-detail-mode .shot-studio-playback-settings{grid-column:1/-1;justify-content:flex-end}}@container director-canvas (width<=540px){.shot-studio.is-detail-mode>.shot-studio-main{grid-template-rows:minmax(200px,1fr) auto minmax(400px,1fr);grid-template-columns:minmax(0,1fr);overflow-y:auto}.director-shot-detail{grid-area:3/1}}@media (width<=700px){.is-director-page>.director-header{flex-wrap:wrap;gap:10px;padding-block:10px}.is-director-page .director-header-actions{margin-left:auto}.director-layout.is-detail-mode>.director-shot-panel{min-height:900px}}.director-shot-detail .shot-workspace-reference-hint{color:var(--screenplay-muted);white-space:nowrap;font-size:11px}@media (width<=1100px){.director-layout.is-detail-mode{grid-template-columns:var(--director-sidebar-width) 0 minmax(0, 1fr)}.director-layout.is-detail-mode>.director-shot-panel{min-height:760px}.director-layout.is-detail-mode>.director-task-sidebar{--director-task-sidebar-width:100%;border-top:1px solid var(--border-subtle);height:360px;box-shadow:none;border-left:0;grid-area:2/1/auto/-1;position:static}.director-layout.is-detail-mode .director-task-sidebar-content{width:100%}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
