.workshop{--studio-window-bg: #15171b;--studio-panel-bg: #141d28;--studio-panel-inner: #1a2531;--studio-panel-hover: #243040;--studio-panel-dark: #0e1319;--studio-header-bg: #1d2632;--studio-header-bg-hover: #27313f;--studio-text-header: #c8ccd2;--studio-widget-bg: #2e3a49;--studio-widget-hover: #3a4859;--studio-source-dot: #8b95a1;--studio-border: #3a4657;--studio-border-light: #4a5768;--studio-accent: #22d3ee;--studio-text: #dde1ea;--studio-text-bright: #f4f5f7;--studio-text-muted: #a6acb4;--studio-text-dim: #888c93;--studio-canvas: #0b0f14;--studio-tl-bg: #101218;--studio-tl-grid-major: #525966;--studio-tl-grid-minor: #2d323c;--studio-playhead: #f08c5a;--studio-selected-point: #7dd3fc;--studio-overspeed: #b570ff}@font-face{font-family:Studio UI;src:url(/fonts/workshop/SpaceGrotesk-Regular.ttf) format("truetype");font-display:swap}@font-face{font-family:Studio Mono;src:url(/fonts/workshop/JetBrainsMono-Regular.ttf) format("truetype");font-display:swap}.workbench{--rail-width:306px;--timeline-height:230px;--text:var(--studio-text);--muted:var(--studio-text-muted);--bg:var(--studio-window-bg);--line:var(--studio-border);height:100dvh;min-height:600px;display:flex;flex-direction:column;overflow:hidden;background:var(--studio-window-bg);color:var(--studio-text);font:12px/1.45 Studio UI,sans-serif;position:relative;color-scheme:dark}.workbench *,.workshop-dialog *{box-sizing:border-box}.workbench [hidden],.workshop-dialog [hidden]{display:none!important}.workbench button,.workbench input,.workbench select,.workbench textarea,.workshop-dialog button,.workshop-dialog input,.workshop-dialog select,.workshop-dialog textarea{font:inherit;color:inherit;border:1px solid var(--studio-border,#3a4657);background:var(--studio-panel-dark,#0e1319);border-radius:4px;min-width:0}.workbench button,.workshop-dialog button{cursor:pointer;min-height:28px;padding:4px 9px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:5px}.workbench button:hover,.workshop-dialog button:hover{background:var(--studio-panel-hover,#243040);border-color:var(--studio-border-light,#4a5768)}.workbench button:disabled,.workshop-dialog button:disabled{opacity:.35;cursor:default}.workbench :is(button,input,select,textarea,summary,canvas):focus-visible,.workshop-dialog :is(button,input,select,textarea):focus-visible{outline:2px solid var(--studio-accent,#22d3ee);outline-offset:1px}.workbench button.primary,.workshop-dialog button.primary{background:var(--studio-accent,#22d3ee);border-color:transparent;color:#05242b}.workbench button.accent{background:#22d3ee19;color:#83e5f3;border-color:#22d3ee38}.workbench button.subtle{border-color:transparent;background:transparent;color:var(--studio-text-muted);padding:2px 3px}.workbench input:not([type=checkbox]):not([type=range]):not([type=file]),.workbench select,.workbench textarea,.workshop-dialog input:not([type=checkbox]),.workshop-dialog textarea{width:100%;padding:5px 7px;min-height:27px}.workbench input[type=range]{accent-color:var(--studio-accent);height:16px;width:100%;margin:6px 0;cursor:pointer}.workbench input[type=checkbox]{accent-color:var(--studio-accent);margin:0 5px 0 0;vertical-align:middle}.workbench input[type=number],.workbench output,.workbench kbd,.workbench .mono{font-family:Studio Mono,monospace;font-size:10px;font-variant-numeric:tabular-nums}.workbench label{font-size:10px;color:var(--studio-text-muted);display:block}.workbench label>input,.workbench label>select,.workbench label>textarea{margin-top:4px}.workbench hr,.workshop-dialog hr{border:0;border-top:1px solid var(--studio-border);margin:10px 0}.workbench .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.app-menu{height:34px;flex-shrink:0;display:flex;align-items:center;gap:3px;padding:0 10px;background:var(--studio-header-bg);border-bottom:1px solid var(--studio-border)}.app-brand{display:flex;align-items:center;gap:7px;margin-right:18px;color:var(--studio-text-bright)}.app-brand img{border-radius:4px}.app-brand h1{font:13px Studio UI,sans-serif;margin:0;white-space:nowrap;letter-spacing:0}.app-brand h1 span{color:var(--studio-text-muted);margin-left:5px}.menu-popup{position:relative}.menu-popup>summary,.menu-help{list-style:none;cursor:pointer;padding:6px 9px;color:var(--studio-text-muted);font-size:11px}.menu-popup>summary::-webkit-details-marker{display:none}.menu-popup[open]>summary{background:var(--studio-panel-hover);color:var(--studio-text-bright)}.menu-content{position:fixed;z-index:130;top:var(--menu-top,34px);left:var(--menu-left,8px);width:var(--menu-width,260px);max-width:calc(100vw - 16px);max-height:calc(100dvh - var(--menu-top,34px) - 8px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:5px;background:var(--studio-panel-bg);border:1px solid var(--studio-border-light);box-shadow:0 12px 30px #0007;border-radius:5px}.workbench .menu-content button{display:flex;justify-content:space-between;gap:20px;width:100%;border:0;background:transparent;font-size:12px;padding:7px 9px}.menu-content kbd{color:var(--studio-text-dim)}.workbench .menu-help{border:0;background:transparent;min-height:26px}.local-status{margin-left:auto;color:var(--studio-text-muted);font-size:10px;white-space:nowrap;display:flex;align-items:center;gap:6px}.local-status i{width:5px;height:5px;background:#5bd0af;border-radius:50%}.desktop-link{display:flex;gap:7px;align-items:center;margin-left:16px;color:var(--studio-text-muted);font-size:10px}.app-toolbar{display:flex;align-items:center;gap:4px;min-height:40px;flex-shrink:0;padding:5px 9px;background:var(--studio-panel-dark);border-bottom:1px solid var(--studio-border)}.workbench .icon-button{width:29px;height:28px;padding:5px;flex-shrink:0}.open-label,.video-label{position:relative;overflow:hidden;cursor:pointer;display:inline-flex!important;align-items:center;gap:6px;color:var(--studio-text)!important;border:1px solid var(--studio-border);border-radius:4px;background:var(--studio-panel-inner)}.open-label input,.video-label input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.video-label{margin-left:auto;padding:5px 8px;min-height:28px;white-space:nowrap}.divider{width:1px;height:19px;background:var(--studio-border);margin:0 5px;flex-shrink:0}.workbench button.active,.workbench button[aria-pressed=true]{background:#22d3ee1a;border-color:#22d3ee55;color:var(--studio-accent)}.time-readout{margin:0 10px;color:var(--studio-accent);white-space:nowrap}.time-readout span{color:var(--studio-text-muted)}.compact-select select{margin:0!important;padding:3px 5px!important;min-height:26px!important;width:63px!important}.volume-control{display:flex!important;align-items:center;gap:5px;width:84px;padding:0 5px}.volume-control input{width:52px!important}.layout-button{font-size:10px!important;margin-left:5px}.workbench .mobile-tools{display:none}.document-tabs{height:25px;flex-shrink:0;display:flex;align-items:stretch;gap:2px;padding:2px 8px 0;background:var(--studio-panel-dark);border-bottom:1px solid var(--studio-border);overflow-x:auto;scrollbar-width:thin}.document-tabs>span{color:var(--studio-text-dim);font-size:10px;padding:3px}.document-tabs button{min-height:22px;font-size:10px;border-radius:5px 5px 0 0;max-width:250px;overflow:hidden;text-overflow:ellipsis;justify-content:start;display:block;padding:2px 9px}.document-tabs button[aria-selected=true]{background:var(--studio-panel-inner);color:var(--studio-accent);border-bottom:0}.studio-upper{display:grid;grid-template-columns:minmax(0,1fr) var(--rail-width);min-height:0;flex:1}.motion-stage{min-width:0;min-height:0;position:relative;display:grid;place-items:center;background:var(--studio-canvas);overflow:hidden}.motion-stage video{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.stage-placeholder{display:flex;flex-direction:column;align-items:center;gap:9px;color:var(--studio-text-dim);text-align:center;max-width:440px;padding:28px}.stage-placeholder .stage-title{font-size:16px;color:var(--studio-text);margin:8px 0 0}.stage-placeholder p{margin:0;font-size:11px}.empty-actions{display:flex;gap:8px;margin-top:8px}.workbench.has-script .stage-placeholder .stage-title,.workbench.has-script .stage-placeholder>p:not(.stage-title),.workbench.has-script .stage-placeholder>button,.workbench.has-script .empty-actions{display:none}.has-script .stage-placeholder{opacity:.82}.motion-stage.has-media .stage-placeholder{display:none}.motion-stage.media-hidden video{visibility:hidden}.motion-stage.media-hidden .stage-placeholder{display:flex}.position-gauge{position:absolute;left:10px;top:calc(50% - 80px);height:160px;width:30px;display:flex;flex-direction:column;align-items:center;gap:4px;pointer-events:none}.position-gauge>div{position:relative;width:20px;flex:1;border:1px solid var(--studio-border);background:#ffffff06;border-radius:2px}.position-gauge>div span{position:absolute;left:1px;right:1px;bottom:0;height:50%;background:#22d3ee70}.position-gauge>div i{position:absolute;left:-3px;right:-3px;height:2px;bottom:50%;background:var(--studio-text-bright)}.position-gauge output{background:var(--studio-header-bg);padding:0 3px;border-radius:2px;font-size:11px}.position-gauge small{font:8px Studio Mono,monospace;white-space:nowrap;color:var(--studio-text-dim)}.stage-hud{position:absolute;left:10px;bottom:9px;border:1px solid var(--studio-border);border-radius:3px;background:#0b0f14dd;padding:4px 7px;font:9px Studio Mono,monospace;color:var(--studio-text-muted)}.stage-hide-media{position:absolute;right:10px;bottom:9px;opacity:.75;font-size:10px!important}.is-dragging .motion-stage{outline:2px dashed var(--studio-accent);outline-offset:-8px}.pending-banner{position:absolute;bottom:38px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;max-width:calc(100% - 30px);width:max-content;padding:9px 11px;background:#29261eee;border:1px solid #e7b65a70;box-shadow:0 5px 20px #0006;border-radius:5px;z-index:3}.pending-banner>span{min-width:80px;max-width:350px;margin-right:6px}.pending-banner strong{font-size:12px;font-weight:500;color:#f1c875}.pending-banner small{display:block;color:#cfba92;font-size:10px}.studio-rail{min-height:0;background:var(--studio-panel-bg);border-left:1px solid var(--studio-border);display:flex;flex-direction:column;overflow:hidden}.rail-tabs{display:flex;gap:2px;padding:4px 5px;border-bottom:1px solid var(--studio-border);background:var(--studio-panel-dark);flex-shrink:0}.rail-tabs button{flex:1;min-height:25px;font-size:10px;padding:3px 7px;background:transparent;border-color:transparent}.rail-content{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:6px;min-height:0}.tool-card{background:var(--studio-panel-inner);border:1px solid var(--studio-border);border-radius:5px;margin-bottom:6px;overflow:hidden}.tool-card>summary{display:flex;align-items:center;gap:6px;list-style:none;cursor:pointer;padding:6px 8px;min-height:28px;font-size:10px;color:var(--studio-text-muted);text-transform:uppercase;letter-spacing:.03em;background:var(--studio-header-bg)}.tool-card>summary::-webkit-details-marker{display:none}.tool-card>summary:before{content:"›";transform:rotate(0);margin-right:1px;color:var(--studio-text-dim);font-size:12px}.tool-card[open]>summary:before{transform:rotate(90deg)}.card-badge{margin-left:auto;font:9px Studio Mono,monospace;color:var(--studio-text-dim);letter-spacing:0}.card-body{padding:9px}.card-body>label{margin-bottom:8px}.card-note{font-size:10px;line-height:1.5;color:var(--studio-text-dim);margin:7px 0 0}.card-body p{margin-top:0}.form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:8px 0}.form-grid .full{grid-column:1/-1}.form-grid label.check-field{grid-column:1/-1;display:flex;align-items:center;gap:3px}.form-grid label.check-field input{margin:0 5px 0 0}.button-row{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.button-row>button{flex:1}.range-label{display:flex!important;justify-content:space-between;align-items:center}.range-caption{display:flex;align-items:center;justify-content:space-between;color:var(--studio-text-dim);font-size:9px}.range-caption button{font-size:9px;min-height:18px}.quick-actions{display:flex;gap:5px;margin-top:8px}.quick-actions button{flex:1;font-size:10px}.scope-label{display:flex!important;align-items:center;gap:8px}.scope-label select{flex:1;margin:0!important;font-size:10px}.preset-row{display:flex;align-items:center;gap:4px;margin-top:9px}.preset-row label{flex:1;min-width:0}.preset-row select{margin:0!important;font-size:10px}.preset-row button{font-size:10px;padding:3px 7px}.chain-steps{list-style:none;padding:0;margin:7px 0}.chain-steps li{display:flex;align-items:center;gap:4px;padding:4px 0;border-bottom:1px solid var(--studio-border);font-size:10px}.chain-steps li>span{flex:1}.chain-steps button{padding:1px 4px;min-height:20px;font-size:10px}.doctor-card #doctor-summary{font-size:11px;color:#6dd7b6;margin:0 0 7px}.doctor-group{font-size:8px;color:var(--studio-text-dim);text-transform:uppercase;padding:9px 0 3px;border-top:1px solid var(--studio-border);margin-top:5px}.doctor-row{display:flex;gap:5px;align-items:center;min-height:26px;font-size:10px}.doctor-row .issue-dot{width:4px;height:14px;border-radius:2px;flex-shrink:0;background:#4b6770}.doctor-row.has-issue .issue-dot{background:#e2ac64}.doctor-row .issue-label{flex:1}.doctor-row .issue-count{font:9px Studio Mono,monospace;color:var(--studio-text-muted);white-space:nowrap}.doctor-row button{padding:2px 4px;min-height:20px;border-color:transparent;background:transparent;color:var(--studio-accent);font-size:9px}.doctor-actions{display:flex;gap:6px;justify-content:space-between;margin-top:9px}.doctor-actions button{font-size:10px}.file-row{border:1px solid var(--studio-border);border-radius:4px;padding:6px;margin:8px 0}.file-row>button{display:block;width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;background:transparent;border:0;justify-content:start;font-size:10px}.file-row canvas{display:block;width:100%;height:14px;margin:4px 0}.file-row small{color:var(--studio-text-dim);font-size:9px}.file-row .file-meta{display:flex;justify-content:space-between;align-items:center}.file-row .file-meta button{font-size:9px;min-height:20px;padding:1px 5px}.history-list{padding-left:19px;font-size:10px;color:var(--studio-text-muted)}.history-list li{padding:5px 0}.history-list .future{opacity:.45}.chapter-row{display:flex;align-items:center;gap:4px;font-size:10px;margin:5px 0}.chapter-row>button:first-child{flex:1;white-space:normal;justify-content:start}.chapter-row button{min-height:24px;font-size:10px;padding:3px 6px}.timeline-resizer{height:5px;flex-shrink:0;background:var(--studio-header-bg);border-top:1px solid var(--studio-border);border-bottom:1px solid var(--studio-border);cursor:ns-resize;touch-action:none}.timeline-resizer:hover{background:#22d3ee55}.timeline-dock{padding:0;min-height:0;flex-shrink:0;background:var(--studio-tl-bg);display:block}.chapters-strip{display:flex;height:0;position:relative;overflow:hidden;background:var(--studio-panel-dark)}.chapters-strip.has-chapters{height:18px}.chapters-strip button{position:absolute;top:1px;bottom:1px;min-height:14px;padding:0 5px;overflow:hidden;text-overflow:ellipsis;border:1px solid #7ba5ae60;border-radius:3px;background:#455b6d80;font-size:8px;justify-content:start}.timeline-dock #script-heatmap{width:100%;height:20px;display:block;cursor:crosshair}.timeline-toolbar{display:flex;align-items:center;gap:3px;height:28px;padding:2px 8px;border-bottom:1px solid var(--studio-border);background:var(--studio-header-bg)}.timeline-heading{font-size:9px;text-transform:uppercase;display:flex;gap:5px;align-items:center;color:var(--studio-text-muted)}.timeline-toolbar .icon-button{height:22px;width:24px;min-height:22px;padding:3px}.workbench .compact-text{font-size:9px;padding:2px 5px;min-height:22px;background:transparent;border-color:transparent}.timeline-spacer{flex:1}.compare-toggle{font-size:9px!important;display:flex!important;align-items:center;white-space:nowrap;padding:0 5px}.timeline-toolbar output{font-size:8px;margin-left:7px;white-space:nowrap;color:var(--studio-text-muted)}.timeline-canvas-wrap{height:var(--timeline-height);position:relative;min-height:0}.timeline-canvas-wrap canvas{width:100%;height:100%;display:block;touch-action:none;cursor:crosshair}.timeline-empty{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;color:var(--studio-text-dim);font-size:12px}.has-script .timeline-empty{display:none}.timeline-bottom{display:flex;align-items:center;gap:9px;padding:2px 8px;height:20px;border-top:1px solid var(--studio-border);color:var(--studio-text-muted);font-size:9px;background:var(--studio-panel-dark)}.timeline-bottom #axis-label{color:var(--studio-accent);border-left:3px solid var(--studio-accent);padding-left:5px}.timeline-bottom #file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:40%}.timeline-bottom #selection-readout{margin-left:auto;font-size:8px}.timeline-bottom #curve-key{margin-left:auto;color:var(--studio-text-dim);font-size:8px}.app-status{padding:2px 8px;display:flex;align-items:center;gap:14px;min-height:23px;flex-shrink:0;border-top:1px solid var(--studio-border);background:var(--studio-window-bg);font-size:9px;color:var(--studio-text-muted)}.app-status #workshop-message{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.app-status #workshop-message.is-error{color:#ffb393}.app-status #script-stats{font:8px Studio Mono,monospace;white-space:nowrap}.app-status button{font-size:9px;min-height:16px;width:17px;height:17px;padding:0;background:var(--studio-panel-inner)}.workbench[data-layout=focus] .studio-rail{display:none}.workbench[data-layout=focus] .studio-upper{grid-template-columns:1fr}.workbench[data-layout=focus]{--timeline-height:42dvh}.workshop-dialog{color-scheme:dark;background:#141d28;color:#dde1ea;border:1px solid #4a5768;border-radius:7px;padding:0;width:min(650px,calc(100vw - 24px));max-height:85dvh;font:12px/1.6 Studio UI,sans-serif;box-shadow:0 20px 80px #000a}.workshop-dialog::backdrop{background:#0009;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#1d2632;border-bottom:1px solid #3a4657}.dialog-heading h2{font-size:14px;margin:0;font-weight:500}.dialog-heading button{padding:4px;min-height:25px;width:25px}.workshop-dialog #dialog-content{padding:16px;overflow:auto}.workshop-dialog textarea{font:11px Studio Mono,monospace;resize:vertical}.workshop-dialog label{display:block;margin-bottom:12px;font-size:11px;color:#a6acb4}.workshop-dialog input,.workshop-dialog textarea{margin-top:5px}.workshop-dialog .dialog-actions{display:flex;gap:7px;margin-top:13px}.workshop-dialog .dialog-note{font-size:11px;color:#a6acb4}.workshop-dialog table{width:100%;border-collapse:collapse;font-size:11px}.workshop-dialog td,.workshop-dialog th{text-align:left;border-bottom:1px solid #3a4657;padding:6px}.workshop-dialog kbd{font:10px Studio Mono,monospace;border:1px solid #3a4657;border-radius:3px;padding:2px 5px}.workshop-dialog .batch-row{padding:10px 0;border-bottom:1px solid #3a4657}.workshop-dialog .batch-error{color:#ffb393}.workshop-about{background:#0e1319;color:#a6acb4;padding:10px 22px;border-top:1px solid #3a4657;font-size:12px}.workshop-about>details>summary{cursor:pointer;color:#888c93}.workshop-about>details>div{max-width:760px;margin:24px auto}.workshop-about h2{font-size:20px;color:#dde1ea;margin:24px 0 12px}.workshop-about p{line-height:1.75}.workshop-about a{color:#72d5e4}@media(max-width:1000px){.workbench{--rail-width:280px}.desktop-link,.volume-control{display:none!important}.time-readout{margin:0 5px}.timeline-bottom #curve-key{display:none}.stage-placeholder{max-width:330px}.local-status{font-size:9px}.app-brand{margin-right:6px}.app-status #script-stats{display:none}}@media(max-width:720px){.workbench{--timeline-height:230px;height:100dvh;min-height:680px}.app-menu{padding:0 7px}.app-brand h1{font-size:11px}.app-brand h1 span{display:none}.app-brand{margin-right:6px}.local-status{display:none}.menu-popup>summary,.menu-help{padding:6px 7px}.menu-help{margin-left:auto}.app-toolbar{flex-wrap:wrap;gap:4px;padding:5px 6px;min-height:73px}.app-toolbar .divider{margin:0 2px}.time-readout{order:3;flex:1;padding-left:2px}.compact-select{order:3}.video-label{order:3;margin-left:4px}.layout-button{display:none!important}.workbench .mobile-tools{display:inline-flex;margin-left:auto}.studio-upper{grid-template-columns:1fr}.studio-rail{display:none;position:absolute;right:0;top:132px;bottom:calc(var(--timeline-height) + 101px);width:min(330px,calc(100% - 20px));z-index:15;border:1px solid var(--studio-border-light);box-shadow:-12px 8px 25px #0007;border-radius:5px 0 0 5px}.workbench.tools-open .studio-rail{display:flex}.rail-tabs button,.card-body button{min-height:34px}.timeline-toolbar{padding:3px 5px;height:32px}.timeline-heading{font-size:8px}.timeline-toolbar .compact-text{display:none}.timeline-toolbar output{display:none}.timeline-toolbar .icon-button{min-height:25px;height:25px;width:28px}.timeline-toolbar .compare-toggle{font-size:8px!important}.position-gauge{height:110px;top:calc(50% - 55px);left:8px}.stage-placeholder{padding:18px;gap:6px}.stage-placeholder>svg{width:75px;height:75px}.stage-placeholder .stage-title{font-size:14px}.stage-placeholder p{font-size:10px;max-width:240px}.stage-hud{font-size:8px;padding:2px 5px}.pending-banner{padding:7px;gap:5px;bottom:31px;flex-wrap:wrap;justify-content:center}.pending-banner>span{max-width:210px}.pending-banner small{font-size:9px}.pending-banner button{min-height:32px}.document-tabs button{font-size:9px;max-width:180px}.timeline-bottom #file-name{max-width:30%;font-size:8px}.timeline-bottom #selection-readout{font-size:7px}.app-status{font-size:8px}.workbench[data-layout=focus]{--timeline-height:42dvh}.workbench[data-layout=focus].tools-open .studio-rail{display:flex}.workshop-dialog button,.workbench .menu-content button{min-height:36px}}@media(prefers-reduced-motion:reduce){.workbench *{scroll-behavior:auto!important}}.workbench .slider-value{display:block;text-align:right;color:var(--studio-accent);margin-top:-2px;font-size:10px}.workbench #operation-fields{grid-template-columns:1fr}.workbench #operation-fields label{display:grid;grid-template-columns:1fr 48px;align-items:center}.workbench #operation-fields input[type=range]{grid-column:1;grid-row:2}.workbench #operation-fields .slider-value{grid-column:2;grid-row:2}.workbench .workshop-toast{position:absolute;top:108px;left:50%;transform:translate(-50%);max-width:calc(100% - 32px);padding:10px 14px;background:#402720;border:1px solid #9d6656;border-radius:5px;color:#ffccb9;z-index:150;font-size:12px;box-shadow:0 5px 30px #0007}.workbench #doctor-results{max-height:155px;overflow:auto}.workbench .quick-actions button{font:18px Studio Mono,monospace;height:35px}.workbench #selection-summary{display:block;margin:7px 0}.workbench .rail-tabs button{min-width:0}.workbench #panel-generate:before{content:"New motion pattern";display:block;font-size:11px;color:var(--studio-text-muted);padding:5px 3px 10px}.workbench #panel-generate .card-note{display:none}@media(max-width:720px){.workbench .studio-rail{top:132px;bottom:24px;box-shadow:-10px 0 35px #0009}.workbench .rail-tabs button{min-height:32px}.workbench .tool-card>summary{min-height:33px}.workbench .timeline-heading{display:none}.workbench .pending-banner{left:8px;right:8px;transform:none;max-width:calc(100% - 16px);width:auto}.pending-banner>span{min-width:0}.workbench .timeline-toolbar output{display:none}}.workbench .device-stop{color:#ffb9a1;border-color:#da825c;background:#4a2521;font-size:10px}.workbench .stage-countdown{position:absolute;right:25px;top:20px;font:56px Studio Mono,monospace;color:#f4f5f7;text-shadow:0 2px 8px #000;pointer-events:none}.workbench .scrub-preview{position:absolute;bottom:calc(100% + 30px);width:180px;background:#0b0f14;border:1px solid #4a5768;border-radius:5px;z-index:6;overflow:hidden;pointer-events:none;box-shadow:0 5px 20px #0008}.scrub-preview video{width:180px;height:100px;object-fit:contain;display:block}.workbench .scrub-preview output{display:block;text-align:center;font-size:10px;padding:4px}.workshop-dialog select{width:100%;padding:7px;margin-top:5px}.workbench .quick-actions button{height:38px;font:10px Studio UI,sans-serif;gap:5px;flex-direction:row;padding:4px 7px}.workbench .quick-actions svg{color:#8bdbe7;flex-shrink:0}.workbench .quick-actions span{font-size:10px}.workbench .app-toolbar .icon-button{width:28px;height:26px;min-height:26px;border:1px solid transparent;background:var(--studio-header-bg);border-radius:4px}.workbench .app-toolbar .play-button{border-color:var(--studio-border-light);color:var(--studio-playhead)}.workbench .app-toolbar .icon-button:hover{background:var(--studio-panel-hover)}.workbench .app-toolbar .play-button svg{width:18px;height:18px}.chain-steps .chain-edit{flex:1;justify-content:flex-start;white-space:normal;text-align:left;border-color:transparent;min-width:0}.preset-management{padding:12px 0;border-bottom:1px solid var(--studio-border)}.preset-management .button-row{margin-top:6px;flex-wrap:wrap}.workshop-dialog .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.workshop-dialog label{display:block;font-size:12px}.workshop-dialog input[type=range]{accent-color:var(--studio-accent,#22d3ee);padding:0;height:20px;min-height:20px}.workshop-dialog .check-field{display:flex;align-items:center;gap:6px}.metadata-extra summary{cursor:pointer;color:var(--studio-text-muted);padding:7px 0}.metadata-extra label{margin:7px 0}.workbench #mute-toggle[aria-pressed=true]{opacity:.5;text-decoration:line-through}.workbench.watch-mode .studio-rail,.workbench.watch-mode .document-tabs,.workbench.watch-mode .timeline-resizer,.workbench.watch-mode .timeline-toolbar,.workbench.watch-mode .timeline-canvas-wrap,.workbench.watch-mode .timeline-bottom{display:none}.workbench.watch-mode .studio-upper{grid-template-columns:minmax(0,1fr);flex:1}.workbench.watch-mode .timeline-dock{flex:0 0 auto;height:auto;min-height:0}.workbench.watch-mode .position-gauge{opacity:.65}.workbench.watch-mode #watch-mode{color:var(--studio-accent);border-color:var(--studio-accent)}.workshop-dialog .handy-credentials label{margin-top:9px}.workshop-dialog select{max-width:100%;padding:6px;width:100%}.workshop-dialog .device-playback{margin-top:16px;padding-top:16px;border-top:1px solid var(--studio-border,#3a4657)}.workshop-dialog .controller-options{margin-top:12px}.workshop-dialog .controller-options summary{cursor:pointer;padding:8px 0;color:var(--studio-accent,#22d3ee)}.workshop-dialog .controller-options .form-grid{margin-top:10px}.menu-popup:not([open])>.menu-content{display:none}.workbench .menu-content button:focus-visible{background:var(--studio-panel-hover);outline:1px solid var(--studio-accent);outline-offset:-1px}.workbench{--timeline-height:210px;--rail-width:310px}.workbench .app-toolbar{background:var(--studio-panel-bg);min-height:38px}.workbench .app-menu{height:31px}.workbench .app-brand h1{font-size:12px}.workbench .time-readout{font:10px Studio Mono,monospace;color:var(--studio-text-bright)}.workbench .studio-rail{background:var(--studio-panel-dark)}.workbench .rail-tabs{padding:4px 6px;min-height:32px}.workbench .rail-content{padding:6px 8px}.workbench .tool-card{background:var(--studio-panel-inner);border-radius:7px;margin-bottom:8px}.workbench .tool-card>summary{min-height:26px;padding:4px 8px 4px 5px;gap:5px;font-size:10px;line-height:16px;color:var(--studio-text-header);background:var(--studio-header-bg);letter-spacing:.025em}.workbench .tool-card>summary:hover{background:var(--studio-header-bg-hover)}.workbench .tool-card>summary:before{content:none}.workbench .tool-card>summary>.card-grip{display:flex;color:var(--studio-text-dim);opacity:.65}.workbench .tool-card>summary>svg:first-of-type{color:var(--studio-accent)}.workbench .tool-card>summary>svg:last-child{margin-left:auto;color:var(--studio-text-dim);transform:rotate(-90deg)}.workbench .tool-card[open]>summary>svg:last-child{transform:none}.workbench .tool-card>summary>.card-badge+svg:last-child{margin-left:3px}.workbench .card-body{padding:10px}.workbench input[type=range]{appearance:none;-webkit-appearance:none;background:transparent;border:0;height:20px;padding:0;border-radius:0}.workbench input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:3px;background:linear-gradient(to right,#328399 0 var(--range-progress,50%),var(--studio-widget-bg) var(--range-progress,50%) 100%)}.workbench input[type=range]::-moz-range-track{height:4px;border-radius:3px;background:var(--studio-widget-bg)}.workbench input[type=range]::-moz-range-progress{height:4px;background:#328399}.workbench input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:10px;height:15px;margin-top:-5.5px;border:1px solid #70b5c6;border-radius:3px;background:var(--studio-widget-bg)}.workbench input[type=range]::-moz-range-thumb{width:9px;height:14px;border:1px solid #70b5c6;border-radius:3px;background:var(--studio-widget-bg)}.workbench input[type=range]:hover::-webkit-slider-thumb{background:var(--studio-widget-hover);border-color:var(--studio-accent)}.workbench .feel-card #feel-range{margin:4px 0 0}.workbench .feel-card .range-caption{margin-top:1px;font-size:10px}.workbench .feel-card .range-caption output{color:var(--studio-text-muted);font-size:9px}.workbench .feel-scope{display:flex;align-items:center;justify-content:space-between;flex-direction:row-reverse;margin-top:7px;color:var(--studio-text-dim);font-size:9px}.workbench .feel-scope button{font-size:10px;min-height:22px}.workbench .quick-actions{border-top:1px solid var(--studio-border);padding-top:8px;gap:4px}.workbench .quick-actions button{height:28px;min-height:28px;border-color:transparent;background:var(--studio-header-bg);font-size:10px}.workbench .quick-actions svg{color:var(--studio-text-muted)}.workbench .doctor-status{display:flex;align-items:center;gap:10px;min-height:47px;margin-bottom:9px}.workbench .doctor-seal{width:40px;height:40px;flex-shrink:0;display:grid;place-items:center;border:2px solid var(--studio-border-light);border-radius:50%;color:var(--studio-text-dim)}.workbench .doctor-status[data-state=passed] .doctor-seal{border-color:#38c69b;color:#38c69b}.workbench .doctor-status[data-state=review] .doctor-seal{border-color:#d8a062;color:#d8a062}.workbench .doctor-status #doctor-summary{margin:0;font-size:12px;line-height:1.4;color:var(--studio-text-muted)}.workbench .doctor-status[data-state=passed] #doctor-summary{color:#61cbae}.workbench .doctor-status[data-state=review] #doctor-summary{color:#ddb789}.workbench .doctor-actions{border-top:1px solid var(--studio-border);padding-top:8px}.workbench .doctor-actions #doctor-repair{min-height:24px;padding:3px 6px;background:transparent;border-color:transparent;color:var(--studio-accent)}.workbench .timeline-resizer{position:relative;height:6px;background:var(--studio-panel-dark);border-bottom:0}.workbench .timeline-resizer:after{content:"";position:absolute;top:2px;left:calc(50% - 17px);width:34px;height:1px;background:var(--studio-border-light)}.workbench .timeline-dock{background:var(--studio-panel-bg)}.workbench .timeline-dock #script-heatmap{height:36px;border:1px solid var(--studio-border);border-radius:4px}.workbench .timeline-toolbar{position:relative;height:30px;margin:5px 6px 0;padding:2px 5px;border:1px solid var(--studio-border);border-bottom:0;border-radius:6px 6px 0 0;background:var(--studio-header-bg);justify-content:space-between}.workbench .timeline-tools-start,.workbench .timeline-tools-end{display:flex;align-items:center;gap:3px;width:calc(50% - 122px);min-width:0;overflow:hidden}.workbench .timeline-tools-end{justify-content:flex-end}.workbench .timeline-heading{padding-right:5px;white-space:nowrap}.workbench .timeline-heading svg{color:var(--studio-accent)}.workbench .timeline-toolbar .icon-button{flex-shrink:0;border-color:transparent;background:var(--studio-panel-inner)}.workbench .timeline-instrument{position:absolute;left:calc(50% + 12px);top:50%;width:0;height:22px;transform:translateY(-50%);pointer-events:none;white-space:nowrap}.workbench .timeline-instrument>output{display:block;position:absolute;right:19px;top:4px;margin:0;color:var(--studio-text-bright);font-size:9px}.workbench .playhead-mark{position:absolute;left:-11px;top:0;width:22px;height:22px;display:grid;place-items:center;border:1.5px solid var(--studio-playhead);border-radius:50%;background:var(--studio-panel-bg);z-index:1}.workbench .playhead-mark .bmark-curve{stroke-width:11;filter:none}.workbench .playhead-mark .bmark-dot{r:10}.workbench .timeline-instrument:after{content:"";position:absolute;top:22px;left:-.75px;width:1.5px;height:5px;background:var(--studio-playhead)}.workbench .frame-label{position:absolute;left:19px;top:4px;color:var(--studio-text-dim);font-size:9px}.workbench .frame-label output{display:inline;margin:0 0 0 3px;color:var(--studio-text-muted);font-size:9px}.workbench .timeline-canvas-wrap{margin:0 6px;border:1px solid #7dd3fc88;border-top-color:#7dd3fc66}.workbench .timeline-bottom{margin:0 6px 5px;height:22px;border:1px solid var(--studio-border);border-top:0;border-radius:0 0 5px 5px;background:var(--studio-panel-dark)}.workbench .timeline-bottom #axis-label{border:1px solid #4d897f66;border-radius:4px;padding:1px 5px;color:#70c3a6;background:#17312b44}.workbench #view-readout{margin-left:auto;padding:1px 4px;border:1px solid var(--studio-border);border-radius:3px;font-size:8px;color:var(--studio-text-muted)}.workbench .pending-banner{border-color:#b570ff80;background:#261e35ee}.workbench .pending-banner strong{color:#d5b5ff}.workbench .pending-banner small{color:#baa7cd}@media(max-width:1000px){.workbench .timeline-toolbar .secondary-tool{display:none}.workbench .timeline-tools-end .compare-toggle{display:none!important}}@media(max-width:720px){.workbench{--timeline-height:200px;--rail-width:290px}.workbench .timeline-heading{display:none}.workbench .timeline-tools-start,.workbench .timeline-tools-end{width:calc(50% - 94px);gap:1px}.workbench .timeline-toolbar{height:31px;padding:2px}.workbench .timeline-toolbar .icon-button{width:25px;height:25px;padding:3px}.workbench .timeline-instrument>output,.workbench .frame-label,.workbench .frame-label output{font-size:8px}.workbench .timeline-instrument>output{right:16px}.workbench .frame-label{left:16px}.workbench .timeline-tools-start button[data-command=delete]{display:none}.workbench .timeline-bottom #selection-readout{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workbench .timeline-bottom #file-name,.workbench #curve-key{display:none}.workbench .time-readout{font-size:9px}}@media(max-width:360px){.workbench .timeline-tools-end{width:78px}.workbench .frame-prefix{display:none}.workbench .frame-label:before{content:"#"}.workbench .frame-label output{margin-left:1px}}
