.projects-page{max-width:1500px;margin:0 auto 12px;scroll-margin-top:12px}.page-body:has(>.global-job-history-page),.page-body:has(>.project-workspace){padding-top:0}.page-body:has(>.global-job-history-page),.page-body:has(>.project-workspace){display:flex;overflow:hidden;padding:0}.project-workspace{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0;width:100%;margin:0 auto;padding:0 4px 4px}.project-workspace-scroll{display:flex;flex:1 1 auto;min-height:0;padding:4px 0 4px 4px;overflow:hidden}.project-scenes,.scene-panel{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0}.scene-panel>.project-error{flex-shrink:0}.scene-list-scroll{flex:1 1 auto;min-height:0;padding:4px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.global-job-history-page{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0;width:100%;margin:0 auto;padding:0 4px 4px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;border:0}.projects-page h1{margin:0;font-size:1.6rem;overflow-wrap:anywhere}.projects-page h2{font-size:1.15rem}.projects-page button{padding:7px 12px;border:1px solid #9aa4af;border-radius:8px;background:#fff;cursor:pointer}.projects-page button:disabled{opacity:.55;cursor:default}.projects-page button:focus-visible,.projects-page input:focus-visible{outline:2px solid var(--accent-color);outline-offset:2px}.projects-page .primary{background:var(--primary-button-color);border-color:var(--primary-button-color);color:#fff}.projects-page .danger{color:#b42323;border-color:#d4a4a4}.project-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}.project-home>.project-heading{flex:0 0 auto;min-width:0;margin-bottom:4px;padding-bottom:4px;border-bottom:1px solid #bcc8d4}.project-home>.project-heading>.project-actions{min-width:0;max-width:100%;margin-left:auto;gap:4px}.page-body:has(>.project-home){display:flex;overflow:hidden;padding:0}.project-home{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0;width:100%;margin:0 auto;padding:4px}.project-home-scroll{flex:1 1 auto;min-height:0;margin-right:0;padding:0 4px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.project-home>.project-heading>h1{display:flex;align-items:center;gap:8px;font-size:calc(1.6rem - 4px)}.project-list-icon{width:1.2em;height:1.2em;flex-shrink:0;color:var(--accent-color)}.project-home .project-home-list{margin-top:0;gap:0}.project-home .project-home-list>.project-home-card,.project-home .project-home-list>.project-home-card:hover{min-height:0;gap:4px;padding:4px 0;border:0;border-bottom:1px solid #bcc8d4;border-radius:0;background:transparent}.project-home .project-home-list>.project-home-card:last-child,.project-home .project-home-list>.project-home-card:last-child:hover{border-bottom:0}.project-home .project-home-list>.project-home-card>.project-info{box-sizing:border-box;flex:1 1 auto;align-self:stretch;justify-content:center;gap:1px;height:48px;padding:3px 10px;border:1px solid #c8d1db;border-radius:10px;background:#fafcfe}.project-home .project-home-list>.project-home-card>.project-info .project-open{width:100%;font-size:16px;line-height:1.2}.project-home .project-home-list>.project-home-card .project-date{font-size:9px;line-height:1.2}.project-home .project-home-list>.project-home-card>.project-actions{align-self:center;gap:4px}.project-heading>button{flex-shrink:0}.project-info{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}.projects-page .project-open{border:none;padding:0;color:var(--link-text-color);text-align:left;font-size:1.15rem;overflow-wrap:anywhere;text-decoration:none}.projects-page .project-open:hover{text-decoration:underline}.project-list>li{position:relative}.project-list a.project-open:after{content:"";position:absolute;inset:0;border-radius:8px}.project-list .project-actions button{position:relative;z-index:1}.projects-page .card-open-button{display:inline-flex;align-self:stretch;align-items:center;justify-content:center;min-height:36px;font:inherit;white-space:nowrap}.project-list .project-open:focus-visible{outline:none}.project-list .project-open:focus-visible:after{outline:2px solid var(--accent-color);outline-offset:3px}.expandable-card{position:relative}.projects-page .project-actions .card-expand-button{position:static;z-index:auto}.card-expand-button:after{content:"";position:absolute;inset:0;border-radius:inherit}.projects-page .card-expand-button:focus-visible{outline:none}.card-expand-button:focus-visible:after{outline:2px solid var(--accent-color);outline-offset:3px}.project-date{font-size:.85rem;color:#222}.job-generation-time-active{color:var(--accent-color)}.project-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-shrink:0;flex-wrap:wrap}.project-empty,.project-help{color:#666;line-height:1.7}#material-editor-name-help{color:var(--accent-color)}.project-error{color:#a51e1e;background:#fff0f0;padding:12px}.project-notice{color:#21633b;background:#eef8f1;padding:12px}.project-modal-backdrop{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1100;padding:20px}.project-dialog{display:flex;flex-direction:column;width:100%;max-width:500px;max-height:calc(90dvh / var(--ui-zoom));overflow:hidden;background:#fff;border-radius:8px;padding:24px;box-shadow:0 8px 32px #0003}.project-editor-form{display:flex;flex-direction:column;min-height:0;gap:16px}.project-dialog .project-actions,.project-dialog>h2{flex-shrink:0}.project-dialog>.dialog-scroll-body{margin-top:16px}.project-dialog h2{margin-top:0}.project-dialog label{display:block;margin-bottom:8px}.project-dialog input,.project-dialog select{width:100%;padding:9px;border:1px solid #999;border-radius:4px;margin-bottom:20px;font:inherit}.project-dialog p{line-height:1.7}.project-environment-fields{display:grid;grid-gap:10px;gap:10px}.project-environment-fields h3{margin:12px 0 0}.project-environment-fields h3:first-child{margin-top:0}.project-dialog .project-environment-fields input,.project-dialog .project-environment-fields select,.project-environment-fields label{margin-bottom:0}.project-dialog .project-environment-fields .binary-editor-visibility input{width:18px;height:18px;padding:0;margin:0;flex-shrink:0}.project-environment-fields .project-help{margin:0;font-size:.85rem}.project-delete-name{overflow-wrap:anywhere;font-weight:700}@media (max-width:750px){.project-list>li{flex-direction:column}.project-home .project-home-list>.project-home-card{flex-direction:row;flex-wrap:wrap}.project-home .project-home-list>.project-home-card>.project-info{flex:1 1 100%}.project-home .project-home-list>.project-home-card>.project-actions{margin-left:auto}}.material-panel{margin-top:24px}.voice-current-setting{width:100%;box-sizing:border-box}.material-editor.voice-editor{box-sizing:border-box;width:min(520px,calc(calc(100vw / var(--ui-zoom)) - 32px))}.voice-editor select{width:100%;box-sizing:border-box;min-height:40px;padding:4px 8px;font-size:16px;line-height:1.5}.voice-editor audio{width:100%;max-width:100%}.random-voice-test{display:grid;grid-gap:6px;gap:6px;min-width:0}.random-voice-test>div{display:flex;align-items:center;gap:8px;min-width:0}.random-voice-test input{flex:1 1 auto;min-width:0}.voice-editor .random-voice-test .scene-tool-button{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 48px;width:48px;min-width:48px;height:48px;padding:3px 1px;gap:4px}.random-voice-test audio{display:block}.random-voice-result audio{flex:1 1;width:0;min-width:0}.random-voice-result button{flex:0 0 auto;white-space:nowrap}.preset-voice-preview{min-width:0}.preset-voice-preview audio{display:block;width:100%;max-width:100%}.voice-current-setting .preset-voice-preview{width:300px;max-width:100%}.material-create{padding:8px 12px;border-radius:8px;background:var(--primary-button-color);color:#fff;text-decoration:none}.material-name{flex:1 1;min-width:0;overflow-wrap:anywhere}.material-form{display:grid;grid-gap:10px;gap:10px}.material-form input,.material-form textarea{width:100%;padding:8px;font:inherit;border:1px solid #aaa;border-radius:4px}.material-form textarea{resize:vertical}.material-form select{max-width:100%;padding:8px;font:inherit;border:1px solid #aaa;border-radius:4px}.material-details{margin:24px 0}.material-info-card{padding:20px;border:1px solid #ccd6e0;border-radius:14px;background:#f7f9fc}.global-job-history-link{display:flex;align-items:center;gap:14px;margin-top:20px;color:inherit;text-decoration:none;transition:border-color .15s ease,background-color .15s ease}.global-job-history-link:hover{border-color:var(--accent-color);background:#f0f5fb}.global-job-history-link:focus-visible{outline:2px solid var(--accent-color);outline-offset:3px}.global-job-history-icon{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:50%;background:var(--primary-button-color);color:#fff}.global-job-history-copy{display:grid;grid-gap:5px;gap:5px;min-width:0}.global-job-history-copy strong{font-size:1.05rem}.global-job-history-copy>span{color:#666;font-size:.85rem}.global-job-history-action{display:inline-flex;align-items:center;gap:8px;margin-left:auto;color:var(--link-text-color);white-space:nowrap}@media (max-width:600px){.global-job-history-link{gap:10px;padding:14px}.global-job-history-icon{width:40px;height:40px;flex-basis:40px}.global-job-history-action{font-size:.85rem}}.material-info-card .material-details{margin-bottom:0}.material-info-card .material-details+.project-actions{margin-top:20px}.material-details dt{margin-top:18px;color:#555;font-size:.9rem}.material-details dd{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.material-editor{width:min(760px,calc(calc(100vw / var(--ui-zoom)) - 32px));max-height:calc(90dvh / var(--ui-zoom));padding:24px;border:none;border-radius:8px;overflow:hidden}.image-generation-editor{box-sizing:border-box;width:min(920px,calc(calc(100vw / var(--ui-zoom)) - 32px));height:calc(90dvh / var(--ui-zoom));padding:12px 24px}.image-generation-editor>.material-form{max-height:calc(calc(90dvh / var(--ui-zoom)) - 24px)}.image-generation-editor .material-form>.project-heading{margin-bottom:8px}.image-generation-editor .dialog-scroll-body{display:block;padding:2px 4px}.image-generation-editor button:not(.image-generation-run){padding:4px 14px}.image-generation-top[aria-disabled=true]{opacity:.55}.image-generation-editor #image-generation-prompt{display:block;box-sizing:border-box;width:100%;min-height:9em}.image-generation-top{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,13fr);grid-template-areas:"settings canvas" "prompt prompt" "generate generate";grid-column-gap:16px;column-gap:16px;grid-row-gap:12px;row-gap:12px;align-items:start}.image-generation-inputs,.image-generation-settings{align-self:start}.image-generation-inputs{grid-area:canvas;display:grid;grid-gap:12px;gap:12px}.image-generation-second-input[aria-disabled=true]{opacity:.45}.image-generation-second-input .image-generation-file[aria-disabled=true]{cursor:default}.image-generation-settings{grid-area:settings}.image-generation-prompt{grid-area:prompt;display:grid;grid-gap:6px;gap:6px}.image-generation-prompt>.project-help{margin:0;font-size:12px}.image-generation-checkbox-prompts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px}.image-generation-checkbox-prompt{margin:0;gap:8px;font-size:13px}.image-generation-checkbox-prompts .image-generation-checkbox-prompt input:checked+.scene-publication-track{background:var(--primary-button-color)}.image-generation-settings{display:grid;align-content:start;grid-gap:6px;gap:6px}.image-generation-settings>.project-help{margin:-3px 0 0;font-size:12px}.image-generation-run{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;min-height:48px;padding:5px 10px;border-radius:14px!important}.image-generation-run-icons{display:inline-flex;align-items:center;justify-content:center;gap:8px}.image-generation-run>i{font-size:1.1rem}.image-generation-run>span{font-size:14px}.image-generation-basic-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-column-gap:8px;column-gap:8px;grid-row-gap:4px;row-gap:4px}.image-generation-settings label{display:grid;grid-gap:3px;gap:3px}.image-generation-settings input,.image-generation-settings select{box-sizing:border-box;width:100%;min-width:0}.image-generation-base h3,.image-generation-output h3,.image-generation-settings h3{margin:0 0 3px}.image-generation-base-row{display:flex;flex-wrap:wrap;align-items:flex-start;column-gap:8px;row-gap:4px}.image-generation-base-actions{display:flex;flex:1 1 160px;min-width:min(100%,160px);flex-direction:column;align-items:center;gap:4px}.image-generation-base-actions>.image-generation-file,.image-generation-base-actions>button{box-sizing:border-box;width:160px;max-width:100%;justify-content:center;text-align:center}.image-generation-transform-actions{display:flex;flex-direction:column;width:160px;max-width:100%;gap:4px}.image-generation-transform-actions>button{box-sizing:border-box;width:100%;min-width:0;justify-content:center;padding:4px 8px!important;font-size:12px;white-space:nowrap}.image-generation-base-preview,.image-generation-output-preview{box-sizing:border-box;display:flex;align-items:center;justify-content:center;aspect-ratio:1;overflow:hidden;border:1px solid #ccd6e0;border-radius:8px;background:#f7f9fc}.image-generation-base-preview{flex:0 0 min(100%,var(--ui-input-image-size,360px));width:min(100%,var(--ui-input-image-size,360px))}.image-generation-output-preview{width:min(100%,var(--ui-output-image-size,360px))}.image-generation-editor .image-generation-canvas-open{padding:0;color:inherit;cursor:zoom-in}.image-generation-base-preview img,.image-generation-output-preview img{display:block;max-width:100%;max-height:100%;object-fit:contain}.image-generation-strength{display:grid;grid-gap:4px;gap:4px;min-width:0}.image-generation-strength input[type=range]{box-sizing:border-box;width:100%;min-width:0;margin:0;padding:0;accent-color:var(--accent-color)}.image-generation-range-ends{display:flex;justify-content:space-between;font-size:11px;color:#666}.image-generation-file{display:inline-flex;align-items:center;padding:4px 14px;border:1px solid #9aa4af;border-radius:8px;cursor:pointer}.image-generation-file input{display:none}.image-generation-run-buttons{grid-area:generate;display:flex;width:100%;flex-direction:column;align-items:stretch;justify-self:stretch;align-self:stretch;gap:8px}.image-generation-output{display:flex;flex-direction:column;align-items:center;gap:4px}.image-generation-output-copy{width:min(100%,var(--ui-output-image-size,360px))}.image-generation-divider{width:100%;margin:8px 0;border:0;border-top:1px solid #ccd6e0}@media (max-width:600px){.image-generation-top{grid-template-columns:minmax(0,1fr);grid-template-areas:"settings" "canvas" "prompt" "generate"}}.material-editor.binary-editor{box-sizing:border-box;width:min(520px,calc(calc(100vw / var(--ui-zoom)) - 32px))}.material-editor>.material-form{display:flex;flex-direction:column;gap:0;max-height:calc(calc(90dvh / var(--ui-zoom)) - 48px);min-height:0}.material-editor .material-form>.project-heading{flex-shrink:0;margin-bottom:16px}.dialog-scroll-body{display:grid;grid-gap:10px;gap:10px;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px;scrollbar-gutter:stable}.material-editor::-webkit-backdrop{background:rgba(0,0,0,.4)}.material-editor::backdrop{background:rgba(0,0,0,.4)}.material-editor h2{margin:0;font-size:1.2rem}.project-bulk-editor{max-width:500px}.scene-copy-dialog .dialog-scroll-body{display:grid;grid-gap:12px;gap:12px}.scene-copy-dialog .dialog-scroll-body label{display:grid;grid-gap:4px;gap:4px}.scene-copy-dialog .dialog-scroll-body input{box-sizing:border-box;width:100%;min-width:0;min-height:40px;padding:6px 8px;font:inherit}.project-bulk-editor .material-form select,.project-dialog select{box-sizing:border-box;height:40px;min-height:40px;padding:4px 8px;font-size:16px;line-height:1.5}.material-editor button{font:inherit;padding:8px 14px;border:1px solid #9aa4af;border-radius:8px;background:#fff;cursor:pointer}.material-editor button.primary{background:var(--primary-button-color);border-color:var(--primary-button-color);color:#fff}.material-editor button:disabled{opacity:.55;cursor:default}.join-confirm-dialog fieldset{min-width:0;margin:0;padding:16px;border:1px solid #ccd6e0;border-radius:8px}.join-confirm-dialog .join-selection-option{display:flex;align-items:center;gap:8px;margin:8px 0}.join-confirm-dialog .join-selection-option input{width:18px;height:18px;padding:0;margin:0;flex-shrink:0;accent-color:var(--accent-color)}.join-confirm-dialog .project-actions{margin-top:16px}.join-selection-options{display:flex;align-items:center;gap:32px;flex-wrap:nowrap}.join-selection-option{white-space:nowrap}.join-confirm-dialog .join-selection-option{font-size:clamp(12px,3.8vw,16px)}.join-confirm-dialog .join-selection-options{gap:clamp(12px,4vw,32px)}.join-clip-previews{display:grid;grid-gap:20px;gap:20px;list-style:none;padding:0;margin:12px 0 0}.join-clip-previews>li{display:grid;grid-template-columns:minmax(0,var(--ui-thumbnail-large)) minmax(120px,1fr);align-items:start;grid-gap:16px;gap:16px;min-width:0;border-top:1px solid #ccd6e0;padding-top:16px}.join-clip-previews .job-video-preview{position:relative;width:100%;height:auto;aspect-ratio:1}.join-clip-previews .generated-media{position:absolute;inset:0}.join-clip-details{display:grid;grid-gap:12px;gap:12px;min-width:0;overflow-wrap:anywhere}.output-selection{display:flex;align-items:center;gap:10px;min-width:0;width:100%}.output-selection-check{width:18px;height:18px;flex-shrink:0;margin:0;accent-color:var(--accent-color)}.clip-range{flex:1 1;min-width:0;width:100%}.clip-range-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:6px}.projects-page .clip-range-actions button{padding:5px 14px;border-radius:999px;font-size:.8rem;white-space:nowrap}.clip-range-disabled{opacity:.5}.clip-range-disabled .clip-range-track>span{background:#aeb8c4}.clip-range-error{margin:4px 0 0;color:#a51e1e;font-size:.8rem}.clip-range-bar{position:relative;height:28px}.clip-range-track{position:absolute;left:8px;right:8px;top:11px;height:6px;border-radius:3px;background:#cbd5e1}.clip-range-track>span{display:block;position:absolute;height:100%;background:var(--accent-color);border-radius:3px}.clip-range .clip-range-bar input[type=range]{-moz-appearance:none;appearance:none;-webkit-appearance:none;position:absolute;inset:0;width:100%;height:28px;margin:0;padding:0;border:0;border-radius:0;background:transparent;pointer-events:none}.clip-range input[type=range]::-webkit-slider-runnable-track{height:6px;background:transparent}.clip-range input[type=range]::-moz-range-track{height:6px;background:transparent}.clip-range input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:16px;margin-top:-5px;border:2px solid #fff;border-radius:50%;background:var(--accent-color);box-shadow:0 0 0 1px var(--accent-color);pointer-events:auto;cursor:ew-resize}.clip-range input[type=range]::-moz-range-thumb{width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:var(--accent-color);box-shadow:0 0 0 1px var(--accent-color);pointer-events:auto;cursor:ew-resize}.clip-range input[type=range]:disabled::-webkit-slider-thumb{pointer-events:none;cursor:default}.clip-range input[type=range]:disabled::-moz-range-thumb{pointer-events:none;cursor:default}.clip-range-values{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:.75rem;color:#222}@media (max-width:750px){.material-editor{width:calc(100vw / var(--ui-zoom));max-width:calc(100vw / var(--ui-zoom));height:calc(100dvh / var(--ui-zoom));max-height:calc(100dvh / var(--ui-zoom));margin:0;padding:20px 16px;border-radius:0}.material-editor>.material-form{max-height:calc(calc(100dvh / var(--ui-zoom)) - 40px)}.image-generation-editor{padding:10px 16px}.image-generation-editor>.material-form{max-height:calc(calc(100dvh / var(--ui-zoom)) - 20px)}}.material-divider{margin:28px 0 16px;border:0;border-top:1px solid #bdc8d3}.scene-detail{display:grid;grid-gap:20px;gap:20px;margin-top:20px}.scene-candidates,.scene-tag-groups{display:flex;flex-wrap:wrap;gap:16px}.scene-tag-group{flex:0 0 auto;min-width:min-content;max-width:100%;margin:0;padding:12px;border:1px solid #c6d7e8;border-radius:16px;background:#f7faff}.scene-tag-group legend{padding:0 8px;font-weight:600;overflow-wrap:anywhere}.binary-tag{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:12px;background:#e9eff7;color:var(--accent-color);font-size:.85rem;overflow-wrap:anywhere}.binary-editor-item{display:grid;grid-template-columns:minmax(0,var(--ui-thumbnail-small)) minmax(0,1fr);grid-gap:16px;gap:16px;padding:16px;border:1px solid #ccd6e0;border-radius:12px}.binary-editor-preview{display:flex;justify-content:center;align-items:flex-start;min-width:0}.binary-editor-preview>img{display:block;width:var(--ui-thumbnail-small);height:var(--ui-thumbnail-small);max-width:100%;object-fit:contain;border:1px solid #ddd;border-radius:8px;background:#f5f5f5}.projects-page .binary-editor-preview-changed .image-thumbnail{border-color:var(--primary-button-color)}.binary-editor-preview audio{width:100%;max-width:100%}.binary-editor-item-audio{grid-template-columns:minmax(0,1fr)}.binary-editor-item-audio .binary-editor-preview{justify-content:flex-start}.binary-editor-item-audio .audio-preview,.binary-editor-item-audio .binary-editor-preview>audio{width:100%}.binary-editor-preview .image-thumbnail{width:var(--ui-thumbnail-small);height:var(--ui-thumbnail-small)}.binary-editor-fields{display:grid;grid-gap:8px;gap:8px;min-width:0;overflow-wrap:anywhere}.binary-editor-image-actions{display:flex;flex-wrap:wrap;gap:8px}.binary-editor-visibility{display:flex;align-items:center;gap:8px}.material-form .binary-editor-visibility input{width:18px;height:18px;flex-shrink:0}@media (max-width:750px){.binary-editor-item{grid-template-columns:minmax(0,1fr)}.binary-editor-preview>img{max-width:100%}}.scene-material-groups{display:flex;flex-wrap:wrap;align-items:stretch;gap:16px;margin-top:16px}.scene-material-group{flex:1 1 calc(var(--ui-thumbnail-small) + 90px);min-width:min-content;padding:16px;border:1px solid #ccd6e0;border-radius:12px;background:#fff}.scene-material-group>h3,.scene-material-group>h4{margin:0 0 6px}.scene-candidate-preview{display:flex;flex-direction:column;gap:8px;width:var(--ui-thumbnail-small);max-width:100%;overflow-wrap:anywhere}.scene-thumbnail-frame{display:flex;align-items:center;justify-content:center;flex:0 0 var(--ui-thumbnail-small);width:var(--ui-thumbnail-small);min-width:var(--ui-thumbnail-small);height:var(--ui-thumbnail-small);box-sizing:border-box;overflow:hidden;border:1px solid #ddd;border-radius:8px;background:#f5f5f5}.projects-page .scene-thumbnail-frame>.image-thumbnail{flex:0 0 100%;width:100%;max-width:100%;height:100%;min-height:0;padding:0;border:0;border-radius:0;background:transparent}.scene-thumbnail-frame img{display:block;width:100%;height:100%;object-fit:contain}.scene-candidate-audio,.scene-candidate-preview .audio-preview{width:260px;max-width:100%}.scene-material-group:has(.audio-preview){flex-basis:294px}.scene-choice{flex:0 0 auto;width:max-content;min-width:calc(var(--ui-thumbnail-small) + 22px);padding:6px 10px 10px;border:1px solid #ccd6e0;border-radius:8px}.scene-choice label{display:flex;gap:8px;align-items:center;margin-top:12px}.scene-choice input[type=checkbox],.scene-editor input[type=checkbox],.scene-editor input[type=radio]{width:18px;height:18px;padding:0}.scene-music-unused{display:flex;align-items:center;gap:8px}.scene-editor fieldset{min-width:0;margin:10px 0;padding:16px;border:1px solid #ccd6e0;border-radius:8px}.scene-editor .scene-material-groups,.scene-editor .scene-tag-groups{display:grid;grid-template-columns:minmax(0,1fr);width:100%}.scene-editor .scene-material-group{min-width:0;width:100%}.scene-editor .scene-tag-group{min-width:0;width:100%;margin:0;padding-top:6px}.scene-editor .scene-candidates{width:100%;min-width:0}.scene-editor select{max-width:100%;padding:8px;font:inherit}.scene-shot-table-container{width:100%;min-width:0}.scene-shot-table{width:100%;min-width:1302px;border-collapse:separate;border-spacing:0;font-size:14px}.scene-shot-table td,.scene-shot-table th{padding:6px 4px;border:0;border-right:1px solid #ccd6e0;border-bottom:1px solid #ccd6e0;vertical-align:middle}.scene-shot-table tr>:first-child{border-left:1px solid #ccd6e0}.scene-shot-table thead{position:-webkit-sticky;position:sticky;top:0;z-index:2;background:#f0edf7}.scene-shot-table thead th{background:#f0edf7;border-top:1px solid #ccd6e0;text-align:center;white-space:nowrap}.scene-shot-table td:nth-child(9),.scene-shot-table th:nth-child(9){width:196px;min-width:196px}.scene-shot-table td:first-child,.scene-shot-table th:first-child{width:160px;min-width:160px;max-width:160px}.scene-shot-table th:first-child{white-space:normal;overflow-wrap:anywhere}.scene-shot-table td:nth-child(2),.scene-shot-table th:nth-child(2){width:200px;min-width:200px;max-width:200px}.scene-shot-table td:nth-child(8),.scene-shot-table th:nth-child(8){width:200px;min-width:200px;max-width:200px;text-align:center}.scene-shot-table td:nth-child(3),.scene-shot-table th:nth-child(3){width:120px;min-width:120px;max-width:120px}.scene-shot-table th:nth-child(3){white-space:normal;overflow-wrap:anywhere}.scene-shot-table td:nth-child(4),.scene-shot-table th:nth-child(4){width:64px;min-width:64px;max-width:64px;text-align:center}.scene-shot-table td:nth-child(5),.scene-shot-table th:nth-child(5){width:68px;min-width:68px;max-width:68px;text-align:center}.scene-shot-table th:nth-child(5){padding-inline:4px}.scene-shot-table td:nth-child(6),.scene-shot-table th:nth-child(6){width:60px;min-width:60px;max-width:60px;text-align:center}.scene-shot-table td:nth-child(7),.scene-shot-table th:nth-child(7){width:220px;min-width:220px;max-width:220px}.scene-shot-table td:nth-child(2){text-align:left}.scene-direction-duration{display:flex;align-items:center;justify-content:flex-start;gap:6px;white-space:nowrap}.scene-direction-sound-effect{display:flex;align-items:center;gap:6px;min-width:0}.scene-direction-sound-effect .scene-direction-duration{flex:0 0 auto}.scene-shot-table .scene-direction-sound-effect>input{flex:1 1 auto;min-width:0}.scene-shot-table .scene-direction-duration input{width:80px}.scene-audio-range{width:100%;min-width:0}.scene-audio-range-bar{position:relative;height:28px;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:-webkit-grab;cursor:grab}.scene-audio-range-bar:active{cursor:-webkit-grabbing;cursor:grabbing}.scene-audio-range-bar:focus-visible{outline:2px solid var(--accent-color);outline-offset:2px}.scene-audio-range-bar[aria-disabled=true]{opacity:.5;cursor:default}.scene-audio-range-track{position:absolute;left:8px;right:8px;top:11px;height:6px;border-radius:3px;background:#cbd5e1}.scene-audio-range-track>span{position:absolute;height:100%;border-radius:3px;background:var(--accent-color)}.scene-audio-range-track>.scene-audio-range-fade{min-width:4px;border-radius:0 3px 3px 0;background:linear-gradient(to right,var(--accent-color),transparent)}.scene-audio-range-thumb{position:absolute;top:6px;width:16px;height:16px;transform:translateX(-50%);border:2px solid #fff;border-radius:50%;background:var(--accent-color);box-shadow:0 0 0 1px var(--accent-color);pointer-events:none}.scene-audio-range-values{display:flex;align-items:center;justify-content:space-between;gap:3px;font-size:10px;white-space:nowrap}.scene-audio-range-values strong{font-weight:600}.scene-audio-pending-timing{display:block;width:100%;font-size:10px;font-weight:700;text-align:center;white-space:nowrap}.scene-audio-build-button,.scene-audio-play-button{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:48px;height:44px;padding:3px 1px;gap:4px}.scene-audio-build-button>i,.scene-audio-play-button>i{font-size:16px}.scene-audio-play-button>.scene-audio-pending-icon{color:#dc2626}.scene-audio-build-button>span,.scene-audio-play-button>span{font-size:8px;line-height:1}.scene-shot-table td:nth-child(5) .scene-audio-status{display:block;margin-top:4px;font-size:11px;line-height:1.2}.scene-shot-table input,.scene-shot-table select,.scene-shot-table textarea{box-sizing:border-box;width:100%;min-width:0;min-height:36px;margin:0;padding:6px;font:inherit}.scene-shot-table input,.scene-shot-table select{height:44px}.scene-shot-table td:nth-child(3) select,.scene-shot-table td:nth-child(4) input{padding-inline:2px;font-size:12px}.scene-shot-table textarea{display:block;min-height:44px;padding:4px;font-size:10px;line-height:1.25;resize:vertical}.scene-shot-table td:nth-child(2)>input{display:block;width:100%}.scene-shot-tools{display:flex;justify-content:center;gap:3px}.scene-shot-tools .scene-tool-button{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:3px 1px;gap:4px}.scene-shot-tools .scene-tool-button>i{font-size:16px}.scene-shot-tools .scene-tool-button>span{font-size:8px}.scene-shot-total{font-weight:700}.scene-unified-editor #scene-definition-title .scene-shot-total{display:inline-block;font-size:.85em;white-space:nowrap}.scene-editor-alerts,.scene-unified-editor .scene-edit-fixed>.scene-edit-identity{flex-shrink:0;margin-bottom:4px}.scene-editor-alerts{max-height:min(25vh,180px);overflow-y:auto}.scene-editor-alerts .project-error{margin:0 0 4px}.scene-editor-alerts .project-error:last-child{margin-bottom:0}.material-editor.scene-unified-editor{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:calc((100vw - 16px) / var(--ui-zoom));height:calc((100dvh - 16px) / var(--ui-zoom));max-width:calc((100vw - 16px) / var(--ui-zoom));max-height:calc((100dvh - 16px) / var(--ui-zoom));padding:4px;border-radius:8px}.scene-history-page{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0}.scene-history-page-content{display:flex;flex-direction:column;flex:1 1;min-height:0}.scene-history-page-content>.project-heading{flex-shrink:0;flex-wrap:nowrap;gap:4px;margin:0;padding:0 0 4px;border-bottom:1px solid #bdc8d3}.scene-history-page-content>.project-heading h2{display:flex;flex:1 1;align-items:center;flex-wrap:nowrap;gap:4px;min-width:0;margin:0;font-size:.95rem;font-weight:400}.scene-history-heading-label{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.scene-history-heading-label a,.scene-history-heading-label i{color:var(--link-text-color)}.scene-history-heading-label a{text-decoration:none}.scene-history-heading-label a:hover{text-decoration:underline}.scene-history-page-content>.project-heading h2 select{box-sizing:border-box;flex:1 1 120px;max-width:440px;min-width:0;height:40px;padding:4px 8px;font:inherit}.scene-history-page-content>.project-heading .project-actions{flex-wrap:nowrap;gap:4px;margin-left:auto}.projects-page .scene-history-page-content>.project-heading .scene-tool-button{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 48px;width:48px;min-width:48px;height:48px;padding:3px 1px;gap:4px}.scene-history-scroll{display:block;flex:1 1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px;scrollbar-gutter:stable}.scene-history-page .join-video-options{justify-content:center;gap:4px}.scene-history-page .scene-output-choice.scene-output-card{flex-basis:calc(var(--ui-choice-size) + 10px);width:calc(var(--ui-choice-size) + 10px);padding:4px}.scene-unified-editor>.material-form{height:100%;max-height:100%;min-height:0}.scene-unified-editor .scene-edit-fixed{flex-shrink:0;padding:16px 16px 0}.scene-unified-editor .scene-edit-fixed>.project-heading{margin-bottom:4px;padding-bottom:4px;border-bottom:1px solid #bdc8d3}.scene-unified-editor .scene-edit-fixed>.project-heading>.project-actions{flex:1 1 auto;min-width:0;max-width:100%}.scene-unified-editor .scene-edit-fixed>.scene-edit-active-heading{margin-bottom:4px;padding-bottom:4px;border-bottom:1px solid #bdc8d3}.scene-unified-editor .dialog-scroll-body{display:block;position:relative;padding-right:16px;padding-left:16px}.scene-unified-editor .scene-shot-scroll-body{overflow:auto;overscroll-behavior-x:contain;padding-top:0}.scene-unified-editor .scene-shot-scroll-body .scene-edit-section{padding-top:0}.scene-unified-editor .scene-prompt-scroll-body{overflow:hidden}.scene-unified-editor .scene-prompt-scroll-body .scene-edit-section:not([hidden]){height:100%;padding:0;border:0}.scene-unified-editor #scene-main-prompt{display:block;box-sizing:border-box;height:100%;min-height:0;resize:none;overflow:auto}.scene-editor-shortcuts{display:flex;flex-wrap:wrap;gap:8px}.scene-unified-editor .scene-editor-shortcuts .scene-tool-button{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:48px;height:48px;padding:3px 1px;gap:4px}.scene-unified-editor .scene-edit-section{min-width:0;padding:16px 0;border-bottom:1px solid #ddd}.scene-unified-editor .scene-edit-section[hidden]{display:none}.scene-unified-editor .scene-edit-section:first-child{padding-top:0}.scene-unified-editor .scene-edit-section:last-child{border-bottom:0}.scene-edit-active-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;margin-bottom:12px}.scene-shot-future-note{margin:0 0 4px;max-height:20vh;overflow-y:auto;font-size:12px;line-height:1.4}.scene-edit-active-heading h3{margin:0;min-width:0;font-size:1.1rem;color:var(--accent-color)}.scene-edit-active-actions{display:flex;align-items:center;gap:12px;min-width:0;margin-left:auto}.scene-audio-preview-player{width:280px;max-width:100%;height:32px}.scene-edit-active-actions .scene-audio-modification-switch{margin-left:0;gap:8px;white-space:nowrap}.scene-edit-active-actions .scene-audio-modification-switch input:checked+.scene-publication-track{background:var(--primary-button-color)}.scene-edit-active-actions>button{flex-shrink:0}@media (max-width:750px){.scene-edit-active-heading{flex-wrap:wrap}.scene-edit-active-heading h3{font-size:1rem}.scene-edit-active-actions{width:100%;justify-content:flex-end}.scene-edit-active-actions>button{font-size:.875rem;padding:6px 10px}}.scene-edit-identity{display:flex;flex-wrap:wrap;gap:8px 16px}.scene-edit-identity>div{display:grid;grid-gap:4px;gap:4px;min-width:0}.scene-edit-identity>div:first-child{flex:1 1 120px;max-width:180px}.scene-edit-identity>div:nth-child(2){flex:3 1 320px}.scene-edit-identity>div:last-child{flex:2 1 260px}.scene-edit-identity input{box-sizing:border-box;min-width:0}.scene-music-settings{display:grid;grid-template-columns:minmax(80px,120px) minmax(0,200px);grid-gap:12px;gap:12px;align-items:end}.scene-music-settings>div{display:grid;grid-gap:8px;gap:8px;min-width:0}.scene-music-settings select{width:100%;min-width:0}.scene-music-gain{display:grid;grid-gap:6px;gap:6px;margin:14px 0}.scene-music-gain>div{display:flex;align-items:center;gap:12px;max-width:360px}.scene-music-gain input{flex:1 1;min-width:0;accent-color:var(--accent-color)}.scene-music-gain strong{min-width:48px;text-align:right;white-space:nowrap}.scene-unified-editor .scene-edit-section>input,.scene-unified-editor .scene-edit-section>textarea{width:100%}.scene-unified-editor .scene-edit-section>label{display:block;margin-bottom:8px}.scene-unified-editor .scene-edit-section>.scene-music-unused{display:flex}@media (max-width:750px){.scene-unified-editor .scene-edit-fixed{padding:8px 8px 0}.scene-edit-identity{column-gap:8px}}.scene-output-video{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center}.generated-media{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0}.generated-video-player{position:relative;width:100%;height:100%;min-width:0;min-height:0}.generated-video-surface{position:absolute;inset:0;overflow:hidden}.generated-video-seek{position:absolute;inset:0;z-index:1;display:none;align-items:center;justify-content:space-between;pointer-events:none}@media (hover:hover) and (pointer:fine){.generated-video-seek{display:flex}}.projects-page .generated-video-seek button{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;padding:3px;border:none;border-radius:50%;background:rgba(0,0,0,.183);color:#fff;pointer-events:auto}.projects-page .generated-video-seek button:not(:disabled):hover{background:#000b}.generated-video-seek svg{display:block;width:100%;height:100%;pointer-events:none}.job-video-preview{display:flex;align-items:center;justify-content:center;width:var(--ui-thumbnail-large);max-width:100%;height:var(--ui-thumbnail-large);overflow:hidden;border-radius:8px;background:#ddd}.join-scene-count{display:block;color:#666;font-size:.85rem;margin-top:0}.scene-card-summary .project-info{gap:4px}.scene-generation-capsule{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:132px;max-width:100%;height:16px;margin-top:-4px;overflow:hidden;border:1px solid #b49ac2;border-radius:999px;background:#f1eff7;color:#373044;font-size:10px;line-height:10px}.scene-generation-capsule-progress{position:absolute;inset:0;width:100%;border-radius:inherit;background-color:#eee7f3;background-image:repeating-linear-gradient(135deg,#b49ac2 0 5px,#e0d5e8 5px 10px);background-size:28px 28px;opacity:0}.scene-generation-capsule.is-active .scene-generation-capsule-progress{opacity:1;animation:scene-generation-stripes 1s linear infinite}.scene-generation-capsule.is-empty{visibility:hidden}.scene-generation-capsule-text{position:relative;z-index:1;padding:2px 6px;white-space:nowrap}@keyframes scene-generation-stripes{to{background-position:28px 0}}@media (prefers-reduced-motion:reduce){.scene-generation-capsule.is-active .scene-generation-capsule-progress{animation:none;opacity:.65}}.scene-card-actions{gap:8px}.scene-card-summary{display:flex;align-items:center;flex:1 0 max-content;gap:12px;min-width:50%;max-width:100%;overflow-x:auto;position:relative;z-index:1;pointer-events:none}.scene-history-open-overlay{position:absolute;inset:0;z-index:0;width:100%;height:100%;padding:0!important;border:0!important;border-radius:inherit!important;background:transparent!important;cursor:pointer}.scene-history-open-overlay:focus-visible{outline:2px solid var(--accent-color);outline-offset:3px}.scene-card-summary .project-open{white-space:nowrap}.scene-card-summary .join-scene-count{font-size:11px;white-space:nowrap}.scene-card-thumbnail{flex:0 0 var(--ui-thumbnail-scene-card-preview);width:var(--ui-thumbnail-scene-card-preview);height:var(--ui-thumbnail-scene-card-preview);border:1px solid #d8e0e7;border-radius:12px;overflow:hidden;background:#eee;display:flex;align-items:center;justify-content:center;box-sizing:border-box}.scene-card-thumbnail img{display:block;width:100%;height:100%;object-fit:cover}.scene-card-thumbnail span{color:#777;font:11px Tahoma,Arial,sans-serif}.scene-card-actions>.project-actions{min-width:0}.scene-list-history{position:relative;z-index:1;grid-column:1/-1;width:100%;min-width:0;color:#222;border-top:1px solid #d8e0e7;padding-top:16px}.scene-output-choices{grid-column:1/-1;min-width:0;--ui-choice-size:var(--ui-thumbnail-small)}.scene-output-choices-large{--ui-choice-size:var(--ui-thumbnail-large)}.scene-output-choices>.join-video-more{margin-top:12px}.scene-output-choice{display:flex;flex-direction:column;gap:8px;flex:0 0 var(--ui-choice-size);width:var(--ui-choice-size);max-width:100%}.scene-output-choice .join-video-option{width:100%;height:var(--ui-choice-size);flex-basis:auto}.scene-output-job{flex-direction:column;gap:12px;width:100%;height:100%;padding:32px 12px 20px;text-align:center}.scene-generation-progress,.scene-output-job{display:flex;align-items:center;justify-content:center}.scene-generation-progress{position:relative;box-sizing:border-box;width:50%;height:16px;margin-top:-8px;overflow:hidden;border:1px solid #4b197c;border-radius:999px;background-color:#85669c;background-image:repeating-linear-gradient(135deg,#85669c 0 5px,#967aad 5px 10px);background-size:28px 28px;animation:scene-generation-stripes 1s linear infinite;color:#fff;font:11px/1 Tahoma,Arial,sans-serif}@media (prefers-reduced-motion:reduce){.scene-generation-progress{animation:none}}.scene-generation-progress-fill{position:absolute;inset:0 auto 0 0;background:#4b197c}.scene-generation-progress-value{position:relative;z-index:1;white-space:nowrap;text-shadow:0 1px 2px #2a005a}.scene-output-job-error{max-height:6em;overflow:auto;overflow-wrap:anywhere;font-size:.85rem;color:#a51e1e}.generation-spinner{display:inline-block;width:30px;height:30px;flex-shrink:0;border:3px solid #cbd5e1;border-top:3px solid var(--accent-color);border-radius:50%;animation:generation-spin .9s linear infinite}@keyframes generation-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.generation-spinner{animation-duration:2.5s}}.join-video-options{display:flex;flex-wrap:wrap;gap:12px;grid-column:1/-1;min-width:0}.join-video-more{grid-column:1/-1}.join-video-option{position:relative;flex:0 0 var(--ui-thumbnail-small);width:var(--ui-thumbnail-small);height:var(--ui-thumbnail-small);box-sizing:border-box;overflow:hidden;border:1px solid #ddd;border-radius:8px;background:#f5f5f5}.scene-output-choice:has(.output-selection-check:checked) .join-video-option{border-color:var(--accent-color);box-shadow:inset 0 0 0 1px var(--accent-color)}.material-upload h2{margin-top:0}.material-upload input,.material-upload label{display:block;margin-bottom:12px;max-width:100%}.projects-page .image-thumbnail{display:flex;align-items:center;justify-content:center;flex:0 0 var(--ui-thumbnail-small);width:var(--ui-thumbnail-small);max-width:100%;height:var(--ui-thumbnail-small);padding:0;overflow:hidden;border:1px solid #ddd;border-radius:8px;background:#f5f5f5;cursor:zoom-in}.image-thumbnail img{display:block;width:100%;height:100%;object-fit:contain}.image-thumbnail span,.image-thumbnail-empty{font-size:.85rem;color:#666}.projects-page .image-thumbnail:disabled{opacity:1;cursor:default}.material-binary-item{display:flex;align-items:center;gap:12px;flex-wrap:wrap;max-width:100%}.audio-preview{width:300px;max-width:100%;min-width:0}.audio-preview audio{display:block;width:100%}.image-preview-overlay{position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:2000}.image-preview-overlay>.image-preview-dismiss{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-out}.image-preview-dismiss img{display:block;width:auto;height:auto;max-width:calc(80vw / var(--ui-zoom));max-height:calc(80vh / var(--ui-zoom));object-fit:contain}.image-preview-dismiss:focus-visible{outline:2px solid var(--accent-color);outline-offset:-4px}.material-history{padding:0;list-style:none}.material-history>li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #ddd;flex-wrap:wrap}.material-binary-error{flex:0 0 100%;min-width:0;margin:0;overflow-wrap:anywhere}.joined-history .material-history,.scene-job-history .material-history{display:grid;grid-gap:16px;gap:16px}.global-job-history-page .scene-job-history{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0}.global-job-history-page .job-history-scroll{flex:1 1 auto;min-height:0;padding:4px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.global-job-history-page .job-history-scope{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-job-history .job-history-count{margin-left:auto;white-space:nowrap}.global-job-history-page .scene-job-history .material-history{grid-template-columns:repeat(auto-fill,calc(var(--ui-thumbnail-large) + 10px));align-items:start;justify-content:center;gap:4px}.job-history-filter-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:12px 0 16px}.global-job-history-page .job-history-filter-row{flex:0 0 auto;flex-wrap:nowrap;gap:8px;margin:4px 0 0;padding:0 4px 4px;border-bottom:1px solid #bdc8d3}@media (max-width:750px){.global-job-history-page .project-toolbar>.project-breadcrumbs{flex:1 1 100%}.global-job-history-page .project-toolbar>.project-actions{flex:1 1 100%;justify-content:flex-end}.global-job-history-page .job-history-filter-row{flex-wrap:wrap}.global-job-history-page .job-history-published-filter{margin-left:auto}}.job-history-filter-row>.project-date{margin:0}.job-history-filter-row .job-history-published-filter{gap:8px;font-size:12px;white-space:nowrap}.expandable-history{scroll-margin-top:84px}.project-heading.join-actions{margin:16px 0 8px}.project-scenes>.expandable-history{margin-top:16px}.expand-icon{display:inline-block;width:18px;height:18px;margin-left:6px;vertical-align:-3px}.expandable-history>.project-heading,.expandable-history>.project-heading h2{margin:0}.expandable-history>.project-heading>.project-actions{flex:1 1 auto;min-width:0;max-width:100%}.expandable-history>.scene-list-history{margin-top:16px}.joined-history .material-history>li,.scene-job-history .material-history>li{flex-direction:column;align-items:stretch;justify-content:flex-start;padding:16px;border:1px solid #bcc8d4;border-radius:12px;background:#fafcfe}.job-history-layout{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;width:100%;min-width:0}.job-history-with-preview>.job-history-layout{grid-template-columns:minmax(0,var(--ui-thumbnail-large)) minmax(0,1fr);gap:16px}.job-history-with-preview .job-history-details{border-left:1px solid #d8e0e7;padding-left:16px}.global-job-history-page .scene-job-history .material-history>.job-history-with-preview{box-sizing:border-box;width:calc(var(--ui-thumbnail-large) + 10px);min-height:calc(var(--ui-thumbnail-large) + 120px);padding:4px;overflow:hidden}.global-job-history-page .job-history-with-preview>.job-history-layout{display:flex;flex-direction:column;align-items:stretch;gap:0}.global-job-history-page .job-history-previews{position:relative;display:flex;justify-content:center;width:100%;height:var(--ui-thumbnail-large);flex:0 0 var(--ui-thumbnail-large)}.global-job-history-page .job-history-previews .job-video-preview{flex:0 0 var(--ui-thumbnail-large)}.global-job-history-page .job-history-tile-actions{position:absolute;top:6px;right:6px;z-index:3;display:flex;gap:4px}.global-job-history-page .job-history-overlay-action{display:grid;place-items:center;box-sizing:border-box;width:30px;height:30px;padding:4px;border:1px solid #fff9;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;text-decoration:none}.global-job-history-page .job-history-overlay-action.primary{background:var(--primary-button-color)}.global-job-history-page .job-history-overlay-action.danger{background:#b22222}.global-job-history-page .job-history-overlay-action svg{width:18px;height:18px}.global-job-history-page .job-history-overlay-action i{font-size:14px}.global-job-history-page .job-history-overlay-action:disabled{opacity:.65;cursor:default}.scene-history-page .job-history-tile-actions{position:absolute;top:6px;right:6px;z-index:3;display:flex;gap:4px}.scene-history-page .job-history-overlay-action{display:grid;place-items:center;box-sizing:border-box;width:30px;height:30px;padding:4px;border:1px solid #fff9;border-radius:50%;background:rgba(0,0,0,.55);color:#fff}.scene-history-page .job-history-overlay-action.danger{background:#b22222}.scene-history-page .job-history-overlay-action i{font-size:14px}.scene-history-page .job-history-overlay-action:disabled{opacity:.65;cursor:default}.scene-jobs-theater{position:fixed;inset:0;box-sizing:border-box;width:calc(100vw / var(--ui-zoom));max-width:none;height:calc(100dvh / var(--ui-zoom));max-height:none;margin:0;padding:0;overflow:hidden;border:0;background:#111;color:#fff}.scene-jobs-theater::-webkit-backdrop{background:rgba(0,0,0,.8)}.scene-jobs-theater::backdrop{background:rgba(0,0,0,.8)}.scene-jobs-theater-feed{width:100%;height:100%;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:hsla(0,0%,100%,.3) transparent}.scene-jobs-theater-item{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%;min-height:100%;overflow:hidden;background:#111;scroll-snap-align:start;scroll-snap-stop:always}.scene-jobs-theater-item>.generated-media{width:100%;height:100%}.scene-jobs-theater-date{position:absolute;bottom:96px;left:24px;z-index:2;max-width:calc(100% - 120px);padding:4px 8px;border-radius:4px;background:#0008;color:#fff;font-size:12px;pointer-events:none}.scene-jobs-theater-navigation{position:absolute;right:24px;bottom:240px;z-index:3;display:flex;flex-direction:column;gap:32px}.projects-page .scene-jobs-theater-navigation button{display:grid;place-items:center;box-sizing:border-box;width:64px;height:64px;padding:14px;border:1px solid #fff8;border-radius:50%;background:#0009;color:#fff}.projects-page .scene-jobs-theater-navigation button:disabled{opacity:.35;cursor:default}.scene-jobs-theater-navigation svg{width:32px;height:32px}.projects-page .scene-jobs-theater-close{position:absolute;right:24px;bottom:112px;z-index:3;width:64px;height:64px;padding:0;border:1px solid #fff8;border-radius:50%;background:#0008;color:#fff;font-size:48px}.scene-jobs-theater-empty{display:grid;place-items:center;height:100%;margin:0;color:#fff}.global-job-history-page .job-history-details{width:100%;border:0;padding:0}.global-job-history-page .job-history-path{min-width:0;margin:8px 0 4px;gap:4px;flex-wrap:nowrap;overflow:hidden;font-size:11px;line-height:1.3;white-space:nowrap}.global-job-history-page .job-history-path>a{flex:0 1 auto;min-width:0;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-job-history-page .job-history-breadcrumb-icon{flex:0 0 auto;color:var(--link-text-color);font-size:12px}.global-job-history-page .job-history-time-meta{flex-direction:row;align-items:center;flex-wrap:wrap;gap:4px 8px;width:100%;margin-top:4px;overflow:visible;white-space:normal}.global-job-history-page .job-history-time-meta .scene-publication,.global-job-history-page .job-history-time-meta>.scene-output-meta-item{flex:0 1 auto;max-width:100%}.global-job-history-page .job-history-time-meta .scene-output-meta-item>span:last-child{min-width:0;white-space:normal;overflow-wrap:anywhere}.global-job-history-page .job-history-details>.project-error{margin-top:8px}.job-history-previews{display:grid;align-self:start;align-content:start;grid-gap:12px;gap:12px;min-width:0}.job-history-previews:empty{display:none}.job-history-details{min-width:0}.job-history-details>.project-heading{align-items:flex-start;flex-wrap:nowrap;gap:12px;margin-bottom:8px}@media (max-width:875px){.job-history-with-preview>.job-history-layout{grid-template-columns:minmax(0,1fr);gap:12px}.job-history-with-preview .job-history-details{border-left:0;padding-left:0;border-top:1px solid #d8e0e7;padding-top:12px}}.job-history-path{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px;min-width:0;overflow-wrap:anywhere;flex:1 1}.job-history-path a{color:var(--link-text-color);text-decoration:none}.job-history-path a:hover{text-decoration:underline}.job-history-path>span{color:#777}.job-history-status{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;gap:8px;flex-shrink:0;white-space:nowrap}.job-history-status .scene-tool-button{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 48px;width:48px;min-width:48px;height:48px;padding:3px 1px;gap:4px}.material-history .project-date,.material-history strong{display:block;overflow-wrap:anywhere}.project-toolbar{position:relative;z-index:1;background:#fff;display:flex;flex:0 0 auto;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 16px;min-width:0;min-height:56px;padding:4px 0 4px 4px;margin:0;border-bottom:1px solid #bdc8d3}.project-toolbar>.project-breadcrumbs{flex:1 1 240px;min-width:0;overflow:hidden}.project-toolbar>.project-actions{flex:0 1 auto;min-width:0;max-width:100%;flex-wrap:wrap;gap:4px}@media (max-width:750px){.project-workspace .project-toolbar>.project-breadcrumbs{flex:1 1 100%}.project-workspace .project-toolbar>.project-actions{flex:1 1 100%;min-width:0;width:100%;max-width:100%;flex-wrap:wrap;justify-content:flex-end}}.current-project-select{max-width:320px;min-width:160px;padding:7px 8px;border:1px solid #9aa4af;border-radius:5px;font:inherit;background:#fff}.project-toolbar .project-breadcrumbs ol{flex-wrap:nowrap}.project-breadcrumbs{margin:0;color:#555;font-size:.95rem}.projects-page .history-toolbar-title{font-size:calc(1em + 2pt);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-breadcrumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:8px 0;padding:0;margin:0;list-style:none}.project-breadcrumbs li{display:flex;align-items:center;min-width:0;max-width:100%}.project-breadcrumbs li+li:before{content:">";margin:0 10px;color:#777;flex-shrink:0}.project-breadcrumbs a{color:var(--link-text-color);text-decoration:none}.project-breadcrumbs a:hover{text-decoration:underline}.project-breadcrumb-name{font-weight:700;font-size:calc(1em + 2pt)}.project-breadcrumb-icon{flex-shrink:0;margin-right:6px;color:var(--link-text-color)}.project-breadcrumbs [aria-current],.project-breadcrumbs a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:280px}.material-choices,.project-list{display:grid;grid-gap:12px;gap:12px;list-style:none;padding:0;margin:20px 0}.material-choices a,.project-list>li{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:14px 18px;border:1px solid #bcc8d4;border-radius:8px;color:var(--link-text-color);background:#fafcfe;text-decoration:none}.material-choices a:hover,.project-list>li:hover{background:#eef4fb}.material-choices .project-date{flex-shrink:0}.project-setting-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.project-setting-choices>li{min-width:0}.project-setting-choices a{height:100%}.material-choices a span:first-child{overflow-wrap:anywhere;min-width:0}.material-choices a span:last-child{font-size:1.5rem}.projects-page a:focus-visible{outline:2px solid var(--accent-color);outline-offset:3px}@media (max-width:750px){.project-breadcrumbs li{display:none}.project-breadcrumbs li:nth-last-child(-n+2){display:flex;max-width:48%}.project-toolbar .project-breadcrumbs li:only-child{max-width:100%}.project-breadcrumbs li:nth-last-child(2):before{display:none}.project-breadcrumbs li:nth-last-child(2) a:before{content:"← "}.project-breadcrumbs [aria-current],.project-breadcrumbs a{max-width:100%}}.project-home .project-home-list>li>.project-actions .scene-tool-button,.project-home>.project-heading .scene-tool-button,.projects-page .project-toolbar .scene-tool-button,.projects-page .scene-card-actions .scene-tool-button,.projects-page .scene-heading-actions .scene-tool-button{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 48px;width:48px;min-width:48px;max-width:48px;height:48px;min-height:48px;max-height:48px;padding:3px 1px;gap:4px}.scene-tool-button>i{font-size:19px;line-height:1}.scene-tool-button>span{font-family:Tahoma,Arial,sans-serif;font-size:9px;font-weight:400;line-height:1;white-space:nowrap}.projects-page .project-toolbar .scene-tool-button.material-section-tool{flex:0 0 72px;width:72px;min-width:72px;max-width:72px}.projects-page .project-toolbar .scene-tool-button.material-section-tool>span{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center;line-height:1.1}.material-editor.project-material-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(840px,calc((100vw - 16px) / var(--ui-zoom)));height:auto;max-width:calc((100vw - 16px) / var(--ui-zoom));max-height:calc((100dvh - 16px) / var(--ui-zoom));padding:20px;border-radius:8px}.project-material-form{display:flex;flex-direction:column;max-height:calc((100dvh - 16px) / var(--ui-zoom) - 40px);min-height:0}.project-material-form>.project-heading{flex-shrink:0;flex-wrap:wrap;gap:12px;margin-bottom:16px}.project-material-form>.project-heading>.project-actions{flex:1 1 auto;min-width:0;max-width:100%}.project-material-form>.material-dialog-fixed-actions{display:flex;justify-content:flex-end;flex:0 0 auto;padding:0 0 8px 4px}.project-material-form>.material-dialog-fixed-actions:empty{display:none}.material-dialog-breadcrumbs{min-width:0;max-width:100%}.material-dialog-breadcrumbs h2{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.material-dialog-crumb{display:inline-flex;align-items:center;gap:8px;min-width:0;overflow-wrap:anywhere}.material-dialog-crumb>i{display:inline-flex;align-items:center;justify-content:center;font-size:calc(1em + 4px);line-height:1;flex-shrink:0}.material-dialog-crumb>a,.material-dialog-crumb>span{line-height:1.2}.material-dialog-crumb a{color:var(--link-text-color);text-decoration:none}.material-dialog-crumb a:hover{text-decoration:underline}.material-dialog-crumb a[aria-disabled=true]{color:gray;cursor:default}.material-dialog-crumb-separator{color:#777;font-weight:400}.project-material-form>.dialog-scroll-body{display:block;flex:1 1;min-height:0}.project-material-dialog .scene-tool-button{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 48px;width:48px;min-width:48px;max-width:48px;height:48px;padding:3px 1px;gap:4px}@media (max-width:750px){.material-editor.project-material-dialog{padding:12px}.project-material-form{max-height:calc((100dvh - 16px) / var(--ui-zoom) - 24px)}}.projects-page .scene-tool-button:disabled{opacity:1;color:gray;background:#f2f2f2;border-color:#b8b8b8}.project-home>.project-heading .scene-tool-button.all-history-button,.project-home>.project-heading .scene-tool-button.bulk-settings-button,.project-home>.project-heading .scene-tool-button.new-project-button{flex:0 0 72px;width:72px;min-width:72px;max-width:72px;height:48px;min-height:48px;max-height:48px;flex-direction:column;gap:4px;padding:3px 1px}.project-breadcrumb-label{flex-shrink:0;white-space:nowrap}.project-breadcrumbs .current-project-select{min-width:160px;flex-shrink:1}.scene-output-choice.scene-output-card{flex-basis:calc(var(--ui-choice-size) + 24px);width:calc(var(--ui-choice-size) + 24px);padding:11px;border:1px solid #bcc8d4;border-radius:12px;background:#fafcfe}.scene-output-card:has(.output-selection-tools .primary){border-color:var(--accent-color);box-shadow:inset 0 0 0 2px var(--accent-color)}.scene-output-card .output-selection-tools{display:block}.scene-output-card .clip-range-compact.clip-range-disabled{opacity:1}.scene-output-card .clip-range-actions{justify-content:center;gap:6px;margin-bottom:6px}.projects-page .scene-output-card .binary-tool-button{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 32px;width:32px;min-width:32px;height:32px;padding:2px 0;gap:3px;border-radius:6px}.binary-tool-button>i{font-size:13px}.binary-tool-button>span{font-size:6.5px}.scene-list-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:0 0 4px 4px;border-bottom:1px solid #bdc8d3;background:#fff}.scene-list-heading,.scene-list-heading>h2{flex-shrink:0;margin:0}.scene-heading-actions{margin-left:auto;flex-wrap:nowrap;gap:4px}.project-toolbar .back-tool-button:not(:first-child){margin-left:8px}.scene-output-card .scene-output-meta{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:6px;font-size:10px;line-height:1.5;white-space:nowrap;overflow-x:auto}.scene-history-page .scene-output-card .scene-output-meta{white-space:normal;overflow-x:visible}.scene-history-page .scene-output-meta-row{width:100%;min-width:0;flex-wrap:wrap}.scene-history-page .scene-output-meta-row .scene-publication{flex:0 0 100%;margin-left:0}.scene-output-meta-item{display:inline-flex;align-items:center;gap:3px;flex-shrink:0}.scene-output-meta-label{display:inline-block;padding:0 4px;border:1px solid var(--primary-button-color);border-radius:999px;background:var(--primary-button-color);color:#fff;font-size:9px;height:16px;line-height:14px;box-sizing:border-box}.scene-output-meta-label.nsfw-score-label{border-color:#ff1493;background:#ff1493}.job-history-time-meta{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:8px;font-size:10px;line-height:1.5}.job-history-time-meta .scene-output-meta-item>span:not(.scene-output-meta-label){display:inline-flex;align-items:center;min-height:16px;line-height:16px}.job-history-time-meta .scene-output-meta-item{gap:7px}.job-history-time-meta .scene-publication{margin-left:0}.scene-output-meta-row{display:flex;align-items:center;gap:6px}.scene-list-history .scene-output-choices>.join-video-options{justify-content:center}.scene-list-scroll>.project-list{gap:0;margin:0}.project-list>.scene-card-group{display:block;min-width:0;padding:2px 0;border:0;background:transparent}.project-list>.scene-card-group:hover{background:transparent}.scene-card-container{position:relative;padding-bottom:5px}.scene-card-group:last-child .scene-card-container{padding-bottom:0}.scene-card-divider{position:absolute;right:0;bottom:0;left:0;height:1px;background:#bcc8d4;pointer-events:none}.scene-card-group>.scene-card-container>.scene-list-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center;grid-gap:4px;gap:4px;min-height:0;padding:0;border:0;border-radius:0;background:transparent}.scene-card-group>.scene-card-container>.scene-list-row:hover{background:transparent}.scene-card-group>.scene-card-container>.scene-list-row:hover .scene-card-summary .project-open{text-decoration:underline}.scene-card-group .scene-card-info-card{box-sizing:border-box;width:100%;min-width:0;max-width:none;gap:4px;padding:4px;overflow:hidden;border:1px solid #c8d1db;border-radius:10px;background:#fafcfe}.scene-card-info-card>.project-info{flex:1 1 auto;min-width:0;overflow:hidden}.scene-card-info-card .project-open{overflow:hidden;text-overflow:ellipsis}.scene-card-actions{display:flex;flex:0 0 auto;flex-direction:column;gap:4px;min-width:0;max-width:100%;margin-left:auto}.scene-card-actions>.scene-card-action-row{flex-wrap:nowrap;justify-content:flex-end;gap:4px}.scene-card-group>.scene-list-history{margin-top:12px;padding:14px 18px;border:1px solid #bcc8d4;border-radius:8px;background:#fafcfe}@media (max-width:750px){.scene-card-group>.scene-card-container>.scene-list-row{grid-template-columns:minmax(0,1fr)}.scene-card-group .scene-card-info-card{grid-column:1}.scene-card-group .scene-card-actions{grid-column:1;justify-self:end}}.scene-publication{position:relative;display:inline-flex;align-items:center;gap:4px;margin-left:4px;cursor:pointer}.scene-publication input{position:absolute;right:0;top:50%;transform:translateY(-50%);width:40px;height:16px;margin:0;opacity:0}.scene-publication-track{position:relative;display:inline-block;width:40px;height:16px;border-radius:999px;pointer-events:none;background:#000;color:#fff;transition:background .15s}.scene-publication-track:after{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#fff;transition:transform .15s}.scene-publication-state{position:absolute;right:5px;top:0;font:8px/16px Tahoma,Arial,sans-serif}.scene-publication input:checked+.scene-publication-track{background:#b22222}.scene-publication input:checked+.scene-publication-track:after{transform:translateX(24px)}.scene-publication input:checked+.scene-publication-track .scene-publication-state{left:5px;right:auto}.scene-publication input:disabled+.scene-publication-track{opacity:.55;cursor:default}.scene-publication input:focus-visible+.scene-publication-track{outline:2px solid var(--accent-color);outline-offset:2px}