.claim-banner{display:grid;gap:12px;margin-bottom:24px;padding:20px;border:2px solid var(--composer-accent);border-radius:10px;background:var(--composer-soft)}.claim-banner-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.focused-editor .claim-banner h3{margin:0;font-size:18px;color:var(--composer-ink)}.focused-editor .claim-banner p{margin:0;font-size:14px;line-height:1.6;color:var(--composer-ink)}.claim-banner-actions{display:flex;flex-wrap:wrap;gap:8px}.claim-banner-title{display:flex;align-items:center;gap:8px}.claim-banner-understood{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:14px}.claim-banner-understood .claim-banner-heading{display:contents}.claim-banner-understood .spot-countdown-prominent{font-size:26px}.claim-info{position:relative;display:inline-flex}.focused-editor .claim-info-button{display:inline-flex;align-items:center;padding:4px;min-height:0;border:0;background:transparent;color:var(--composer-accent);cursor:help}.claim-info-tooltip{display:none;position:absolute;z-index:5;top:100%;left:-130px;width:min(340px,75vw);padding:14px;border:1px solid var(--composer-line);border-radius:8px;background:var(--composer-paper);color:var(--composer-ink);box-shadow:0 6px 24px #0002;font-size:13px;line-height:1.6}.claim-info:hover .claim-info-tooltip,.claim-info:focus-within .claim-info-tooltip{display:block}.focused-editor .composer-tool-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px}.focused-editor>.editor-shell .composer-draft-expiry{margin:0 0 16px}.focused-editor .composer-tool-toggle{display:inline-flex;align-items:center;gap:7px}.focused-editor>.editor-shell .composer-tool-toggle[aria-expanded=true]{background:var(--studio-selected, #e7edf6);border-color:var(--composer-accent)}.claim-banner-expired{border-color:#b3261e}.spot-countdown{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-variant-numeric:tabular-nums;font-weight:600}.spot-countdown-prominent{font-size:clamp(24px,4vw,32px);line-height:1.2}.spot-countdown-warning{color:#b3261e;animation:claim-warning 1s ease-in-out infinite}@keyframes claim-warning{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.spot-countdown-warning{animation:none;text-decoration:underline}}.web-spot-locks{display:grid;gap:12px;margin:12px 0}.web-spot-locks>div{display:grid;gap:5px;padding:9px;border:1px solid var(--display-border);border-radius:6px}.branch-capacity small{display:block;margin-top:6px}.focused-editor .composer-location>label{display:grid;gap:8px;font-size:13px}.focused-editor .composer-location select{padding:10px;background:var(--composer-field);color:var(--composer-ink);border:1px solid var(--composer-line);border-radius:7px;width:100%}.focused-editor .composer-location-actions{margin-top:12px}.composer-location-preview{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:12px}.composer-location-preview img{width:100px;border-radius:8px}.scene-creator-page,.asset-creator-page{max-width:950px;margin:30px auto;padding:0 20px}.scene-creator-page .app-dialog,.asset-creator-page .app-dialog{width:100%;max-height:none;margin:20px 0;position:static}.scene-creator-page .editor-content,.asset-creator-page .editor-content{max-height:none;overflow:visible}.asset-creator-page .asset-builder-dialog{background:var(--studio-surface);color:var(--studio-ink);border:1px solid var(--studio-line);border-radius:16px}.focused-editor .composer-tool-panel{margin:0 0 14px;padding:14px;border:1px solid var(--composer-line);border-radius:9px;background:var(--composer-soft)}.focused-editor .composer-suggestion-result{display:grid;gap:10px;margin-top:12px}.focused-editor .composer-suggestion-result>p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.focused-editor .composer-suggestion-result>small{color:var(--composer-muted)}.focused-editor .composer-suggestion-result>button{justify-self:start}.composer-suggestion-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.suggestion-controls{margin:10px 0 16px}.suggestion-controls>summary{cursor:pointer;font-size:13px;margin-bottom:14px}.suggestion-control-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:20px}.suggestion-control-grid>div>.suggestion-range:first-child{margin-top:0}.suggestion-pad-label,.suggestion-range{font-size:13px}.suggestion-pad-label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-bottom:10px}.suggestion-pad-label output,.suggestion-range output,.suggestion-maturity-axis output{color:var(--composer-accent);font-variant-numeric:tabular-nums}.suggestion-pad-layout{display:grid;grid-template-columns:90px 1fr;gap:12px}.suggestion-emotion-axis{display:flex;flex-direction:column;justify-content:space-between;padding:4px 0;font-size:11px;line-height:1.5;color:var(--composer-muted)}.suggestion-pad{position:relative;height:160px;margin:8px 12px 8px 0;border:1px solid var(--composer-line);border-radius:10px;touch-action:none;cursor:crosshair;background:linear-gradient(to top,transparent,#a78bfa35),linear-gradient(to right,#60a5fa20,#e879f935),var(--composer-field)}.suggestion-pad-crosshair{position:absolute;pointer-events:none;opacity:.6}.suggestion-pad-crosshair.horizontal{left:0;right:0;top:50%;border-top:1px dashed var(--composer-line)}.suggestion-pad-crosshair.vertical{top:0;bottom:0;left:50%;border-left:1px dashed var(--composer-line)}.focused-editor .suggestion-pad-thumb{position:absolute;transform:translate(-50%,-50%);width:24px;height:24px;min-height:0;padding:0;border:3px solid var(--composer-paper);border-radius:50%;background:var(--composer-accent);box-shadow:0 1px 5px #0004;cursor:grab}.suggestion-pad-thumb:active{cursor:grabbing}.suggestion-maturity-axis{display:flex;justify-content:space-between;margin:6px 12px 10px 102px;font-size:11px;color:var(--composer-muted)}.suggestion-range{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:16px}.suggestion-range input{grid-column:1 / -1;width:100%;padding:0;accent-color:var(--composer-accent);cursor:pointer}.suggestion-range-ends{grid-column:1 / -1;display:flex;justify-content:space-between;font-size:11px;color:var(--composer-muted)}@media(max-width:600px){.suggestion-control-grid{grid-template-columns:1fr;gap:10px}}.app-dialog.editor-dialog.focused-editor{--composer-paper: var(--studio-surface, #fbfaf7);--composer-field: var(--studio-field, #fff);--composer-soft: var(--studio-soft, #f0f1ee);--composer-ink: var(--studio-ink, #263139);--composer-muted: var(--studio-muted, #657077);--composer-line: var(--studio-line, #dfe3e1);--composer-accent: var(--studio-accent, #315fa0);width:min(700px,94vw);background:var(--composer-paper);color:var(--composer-ink);border:1px solid var(--composer-line);border-radius:16px;color-scheme:inherit}.focused-editor>.editor-shell{--display-text: var(--composer-ink);--display-muted: var(--composer-muted);--display-field: var(--composer-field);--display-border: var(--composer-line);--display-route: var(--composer-accent)}.focused-editor>.editor-shell .modal-header,.focused-editor>.editor-shell .modal-footer{background:var(--composer-paper);border-color:var(--composer-line);padding:22px 28px}.focused-editor>.editor-shell .modal-header{border-bottom:0}.focused-editor>.editor-shell .modal-heading h2{color:var(--composer-ink);font-size:26px;font-weight:500}.focused-editor>.editor-shell .modal-heading .eyebrow{color:var(--composer-muted);font-size:10px}.focused-editor>.editor-shell .icon-button{color:var(--composer-muted)}.focused-editor>.editor-shell .icon-button:hover:not(:disabled){background:var(--composer-soft);border-color:var(--composer-line)}.focused-editor>.editor-shell .editor-content{padding:0}.focused-editor>.editor-shell .composer-origin{padding:12px 28px;background:var(--composer-soft);color:var(--composer-muted);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px}.focused-editor>.editor-shell strong{font-weight:500}.focused-editor>.editor-shell .composer-origin strong{color:var(--composer-ink)}.focused-editor>.editor-shell .composer-body{padding:24px 28px}.focused-editor>.editor-shell .button.secondary,.focused-editor>.editor-shell .composer-reference-chips button{background:var(--composer-soft);border:1px solid var(--composer-line);color:var(--composer-ink);border-radius:7px;font-size:12px;font-weight:500}.focused-editor>.editor-shell .button.primary{background:var(--composer-accent);color:var(--studio-on-accent, #fff);border-radius:8px;font-size:12px}.focused-editor>.editor-shell .button.primary:disabled{background:var(--studio-soft, #d7e0ec);color:var(--studio-muted, #52647e);opacity:.8}.focused-editor>.editor-shell .button:hover:not(:disabled),.focused-editor>.editor-shell .composer-reference-chips button:hover{filter:none;background:var(--studio-selected, #e7edf6)}.focused-editor>.editor-shell .button.primary:hover:not(:disabled){background:var(--studio-accent-hover, #274e86)}.focused-editor>.editor-shell :is(button,input,textarea,select,summary):focus-visible{outline:2px solid var(--composer-accent);outline-offset:3px}.focused-editor>.editor-shell .script-heading{flex-direction:row;align-items:center;flex-wrap:wrap}.focused-editor>.editor-shell .script-heading label{font-family:inherit;font-size:16px;font-weight:500;letter-spacing:0;color:var(--composer-ink)}.focused-editor>.editor-shell .composer-text-button{display:inline-flex;align-items:center;gap:6px;padding:5px 0;border:0;background:transparent;color:var(--composer-accent);font:inherit;font-size:12px;min-height:32px}.focused-editor>.editor-shell .script-input{min-height:170px;font-size:15px!important;line-height:1.7;color:var(--composer-ink);border-color:var(--composer-line);background:var(--composer-field);border-radius:9px}.focused-editor>.editor-shell .script-input::placeholder{color:var(--composer-muted)}.focused-editor>.editor-shell .script-help{font-size:11px;color:var(--composer-muted);margin:8px 0 10px;flex-wrap:wrap}.focused-editor>.editor-shell .script-help>span:last-child{font:inherit;font-variant-numeric:tabular-nums}.focused-editor>.editor-shell .script-help b{color:var(--composer-accent)}.focused-editor>.editor-shell .composer-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}.focused-editor>.editor-shell .composer-section-heading h3{display:flex;align-items:center;gap:7px;margin:0;font-size:13px;font-weight:500;color:var(--composer-ink)}.focused-editor>.editor-shell .composer-section-heading>span{font-size:11px;color:var(--composer-muted)}.focused-editor>.editor-shell .composer-tool-intro{margin:0 0 12px}.focused-editor>.editor-shell .composer-command-list{display:flex;flex-wrap:wrap;gap:7px}.focused-editor>.editor-shell .composer-command-list .button{height:30px;padding:0 10px;font-size:11px}.focused-editor>.editor-shell .composer-speed{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:12px;font-size:12px}.focused-editor>.editor-shell .composer-speed>span{display:flex;align-items:center;gap:6px;color:var(--composer-muted)}.focused-editor>.editor-shell .composer-speed strong{color:var(--composer-ink)}.focused-editor>.editor-shell .composer-reference-chips{display:flex;gap:7px;flex-wrap:wrap}.focused-editor>.editor-shell .composer-reference-chips button{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;min-height:34px}.focused-editor>.editor-shell .composer-reference-chips p,.focused-editor>.editor-shell .composer-note{color:var(--composer-muted);font-size:11px;line-height:1.65;margin:8px 0 0}.focused-editor>.editor-shell .composer-prompt-references{margin-bottom:22px}.focused-editor>.editor-shell .composer-reference-manager{margin-top:0}.focused-editor>.editor-shell .entity-panels{gap:14px;margin-bottom:15px}.focused-editor>.editor-shell .entity-panel,.focused-editor>.editor-shell .location-reference-panel{background:var(--composer-soft);border-color:var(--composer-line);border-radius:8px}.focused-editor>.editor-shell .entity-heading h3,.focused-editor>.editor-shell .prop-panel .entity-heading h3,.focused-editor>.editor-shell .library-choice small,.focused-editor>.editor-shell .prop-panel .library-choice small{color:var(--composer-muted)}.focused-editor>.editor-shell .entity-heading>span,.focused-editor>.editor-shell .prop-panel .entity-heading>span{background:var(--studio-soft, #e3e8ed);color:var(--composer-muted)}.focused-editor>.editor-shell .entity-row{border-color:var(--composer-line)}.focused-editor>.editor-shell .entity-row.picked,.focused-editor>.editor-shell .prop-panel .entity-row.picked{background:var(--studio-selected, #e7edf6)}.focused-editor>.editor-shell .library-choice strong{color:var(--composer-ink)}.focused-editor>.editor-shell .library-choice input,.focused-editor>.editor-shell .prop-panel .library-choice input{accent-color:var(--composer-accent)}.focused-editor>.editor-shell .library-create-button,.focused-editor>.editor-shell .insert-entity,.focused-editor>.editor-shell .prop-panel .library-create-button,.focused-editor>.editor-shell .prop-panel .insert-entity,.focused-editor>.editor-shell .entity-add button{background:var(--composer-field);border-color:var(--composer-line);color:var(--composer-accent)}.focused-editor>.editor-shell .library-create-button>span,.focused-editor>.editor-shell .library-fee-note{color:var(--composer-muted)}.focused-editor>.editor-shell .entity-add input,.focused-editor>.editor-shell .prop-panel .entity-add input{color:var(--composer-ink);border-color:var(--composer-line);background:var(--composer-field)}.focused-editor>.editor-shell .location-reference-panel{margin:0}.focused-editor>.editor-shell .composer-setup{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}.focused-editor>.editor-shell .composer-setup label,.focused-editor>.editor-shell .composer-source{display:flex;flex-direction:column;gap:7px;color:var(--composer-muted);font-size:12px}.focused-editor>.editor-shell .composer-setup select,.focused-editor>.editor-shell .composer-source select{min-height:39px;width:100%;min-width:0;padding:9px;border:1px solid var(--composer-line);border-radius:7px;color:var(--composer-ink);background:var(--composer-field);font-size:12px}.focused-editor>.editor-shell .composer-video-settings{margin-top:20px;border-top:1px solid var(--composer-line);padding-top:14px}.focused-editor>.editor-shell .composer-video-settings summary{color:var(--composer-ink);font-size:12px;cursor:pointer}.focused-editor>.editor-shell .composer-video-settings summary>span{color:var(--composer-muted);margin-left:12px}.focused-editor>.editor-shell .composer-source{margin-top:15px}.focused-editor>.editor-shell .script-preview{margin-top:12px;background:var(--composer-soft);border-color:var(--composer-line)}.focused-editor>.editor-shell .script-preview p{color:var(--composer-ink);margin:0}.focused-editor>.editor-shell .script-reference.actor,.focused-editor>.editor-shell .script-reference.prop,.focused-editor>.editor-shell .script-reference.location{background:var(--studio-selected, #e3ecf8);color:var(--composer-accent)}.focused-editor>.editor-shell .mention-suggestions{background:var(--composer-field);border-color:var(--composer-line)}.focused-editor>.editor-shell .mention-suggestions button,.focused-editor>.editor-shell .mention-suggestions p{color:var(--composer-ink)}.focused-editor>.editor-shell .mention-suggestions button.highlighted{background:var(--studio-selected, #e7edf6)}.focused-editor>.editor-shell .mention-suggestions strong{color:var(--composer-accent)}.focused-editor>.editor-shell .mention-suggestions small{color:var(--composer-muted)}.focused-editor>.editor-shell .modal-footer>.composer-cost{display:grid;gap:4px;color:var(--composer-ink);font-family:inherit;font-size:12px}.focused-editor>.editor-shell .composer-cost small{color:var(--composer-muted);font-size:11px}.focused-editor>.editor-shell .modal-footer>div{flex-wrap:wrap}.focused-editor>.editor-shell .composer-path{padding:20px 28px;background:var(--composer-soft);border-bottom:1px solid var(--composer-line)}.focused-editor>.editor-shell .composer-path .scene-context{margin-bottom:16px}.focused-editor>.editor-shell .step-assets{background:var(--composer-paper);border-color:var(--composer-line)}.focused-editor>.editor-shell .step-assets h3,.focused-editor>.editor-shell .step-asset-group h4,.focused-editor>.editor-shell .step-provenance dt{color:var(--composer-muted)}.focused-editor>.editor-shell .step-asset-group li{background:var(--studio-selected, #e7edf6);border-color:var(--composer-line)}.focused-editor>.editor-shell .step-asset-group li strong,.focused-editor>.editor-shell .step-provenance dd{color:var(--composer-ink)}.focused-editor>.editor-shell .step-asset-group li small,.focused-editor>.editor-shell .step-asset-group li em{color:var(--composer-accent)}.focused-editor>.editor-shell .reference-warning{background:var(--studio-red-soft, #fbeae4);color:var(--studio-red, #963c2d);border-color:var(--studio-line, #e5bfb5)}.focused-editor>.editor-shell .creation-notice{background:var(--studio-amber-soft, #f3efdf);color:var(--studio-amber, #665420);border-color:var(--studio-line, #ddd4b4)}.focused-editor>.editor-shell .generation-section-heading h3{color:var(--composer-ink)}.focused-editor>.editor-shell .video-generation .muted,.focused-editor>.editor-shell .composer-video-settings .muted{color:var(--composer-muted)}@media(max-width:600px){.focused-editor>.editor-shell .modal-header,.focused-editor>.editor-shell .modal-footer,.focused-editor>.editor-shell .composer-origin{padding:16px 20px}.focused-editor>.editor-shell .composer-body,.focused-editor>.editor-shell .composer-path{padding:20px}.focused-editor>.editor-shell .script-input{font-size:16px!important}.focused-editor>.editor-shell .entity-panels{grid-template-columns:1fr}.focused-editor>.editor-shell .modal-footer{flex-wrap:wrap}.focused-editor>.editor-shell .modal-footer>div{margin-left:0}}@media(pointer:coarse){.focused-editor>.editor-shell .composer-command-list .button,.focused-editor>.editor-shell .composer-reference-chips button,.focused-editor>.editor-shell .composer-text-button{min-height:44px}}.scene-creator-page .editor-shell,.asset-creator-page .editor-shell{max-height:none}@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-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-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;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{.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}.block{display:block}.hidden{display:none}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.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,)}}:root{color:#e4e5df;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;color-scheme:dark;background:#0f0f0f;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.35}button:focus-visible,a:focus-visible,input:focus-visible{outline-offset:4px;outline:2px solid #c0f878}button{transition:background .15s,border-color .15s,color .15s}button:hover:not(:disabled){filter:brightness(1.2)}.app-shell{min-height:100vh}.app-header{background:#111210;border-bottom:1px solid #262724;align-items:center;gap:28px;height:86px;padding:0 40px;display:flex}.brand{color:#f0f2e9;letter-spacing:-.6px;align-items:center;gap:12px;font-size:18px;font-weight:800;text-decoration:none;display:flex}.brand-mark{color:#c0f878;border:1px solid #a8cc76;border-radius:10px 3px;place-items:center;width:39px;height:39px;display:grid;transform:rotate(-8deg)}.brand-mark svg{transform:rotate(8deg)}.brand-light{color:#b7bbb0;font-weight:400}.brand small{color:#666e60;letter-spacing:2px;margin-top:5px;font-size:7px;font-weight:500;display:block}.header-divider{background:#30312c;width:1px;height:26px}.workspace-name{color:#b0b2a9;font-size:11px}.workspace-name span{color:#494d44;padding:0 13px}.header-status{letter-spacing:1px;color:#949d87;align-items:center;gap:8px;margin-left:auto;font:9px monospace;display:flex}.status-dot,.live-dot{background:#b5e77b;border-radius:50%;flex-shrink:0;width:5px;height:5px;display:inline-block;box-shadow:0 0 6px #b5e77b33}.live-dot{background:#ff6565;animation:1s infinite pulse}.version{color:#727a68;border:1px solid #34372e;border-radius:4px;margin-left:18px;padding:6px 8px}main{max-width:1800px;margin:auto;padding:38px 40px 0}.page-heading{justify-content:space-between;align-items:center;margin-bottom:32px;display:flex}.eyebrow{letter-spacing:2px;color:#aeb99f;align-items:center;gap:8px;font:9px monospace;display:flex}.eyebrow>span{background:#b3d78e;width:13px;height:1px}h1{letter-spacing:-1.3px;margin:12px 0 10px;font-size:34px;font-weight:450;line-height:1.2}h1 em{color:#c0f878;font-family:Georgia,serif;font-weight:400}.page-heading p{color:#85877d;margin:0;font-size:12px}.experiment-stamp{color:#737b69;letter-spacing:1.4px;align-items:center;gap:12px;font:9px monospace;display:flex}.experiment-stamp small{letter-spacing:1px;color:#4e5747;margin-top:7px;font-size:7px;display:block}.console{background:#131510;border:1px solid #33362d;border-radius:9px;overflow:hidden;box-shadow:0 20px 80px #0003}.toolbar{background:#181a15;border-bottom:1px solid #303429;justify-content:space-between;align-items:center;gap:20px;min-height:70px;padding:14px 22px;display:flex}.toolbar-title{white-space:nowrap;align-items:center;gap:10px;display:flex}.toolbar-title strong{font-size:12px;font-weight:500}.tag{color:#7e876f;border:1px solid #343a2c;border-radius:3px;margin-left:4px;padding:4px 5px;font:8px monospace}.controls{align-items:center;gap:10px;display:flex}.controls label{color:#89907f;letter-spacing:1px;font:8px monospace}.controls input{background:#11130f;border:1px solid #34392c;border-radius:4px;width:61px;height:34px;padding:0 9px;font:12px monospace}.button{border:1px solid #0000;border-radius:4px;justify-content:center;align-items:center;gap:8px;height:35px;padding:0 13px;font-size:11px;font-weight:550;display:flex}.primary:disabled{color:#a6b496;opacity:.65;background:#39432e}.control-divider{background:#33392a;width:1px;height:23px;margin:0 4px}.console-body{grid-template-columns:minmax(0,1fr) 280px;height:calc(100vh - 385px);min-height:580px;max-height:850px;display:grid}.viewport{touch-action:none;cursor:grab;isolation:isolate;-webkit-user-select:none;user-select:none;background-color:#10120f;background-image:radial-gradient(#3e473142 .8px,#0000 .8px);background-size:18px 18px;position:relative;overflow:hidden}.viewport:after{content:"";pointer-events:none;z-index:1;position:absolute;inset:0;box-shadow:inset 0 0 100px #0004}.viewport.dragging{cursor:grabbing}.viewport.selecting,.viewport.selecting button{cursor:crosshair}.canvas-label{letter-spacing:1.3px;color:#9da78f;z-index:3;pointer-events:none;align-items:center;gap:7px;font:8px monospace;display:flex;position:absolute;top:21px;left:23px}.canvas-label small{color:#4e5845;margin-left:10px;font-size:8px}.canvas-coordinates{color:#546049;z-index:3;gap:10px;font:8px monospace;display:flex;position:absolute;top:22px;right:22px}.canvas-coordinates span{background:#3d4635;width:1px}.world{transform-origin:0 0;will-change:transform;position:absolute}.connections{pointer-events:none;position:absolute;overflow:visible}.tree-connection{fill:none;stroke:#4b603c;stroke-width:1.5px;stroke-linecap:round;transition:opacity .4s,stroke .2s}.tree-connection.route-connection{stroke:#69dbff;stroke-width:2.5px;filter:drop-shadow(0 0 4px #44bcff99)}.step{cursor:pointer;background:#161b14;border:1px solid #48543c;border-radius:4px;width:128px;height:88px;padding:4px;transition:opacity .4s,border-color .2s,box-shadow .2s;position:absolute;box-shadow:0 4px 10px #0005}.step:hover{z-index:4;border-color:#b3cc98}.step-screen,.preview-scene{background:#17211c;position:relative;overflow:hidden}.step-screen{border-radius:2px;height:59px}.step-caption{color:#819471;letter-spacing:.7px;justify-content:space-between;align-items:center;height:18px;padding:0 3px;font:8px monospace;display:flex}.step-caption span:last-child{color:#66795b;font-size:7px}.scene-door{background:linear-gradient(90deg,#101814,#536657 55%,#141d17 58%);border:2px solid #50694d40;width:25%;height:78%;position:absolute;top:12%;left:42%;transform:perspective(80px)rotateY(-12deg);box-shadow:0 0 25px #7caa7930}.scene-floor{background:repeating-linear-gradient(0deg,#0000 0 10px,#89978024 11px 12px),repeating-linear-gradient(90deg,#152019 0 25px,#89978020 26px 27px);width:140%;height:70%;position:absolute;bottom:-45%;left:-20%;transform:perspective(60px)rotateX(55deg)}.scene-1{background:linear-gradient(120deg,#0d1713 10%,#405048 48%,#101814 49%,#1f2d23)}.scene-1 .scene-door{filter:brightness(.5);width:12%;left:60%;transform:rotate(2deg)}.scene-2{background:linear-gradient(90deg,#111914,#25352a 49%,#53634b 50%,#1b261e 52%,#101912)}.scene-2 .scene-door{background:repeating-linear-gradient(0deg,#3d574430 0 8px,#0c170f 9px 11px);width:25%;height:45%;top:20%;left:15%;transform:none}.scene-3{background:radial-gradient(at 55% 15%,#56634a66,#0000 50%),linear-gradient(100deg,#0c120e,#293023,#0a100d)}.scene-3 .scene-door{background:#111b11;width:16%;height:57%;top:22%;left:48%;box-shadow:3px 0 9px #89a45b55}.scene-4{background:linear-gradient(165deg,#242d26 0 30%,#121e16 31% 70%,#3c4936 71%)}.scene-4 .scene-door{background:#6d7f5944;width:45%;height:12%;top:48%;left:30%;transform:rotate(-12deg)}.scene-5{background:linear-gradient(105deg,#17231b,#31463a 45%,#101914 46%,#253a2a)}.scene-5 .scene-door{background:#8eac7266;width:7%;height:70%;left:65%;box-shadow:0 0 14px #bfd69577}.screen-noise{opacity:.7;pointer-events:none;background:repeating-linear-gradient(0deg,#0000 0 2px,#0004 3px 4px);position:absolute;inset:0}.camera-code{color:#9db88999;letter-spacing:.8px;font:5px monospace;position:absolute;top:4px;left:4px}.record-dot{background:#a6c28b;border-radius:50%;width:3px;height:3px;position:absolute;top:5px;right:5px}.node-port{background:#314629;border:1px solid #78965c;border-radius:50%;width:8px;height:8px;position:absolute;top:39px}.node-port.incoming{left:-5px}.node-port.outgoing{right:-5px}.node-port.path-port,.in-path .node-port{background:#69dbff;border-color:#b4efff;box-shadow:0 0 7px #69dbff88}.step.in-path{border-color:#69dbff;box-shadow:0 0 10px #69dbff33}.step.start-step{border-color:#baf780;box-shadow:0 0 13px #baf78033}.step.end-step{border-color:#f57875;box-shadow:0 0 13px #f5787522}.node-badge{letter-spacing:1px;color:#baf780;font:7px monospace;position:absolute;top:-22px;left:0}.end-step .node-badge{color:#f57875}.canvas-bottom{z-index:5;pointer-events:none;justify-content:space-between;align-items:center;gap:10px;display:flex;position:absolute;bottom:17px;left:21px;right:19px}.legend{color:#909982;background:#10120fe6;gap:12px;padding:8px 0;font-size:8px;display:flex}.legend span{align-items:center;gap:5px;display:flex}.legend i{border-radius:1px;width:5px;height:5px}.neutral{background:#61714d}.green{color:#b5ef7c}.legend .green{background:#b5ef7c}.blue{background:#69dbff}.red{color:#ed8780}.legend .red{background:#ed8780}.zoom-controls{pointer-events:auto;color:#a5b497;background:#1b2017;border:1px solid #38412e;border-radius:4px;align-items:center;height:31px;display:flex}.zoom-controls button{background:0 0;border:0;place-items:center;width:28px;height:29px;display:grid}.zoom-controls span{text-align:center;min-width:36px;font:9px monospace}.zoom-controls button:last-child{border-left:1px solid #38412e;margin-left:4px}.sidebar{background:#181a15;border-left:1px solid #303429;padding:23px;overflow:auto}.section-label{color:#828c75;letter-spacing:1.1px;justify-content:space-between;align-items:center;font:8px monospace;display:flex}.sidebar h2{letter-spacing:-.4px;margin:17px 0 7px;font-size:16px;font-weight:500}.sidebar-copy{color:#7e8575;margin:0 0 20px;font-size:10px;line-height:1.6}.endpoint{text-align:left;background:#1e231a;border:1px solid #39412f;border-radius:5px;align-items:center;gap:11px;width:100%;padding:12px 10px;display:flex}.endpoint>span:nth-child(2){flex:1}.endpoint small{letter-spacing:1px;color:#7f8d70;margin-bottom:5px;font:7px monospace;display:block}.endpoint strong{color:#bec6b3;font-size:10px;font-weight:400;display:block}.endpoint-icon{background:#2d3823;border:1px solid #485e35;border-radius:4px;place-items:center;padding:6px;display:grid}.endpoint-icon.red{background:#342520;border-color:#5a3d32}.endpoint.chosen{border-color:#baf780}.endpoint-bridge{border-left:1px dashed #566345;height:13px;margin-left:23px}.route-summary{gap:12px;margin:22px 0 14px;display:grid}.route-summary>div{color:#8a9380;justify-content:space-between;align-items:center;font-size:10px;display:flex}.route-summary strong{color:#c5d3b6;font:11px monospace}.route-summary small{color:#748362;margin-left:4px;font-size:7px}.route-warning{color:#dabd91;background:#30271b;border:1px solid #73583a;border-radius:4px;margin:0 0 14px;padding:10px;font-size:10px;line-height:1.5}.reset-route{color:#859573;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:9px;display:flex}.sidebar-rule{background:#30372a;height:1px;margin:21px 0}.preview-scene{border:1px solid #3b4932;border-radius:4px;place-items:center;height:95px;margin-top:14px;display:grid}.preview-scene>svg{z-index:1;color:#c3d7ad66}.preview-cam,.preview-time{z-index:2;color:#a8bd95;letter-spacing:.7px;font:7px monospace;position:absolute}.preview-cam{top:8px;left:8px}.preview-time{bottom:7px;right:8px}.prompt-label{letter-spacing:1px;color:#849676;align-items:center;gap:6px;margin-top:14px;font:7px monospace;display:flex}.prompt-label .status-dot{width:4px;height:4px}.prompt-text{color:#bfc8b3;margin:9px 0 8px;font-size:11px;line-height:1.65}.simulation-note{color:#637057;font-size:8px}.help-box{color:#839374;border-top:1px solid #30372a;gap:9px;margin-top:20px;padding-top:17px;display:flex}.help-box>svg{flex-shrink:0;margin-top:1px}.help-box strong{color:#afbea0;font-size:10px;font-weight:400}.help-box p{color:#7f8b72;margin:6px 0 0;font-size:9px;line-height:1.9}kbd{color:#a0ae91;border:1px solid #46503b;border-radius:3px;padding:1px 4px;font:8px monospace}.timeline{background:#191c16;border-top:1px solid #303429;align-items:center;gap:16px;height:75px;padding:0 23px;display:flex}.timeline-icon{color:#8ca875;background:#252d1f;border:1px solid #414c34;border-radius:5px;place-items:center;width:34px;height:34px;display:grid}.timeline-info{min-width:235px}.timeline-info>span{letter-spacing:1.4px;color:#7e8c6f;font:7px monospace}.timeline-info strong{color:#b0bba4;margin-top:6px;font-size:10px;font-weight:400;display:block}.timeline-track{flex:1;align-items:center;gap:4px;height:22px;display:flex;overflow:hidden}.empty-segment{background:#303929;flex:1;height:3px}.timeline-segment{background:#303d47;border-radius:1px;flex:1;min-width:1px;height:15px;overflow:hidden}.timeline-segment.complete{background:#7789d3}.timeline-segment.current span{background:#c2a1ff;height:100%;animation:2.5s linear forwards clip-progress;display:block}.timeline-duration{color:#82946f;font:10px monospace}.timeline-play{color:#b9dba0;background:#2b3822;border:1px solid #4d603c;border-radius:50%;place-items:center;width:32px;height:32px;display:grid}footer{letter-spacing:1px;color:#68745c;justify-content:space-between;align-items:center;height:47px;font:7px monospace;display:flex}footer>span{align-items:center;gap:7px;display:flex}footer b{color:#424e38;margin:0 5px}footer .status-dot{width:4px;height:4px}.step-tooltip{z-index:30;pointer-events:none;background:#20281bf5;border:1px solid #526543;border-radius:5px;width:266px;padding:13px 15px;position:fixed;box-shadow:0 8px 30px #0008}.step-tooltip small{color:#c0f878;letter-spacing:1px;justify-content:space-between;font:8px monospace;display:flex}.step-tooltip p{color:#d1dbc8;margin:8px 0 0;font-size:11px;line-height:1.55}.selection-notice{z-index:6;color:#d0e9b9;white-space:nowrap;background:#28361d;border:1px solid #698750;border-radius:5px;align-items:center;gap:9px;padding:10px 13px;font-size:11px;display:flex;position:absolute;bottom:68px;left:50%;transform:translate(-50%)}.selection-notice button{color:#9fbf80;background:0 0;border:0;place-items:center;margin-left:8px;padding:0;display:grid}.error{color:#ffb5a7;background:#331d19;margin:0;padding:10px 22px;font-size:12px}@keyframes pulse{50%{opacity:.5}}@keyframes clip-progress{0%{width:0}to{width:100%}}@media(min-width:1500px){.console-body{grid-template-columns:minmax(0,1fr) 310px}.sidebar{padding:26px}.preview-scene{height:125px}}@media(max-width:1100px){main{padding:28px 20px 0}.app-header{padding:0 20px}.workspace-name,.header-divider{display:none}.console-body{grid-template-columns:minmax(0,1fr) 255px}.sidebar{padding:18px}.toolbar{padding:14px}.toolbar-title .tag{display:none}.legend{gap:7px;font-size:7px}.timeline-info{min-width:210px}.canvas-coordinates{display:none}}@media(max-width:760px){.app-header{height:70px}.brand{font-size:15px}.header-status{font-size:7px}.version{display:none}main{padding:25px 12px 0}.page-heading{margin-bottom:24px}h1{font-size:28px}.experiment-stamp{display:none}.toolbar{flex-wrap:wrap;gap:15px}.controls{gap:7px;width:100%}.controls .button{flex:1;padding:0 8px;font-size:10px}.controls input{width:52px}.console-body{flex-direction:column;height:auto;max-height:none;display:flex}.viewport{height:520px;min-height:520px}.sidebar{border-top:1px solid #303429;border-left:0;grid-template-columns:1fr 1fr;gap:12px 20px;display:grid;overflow:visible}.sidebar>h2,.sidebar>.sidebar-copy,.sidebar>.sidebar-rule,.sidebar>.help-box{display:none}.sidebar>.section-label,.sidebar>.route-warning{grid-column:1/-1}.endpoint-stack{grid-column:1}.route-summary{align-self:center;margin:0}.reset-route{grid-column:1/-1}.preview-scene{grid-row:6/9;margin:0}.prompt-label,.prompt-text{margin:0}.simulation-note{grid-column:2}.timeline{gap:10px;padding:0 12px}.timeline-info{flex:1;min-width:0}.timeline-track,.timeline-icon{display:none}.timeline-info strong{font-size:9px}footer>span:last-child{display:none}footer{font-size:6px}.legend{flex-wrap:wrap;max-width:190px}.canvas-label small{display:none}}@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}.live-dot{animation:none}}.continuing-step .step-screen{box-shadow:inset 0 0 0 1px #83c88025}.full-step .step-screen{filter:sepia(.28)hue-rotate(285deg);box-shadow:inset 0 0 0 1px #ef777744}.step.start-step .node-badge{color:#baf780}.step.end-step .node-badge{color:#f5a4a4}.full-step .node-port{background:#713030;border-color:#ef7777}.edit-scene-button{width:100%;margin-top:15px;font-size:10px}.save-notice{z-index:25;color:#d5efbb;background:#25391c;border:1px solid #65844c;border-radius:6px;align-items:center;gap:8px;padding:13px 20px;font-size:12px;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #0008}.app-dialog{color:#e3eadb;background:#161b14;border:1px solid #46513b;border-radius:12px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:0;position:fixed;inset:0;overflow:hidden;box-shadow:0 35px 140px #000b}.modal-header{background:#1b2117;border-bottom:1px solid #35402c;flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:23px 28px;display:flex}.modal-heading{align-items:center;gap:14px;min-width:0;display:flex}.modal-heading .eyebrow{letter-spacing:1.5px;font-size:8px}.modal-heading h2{letter-spacing:-.6px;margin:7px 0 0;font-size:22px;font-weight:450}.modal-icon{color:#c0f878;background:#28371e;border:1px solid #495c35;border-radius:8px;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.icon-button{color:#9fb08f;background:0 0;border:1px solid #0000;border-radius:5px;flex-shrink:0;place-items:center;width:34px;height:34px;display:grid}.icon-button:hover:not(:disabled){background:#2d3923;border-color:#4a6035}.app-dialog select,.app-dialog textarea,.app-dialog input{font:inherit}.app-dialog button:focus-visible,.app-dialog textarea:focus-visible,.app-dialog input:focus-visible,.app-dialog select:focus-visible{outline-offset:2px;outline:2px solid #c0f878}.editor-dialog{width:min(930px,94vw)}.editor-shell{flex-direction:column;max-height:calc(100dvh - 32px);display:flex}.editor-content{min-height:0;padding:24px 28px;overflow:auto}.editor-intro{color:#939e87;margin:0 0 22px;font-size:12px;line-height:1.7}.entity-panels{grid-template-columns:1fr 1fr;gap:18px;margin-bottom:26px;display:grid}.entity-panel{background:#1b2317;border:1px solid #39492e;border-radius:7px;min-width:0;padding:15px}.entity-heading{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.entity-heading h3{letter-spacing:1.6px;color:#b5d895;align-items:center;gap:8px;margin:0;font:9px monospace;display:flex}.entity-heading>span{color:#819675;background:#2a3b21;border-radius:3px;padding:3px 7px;font:9px monospace}.entity-list{height:124px;margin:0 -4px 12px;padding:0 4px;overflow:auto}.entity-row{border-top:1px solid #33442a;align-items:center;gap:8px;padding:8px 0;display:flex}.entity-reference{text-align:left;color:#c3d6b2;background:0 0;border:0;flex:1;align-items:center;gap:10px;min-width:0;padding:0;display:flex}.entity-reference strong{overflow-wrap:anywhere;font-size:11px;font-weight:450;display:block}.entity-reference small{color:#93c96f;margin-top:5px;font:9px monospace;display:block}.prop-panel .entity-reference small{color:#7cc3d0}.entity-avatar{color:#b2d798;background:#2a3b21;border:1px solid #415a32;border-radius:5px;flex-shrink:0;place-items:center;width:32px;height:32px;display:grid}.prop-panel .entity-avatar{color:#9bd4d9;background:#233a3b;border-color:#355659}.entity-remove{color:#667b59;background:0 0;border:0;border-radius:4px;place-items:center;padding:5px;display:grid}.entity-remove:hover{color:#ff9f91;background:#432923}.entity-add{gap:7px;display:flex}.entity-add input{color:#d3e3c3;background:#10190e;border:1px solid #394b2c;border-radius:4px;flex:1;min-width:0;height:34px;padding:0 9px;font-size:11px}.entity-add button{color:#c8e9b0;background:#2c4021;border:1px solid #506d3b;border-radius:4px;justify-content:center;align-items:center;gap:5px;height:34px;padding:0 9px;font-size:10px;display:flex}.prop-panel .entity-add button{color:#a6e2e9;background:#213d40;border-color:#39656c}.entity-empty{color:#7b9270;margin:15px 0;font-size:11px}.script-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.script-heading label{letter-spacing:1.5px;color:#c6d7b6;font:9px monospace}.script-heading>span{color:#829974;font-size:10px}.script-input-wrap{position:relative}.script-input{resize:vertical;color:#d7e4cd;background:#10170e;border:1px solid #465937;border-radius:6px;width:100%;min-height:140px;max-height:300px;padding:17px;line-height:1.8;display:block;font-size:13px!important}.script-help{color:#7a8e6a;justify-content:space-between;gap:15px;margin:10px 0 20px;font-size:9px;line-height:1.6;display:flex}.script-help b{color:#adc998;font-family:monospace;font-weight:500}.script-help>span:last-child{white-space:nowrap;font:9px monospace}.mention-suggestions{z-index:5;background:#23321a;border:1px solid #567143;border-radius:5px;width:min(370px,100% - 24px);max-height:230px;padding:5px;position:absolute;top:100%;left:12px;overflow:auto;box-shadow:0 15px 30px #000a}.mention-suggestions button{text-align:left;color:#adc997;background:0 0;border:0;border-radius:3px;align-items:center;gap:8px;width:100%;padding:10px 8px;font-size:11px;display:flex}.mention-suggestions button.highlighted{background:#354b28}.mention-suggestions strong{color:#c0f878;font:11px monospace}.mention-suggestions button>span{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.mention-suggestions small{color:#839771;margin-left:auto;font-size:8px}.mention-suggestions p{color:#bed1ab;padding:5px 8px;font-size:11px;line-height:1.6}.reference-warning{color:#ffd0ac;overflow-wrap:anywhere;background:#3e2b1d;border:1px solid #71553a;border-radius:4px;margin:0 0 17px;padding:11px 13px;font-size:11px;line-height:1.7}.script-preview{background:#1d2817;border:1px solid #35442a;border-radius:5px;padding:15px}.script-preview .section-label{color:#94a67f;font-size:8px}.script-preview p{color:#c8d5bb;white-space:pre-wrap;overflow-wrap:anywhere;max-height:140px;margin:12px 0 0;font-size:12px;line-height:1.85;overflow:auto}.script-reference{border-radius:3px;padding:2px 4px;font-family:monospace;font-size:.95em}.script-reference.actor{color:#c0f878;background:#324c22}.script-reference.prop{color:#8cdeee;background:#1d424a}.script-reference.unknown{color:#ffb5a8;text-underline-offset:3px;background:#512c23;-webkit-text-decoration:underline wavy #e38776;text-decoration:underline wavy #e38776}.modal-footer{letter-spacing:0;background:#1b2117;border-top:1px solid #35402c;flex-shrink:0;justify-content:space-between;align-items:center;gap:15px;height:auto;padding:18px 28px;display:flex}.modal-footer>span{color:#8d9e7d;align-items:center;gap:6px;font:9px ui-sans-serif,sans-serif;display:flex}.modal-footer>div{gap:9px;display:flex}.modal-footer .button{height:36px}.playback-dialog{width:min(1320px,94vw);height:92dvh;max-height:92dvh}.player-shell{background:#151a12;flex-direction:column;height:100%;display:flex}.player-shell:fullscreen{background:#11170d;width:100vw;height:100dvh}.playback-dialog.fullscreen-fallback{border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh}.player-header{padding:17px 23px}.player-header h2{font-size:19px}.player-header .modal-icon{width:36px;height:36px}.player-header-actions{align-items:center;gap:10px;display:flex}.fullscreen-button{height:33px;font-size:10px}.video-stage{background:#030603;flex:1;justify-content:center;align-items:center;min-height:160px;display:flex;position:relative;overflow:hidden}.video-stage video{object-fit:contain;width:100%;height:100%;display:block}.video-feed-tag,.video-step-count{letter-spacing:1.5px;color:#c0d6af;pointer-events:none;background:#0b150acc;border:1px solid #54753c55;border-radius:3px;padding:9px 11px;font:9px monospace;position:absolute;top:17px}.video-feed-tag{align-items:center;gap:9px;display:flex;left:20px}.video-step-count{right:20px}.feed-separator{background:#557046;width:1px;height:10px}.video-error{text-align:center;color:#d8e6bd;background:#262c19e8;border:1px solid #8b9c5b;border-radius:6px;padding:18px;font-size:13px;position:absolute;inset:30% 10% auto}.player-prompt{background:#1b2417;border-top:1px solid #34402a;flex-shrink:0;padding:18px 23px}.player-prompt .section-label{font-size:8px}.player-prompt p{color:#cedcc2;overflow-wrap:anywhere;white-space:pre-wrap;max-height:80px;margin:8px 0 0;font-size:12px;line-height:1.75;overflow:auto}.player-transport{border-top:1px solid #34402a;flex-shrink:0;align-items:center;gap:17px;padding:16px 23px;display:flex}.transport-buttons{align-items:center;gap:4px;display:flex}.player-toggle{color:#1c2b11;background:#bddf83;border:1px solid #84a65d;border-radius:50%;place-items:center;width:40px;height:40px;display:grid}.player-route{flex:1;align-items:center;gap:4px;min-width:0;display:flex}.player-route>button{background:#2f3d28;border:0;border-radius:2px;flex:1;min-width:1px;height:7px;padding:0;overflow:hidden}.player-route>button>span{background:0 0;height:100%;display:block}.player-route>button.complete>span{background:#678caa}.player-route>button.current>span{background:#b7ed80}.player-clock{color:#9eb18c;white-space:nowrap;font:10px monospace}.speed-control{border-left:1px solid #34472b;align-items:center;gap:8px;padding-left:15px;display:flex}.speed-control>span{letter-spacing:1px;color:#799065;font:8px monospace}.speed-control select{color:#c5dfa8;background:#25361b;border:1px solid #3f5730;border-radius:4px;padding:6px 7px;font-size:11px}.player-footnote{color:#7e9170;flex-shrink:0;justify-content:space-between;gap:15px;padding:0 23px 15px;font-size:9px;line-height:1.6;display:flex}@media(max-width:760px){.edit-scene-button{grid-column:1/-1;margin:0}.modal-header{padding:17px}.modal-heading{gap:10px}.modal-heading h2{font-size:19px}.modal-heading .eyebrow{font-size:7px}.modal-icon{width:35px;height:35px}.editor-content{padding:19px 17px}.entity-panels{gap:10px;margin-bottom:20px}.entity-panel{padding:11px}.entity-reference{gap:7px}.entity-avatar{display:none}.entity-add input{padding:0 6px;font-size:10px}.entity-add button{padding:0 6px;font-size:9px}.entity-add button svg{display:none}.script-heading{flex-direction:column;align-items:flex-start;gap:8px}.script-help{flex-wrap:wrap;gap:5px}.modal-footer{flex-wrap:wrap;gap:12px;padding:15px 17px}.modal-footer>span{font-size:8px}.modal-footer>div{margin-left:auto}.player-header{padding:13px}.player-header h2{font-size:15px}.player-header .modal-icon{display:none}.player-header-actions{gap:3px}.fullscreen-button{padding:0 7px;font-size:9px}.player-prompt{padding:14px}.player-prompt p{max-height:100px;font-size:11px}.player-transport{flex-wrap:wrap;gap:10px;padding:12px}.player-route{flex-basis:100%;order:4}.player-clock{margin-left:auto;font-size:9px}.speed-control{gap:5px;padding-left:9px}.speed-control>span{display:none}.player-footnote{flex-wrap:wrap;gap:4px;padding:0 14px 13px;font-size:8px}.video-feed-tag{letter-spacing:.5px;gap:5px;padding:6px;font-size:7px;left:10px}.video-step-count{padding:6px;font-size:7px;right:10px}.playback-dialog{height:94dvh;max-height:94dvh}.video-stage{min-height:140px}.entity-heading h3{letter-spacing:1px;font-size:8px}.entity-list{height:105px}.editor-shell{max-height:calc(100dvh - 24px)}}@media(max-width:390px){.entity-panels{grid-template-columns:1fr}.entity-list{height:75px}.modal-heading h2{font-size:17px}.fullscreen-button svg{display:none}}html{scrollbar-gutter:stable}.scene-duration-picker{border:0;min-width:0;margin:0 0 23px;padding:0}.scene-duration-picker legend{letter-spacing:1.2px;color:var(--display-muted);margin-bottom:11px;font:9px monospace}.scene-duration-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.scene-duration-option{border:1px solid var(--display-border);background:var(--display-field);color:var(--display-text);cursor:pointer;border-radius:5px;flex-direction:column;gap:7px;padding:16px;display:flex;position:relative}.scene-duration-option.selected{border-color:var(--display-route);background:var(--display-route)}@supports (color:color-mix(in lab,red,red)){.scene-duration-option.selected{background:color-mix(in srgb,var(--display-route) 9%,var(--display-field))}}.scene-duration-option.selected{box-shadow:0 0 0 1px var(--display-route)}.scene-duration-option:has(input:focus-visible){outline:2px solid var(--display-route);outline-offset:3px}.scene-duration-option input{appearance:auto;width:13px;height:13px;accent-color:var(--display-route);position:absolute;top:14px;right:14px}.scene-duration-option strong{padding-right:18px;font-size:20px;font-weight:500}.scene-duration-option strong span{font-size:11px;font-weight:400}.scene-duration-option small{color:var(--display-muted);font-size:11px}.scene-duration-picker>p{color:var(--display-muted);margin:10px 0 0;font-size:10px;line-height:1.7}@media(max-width:760px){.scene-duration-options{gap:8px}.scene-duration-option{padding:12px 10px}.scene-duration-option strong{font-size:18px}.scene-duration-option input{top:11px;right:10px}.scene-duration-option small{font-size:10px}}.scene-context{margin-bottom:24px}.scene-still{border:1px solid var(--display-border);background:#11191c;border-radius:6px;height:260px;position:relative;overflow:hidden}.scene-still img{object-fit:cover;width:100%;height:100%;display:block}.scene-still:after{content:"";pointer-events:none;background:linear-gradient(#07101650,#0000 55%,#07101650);position:absolute;inset:0}.scene-still-label{letter-spacing:1px;color:#fff;z-index:1;text-shadow:0 1px 4px #000;justify-content:space-between;gap:12px;font:9px monospace;display:flex;position:absolute;top:14px;left:16px;right:16px}.scene-still-play{color:#fff;z-index:1;background:#10202cde;border:1px solid #ffffff90;border-radius:50px;align-items:center;gap:10px;padding:14px 20px;font-size:13px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 5px 20px #0005}.scene-still-play:hover{background:#1c3e55}.scene-still-fallback{color:#cbd6dd;flex-direction:column;justify-content:center;align-items:center;gap:12px;height:100%;display:flex}.scene-still-fallback+.scene-still-label+.scene-still-play{top:73%}.scene-context-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;margin-top:13px;display:flex}.scene-history-picker{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.scene-history-picker label{color:var(--display-muted);font-size:11px}.scene-history-picker select{border:1px solid var(--display-border);background:var(--display-field);max-width:240px;color:var(--display-text);border-radius:4px;padding:9px;font-family:inherit;font-size:11px}.scene-history-note{color:var(--display-muted);margin:10px 0 16px;font-size:10px;line-height:1.7}.scene-context .saved-prompt{margin-bottom:0}.prompt-suggestion{border:1px solid var(--display-border);border-left:3px solid var(--display-route);background:var(--display-field);color:var(--display-text);border-radius:5px;margin:0 0 20px;padding:15px}.prompt-suggestion-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.prompt-suggestion-heading .section-label{color:var(--display-route);align-items:center;gap:7px;font-size:9px;display:flex}.suggestion-demo-tag{letter-spacing:.6px;color:var(--display-muted);font:8px monospace}.prompt-suggestion>p{overflow-wrap:anywhere;margin:12px 0;font-size:12px;line-height:1.85}.prompt-suggestion-footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.prompt-suggestion-footer>span{color:var(--display-muted);font-size:10px;line-height:1.6}.prompt-suggestion-footer .button{white-space:nowrap;flex-shrink:0}@media(max-width:760px){.scene-still{height:210px}.scene-still-label{font-size:8px;left:12px;right:12px}.scene-context-controls{align-items:flex-start;gap:10px}.scene-history-picker{gap:8px;width:100%}.scene-history-picker select{flex:1;min-width:0;max-width:none}.scene-history-picker .button{padding:0 10px;font-size:10px}.prompt-suggestion{padding:12px}.prompt-suggestion-footer{flex-wrap:wrap;align-items:flex-start}.prompt-suggestion-footer .button{margin-left:auto}}.step-assets{background:#182115;border:1px solid #3b4b32;border-radius:6px;margin:0 0 14px;padding:15px}.step-assets>h3,.recorded-slots>h3{letter-spacing:1.1px;color:#b0c79b;margin:0 0 13px;font:9px monospace}.step-asset-groups{grid-template-columns:1fr 1fr;gap:18px;display:grid}.step-asset-group{min-width:0}.step-asset-group h4{letter-spacing:1px;color:#a9cd8b;align-items:center;gap:6px;margin:0 0 8px;font:8px monospace;display:flex}.step-asset-group h4>span{color:#82976f;margin-left:auto}.step-asset-group ul{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.step-asset-group li{overflow-wrap:anywhere;background:#25371c;border:1px solid #425a30;border-radius:4px;flex-wrap:wrap;align-items:center;gap:5px;max-width:100%;padding:6px 8px;display:flex}.step-asset-group li strong{color:#c3ddac;font-size:10px;font-weight:450}.step-asset-group li small{color:#8fae72;font:8px monospace}.step-asset-group li em{letter-spacing:.5px;color:#93b778;flex-basis:100%;font:7px monospace}.step-asset-group li.removed{background:#37251e;border-color:#70463c}.step-asset-group li.removed strong,.step-asset-group li.removed small,.step-asset-group li.removed em{color:#e5a492}.step-asset-group>p{color:#7f9470;margin:0;font-size:10px;line-height:1.6}.continuity-message{color:#ceba8c;border-left:2px solid #8c7850;margin:0 0 20px;padding-left:11px;font-size:11px;line-height:1.7}.read-only-notice{color:#e8b0a2;background:#31211d;border:1px solid #74453d;border-radius:5px;align-items:flex-start;gap:10px;margin:0 0 20px;padding:12px 14px;font-size:11px;line-height:1.7;display:flex}.read-only-notice svg{flex-shrink:0;margin-top:2px}.step-provenance{grid-template-columns:1fr 1fr;gap:17px 20px;margin:0 0 22px;display:grid}.step-provenance>div{min-width:0}.step-provenance dt{letter-spacing:1px;color:#8a9c78;margin-bottom:6px;font:8px monospace}.step-provenance dd{color:#d0dcc3;margin:0;font-size:12px;line-height:1.6}.saved-prompt{margin-bottom:20px}.recorded-slots{margin-top:20px}.recorded-slots .next-slot.filled{cursor:default;opacity:1}.recorded-slots .next-slot strong{padding-right:0}@media(max-width:760px){.step-assets{padding:12px}.step-assets>h3,.recorded-slots>h3{font-size:8px}.step-asset-groups{gap:10px}.step-asset-group li{padding:6px}.step-asset-group li strong{font-size:9px}.continuity-message{font-size:10px}.step-provenance{gap:14px}.step-provenance dd{font-size:11px}.read-only-notice{font-size:10px}.details-dialog h2{font-size:18px}}.step-slot-dots{gap:3px;display:flex;position:absolute;bottom:5px;right:5px}.step-slot-dots i{background:#263d1b;border:1px solid #a5d981;border-radius:50%;width:4px;height:4px}.step-slot-dots i.used{background:#89a573;border-color:#89a573}.full-step .step-slot-dots i.used{background:#ef8e8e;border-color:#ef8e8e}.full-step .record-dot{background:#ef8e8e}.continuing-step .record-dot{background:#baf780}.branch-capacity{color:#829b6f;letter-spacing:.7px;border-top:1px solid #35402c;justify-content:space-between;align-items:center;gap:10px;margin-top:15px;padding-top:12px;font:8px monospace;display:flex}.branch-capacity strong{color:#bed8a8;font:9px monospace}.branch-capacity+.edit-scene-button{margin-top:10px}.next-slot-picker{border:0;min-width:0;margin:0 0 23px;padding:0}.next-slot-picker legend{letter-spacing:1.2px;color:#91a680;margin-bottom:11px;font:9px monospace}.next-slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.next-slot{cursor:pointer;background:#1b2816;border:1px dashed #54713d;border-radius:6px;flex-direction:column;gap:7px;min-width:0;padding:15px;transition:border-color .2s,background .2s;display:flex;position:relative}.next-slot.selected{background:#2a3b1d;border:1px solid #b6e980;box-shadow:0 0 0 1px #b6e98022}.next-slot.filled{cursor:not-allowed;opacity:.65;background:#2a201b;border:1px solid #6b423b}.next-slot:has(input:focus-visible){outline-offset:3px;outline:2px solid #b6e980}.next-slot input{appearance:auto;accent-color:#b6e980;width:13px;height:13px;cursor:inherit;position:absolute;inset:12px 12px auto auto}.slot-number{color:#7f9c69;letter-spacing:1px;font:9px monospace}.next-slot strong{color:#c5deb2;padding-right:18px;font-size:11px;font-weight:450}.next-slot small{color:#9fc579;letter-spacing:1px;font:7px monospace}.library-choice{cursor:pointer;flex:1;align-items:center;gap:10px;min-width:0;display:flex}.library-choice input{appearance:auto;accent-color:#baf780;flex-shrink:0;width:13px;height:13px}.prop-panel .library-choice input{accent-color:#80d1e3}.library-choice strong{color:#c2d3b2;font-size:11px;font-weight:450;display:block}.library-choice small{color:#84a969;margin-top:4px;font:9px monospace;display:block}.entity-panel .entity-heading>span{letter-spacing:.4px;font-size:7px}.insert-entity{color:#b7d497;background:#314224;border:1px solid #4c6636;border-radius:4px;place-items:center;padding:5px;display:grid}.entity-list{height:150px}.library-create-button{color:#b8d99b;background:#25371b;border:1px solid #4b6237;border-radius:4px;align-items:center;gap:7px;width:100%;padding:9px 10px;font-size:10px;display:flex}.library-create-button>span{letter-spacing:1px;color:#829d68;margin-left:auto;font:7px monospace}.library-fee-note{color:#82916c;align-items:center;gap:5px;margin:10px 0 0;font-size:8px;display:flex}.creation-notice{color:#b7b988;background:#272819;border:1px solid #514d2f;border-radius:5px;align-items:flex-start;gap:11px;margin-top:18px;padding:13px 14px;display:flex}.creation-notice>svg{flex-shrink:0;margin-top:2px}.creation-notice p{margin:0;font-size:10px;line-height:1.65}.creation-notice small{color:#8c9d75;margin-top:5px;font-size:9px;display:block}@media(max-width:760px){.next-slot{padding:12px 10px}.next-slot strong{font-size:10px}.next-slot-picker legend{font-size:8px}.next-slots{gap:7px}.next-slot input{width:11px;height:11px;inset:9px 9px auto auto}.library-choice{gap:7px}.library-choice strong{font-size:10px}.library-choice small{font-size:8px}.library-create-button{padding:8px;font-size:9px}.library-fee-note{font-size:7px}.entity-list{height:139px}.branch-capacity{grid-column:1/-1;margin-top:0}.branch-capacity+.edit-scene-button{margin:0}.creation-notice{padding:12px}.creation-notice p{font-size:9px}.creation-notice small{font-size:8px}}:root{color:#eef2e9;background:#394334}.app-shell{background:radial-gradient(at 35% 0,#73855d33,#0000 65%),#394334}.app-header{background:#46523e;border-color:#83956a;height:70px}.brand-light{color:#d5dec9}.brand small{color:#9cab8e}.brand-mark{background:#37442c;border-color:#bdd994}.workspace-name{color:#c2cdb5}.workspace-name span{color:#8e9e7d}.header-status{color:#d9e5c5}.version{color:#aec298;background:#35402b;border-color:#566748}main{padding:26px 32px 0}.page-heading{margin-bottom:25px}h1{color:#f2f5ed;font-size:32px}h1 em{color:#d2f4a5}.eyebrow{color:#bccdae}.page-heading p{color:#dce5cb}.experiment-stamp{color:#b0c29d}.experiment-stamp small{color:#8ca179}.console{background:#48553d;border-color:#5c6c50;border-radius:12px;box-shadow:0 16px 60px #0a120e33}.toolbar{background:#505e42;border-color:#8a9e6e;padding:16px 21px}.toolbar-title>svg{color:#c4d5b4}.toolbar-title strong{color:#e1ecd8;font-size:13px}.tag{color:#b7cba4;background:#61764b;border-color:#61794d}.controls label{color:#b6c6a5}.controls input{color:#ecf2e6;background:#33412c;border-color:#9db582}.secondary{color:#eef4e6;background:#637b4b;border-color:#a2ba7f}.primary{color:#213219;background:#e2ffa9}.primary:disabled{color:#afc299;background:#677a53}.control-divider{background:#63734f}.console-body{grid-template-columns:minmax(0,1fr) 294px;height:calc(100vh - 335px);min-height:620px;max-height:1000px}.viewport{background-color:#46543e;background-image:radial-gradient(#a3b79540 1px,#0000 1px);background-size:24px 24px}.viewport:after{box-shadow:inset 0 0 100px #14201826}.canvas-label{color:#eef7df;top:22px;left:23px}.canvas-label small{color:#d4e5bc}.layer-count{z-index:3;text-align:right;letter-spacing:1px;color:#f0f6e3;pointer-events:none;font:11px monospace;position:absolute;top:20px;right:22px}.layer-count span{letter-spacing:1px;color:#d4e4bf;margin-top:6px;font:7px monospace;display:block}.origin-aura{fill:#e0ffa43d;stroke:#d7efb188;stroke-width:1px;stroke-dasharray:3 5}.layer-guide circle{fill:none;stroke:#c8dea955;stroke-width:1px;stroke-dasharray:5 10;vector-effect:non-scaling-stroke}.layer-guide text{letter-spacing:2px;fill:#e0eec5;font:11px monospace}.tree-connection{stroke:#d3e4b3;opacity:.85}.tree-connection.route-connection{stroke:#83e3ff;filter:drop-shadow(0 0 5px #63d7ff99)}.connection-port{fill:#c0d7a8;stroke:#243322;stroke-width:1px}.connection-port.selected{fill:#83e3ff}.step{border-radius:6px;padding:5px;box-shadow:0 5px 16px #111b124d}.step.continuing-step,.step.continuing-step.start-step,.step.continuing-step.end-step{background:#587d4c;border-color:#c5eba9}.step.full-step,.step.full-step.start-step,.step.full-step.end-step{background:#885d4d;border-color:#ffd0b7;box-shadow:0 4px 14px #31191244}.continuing-step .step-caption,.continuing-step .step-caption span:last-child{color:#d5f1c5}.full-step .step-caption,.full-step .step-caption span:last-child{color:#ffe0d4}.step-screen{filter:brightness(1.65);height:58px}.full-step .step-screen{filter:brightness(1.65)sepia(.18)hue-rotate(320deg)}.camera-code{color:#d3dfb6cc}.screen-noise{opacity:.43}.origin-step{outline-offset:4px;outline:2px solid #d7edbc88}.origin-step .node-badge{color:#e6f4d8;white-space:nowrap;letter-spacing:1px;background:#34442a;border:1px solid #afc789;border-radius:4px;padding:4px 8px;font-size:8px;top:-26px;left:50%;transform:translate(-50%)}.step.continuing-step.in-path,.step.full-step.in-path{box-shadow:0 0 0 3px #83e3ffbb,0 0 24px #83e3ff55}.sidebar{background:#505e42;border-color:#8a9e6e;padding:24px}.section-label{color:#b2c69e}.sidebar h2{color:#eff5e8;font-size:18px}.sidebar-copy{color:#d6e3c3;font-size:11px}.endpoint{background:#394831;border-color:#697c57;padding:14px 11px}.endpoint small{color:#bacfa6}.endpoint strong{color:#e4efd8;font-size:11px}.endpoint>svg{color:#bfd49f}.endpoint-icon{color:#deefc2;background:#53663e;border-color:#8cab65}.endpoint-icon.red{color:#edc4b0;background:#694b3e;border-color:#a57961}.endpoint-bridge{border-color:#a4b88c}.route-summary>div{color:#dae6c8}.route-summary strong{color:#e1efce}.route-summary small{color:#a7c18b}.reset-route{color:#c3dba9}.sidebar-rule{background:#627450}.preview-scene{filter:brightness(1.2);border-color:#849d69}.preview-cam,.preview-time{color:#cfdfb9}.prompt-label{color:#b5ce9d}.prompt-text{color:#e2ecd8;font-size:12px}.simulation-note{color:#d1e1b9}.branch-capacity{color:#b2ca96;border-color:#657851}.branch-capacity strong{color:#e0edce}.help-box{color:#b4cf99;border-color:#627450}.help-box strong{color:#d4e7bf}.help-box p{color:#d6e5bf}.legend{color:#c4d7b0;font-size:8px}.zoom-controls{color:#e2efcf;background:#61764b;border-color:#b5ca91;box-shadow:0 4px 16px #14200d33}.zoom-controls button{color:#cde1b3}.timeline{background:#303b29;border-color:#586d45}.timeline-icon{color:#cae4a8;background:#465936;border-color:#7c9861}.timeline-info>span{color:#b3cd94}.timeline-info strong{color:#e0ecd2}.timeline-duration{color:#c2d8a7}.timeline-play{color:#e2f4c6;background:#586e40;border-color:#a1bc7c}.empty-segment{background:#5c7147}.timeline-segment{background:#4d6770}footer{color:#a1b88b}footer b{color:#7d9868}kbd{color:#d3e8ba;background:#435436;border-color:#8ba66e}.step-tooltip{color:#edf5e4;background:#3d4d31f5;border-color:#98b578;box-shadow:0 10px 30px #111d0b66}.step-tooltip small{color:#e1f4c4}.step-tooltip small span{color:#bed6a1}.step-tooltip p{color:#e6f0da}.app-dialog{background:#414e36;border-color:#71865c}.app-dialog::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#142013b3}.modal-header,.modal-footer{background:#546343;border-color:#687d52}.modal-heading .eyebrow{color:#c1d6a9}.modal-heading h2{color:#eff6e6}.modal-footer>span{color:#c0d3a9}.editor-intro{color:#c4d1b7}.modal-icon{color:#e4f5c7;background:#4d6337;border-color:#8ba66b}.icon-button{color:#cadcba}.entity-panel{background:#4f693e;border-color:#708954}.prop-panel{background:#406567;border-color:#5a8486}.entity-heading h3{color:#d3ecb7}.prop-panel .entity-heading h3{color:#b5e6ea}.entity-heading>span{color:#d2e8b7;background:#516a39}.prop-panel .entity-heading>span{color:#bfdee1;background:#45666b}.entity-row{border-color:#627c4b}.prop-panel .entity-row{border-color:#51787b}.library-choice strong{color:#e5efd7}.library-choice small{color:#b5d68f}.prop-panel .library-choice small{color:#a4d5dd}.entity-row.picked{background:#597b3666}.prop-panel .entity-row.picked{background:#51828b55}.library-create-button{color:#e2efc6;background:#506939;border-color:#8aa566}.prop-panel .library-create-button{color:#d2edef;background:#44666a;border-color:#77a3aa}.library-create-button>span,.library-fee-note{color:#b7cd9b}.entity-add input{color:#edf5e2;background:#27361f;border-color:#87a267}.prop-panel .entity-add input{background:#23383a;border-color:#68959a}.insert-entity{color:#e1f2c5;background:#536f36;border-color:#8da866}.prop-panel .insert-entity{color:#cdeaf0;background:#466f72;border-color:#81a5aa}.script-heading label{color:#dceacb}.script-heading>span,.script-help{color:#b9cfa0}.script-help b{color:#d2e7b8}.script-input{color:#eef6e3;background:#222e1e;border-color:#81986a}.script-input::placeholder{color:#97aa82}.script-preview{background:#34452a;border-color:#718857}.script-preview .section-label{color:#c8dba8}.script-preview p{color:#e4eed8}.creation-notice{color:#e1ddad;background:#494b2d;border-color:#969065}.creation-notice small{color:#c2d19f}.step-assets{background:#31412a;border-color:#748b5a}.step-assets>h3,.recorded-slots>h3{color:#d1e3b7}.step-asset-group h4{color:#cae3ad}.step-asset-group.prop h4{color:#b8e1e6}.step-asset-group h4>span{color:#c0d2a6}.step-asset-group>p{color:#b6c9a0}.step-asset-group li{background:#466136;border-color:#8aa46a}.step-asset-group.prop li{background:#345961;border-color:#70969e}.step-asset-group li strong{color:#e2efcf}.step-asset-group.prop li strong{color:#d2eced}.step-asset-group li small,.step-asset-group li em{color:#c3dea6}.step-asset-group.prop li small{color:#b4d5dc}.continuity-message{color:#e3d3a6;border-color:#b19b68}.step-provenance dt{color:#bfd0a5}.step-provenance dd{color:#e4edd8}.read-only-notice{color:#f2d5c4;background:#624438;border-color:#aa7664}.details-dialog .modal-icon{color:#f1d5bf;background:#6a4c39;border-color:#ac816a}.next-slot{background:#3a4b2d;border-color:#90ac70}.next-slot.selected{background:#536d39;border-color:#d3eea9}.next-slot strong{color:#e3f0d0}.next-slot small{color:#cae3a5}.slot-number{color:#bed49e}.next-slot.filled{opacity:.8;background:#5b4235;border-color:#9a7460}.next-slot.filled strong{color:#f1d4c4}.next-slot.filled small{color:#e4bba8}@media(max-width:1100px){main{padding:25px 20px 0}.console-body{grid-template-columns:minmax(0,1fr) 266px}.sidebar{padding:19px}.canvas-label small{display:none}}@media(max-width:760px){main{padding:23px 12px 0}.app-header{height:65px}.page-heading{margin-bottom:23px}h1{max-width:430px;font-size:28px}.console-body{height:auto;min-height:0;max-height:none}.viewport{height:580px;min-height:580px}.sidebar{gap:14px 20px;padding:18px}.toolbar{padding:15px}.layer-count{font-size:9px;top:22px;right:17px}.layer-count span{display:none}.canvas-label{letter-spacing:1px;font-size:7px;left:17px}.legend{gap:7px;max-width:175px;font-size:7px}.canvas-bottom{gap:9px}.zoom-controls button{width:26px}.zoom-controls span{min-width:30px}.timeline-info strong{font-size:10px}.origin-step .node-badge{font-size:8px}.step-tooltip{width:266px}}.workspace-page{max-width:1440px;margin:auto;padding:35px 42px 70px}.workspace-card{background:var(--display-surface,#f8f7f3);color:var(--display-ink,#252522);border:1px solid #9b9b97;padding:28px;box-shadow:4px 4px #29292515}.workspace-card h2{margin:16px 0;font-size:25px;line-height:1.3}.workspace-card p{font-size:13px;line-height:1.7}.workspace-card label{flex-direction:column;gap:8px;font-size:12px;font-weight:600;display:flex}.workspace-card input,.workspace-card select{color:#252522;min-width:0;font:inherit;background:#fff;border:1px solid #999b96;border-radius:3px;padding:12px 14px}.workspace-card input:focus,.workspace-card select:focus{outline-offset:2px;outline:2px solid #225bff}.new-story{align-items:center;gap:20px;margin-bottom:30px;display:flex}.new-story input{flex:1}.new-story label{letter-spacing:1.2px;font:10px monospace}.story-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:22px;display:grid}.story-card{flex-direction:column;align-items:flex-start;text-decoration:none;transition:transform .15s;display:flex}.story-card:hover{transform:translateY(-3px)}.story-card>svg{color:#f65b16;margin-bottom:25px}.story-open{border-top:1px solid #bfbfba;justify-content:space-between;align-items:center;width:100%;margin-top:auto;padding-top:20px;font-size:12px;font-weight:600;display:flex}.library-form{align-items:flex-end;gap:18px;margin-bottom:30px;display:flex}.library-form label{flex:1}.entity-card code{color:#225bff;font-size:13px}.entity-card>svg{margin-right:12px}.status-page{text-align:center;padding:55px;font-size:14px}.auth-page{grid-template-columns:1.25fr 1fr;gap:75px;max-width:1250px;margin:auto;padding:75px 45px;display:grid}.auth-intro h1{letter-spacing:-3px;margin:22px 0;font-size:clamp(40px,5vw,68px);font-weight:850;line-height:1.1}.auth-intro h1 em{color:#f65b16;font-style:normal}.auth-intro>p{max-width:420px;font-size:15px;line-height:1.8}.auth-art{color:#225bff;align-items:center;gap:25px;margin-top:45px;display:flex}.auth-art span{letter-spacing:2px;max-width:150px;font:10px monospace}.auth-card{flex-direction:column;align-self:start;gap:19px;display:flex}.auth-card h2{margin:0 0 8px;font-size:29px}.text-button{color:inherit;cursor:pointer;background:0 0;border:0;font-size:12px;text-decoration:underline}.muted{color:#6b6b65;margin:0;line-height:1.7;font-size:11px!important}.empty-story{text-align:center;max-width:680px;margin:30px auto;padding:55px}.empty-story>svg{color:#f65b16}.empty-story .button{margin:25px auto 0}.empty-copy{padding:20px;font-size:14px;line-height:1.8}.error{white-space:pre-wrap}.header-actions .button{font-size:11px}.entity-card .eyebrow{display:inline-block}[hidden]{display:none!important}.auth-card .remember-me{cursor:pointer;flex-direction:row;align-items:center;gap:9px}.auth-card .remember-me input{accent-color:#225bff;flex:none;width:16px;height:16px;margin:0;padding:0}html[data-theme=observation] .workspace-card{color:#ecf2e7;background:#44513b;border-color:#829975}html[data-theme=observation] .muted{color:#bccdad}@media(max-width:900px){.auth-page{grid-template-columns:1fr;gap:35px;padding:35px 24px}.auth-art{display:none}.auth-intro h1{font-size:43px}.workspace-page{padding:28px 20px}.new-story,.library-form{flex-wrap:wrap}.new-story input{flex-basis:100%}.library-form label{min-width:180px}.app-header{flex-wrap:wrap;gap:15px;height:auto;min-height:70px;padding:16px 20px}.header-actions{flex-wrap:wrap}.workspace-card{padding:22px}}.playback-dialog.compact{width:min(640px,94vw);height:min(560px,84dvh);max-height:84dvh}.playback-dialog.compact .player-header{flex-wrap:wrap;gap:8px;padding:12px 14px}.playback-dialog.compact .player-header h2{font-size:15px}.playback-dialog.compact .modal-icon{display:none}.playback-dialog.compact .player-header-actions{gap:5px}.playback-dialog.compact .player-prompt{padding:10px 14px}.playback-dialog.compact .player-prompt p{max-height:60px;font-size:11px}.playback-dialog.compact .player-transport{flex-wrap:wrap;gap:10px;padding:10px 14px}.playback-dialog.compact .player-route{flex-basis:100%;order:4}.playback-dialog.compact .player-footnote{padding:0 14px 10px}.scene-playback-controls{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.scene-playback-controls .button{align-items:center;gap:6px;display:inline-flex}.scene-history-list{margin:0;padding:0;list-style:none}.scene-history-row{border-bottom:1px solid var(--display-border);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}.scene-history-row:first-child{padding-top:0}.scene-history-row p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0;font-size:13px;line-height:1.7}.scene-history-label{color:var(--display-muted);font-size:11px}.scene-history-row .button{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.scene-history-actions{flex-direction:column;align-items:stretch;gap:8px;display:flex}.scene-history-actions .button{justify-content:center}.focused-editor .scene-history-row{border-color:var(--composer-line)}.focused-editor .scene-history-row p{color:var(--composer-ink)}.focused-editor .scene-history-label{color:var(--composer-muted)}@media(max-width:480px){.scene-history-row{gap:10px}.scene-history-row .button{padding:0 8px;font-size:11px}}@media(max-width:420px){.scene-history-row{grid-template-columns:minmax(0,1fr)}.scene-history-actions{flex-flow:wrap}}@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-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}:root{--display-accent: #e2ffa9;--display-route: #83e3ff;--display-connection: #d3e4b3;--display-text: #eef2e9;--display-muted: #c4d7b0;--display-field: #33412c;--display-border: #9db582}.header-actions{display:flex;align-items:center;gap:22px;margin-left:auto}.header-actions .header-status{margin-left:0;white-space:nowrap}.theme-picker{display:flex;align-items:center;gap:7px;width:168px;height:35px;padding:0 10px;border:1px solid var(--display-border);border-radius:6px;background:var(--display-field);color:var(--display-accent)}.theme-picker>svg{flex-shrink:0;pointer-events:none}.theme-picker select{width:100%;min-width:0;height:100%;border:0;outline:0;appearance:none;background:transparent;color:var(--display-text);font-family:inherit;font-size:11px;cursor:pointer}.theme-picker select option{color:var(--display-text);background:var(--display-field)}.theme-picker:focus-within{outline:2px solid var(--display-accent);outline-offset:3px}:root[data-theme=after-hours]{--display-accent: #bd4315;--display-route: #185bd6;--display-connection: #798991;--display-text: #20282d;--display-muted: #5d696f;--display-field: #ffffff;--display-border: #acb4b7;--surface-page: #eeece7;--surface-chrome: #f8f7f3;--surface-panel: #f8f7f3;--surface-canvas: #e2e7e8;--surface-inset: #ffffff;--surface-button: #f0f1ee;--surface-dialog: #f8f7f3;--border-soft: #c7cccb;--text-subtle: #6b7478;--accent-ink: #ffffff;--actor-surface: #eaf0f7;--actor-accent: #264f84;--actor-border: #a8b9cf;--actor-chip: #dce7f5;--prop-surface: #f4efe3;--prop-accent: #795417;--prop-border: #c8b68f;--prop-chip: #eadfc2;--danger-surface: #fbe3df;--danger-ink: #9d3229;--danger-border: #d79d95;color-scheme:light;background:var(--surface-page);color:var(--display-text)}[data-theme=after-hours] .app-shell{background:var(--surface-page)}[data-theme=after-hours] .app-header{position:relative;background:var(--surface-chrome);border-color:var(--border-soft)}[data-theme=after-hours] .app-header:after{content:"";position:absolute;inset:auto 0 -1px;height:3px;background:linear-gradient(90deg,#eb6426 0 14%,#283137 14% 100%)}[data-theme=after-hours] .brand{color:var(--display-text)}[data-theme=after-hours] .brand-light{color:#58666c}[data-theme=after-hours] .brand small,[data-theme=after-hours] .workspace-name span{color:var(--text-subtle)}[data-theme=after-hours] .brand-mark{background:#eb6426;border-color:#bd4315;color:#20282d;border-radius:3px;transform:none;box-shadow:none}[data-theme=after-hours] .brand-mark svg{transform:none}[data-theme=after-hours] .workspace-name,[data-theme=after-hours] .header-status{color:var(--display-muted)}[data-theme=after-hours] .header-divider{background:var(--border-soft)}[data-theme=after-hours] .theme-picker{border-radius:3px}[data-theme=after-hours] .version{background:#e9eceb;border-color:var(--border-soft);color:var(--display-muted)}[data-theme=after-hours] h1{color:var(--display-text);font-weight:720;letter-spacing:-1.2px}[data-theme=after-hours] h1 em{color:var(--display-route);font-family:inherit;font-style:normal;font-weight:720}[data-theme=after-hours] .sidebar h2,[data-theme=after-hours] .modal-heading h2{color:var(--display-text)}[data-theme=after-hours] .eyebrow{color:var(--display-muted)}[data-theme=after-hours] .eyebrow>span{background:var(--display-accent);height:3px}[data-theme=after-hours] .page-heading p,[data-theme=after-hours] .experiment-stamp{color:var(--display-muted)}[data-theme=after-hours] .experiment-stamp small{color:var(--text-subtle)}[data-theme=after-hours] .console{background:var(--surface-panel);border-color:#aeb8ba;border-radius:4px;box-shadow:0 10px 30px #2530390d}[data-theme=after-hours] .toolbar,[data-theme=after-hours] .sidebar{background:var(--surface-panel);border-color:var(--border-soft)}[data-theme=after-hours] .toolbar{background:#e8e9e4}[data-theme=after-hours] .toolbar-title>svg{color:var(--display-accent)}[data-theme=after-hours] .toolbar-title strong{color:var(--display-text);font-weight:650}[data-theme=after-hours] .tag{background:#f4dece;border-color:#cea284;color:#82471e}[data-theme=after-hours] .controls label{color:var(--display-muted)}[data-theme=after-hours] .controls input{background:var(--display-field);border-color:var(--display-border);color:var(--display-text)}[data-theme=after-hours] .button{border-radius:3px}[data-theme=after-hours] .secondary{background:var(--surface-button);border-color:#99a5aa;color:#303d44}[data-theme=after-hours] .primary{background:var(--display-accent);color:var(--accent-ink);box-shadow:0 2px #813111}[data-theme=after-hours] .primary:disabled{background:#d6dbd9;color:#647077;box-shadow:none}[data-theme=after-hours] button:hover:not(:disabled){filter:brightness(.96)}[data-theme=after-hours] .control-divider,[data-theme=after-hours] .sidebar-rule{background:var(--border-soft)}[data-theme=after-hours] .viewport{background-color:var(--surface-canvas);background-image:radial-gradient(#72838b42 1px,transparent 1px)}[data-theme=after-hours] .viewport:after{box-shadow:inset 0 0 100px #283b4510}[data-theme=after-hours] .canvas-label,[data-theme=after-hours] .layer-count{color:#394b54}[data-theme=after-hours] .canvas-label small,[data-theme=after-hours] .layer-count span{color:var(--display-muted)}[data-theme=after-hours] .origin-aura{fill:#eb642618;stroke:#bd431588}[data-theme=after-hours] .layer-guide circle{stroke:#70899544}[data-theme=after-hours] .layer-guide text{fill:#657d89}[data-theme=after-hours] .tree-connection{stroke:var(--display-connection)}[data-theme=after-hours] .tree-connection.route-connection{stroke:var(--display-route);filter:drop-shadow(0 0 4px #185bd633)}[data-theme=after-hours] .connection-port{fill:#647b87;stroke:#f8f7f3}[data-theme=after-hours] .connection-port.selected{fill:var(--display-route)}[data-theme=after-hours] .step.continuing-step{background:#cfe8d6;border-color:#31825b}[data-theme=after-hours] .step.full-step{background:#f5d2ca;border-color:#c54e3d}[data-theme=after-hours] .continuing-step .step-caption,[data-theme=after-hours] .continuing-step .step-caption span:last-child{color:#1d583b}[data-theme=after-hours] .full-step .step-caption,[data-theme=after-hours] .full-step .step-caption span:last-child{color:#8c3528}[data-theme=after-hours] .step.start-step .node-badge{color:#1d583b}[data-theme=after-hours] .step.end-step .node-badge{color:#9d3229}[data-theme=after-hours] .step.in-path{border-color:var(--display-route)}[data-theme=after-hours] .step.continuing-step.in-path,[data-theme=after-hours] .step.full-step.in-path{box-shadow:0 0 0 3px #185bd6bb,0 0 20px #185bd633}[data-theme=after-hours] .origin-step{outline-color:#bd431588}[data-theme=after-hours] .origin-step .node-badge{background:#f7d8bd;border-color:#c28758;color:#804016}[data-theme=after-hours] .section-label,[data-theme=after-hours] .prompt-label{color:#586c76}[data-theme=after-hours] .sidebar-copy,[data-theme=after-hours] .prompt-text{color:#44555d}[data-theme=after-hours] .endpoint{background:var(--surface-inset);border-color:#b3bfc2;border-radius:3px}[data-theme=after-hours] .endpoint small{color:var(--display-muted)}[data-theme=after-hours] .endpoint strong{color:var(--display-text)}[data-theme=after-hours] .endpoint>svg{color:#566f7e}[data-theme=after-hours] .endpoint-icon.green{background:#d5eadd;border-color:#80ac92;color:#23603f}[data-theme=after-hours] .endpoint-icon.red{background:var(--danger-surface);border-color:var(--danger-border);color:var(--danger-ink)}[data-theme=after-hours] .endpoint-bridge{border-color:#7c93a0}[data-theme=after-hours] .endpoint.chosen{border-color:var(--display-route)}[data-theme=after-hours] .route-summary>div{color:var(--display-muted)}[data-theme=after-hours] .route-summary strong{color:var(--display-text)}[data-theme=after-hours] .route-summary small{color:var(--text-subtle)}[data-theme=after-hours] .reset-route{color:var(--display-route)}[data-theme=after-hours] .preview-scene{border-color:#8e9fa6}[data-theme=after-hours] .simulation-note,[data-theme=after-hours] .help-box p{color:var(--text-subtle)}[data-theme=after-hours] .branch-capacity,[data-theme=after-hours] .help-box{color:var(--display-muted);border-color:var(--border-soft)}[data-theme=after-hours] .branch-capacity strong,[data-theme=after-hours] .help-box strong{color:var(--display-text)}[data-theme=after-hours] .legend{color:#44555d;background:#f8f7f3f2}[data-theme=after-hours] .legend .blue{background:var(--display-route)}[data-theme=after-hours] .legend .green{background:#31825b}[data-theme=after-hours] .legend .red{background:#c54e3d}[data-theme=after-hours] .status-dot{background:#31825b;box-shadow:0 0 0 3px #31825b12}[data-theme=after-hours] .zoom-controls{background:#f8f7f3;color:#3f535e;border-color:#a4b2b8;border-radius:3px;box-shadow:0 3px 10px #26333a16}[data-theme=after-hours] .zoom-controls button{color:#3b5666}[data-theme=after-hours] .timeline{background:#e8e9e4;border-color:var(--border-soft)}[data-theme=after-hours] .timeline-icon,[data-theme=after-hours] .timeline-play{background:#283137;border-color:#283137;color:#f5f4ed}[data-theme=after-hours] .timeline-info>span{color:#596a73}[data-theme=after-hours] .timeline-info strong{color:var(--display-text)}[data-theme=after-hours] .timeline-duration{color:var(--display-muted)}[data-theme=after-hours] .empty-segment{background:#bec8ca}[data-theme=after-hours] .timeline-segment{background:#c5d6ed}[data-theme=after-hours] .timeline-segment.complete{background:#769acf}[data-theme=after-hours] footer{color:var(--text-subtle)}[data-theme=after-hours] footer b{color:#98a2a5}[data-theme=after-hours] kbd{color:#3e535e;border-color:#acb9bd;background:#e4e9ea}[data-theme=after-hours] .step-tooltip{background:#f8f7f3fa;border-color:#94a6b0;color:var(--display-text);box-shadow:0 8px 24px #28313724}[data-theme=after-hours] .step-tooltip small{color:var(--display-route)}[data-theme=after-hours] .step-tooltip small span{color:var(--display-muted)}[data-theme=after-hours] .step-tooltip p{color:#44555d}[data-theme=after-hours] .selection-notice,[data-theme=after-hours] .save-notice{background:#e7effc;border-color:#8aa9d9;color:#244f91}[data-theme=after-hours] .selection-notice button{color:#244f91}[data-theme=after-hours] .route-warning,[data-theme=after-hours] .reference-warning,[data-theme=after-hours] .error{background:var(--danger-surface);color:var(--danger-ink);border-color:var(--danger-border)}[data-theme=after-hours] .app-dialog{background:var(--surface-dialog);border-color:#9fabaf;color:var(--display-text);border-radius:5px}[data-theme=after-hours] .app-dialog::backdrop{background:#202a3273}[data-theme=after-hours] .modal-header,[data-theme=after-hours] .modal-footer{background:#e8e9e4;border-color:var(--border-soft)}[data-theme=after-hours] .modal-heading .eyebrow,[data-theme=after-hours] .modal-footer>span,[data-theme=after-hours] .editor-intro{color:var(--display-muted)}[data-theme=after-hours] .modal-icon{background:#283137;border-color:#283137;color:#ef9b61;border-radius:3px}[data-theme=after-hours] .icon-button{color:#566a75}[data-theme=after-hours] .icon-button:hover:not(:disabled){background:#dbe2e3;border-color:#a5b3b9}[data-theme=after-hours] :is(button,input,textarea,select,a):focus-visible{outline-color:var(--display-route)}[data-theme=after-hours] .entity-panel{background:var(--actor-surface);border-color:var(--actor-border);border-radius:3px}[data-theme=after-hours] .prop-panel{background:var(--prop-surface);border-color:var(--prop-border)}[data-theme=after-hours] .entity-heading h3{color:var(--actor-accent)}[data-theme=after-hours] .prop-panel .entity-heading h3{color:var(--prop-accent)}[data-theme=after-hours] .entity-heading>span{background:var(--actor-chip);color:var(--actor-accent)}[data-theme=after-hours] .prop-panel .entity-heading>span{background:var(--prop-chip);color:var(--prop-accent)}[data-theme=after-hours] .entity-row{border-color:var(--actor-border)}[data-theme=after-hours] .prop-panel .entity-row{border-color:var(--prop-border)}[data-theme=after-hours] .library-choice strong{color:var(--display-text)}[data-theme=after-hours] .library-choice small{color:var(--actor-accent)}[data-theme=after-hours] .prop-panel .library-choice small{color:var(--prop-accent)}[data-theme=after-hours] .library-choice input{accent-color:var(--display-route)}[data-theme=after-hours] .prop-panel .library-choice input{accent-color:#8b621c}[data-theme=after-hours] .entity-row.picked{background:#185bd610}[data-theme=after-hours] .prop-panel .entity-row.picked{background:#9c6b1710}[data-theme=after-hours] .library-create-button,[data-theme=after-hours] .insert-entity{background:var(--actor-chip);border-color:var(--actor-border);color:var(--actor-accent)}[data-theme=after-hours] .prop-panel .library-create-button,[data-theme=after-hours] .prop-panel .insert-entity{background:var(--prop-chip);border-color:var(--prop-border);color:var(--prop-accent)}[data-theme=after-hours] .library-create-button>span,[data-theme=after-hours] .library-fee-note{color:var(--display-muted)}[data-theme=after-hours] .entity-add input,[data-theme=after-hours] .prop-panel .entity-add input,[data-theme=after-hours] .script-input{background:var(--display-field);border-color:var(--display-border);color:var(--display-text)}[data-theme=after-hours] .entity-add button{background:var(--actor-chip);border-color:var(--actor-border);color:var(--actor-accent)}[data-theme=after-hours] .prop-panel .entity-add button{background:var(--prop-chip);border-color:var(--prop-border);color:var(--prop-accent)}[data-theme=after-hours] .script-heading label{color:#3d505a}[data-theme=after-hours] .script-heading>span,[data-theme=after-hours] .script-help{color:var(--display-muted)}[data-theme=after-hours] .script-help b{color:var(--display-route)}[data-theme=after-hours] .script-input::placeholder{color:#768289}[data-theme=after-hours] .script-preview{background:#eef1ef;border-color:#a5b4ba;border-radius:3px}[data-theme=after-hours] .script-preview .section-label{color:#506773}[data-theme=after-hours] .script-preview p{color:#3d505a}[data-theme=after-hours] .script-reference.actor{background:var(--actor-chip);color:var(--actor-accent)}[data-theme=after-hours] .script-reference.prop{background:var(--prop-chip);color:var(--prop-accent)}[data-theme=after-hours] .creation-notice{background:#f5e8cd;border-color:#c4a56e;color:#705018}[data-theme=after-hours] .creation-notice small{color:#796542}[data-theme=after-hours] .mention-suggestions{background:#f8f7f3;border-color:#a5b4ba}[data-theme=after-hours] .mention-suggestions button{color:#3d505a}[data-theme=after-hours] .mention-suggestions button.highlighted{background:var(--actor-chip)}[data-theme=after-hours] .mention-suggestions strong{color:var(--display-route)}[data-theme=after-hours] .mention-suggestions small,[data-theme=after-hours] .mention-suggestions p{color:var(--display-muted)}[data-theme=after-hours] .next-slot{background:#f0f2ef;border-color:#97a8b0;border-radius:3px}[data-theme=after-hours] .next-slot.selected{background:#dce8f8;border-color:var(--display-route);box-shadow:0 0 0 1px #185bd622}[data-theme=after-hours] .next-slot input{accent-color:var(--display-route)}[data-theme=after-hours] .next-slot strong{color:#224b82}[data-theme=after-hours] .next-slot small,[data-theme=after-hours] .slot-number,[data-theme=after-hours] .next-slot-picker legend{color:var(--display-muted)}[data-theme=after-hours] .next-slot.filled{background:var(--danger-surface);border-color:var(--danger-border)}[data-theme=after-hours] .next-slot.filled strong,[data-theme=after-hours] .next-slot.filled small{color:var(--danger-ink)}[data-theme=after-hours] .step-assets{background:#eef1ef;border-color:#afbcbe;border-radius:3px}[data-theme=after-hours] .step-assets>h3,[data-theme=after-hours] .recorded-slots>h3{color:#506773}[data-theme=after-hours] .step-asset-group h4{color:var(--actor-accent)}[data-theme=after-hours] .step-asset-group.prop h4{color:var(--prop-accent)}[data-theme=after-hours] .step-asset-group h4>span,[data-theme=after-hours] .step-asset-group>p{color:var(--display-muted)}[data-theme=after-hours] .step-asset-group li{background:var(--actor-chip);border-color:var(--actor-border)}[data-theme=after-hours] .step-asset-group.prop li{background:var(--prop-chip);border-color:var(--prop-border)}[data-theme=after-hours] .step-asset-group li strong,[data-theme=after-hours] .step-asset-group.prop li strong{color:var(--display-text)}[data-theme=after-hours] .step-asset-group li small,[data-theme=after-hours] .step-asset-group li em{color:var(--actor-accent)}[data-theme=after-hours] .step-asset-group.prop li small,[data-theme=after-hours] .step-asset-group.prop li em{color:var(--prop-accent)}[data-theme=after-hours] .step-asset-group li.removed{background:var(--danger-surface);border-color:var(--danger-border)}[data-theme=after-hours] .step-asset-group li.removed :is(strong,small,em){color:var(--danger-ink)}[data-theme=after-hours] .step-provenance dt{color:var(--display-muted)}[data-theme=after-hours] .step-provenance dd{color:#3d505a}[data-theme=after-hours] .continuity-message{color:#795417;border-color:#c4a56e}[data-theme=after-hours] .read-only-notice,[data-theme=after-hours] .details-dialog .modal-icon{background:var(--danger-surface);border-color:var(--danger-border);color:var(--danger-ink)}[data-theme=after-hours] .player-shell,[data-theme=after-hours] .player-shell:fullscreen{background:var(--surface-dialog)}[data-theme=after-hours] .player-prompt{background:#eef1ef;border-color:var(--border-soft)}[data-theme=after-hours] .player-prompt p{color:#3d505a}[data-theme=after-hours] .player-transport,[data-theme=after-hours] .speed-control{border-color:var(--border-soft)}[data-theme=after-hours] .player-toggle{background:var(--display-accent);border-color:#813111;color:var(--accent-ink)}[data-theme=after-hours] .player-route>button{background:#c5d6ed}[data-theme=after-hours] .player-route>button.complete>span{background:#769acf}[data-theme=after-hours] .player-route>button.current>span{background:var(--display-route)}[data-theme=after-hours] .player-clock{color:#506773}[data-theme=after-hours] .speed-control>span,[data-theme=after-hours] .player-footnote{color:var(--display-muted)}[data-theme=after-hours] .speed-control select{background:var(--display-field);border-color:var(--display-border);color:var(--display-text)}[data-theme=after-hours] .video-feed-tag,[data-theme=after-hours] .video-step-count{background:#202a32d9;border-color:#b4c7d266;color:#f8f7f3}@media(max-width:760px){.app-header{padding:0 16px;gap:12px}.header-actions{gap:0}.header-actions .header-status{display:none}.theme-picker{width:150px;height:34px;padding:0 8px;gap:6px}.theme-picker select{font-size:11px}}@media(max-width:420px){.brand{font-size:13px;gap:9px}.brand small{font-size:6px;letter-spacing:1.5px}.brand-mark{width:32px;height:32px}.brand-mark svg{width:20px;height:20px}.theme-picker{width:143px}}.settings-dialog{width:620px}.settings-dialog .editor-content{max-height:calc(100dvh - 200px);overflow:auto}.generation-form,.video-generation{color:var(--display-text);font-size:13px;line-height:1.65}.generation-form>p{margin:0 0 18px}.generation-form label,.generation-fields label,.task-recovery label{display:flex;flex-direction:column;gap:8px;font-size:12px}.generation-form input:not([type=checkbox]),.generation-form select,.generation-fields select,.task-recovery input{min-width:0;width:100%;background:var(--display-field);color:var(--display-text);border:1px solid var(--display-border);border-radius:4px;padding:10px 12px}.generation-form form{display:grid;gap:12px;margin-bottom:18px}.generation-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px;margin:18px 0}.generation-fields .checkbox-label{flex-direction:row;align-items:center;gap:8px}.generation-actions{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0}.generation-actions .button{min-height:34px}.generation-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.generation-section-heading h3{margin:0;font-size:14px;font-weight:600}.creation-mode-picker{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:20px 0;padding:14px;border:1px solid var(--display-border);border-radius:5px}.creation-mode-picker p{flex:1;margin:0 0 0 8px;color:var(--display-muted);font-size:11px}.key-saved-dot{width:6px;height:6px;border-radius:50%;background:currentColor}.key-status{border:1px solid var(--display-border);border-radius:4px;padding:12px}.model-list{padding:0;list-style:none;margin:10px 0 20px}.model-list li{padding:7px 0;border-bottom:1px solid var(--display-border);display:flex;justify-content:space-between;gap:12px;overflow-wrap:anywhere}.model-list small{color:var(--display-muted)}.model-picker{border:1px solid var(--display-border);border-radius:4px;padding:15px;margin:18px 0;display:flex;gap:15px;flex-wrap:wrap}.model-picker legend{padding:0 6px;font:10px monospace;letter-spacing:1px}.model-picker label{flex-direction:row;align-items:center}.builder-description{min-height:115px;margin:0 0 18px}.provider-spend-note{font-size:11px;color:var(--display-muted);border-left:2px solid var(--display-accent);padding-left:12px;margin:18px 0}.candidate-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px;margin:20px 0}.image-candidate,.video-candidate{border:1px solid var(--display-border);border-radius:5px;padding:14px;overflow:hidden}.image-candidate.selected,.video-candidate.selected{border-color:var(--display-route);box-shadow:0 0 0 1px var(--display-route)}.image-candidate p{overflow-wrap:anywhere;font-size:11px}.candidate-image{display:block;border:0;padding:0;width:100%;background:transparent}.candidate-image img{width:100%;aspect-ratio:1;object-fit:contain;display:block;border-radius:3px}.candidate-placeholder{min-height:200px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:15px;color:var(--display-muted)}.refinement-panel{padding:16px;border:1px solid var(--display-route);border-radius:5px;margin:20px 0}.refinement-panel>img{display:block;max-width:180px;max-height:180px;object-fit:contain;margin:15px 0}.video-generation{padding:20px 0;border-top:1px solid var(--display-border);margin-top:22px}.generation-preview{border:1px solid var(--display-border);border-radius:4px;padding:12px;margin:18px 0}.generation-preview summary{cursor:pointer;font-size:12px}.generation-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;font-size:10px;padding:12px 0 0;margin:0;color:var(--display-muted)}.video-candidates{display:grid;gap:18px}.video-candidate>video{width:100%;max-height:440px;display:block;margin:14px 0;background:#111;border-radius:3px}.candidate-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.candidate-heading strong{font-size:11px;overflow-wrap:anywhere}.candidate-reference{width:100%;max-height:330px;object-fit:contain}.task-recovery{border-top:1px solid var(--display-border);margin-top:14px;padding-top:10px}.task-recovery .button{margin-top:10px}.accept-video{margin-top:18px}.library-filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}.library-asset-image{display:block;width:100%;max-height:230px;object-fit:contain;margin-bottom:18px;border-radius:4px}.entity-card .button{margin-top:18px}.location-reference-panel{border:1px solid var(--display-border);border-radius:5px;padding:16px;margin:18px 0 24px}.location-reference-panel>label{display:flex;align-items:center;gap:10px;padding:8px 0;font-size:12px}.location-reference-panel img{width:42px;height:35px;object-fit:cover;border-radius:3px}.location-reference-panel code{color:var(--display-route);font-size:10px}.location-reference-panel .insert-entity{margin-left:auto}.generate-asset-button{margin-top:9px}.story-work-strip{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--display-border);padding:16px 32px;font-size:11px}.story-work-strip>span{font:9px monospace;letter-spacing:1px;color:var(--display-muted)}.scene-discard{margin-top:17px}.scene-discard .muted{margin-top:10px}.discard-confirmation{border:1px solid var(--display-border);border-radius:4px;padding:12px;margin-top:12px;font-size:12px;line-height:1.6}.danger-button{color:#af3a29!important}.chain-export{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:12px 0}.chain-export .error{flex-basis:100%;font-size:11px}.toolbar .chain-export{margin:0}.node-preview-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.node-preview-image~.scene-door,.node-preview-image~.scene-floor,.node-preview-image~.screen-noise{display:none}[data-theme=observation] .danger-button{color:#ffc2b1!important}@media(max-width:760px){.creation-mode-picker p{flex-basis:100%;margin:4px 0 0}.candidate-grid{grid-template-columns:1fr}.generation-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.candidate-heading{align-items:start}.settings-dialog{width:calc(100vw - 24px)}.story-work-strip{padding:12px}.controls{flex-wrap:wrap}}.builder-sessions{border:1px solid var(--display-border);border-radius:5px;padding:14px;margin:0 0 24px}.builder-sessions summary{font-size:12px;cursor:pointer}.reference-version-row{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid var(--display-border)}.reference-version-row>div:nth-child(2){flex:1;min-width:160px}.reference-version-row strong{font-size:12px}.reference-version-row p{font-size:11px;line-height:1.6}.reference-version-images{display:flex;gap:5px;max-width:200px;overflow:auto}.reference-version-images img{width:65px;height:65px;object-fit:contain}.selected-visual-references{border-top:1px solid var(--display-border);margin:24px 0 18px;padding-top:15px}.selected-visual-references h3{font-size:13px;font-weight:600}.visual-reference-row{display:flex;gap:12px;align-items:center;font-size:12px;padding:10px 0}.visual-reference-row img{width:52px;height:52px;object-fit:contain;border-radius:3px}.visual-reference-row small{display:block;font-size:10px;color:var(--display-muted);margin-top:4px}.visual-reference-row label{display:flex;align-items:center;gap:6px;font-size:10px;margin-top:8px;color:var(--display-muted)}html[data-theme] .step.viewed-step{border-color:#07879b;border-width:3px;padding:3px}html .step.generating-step{outline:3px solid #e1a01b;outline-offset:3px;animation:generation-glow 1.5s ease-in-out infinite}.node-metrics{position:absolute;bottom:3px;left:3px;z-index:4;font:7px monospace;color:#fff;background:#101820cc;padding:2px 3px}.node-history{position:absolute;bottom:-5px;left:8px;right:8px;display:flex;gap:3px;height:3px}.node-history i{flex:1;border-radius:2px}.node-history .popular,.legend .popular{background:#a65af0}.node-history .newest,.legend .newest{background:#ed741c}.legend .viewing{background:#07879b}.legend .generating{background:#e1a01b}.legend{flex-wrap:wrap;max-width:440px}.step-slot-dots i.reserved{background:#e1a01b;border-color:#e1a01b}.history-connection{fill:none;opacity:.8;pointer-events:none}.popular-connection{stroke:#a65af0}.newest-connection{stroke:#ed741c}.history-picker{display:flex;align-items:center;gap:8px;font-size:10px}.history-picker select{padding:6px;border:1px solid #92998c;border-radius:3px;background:var(--display-surface);color:var(--display-ink);max-width:180px}.scene-activity-note{font-size:10px;line-height:1.6;margin:10px 0;color:inherit}.player-shell .scene-activity-note{padding:0 20px}@keyframes generation-glow{50%{outline-color:#ffd66a;filter:drop-shadow(0 0 6px #e1a01b99)}}@media(prefers-reduced-motion:reduce){html .step.generating-step{animation:none}}@media(max-width:760px){.history-picker{flex:1 0 100%}.legend{max-width:240px}.controls{flex-wrap:wrap}}:root[data-theme]{--studio-page: #f5f5fb;--studio-surface: #fdfdff;--studio-soft: #ededf6;--studio-field: #fff;--studio-ink: #23233b;--studio-muted: #71718a;--studio-line: #dfdfed;--studio-accent: #6550e8;--studio-accent-hover: #5340cf;--studio-on-accent: #fff;--studio-selected: #eeeafa;--studio-glow: #d9d1ff;--studio-cyan: #217f93;--studio-green: #24816b;--studio-green-soft: #e3f3ec;--studio-red: #a94d60;--studio-red-soft: #faeaf0;--studio-amber: #8c641c;--studio-amber-soft: #faf1db;--studio-shadow: #3430570a;--display-accent: var(--studio-accent);--display-route: #4962e5;--display-connection: #acabc6;--display-text: var(--studio-ink);--display-ink: var(--studio-ink);--display-muted: var(--studio-muted);--display-field: var(--studio-field);--display-border: var(--studio-line);--display-surface: var(--studio-surface);--surface-page: var(--studio-page);--surface-chrome: var(--studio-surface);--surface-panel: var(--studio-surface);--surface-canvas: var(--studio-page);--surface-inset: var(--studio-field);--surface-button: var(--studio-soft);--surface-dialog: var(--studio-surface);--border-soft: var(--studio-line);--text-subtle: var(--studio-muted);--accent-ink: var(--studio-on-accent);--actor-surface: var(--studio-soft);--actor-accent: var(--studio-accent);--actor-border: var(--studio-line);--actor-chip: var(--studio-selected);--prop-surface: var(--studio-soft);--prop-accent: var(--studio-cyan);--prop-border: var(--studio-line);--prop-chip: var(--studio-selected);--danger-surface: var(--studio-red-soft);--danger-ink: var(--studio-red);--danger-border: var(--studio-line);color-scheme:light;background:var(--studio-page);color:var(--studio-ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=observation]{--studio-page: #10111d;--studio-surface: #1a1b2d;--studio-soft: #22243a;--studio-field: #151625;--studio-ink: #eeeefa;--studio-muted: #a3a5bf;--studio-line: #33354d;--studio-accent: #b5a2ff;--studio-accent-hover: #c9bbff;--studio-on-accent: #21163e;--studio-selected: #322b4d;--studio-glow: #44365f;--studio-cyan: #82d5e9;--studio-green: #91dec0;--studio-green-soft: #203b37;--studio-red: #f3a6b9;--studio-red-soft: #3e2939;--studio-amber: #efcd87;--studio-amber-soft: #3b3324;--studio-shadow: #00000025;--display-route: #9eaaff;--display-connection: #646780;color-scheme:dark}html[data-theme] body{color:var(--studio-ink);background:var(--studio-page)}html[data-theme] .app-shell{background:var(--studio-page);min-height:100dvh;display:flex;flex-direction:column}.app-content{flex:1;min-width:0}html[data-theme] .publication-footer{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 20px;padding:16px 22px;border-top:1px solid var(--studio-line);color:var(--studio-muted);background:var(--studio-surface);font-size:11px;line-height:1.6;text-align:center}.publication-footer time{font-variant-numeric:tabular-nums}html[data-theme] .app-header{height:86px;padding:0 max(28px,calc((100vw - 1380px)/2));background:var(--studio-surface);border-color:var(--studio-line);gap:42px;flex-wrap:nowrap}html[data-theme] .app-header:after{display:none}html[data-theme] .brand{color:var(--studio-ink);gap:10px;font-size:26px;font-weight:700;letter-spacing:-1.3px}html[data-theme] .brand small{font-size:8px;font-weight:500;letter-spacing:1.6px;color:var(--studio-muted);margin-top:4px}html[data-theme] .brand-mark{width:42px;height:42px;border:1px solid var(--studio-line);border-radius:13px;background:var(--studio-selected);color:var(--studio-accent);transform:none;box-shadow:none}html[data-theme] .brand-mark svg{transform:none}html[data-theme] .studio-navigation{display:flex;align-items:center;gap:6px}html[data-theme] .studio-nav-link{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:9px 15px;border-radius:12px;color:var(--studio-muted);text-decoration:none;font-size:13px;font-weight:500;white-space:nowrap}html[data-theme] .studio-nav-link:hover,html[data-theme] .studio-nav-link.is-active{background:var(--studio-selected);color:var(--studio-accent)}html[data-theme] .header-actions{gap:10px}html[data-theme] .theme-picker{border:1px solid var(--studio-line);border-radius:12px;width:133px;height:38px;padding:0 11px;background:var(--studio-surface);color:var(--studio-muted)}html[data-theme] .theme-picker select{color:var(--studio-ink);font-size:12px}html[data-theme] .theme-picker select option{color:var(--studio-ink);background:var(--studio-surface)}html[data-theme] .header-actions .button{height:38px;font-size:12px}html[data-theme] .header-actions .button.studio-logout{width:38px;padding:0}html[data-theme] .theme-picker select:focus-visible{outline:none}html[data-theme] main{max-width:1436px;padding:36px 28px 28px}html[data-theme] .workspace-page{max-width:1380px;padding:42px 28px 70px}html[data-theme] h1{color:var(--studio-ink);font-weight:600;font-size:40px;line-height:1.13;letter-spacing:-1.6px}html[data-theme] h1 em{font-family:inherit;font-style:normal;font-weight:inherit;color:var(--studio-accent)}html[data-theme] .page-heading{gap:24px;align-items:center;margin-bottom:28px}html[data-theme] .page-heading p{color:var(--studio-muted);font-size:14px;line-height:1.7}html[data-theme] .eyebrow{color:var(--studio-muted);font-size:10px;letter-spacing:1.6px}html[data-theme] .eyebrow>span{background:var(--studio-accent)}html[data-theme] .button{border-radius:10px;min-height:38px;height:auto;padding:10px 15px;font-size:12px;font-weight:500;text-decoration:none;transition:background .15s,border-color .15s,transform .15s}html[data-theme] .button.primary{background:var(--studio-accent);color:var(--studio-on-accent);border-color:transparent;box-shadow:0 4px 12px var(--studio-shadow)}html[data-theme] .button.secondary{background:var(--studio-surface);color:var(--studio-ink);border-color:var(--studio-line)}html[data-theme] .button:hover:not(:disabled){filter:none;background:var(--studio-selected)}html[data-theme] .button.primary:hover:not(:disabled){background:var(--studio-accent-hover)}html[data-theme] .button:disabled{opacity:.5}html[data-theme] .button>svg{flex-shrink:0}html[data-theme] :is(button,input,textarea,select,a,summary):focus-visible{outline:2px solid var(--studio-accent);outline-offset:3px}html[data-theme] .tag{color:var(--studio-muted);background:var(--studio-soft);border:1px solid var(--studio-line);border-radius:20px;font-family:inherit;font-size:10px;line-height:1.4;padding:6px 9px}html[data-theme] .studio-hero{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:40px;padding:34px 38px;border:1px solid var(--studio-line);border-radius:26px;background:radial-gradient(ellipse at 39% 20%,var(--studio-glow),transparent 70%),var(--studio-surface);margin-bottom:48px}html[data-theme] .studio-hero-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0}html[data-theme] .studio-overline{display:flex;gap:8px;align-items:center;color:var(--studio-accent);font-size:10px;letter-spacing:1.4px;font-weight:500}html[data-theme] .studio-hero h1{font-size:clamp(38px,4.7vw,64px);line-height:1.08;letter-spacing:-2.6px;margin:24px 0 18px}html[data-theme] .studio-hero h1 em{color:var(--studio-accent)}html[data-theme] .studio-hero-copy>p{max-width:390px;margin:0;color:var(--studio-muted);font-size:15px;line-height:1.8}html[data-theme] .hero-footnote{display:flex;align-items:center;gap:8px;color:var(--studio-muted);font-size:11px;margin-top:30px}html[data-theme] .workspace-card{background:var(--studio-surface);color:var(--studio-ink);border:1px solid var(--studio-line);border-radius:18px;box-shadow:0 5px 22px var(--studio-shadow);padding:24px}html[data-theme] .workspace-card input,html[data-theme] .workspace-card select{color:var(--studio-ink);background:var(--studio-field);border:1px solid var(--studio-line);border-radius:10px;padding:12px 13px;font-size:13px}html[data-theme] .workspace-card input::placeholder{color:var(--studio-muted)}html[data-theme] .workspace-card h2{font-size:23px;font-weight:500;letter-spacing:-.6px;margin:12px 0}html[data-theme] .workspace-card label{font-size:12px;font-weight:500;color:var(--studio-muted)}html[data-theme] .workspace-card p{color:var(--studio-muted);font-size:12px;line-height:1.7}html[data-theme] .new-story{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:0;padding:26px}html[data-theme] .new-story h2{margin:1px 0 0}html[data-theme] .new-story p{margin:-5px 0 4px}html[data-theme] .new-story label{font-family:inherit;font-size:12px;line-height:1.5;letter-spacing:0}html[data-theme] .new-story input{flex:initial;width:100%}html[data-theme] .new-story .button{justify-content:space-between;margin-top:2px}html[data-theme] .new-story-symbol{color:var(--studio-accent);display:grid;place-items:center;width:44px;height:44px;background:var(--studio-selected);border-radius:13px;margin-bottom:3px}html[data-theme] .collection-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}html[data-theme] .collection-heading h2{font-size:23px;font-weight:500;letter-spacing:-.5px;margin:8px 0 0;display:flex;align-items:center;gap:10px}html[data-theme] .collection-count{display:inline-grid;place-items:center;width:26px;height:26px;background:var(--studio-soft);color:var(--studio-muted);font-size:12px;letter-spacing:0;border-radius:9px}html[data-theme] .studio-development{color:var(--studio-muted);font-size:11px}html[data-theme] .story-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px}html[data-theme] .story-card{display:flex;flex-direction:column;align-items:stretch;padding:0;overflow:hidden;transition:transform .18s,border-color .18s}html[data-theme] .story-card:hover{transform:translateY(-4px);border-color:var(--studio-accent)}html[data-theme] .story-cover{height:150px;display:grid;place-items:center;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 70%,var(--studio-glow),transparent 70%),var(--studio-soft);color:var(--studio-accent);border-bottom:1px solid var(--studio-line)}html[data-theme] .story-cover-orbit{position:absolute;width:250px;height:150px;border:1px solid var(--studio-line);border-radius:50%;transform:rotate(-23deg)}html[data-theme] .story-cover-orbit:after{content:"";position:absolute;width:200px;height:220px;border:1px solid var(--studio-line);border-radius:50%;left:24px;top:-36px;transform:rotate(60deg)}html[data-theme] .story-cover-label{position:absolute;left:17px;bottom:14px;font-size:11px;color:var(--studio-ink);background:var(--studio-surface);border:1px solid var(--studio-line);border-radius:20px;padding:4px 9px}html[data-theme] .story-card-body{padding:22px}html[data-theme] .story-card h2{font-size:22px;overflow-wrap:anywhere}html[data-theme] .story-card p{margin:0 0 20px}html[data-theme] .story-open{color:var(--studio-accent);border-color:var(--studio-line);padding-top:16px;font-size:12px}html[data-theme] .studio-empty{grid-column:1/-1;padding:45px;border:1px dashed var(--studio-line);border-radius:18px;text-align:center;color:var(--studio-muted)}html[data-theme] .studio-empty svg{color:var(--studio-accent)}html[data-theme] .studio-empty h3{color:var(--studio-ink);font-size:20px;font-weight:500}html[data-theme] .studio-empty p{font-size:13px}html[data-theme] .library-create-disclosure{background:var(--studio-surface);border:1px solid var(--studio-line);border-radius:16px;margin-bottom:24px}html[data-theme] .library-create-disclosure summary{display:flex;align-items:center;gap:9px;padding:17px 20px;color:var(--studio-ink);font-size:13px;cursor:pointer}html[data-theme] .library-create-disclosure summary:after{content:"+";margin-left:auto;color:var(--studio-muted);font-size:18px}html[data-theme] .library-create-disclosure[open] summary:after{content:"−"}html[data-theme] .library-create-disclosure summary>span{font-size:11px;color:var(--studio-muted)}html[data-theme] .library-form{margin:0;border:0;border-top:1px solid var(--studio-line);border-radius:0 0 16px 16px;box-shadow:none;padding:20px}html[data-theme] .library-filters{gap:7px;margin-bottom:24px}html[data-theme] .library-filters .button{border:0;border-radius:20px;padding:9px 18px;background:transparent;color:var(--studio-muted)}html[data-theme] .library-filters .button.primary{background:var(--studio-selected);color:var(--studio-accent);box-shadow:none}html[data-theme] .entity-card{display:flex;flex-direction:column;min-width:0}html[data-theme] .entity-art{position:relative;display:grid;place-items:center;height:185px;margin:-24px -24px 10px;overflow:hidden;color:var(--studio-accent);background:radial-gradient(ellipse at 50% 80%,var(--studio-glow),transparent 70%),var(--studio-soft);border-bottom:1px solid var(--studio-line);border-radius:18px 18px 0 0}html[data-theme] .entity-art-prop{color:var(--studio-cyan)}html[data-theme] .entity-art-location{color:var(--studio-green)}html[data-theme] .entity-art .library-asset-image{width:100%;height:100%;max-height:none;object-fit:contain;margin:0;border-radius:0}html[data-theme] .entity-kind-label{position:absolute;left:15px;bottom:13px;padding:4px 9px;border:1px solid var(--studio-line);border-radius:20px;background:var(--studio-surface);color:var(--studio-muted);font-size:10px;text-transform:capitalize}html[data-theme] .entity-card code{color:var(--studio-accent);font-size:12px}html[data-theme] .entity-card p{flex:1}html[data-theme] .entity-card .button{margin-top:9px}html[data-theme] .auth-page{max-width:1250px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,1fr);gap:65px;align-items:center;padding:65px 35px}html[data-theme] .auth-intro h1{font-size:clamp(40px,5.3vw,68px);letter-spacing:-2.5px;font-weight:600}html[data-theme] .auth-intro>p{color:var(--studio-muted);font-size:15px;line-height:1.8}html[data-theme] .auth-art{color:var(--studio-accent)}html[data-theme] .auth-art span{color:var(--studio-muted)}html[data-theme] .auth-card{padding:30px;gap:17px}html[data-theme] .auth-card h2{font-size:26px;margin-bottom:6px}html[data-theme] .text-button{color:var(--studio-accent)}html[data-theme] .muted{color:var(--studio-muted);font-size:11px!important}html[data-theme] .empty-story{margin:36px auto;max-width:620px}html[data-theme] .empty-story>svg{color:var(--studio-accent)}html[data-theme] .console{background:var(--studio-surface);border:1px solid var(--studio-line);border-radius:20px;box-shadow:0 10px 35px var(--studio-shadow)}html[data-theme] .toolbar{background:var(--studio-surface);border-color:var(--studio-line);padding:16px 22px;gap:15px}html[data-theme] .toolbar-title strong{color:var(--studio-ink);font-size:14px}html[data-theme] .toolbar-title>svg{color:var(--studio-accent)}html[data-theme] .controls{flex-wrap:wrap;justify-content:flex-end}html[data-theme] .controls label{color:var(--studio-muted);font-size:11px;letter-spacing:0}html[data-theme] .history-picker select{color:var(--studio-ink);background:var(--studio-soft);border-color:var(--studio-line);border-radius:8px;font-size:11px;max-width:175px}html[data-theme] .console-body{grid-template-columns:minmax(0,1fr) 300px;height:min(740px,calc(100dvh - 285px));min-height:580px;max-height:none}html[data-theme] .viewport{background-color:var(--studio-page);background-image:radial-gradient(var(--studio-line) 1px,transparent 1px);background-size:22px 22px}html[data-theme] .viewport:after{box-shadow:none}html[data-theme] .canvas-label,html[data-theme] .canvas-label small,html[data-theme] .layer-count,html[data-theme] .layer-count span{color:var(--studio-muted)}html[data-theme] .origin-aura{fill:var(--studio-selected);stroke:var(--studio-line);opacity:.6}html[data-theme] .layer-guide circle{stroke:var(--studio-line)}html[data-theme] .layer-guide text{fill:var(--studio-muted)}html[data-theme] .tree-connection{stroke:var(--display-connection)}html[data-theme] .tree-connection.route-connection{stroke:var(--display-route);filter:none}html[data-theme] .connection-port{fill:var(--display-connection);stroke:var(--studio-surface)}html[data-theme] .connection-port.selected{fill:var(--display-route)}html[data-theme] .step{border-radius:9px;box-shadow:0 4px 12px var(--studio-shadow)}html[data-theme] .step.continuing-step{background:var(--studio-green-soft);border-color:var(--studio-green)}html[data-theme] .step.full-step{background:var(--studio-red-soft);border-color:var(--studio-red)}html[data-theme] .continuing-step .step-caption,html[data-theme] .continuing-step .step-caption span:last-child{color:var(--studio-green)}html[data-theme] .full-step .step-caption,html[data-theme] .full-step .step-caption span:last-child{color:var(--studio-red)}html[data-theme] .step-screen,html[data-theme] .full-step .step-screen{filter:none;border-radius:5px}html[data-theme] .step.in-path{box-shadow:0 0 0 3px var(--display-route)}html[data-theme] .origin-step{outline-color:var(--studio-accent)}html[data-theme] .origin-step .node-badge{color:var(--studio-accent);background:var(--studio-surface);border-color:var(--studio-line);border-radius:20px}html[data-theme] .node-badge{color:var(--studio-accent)}html[data-theme] .end-step .node-badge{color:var(--studio-red)}html[data-theme] .sidebar{background:var(--studio-surface);border-color:var(--studio-line);padding:22px}html[data-theme] .sidebar h2{color:var(--studio-ink);font-size:21px;font-weight:500;letter-spacing:-.5px;margin:11px 0}html[data-theme] .section-label,html[data-theme] .sidebar-copy{color:var(--studio-muted);font-size:11px}html[data-theme] .section-label{letter-spacing:1px}html[data-theme] .endpoint{border-color:var(--studio-line);background:var(--studio-soft);border-radius:10px;padding:12px}html[data-theme] .endpoint small{color:var(--studio-muted);font-size:9px}html[data-theme] .endpoint strong{color:var(--studio-ink);font-size:12px}html[data-theme] .endpoint>svg{color:var(--studio-accent)}html[data-theme] .endpoint-icon{border:0;border-radius:8px;background:var(--studio-green-soft);color:var(--studio-green)}html[data-theme] .endpoint-icon.red{background:var(--studio-red-soft);color:var(--studio-red)}html[data-theme] .endpoint-bridge{border-color:var(--studio-line)}html[data-theme] .route-summary>div{color:var(--studio-muted);font-size:11px}html[data-theme] .route-summary strong{color:var(--studio-ink)}html[data-theme] .route-summary small{color:var(--studio-muted)}html[data-theme] .reset-route{color:var(--studio-accent);font-size:11px}html[data-theme] .sidebar-rule{background:var(--studio-line);margin:22px 0}html[data-theme] .preview-scene{border-color:var(--studio-line);border-radius:10px;filter:none}html[data-theme] .prompt-label{color:var(--studio-muted);font-size:10px}html[data-theme] .prompt-text{color:var(--studio-ink);font-size:12px;line-height:1.7}html[data-theme] .simulation-note{color:var(--studio-muted);font-size:10px}html[data-theme] .branch-capacity{color:var(--studio-muted);border-color:var(--studio-line);font-size:10px}html[data-theme] .branch-capacity strong{color:var(--studio-ink);font-size:11px}html[data-theme] .canvas-help{padding:12px 0;border-top:1px solid var(--studio-line);color:var(--studio-muted);font-size:11px;margin-top:12px}html[data-theme] .canvas-help summary{cursor:pointer;color:var(--studio-ink)}html[data-theme] .help-box{border:0;padding:14px 0 0;color:var(--studio-muted);margin:0}html[data-theme] .help-box strong{color:var(--studio-ink)}html[data-theme] .help-box p{color:var(--studio-muted)}html[data-theme] .legend{color:var(--studio-muted);font-size:10px;max-width:420px;gap:9px}html[data-theme] .legend .green{background:var(--studio-green)}html[data-theme] .legend .red{background:var(--studio-red)}html[data-theme] .legend .blue{background:var(--display-route)}html[data-theme] .zoom-controls{background:var(--studio-surface);border-color:var(--studio-line);color:var(--studio-muted);box-shadow:0 3px 15px var(--studio-shadow);border-radius:10px}html[data-theme] .zoom-controls button{color:var(--studio-ink)}html[data-theme] .timeline{background:var(--studio-surface);border-color:var(--studio-line);height:78px}html[data-theme] .timeline-icon{color:var(--studio-accent);background:var(--studio-selected);border-color:transparent;border-radius:11px}html[data-theme] .timeline-info>span{color:var(--studio-muted);font-size:9px}html[data-theme] .timeline-info strong{color:var(--studio-ink);font-size:12px}html[data-theme] .timeline-duration{color:var(--studio-muted)}html[data-theme] .empty-segment{background:var(--studio-line)}html[data-theme] .timeline-segment{background:var(--studio-selected)}html[data-theme] .timeline-segment>span{background:var(--studio-accent)}html[data-theme] .timeline-play{background:var(--studio-selected);border-color:var(--studio-line);color:var(--studio-accent);border-radius:10px}html[data-theme] .step-tooltip{background:var(--studio-surface);border-color:var(--studio-line);color:var(--studio-ink);border-radius:12px;box-shadow:0 10px 30px var(--studio-shadow)}html[data-theme] .step-tooltip small,html[data-theme] .step-tooltip small span{color:var(--studio-accent)}html[data-theme] .step-tooltip p{color:var(--studio-ink)}html[data-theme] .experiment-stamp,html[data-theme] .experiment-stamp small{color:var(--studio-muted)}html[data-theme] .story-studio>main>footer{color:var(--studio-muted);font-size:9px;padding:17px 2px}html[data-theme] .story-studio>main>footer b{color:var(--studio-line)}html[data-theme] .story-work-strip{background:var(--studio-surface);border-color:var(--studio-line);color:var(--studio-ink)}.scene-draft-list{display:block}.scene-draft-list-heading{display:flex;align-items:center;gap:18px}.scene-draft-list-heading>button{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}.scene-draft-list-heading>p{margin:0;max-width:900px;font-size:12px;line-height:1.6;color:var(--studio-muted)}.scene-draft-policy{margin:12px 0 0;font-size:12px;line-height:1.6;color:var(--studio-muted)}.scene-draft-rows{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:10px;max-height:min(430px,55dvh);overflow-y:auto;overscroll-behavior:contain}.scene-draft-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 14px;border:1px solid var(--studio-line);border-radius:8px}.scene-draft-description{min-width:0;display:grid;gap:5px;font-size:12px}.scene-draft-description>span{color:var(--studio-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:pre-wrap}.scene-draft-description>small{color:var(--studio-muted);font-size:11px;line-height:1.5}.scene-draft-actions{display:flex;gap:8px;flex-shrink:0}.scene-draft-actions .button{display:inline-flex;align-items:center;gap:7px}@media(max-width:760px){.scene-draft-list-heading,.scene-draft-row{align-items:flex-start;flex-direction:column;gap:10px}.scene-draft-actions{flex-wrap:wrap}}html[data-theme] kbd{background:var(--studio-soft);border-color:var(--studio-line);color:var(--studio-ink)}html[data-theme] .app-dialog{background:var(--studio-surface);color:var(--studio-ink);border-color:var(--studio-line);border-radius:18px;box-shadow:0 24px 90px #05061240}html[data-theme] .app-dialog::backdrop{background:#12132580;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}html[data-theme] .modal-header,html[data-theme] .modal-footer{background:var(--studio-surface);border-color:var(--studio-line)}html[data-theme] .modal-footer{font-family:inherit}html[data-theme] .modal-heading h2{color:var(--studio-ink);font-weight:500}html[data-theme] .modal-heading .eyebrow,html[data-theme] .modal-footer>span,html[data-theme] .editor-intro{color:var(--studio-muted)}html[data-theme] .modal-icon{background:var(--studio-selected);color:var(--studio-accent);border-color:var(--studio-line);border-radius:11px}html[data-theme] .icon-button{color:var(--studio-muted);border-radius:9px}html[data-theme] .icon-button:hover:not(:disabled){background:var(--studio-soft);border-color:var(--studio-line)}html[data-theme] .script-input,html[data-theme] .entity-add input,html[data-theme] .generation-form input:not([type=checkbox]),html[data-theme] .generation-form select,html[data-theme] .generation-fields select,html[data-theme] .task-recovery input{background:var(--studio-field);color:var(--studio-ink);border-color:var(--studio-line);border-radius:9px}html[data-theme] .script-input::placeholder{color:var(--studio-muted)}html[data-theme] .script-heading label,html[data-theme] .script-heading>span,html[data-theme] .script-help{color:var(--studio-muted)}html[data-theme] .script-help b{color:var(--studio-accent)}html[data-theme] .entity-panel,html[data-theme] .prop-panel,html[data-theme] .step-assets,html[data-theme] .script-preview,html[data-theme] .prompt-suggestion,html[data-theme] .location-reference-panel{background:var(--studio-soft);border-color:var(--studio-line);border-radius:10px;color:var(--studio-ink)}html[data-theme] .entity-heading h3,html[data-theme] .prop-panel .entity-heading h3,html[data-theme] .step-asset-group h4,html[data-theme] .script-preview .section-label,html[data-theme] .step-assets>h3{color:var(--studio-muted)}html[data-theme] .entity-heading>span,html[data-theme] .prop-panel .entity-heading>span{background:var(--studio-selected);color:var(--studio-accent)}html[data-theme] .entity-row{border-color:var(--studio-line)}html[data-theme] .entity-row.picked{background:var(--studio-selected)}html[data-theme] .library-choice strong,html[data-theme] .script-preview p,html[data-theme] .step-provenance dd{color:var(--studio-ink)}html[data-theme] .library-choice small,html[data-theme] .library-fee-note,html[data-theme] .library-create-button>span,html[data-theme] .step-provenance dt{color:var(--studio-muted)}html[data-theme] .library-create-button,html[data-theme] .insert-entity,html[data-theme] .entity-add button{background:var(--studio-surface);border-color:var(--studio-line);color:var(--studio-accent);border-radius:8px}html[data-theme] .library-choice input,html[data-theme] .prop-panel .library-choice input{accent-color:var(--studio-accent)}html[data-theme] .script-reference.actor,html[data-theme] .script-reference.prop,html[data-theme] .script-reference.location{background:var(--studio-selected);color:var(--studio-accent)}html[data-theme] .script-reference.unknown{background:var(--studio-red-soft);color:var(--studio-red)}html[data-theme] .step-asset-group li{background:var(--studio-selected);border-color:var(--studio-line)}html[data-theme] .step-asset-group li strong{color:var(--studio-ink)}html[data-theme] .step-asset-group li small,html[data-theme] .step-asset-group li em{color:var(--studio-accent)}html[data-theme] .step-asset-group li.removed{background:var(--studio-red-soft);border-color:var(--studio-line)}html[data-theme] .step-asset-group li.removed :is(strong,small,em){color:var(--studio-red)}html[data-theme] .mention-suggestions{background:var(--studio-surface);border-color:var(--studio-line);border-radius:10px}html[data-theme] .mention-suggestions button,html[data-theme] .mention-suggestions p{color:var(--studio-ink)}html[data-theme] .mention-suggestions button.highlighted{background:var(--studio-selected)}html[data-theme] .mention-suggestions strong{color:var(--studio-accent)}html[data-theme] .mention-suggestions small{color:var(--studio-muted)}html[data-theme] .next-slot,html[data-theme] .scene-duration-option{background:var(--studio-soft);border-color:var(--studio-line);border-radius:9px}html[data-theme] .next-slot.selected,html[data-theme] .scene-duration-option.selected{background:var(--studio-selected);border-color:var(--studio-accent);box-shadow:none}html[data-theme] .next-slot strong,html[data-theme] .scene-duration-option strong{color:var(--studio-ink)}html[data-theme] .next-slot small,html[data-theme] .slot-number,html[data-theme] .scene-duration-option small{color:var(--studio-muted)}html[data-theme] .next-slot.filled{background:var(--studio-soft);border-color:var(--studio-line)}html[data-theme] .route-warning,html[data-theme] .reference-warning,html[data-theme] .read-only-notice,html[data-theme] .error{background:var(--studio-red-soft);color:var(--studio-red);border-color:var(--studio-line);border-radius:9px}html[data-theme] .danger-button{color:var(--studio-red)!important}html[data-theme] .creation-notice{background:var(--studio-amber-soft);color:var(--studio-amber);border-color:var(--studio-line);border-radius:9px}html[data-theme] .creation-notice small,html[data-theme] .continuity-message{color:var(--studio-amber)}html[data-theme] .selection-notice,html[data-theme] .save-notice{color:var(--studio-accent);background:var(--studio-selected);border-color:var(--studio-line)}html[data-theme] .selection-notice button{color:var(--studio-accent)}html[data-theme] .builder-sessions,html[data-theme] .key-status,html[data-theme] .model-picker,html[data-theme] .image-candidate,html[data-theme] .video-candidate,html[data-theme] .refinement-panel,html[data-theme] .generation-preview{border-color:var(--studio-line);border-radius:11px}html[data-theme] .image-candidate.selected,html[data-theme] .video-candidate.selected{border-color:var(--studio-accent);box-shadow:0 0 0 1px var(--studio-accent)}html[data-theme] .player-shell,html[data-theme] .player-shell:fullscreen{background:var(--studio-surface)}html[data-theme] .player-prompt{background:var(--studio-soft);border-color:var(--studio-line)}html[data-theme] .player-prompt p{color:var(--studio-ink)}html[data-theme] .player-transport,html[data-theme] .speed-control{border-color:var(--studio-line)}html[data-theme] .player-toggle{color:var(--studio-on-accent);background:var(--studio-accent);border-color:var(--studio-accent);border-radius:10px}html[data-theme] .player-clock,html[data-theme] .player-footnote,html[data-theme] .speed-control>span{color:var(--studio-muted)}html[data-theme] .speed-control select{color:var(--studio-ink);background:var(--studio-field);border-color:var(--studio-line);border-radius:8px}html[data-theme] .player-route>button{background:var(--studio-selected)}html[data-theme] .player-route>button.complete>span,html[data-theme] .player-route>button.current>span{background:var(--studio-accent)}@media(max-width:1050px){html[data-theme] .app-header{gap:20px;padding:0 24px}html[data-theme] .studio-hero{grid-template-columns:minmax(0,1fr) 315px;padding:28px;gap:25px}html[data-theme] .toolbar{flex-wrap:wrap}html[data-theme] .console-body{grid-template-columns:minmax(0,1fr) 278px}}@media(max-width:760px){html[data-theme] .app-header{height:auto;min-height:78px;padding:16px 20px;gap:16px;flex-wrap:wrap}html[data-theme] .brand{font-size:24px}html[data-theme] .brand small{font-size:7px}html[data-theme] .header-actions{order:2;gap:7px;margin-left:auto}html[data-theme] .header-actions .button{padding:8px 10px;font-size:11px}html[data-theme] .theme-picker{width:112px}html[data-theme] .studio-navigation{order:3;width:100%;padding-top:10px;border-top:1px solid var(--studio-line)}html[data-theme] .studio-nav-link{flex:1;justify-content:center}html[data-theme] main,html[data-theme] .workspace-page{padding:24px 18px 45px}html[data-theme] .studio-hero{grid-template-columns:1fr;gap:28px;padding:25px;border-radius:20px;margin-bottom:34px}html[data-theme] .studio-hero h1{font-size:48px;letter-spacing:-2px}html[data-theme] .studio-overline{font-size:9px;line-height:1.6}html[data-theme] .hero-footnote{margin-top:18px}html[data-theme] .new-story{padding:23px}html[data-theme] .collection-heading,html[data-theme] .page-heading{align-items:flex-start;flex-wrap:wrap}html[data-theme] h1{font-size:34px}html[data-theme] .library-form{flex-wrap:wrap;gap:14px}html[data-theme] .library-form label{min-width:0;flex:1 0 100%}html[data-theme] .library-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}html[data-theme] .library-filters .button{font-size:11px;padding:9px 5px}html[data-theme] .library-create-disclosure summary>span{display:none}html[data-theme] .workspace-card input:not([type=checkbox]),html[data-theme] .workspace-card select,html[data-theme] .generation-form input:not([type=checkbox]),html[data-theme] .generation-form select{font-size:16px}html[data-theme] .auth-page{grid-template-columns:1fr;gap:28px;padding:35px 22px}html[data-theme] .auth-art{display:none}html[data-theme] .auth-card{padding:26px}html[data-theme] .console-body{display:grid;grid-template-columns:1fr;height:auto;min-height:0}html[data-theme] .viewport{height:480px;min-height:480px}html[data-theme] .sidebar{display:block;overflow:visible;padding:22px;border-left:0;border-top:1px solid var(--studio-line)}html[data-theme] .controls{justify-content:flex-start;gap:8px}html[data-theme] .history-picker{flex-basis:100%}html[data-theme] .legend{max-width:205px;font-size:9px}html[data-theme] .canvas-bottom{left:14px;right:14px;gap:10px}html[data-theme] .zoom-controls button{width:25px}html[data-theme] .timeline{flex-wrap:wrap;height:auto;min-height:82px;padding:14px;gap:10px}html[data-theme] .timeline-track{order:5;flex-basis:100%}html[data-theme] .timeline-info{flex:1}html[data-theme] .story-studio>main>footer{flex-wrap:wrap;gap:10px;line-height:1.7}html[data-theme] .modal-footer{flex-wrap:wrap;gap:12px}html[data-theme] .modal-footer>div{flex-wrap:wrap}}@media(max-width:440px){html[data-theme] .app-header{padding:14px 16px;gap:13px}html[data-theme] .header-actions{width:100%;order:3;margin-left:0}html[data-theme] .theme-picker{flex:1;width:auto}html[data-theme] .studio-navigation{order:2}html[data-theme] .studio-hero{padding:22px}html[data-theme] .studio-hero h1{font-size:42px}html[data-theme] .story-grid{grid-template-columns:minmax(0,1fr)}html[data-theme] .collection-heading .eyebrow{font-size:9px}html[data-theme] .toolbar{padding:15px}html[data-theme] .toolbar-title{flex-wrap:wrap}html[data-theme] .experiment-stamp{display:none}html[data-theme] .canvas-label{font-size:8px}}@media(prefers-reduced-motion:reduce){html[data-theme] .button,html[data-theme] .story-card{transition:none}html[data-theme] .story-card:hover{transform:none}}
