.compute-controls{border:1px solid var(--border);background:var(--surface);border-radius:12px;min-width:0;margin:0 0 8px;padding:10px 12px}.compute-top,.compute-actions,.compute-buttons{align-items:center;gap:8px;min-width:0;display:flex}.compute-controls button{border:1px solid var(--border);background:var(--surface-soft);min-height:34px;color:var(--text);border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:6px 10px;font-size:12px;display:inline-flex}.compute-controls .compute-target{background:0 0;border:0;flex:1;justify-content:flex-start;min-width:0;padding:0}.compute-target strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.compute-target svg{flex:none}.compute-target svg:last-child{color:var(--muted);margin-left:auto}.compute-controls .compute-config{width:32px;color:var(--muted);background:0 0;border:0;flex:none;padding:5px}.compute-status{color:var(--muted);white-space:nowrap;font-size:11px}.compute-meta{flex-direction:column;align-items:flex-end;gap:1px;display:flex}.compute-controls-compact{margin-bottom:2px;padding:5px 8px}.compute-controls-compact .compute-meta .compute-price{margin:0;font-size:10px}.compute-controls-compact .compute-actions{gap:6px;margin-top:2px}.compute-controls-compact .compute-stop-after{white-space:nowrap;min-height:34px;margin:0 auto 0 0}.compute-controls-compact .compute-actions button{flex:none;gap:4px;padding-inline:8px}.compute-online{color:var(--success,#83be98)!important}.compute-actions{margin-top:4px}.compute-price{color:var(--muted);white-space:nowrap;margin-right:auto;font-size:11px}.compute-controls .compute-start{color:var(--accent);background:var(--accent-bg)}.compute-emergency,.compute-controls .compute-emergency{color:#e5a0a4;background:#8b303010;border:1px solid #a9696c;border-radius:8px;padding:6px 10px}.compute-stop-after{color:var(--muted);cursor:pointer;align-items:center;gap:7px;width:fit-content;min-height:30px;margin-top:2px;font-size:11px;display:flex}.compute-stop-after input[type=checkbox]{appearance:none;border:1px solid var(--muted);background:var(--surface-soft);width:26px;height:16px;min-height:0;cursor:inherit;border-radius:999px;flex:none;margin:0;padding:0;position:relative}.compute-stop-after input:before{content:"";background:var(--muted);border-radius:50%;width:10px;height:10px;position:absolute;top:2px;left:2px}.compute-stop-after input:checked{background:var(--accent);border-color:var(--accent)}.compute-stop-after input:checked:before{background:var(--surface);left:12px}.compute-stop-after:has(input:checked){color:var(--accent)}.compute-stop-after:has(input:disabled){opacity:.5;cursor:default}.compute-controls p{overflow-wrap:anywhere;margin:5px 0 0;font-size:11px;line-height:1.4}.compute-settings{gap:10px;min-width:0;font-size:12px;display:grid}.modal:has(>.compute-settings){width:min(440px,100vw - 24px);padding:18px}.modal:has(>.compute-settings) .modal-heading{margin-bottom:14px}.compute-settings p,.compute-settings small{color:var(--muted);margin:0;font-size:11px;line-height:1.45}.compute-shutdown{grid-template-columns:1fr 1fr;gap:12px;display:grid}.compute-connection-check{align-items:center;gap:10px;display:flex}.compute-connection-check button{flex:none}.compute-shutdown>div{align-content:start;gap:5px;display:grid}.compute-shutdown button{width:100%}.compute-settings-link{color:var(--text);justify-content:space-between;align-items:center;padding-block:4px;display:flex}.compute-settings summary{cursor:pointer;color:var(--muted)}.push-settings{border-block:1px solid var(--border);gap:6px;padding-block:10px;display:grid}.push-settings-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 8px;display:flex}.push-settings-heading>span{color:var(--muted);font-size:10px}.compute-confirm-buttons{flex-wrap:wrap;margin-top:16px}.compute-gpu-picker{gap:14px;min-width:0;display:grid}.compute-gpu-picker p{font-size:13px;line-height:1.5}.compute-gpu-picker .compute-quote-price{color:var(--accent);font-size:20px;font-weight:650}.compute-gpu-picker .compute-pods{max-height:42vh;overflow-y:auto}.compute-gpu-picker .compute-buttons{flex-wrap:wrap;margin-top:0}.compute-provision{border:1px solid var(--accent);border-radius:9px;padding:12px}.compute-settings form{gap:10px;margin-top:12px;display:grid}.compute-settings input{width:100%;min-width:0}.compute-settings label,.compute-pods{gap:6px;display:grid}.compute-pod-tools{margin:0 0 12px}.compute-pod-tools .compute-portal{margin-left:auto}.compute-portal{width:34px;min-height:34px;color:var(--muted);flex:none;justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.compute-pod-row .compute-unavailable{color:var(--danger)}.compute-pod-row,.compute-controls .compute-pod-row{text-align:left;border:1px solid var(--border);background:var(--surface-soft);width:100%;min-width:0;color:var(--text);border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.compute-pod-row[aria-pressed=true]{border-color:var(--accent)!important;background:var(--accent-bg)!important}.compute-pod-row>span:first-child{flex:1;min-width:0}.compute-pod-row strong{font-size:13px;display:block}.compute-pod-row small{color:var(--muted);overflow-wrap:anywhere;font-size:11px;display:block}.compute-pod-meta{text-align:right;flex:none;padding-right:18px;position:relative}.compute-pod-meta svg{color:var(--accent);position:absolute;top:9px;right:-2px}.compute-add{color:var(--muted);align-items:center;gap:5px;margin-top:14px;font-size:12px;display:inline-flex}.compute-activity{min-width:0;color:var(--success,#83be98);white-space:nowrap;align-items:center;gap:5px;padding:0;font-size:10px;display:inline-flex}.compute-activity>span:last-child{text-overflow:ellipsis;overflow:hidden}.remote-status>.remote-connection{flex:none}.remote-status>.compute-activity{margin-right:auto}.remote-status>.remote-logout{flex:none}@media (width<=600px){.compute-settings input{font-size:16px}.remote-status{gap:8px}.remote-status:has(.compute-activity) .remote-logout{font-size:0}.remote-status:has(.compute-activity) .remote-logout svg{width:14px;height:14px}}.archive-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:15px;display:grid}.archive-grid video{border-radius:10px;width:100%;max-height:260px}.archive-grid article{padding:14px}.archive-grid h3{font-size:14px}.archive-grid p{opacity:.8;font-size:12px}.archive-empty{opacity:.7;padding:20px}.image-queue{margin:1rem 0;padding:1rem}.image-queue-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:1rem;padding:.6rem 0;display:flex}.image-queue-row>div{overflow-wrap:anywhere;min-width:0}.image-queue-row p{opacity:.75;font-size:.8rem}.auto-studio-page{width:100%;min-width:0;max-width:1056px;margin:auto}.auto-studio-page[hidden],.auto-connection-options[hidden]{display:none}.auto-connection{border:1px solid var(--border);background:var(--surface);border-radius:11px;margin-bottom:14px;padding:7px 10px;font-size:12px}.auto-connection-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.auto-connection-row>label{flex:none;align-items:center;gap:7px;margin-right:5px;font-size:12px;font-weight:600;display:flex}.auto-connection-row>label>svg{color:var(--muted)}.auto-connection-dot{background:var(--muted);border-radius:50%;width:5px;height:5px}.auto-connection-dot.is-ready{background:var(--success)}.auto-connection-row>#auto-target{background-color:var(--surface-soft);border-color:var(--border);flex:1;width:auto;min-width:150px;max-width:260px;height:30px;min-height:30px;padding:3px 28px 3px 9px;font-size:12px}.auto-connection-row .icon-button{width:28px;min-width:28px;height:30px;min-height:30px;color:var(--muted);border:0;flex:none;padding:6px}.auto-connection-row .icon-button:hover{color:var(--accent);background:var(--accent-bg)}.auto-from-video{border:0;border-left:1px solid var(--border);color:var(--muted);white-space:nowrap;cursor:pointer;background:0 0;border-radius:0;align-items:center;gap:6px;min-height:28px;margin-left:4px;padding:4px 10px;font-size:11px;display:inline-flex}.auto-from-video:hover{color:var(--text)}.auto-from-video:disabled{opacity:.45;cursor:default}.auto-connection-options{border-top:1px solid var(--border);margin-top:7px;padding:10px 0 3px}.auto-connection-detail{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:0 0 10px;font-size:11px;display:flex}.auto-connection-detail label{align-items:center;gap:6px;width:auto;display:flex}.auto-connection-detail span{overflow-wrap:anywhere}.auto-connection-detail input[type=checkbox]{accent-color:var(--accent);flex:none;width:14px;min-width:14px;height:14px;min-height:14px;margin:0;padding:0}.auto-connection details summary{cursor:pointer;color:var(--muted);align-items:center;gap:5px;font-size:11px;display:flex}.auto-connection details form{margin-top:10px}.auto-connection-row input{flex:1;min-width:140px;font-size:12px}.auto-connection-row input[type=url]{flex:2}.auto-connection p{color:var(--muted);margin:8px 0 0;font-size:11px}.auto-connection p.auto-error{color:var(--danger)}.auto-studio-page .render-intake-grid>.companion-card{padding:8px 10px}.auto-studio-page .render-response-import textarea{border-radius:8px;font-size:12px;line-height:1.55}.auto-studio-frame{background:var(--bg);border:0;width:100%;min-height:480px;display:block}@media (width<=600px){.auto-connection-row>label{gap:5px;margin-right:0}.auto-connection-row>select{min-width:110px;max-width:none}.auto-from-video{border-left:0;order:-1;width:auto;min-width:0;margin:0 auto 0 0;padding:4px 2px}.auto-connection-row .auto-connection-settings{margin-left:0}}.auto-image-preview{object-fit:contain;width:100%;max-width:100%;max-height:78vh;display:block}.modal:has(.auto-image-preview){width:min(960px,94vw)}.auto-output-origin{color:var(--muted);margin-top:4px;font-size:10px;display:block}.auto-output-info{gap:10px;margin-top:16px;display:grid}.auto-studio-queue{margin:6px 0 24px}.auto-studio-queue>h2{align-items:center;gap:8px;margin:0 0 10px;font-size:14px;display:flex}.auto-studio-live-list{gap:10px;display:grid}.auto-studio-live{background:linear-gradient(115deg, var(--surface), var(--surface-soft));border:1px solid #494154;border-radius:13px;padding:11px 13px}.auto-studio-live-top,.auto-studio-live-detail,.auto-studio-live-footer{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.auto-studio-live-state{align-items:center;gap:6px;font-size:12px;font-weight:650;display:inline-flex}.auto-studio-live-state:before{content:"";background:var(--accent);width:6px;height:6px;box-shadow:0 0 0 3px var(--accent-bg);border-radius:50%}.auto-studio-live[data-state=error] .auto-studio-live-state:before{background:var(--danger)}.auto-studio-live-title{min-width:100px;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;flex:1;padding:0;font-size:11px}.auto-studio-live-title:hover{color:var(--text)}.auto-studio-live-quality{color:var(--accent);background:var(--accent-bg);border-radius:5px;padding:2px 6px;font-size:9px}.auto-studio-live-actions{flex:none;align-items:center;gap:4px;margin-left:auto;display:flex}.auto-studio-live-actions .icon-button{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;justify-content:center;align-items:center;width:28px;min-width:28px;height:28px;padding:0;display:inline-flex}.auto-studio-live-actions .icon-button:disabled{opacity:.4;cursor:default}.auto-studio-live-detail{color:var(--muted);justify-content:space-between;margin-top:9px;font-size:10px}.auto-studio-live-eta{color:var(--muted);margin-top:5px;font-size:11px}.auto-studio-live-detail strong{font-variant-numeric:tabular-nums;color:var(--accent);font-size:12px;font-weight:650}.auto-studio-live progress{appearance:none;background:var(--border);border:0;border-radius:5px;width:100%;height:4px;margin:5px 0 8px;display:block;overflow:hidden}.auto-studio-live progress::-webkit-progress-bar{background:var(--border)}.auto-studio-live progress::-webkit-progress-value{background:var(--accent);border-radius:5px;transition:width .25s}.auto-studio-live progress::-moz-progress-bar{background:var(--accent);border-radius:5px}.auto-studio-live progress:indeterminate{background:linear-gradient(90deg, var(--border), var(--accent-bg), var(--border));background-size:200% 100%;animation:2s infinite auto-progress-wait}.auto-studio-live-footer{color:var(--muted);gap:10px;font-size:10px}.auto-studio-live-scenes{gap:4px;display:flex}.auto-studio-live-scenes span{border:1px solid var(--border);border-radius:6px;align-items:center;min-height:24px;padding:2px 8px;font-size:10px;display:inline-flex}.auto-studio-live-scenes .done{color:#a9c6b0;background:#82ac9210;border-color:#82ac9228}.auto-studio-live-scenes .active{color:var(--accent);background:var(--accent-bg);border-color:#766395}.auto-studio-live-target{margin-left:auto}@keyframes auto-progress-wait{to{background-position:200% 0}}@media (prefers-reduced-motion:reduce){.auto-studio-live progress{transition:none!important;animation:none!important}}@media (width<=600px){.auto-studio-live-quality,.auto-studio-live-target{display:none}.auto-studio-live-title{flex-basis:100%;order:1}}.modal:has(.auto-enhance-fields){max-width:520px;max-height:calc(100dvh - 32px);padding:18px;overflow-y:auto}.modal:has(.auto-enhance-fields) .modal-heading{margin-bottom:8px}.modal:has(.auto-enhance-fields)>p:first-of-type{color:var(--muted);margin:0 0 14px;font-size:12px}.auto-enhance-fields{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;display:grid}.auto-enhance-fields .companion-field{gap:4px;min-width:0;margin:0}.auto-enhance-fields .comfy-model-field{grid-column:1/-1}.auto-enhance-fields select,.auto-enhance-fields input[type=number]{height:36px;min-height:36px;padding:6px 9px;font-size:12px}.auto-enhance-fields input[type=range]{height:20px;margin:3px 0}.auto-enhance-fields small{color:var(--muted);font-size:10px}.modal:has(.auto-enhance-fields)>.primary-button{margin-top:14px}@media (width<=420px){.auto-enhance-fields{grid-template-columns:1fr}}.auto-studio-live-scenes{flex-wrap:wrap;align-items:center}.auto-studio-live-scenes .auto-queue-scene{cursor:pointer;border:1px solid #82ac9228;border-radius:8px;align-items:center;gap:7px;padding:4px 8px 4px 4px;display:inline-flex}.auto-studio-live-scenes .auto-queue-scene:hover{border-color:var(--accent);background:var(--accent-bg)}.auto-studio-live-scenes .auto-queue-scene>span{border:0;min-height:0;padding:0}.auto-studio-live-scenes .auto-queue-scene-thumb{background:var(--surface-soft);border-radius:5px;width:44px;height:50px;position:relative;overflow:hidden}.auto-queue-scene-thumb video{object-fit:cover;pointer-events:none;width:100%;height:100%;display:block}.auto-queue-scene-thumb svg{color:#fff;filter:drop-shadow(0 1px 3px #000);pointer-events:none;margin:auto;position:absolute;inset:0}.auto-queue-player{background:#09090b;border-radius:8px;width:100%;max-height:76vh;display:block}.modal:has(.auto-queue-player){width:min(880px,94vw);max-width:880px;padding:16px}.modal:has(.auto-queue-player) .modal-heading{margin-bottom:12px}.auto-connection{background:0 0;border:0;margin-bottom:6px;padding:0 2px}.auto-connection-row>[hidden]{display:none!important}.auto-connection-row .auto-from-video{border-left:0;order:-1;min-height:32px;margin-left:0;margin-right:auto;padding-left:0;font-size:12px}.auto-connection-row .auto-connection-settings{margin-left:0}.auto-connection-options{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:10px}.auto-connection-actions{flex:none;align-items:center;gap:6px;margin-left:auto;display:flex}.auto-connection-row .auto-from-video{white-space:normal;text-align:left;min-width:0}.auto-from-video>svg{flex:none}@media (width<=800px){.auto-studio-page input:not([type=checkbox]):not([type=range]),.auto-studio-page select,.auto-studio-page textarea{font-size:16px}.auto-connection-row{flex-wrap:nowrap}.auto-connection-row:has(>#auto-target:not([hidden])){flex-wrap:wrap}.auto-connection-options .auto-connection-row{flex-wrap:wrap}.auto-connection-row input,.auto-studio-frame{min-width:0;max-width:100%}}.render-desk section.comfy-panel{border-color:var(--accent-border);background:linear-gradient(135deg, var(--accent-bg), var(--surface) 44%);gap:8px;padding:14px;display:grid}.comfy-panel .comfy-heading{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.comfy-panel .comfy-heading h2{margin:0;font-size:14px;font-weight:650}.comfy-connection{color:var(--text-muted,#92929c);align-items:center;gap:6px;margin-left:auto;font-size:11px;display:inline-flex}.comfy-connection i{background:#74747d;border-radius:50%;width:5px;height:5px}.comfy-connection.is-online i{background:#75bb99}.comfy-panel .icon-button{justify-content:center;align-items:center;width:28px;min-width:28px;height:28px;padding:5px;display:inline-flex}.comfy-presets{gap:4px;display:flex}.comfy-presets .render-preset-button{text-align:center;min-width:0;min-height:28px;padding:3px 8px;font-size:11px}.comfy-setup-summary{color:var(--muted);flex-wrap:wrap;gap:3px 0;font-size:11px;line-height:1.5;display:flex}.comfy-setup-summary>span+span:before{content:"·";opacity:.6;margin:0 6px}.comfy-shot-controls{gap:8px;display:grid}.comfy-shot-controls[hidden]{display:none}@media (width<=600px){.comfy-heading .comfy-presets{flex-basis:100%;order:1}}.comfy-options{border-top:1px solid var(--border,#81818f26)}.comfy-options summary{cursor:pointer;align-items:center;gap:8px;min-height:30px;font-size:12px;list-style:none;display:flex}.comfy-options summary::-webkit-details-marker{display:none}.comfy-options summary>span{flex:1}.comfy-options summary small{color:var(--text-muted,#92929c);font-size:11px}.comfy-options summary>svg:last-child{opacity:.65;transition:transform .15s}.comfy-options[open] summary>svg:last-child{transform:rotate(180deg)}.comfy-panel .comfy-fields{grid-template-columns:minmax(0,1fr);gap:8px 12px;padding:2px 0 6px;display:grid}.comfy-panel .comfy-fields label{gap:4px;width:auto;min-width:0;margin:0;display:grid}.comfy-panel .comfy-fields select:not([multiple]):not([size]){width:100%;min-width:0;min-height:32px;padding:6px 30px 6px 8px;font-size:12px}.comfy-panel .comfy-fields label>span{color:var(--text-muted,#92929c);font-size:11px}.comfy-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;display:flex}.comfy-footer .comfy-main-actions{margin-left:auto}.comfy-panel .comfy-metrics{font-variant-numeric:tabular-nums;color:var(--text-muted,#92929c);flex-wrap:wrap;align-items:center;gap:8px 14px;padding:3px 0;font-size:10px;display:flex}.comfy-metrics b{color:var(--text,#d5d5de);font-weight:500}.comfy-metrics small{font-size:10px}.comfy-metrics .icon-button{margin-left:auto}.comfy-panel .comfy-actions{align-items:center;gap:8px;display:flex}.comfy-panel .comfy-main-actions>button{justify-content:center;align-items:center;gap:7px;min-width:0;min-height:34px;padding:6px 12px;font-size:12px;display:flex}.comfy-panel .comfy-main-actions>.primary-button{flex:none;width:auto;margin-left:auto}.comfy-panel .comfy-main-actions{flex-wrap:wrap;justify-content:space-between}.comfy-estimate{color:var(--text-muted,#92929c);cursor:help;align-items:center;gap:6px;font-size:11px;display:inline-flex}.comfy-audio-list{padding-bottom:6px}.comfy-audio-row{flex-wrap:wrap;align-items:center;gap:8px;padding:7px 0;font-size:12px;display:flex}.comfy-audio-row>span{flex:1;min-width:50px}.comfy-upload{cursor:pointer;max-width:70%;color:var(--text-muted,#a9a7bb);align-items:center;gap:6px;display:flex;position:relative}.comfy-upload span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.comfy-upload input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.comfy-upload:focus-within{outline-offset:4px;outline:2px solid #ab94e8}.comfy-audio-row audio{width:100%;height:32px}.comfy-job-row{align-items:center;gap:8px;padding:7px 0;font-size:12px;display:flex}.comfy-job-row>span,.comfy-job-row>strong{flex:1}.comfy-running-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;min-width:0;display:grid}.comfy-running{border:1px solid var(--border);background:var(--surface);border-radius:12px;flex-direction:column;gap:6px;min-width:0;padding:8px;display:flex}.comfy-running>div{justify-content:space-between;align-items:center;gap:5px;min-width:0;font-size:12px;display:flex}.comfy-running strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.comfy-running .icon-button{flex:none}.comfy-running progress{width:100%;height:4px;accent-color:var(--accent);margin:auto 0 0;display:block}.comfy-queue{gap:12px;display:grid}.comfy-queue-notices{gap:8px;margin-top:4px;display:grid}.comfy-queue-notices h2{color:var(--muted);margin:0;font-size:11px;font-weight:500}.comfy-queue-notice{border:1px solid color-mix(in srgb, var(--danger) 25%, var(--border));background:color-mix(in srgb, var(--danger) 4%, var(--surface));border-radius:12px;align-items:flex-start;gap:10px;padding:12px;display:flex}.comfy-queue-notice-icon{color:var(--danger);flex:none;margin-top:2px}.comfy-queue-notice-content{overflow-wrap:anywhere;flex:1;gap:3px;min-width:0;font-size:12px;line-height:1.5;display:grid}.comfy-queue-notice-content strong{color:var(--text);font-weight:600}.comfy-queue-notice-content time,.comfy-queue-notice-content small{color:var(--muted);font-size:11px}.comfy-queue-notice-content p{color:var(--text);margin:3px 0 0}.comfy-queue-notice>.icon-button{flex:none;width:28px;min-width:28px;height:28px;padding:6px}.comfy-queue .comfy-running .icon-button{width:28px;min-width:28px;height:28px;padding:5px}@media (width<=900px){.comfy-running-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=650px){.comfy-running-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=370px){.comfy-running-grid{grid-template-columns:minmax(0,1fr)}}.comfy-running small,.comfy-result small,.comfy-storyboard small{color:var(--text-muted,#92929c);font-size:11px}.comfy-panel progress{width:100%;height:4px;margin-top:7px;display:block}.comfy-panel video,.comfy-storyboard img{border-radius:8px;max-width:100%;max-height:320px;margin:8px auto;display:block}.comfy-notice{color:var(--text-muted,#92929c);margin:0;font-size:11px}.comfy-result{padding-bottom:12px}.render-engine-switch{align-items:center;gap:5px;display:flex}.render-engine-switch .render-preset-button{padding:6px 12px;font-size:11px}.render-scene-grid.comfy-scene-grid{grid-template-columns:112px minmax(0,1fr);gap:16px}.comfy-shot-fields{gap:12px;min-width:0;display:grid}.comfy-shot-fields .companion-field{gap:5px;margin:0}.comfy-shot-fields textarea{min-height:64px;font-size:14px;line-height:1.5}.comfy-shot-selects{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;display:grid}.comfy-shot-selects select{min-width:0;padding:8px 10px;font-size:13px}.comfy-shot-advanced{margin-top:14px}.comfy-shot-advanced>.companion-field{margin-top:12px}.comfy-shot-advanced>summary{justify-content:space-between}@media (width<=560px){.render-scene-grid.comfy-scene-grid{grid-template-columns:1fr}.comfy-scene-grid .render-image{max-width:140px}}.comfy-results h3{margin:8px 0 12px;font-size:13px}.comfy-memory{cursor:help;display:inline-flex}.comfy-live-preview{aspect-ratio:1;object-fit:contain;background:var(--bg);border-radius:8px;width:100%;max-width:100%;max-height:220px;margin:0;display:block}.comfy-panel .comfy-advanced .comfy-fields{border:0;grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.comfy-model-field{grid-column:1/-1}.comfy-advanced input[type=number]{width:100%;min-width:0;padding:7px;font-size:12px}.comfy-advanced input[type=range]{width:100%;accent-color:var(--accent);margin:8px 0}.comfy-advanced input:disabled{opacity:.45}.comfy-shot-settings{border:0;margin:0;padding:0}.comfy-custom-size{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:10px;display:grid}.comfy-custom-size small{color:var(--text-muted);grid-column:1/-1;font-size:11px}.comfy-shot-settings small{color:var(--text-muted);font-size:11px}.comfy-panel .comfy-shot-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.comfy-shot-settings input[type=range]{width:100%;accent-color:var(--accent)}.comfy-custom-size input{width:100%;min-width:0;padding:7px;font-size:12px}.render-enhance-dialog .comfy-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.render-enhance-dialog .comfy-fields select{min-width:0;font-size:13px}@media (width>=1100px){.comfy-panel .comfy-shot-settings{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=340px){.comfy-panel .comfy-shot-settings{grid-template-columns:minmax(0,1fr)}}.comfy-job-settings{overflow-wrap:anywhere;line-height:1.5;display:block}.comfy-saved-scene{border-top:1px solid var(--border);padding:8px 0}.comfy-saved-scene>summary{cursor:pointer;font-size:13px}.render-info-dialog .comfy-output-settings .render-output-settings-list>div{grid-template-columns:minmax(0,110px) minmax(0,1fr)}.comfy-output-settings dt{overflow-wrap:anywhere}@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-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--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-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}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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;--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,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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:where(:not(iframe)){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{.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}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.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}}.block{display:block}.contents{display:contents}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-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,)}.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))}}:root{touch-action:manipulation;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#111114;--surface:#19191e;--surface-soft:#151519;--raised:#222228;--hover:#2b2933;--border:#2c2b33;--border-soft:#232329;--text:#eeedf3;--muted:#9996a4;--faint:#918b9c;--accent:#b6a0fb;--accent-strong:#a991f2;--accent-bg:#30283f;--accent-border:#665183;--success:#94c4a8;--danger:#f39b9b;--shadow:0 10px 40px #00000015;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f6f5f8;--surface:#fff;--surface-soft:#faf9fc;--raised:#f0eef5;--hover:#e9e6f0;--border:#dedbe6;--border-soft:#eae7ef;--text:#282332;--muted:#6e677c;--faint:#71697f;--accent:#7250b6;--accent-strong:#7854c6;--accent-bg:#eee7fa;--accent-border:#b9a0e1;--success:#307552;--danger:#b63b49;--shadow:0 8px 35px #30204408}*{box-sizing:border-box}body{background:var(--bg);min-width:320px;margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.4;cursor:not-allowed}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{background:0 0;border:0}button,select,input,textarea{transition:background .15s,border-color .15s,color .15s,box-shadow .15s}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}::selection{background:var(--accent-bg);color:var(--text)}h1,h2,h3,p{margin:0}button svg,span>svg{flex-shrink:0}svg{vertical-align:middle}button{justify-content:center;align-items:center;gap:7px;display:inline-flex}small{font-size:11px}.app-header{border-bottom:1px solid var(--border-soft);background:var(--bg);z-index:20;height:76px;position:sticky;top:0}.header-inner{justify-content:space-between;align-items:center;gap:28px;max-width:1512px;height:100%;margin:auto;padding:0 40px;display:flex}.brand{letter-spacing:-1px;flex-shrink:0;align-items:center;gap:10px;font-size:23px;font-weight:760;display:flex}.brand-symbol{color:#fff;background:#000;border-radius:10px;place-items:center;width:34px;height:34px;display:grid}.brand-icon{border-radius:22%;flex:none;display:block}.brand-symbol .brand-icon{width:100%;height:100%}.brand-light{font-weight:450}.brand-beta{letter-spacing:1.6px;border:1px solid var(--border);vertical-align:middle;color:var(--muted);border-radius:4px;margin-left:9px;padding:4px 5px;font-size:8px;font-weight:650}.main-nav{gap:30px;height:100%;margin-left:40px;display:flex}.main-nav button{color:var(--muted);padding:0 3px;font-size:12px;position:relative}.main-nav button[aria-current=page]{color:var(--text)}.main-nav button[aria-current=page]:after{content:"";background:var(--accent);height:2px;position:absolute;bottom:-1px;left:0;right:0}.main-nav button[aria-current=page] svg{color:var(--accent)}.nav-count{border:1px solid var(--border);color:var(--muted);border-radius:4px;padding:1px 5px;font-size:10px}.header-tools{align-items:center;gap:13px;display:flex}.local-badge{color:var(--muted);align-items:center;gap:7px;margin-right:12px;font-size:10px;display:flex}.tiny-dot{background:var(--success);border-radius:50%;flex-shrink:0;width:5px;height:5px;display:inline-block}.language-button{letter-spacing:.3px;min-width:32px;min-height:34px;color:var(--muted);font-size:10px;font-weight:650}.language-button:hover{color:var(--text)}.icon-button{width:32px;height:32px;color:var(--muted);border-radius:7px;flex-shrink:0}.icon-button:hover{background:var(--raised);color:var(--text)}.theme-button{border-left:1px solid var(--border);border-radius:0;width:39px}.app-main{max-width:1440px;margin:auto;padding:0 40px 36px}.breadcrumb{color:var(--faint);align-items:center;gap:10px;padding:23px 0 25px;font-size:11px;display:flex}.breadcrumb span:last-child{color:var(--muted)}.workspace-grid{grid-template-columns:minmax(0,1.17fr) minmax(380px,1fr);align-items:start;gap:32px;display:grid}.controls-column{min-width:0}.eyebrow{letter-spacing:1.5px;color:var(--muted);align-items:center;gap:8px;font-size:9px;font-weight:550;display:flex}.eyebrow-number{color:var(--accent);letter-spacing:0;font-family:ui-monospace,monospace;font-size:10px}.title-row{justify-content:space-between;align-items:center;gap:10px;margin-top:12px;display:flex}.studio-heading h1{letter-spacing:-1.3px;font-size:clamp(24px,2.4vw,34px);font-weight:550;line-height:1.18}.studio-heading p{color:var(--muted);margin-top:10px;font-size:12px}.reset-button{border:1px solid var(--border);width:30px;height:30px}.preset-section{margin-bottom:22px}.preset-section-heading{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.preset-section-heading h2{letter-spacing:.1px;font-size:12px;font-weight:550}.text-button{color:var(--muted);min-height:28px;padding:4px 0;font-size:11px}.text-button:hover{color:var(--accent)}.random-button{font-size:10px}.random-button svg{color:var(--accent)}.preset-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.preset-card{text-align:left;background:var(--surface-soft);border:1px solid var(--border);border-radius:9px;justify-content:flex-start;gap:9px;min-width:0;padding:13px 10px;position:relative}.preset-card:hover{border-color:var(--faint);background:var(--surface)}.preset-card.active{background:var(--accent-bg)}@supports (color:color-mix(in lab, red, red)){.preset-card.active{background:color-mix(in srgb, var(--accent-bg) 35%, var(--surface))}}.preset-card.active{border-color:var(--accent-border)}.preset-avatar{letter-spacing:.6px;border-radius:7px;flex-shrink:0;place-items:center;width:32px;height:36px;font-size:9px;font-weight:650;display:grid;position:relative;overflow:hidden}.preset-avatar:after{content:"";opacity:.12;border:1px solid;border-radius:50%;width:40px;height:40px;position:absolute;top:14px;left:5px}.lavender{color:#e2d3fb;background:#51465f}.blue{color:#b4d9ec;background:#334750}.sage{color:#c1d8bb;background:#384c44}.peach{color:#f0cdab;background:#5a463e}.slate{color:#d0d3e8;background:#414452}.rose{color:#f1c8d8;background:#573d4c}.preset-copy{flex-direction:column;gap:4px;min-width:0;display:flex}.preset-copy strong{white-space:nowrap;text-overflow:ellipsis;font-size:10px;font-weight:550;overflow:hidden}.preset-copy>span{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:9px;overflow:hidden}.preset-check{color:var(--accent);position:absolute;top:5px;right:5px}.editor-status{color:var(--faint);justify-content:space-between;align-items:center;gap:14px;margin:0 2px 12px;font-size:9px;display:flex}.editor-status>span{align-items:center;gap:6px;min-width:0;display:flex}.editor-status>span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-status .tiny-dot{background:var(--accent);width:4px;height:4px}.editor-status>span:last-child{flex-shrink:0}.generator-form{flex-direction:column;gap:10px;display:flex}.character-assists{flex-wrap:wrap;align-items:center;gap:10px;margin:0 2px 12px;display:flex}.assist-toggle{min-height:32px;color:var(--muted);gap:8px;padding:0;font-size:10px}.toggle-track{background:var(--border);border-radius:20px;align-items:center;width:30px;height:18px;padding:3px;display:flex}.toggle-track>span{background:var(--muted);border-radius:50%;width:12px;height:12px}.assist-toggle[aria-checked=true] .toggle-track{background:var(--accent)}.assist-toggle[aria-checked=true] .toggle-track>span{background:#251936;margin-left:auto}.youth-mode{color:var(--muted);font-size:10px;line-height:1.5}.form-card{border:1px solid var(--border);background:var(--surface);border-radius:11px;overflow:clip}.form-card>.form-section-heading{align-items:center;gap:10px;padding:16px 18px;display:flex}.section-icon{border:1px solid var(--border);width:29px;height:29px;color:var(--muted);background:var(--surface-soft);border-radius:7px;place-items:center;display:grid}.section-copy{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.section-title{align-items:center;gap:8px;margin:0;font-size:12px;font-weight:550;display:flex}.section-description{color:var(--faint);font-size:10px}.disclosure{color:var(--faint);transition:transform .15s}.form-card[open] .disclosure{transform:rotate(180deg)}.form-card[open]>.summary{border-bottom:1px solid var(--border)}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 18px;padding:3px 18px 19px;display:grid}.field{min-width:0;position:relative}.span-two{grid-column:1/-1}.field-label{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;min-height:13px;margin-bottom:7px;font-size:10px;display:flex}.field-label>span{color:var(--faint);font-size:9px}input,select,textarea{color:var(--text);background:var(--surface-soft);border:1px solid var(--border);border-radius:6px;min-width:0}input,select{width:100%;height:35px;padding:0 10px;font-size:11px}input::placeholder,textarea::placeholder{color:var(--faint)}.select-wrap{width:100%;display:block;position:relative}.select-wrap select{appearance:none;cursor:pointer;padding-right:28px}.select-wrap>svg{pointer-events:none;color:var(--faint);position:absolute;top:50%;right:10px;transform:translateY(-50%)}.segmented{border:1px solid var(--border);background:var(--surface-soft);border-radius:6px;align-items:stretch;gap:2px;min-height:35px;padding:3px;display:flex}.segmented button{white-space:nowrap;color:var(--muted);border:1px solid #0000;border-radius:4px;flex:1;min-width:0;padding:5px 7px;font-size:10px}.segmented button:hover{color:var(--text)}.segmented button[aria-pressed=true]{color:var(--text);background:var(--raised);border-color:var(--border);box-shadow:0 1px 3px #00000010}.swatches{flex-wrap:wrap;align-items:center;gap:4px;min-height:35px;display:flex}.color-palette{padding-right:28px;position:relative}.palette-row{align-items:center;gap:10px;display:flex}.palette-row+.palette-row{margin-top:5px}.palette-label{width:55px;color:var(--muted);flex-shrink:0;font-size:10px}.palette-row .swatches{flex:1;min-width:0}.palette-custom{position:absolute;top:6px;right:0}.field.span-two:has(.color-palette) .field-label>span{max-width:none}.swatch{border:1px solid #0000;border-radius:50%;flex-shrink:0;width:23px;height:28px;padding:3px}.swatch>span{border-radius:50%;flex-shrink:0;place-items:center;width:19px;height:19px;display:grid;box-shadow:inset 0 0 0 1px #ffffff0f}.swatch.selected{border-color:var(--accent);width:27px}.custom-swatch{color:var(--faint);border:1px dashed var(--border);width:22px;height:22px;margin-left:1px}.custom-swatch.selected{color:var(--accent);border-color:var(--accent);width:22px}.swatch:hover{transform:translateY(-1px)}.custom-input{margin-top:8px}.chips{flex-wrap:wrap;gap:6px;display:flex}.chips button{color:var(--faint);border:1px solid var(--border);background:var(--surface-soft);text-align:left;border-radius:5px;justify-content:flex-start;min-height:30px;padding:6px 8px;font-size:10px}.chips button[aria-pressed=true]{color:var(--accent);background:var(--accent-bg);border-color:var(--accent-border)}@supports (color:color-mix(in lab, red, red)){.chips button[aria-pressed=true]{border-color:color-mix(in srgb, var(--accent-border) 60%, var(--border))}}.field textarea{resize:vertical;width:100%;min-height:88px;padding:10px;font-size:12px;line-height:1.6}.input-count{color:var(--faint);font-size:9px;position:absolute;bottom:28px;right:9px}.field-hint{color:var(--faint);margin-top:5px;font-size:9px;display:block}.has-error .custom-input,.has-error select{border-color:var(--danger)}.field-error{color:var(--danger);margin-top:6px;font-size:10px;line-height:1.5;display:block}.error-dot{background:var(--danger);border-radius:50%;width:5px;height:5px}.controls-footer{color:var(--faint);align-items:center;gap:7px;padding:22px 1px;font-size:9px;display:flex}.controls-footer>span:last-child{color:var(--muted);margin-left:auto;font-size:10px}.prompt-panel{border:1px solid var(--border);box-shadow:var(--shadow);background:var(--surface);scrollbar-width:thin;border-radius:13px;flex-direction:column;height:calc(100dvh - 162px);min-height:0;max-height:1020px;padding:23px 22px 13px;scroll-margin-top:92px;display:flex;position:sticky;top:96px;overflow-y:auto}.prompt-heading{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.prompt-heading .eyebrow{letter-spacing:1.25px;color:var(--faint);font-size:8px}.prompt-heading h2{letter-spacing:-.5px;margin-top:10px;font-size:20px;font-weight:550}.live-pill{color:var(--success);background:#7cb89709;border:1px solid #7cb89725;border-radius:5px;align-items:center;gap:6px;padding:5px 8px;font-size:9px;display:flex}.live-pill i{background:var(--success);border-radius:50%;width:5px;height:5px;box-shadow:0 0 0 3px #94c4a80b}.invalid-live{color:var(--faint)}.invalid-live i{background:var(--faint)}.prompt-options{grid-template-columns:1.3fr 1fr;gap:12px;margin-bottom:18px;display:grid}.prompt-options label{color:var(--muted);flex-direction:column;gap:7px;font-size:9px;display:flex}.prompt-options select{height:33px;font-size:11px}.sheet-preview{border:1px solid var(--border);background:var(--surface-soft);border-radius:7px;margin-bottom:16px;padding:11px 12px 7px}.preview-header{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;font-size:8px;display:flex}.preview-header>span:first-child{align-items:center;gap:5px;display:flex}.preview-header>span:last-child{color:var(--faint);font-family:ui-monospace,monospace;font-size:8px}.subtle{opacity:.4;margin:0 4px}.reference-grid{max-width:100%;height:150px;color:var(--accent);grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0 auto;display:grid;overflow:hidden}.reference-grid.four-views{grid-template-rows:minmax(0,1fr);grid-template-columns:repeat(4,minmax(0,1fr))}.reference-cell{border:1px solid var(--border);background:var(--surface);border-radius:3px;min-width:0;position:relative;overflow:hidden}.reference-cell .silhouette{color:#8d819f;width:100%;height:calc(100% - 18px);position:absolute;bottom:12px;left:0;right:0}.view-number{color:var(--faint);z-index:1;font:6px ui-monospace,monospace;position:absolute;top:5px;left:5px}.view-label{border-top:1px solid var(--border-soft);height:13px;color:var(--muted);letter-spacing:.1px;background:var(--surface);white-space:nowrap;text-overflow:ellipsis;justify-content:center;align-items:center;padding:0 1px;font-size:5.5px;display:flex;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.preview-caption{text-align:center;color:var(--faint);margin-top:9px;font-size:8px;display:block}.no-views{color:var(--muted);text-align:center;grid-column:1/-1;align-self:center;font-size:10px}.output-toolbar{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.detail-control{width:260px;max-width:85%;min-height:29px;padding:2px}.detail-control button{padding:4px 8px;font-size:9px}.rephrase{border:1px solid var(--border);border-radius:6px;width:29px;height:29px}.prompt-output{flex:1;min-height:160px;display:flex}.prompt-output textarea{resize:none;width:100%;height:100%;color:var(--muted);background:0 0;border:0;border-radius:0;padding:0 8px 0 1px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:10px;line-height:1.9}.prompt-output textarea:focus-visible{outline-offset:5px;border-radius:1px}.prompt-output textarea::-webkit-scrollbar{width:3px}.prompt-output textarea::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}.output-meta{color:var(--faint);justify-content:space-between;padding:13px 0 15px;font-size:8px;display:flex}.output-meta>span>span{opacity:.5;padding:0 6px}.version-label{font-family:ui-monospace,monospace;font-size:8px}.prompt-actions{border-top:1px solid var(--border-soft);padding-top:15px}.primary-button{background:var(--accent);color:#251936;border:1px solid #0000;border-radius:7px;min-height:38px;padding:9px 14px;font-size:11px;font-weight:600}.primary-button:hover{background:var(--accent-strong)}[data-theme=light] .primary-button{color:#fff}.copy-button{width:100%;height:41px;font-size:11px;position:relative}.copy-arrow{opacity:.65;position:absolute;right:14px}.secondary-button{border:1px solid var(--border);background:var(--surface);color:var(--muted);border-radius:7px;min-height:35px;padding:8px 11px;font-size:11px;font-weight:450}.secondary-button:hover{background:var(--raised);color:var(--text)}.save-row{justify-content:space-between;align-items:center;gap:12px;margin-top:9px;display:flex}.save-row .secondary-button{flex:1;min-height:33px;padding:7px 9px;font-size:10px}.save-row .text-button{padding:0 8px;font-size:9px}.privacy-note{text-align:center;color:var(--faint);justify-content:center;align-items:center;gap:5px;margin-top:13px;font-size:8px;display:flex}.privacy-note .tiny-dot{background:var(--faint);width:4px;height:4px}.mobile-action{display:none}.character-profile-action{margin-top:16px}.character-profile-action>button{justify-content:center;width:100%}.character-profile-action p{color:var(--muted);margin:8px 0 16px;font-size:12px;line-height:1.6}.library-profile-action{justify-content:center;width:100%;margin:16px 0 4px}.modal{border:1px solid var(--border);width:calc(100% - 32px);max-width:440px;color:var(--text);background:var(--surface);border-radius:13px;margin:auto;padding:24px;box-shadow:0 24px 120px #00000050}.modal::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#05040bab}.modal-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;display:flex}.modal-heading h2{letter-spacing:-.4px;font-size:19px;font-weight:550}.modal-heading .icon-button{margin-right:-8px}.modal-label{color:var(--muted);margin-bottom:8px;font-size:11px;display:block}.modal input{height:40px;font-size:13px}.modal-description{color:var(--muted);font-size:12px;line-height:1.8}.modal-actions{justify-content:flex-end;gap:8px;margin-top:24px;display:flex}.modal-actions button{min-height:37px}.save-preview{border:1px solid var(--border-soft);color:var(--muted);border-radius:8px;align-items:center;gap:12px;margin-top:16px;padding:13px;font-size:11px;display:flex}.save-preview small{color:var(--faint);margin-top:5px;font-size:10px;display:block}.identity-monogram.small{width:34px;height:36px;font-size:10px}.deleting-name{overflow-wrap:anywhere;margin-top:14px;font-size:13px}.danger-button{border:1px solid var(--danger)}@supports (color:color-mix(in lab, red, red)){.danger-button{border:1px solid color-mix(in srgb, var(--danger) 40%, var(--border))}}.danger-button{background:var(--danger);border-radius:7px;padding:9px 16px}@supports (color:color-mix(in lab, red, red)){.danger-button{background:color-mix(in srgb, var(--danger) 12%, var(--surface))}}.danger-button{color:var(--danger);font-size:11px}.toast{z-index:60;background:var(--raised);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:9px;align-items:center;gap:10px;max-width:calc(100% - 28px);min-height:44px;padding:10px 10px 10px 15px;font-size:12px;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.toast>svg{color:var(--accent);flex-shrink:0}.toast .icon-button{width:25px;height:25px}.toast>span{line-height:1.5}.storage-warning{border:1px solid var(--accent-border);background:var(--accent-bg);border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px;margin-top:20px;padding:12px 16px;font-size:11px;display:flex}.storage-warning>span{flex:1;min-width:200px;line-height:1.6}.app-loading,.app-error{flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:100dvh;display:flex}.app-loading{color:var(--accent);font-size:22px}.app-error{text-align:center;padding:32px}.app-error p{color:var(--muted);line-height:1.7}.app-error button{border:1px solid var(--border);border-radius:6px;padding:10px}.identity-monogram{background:var(--accent-bg);width:42px;height:45px;color:var(--accent);letter-spacing:.4px;border-radius:8px;place-items:center;font-size:13px;font-weight:600;display:grid}@media (width>=1600px){.app-main{max-width:1440px}.workspace-grid{gap:40px}.prompt-panel{max-height:950px}.preset-card{padding:15px 12px}}@media (width>=851px) and (height<=950px){.reference-grid{height:110px}.sheet-preview{margin-bottom:12px}.prompt-heading{margin-bottom:16px}.prompt-output{min-height:100px}}@media (width>=851px) and (height<=850px){.sheet-preview{display:none}}@media (width<=1190px){.header-inner{padding:0 28px}.app-main{padding-left:28px;padding-right:28px}.workspace-grid{grid-template-columns:minmax(0,1.08fr) minmax(355px,1fr);gap:22px}.local-badge{display:none}.main-nav{margin-left:0}.preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.preset-card{padding:10px}.preset-section{margin-bottom:18px}.studio-heading h1{font-size:28px}.field-grid{gap:15px 12px;padding-left:15px;padding-right:15px}.form-card>.form-section-heading{padding-left:15px;padding-right:15px}.segmented button{padding:5px 4px;font-size:9px}.swatch{width:21px}.swatch.selected{width:25px}.swatches{gap:2px}.prompt-panel{padding:21px 18px 13px}}@media (width<=850px){.workspace-grid{grid-template-columns:minmax(0,1fr)}.app-main{max-width:720px;padding:0 24px 100px}.prompt-panel{height:auto;min-height:0;max-height:none;padding:24px;scroll-margin-top:90px;position:relative;top:auto}.prompt-output{flex:auto;height:340px;min-height:0}.prompt-output textarea{font-size:11px}.reference-grid{height:190px}.prompt-heading{margin-bottom:20px}.preset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.preset-card{padding:12px 10px}.preset-avatar{height:36px}.controls-footer{display:none}.mobile-action{z-index:30;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:10px;align-items:center;gap:4px;padding:4px;display:flex;position:fixed;bottom:12px;right:14px}.mobile-action .icon-button{width:32px;min-width:32px;height:32px;min-height:32px;color:var(--accent);flex-shrink:0;padding:0}.toast{bottom:94px}.studio-heading h1{font-size:31px}.header-inner{gap:18px;padding:0 24px}.brand-beta{display:none}.main-nav{gap:20px}.header-tools{gap:7px}.app-header{height:68px}.field-grid{gap:16px 20px;padding:5px 18px 20px}.form-card>.form-section-heading{padding:16px 18px}.field-label{font-size:11px}.field-grid select{height:38px;font-size:12px}.segmented{min-height:38px}.segmented button{padding:5px 7px;font-size:10px}.swatches{gap:5px;min-height:38px}.swatch{width:25px;height:30px}.swatch.selected{width:29px}.swatch>span{width:21px;height:21px}.custom-swatch{width:24px;height:24px}.custom-swatch.selected{width:24px}.section-title{font-size:13px}.section-description{font-size:10px}}@media (width<=560px){.header-inner{flex-wrap:wrap;gap:12px;padding:0 16px;position:relative}.app-header{height:105px}.brand{gap:8px;font-size:21px}.brand-symbol{border-radius:8px;width:30px;height:30px}.main-nav{order:3;gap:24px;width:calc(100% - 32px);height:42px;position:absolute;bottom:0;left:16px}.main-nav button{font-size:11px}.header-tools{align-self:flex-start;height:62px;margin-left:auto}.brand{align-self:flex-start;height:62px}.language-button{min-width:30px}.theme-button{width:35px}.header-tools .icon-button{min-height:36px}.app-main{padding-left:16px;padding-right:16px}.breadcrumb{padding:18px 0 23px;font-size:10px}.studio-heading{margin-bottom:25px}.studio-heading h1{letter-spacing:-1px;font-size:28px}.studio-heading p{margin-top:9px;font-size:11px}.studio-heading .eyebrow{font-size:8px}.title-row{margin-top:11px}.reset-button{width:34px;height:34px}.preset-section-heading h2{font-size:11px}.random-button{min-height:34px}.preset-grid{scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:var(--border) transparent;gap:8px;padding:1px 1px 9px;display:flex;overflow-x:auto}.preset-card{scroll-snap-align:start;flex-shrink:0;min-width:149px;max-width:149px;padding:12px 10px}.preset-copy strong{font-size:10px}.preset-copy>span{font-size:8px}.preset-avatar{width:30px;height:34px}.preset-section{margin-bottom:14px}.preset-section-heading{margin-bottom:8px}.editor-status{gap:8px;margin-bottom:10px;font-size:8px}.field-grid{gap:16px 12px;padding:4px 13px 16px}.form-card>.form-section-heading{gap:9px;padding:14px 13px}.section-icon{width:28px;height:28px}.section-title{font-size:12px}.section-description{font-size:9px}.field-label{align-items:flex-start;gap:4px;font-size:10px}.field-label>span{white-space:nowrap;text-overflow:ellipsis;max-width:67px;font-size:8px;overflow:hidden}.field-grid select{height:39px;padding-left:8px;padding-right:22px;font-size:11px}.select-wrap>svg{right:8px}.segmented{gap:1px;min-height:39px;padding:3px}.segmented button{padding:5px 4px;font-size:9px}.field:has(.segmented[aria-labelledby]){min-width:0}.field:has(.segmented) .segmented{flex-wrap:wrap}.field:has(.segmented) .segmented button{min-width:40%;min-height:27px}.field:has(.segmented) .segmented button:first-child:nth-last-child(3){min-width:25%}.field:has(.segmented) .segmented button:first-child:nth-last-child(3)~button{min-width:25%}.swatches{align-content:center;gap:4px;min-height:39px}.palette-label{width:43px;font-size:9px}.palette-row{gap:6px}.palette-row .swatches{min-height:31px}.color-palette{padding-right:24px}.swatch{width:23px;height:26px}.swatch.selected{width:25px}.swatch>span{width:19px;height:19px}.custom-swatch{width:21px;height:21px}.custom-swatch.selected{width:21px}.field textarea,.custom-input{font-size:16px}.chips button{min-height:35px;font-size:9px}.prompt-panel{border-radius:11px;padding:20px 16px 16px;scroll-margin-top:120px}.prompt-heading h2{font-size:20px}.prompt-options{gap:10px}.prompt-options select{height:38px;font-size:12px}.prompt-heading .eyebrow{font-size:8px}.prompt-output{height:340px}.prompt-output textarea{font-size:11px;line-height:1.85}.reference-grid{height:175px}.sheet-preview{padding:10px}.preview-header{font-size:8px}.preview-header>span:last-child{font-size:7px}.view-label{font-size:6px}.detail-control{min-height:34px}.detail-control button{font-size:9px}.rephrase{width:34px;height:34px}.copy-button{height:45px;font-size:12px}.save-row{flex-wrap:wrap;gap:6px}.save-row .secondary-button{min-height:40px;font-size:11px}.save-row .text-button{min-height:40px;font-size:10px}.privacy-note{font-size:8px}.modal{padding:21px}.modal input{height:43px;font-size:16px}.modal-heading h2{font-size:18px}.modal-actions button{min-height:42px}.toast{width:max-content;font-size:11px;bottom:88px}.app-main{padding-bottom:105px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.offline-indicator{color:var(--muted);display:flex}.install-button,.refresh-app-button{color:var(--accent)}.is-refreshing svg{animation:1s linear infinite refresh-spin}@keyframes refresh-spin{to{transform:rotate(360deg)}}.pwa-feedback{z-index:60;bottom:calc(90px + env(safe-area-inset-bottom));border:1px solid var(--border);background:var(--raised);width:max-content;max-width:calc(100% - 32px);color:var(--text);border-radius:9px;padding:12px 16px;font-size:12px;line-height:1.5;position:fixed;left:50%;transform:translate(-50%)}.install-steps{margin:18px 0;padding-left:20px;font-size:12px;line-height:1.7}.install-steps li+li{margin-top:12px}.install-steps strong,.install-steps span{display:block}.install-steps span{color:var(--muted)}.install-status{border:1px solid var(--border);color:var(--muted);border-radius:8px;padding:12px;font-size:11px;line-height:1.7}.pwa-update{z-index:50;bottom:calc(20px + env(safe-area-inset-bottom));border:1px solid var(--accent-border);background:var(--surface);width:max-content;max-width:calc(100% - 32px);box-shadow:var(--shadow);border-radius:12px;align-items:center;gap:14px;padding:16px;display:flex;position:fixed;left:50%;transform:translate(-50%)}.pwa-update>svg{color:var(--accent);flex-shrink:0}.pwa-update strong{font-size:12px}.pwa-update p{color:var(--muted);margin-top:4px;font-size:11px;line-height:1.6}.pwa-update .primary-button{white-space:nowrap}@media (width<=850px){.pwa-update{bottom:calc(88px + env(safe-area-inset-bottom))}}@media (width<=560px){.pwa-update{flex-wrap:wrap;gap:10px}.pwa-update>div{flex:1;min-width:180px}.pwa-update .primary-button{flex:1;min-height:40px}.offline-indicator{position:absolute;bottom:14px;right:60px}.refresh-app-button{width:36px;position:absolute;bottom:4px;right:16px}.main-nav{gap:18px;padding-right:76px}.header-tools{gap:4px}}@media (display-mode:standalone){body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.app-header{box-sizing:content-box;padding-top:env(safe-area-inset-top)}.prompt-panel{scroll-margin-top:calc(120px + env(safe-area-inset-top))}}.header-inner{height:68px;position:relative}.main-nav{scrollbar-width:none;gap:26px;height:48px;margin:0;position:absolute;top:68px;left:40px;right:40px;overflow:auto hidden}.main-nav::-webkit-scrollbar{display:none}.main-nav button{white-space:nowrap;flex-shrink:0}@media (width<=850px){.main-nav{gap:22px;left:28px;right:28px}}@media (width<=560px){.app-header{height:108px}.main-nav{gap:22px;width:auto;height:46px;inset:62px 16px auto}.header-inner{height:108px}.main-nav{padding-right:0;right:60px}}.app-header{height:80px}.header-inner{grid-template-columns:auto 1fr auto;gap:28px;height:80px;padding:0 32px;display:grid}.main-nav{justify-content:center;gap:22px;height:80px;margin:0;position:static;overflow:visible}.main-nav button{gap:7px;font-size:12px}.main-nav .nav-label-compact{display:none}.header-tools .icon-button[aria-current=page]{background:var(--accent-bg);color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent-border)}.header-tools{gap:7px}.header-tools .local-badge{display:none}.header-tools .icon-button{width:34px;height:38px}.app-main{max-width:1344px}@media (width<=1150px){.header-inner{gap:16px;padding:0 22px}.main-nav{gap:14px}.main-nav button svg,.header-tools .brand-beta,.brand-beta{display:none}}@media (width<=800px){.app-header,.header-inner{height:68px}.header-inner{justify-content:space-between;padding:0 16px;display:flex}.brand{flex-shrink:0}.brand-symbol{width:32px;height:32px}.brand>span:last-child{font-size:21px}.header-tools{gap:2px}.header-tools .pwa-install-button{display:none}.main-nav{height:var(--app-bottom-nav-height);padding:0 6px env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--border);z-index:50;grid-template-columns:none;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:0;display:grid;position:fixed;inset:auto 0 0}.main-nav button{flex-direction:column;justify-content:center;gap:5px;min-width:0;padding:6px 0;font-size:10px;display:flex}.main-nav button svg{display:block}.main-nav .nav-label-wide{display:none}.main-nav .nav-label-compact{display:inline}.main-nav button:after{display:none}.main-nav button[aria-current=page]{background:var(--accent-bg);border-radius:10px}.app-main{padding:0 18px 90px}}@media (width<=850px){#root:has(>.mobile-action){--mobile-prompt-bar-height:50px}.mobile-action{bottom:calc(var(--app-bottom-nav-height) + 8px)}#root:has(>.mobile-action) .app-main{padding-bottom:calc(20px + var(--app-bottom-nav-height) + var(--mobile-prompt-bar-height))}:is(#root:has(>.mobile-action) .toast,#root:has(>.mobile-action) .pwa-feedback,#root:has(>.mobile-action) .pwa-update){bottom:calc(12px + var(--app-bottom-nav-height) + var(--mobile-prompt-bar-height))}}@media (width<=520px){.app-main{padding-left:14px;padding-right:14px}.header-tools .icon-button{width:30px}.header-tools .pwa-controls{gap:0}.header-tools .pwa-refresh-button{width:28px;height:34px;position:static}.header-tools .language-button{padding:0 6px}}@media (width<=800px){.header-inner{flex-wrap:nowrap;gap:8px}.header-tools{flex-shrink:0;padding-right:0}.header-tools .refresh-app-button{width:30px;height:38px;position:static}.main-nav{width:100%;padding-right:6px}}@media (width<=380px){.brand>span:last-child{display:none}.header-inner{padding:0 12px}.header-tools{gap:2px}}.companion-page{padding:16px 0 24px}.companion-page[hidden],.mobile-prompt-shortcut{display:none}.companion-intro{margin:0 0 20px}.companion-intro .eyebrow{color:var(--accent);margin-bottom:8px;display:block}.companion-intro h1{letter-spacing:-1px;font-size:clamp(25px,2.5vw,32px);font-weight:620;line-height:1.17}.companion-intro p{color:var(--muted);margin-top:8px;font-size:14px;line-height:1.65}.companion-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:start;gap:20px;display:grid}.companion-inputs{min-width:0}.purpose-grid{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px;display:grid}.purpose-card{text-align:left;border:1px solid var(--border);background:var(--surface-soft);border-radius:10px;grid-template-rows:auto auto;grid-template-columns:20px minmax(0,1fr);align-content:center;gap:3px 10px;min-width:0;padding:12px;transition:background .15s,border-color .15s;display:grid}.purpose-card svg{color:var(--muted);grid-row:1/3;align-self:center}.purpose-card strong,.purpose-card span{grid-column:2}.purpose-card strong{font-size:13px;font-weight:600}.purpose-card span{color:var(--muted);font-size:11px;line-height:1.5}.purpose-card:hover{background:var(--raised)}.purpose-card[aria-pressed=true]{border-color:var(--accent-border);background:var(--accent-bg);box-shadow:inset 0 0 0 1px var(--accent-border)}.purpose-card[aria-pressed=true] svg{color:var(--accent)}.purpose-card[aria-pressed=true] span{color:var(--text)}.companion-card{border:1px solid var(--border);background:var(--surface);border-radius:12px;min-width:0;padding:18px}.companion-card h2{letter-spacing:-.35px;font-size:16px;font-weight:600}.companion-section-title{justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;display:flex}.companion-section-title>span:not(.live-pill){color:var(--muted);font-size:11px}.brief-heading-actions{color:var(--muted);align-items:center;gap:10px;font-size:11px;display:flex}.brief-heading-actions .icon-button{border:1px solid var(--border);border-radius:7px;flex-shrink:0;width:36px;height:36px}.companion-section-title .eyebrow{color:var(--muted);margin-bottom:8px;font-size:9px;display:block}.companion-field{flex-direction:column;gap:6px;min-width:0;margin-bottom:12px;font-size:12px;display:flex}.companion-field>span{font-weight:550}.companion-field input,.companion-field textarea,.companion-field select{border:1px solid var(--border);background:var(--surface-soft);width:100%;color:var(--text);border-radius:9px;min-height:38px;padding:8px 10px;font-size:13px}.companion-field textarea{resize:vertical;line-height:1.65}.companion-field textarea::placeholder,.companion-field input::placeholder{color:var(--faint)}.companion-field [aria-invalid=true]{border-color:var(--danger)}.companion-error{color:var(--danger);margin:10px 0;font-size:12px;line-height:1.6}.companion-details{border-top:1px solid var(--border-soft);margin-top:12px;padding-top:12px}.companion-details summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;font-size:13px;font-weight:550;list-style:none;display:flex}.companion-details summary::-webkit-details-marker{display:none}.companion-details[open]>summary{margin-bottom:12px}.companion-details[open]>summary>svg{transform:rotate(180deg)}.companion-details p{color:var(--muted);margin:0 0 16px;font-size:12px;line-height:1.7}.brief-details-grid{grid-template-columns:1fr 1fr;gap:0 16px;display:grid}.companion-footnote{color:var(--muted);align-items:center;gap:8px;margin-top:16px;font-size:11px;line-height:1.7;display:flex}.video-prompt-panel{box-shadow:var(--shadow);position:sticky;top:76px}.chat-targets{background:var(--surface-soft);border:1px solid var(--border);border-radius:10px;gap:4px;padding:4px;display:flex}.chat-targets button{color:var(--muted);white-space:nowrap;border-radius:7px;flex:1;padding:9px 13px;font-size:12px}.chat-targets button[aria-pressed=true]{background:var(--raised);color:var(--text);box-shadow:0 1px 4px #00000012}.prompt-description{color:var(--muted);margin:12px 0;font-size:12px;line-height:1.7}.video-prompt-output{border:1px solid var(--border-soft);width:100%;height:clamp(200px,26vh,300px);min-height:200px;color:var(--muted);resize:vertical;background:var(--surface-soft);border-radius:10px;padding:16px;font:11px/1.85 ui-monospace,SFMono-Regular,Menlo,monospace}.prompt-primary-actions{grid-template-columns:1fr auto;gap:10px;margin-top:12px;display:grid}.prompt-primary-actions>*{min-height:44px}.prompt-primary-actions a{justify-content:center;align-items:center;gap:7px;display:inline-flex}.prompt-bottom-row{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin-top:10px;font-size:11px;display:flex}.character-copy-row{align-items:center;gap:8px;display:flex}.character-copy-row>.copy-button{flex:1;width:auto;min-width:0}.data-transfer{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.transfer-status{color:var(--muted);margin-left:8px;font-size:11px;line-height:1.7;display:inline-block}.companion-modal-actions{justify-content:end;gap:12px;margin-top:24px;display:flex}.phosphene-launch{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:420px;display:flex}.phosphene-symbol{color:var(--accent);border:1px solid var(--accent-border);background:var(--accent-bg);border-radius:22px;padding:24px}.phosphene-launch h2{font-size:25px}.phosphene-launch p{max-width:440px;color:var(--muted);font-size:13px;line-height:1.8}.phosphene-note{color:var(--muted);justify-content:space-between;gap:24px;margin-top:18px;font-size:12px;line-height:1.75;display:flex}.phosphene-note p{max-width:790px}.phosphene-note button{white-space:nowrap;align-self:start}.phosphene-embed{border:1px solid var(--border);border-radius:14px;overflow:hidden}.phosphene-embed iframe{background:var(--surface-soft);border:0;width:100%;height:100%;display:block}.companion-settings{max-width:800px;margin:auto}.companion-settings>.companion-card{margin-bottom:20px}.companion-settings .companion-card>p{color:var(--muted);margin:12px 0 20px;font-size:13px;line-height:1.75}.companion-settings .companion-field{max-width:420px}.companion-sources{color:var(--muted);flex-wrap:wrap;gap:10px 18px;font-size:11px;line-height:1.7;display:flex}.companion-sources>span{width:100%}.companion-sources a{text-underline-offset:3px;align-items:center;gap:6px;text-decoration:underline;display:inline-flex}.companion-busy{color:var(--accent);margin:12px 0;font-size:12px}@media (width>=851px){.companion-inputs{flex-direction:column;align-self:stretch;display:flex}.brief-card{flex:1}.video-prompt-panel{flex-direction:column;align-self:stretch;display:flex;position:static}.video-prompt-output{flex:auto}}@media (width<=850px){.companion-grid{grid-template-columns:1fr;gap:24px}.video-prompt-panel{position:static}.companion-intro{margin-bottom:16px}.video-prompt-output{height:200px}.companion-page{padding-top:16px}}@media (width<=540px){.brief-heading-actions>span{display:none}.mobile-prompt-shortcut{gap:8px;margin-bottom:16px;display:flex}.mobile-prompt-shortcut .primary-button{flex:1;min-height:44px}.mobile-prompt-shortcut a{align-items:center;gap:7px;display:inline-flex}.main-nav{grid-template-columns:none;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:4px;display:grid}.companion-intro h1{letter-spacing:-1px;font-size:25px}.companion-card{border-radius:12px;padding:16px}.purpose-card{gap:3px 8px;padding:10px}.purpose-card strong{font-size:13px}.purpose-card span{font-size:11px;line-height:1.5}.purpose-grid{gap:8px}.brief-details-grid{gap:0 12px}.phosphene-note{flex-direction:column;gap:12px}.data-transfer .secondary-button{font-size:11px}.prompt-primary-actions{gap:8px}.prompt-primary-actions .primary-button,.prompt-primary-actions .secondary-button{font-size:12px}}:root{--app-header-height:48px;--app-bottom-nav-height:0px}.app-header,.header-inner{height:var(--app-header-height)}.header-inner{max-width:none;padding-inline:24px}.header-inner>.brand,.header-inner>.header-tools{height:100%}.brand{font-size:21px}.brand-symbol{width:30px;height:30px}.app-main.app-main-phosphene{max-width:none;padding:0}.phosphene-page{height:calc(100dvh - var(--app-header-height) - var(--app-bottom-nav-height));flex-direction:column;min-height:460px;padding:0;display:flex}.phosphene-titlebar{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;min-height:50px;padding:4px 20px;display:flex}.phosphene-titlebar h1{letter-spacing:-.4px;font-size:18px;font-weight:620}.phosphene-actions{gap:20px;display:flex}.phosphene-actions>*{justify-content:center;align-items:center;gap:7px;min-height:40px;margin:0;display:inline-flex}.phosphene-embed{border:0;border-radius:0;flex:1;min-height:0}.phosphene-launch{flex:1;min-height:0;margin:20px}.phosphene-help{border-top:1px solid var(--border);color:var(--muted);flex-shrink:0;padding:6px 20px;font-size:11px}.phosphene-help summary{cursor:pointer;width:fit-content}.phosphene-note{flex-wrap:wrap;gap:8px 20px;margin:12px 0}.chat-links{gap:8px;display:flex}.chat-links .chat-logo-link{width:44px;min-width:44px;height:44px;color:var(--text);justify-content:center;align-items:center;padding:10px;display:inline-flex}.chat-logo-chatgpt{background:currentColor;width:23px;height:23px;display:block;-webkit-mask:url(/brands/chatgpt.svg) 50%/contain no-repeat;mask:url(/brands/chatgpt.svg) 50%/contain no-repeat}@media (width>=801px){.main-nav{height:var(--app-header-height)}}@media (width<=800px){:root{--app-bottom-nav-height:calc(64px + env(safe-area-inset-bottom))}.header-inner{padding-inline:14px}}@media (width<=540px){.phosphene-titlebar{padding-inline:14px}.phosphene-actions{gap:4px}.phosphene-actions>*{width:40px}.phosphene-actions span{display:none}.phosphene-help{padding-inline:14px}}.reference-purpose{color:var(--muted);margin-top:7px;font-size:11px;line-height:1.6}.character-controls{min-width:0}.workspace-grid{gap:24px;padding-top:20px}.studio-heading{margin-bottom:16px}.reference-purpose{margin:0 0 14px}.prompt-panel{height:calc(100dvh - 100px);padding:18px;top:76px}.prompt-heading{margin-bottom:12px}.prompt-options{grid-template-columns:minmax(0,1fr);max-width:180px;margin-bottom:12px}.character-save{border-top:1px solid var(--border-soft);margin-top:14px;padding-top:14px}.character-save-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.character-save-actions .icon-button{border:1px solid var(--border);width:40px;height:40px}.character-save .companion-field{margin-bottom:8px}@media (pointer:coarse){.character-save-actions .icon-button{width:44px;height:44px}}@media (width<=800px){.prompt-panel{height:auto;max-height:none;position:static}.prompt-output{flex:none;height:230px}.main-nav button{font-size:10px}}.universal-prompt-page .video-prompt-panel{position:static}.prompt-disclosure{border-top:0;padding-top:0}.prompt-disclosure>summary{border:1px solid var(--accent-border);background:var(--accent-bg);min-height:48px;color:var(--accent);border-radius:10px;padding:12px 16px;font-size:14px;font-weight:600}.prompt-disclosure>summary:hover{border-color:var(--accent)}.prompt-disclosure>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.prompt-disclosure .prompt-collapse-label,.prompt-disclosure[open] .prompt-expand-label{display:none}.prompt-disclosure[open] .prompt-collapse-label{display:inline}.universal-prompt-page .video-prompt-output{height:180px;min-height:120px}.prompt-character-context{border:1px solid var(--accent-border);background:var(--accent-bg);border-radius:9px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:10px 12px;font-size:12px;line-height:1.6;display:flex}.prompt-character-context p{overflow-wrap:anywhere;flex:260px}.prompt-character-context .icon-button{flex-shrink:0}.chat-logo-grok{background:currentColor;width:23px;height:23px;display:block;-webkit-mask:url(/brands/grok.svg) 50%/contain no-repeat;mask:url(/brands/grok.svg) 50%/contain no-repeat}.editor-layout{grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);align-items:start;gap:24px;display:grid}.editor-scenes{min-width:0}.editor-dropzone{border:1px dashed var(--border);text-align:center;background:var(--surface-soft);border-radius:14px;flex-direction:column;align-items:center;gap:8px;padding:20px 16px;display:flex}.editor-dropzone>svg{color:var(--accent)}.editor-dropzone.is-dragging{border-color:var(--accent);background:var(--accent-bg)}.editor-dropzone small,.editor-note{color:var(--muted);font-size:11px;line-height:1.45}.editor-dropzone .primary-button{align-items:center;gap:8px;display:inline-flex}.editor-list-heading{justify-content:space-between;align-items:center;margin:16px 0 10px;display:flex}.editor-list-heading h2,.editor-preview-panel h2{font-size:15px;font-weight:600}.editor-list-actions{align-items:center;gap:10px;display:flex}.editor-list-actions>span{color:var(--muted);font-size:12px}.editor-list{gap:10px;padding:0;list-style:none;display:grid}.editor-clip{border:1px solid var(--border);background:var(--surface);border-radius:12px;min-width:0;padding:12px}.editor-clip.selected{border-color:var(--accent)}.editor-clip-top{align-items:center;gap:10px;min-width:0;display:flex}.editor-number{color:var(--muted);min-width:14px;font-size:12px}.editor-clip-select{text-align:left;flex:1;align-items:center;gap:10px;min-width:0;display:flex}.editor-clip-select>img{object-fit:contain;background:#111;border-radius:5px;width:40px;height:40px}.editor-clip-select>svg{color:var(--accent);flex-shrink:0}.editor-clip-select>span{min-width:0}.editor-clip-select strong{overflow-wrap:anywhere;font-size:12px;display:block}.editor-clip-select small{color:var(--muted);margin-top:4px;font-size:10px;display:block}.editor-clip-actions{gap:2px;display:flex}.editor-clip-actions .icon-button{width:30px;height:34px}.video-editor input,.video-editor select{border:1px solid var(--border);background:var(--surface-soft);color:var(--text);border-radius:7px;width:100%;min-width:0;padding:8px}.editor-time{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-top:12px;font-size:12px;display:flex}.editor-time input{width:90px}.editor-trim{color:var(--muted);margin-top:12px;font-size:12px}.editor-trim summary{cursor:pointer}.editor-trim>div,.editor-export-options{grid-template-columns:1fr 1fr;gap:12px;margin:14px 0;display:grid}.editor-trim label,.editor-export-options label{color:var(--muted);gap:7px;font-size:12px;display:grid}.editor-preview-panel{padding:20px;position:sticky;top:145px}.editor-preview{color:#999;background:#0a0a0b;border-radius:10px;justify-content:center;align-items:center;width:100%;height:300px;margin:16px 0;display:flex;overflow:hidden}.editor-preview img,.editor-preview video{object-fit:contain;width:100%;height:100%}.editor-note{margin:8px 0 0}.editor-export,.editor-download{justify-content:center;align-items:center;gap:9px;width:100%;margin-top:18px;text-decoration:none;display:flex}.editor-error{color:var(--danger);border:1px solid var(--border);overflow-wrap:anywhere;border-radius:10px;margin-top:12px;padding:12px;font-size:13px}.editor-import-status{align-items:center;gap:8px;margin-top:12px;font-size:13px;display:flex}.editor-export-progress{gap:12px;margin-top:18px;font-size:12px;display:grid}.editor-export-progress progress{width:100%;accent-color:var(--accent)}@media (width<=800px){.editor-layout{grid-template-columns:minmax(0,1fr)}.editor-preview-panel{position:static}.editor-preview{height:280px}}@media (width<=400px){.editor-clip-top{flex-wrap:wrap}.editor-clip-actions{margin-left:auto}.editor-export-options{grid-template-columns:1fr}}.render-desk{grid-template-columns:minmax(0,1fr);gap:14px;display:grid}.render-desk[hidden]{display:none}.render-desk .companion-intro{margin-bottom:2px}.render-desk .companion-card{padding:16px}.render-desk p{color:var(--muted);line-height:1.5}.render-desk fieldset{border:0;gap:10px;min-width:0;padding:0;display:grid}.render-desk .companion-field{gap:6px;min-width:0;font-size:12px;display:grid}.render-desk input:not([type=checkbox]):not([type=file]),.render-desk select,.render-desk textarea{border:1px solid var(--border);background:var(--surface-soft);width:100%;min-width:0;color:var(--text);font:inherit;border-radius:8px;padding:8px 10px;font-size:12px}.render-desk textarea{resize:vertical;line-height:1.55}.render-desk :is(input,textarea,select,summary):focus-visible{outline:2px solid var(--accent);outline-offset:2px}.render-add-scenes,.render-transfer-actions,.render-scene-heading,.render-scene-tools,.render-scene-footer,.render-list-heading,.render-image-prompt-heading{align-items:center;gap:8px;display:flex}.render-list-heading,.render-image-prompt-heading{flex-wrap:wrap;justify-content:space-between}.render-add-scenes select{min-height:38px}.render-add-scenes .secondary-button{white-space:nowrap;min-height:38px}.render-transfer-actions{flex:none;gap:2px;font-size:12px}.render-list-title{align-items:center;gap:8px;min-width:0;max-width:100%;display:flex}.render-file-button{cursor:pointer;align-items:center;gap:6px;display:inline-flex;position:relative}.render-file-button:focus-within,.render-image-picker:focus-within{outline:2px solid var(--accent);outline-offset:2px}.render-desk input[type=file],.render-file-button input[type=file]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.render-list-heading h2{align-items:center;gap:8px;min-width:0;margin:0;font-size:15px;display:flex}.render-list-heading h2 span{white-space:nowrap;color:var(--muted);flex:none;font-size:12px;font-weight:400}.render-video-title{min-width:0;max-width:min(60vw,520px);color:var(--text);font:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:text;background:0 0;border:0;border-bottom:1px dashed #0000;padding:2px 0;font-weight:650;overflow:hidden}.render-video-title:hover,.render-video-title:focus-visible{border-bottom-color:var(--accent);color:var(--accent)}.render-list-heading h2 input{border:1px solid var(--accent);background:var(--surface);width:min(60vw,520px);min-width:0;color:var(--text);font:inherit;border-radius:5px;padding:3px 6px}.render-list-heading>span{color:var(--muted);font-size:11px}.render-scene-heading{margin-bottom:12px}.render-scene-heading.is-dragging{outline:2px dashed var(--accent);outline-offset:-4px;background:var(--accent-bg);border-radius:8px}.render-scene-drop-error{margin:0 16px 8px;font-size:11px;color:var(--danger,#e87878)!important}.render-scene-heading h2{margin:0;font-size:12px}.render-scene-number{background:var(--accent-bg);width:28px;height:28px;color:var(--accent);border-radius:7px;place-items:center;display:grid}.render-desk .render-scene-name{background:0 0;border-color:#0000;flex:1;padding:5px;font-size:14px;font-weight:600}.render-scene-tools{gap:0;margin-left:auto}.render-scene-tools .icon-button{width:30px;height:30px}.render-scene-grid{grid-template-columns:140px minmax(0,1fr);gap:14px;display:grid}.render-image{align-content:start;gap:6px;min-width:0;display:grid}.render-image-picker{border:1px dashed var(--border);cursor:pointer;min-height:115px;color:var(--muted);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:8px;display:flex;position:relative}.render-image-picker:hover{border-color:var(--accent);color:var(--accent)}.render-image.is-dragging .render-image-picker{border:2px dashed var(--accent);background:var(--accent-bg);color:var(--accent);box-shadow:inset 0 0 0 3px var(--surface), 0 0 0 3px var(--accent-border);font-weight:700}.render-image.is-uploading .render-image-picker{border:2px solid var(--accent);background:var(--accent-bg);color:var(--accent)}.render-image-preview{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;place-items:center;width:100%;min-height:155px;padding:8px;display:grid;position:relative;overflow:hidden}.render-image-preview-wrap{min-width:0;position:relative}.render-image-remove{z-index:1;border:1px solid var(--border);width:28px;height:28px;color:var(--text);background:var(--surface);cursor:pointer;border-radius:7px;place-items:center;padding:0;display:grid;position:absolute;top:7px;right:7px;box-shadow:0 1px 6px #0006}.render-image-remove:hover,.render-image-remove:focus-visible{color:var(--accent);border-color:var(--accent)}.render-image-preview:hover,.render-image-preview:focus-visible{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-border)}.render-image-preview img{object-fit:contain;max-width:100%;max-height:135px}.render-image-preview span{background:var(--surface);color:var(--text);border-radius:5px;align-items:center;gap:3px;padding:4px 6px;font-size:10px;display:inline-flex;position:absolute;bottom:5px;right:5px;box-shadow:0 1px 5px #0004}.render-image:has(.render-image-preview) .render-image-picker{flex-direction:row;min-height:32px}.render-image-dialog{border:1px solid var(--border);background:var(--surface);width:min(90vw,960px);max-height:90vh;color:var(--text);border-radius:12px;padding:14px;box-shadow:0 25px 80px #0008}.render-image-dialog::backdrop{background:#000b}.render-image-dialog-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:10px;display:flex}.render-image-dialog-heading strong{overflow-wrap:anywhere;min-width:0}.render-image-dialog>img{object-fit:contain;max-width:100%;max-height:calc(90vh - 95px);margin:auto;display:block}.render-image-picker span{text-align:center;font-size:10px}.render-image img{object-fit:contain;border-radius:5px;max-width:100%;height:76px}.render-image select{padding:5px;font-size:10px}.render-prompt textarea{min-height:105px}.render-scene-settings{border-top:1px solid var(--border-soft);padding-top:10px}.render-desk summary{cursor:pointer;font-size:12px}.render-scene-settings summary{color:var(--muted);flex-wrap:wrap;align-items:center;gap:7px;list-style:none;display:flex}.render-scene-settings summary:after{content:"+";color:var(--accent);margin-left:auto;font-size:16px}.render-scene-settings[open] summary:after{content:"−"}.render-scene-settings summary::-webkit-details-marker{display:none}.render-settings-summary{font-size:11px}.render-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.render-desk pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.6}.render-source{color:var(--muted)}.render-scene-footer{color:var(--muted);flex-wrap:wrap;margin-top:8px;font-size:11px}.render-scene-footer .text-button{align-items:center;gap:5px;padding:3px 0;font-size:11px;display:inline-flex}.render-scene-footer a{color:var(--accent);margin-left:auto}.render-image-prompt{background:var(--surface-soft);border:1px solid var(--border-soft);border-radius:8px;padding:10px}.render-image-prompt-heading{margin-bottom:8px}.render-image-prompt-heading strong{font-size:12px}.render-image-prompt-heading .secondary-button{min-height:32px;padding:6px 9px;font-size:11px}.render-image-prompt-heading .secondary-button.is-copied{border-color:var(--accent);color:var(--accent);background:var(--accent)}@supports (color:color-mix(in lab, red, red)){.render-image-prompt-heading .secondary-button.is-copied{background:color-mix(in srgb, var(--accent) 12%, var(--surface-soft))}}.render-image-prompt summary{color:var(--muted);font-size:11px}.render-image-prompt textarea{margin-top:8px}.render-submit{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.render-submit strong{font-size:14px}.render-submit p{margin:4px 0 10px;font-size:12px}.render-submit .primary-button{white-space:nowrap}.render-hint{color:var(--muted)}.render-submit .render-hint{margin-top:8px;margin-bottom:0;font-size:11px}.render-notice{margin:0;font-size:12px}.render-restore-warning{flex-wrap:nowrap;align-items:flex-start}.render-restore-warning-content{overflow-wrap:anywhere;flex:1;min-width:0}.render-restore-warning-content p{margin-top:0}.render-restore-warning-content ul{margin-bottom:0;padding-left:20px}.render-empty{text-align:center;padding:20px}.render-result-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;display:flex}.render-result-heading-line{flex-wrap:wrap;align-items:center;gap:5px 10px;min-width:0;display:flex}.render-result-status,.render-result-time{color:var(--muted);font-size:11px}.render-result-status{border-left:1px solid var(--border);padding-left:10px}.render-stop-button,.render-retry-button,.render-pending-discard{border:1px solid var(--border);background:var(--surface-soft);color:var(--text);cursor:pointer;font:inherit;border-radius:6px;justify-content:center;align-items:center;gap:5px;padding:5px 8px;font-size:11px;line-height:1.2;display:inline-flex}.render-stop-button:hover,.render-retry-button:hover,.render-pending-discard:hover{border-color:var(--accent);color:var(--accent)}.render-stop-button:disabled,.render-retry-button:disabled,.render-pending-discard:disabled{opacity:.5;cursor:not-allowed}.render-result h2{margin:0;font-size:15px}.render-result p{font-size:12px}.render-result progress{width:100%;height:6px;accent-color:var(--accent);margin:9px 0 6px;display:block}.render-result-time{font-variant-numeric:tabular-nums}.render-result-dismiss{margin-left:auto}.render-result-finished-video{border:1px solid var(--border);background:var(--surface-soft);border-radius:10px;width:min(100%,190px);margin-top:10px;padding:7px}.render-result-finished-video .render-output-video-shell{margin-top:0}.render-result-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;display:flex}.render-result-count{color:var(--muted);font-size:11px!important}.render-pending-clips{border-top:1px solid var(--border-soft);margin-top:14px;padding-top:12px}.render-pending-clips h3{margin:0 0 9px;font-size:13px}.render-pending-grid{flex-wrap:wrap;gap:9px;display:flex}.render-pending-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:9px;grid-template-columns:58px minmax(0,1fr);gap:7px;width:min(100%,220px);min-width:0;max-width:220px;padding:7px;display:grid}.render-pending-card.is-ready{flex-direction:column;gap:2px;width:190px;max-width:100%;display:flex}.render-pending-card.is-ready .render-output-video-shell{width:min(100%,140px)}.render-pending-card.is-ready .render-pending-body{padding:7px 3px 3px}.render-pending-thumb{width:58px;height:88px;color:var(--muted);background:#08090e;border-radius:5px;place-items:center;display:grid;overflow:hidden}.render-pending-thumb img{object-fit:cover;width:100%;height:100%}.render-pending-body{align-content:start;gap:4px;min-width:0;display:grid}.render-pending-title{flex-wrap:wrap;justify-content:space-between;gap:2px 5px;font-size:11px;display:flex}.render-pending-title span,.render-pending-body time{color:var(--muted);font-size:10px}.render-pending-discard{justify-self:start;padding:3px 5px;font-size:10px}.render-pending-body p{margin:0;font-size:10px;line-height:1.25}.render-result .render-pending-body progress{width:100%;height:4px;margin:3px 0 0}.render-scene-progress{padding:0 16px 12px}.render-scene-progress progress{width:100%;height:5px;accent-color:var(--accent);display:block}.render-result progress,.render-scene-progress progress{appearance:none;background:var(--raised);border:0;border-radius:999px;overflow:hidden}.render-result progress::-webkit-progress-bar{background:var(--raised)}.render-scene-progress progress::-webkit-progress-bar{background:var(--raised)}.render-result progress::-webkit-progress-value{background:var(--accent);border-radius:999px}.render-scene-progress progress::-webkit-progress-value{background:var(--accent);border-radius:999px}.render-result progress::-moz-progress-bar{background:var(--accent);border-radius:999px}.render-scene-progress progress::-moz-progress-bar{background:var(--accent);border-radius:999px}.render-result .primary-button{align-items:center;gap:8px;display:inline-flex}.render-final-output,.render-output-list{border-top:1px solid var(--border-soft);margin-top:18px;padding-top:16px}.render-output-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.render-final-output h3,.render-output-list h3{margin:0 0 10px;font-size:14px}.render-output-heading h3{margin:0}.render-final-output video{object-fit:contain;background:#08090e;border-radius:10px;width:100%;height:auto;max-height:410px;display:block}.render-final-layout{align-items:start;gap:20px;margin-top:12px;display:grid}.render-final-layout.is-portrait{grid-template-columns:minmax(0,230px) minmax(0,1fr)}.render-final-layout.is-landscape{grid-template-columns:minmax(0,390px) minmax(0,1fr)}.render-output-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,170px),190px));gap:10px;margin-top:10px;display:grid}.render-output-empty{color:var(--muted);margin:0;padding:12px;font-size:12px}.render-output-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:10px;flex-direction:column;min-width:0;max-width:190px;display:flex}.render-output-card video,.render-output-placeholder{width:min(100%,140px);max-height:250px;color:var(--muted);object-fit:contain;background:#08090e;border-radius:7px;margin:8px auto 0;display:block}.render-output-preview{min-width:0}.render-output-video-shell{width:min(100%,140px);margin:8px auto 0;position:relative}.render-output-video-shell video{width:100%;margin:0}.render-output-video-shell video::-webkit-media-controls-current-time-display{visibility:visible!important;opacity:1!important;font-size:10px!important;display:block!important}.render-output-video-shell video::-webkit-media-controls-time-remaining-display{visibility:visible!important;opacity:1!important;font-size:10px!important;display:block!important}.render-output-card-body{flex-direction:column;flex:1;gap:3px;min-width:0;padding:8px;font-size:11px;display:flex}.render-output-card-body strong{font-size:11px}.render-output-title-button{width:100%;min-width:0;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:0;display:flex}.render-output-title-button strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.render-output-title-button svg{color:var(--muted);flex:none}.render-output-title-button:hover svg,.render-output-title-button:focus-visible svg{color:var(--accent)}.render-rename-field{gap:5px;margin:12px 0;font-size:12px;display:grid}.render-rename-field input{border:1px solid var(--border);background:var(--surface-soft);width:100%;min-width:0;color:var(--text);font:inherit;border-radius:8px;padding:8px 10px;font-size:12px}.render-rename-note{color:var(--muted);font-size:11px}.render-output-card-body span{color:var(--muted)}.render-output-actions{justify-content:space-between;align-items:center;gap:2px;margin-top:auto;padding-top:7px;display:flex}.render-output-actions .render-output-delete{margin-left:auto}.render-enhance-options{gap:8px;margin-top:14px;display:grid}.render-enhance-option{border:1px solid var(--border);background:var(--surface-soft);width:100%;min-height:66px;color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:12px;grid-template-columns:36px minmax(0,1fr) 16px;align-items:center;gap:11px;padding:11px;display:grid}.render-enhance-option:hover:not(:disabled){border-color:var(--accent-border);background:var(--accent-bg)}.render-enhance-option:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.render-enhance-option:disabled{opacity:.55;cursor:wait}.render-enhance-icon{width:36px;height:36px;color:var(--accent);background:var(--accent-bg);border-radius:10px;place-items:center;display:grid}.render-enhance-copy{gap:3px;min-width:0;line-height:1.4;display:grid}.render-enhance-copy strong{font-size:13px;font-weight:600}.render-enhance-copy>span{color:var(--muted);font-size:12px;font-weight:400}.render-enhance-arrow{color:var(--muted)}.render-enhance-note{color:var(--muted);justify-content:center;align-items:center;gap:6px;margin-top:13px;font-size:11px;line-height:1.5;display:flex}.render-enhance-note svg{flex:none}.render-output-actions .icon-button{width:25px;height:30px;color:var(--muted);justify-content:center;align-items:center;display:flex}.render-output-actions .icon-button:hover{color:var(--accent)}.render-output-settings{min-width:0}.render-output-settings-list{gap:3px;margin:0;font-size:11px;line-height:1.3;display:grid}.render-output-settings-list>div{grid-template-columns:minmax(0,72px) minmax(0,1fr);gap:6px;display:grid}.render-output-settings-list dt{color:var(--muted)}.render-output-settings-list dd{overflow-wrap:anywhere;min-width:0;margin:0}.render-output-library-heading{align-items:center;gap:9px;display:flex}.render-output-library-heading h2{margin:0}.render-output-library-heading>span{color:var(--muted);font-size:12px}.render-output-filters{flex-wrap:wrap;gap:6px;margin:12px 0;display:flex}.render-output-filter{border:1px solid var(--border);color:var(--muted);background:var(--surface-soft);font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:5px;padding:6px 10px;font-size:11px;display:inline-flex}.render-output-filter[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:var(--accent-bg)}.render-output-filter span{font-variant-numeric:tabular-nums}.render-output-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.render-output-date{color:var(--muted);font-variant-numeric:tabular-nums;font-size:10px}.render-output-delete:hover{color:#ff8b9a}.render-info-dialog{border:1px solid var(--border);background:var(--surface);border-radius:14px;width:min(100%,440px);max-height:min(80vh,650px);padding:18px;overflow:auto;box-shadow:0 20px 60px #0000004d}.render-info-heading{justify-content:space-between;align-items:start;gap:12px;margin-bottom:8px;display:flex}.render-info-heading>div{gap:3px;min-width:0;display:grid}.render-info-heading span{overflow-wrap:anywhere;color:var(--muted);font-size:12px}.render-info-dialog .render-output-settings{margin-top:14px}.render-info-dialog .render-output-settings-list{gap:7px;font-size:12px}.render-info-dialog .render-output-settings-list>div{grid-template-columns:minmax(0,90px) minmax(0,1fr)}.render-creation-time-note{color:var(--muted);margin-top:3px;font-size:10px;display:block}.render-confirm-backdrop{z-index:300;background:#000000ad;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.render-confirm-dialog{border:1px solid var(--border);background:var(--surface);border-radius:14px;width:min(100%,420px);padding:22px;box-shadow:0 20px 60px #0000004d}.render-confirm-dialog h2{margin:0 0 10px}.render-confirm-dialog p{margin:0 0 18px}.render-enhance-dialog{border-radius:18px;width:min(100%,380px);max-height:calc(100dvh - 32px);padding:16px;overflow-y:auto}.render-enhance-dialog .render-info-heading{align-items:center;margin-bottom:0}.render-enhance-dialog .render-info-heading strong{font-size:16px;line-height:1.4}.render-enhance-dialog .render-info-heading span{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.render-enhance-dialog .render-info-heading .icon-button{flex:none;width:44px;height:44px;margin:-6px -6px -6px 0}.render-enhance-dialog .companion-error{margin:12px 0 0;font-size:12px}.render-confirm-actions{justify-content:flex-end;gap:8px;display:flex}.render-danger-button{color:#fff;background:#d64d66}.connection-check{border-top:1px solid var(--border-soft);margin-top:16px;padding-top:16px}.connection-check p{margin:10px 0 0;font-size:12px}.connection-check-spinning{animation:1s linear infinite connection-spin}@keyframes connection-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.connection-check-spinning{animation:none}}@media (width<=600px){.render-desk .companion-card{padding:12px}.render-scene-grid{grid-template-columns:100px minmax(0,1fr);gap:10px}.render-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.render-settings-summary{order:2;width:100%}.render-submit .primary-button{width:100%}.render-scene-name{width:0}}.render-desk .companion-intro h1{letter-spacing:-.035em;margin:8px 0;font-size:clamp(26px,3vw,34px)}.render-desk .companion-intro>p{margin:0;font-size:14px}.render-desk .companion-card{box-shadow:none;border-radius:14px}.render-section-title{align-items:center;gap:10px;display:flex}.render-section-title>svg{color:var(--accent)}.render-section-title h2{margin:0;font-size:15px}.render-section-title p{margin:3px 0 0;font-size:12px}.render-badge{background:var(--accent-bg);color:var(--accent);border-radius:6px;margin-left:auto;padding:5px 9px;font-size:11px}.render-video-settings .render-fields{margin-top:16px}.render-video-settings fieldset{margin:0}.render-advanced{color:var(--muted);margin-top:4px}.render-advanced summary{font-size:11px}.render-advanced p{margin-bottom:0;font-size:11px}.render-scene-heading{gap:8px;min-height:58px;padding:7px 10px}.render-scene-heading-thumb{width:32px;height:42px;color:var(--muted);background:var(--raised);border-radius:5px;flex:none;place-items:center;display:grid;overflow:hidden}.render-scene-heading-thumb img{object-fit:cover;width:100%;height:100%}.render-scene-heading-main{flex:1;gap:1px;min-width:0;display:grid}.render-desk .render-scene-heading-main .render-scene-name{width:100%;min-width:0;padding:2px 5px;font-size:12px}.render-scene-summary-line{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.render-scene-toggle{align-items:center;gap:4px;min-height:28px;padding:4px 7px;font-size:11px;display:inline-flex}.render-scene-toggle svg{transition:transform .15s}.render-scene-toggle svg.is-open{transform:rotate(180deg)}.render-scene-expanded[hidden]{display:none}.render-scene fieldset{gap:10px;padding:10px}:is(.render-scene-grid,.render-scene-grid:has(.render-image-prompt)){grid-template-columns:100px minmax(0,1fr);gap:10px}.render-image-prompt{grid-column:1/-1}.render-image-picker{min-height:105px}.render-image-prompt details:not([open]) textarea{display:none}.render-image-prompt details[open] textarea{height:145px}.render-timing{gap:8px;padding-top:8px}@media (width<=600px){.render-scene-heading{flex-wrap:wrap;padding:7px}.render-scene-heading-main{flex-basis:calc(100% - 100px)}.render-scene-heading .render-scene-time{order:0;width:auto;padding-left:0}}.render-desk .render-scene{padding:0;overflow:hidden}.render-scene-heading{background:var(--surface-soft);border-bottom:1px solid var(--border-soft);margin:0;padding:12px 16px}.render-scene fieldset{gap:16px;margin:0;padding:16px}.render-scene-time{white-space:nowrap;color:var(--muted);font-variant-numeric:tabular-nums;font-size:11px}.render-scene-grid{grid-template-columns:116px minmax(0,1fr);align-items:start}.render-image-picker{background:var(--surface-soft);min-height:174px}.render-image img{height:135px}.render-desk .render-prompt textarea{height:160px;min-height:160px}.render-image-prompt{background:0 0;border:none;min-width:0;padding:0}.render-image-prompt-heading{min-height:17px;margin:0 0 6px}.render-image-prompt-heading strong{font-size:12px;font-weight:500}.render-image-prompt-heading .secondary-button{min-height:17px;color:var(--accent);background:0 0;border:0;padding:0;font-size:11px}.render-image-prompt details{position:relative}.render-image-prompt summary{font-size:11px}.render-image-prompt textarea{height:139px;margin-top:5px}.render-desk textarea{font-size:12px}.render-timing{border-top:1px solid var(--border-soft);grid-template-columns:1.3fr 1.3fr 1fr 1fr auto;align-items:end;gap:10px;padding-top:12px;display:grid}.render-timing .companion-field>span{color:var(--muted);font-size:11px}.render-cut-result{min-height:34px;color:var(--accent);white-space:nowrap;align-items:baseline;gap:5px;padding:8px 0;font-size:13px;font-weight:600;display:flex}.render-cut-result small{color:var(--muted);font-size:11px;font-weight:400}.render-scene-footer{margin:0;padding:0 16px 12px}.render-submit{border-color:var(--accent-border);background:var(--surface-soft)}.render-submit>div{flex:1}.render-result{border-color:var(--accent-border)}@media (width<=900px){.render-scene-grid:has(.render-image-prompt){grid-template-columns:100px minmax(0,1fr)}.render-image-prompt{grid-column:1/-1}.render-image-prompt textarea{height:112px}.render-timing{grid-template-columns:repeat(4,minmax(0,1fr))}.render-cut-result{grid-column:1/-1;min-height:0;padding:0}}@media (width<=600px){.render-scene-heading{flex-wrap:wrap;gap:4px;padding:10px}.render-scene-time{order:4;width:100%;padding-left:34px}.render-scene fieldset{padding:12px}.render-timing{grid-template-columns:repeat(2,minmax(0,1fr))}.render-scene-tools .icon-button{width:30px}.render-image-picker{min-height:174px}.render-section-title{align-items:flex-start}.render-badge{font-size:10px}}.render-video-settings{border-color:var(--accent-border)}.render-video-settings .render-section-title{border-bottom:1px solid var(--border-soft);justify-content:space-between;padding-bottom:12px}.render-settings-recap{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums;font-size:11px}.render-choice-group{min-width:0}.render-choice-label{color:var(--muted);letter-spacing:.11em;text-transform:uppercase;margin:0 0 7px;font-size:10px;font-weight:750;display:block}.render-choice-row{border:1px solid var(--border);background:var(--surface-soft);border-radius:10px;gap:5px;padding:5px;display:flex}.render-choice{min-width:0;min-height:60px;color:var(--text);cursor:pointer;text-align:left;font:inherit;background:0 0;border:1px solid #0000;border-radius:7px;flex:1 1 0;align-content:center;gap:3px;padding:8px 10px;display:grid}.render-choice strong{font-size:12px;font-weight:650}.render-choice small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:10px}.render-choice:hover:not(:disabled),.render-choice:focus-visible{border-color:var(--accent-border);outline:none}.render-choice[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:var(--accent-bg)}.render-choice[aria-pressed=true] small{color:var(--accent)}.render-choice:disabled{opacity:.45;cursor:not-allowed}.render-choice-row.is-compact .render-choice{text-align:center;min-height:38px}.render-seed{max-width:210px}.render-seed small{color:var(--muted);font-weight:400}.render-timing{align-items:end;gap:10px;display:flex}.render-timing .companion-field{flex:0 180px}.render-cut-result{margin-left:auto}@media (width<=600px){.render-choice-row{flex-wrap:wrap}.render-choice{flex-basis:calc(50% - 5px)}.render-settings-recap{white-space:normal;text-align:right}.render-timing{flex-wrap:wrap}}.render-video-settings .render-section-title{grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding-bottom:8px;display:grid}.render-setup-toggle{color:inherit;cursor:pointer;text-align:left;font:inherit;background:0 0;border:0;align-items:center;gap:5px;padding:0;display:inline-flex}.render-setup-heading{align-items:center;gap:10px;min-width:0;display:flex}.render-setup-heading h2{flex:none}.render-setup-summary{grid-column:1;line-height:1.5}.render-settings-recap{grid-area:1/2/span 2}.render-preset-heading{color:var(--text);font-weight:650}.render-preset-controls{gap:4px;display:flex}.render-preset-button{border:1px solid var(--border);min-height:26px;color:var(--muted);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border-radius:6px;padding:3px 7px;font-size:10px;font-weight:650}.render-preset-button:hover:not(:disabled),.render-preset-button:focus-visible{border-color:var(--accent);color:var(--accent)}.render-preset-button[aria-pressed=true]{border-color:var(--accent-border);color:var(--accent);background:var(--accent-bg)}.render-preset-button:disabled{opacity:.45;cursor:not-allowed}.render-preset-note{color:var(--muted);grid-column:1/-1;font-size:11px}@media (width<=600px){.render-setup-heading{grid-column:1/-1;gap:8px}.render-settings-recap{grid-row:2;align-self:center}}.render-setup-toggle svg{color:var(--accent);flex:none;transition:transform .16s}.render-setup-toggle[aria-expanded=false] svg{transform:rotate(-90deg)}.render-setup-toggle:hover,.render-setup-toggle:focus-visible{color:var(--accent)}.render-video-settings fieldset[hidden]{display:none}.render-video-settings fieldset{gap:8px;padding-top:9px}.render-settings-recap{text-align:right;gap:1px;display:grid}.render-settings-recap strong{color:var(--accent);font-variant-numeric:tabular-nums;font-size:14px}.render-settings-recap small{color:var(--muted);font-size:10px;font-weight:400}.render-setup-grid{grid-template-columns:minmax(0,1.28fr) minmax(0,1fr);gap:14px;display:grid}.render-setup-main,.render-setup-side{align-content:start;gap:8px;min-width:0;display:grid}.render-choice-label{margin-bottom:4px;font-size:9px}.render-choice-row{gap:3px;padding:3px}.render-choice{text-align:center;gap:1px;min-height:53px;padding:5px 7px}.render-choice strong{font-size:11px}.render-choice small{font-size:9px}.render-choice em{color:var(--muted);font-variant-numeric:tabular-nums;font-size:10px;font-style:normal;font-weight:650}.render-choice[aria-pressed=true] em{color:var(--accent)}.render-choice-row.is-compact .render-choice{min-height:30px}.render-seed{flex-direction:row;justify-content:space-between;align-items:center;gap:8px;max-width:none;display:flex!important}.render-seed>span{white-space:nowrap}.render-seed input{max-width:135px}@media (width<=720px){.render-setup-grid{grid-template-columns:1fr;gap:8px}.render-setup-side{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.render-setup-side .render-seed{grid-column:1/-1}}@media (width<=600px){.render-choice-row{flex-wrap:nowrap}.render-choice{flex-basis:0}.render-setup-side{grid-template-columns:1fr}.render-settings-recap{white-space:normal}}.render-page-title,.image-page-title,.editor-page-title{align-items:center;gap:8px;display:flex}.render-page-title h1,.image-page-title h1,.editor-page-title h1{margin-right:2px!important}.render-page-title .icon-button,.image-page-title .icon-button,.editor-page-title .icon-button{width:32px;height:32px}.render-import{border-color:var(--accent-border);background:linear-gradient(135deg, var(--accent-bg), var(--surface) 44%)}.render-intake-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:14px;display:grid}.render-intake-grid>.companion-card{min-width:0;padding:14px}.render-response-import{flex-direction:column;display:flex}.render-import-heading{align-items:center;gap:11px;margin-bottom:10px;display:flex}.render-import-icon{width:38px;height:38px;color:var(--accent);background:var(--accent-bg);border-radius:10px;flex:none;place-items:center;display:grid}.render-import-heading h2{margin:0;font-size:16px}.render-import-heading p{margin:2px 0 0;font-size:12px}.render-import textarea{height:82px;min-height:82px;font-size:13px!important}.render-response-import .companion-field{margin-bottom:8px}.render-import .primary-button{width:fit-content;margin:12px 0 0 auto;display:flex}.render-response-import .primary-button{margin-top:auto}.render-start-prompt-title{flex:1;min-width:0}.render-start-prompt-actions{flex:none;gap:4px;margin-left:auto;display:flex}.render-start-prompt-actions .icon-button{width:36px;height:36px;color:var(--accent)}.render-start-prompt .video-prompt-output{resize:vertical;width:100%;height:82px;min-height:82px;display:block;overflow:auto}.render-start-prompt-chat{justify-content:flex-end;margin-top:8px;display:flex}@media (width<=767px){.render-intake-grid{grid-template-columns:1fr}}@media (width<=600px){.render-final-layout{grid-template-columns:1fr!important}.render-final-layout video{width:min(100%,240px)}.render-output-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,145px),1fr))}.render-output-video-shell{width:min(100%,125px)}.render-output-card video{max-height:223px}}.render-desk .render-manual{padding:0}.render-manual-title{color:var(--text);align-items:center;gap:6px;padding:8px 12px;font-size:12px;font-weight:600;list-style:none;display:flex}.render-manual-title::-webkit-details-marker{display:none}.render-manual-title svg{color:var(--muted);flex:none;transform:rotate(-90deg)}.render-manual[open]>.render-manual-title svg{transform:none}.render-manual-content{flex-wrap:wrap;align-items:center;gap:10px;padding:0 12px 10px;display:flex}.render-manual .render-add-scenes select,.render-manual .render-add-scenes .secondary-button{min-height:34px}@media (width<=600px){.render-import-heading{align-items:flex-start}}.render-scene-heading-thumb{cursor:pointer;flex-direction:column;position:relative}.render-scene-heading-thumb.is-empty{width:auto;min-width:42px;max-width:130px;color:var(--accent);background:var(--accent-bg);flex-direction:row;gap:5px;padding:0 7px;display:flex}.render-scene-heading-thumb.is-empty span{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.render-scene-heading-thumb.is-dragging{color:var(--accent);background:var(--accent-bg);outline:2px dashed var(--accent);outline-offset:2px}.render-scene-heading-thumb.is-empty.is-dragging{width:min(130px,30vw)}.render-scene-heading-thumb.is-dragging span{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.render-scene-heading-thumb input[type=file]{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.render-scene-heading-thumb:focus-within{outline:2px solid var(--accent);outline-offset:2px}.render-scene-title-row{align-items:center;gap:2px;min-width:0;display:flex}.render-scene-title-button{min-width:0;max-width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:5px;padding:2px 4px;font-size:12px;font-weight:650;display:inline-flex}.render-scene-title-button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.render-scene-title-button svg{color:var(--muted);flex:none;transition:transform .15s}.render-scene-title-button svg.is-open{transform:rotate(180deg)}.render-scene-title-button:hover,.render-scene-title-button:focus-visible,.render-scene-rename:hover,.render-scene-copy-image:hover,.render-scene-copy-video:hover{color:var(--accent)}.render-scene-rename,.render-scene-copy-image,.render-scene-copy-video{width:26px;height:26px;color:var(--muted);flex:none}.render-scene-copy-image.is-copied,.render-scene-copy-video.is-copied{color:var(--accent)}.render-desk .render-scene-title-row .render-scene-name{border-color:var(--border);background:var(--surface);flex:none;width:min(100%,340px);min-width:0}.render-scene-grid:has(.render-image-prompt){grid-template-columns:100px minmax(0,1fr) minmax(0,1fr)}.render-scene-grid:not(:has(.render-image-prompt)){grid-template-columns:100px minmax(0,650px)}.render-scene-grid .render-image-prompt{grid-column:auto}.render-image-prompt textarea{width:100%;height:160px;min-height:160px;margin-top:0;display:block}@media (width<=767px){.render-scene-grid:has(.render-image-prompt){grid-template-columns:100px minmax(0,1fr)}.render-scene-grid .render-image-prompt{grid-column:1/-1}}@media (width<=600px){.render-scene-heading-thumb.is-empty{max-width:42px}.render-scene-heading-thumb.is-dragging{max-width:130px}.render-scene-heading-thumb.is-empty span{display:none}}.production-details{overflow-wrap:anywhere;margin-block:16px}.production-details>details{padding-block:10px}.production-details summary{cursor:pointer;font-weight:600}.production-details p,.production-scene-plan p{margin-block:8px}.production-details textarea{width:100%;margin-block:8px}.production-import-report{border:1px solid var(--border);border-radius:8px;margin-block:12px;padding:12px;font-size:13px;line-height:1.5}.production-import-report ul{gap:8px;margin-block:10px;padding-left:18px;list-style:outside;display:grid}.production-import-report code{color:var(--muted);font-size:11px;display:block}.production-scene-plan{border:1px solid var(--border);overflow-wrap:anywhere;border-radius:10px;margin-bottom:14px;padding:12px;font-size:13px}.render-intake-grid{align-items:start;gap:8px}.render-desk .render-intake-grid>.companion-card,.render-desk .production-details,.render-desk .render-video-settings,.render-desk .render-submit{padding:8px 10px}.render-start-prompt,.render-response-import{position:relative}.render-response-import.is-dragging{outline:2px solid var(--accent);outline-offset:-2px}.render-start-prompt-actions,.render-response-actions{gap:2px;display:flex;position:absolute;top:8px;right:10px}.render-start-prompt-actions .icon-button,.render-start-prompt-actions .chat-logo-link,.render-response-actions .icon-button{border:0;width:28px;min-width:28px;height:32px;min-height:32px;padding:5px}.render-start-prompt-actions .chat-links{gap:2px}.render-start-prompt-actions .chat-logo-chatgpt,.render-start-prompt-actions .chat-logo-grok,.render-start-prompt-actions .chat-logo-link img{width:18px;height:18px}.render-start-prompt-disclosure>summary,.render-response-disclosure>summary{cursor:pointer;align-items:center;gap:4px;min-height:32px;padding-right:154px;line-height:32px;list-style:none;display:flex}.render-start-prompt-disclosure>summary::-webkit-details-marker{display:none}.render-response-disclosure>summary::-webkit-details-marker{display:none}.render-start-prompt-disclosure>summary h2,.render-response-disclosure>summary h2{white-space:nowrap;text-overflow:ellipsis;min-width:0;margin:0;font-size:14px;overflow:hidden}.render-start-prompt-disclosure>summary>svg,.render-response-disclosure>summary>svg{flex:none}.render-start-prompt-disclosure:not([open])>summary>svg,.render-response-disclosure:not([open])>summary>svg{transform:rotate(-90deg)}.render-response-disclosure .companion-field{margin:6px 0 0}.render-start-prompt-disclosure .video-prompt-output{margin-top:8px}.render-import-heading{gap:6px;min-height:32px;margin-bottom:6px}.render-import-heading>div{flex:1;min-width:0}.render-import-heading h2{font-size:14px}.render-import-icon{border-radius:6px;width:24px;height:24px}.render-import-icon svg{width:16px;height:16px}.render-response-import .companion-field{margin:0 0 6px}.render-response-import textarea{height:64px;min-height:64px;padding:7px 9px}.render-response-import .render-import-actions{gap:6px}.render-response-import .render-import-actions>button,.render-submit .primary-button{min-height:32px;margin:0;padding:6px 10px;font-size:12px;line-height:1.35}.render-desk .production-details{grid-template-columns:auto minmax(0,1fr);gap:4px 12px;margin-block:0;display:grid}.production-details>h2{margin:0;font-size:14px;line-height:32px}.production-details>details{grid-column:2;min-width:0;padding:0}.production-details>details>summary{white-space:nowrap;text-overflow:ellipsis;min-height:32px;font-size:12px;line-height:32px;overflow:hidden}.production-details>details[open],.production-details>p{grid-column:1/-1}.production-details>details[open]>summary{white-space:normal;line-height:1.5}.render-video-settings .render-section-title{border:0;gap:4px 8px;padding-bottom:0}.render-video-settings .render-setup-heading{grid-column:1;gap:6px}.render-video-settings .render-setup-heading h2{font-size:14px}.render-video-settings .render-settings-recap{grid-row:1;align-self:center}.render-video-settings .render-setup-summary[hidden]{display:none}.render-video-settings .render-setup-summary{grid-column:1/-1}.render-scene-heading{padding:8px 10px}.render-submit{gap:6px 12px}.render-submit .render-hint,.render-submit p{margin:3px 0 0;font-size:11px}@media (width<=359px){.render-video-settings .render-section-title{grid-template-columns:1fr}.render-video-settings .render-settings-recap{text-align:left;grid-area:auto/1;gap:6px;display:flex}.render-start-prompt-disclosure>summary h2,.render-response-disclosure>summary h2{font-size:12px}}.image-intro{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.image-intro h1{margin:0;font-size:28px}.image-model-status{align-items:center;gap:12px;min-width:0;display:flex}.image-model-info{min-width:0}.image-model-info strong,.image-model-sizes,.image-model-sizes span,.image-model-actions{align-items:center;gap:5px;display:flex}.image-model-info strong{font-size:12px;font-weight:500}.image-model-info strong.is-loaded{color:var(--success)}.image-model-sizes{color:var(--muted);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:4px 12px;margin-top:4px;font-size:10px}.image-model-actions .icon-button{width:34px;height:34px;color:var(--accent)}.image-workspace{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.image-composer,.image-output{min-width:0;padding:12px}.image-composer{margin:0}.image-target-note{color:var(--muted);overflow-wrap:anywhere;margin:0 0 8px;font-size:11px;line-height:1.45}.image-activity-spinner{animation:1.2s linear infinite image-activity}@keyframes image-activity{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.image-activity-spinner{animation:none}}.image-progress-timing{flex-wrap:wrap;justify-content:space-between;gap:4px 10px;width:100%;display:flex}.image-working .image-progress-timing p{max-width:none;margin:0;font-size:11px}.image-job-settings{text-align:left;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px;margin:6px 0 0;display:grid}.image-job-settings dt{color:var(--muted);font-size:10px}.image-job-settings dd{overflow-wrap:anywhere;margin:3px 0 0;font-size:11px}.image-section-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.image-section-heading h2{letter-spacing:-.3px;font-size:14px;font-weight:620}.image-section-heading h3{font-size:12px;font-weight:600}.image-section-heading>span{color:var(--muted);font-size:10px}.image-settings-row label{color:var(--muted);flex-direction:column;gap:5px;font-size:12px;display:flex}.image-prompt-input,.image-settings-row select,.image-settings-row input{border:1px solid var(--border);background:var(--surface-soft);color:var(--text);border-radius:9px;width:100%;min-width:0;padding:8px 10px}.image-prompt-input{resize:vertical;min-height:82px;font-size:13px;line-height:1.5}.image-prompt-input::placeholder{color:var(--faint)}.image-references{border-bottom:1px solid var(--border-soft);margin:8px 0;padding-bottom:8px}.image-references .image-section-heading{margin-bottom:6px}.image-reference-actions{flex-wrap:wrap;gap:8px;margin-bottom:6px;display:flex}.image-reference-actions .secondary-button,.image-reference-actions .text-button{min-height:32px;padding:6px 8px;font-size:11px}.image-references .companion-footnote{margin:0;font-size:10px;line-height:1.45}.image-reference-grid{flex-wrap:wrap;gap:8px;margin-bottom:8px;display:flex}.image-reference{width:56px;height:60px;position:relative}.image-reference img{object-fit:cover;border:1px solid var(--border);border-radius:8px;width:100%;height:100%}.image-reference>span{color:#fff;background:#111114db;border-radius:3px;padding:1px 4px;font-size:10px;position:absolute;bottom:5px;left:5px}.image-reference .icon-button{color:#fff;background:#111114e6;width:23px;height:23px;position:absolute;top:4px;right:4px}.image-settings-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.image-settings-row select,.image-settings-row input{min-height:36px;font-size:12px}.image-dimensions{color:var(--faint);margin:6px 0 10px;font-size:10px;display:block}.image-advanced{border-top:1px solid var(--border-soft);margin:0 0 8px}.image-job-details{border-top:1px solid var(--border-soft);margin-top:8px}.image-advanced summary,.image-job-details summary{cursor:pointer;color:var(--muted);align-items:center;gap:6px;min-height:32px;padding:8px 0;font-size:12px;list-style:none;display:flex}.image-advanced summary::-webkit-details-marker{display:none}.image-job-details summary::-webkit-details-marker{display:none}.image-advanced summary:after,.image-job-details summary:after{content:"+";color:var(--faint);margin-left:auto}.image-advanced[open] summary:after,.image-job-details[open] summary:after{content:"−"}.image-advanced .companion-footnote{margin-top:6px;font-size:10px;line-height:1.45}.image-unload-setting{cursor:pointer;align-items:center;gap:6px;margin:8px 0;font-size:11px;display:flex}.image-unload-setting input{width:16px;height:16px;accent-color:var(--accent-strong)}.image-generate{width:100%;min-height:36px;padding:8px 12px}.image-download-note{color:var(--muted);gap:8px;margin-top:8px;font-size:10px;line-height:1.45;display:flex}.image-download-note svg{flex-shrink:0;margin-top:3px}.image-canvas{border:1px solid var(--border-soft);background:var(--surface-soft);border-radius:10px;width:100%;min-height:140px;overflow:hidden}.image-empty,.image-working{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:16px;display:flex}.image-empty>svg{color:var(--accent)}.image-canvas h3{font-size:14px;font-weight:550;line-height:1.5}.image-canvas p{color:var(--muted);max-width:310px;font-size:12px;line-height:1.45}.image-working-icon{background:var(--accent-bg);width:40px;height:40px;color:var(--accent);border-radius:12px;place-items:center;display:grid}.image-working progress{width:100%;height:6px;accent-color:var(--accent);border:0;border-radius:4px;margin-top:6px;overflow:hidden}.image-working progress::-webkit-progress-bar{background:var(--raised)}.image-working progress::-webkit-progress-value{background:var(--accent)}.image-progress-footer{width:100%;color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;font-size:12px;display:flex}.image-result-preview{cursor:zoom-in;background-image:repeating-conic-gradient(var(--surface-soft) 0% 25%, var(--raised) 0% 50%);background-size:16px 16px;padding:0;display:flex}.image-result-preview img{object-fit:contain;width:100%;max-height:320px}.image-result-meta{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:10px;padding:8px 0;font-size:10px;display:flex}.image-result-meta>span:last-child{color:var(--success)}.image-result-actions{flex-wrap:wrap;gap:9px;display:flex}.image-result-actions .secondary-button{min-height:36px;padding:8px 11px;font-size:11px}.image-result-actions .text-button{min-height:32px;font-size:11px}.image-notice{color:var(--muted);margin-top:8px;font-size:11px}.image-library{margin:28px 0}.image-template-action{text-align:left;justify-content:flex-start;gap:6px;min-height:38px;margin-top:6px;padding:6px 3px;font-size:11px}.image-template-action svg{flex-shrink:0}.image-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;display:grid}.image-gallery-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;min-width:0;padding:9px;display:flex}.image-thumbnail{aspect-ratio:1;background:var(--surface-soft);border-radius:7px;width:100%;padding:0;display:block;position:relative;overflow:hidden}.image-thumbnail img{object-fit:contain;width:100%;height:100%}.image-expand{color:#fff;background:#111114bb;border-radius:5px;padding:5px;position:absolute;bottom:8px;right:8px}.image-gallery-caption{padding:11px 3px}.image-gallery-caption p,.image-title-button>span{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:12px;line-height:1.6;display:-webkit-box;overflow:hidden}.image-title-button>span{flex:1;min-width:0}.image-gallery-caption>span{color:var(--muted);margin-top:6px;font-size:9px;display:block}.image-gallery-actions{justify-content:space-between;align-items:center;gap:2px;margin-top:auto;padding-top:4px;display:flex}.image-gallery-actions .icon-button{flex-shrink:1;justify-content:center;align-items:center;width:32px;min-width:24px;height:36px;text-decoration:none;display:inline-flex}.image-gallery-actions .icon-button:hover{color:var(--accent)}.image-gallery-actions .image-gallery-delete:hover{color:var(--danger)}.modal>.image-gallery-actions{max-width:320px;margin-top:12px}.image-delete-caption{color:var(--muted);-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:12px;display:-webkit-box;overflow:hidden}.primary-button.image-delete-confirm{color:#fff;background:#a92d45}.primary-button.image-delete-confirm:hover{background:#92233b}.image-full-preview{margin-bottom:20px}.image-full-preview img{object-fit:contain;background:var(--surface-soft);border-radius:8px;width:100%;max-height:65vh}.modal:has(.image-full-preview){width:min(95vw,960px)}.image-detail-prompt{white-space:pre-wrap;overflow-wrap:anywhere;margin:18px 0 12px;font-size:13px;line-height:1.7}.image-local-launch{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:24px 16px;display:flex}.image-local-launch>svg{color:var(--accent)}.image-page a.primary-button,.image-result-actions a{justify-content:center;align-items:center;gap:8px;text-decoration:none;display:inline-flex}.image-local-launch p{max-width:470px;color:var(--muted);font-size:12px;line-height:1.45}.image-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.image-picker button{border:1px solid var(--border);border-radius:8px;flex-direction:column;min-width:0;padding:8px;display:flex;overflow:hidden}.image-picker img{object-fit:contain;width:100%;height:110px}.image-picker span{word-break:break-word;font-size:11px}@media (width<=1000px){.image-job-settings,.image-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.image-workspace{grid-template-columns:1fr}.image-intro{flex-wrap:wrap;align-items:flex-start}.image-model-status{flex:240px;justify-content:space-between}.image-model-actions .icon-button{width:40px;height:40px}.image-canvas{min-height:140px}.image-composer,.image-output{padding:12px}.image-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=370px){.image-gallery-grid{grid-template-columns:1fr}}.image-page input[type=file]{display:none}.image-gallery-actions{flex-wrap:nowrap;justify-content:space-between;gap:0;width:100%;max-width:180px}.image-gallery-actions>.icon-button{width:32px;min-width:24px;height:30px;min-height:30px;color:var(--muted);border:0;flex:0 32px;padding:0}.image-gallery-actions>.icon-button:hover{color:var(--accent);background:var(--accent-bg)}.image-gallery-actions>.image-delete-button:hover{color:var(--danger)}.image-gallery-card{flex-direction:column;display:flex}.image-gallery-card .image-gallery-actions{margin-top:auto;padding:0}.image-library-heading-actions{color:var(--muted);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;font-size:10px;display:flex}.image-library-heading-actions .text-button{min-height:30px;font-size:11px}.image-library>.image-section-heading{flex-wrap:wrap}.image-library-heading-actions .icon-button{width:30px;height:30px}.video-workflow-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.video-workflow-heading h2,.video-automation-start h2{letter-spacing:-.025em;margin:7px 0;font-size:18px}.video-workflow-heading p,.video-automation-start p{margin:4px 0 12px;font-size:12px}.video-count{color:var(--muted);border:1px solid var(--border);border-radius:20px;padding:7px 10px;font-size:12px}.video-workflow-actions,.video-scene-image-action{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.video-scene-image-action>.video-generation-settings{flex:1;width:auto}.video-scene-image-action>.video-generation-settings:has(details[open]){flex-basis:100%}.render-desk .video-references{padding:10px}.video-references>fieldset{gap:0}.video-references .video-workflow-options{margin-top:8px;padding-top:8px}.video-reference-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.video-reference-heading h2{margin:0;font-size:14px}.video-reference-add-button{gap:3px;min-height:32px;padding:4px 6px;font-size:12px}.video-reference-add{gap:6px;margin-bottom:8px;display:grid}.video-reference-role-choices{flex-wrap:wrap;gap:6px;display:flex}.video-reference-role-choices .secondary-button{min-height:34px;padding:6px 10px;font-size:12px}.video-reference-add select{width:fit-content;max-width:100%}.video-reference-description p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0}.video-reference-description{font-size:12px}.video-generation-settings{border:0;width:100%;min-width:0;margin:0;padding:0}.video-generation-settings .video-workflow-options{border:0;margin:0 0 6px;padding:4px 0}.reference-image-field{border:1px solid var(--border);background:var(--surface-soft);border-radius:9px;min-width:0;overflow:hidden}.video-references .reference-image-upload{flex-direction:row;gap:6px;min-height:44px;padding:7px}.video-references .reference-image-upload>svg{flex-shrink:0;width:16px;height:16px}.video-references .reference-image-upload small{display:none}.video-references .reference-library-button{min-height:28px;padding:4px;font-size:10px}.reference-character-options .companion-field{margin-bottom:10px}.reference-character-options h3{margin:20px 0 0;font-size:12px}.reference-image-upload{cursor:pointer;text-align:center;min-height:95px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:10px;display:flex;position:relative}.reference-image-upload>svg{color:var(--accent)}.reference-image-upload>span{color:var(--text);font-size:12px;font-weight:550}.reference-image-upload small{font-size:10px}.reference-image-upload input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.reference-image-upload img{object-fit:contain;width:56px;height:46px}.reference-image-field.is-dragging,.reference-image-upload:focus-within{background:var(--accent-bg);outline:2px solid var(--accent);outline-offset:-2px}.reference-image-upload.is-disabled{opacity:.5}.reference-library-button{width:100%;min-height:40px;color:var(--muted);border-top:1px solid var(--border);justify-content:center;gap:5px;padding:7px 8px;font-size:11px}.reference-library-button:hover{color:var(--accent);background:var(--accent-bg)}.reference-image-field>.companion-error{padding:8px;font-size:11px}.reference-library-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px;margin-top:16px;display:grid}.reference-library-grid button{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;flex-direction:column;gap:6px;min-width:0;padding:8px;font-size:11px;display:flex}.reference-library-grid button:hover{border-color:var(--accent)}.reference-library-grid img{object-fit:contain;width:100%;height:90px}.reference-library-grid button>span{text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden}.video-reference-grid{grid-template-columns:minmax(0,1fr);align-items:start;gap:4px;display:grid}.video-reference-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:9px;align-self:start;min-width:0}.video-reference-top{align-items:center;gap:4px;min-height:52px;padding:5px;display:flex}.video-reference-actions{flex-shrink:0;align-items:center;gap:0;display:flex}.video-reference-actions .icon-button{flex-shrink:0;width:30px;height:32px}.video-reference-image{flex-shrink:0;width:74px}.video-reference-image .reference-image-field{border-radius:6px;flex-wrap:wrap;display:flex}.video-reference-image .reference-image-upload{flex:1;min-width:0;min-height:36px;padding:3px}.video-reference-image .reference-image-upload>span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.video-reference-image .reference-image-upload img{width:36px;height:30px}.video-reference-image .reference-library-button{border-top:0;border-left:1px solid var(--border);gap:0;width:30px;min-height:36px;padding:3px;font-size:0}.video-reference-image .companion-error{overflow-wrap:anywhere}.video-reference-toggle{text-align:left;flex:1;gap:7px;min-width:0;padding:0;display:flex}.video-reference-toggle>span:not(.video-reference-empty){flex:1;min-width:0}.video-reference-toggle strong,.video-reference-toggle small{white-space:normal;overflow-wrap:anywhere;display:block}.video-reference-toggle strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;font-weight:550;line-height:1.4;display:-webkit-box;overflow:hidden}.video-reference-toggle small{color:var(--muted);margin-top:2px;font-size:10px}.video-reference-toggle[aria-expanded=true]>svg{transform:rotate(180deg)}.video-reference-toggle>svg{flex-shrink:0;width:14px}.video-reference-top img,.video-reference-empty{object-fit:contain;background:var(--surface);width:32px;height:36px;color:var(--muted);border-radius:6px;flex-shrink:0;place-items:center;display:grid}.video-reference-details{border-top:1px solid var(--border);gap:8px;padding:8px;display:grid}.video-reference-details[hidden]{display:none}.video-reference-details .companion-field{margin:0}.companion-field .video-reference-name{resize:none;overflow:hidden}.video-reference-prompt-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.video-reference-prompt-heading label{min-width:0}.video-reference-prompt-heading .icon-button{flex-shrink:0;width:32px;height:32px}.video-reference-details>p{margin:0;font-size:12px}.video-settings-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.video-reference-card .video-settings-row{grid-template-columns:1fr 90px}.video-workflow-options{border-top:1px solid var(--border);margin-top:12px;padding-top:12px}.video-workflow-options summary{cursor:pointer;font-size:12px;font-weight:600}.video-workflow-options-body{gap:12px;padding-top:14px;display:grid}.video-workflow-options-body p{margin:0;font-size:12px}.video-check{align-items:center;gap:8px;font-size:12px;line-height:1.5;display:flex}.video-check input{accent-color:var(--accent);flex-shrink:0;width:16px;height:16px}.video-scene-references{border:1px solid var(--border);border-radius:8px;gap:8px;padding:12px;display:grid}.video-scene-references>strong{font-size:12px}.video-scene-image-action{padding:10px 0 0;font-size:12px}.render-desk .video-workflow-panel{border-color:var(--accent);gap:8px;padding:10px 12px;display:grid}.video-workflow-heading>div{min-width:0}.video-workflow-heading h2{margin:0;font-size:14px}.video-workflow-heading p{white-space:nowrap;text-overflow:ellipsis;margin:2px 0 0;font-size:11px;overflow:hidden}.video-workflow-cancel{flex-shrink:0;width:32px;height:32px}.video-workflow-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 20px;display:flex}.render-desk .video-review-options,.render-desk .video-quality-settings{margin:0}.render-desk .video-review-options.is-compact{flex-wrap:wrap;align-items:center;gap:4px 12px;font-size:11px;display:flex}.video-review-options.is-compact>span{color:var(--muted)}.video-review-options.is-compact .video-check{gap:5px;min-height:28px;font-size:11px}.video-workflow-stages{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.video-workflow-stages li{color:var(--muted);border-top:2px solid var(--border);align-items:center;gap:5px;padding-top:3px;font-size:11px;display:flex}.video-workflow-stages li.is-current{color:var(--text);border-color:var(--accent)}.video-workflow-progress progress{width:100%;height:4px;accent-color:var(--accent);display:block}.video-workflow-progress p,.video-workflow-panel>p{margin:0 0 4px;font-size:11px}.video-review-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr));gap:10px;margin:0;display:grid}.video-review-grid article{align-content:start;gap:8px;font-size:12px;display:grid}.video-review-grid img{aspect-ratio:3/4;object-fit:contain;background:var(--surface-soft);border-radius:9px;width:100%;max-height:150px;display:block}.video-automation-start{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.render-import-actions{justify-content:flex-end;align-items:stretch;gap:8px;margin-top:auto;display:flex}.render-import-actions>button{flex:1;justify-content:center}.render-import-actions>.primary-button{margin:0}@media (width<=600px){.video-reference-grid{grid-template-columns:minmax(0,1fr)}.video-workflow-heading{gap:8px}.video-workflow-controls{gap:6px;display:grid}.video-workflow-stages li{font-size:10px}.video-workflow-actions{width:100%}.video-workflow-actions>button{flex:1}}.render-desk .render-scene .video-generation-settings{gap:0;margin:0;padding:0}.video-scene-image-action{gap:6px;padding:5px 10px}.video-scene-image-action .video-workflow-options{margin:0;padding:0}.video-scene-image-action .video-workflow-options>summary{min-height:28px;font-size:11px;line-height:28px}.video-scene-image-action>button{min-height:28px;padding:4px 8px;font-size:11px;line-height:1.35}.render-desk .video-create{gap:6px;padding:10px 12px;display:grid}.video-create>strong{font-size:14px}.video-create .video-workflow-options{margin:0;padding:0}.video-create .video-workflow-options>summary{font-size:11px;line-height:28px}.video-create-hints:empty{display:none}.video-create-actions{flex-wrap:wrap;gap:6px;display:flex}.video-create-actions>button,.video-create-actions>a{flex:1;justify-content:center;min-height:34px;padding:6px 10px;font-size:12px}.render-response-disclosure>summary{padding-right:64px}.render-response-apply{margin:4px 12px 8px;font-size:12px}.video-reference-image{width:84px}.video-image-field{border-radius:7px;flex:0 0 84px;grid-template-columns:56px 28px;align-items:start;width:84px;display:grid;position:relative}.video-image-native-paste{border:1px dashed var(--accent-border);background:var(--surface-soft);min-height:112px;color:var(--text);cursor:text;-webkit-user-select:text;user-select:text;-webkit-touch-callout:default;border-radius:10px;padding:16px;font-size:16px;line-height:1.5}.video-image-native-paste:empty:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}.video-image-native-paste:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.video-image-thumb{border:1px solid var(--border);background:var(--accent-bg);width:56px;height:56px;color:var(--accent);cursor:pointer;border-radius:7px;place-items:center;padding:0;display:grid;overflow:hidden}.video-image-thumb img{object-fit:contain;cursor:grab;width:54px;height:54px}.video-image-tools{align-self:center;display:grid}.video-image-tools .icon-button{width:28px;height:28px;min-height:0}.video-image-field:focus-visible,.video-image-field.is-dragging{outline:2px solid var(--accent);outline-offset:2px}.video-image-field>.companion-error{overflow-wrap:anywhere;grid-column:1/-1;margin:4px 0 0;font-size:10px}.video-image-preview-tools{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:12px;display:flex}.video-image-copy{white-space:nowrap;flex:none;align-items:center;gap:6px;display:inline-flex}.video-image-preview-large{object-fit:contain;cursor:grab;border-radius:8px;width:100%;max-height:70dvh;display:block}.render-scene-heading{grid-template-columns:84px minmax(0,1fr) 24px;gap:6px;display:grid}.render-scene-heading-main{gap:2px}.render-scene-title-button{flex:1;padding-left:0}.render-desk .render-scene-title-row .render-scene-name{flex:1}.render-scene-meta{flex-wrap:wrap;align-items:center;gap:0 8px;display:flex}.render-scene-heading .render-scene-time{order:0;width:auto;padding:0}.render-scene-copy-image,.render-scene-copy-video,.video-reference-copy-prompt{white-space:nowrap;align-items:center;gap:4px;width:auto;height:26px;min-height:26px;padding:0;font-size:11px;display:inline-flex}.render-scene-heading>.render-scene-tools{align-self:start}.render-scene-heading>.render-scene-tools .icon-button{width:24px;height:26px;min-height:26px}.render-scene .scene-speech-summary{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text);margin:0;padding:6px 10px 8px;font-size:12px;line-height:1.5}.scene-speech-summary>span{color:var(--muted);font-size:11px}.scene-image-requirements{color:var(--muted);flex-wrap:wrap;align-items:center;gap:4px 6px;margin-top:6px;padding:0 10px 8px;font-size:11px;display:flex}.scene-image-reference{border:1px solid var(--border);max-width:100%;min-height:32px;font-size:inherit;text-align:left;overflow-wrap:anywhere;color:var(--text);background:var(--surface-soft);border-radius:6px;flex-wrap:wrap;align-items:center;gap:4px;padding:3px 7px;display:inline-flex}.scene-image-reference-status{color:var(--muted)}.scene-image-reference-label{min-width:0}.scene-image-reference>img{object-fit:cover;border-radius:4px;flex:none;width:24px;height:24px}.scene-image-reference>svg{flex:none}.scene-image-reference[draggable=true]{cursor:grab;flex-wrap:nowrap}.scene-image-reference[draggable=true]:active{cursor:grabbing}.scene-image-reference.is-ready>svg{color:var(--accent)}.video-reference-status{color:var(--muted);flex-wrap:wrap;align-items:center;gap:2px 10px;padding:0 8px 5px;font-size:10px;line-height:1.4;display:flex}.video-reference-copy-prompt{color:var(--muted)}.video-reference-copy-prompt:hover,.video-reference-copy-prompt.is-copied{color:var(--accent)}.render-desk .video-production-section{border-color:var(--accent-border);border-radius:16px;padding:12px}@supports (color:color-mix(in lab, red, red)){.render-desk .video-production-section{border-color:color-mix(in srgb, var(--accent-border) 35%, var(--border))}}.render-desk .video-production-section{background:var(--surface)}.video-production-heading{justify-content:flex-start;align-items:center;gap:8px;min-height:32px;margin-bottom:10px;display:flex}.video-production-heading h2{letter-spacing:-.015em;margin:0;font-size:14px;font-weight:650}.video-section-icon{width:28px;height:28px;color:var(--accent);background:var(--accent-bg);border-radius:8px;flex:none;place-items:center;display:grid}.video-section-count{min-width:22px;height:22px;color:var(--muted);background:var(--raised);font-variant-numeric:tabular-nums;border-radius:6px;place-items:center;padding:0 6px;font-size:11px;display:grid}.video-production-heading .video-reference-add-button{margin-left:auto}.video-production-section .video-reference-grid,.render-scene-list{gap:8px;min-width:0;display:grid}.render-desk .render-scenes .render-scene{background:var(--surface-soft);border-radius:10px;margin:0}.render-scenes .render-scene-heading{background:0 0;border-bottom:0}.render-scenes .scene-speech-summary{border-left:2px solid var(--accent-border);background:var(--surface);border-radius:0 6px 6px 0;margin:0 10px 8px;padding:7px 9px}.scene-image-reference.is-ready{border-color:var(--success)}@supports (color:color-mix(in lab, red, red)){.scene-image-reference.is-ready{border-color:color-mix(in srgb, var(--success) 30%, var(--border))}}.scene-image-reference.is-ready{background:var(--success)}@supports (color:color-mix(in lab, red, red)){.scene-image-reference.is-ready{background:color-mix(in srgb, var(--success) 6%, var(--surface-soft))}}.scene-image-reference.is-ready>svg,.video-reference-status.is-ready>span:first-child{color:var(--success)}.scene-image-reference:hover{border-color:var(--accent-border);background:var(--accent-bg)}.render-desk .render-scenes>.render-manual{border:1px dashed var(--border);background:0 0;border-radius:9px;margin:10px 0 0}@media (width<=600px){.render-desk .video-production-section{padding:8px}.video-production-heading{gap:6px}}:root select:not([multiple]):not([size]){appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888891' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;height:auto;min-height:44px;padding:10px 36px 10px 12px;line-height:1.4}:root .select-wrap select{background-image:none}.image-settings-row input{height:auto;min-height:44px;line-height:1.4}.image-format-hint{color:var(--muted);margin:0 0 18px;font-size:12px;line-height:1.6}.image-heading-actions{color:var(--muted);align-items:center;gap:10px;font-size:10px;display:flex}.image-heading-actions .icon-button{flex-shrink:0;width:44px;height:44px}@media (width<=800px),(hover:none) and (pointer:coarse){:root :is(input,textarea,select){font-size:16px!important}}.controls-column .studio-heading{margin-bottom:10px}.controls-column .title-row{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:10px;margin-top:0;display:flex}.controls-column .studio-heading h1{letter-spacing:-.8px;font-size:24px}.character-reset{flex-shrink:0;width:32px;height:32px}.character-start{margin-bottom:10px;padding:12px;overflow:visible}.character-start-label{color:var(--muted);align-items:center;gap:6px;margin-bottom:6px;font-size:11px;line-height:16px;display:flex}.character-start-label>svg{flex-shrink:0}.character-picker-row{align-items:center;gap:4px;margin:0;display:flex}.controls-column .character-start input{flex:1;min-width:0;height:38px;min-height:38px;padding-block:4px}.controls-column .character-picker-row>button{flex-shrink:0;width:30px;min-height:38px;font-size:12px}.controls-column .character-start .editor-status{margin:8px 0 0}.controls-column .form-section-heading{align-items:center;gap:10px;padding:18px;list-style:none;display:flex}.controls-column summary.form-section-heading{cursor:pointer}.controls-column summary::-webkit-details-marker{display:none}.controls-column details[open]>summary .disclosure{transform:rotate(180deg)}.controls-column .section-icon{flex-shrink:0}.controls-column .section-title{font-size:14px}.controls-column .section-description{font-size:11px;line-height:1.5}.controls-column .field-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:18px;padding:3px 18px 20px}.controls-column .field-label{align-items:start;font-size:12px;line-height:1.5}.controls-column .field-label>span{white-space:normal;max-width:none;font-size:11px}.controls-column input,.controls-column select{height:auto;min-height:42px;padding-top:9px;padding-bottom:9px;font-size:13px}.controls-column textarea{font-size:13px;line-height:1.6}.controls-column .segmented{flex-wrap:wrap;gap:3px;width:fit-content;max-width:100%;min-height:0;display:flex}.controls-column .field .segmented button{white-space:nowrap;flex:none;min-width:0;min-height:28px;padding:4px 9px;font-size:11px}.controls-column .color-palette{padding-right:0}.controls-column .palette-row:first-child{padding-right:28px}.controls-column .field-hint,.adornment-editor .field-hint{color:var(--muted);margin:8px 0;font-size:11px;line-height:1.6}.controls-column .assist-toggle{text-align:left;font-size:12px;line-height:1.5}.controls-column .toggle-track{flex-shrink:0}.character-picker{z-index:3;min-width:0;position:relative}.character-picker-input-area{flex:1;min-width:0;position:relative}.character-picker-input{position:relative}.character-picker-input>svg{color:var(--muted);pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.character-picker-input>.character-picker-chevron{left:auto;right:12px}.character-picker-input>input{width:100%;padding-inline:38px}.character-picker-results{border:1px solid var(--accent-border);background:var(--surface);max-height:340px;box-shadow:var(--shadow);z-index:10;scrollbar-width:thin;border-radius:9px;padding:5px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto}.character-picker-group{color:var(--muted);padding:8px 12px 4px;font-size:10px;font-weight:600}.character-picker-results [role=group]+[role=group]{border-top:1px solid var(--border);margin-top:4px}.character-picker-results button{text-align:left;border-radius:6px;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:45px;padding:10px 12px;display:flex}.character-picker-results button.active,.character-picker-results button:hover{background:var(--accent-bg)}.character-picker-results button>span{overflow-wrap:anywhere;gap:3px;min-width:0;display:grid}.character-picker-results strong{font-size:13px;font-weight:500}.character-picker-results small{color:var(--muted);font-size:10px}.character-picker-results svg{color:var(--accent);flex-shrink:0}.origin-undo{margin-bottom:12px}.adornment-editor{padding:0 18px 20px}.adornment-editor h3{margin:0 0 10px;font-size:13px;font-weight:550}.adornment-record{border:1px solid var(--border);border-radius:8px;min-width:0;margin:14px 0;padding:12px}.adornment-record legend{color:var(--muted);padding:0 5px;font-size:12px}.record-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr));gap:12px;display:grid}.record-wide{grid-column:1/-1}.adornment-record .companion-field{min-width:0;margin:0}.adornment-record .text-button{margin-top:8px}.character-prompt-modes{flex-shrink:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-bottom:12px;display:grid}.character-prompt-modes button{border:1px solid var(--border);min-height:30px;color:var(--muted);overflow-wrap:anywhere;border-radius:6px;justify-content:center;align-items:center;padding:5px 6px;font-size:11px;line-height:1.4;display:flex}.character-prompt-modes button[aria-pressed=true]{border-color:var(--accent-border);color:var(--text);background:var(--accent-bg)}.prompt-panel{height:auto}.prompt-panel .prompt-heading h2{margin:0}.prompt-panel .detail-control{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.prompt-panel .detail-control button{white-space:normal;overflow-wrap:anywhere}.prompt-panel>*{flex-shrink:0}.character-prompt-disclosure>summary{min-height:32px;color:var(--muted);cursor:pointer;align-items:center;gap:4px;font-size:12px;list-style:none;display:flex}.character-prompt-disclosure>summary::-webkit-details-marker{display:none}.character-prompt-disclosure:not([open])>summary>svg{transform:rotate(-90deg)}.prompt-panel .prompt-output{height:auto;min-height:0;margin-top:8px;display:block}.prompt-panel .prompt-output textarea{resize:vertical;height:82px;min-height:82px;display:block;overflow:auto}.prompt-panel .output-meta{padding:8px 0}.prompt-panel .prompt-actions{margin-top:8px;padding-top:10px}.character-copy-row{flex-wrap:wrap;align-items:flex-start;gap:6px}.character-copy-row>.copy-button{flex:0 auto;height:32px;min-height:32px;padding:6px 8px;font-size:10px}.character-copy-row .icon-button{border:1px solid var(--border);border-radius:7px;flex-shrink:0;width:32px;min-width:32px;height:32px;min-height:32px;margin:0;padding:5px}.character-image-button{color:var(--accent)}.character-transfer{min-width:0;max-width:100%}.character-transfer-actions{align-items:center;gap:4px;display:flex}.character-transfer .transfer-status,.character-transfer .companion-error{margin:8px 0 0;display:block}.character-copy-row .chat-links{gap:4px}.character-copy-row .chat-logo-link{width:32px;min-width:32px;height:32px;min-height:32px;padding:6px}.character-copy-row .chat-logo-link img,.character-copy-row .chat-logo-chatgpt,.character-copy-row .chat-logo-grok{width:20px;height:20px}@media (width<=600px){.controls-column .field-grid{gap:16px;padding-inline:14px}.controls-column .form-section-heading{padding:16px 14px}.adornment-editor{padding-inline:14px}.character-picker-results{max-height:280px}.controls-column input,.controls-column select,.controls-column textarea{font-size:16px}}@media (pointer:coarse){.controls-column .character-start input,.controls-column .character-picker-row>button{height:44px;min-height:44px}.controls-column .character-picker-row>button,.character-reset{min-width:44px;min-height:44px}}:root{--app-activity-height:0px}:root:has(.header-activity){--app-activity-height:28px}:is(.app-header,.app-header:has(.header-activity)){height:auto}.header-compute{padding:2px 24px}.header-compute:empty{display:none}.header-compute .compute-controls{border-radius:6px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;width:fit-content;max-width:100%;margin:0;padding:2px 6px;display:grid}.header-compute .compute-top{gap:4px}.header-compute .compute-target{gap:4px;max-width:180px}.header-compute .compute-meta{flex-direction:row;align-items:center;gap:6px}.header-compute .compute-top>button,.header-compute .compute-top>a,.header-compute .compute-actions>button,.header-compute .compute-stop-after{height:24px;min-height:24px}.header-compute .compute-config{width:24px;padding:4px}.header-compute .compute-target strong{font-size:11px}.header-compute .compute-actions{gap:4px;margin:0}.header-compute .compute-actions>button{border-radius:5px;padding:2px 5px;font-size:10px}.header-compute .compute-stop-after{gap:4px;margin:0;font-size:10px}.header-compute .compute-controls>p,.header-compute .compute-controls>.compute-start{grid-column:1/-1}.prompt-panel,.video-prompt-panel,.editor-preview-panel{top:calc(var(--app-sticky-height,var(--app-header-height)) + 16px);scroll-margin-top:calc(var(--app-sticky-height,var(--app-header-height)) + 16px)}.header-activity{height:var(--app-activity-height);scrollbar-width:thin;gap:8px;padding:2px 24px;display:flex;overflow-x:auto}.header-activity-item{text-align:left;border:1px solid var(--accent-border);background:var(--accent-bg);min-width:0;max-width:100%;color:var(--accent);border-radius:8px;flex:0 0 230px;align-items:center;gap:6px;padding:1px 6px 3px;display:flex;position:relative;overflow:hidden}.header-activity-item:hover{background:var(--raised);border-color:var(--accent)}.header-activity-live{flex-basis:340px}.header-activity-live .header-activity-value{text-overflow:ellipsis;white-space:nowrap;max-width:65%;font-size:10px;overflow:hidden}.header-activity-item>svg,.header-activity-value{flex-shrink:0}.header-activity-item>svg{width:13px;height:13px}.header-activity-steps{font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap;flex-shrink:0;font-size:8px}.header-activity-copy{flex:1;min-width:0;line-height:1.4;display:grid}.header-activity-copy strong,.header-activity-copy>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.header-activity-copy strong{color:var(--text);font-size:10px;font-weight:600}.header-activity-copy>span{display:none}.header-activity-value{font-variant-numeric:tabular-nums;font-size:11px}.header-activity-item progress{appearance:none;background:var(--border);width:100%;height:2px;color:var(--accent);accent-color:var(--accent);border:0;border-radius:0;position:absolute;inset:auto 0 0}.header-activity-item progress::-webkit-progress-bar{background:var(--border)}.header-activity-item progress::-webkit-progress-value{background:var(--accent)}.header-activity-item progress::-moz-progress-bar{background:var(--accent)}.header-activity-item progress:indeterminate{opacity:.5}.comfy-panel,.render-job-progress,.video-workflow-panel{scroll-margin-top:calc(var(--app-sticky-height,var(--app-header-height)) + 16px)}.video-jobs{gap:16px;display:grid}.video-jobs[hidden]{display:none}.phosphene-page{height:calc(100dvh - var(--app-sticky-height,var(--app-header-height)) - var(--app-bottom-nav-height))}@media (width<=800px){.header-activity,.header-compute{padding-inline:14px}.header-compute .compute-controls{gap:4px;width:100%}.header-compute .compute-target{max-width:none}.header-compute .compute-action-label{display:none}.header-compute .compute-actions>button{justify-content:center;width:24px}.header-compute .compute-meta{gap:4px}.header-compute .compute-status{font-size:0}.header-compute .compute-status:before{content:"";background:currentColor;border-radius:50%;width:5px;height:5px;display:block}}.header-render-preview{object-fit:cover;border-radius:4px;flex-shrink:0;width:18px;height:18px}.render-media-page .companion-intro{margin-bottom:16px}.media-library-status{border:1px dashed var(--border);min-height:112px;color:var(--muted);text-align:center;border-radius:12px;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;padding:20px;font-size:13px;display:flex}.media-library-spinner{color:var(--accent);flex:none;animation:1s linear infinite media-library-spin}@keyframes media-library-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.media-library-spinner{animation:none}}.media-view-tabs{border:1px solid var(--border);background:var(--surface-soft);border-radius:9px;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;width:100%;margin-bottom:14px;padding:3px;display:grid}.media-view-tabs button{width:100%;min-width:0;min-height:38px;color:var(--muted);white-space:nowrap;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:4px;padding:4px 6px;font-size:11px;font-weight:600;display:flex}.media-view-tabs button>svg{flex:none;width:14px;height:14px}.media-queue-count{background:var(--raised);font-variant-numeric:tabular-nums;border-radius:5px;min-width:17px;padding:1px 4px;font-size:10px}@media (width<=650px){.media-view-tabs{grid-template-columns:1fr 1fr 1.25fr 1.65fr 1fr}.media-view-tabs button{flex-direction:column;gap:2px;min-height:44px;padding:4px 0;font-size:10px;line-height:1.2;position:relative}.media-view-tabs button>svg{width:14px;height:14px}.media-view-tabs .media-queue-count{min-width:14px;padding:1px 3px;font-size:8px;position:absolute;top:2px;left:calc(50% + 9px)}}.media-view-tabs button:hover,.media-filter:hover{color:var(--text);background:var(--hover)}.media-view-tabs button[aria-selected=true]{color:var(--accent);background:var(--accent-bg);border-color:var(--accent-border)}.media-filter-bar{flex-wrap:wrap;gap:6px;margin:0 0 14px;display:flex}.media-filter{border:1px solid var(--border);background:var(--surface);min-height:36px;color:var(--muted);border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:6px 10px;font-size:11px;line-height:1.4;display:inline-flex}.media-filter[aria-pressed=true]{background:var(--accent-bg);border-color:var(--accent-border);color:var(--text)}.media-filter span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:10px}.render-media-page .image-library{margin:0}.render-media-page .image-gallery-grid,.render-media-page .render-output-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:12px;margin:0;display:grid}.render-media-page .image-gallery-card,.render-media-page .render-output-card{border:1px solid var(--border);background:var(--surface);border-radius:12px;min-width:0;max-width:none;padding:8px}.render-media-page .render-output-video-shell{aspect-ratio:1;width:100%;margin:0}.render-media-page .render-output-card video{object-fit:contain;background:var(--surface-soft);width:100%;height:100%;max-height:none;margin:0}.render-media-page .image-gallery-caption,.render-media-page .render-output-card-body{padding:9px 2px 0}.render-media-page .image-gallery-caption p,.render-media-page .render-output-title-button strong{margin:0;font-size:12px;line-height:1.5}.render-media-page .image-gallery-caption>span,.render-media-page .render-output-name,.render-media-page .render-output-date{font-size:10px;line-height:1.5}.render-media-page .image-gallery-caption>span{margin-top:3px}.render-output-date-line{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:baseline;gap:3px 5px;font-size:10px;line-height:1.5;display:flex}.render-output-date-line .render-output-date{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.render-output-clock{border-left:1px solid var(--border);padding-left:5px}.render-output-card-body .render-output-duration{color:var(--text);white-space:nowrap;gap:5px;display:inline-flex}.render-output-duration{background:var(--raised);border-radius:4px;align-items:center;gap:4px;margin-left:auto;padding:1px 4px;display:inline-flex}.render-output-metadata{gap:6px;margin-top:4px;margin-bottom:3px;display:grid}.render-output-badges{flex-wrap:wrap;gap:4px;display:flex}.render-output-card-body .render-output-badge{border:1px solid;align-items:center;gap:4px;max-width:100%;padding:3px 6px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.render-output-card-body .render-output-badge{border:1px solid color-mix(in srgb, currentColor 22%, transparent)}}.render-output-card-body .render-output-badge{background:currentColor;border-radius:6px}@supports (color:color-mix(in lab, red, red)){.render-output-card-body .render-output-badge{background:color-mix(in srgb, currentColor 8%, transparent)}}.render-output-card-body .render-output-badge{color:var(--text);font-size:10px;font-weight:600;line-height:1.4}.render-output-badge svg{flex:none}.render-output-card-body .render-output-badge.is-preset{color:var(--accent)}.render-output-card-body .render-output-badge.is-origin{border-style:dashed}.render-output-badge.is-origin:hover,.render-output-badge.is-origin:focus-visible{background:var(--accent-bg);border-color:var(--accent)}.render-output-card-body .render-output-badge.is-upscale{color:#8ecbff}.render-output-card-body .render-output-badge.is-facefix{color:#94d6bf}:root[data-theme=light] .render-output-card-body .render-output-badge.is-upscale{color:#216695}:root[data-theme=light] .render-output-card-body .render-output-badge.is-facefix{color:#286b55}.render-output-render-time{font-variant-numeric:tabular-nums;align-items:center;gap:4px;font-size:10px;line-height:1.5;display:flex}.render-output-render-time strong{color:var(--text);font-size:inherit;margin-left:2px;font-weight:500}.render-output-origin{border:1px solid var(--accent-border);background:var(--accent-bg);border-radius:9px;gap:7px;margin:12px 0;padding:10px 12px;display:grid}@supports (color:color-mix(in lab, red, red)){.render-output-origin{background:color-mix(in srgb, var(--accent-bg) 45%, transparent)}}.render-output-origin-heading{color:var(--accent);align-items:center;gap:6px;font-size:11px;display:flex}.render-output-origin-heading a{align-items:center;gap:4px;margin-left:auto;display:inline-flex}.render-output-origin>strong{overflow-wrap:anywhere;font-size:12px}.render-output-origin>small{color:var(--muted);font-size:10px;line-height:1.5}.render-info-dialog .comfy-output-settings .render-output-settings-list>div{grid-template-columns:minmax(0,112px) minmax(0,1fr);gap:10px}.render-media-page .image-gallery-actions,.render-media-page .render-output-actions{gap:2px;width:100%;max-width:none;padding-top:6px}.render-media-page .image-gallery-actions .icon-button,.render-media-page .render-output-actions .icon-button{flex:0 32px;width:32px;min-width:22px;height:34px}.render-media-page .image-template-action{min-height:32px;margin-top:2px;padding:4px 2px}.image-gallery-actions.media-actions,.render-output-actions.media-actions{grid-template-columns:repeat(6,minmax(0,1fr));place-items:center;gap:0;display:grid}.media-actions>[data-media-action]{grid-row:1;width:100%;min-width:0;max-width:36px;margin-left:0}.media-actions>[data-media-action=primary]{grid-column:1}.media-actions>[data-media-action=secondary]{grid-column:2}.media-actions>[data-media-action=reuse]{grid-column:3}.media-actions>[data-media-action=folder]{grid-column:4}.media-actions>[data-media-action=download]{grid-column:5}.media-actions>[data-media-action=delete]{grid-column:6}.render-media-page .media-actions>.icon-button{width:100%;min-width:0;height:36px}.render-media-page .image-gallery-actions{padding-inline:2px}.media-save-content{gap:12px;display:grid}.media-save-content p{margin:0}.media-save-name{overflow-wrap:anywhere}.media-save-hint,.media-save-loading{color:var(--muted);font-size:13px}.media-save-loading{align-items:center;gap:8px;display:flex}.media-save-content>a{text-decoration:none}.media-save-loading .spin{animation:1s linear infinite media-restore-spin}@media (prefers-reduced-motion:reduce){.media-save-loading .spin{animation:none}}.media-restore-status{background:var(--surface-soft);color:var(--muted);overflow-wrap:anywhere;border-radius:7px;margin:6px 0 0;padding:8px;font-size:11px;line-height:1.5}.render-output-actions .spin{animation:1s linear infinite media-restore-spin}@keyframes media-restore-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.render-output-actions .spin{animation:none}}.render-media-page .render-output-empty,.render-media-page .image-library>.companion-footnote{border:1px dashed var(--border);color:var(--muted);text-align:center;border-radius:12px;margin:0;padding:24px 16px;font-size:12px;line-height:1.6}@media (width<=900px){.render-media-page .image-gallery-grid,.render-media-page .render-output-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=650px){.media-view-tabs{width:100%}.render-media-page .image-gallery-grid,.render-media-page .render-output-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}@media (width<=370px){.render-media-page .image-gallery-grid,.render-media-page .render-output-grid{grid-template-columns:minmax(0,1fr)}}.character-library{gap:12px;display:grid}.character-library>p{margin:0}.character-upload{border:1px dashed var(--border);background:var(--surface-soft);border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;padding:12px;display:flex}.character-upload>input:not([type=file]){border:1px solid var(--border);background:var(--surface);width:140px;min-width:100px;color:var(--text);border-radius:7px;flex:140px;padding:8px 10px;font-size:12px}.character-upload>small{color:var(--muted);flex-basis:100%;font-size:11px}.character-upload .secondary-button{gap:6px;min-height:34px;padding:6px 10px;font-size:12px}.character-library-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;display:grid}.character-library-card{border:1px solid var(--border);background:var(--surface);border-radius:10px;min-width:0;overflow:hidden}.character-library-card img{object-fit:contain;background:var(--surface-soft);width:100%;height:160px;display:block}.character-library-caption{align-items:center;gap:6px;padding:6px 8px;display:flex}.character-library-caption strong{overflow-wrap:anywhere;flex:1;font-size:12px}.character-choice{text-align:center;gap:8px;width:100%;padding:0 0 10px;display:grid}.character-choice strong{overflow-wrap:anywhere;padding:0 8px;font-size:12px}.character-choice span{color:var(--accent);font-size:12px}.character-choice:hover{background:var(--accent-bg)}@media (width<=370px){.media-view-tabs button{gap:2px;padding-inline:1px;font-size:9px}.media-queue-count{min-width:13px;padding-inline:2px;font-size:9px}}.character-add>summary{cursor:pointer;color:var(--accent);padding:8px 0;font-size:12px}.media-bulk-delete{border:1px solid var(--border);min-height:32px;color:var(--muted);border-radius:8px;justify-content:center;align-items:center;gap:5px;margin-left:auto;padding:5px 9px;font-size:11px;display:inline-flex}.media-bulk-delete:hover:not(:disabled){color:var(--danger,#e89a9f);border-color:currentColor}.media-library-toolbar{align-items:center;gap:10px;margin-bottom:14px;display:flex}.media-library-toolbar p{margin:0}.media-bulk-delete{flex:none}@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-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-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}.remote-login{background:var(--bg,#111114);min-height:100dvh;color:var(--text,#eee);place-content:center;padding:24px;display:grid}.remote-login>.companion-card{width:min(440px,100vw - 48px);padding:32px}.remote-login h1{margin:20px 0 12px;font-size:28px;line-height:1.2}.remote-login p{color:var(--muted,#999);line-height:1.5}.remote-login form{gap:18px;margin-top:24px;display:grid}.remote-login .primary-button{justify-content:center}:root:has(.remote-status){--app-header-height:64px}:is(.app-header:has(.remote-status) .header-inner,.app-header:has(.remote-status) .brand,.app-header:has(.remote-status) .header-tools){height:48px}.remote-status{height:16px;color:var(--muted);white-space:nowrap;justify-content:space-between;align-items:center;gap:12px;padding:0 24px;font-size:10px;line-height:16px;display:flex}.remote-connection{align-items:center;gap:6px;display:inline-flex}.remote-dot{background:#dd9b45;border-radius:50%;flex-shrink:0;width:5px;height:5px}.remote-dot.online{background:#63c593}.remote-logout{min-height:16px;color:var(--muted);font-size:inherit;line-height:inherit;align-items:center;gap:5px;padding:0 2px;display:inline-flex}.remote-logout:hover{color:var(--text)}@media (width>=801px){.app-header:has(.remote-status) .main-nav{height:48px}}@media (width<=800px){.remote-status{padding-inline:14px}}@media (display-mode:standalone){:root:has(.remote-status){--app-header-height:calc(64px + env(safe-area-inset-top))}}.remote-settings>label{align-items:flex-start;gap:12px;padding:16px 0;display:flex}.remote-settings input{accent-color:#a990ff;width:18px;height:18px;margin-top:4px}.remote-settings label span{gap:6px;display:grid}.remote-settings small{color:var(--muted,#999);line-height:1.45}.remote-password form{gap:16px;max-width:480px;display:grid}.remote-password form>p{margin:0}.remote-password .primary-button{justify-self:start}.remote-passkey-login{justify-content:center;gap:8px;width:100%;margin-top:12px}.remote-login .remote-login-note{margin-bottom:0;font-size:12px}.remote-passkeys form{flex-wrap:wrap;align-items:end;gap:12px;max-width:480px;display:flex}.remote-passkeys form label{flex:1;min-width:140px}.remote-passkeys .secondary-button{gap:6px}.remote-passkeys ul{max-width:480px;padding:0;list-style:none}.remote-passkeys li{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding-block:10px;display:flex}.remote-passkeys li span{overflow-wrap:anywhere;min-width:0}.remote-passkeys small{color:var(--muted);margin-top:4px;display:block}.sync-conflicts{color:var(--muted);background:var(--surface);margin:0;padding:6px 14px;font-size:12px}.sync-conflicts>summary{cursor:pointer}.sync-conflicts .storage-warning{margin:8px 0}.sync-conflicts .storage-warning>span{gap:4px;display:grid}
