/* One workspace system for every editor. Functional overlays remain in page CSS. */
:is(.pose-studio,.expression-studio,.monster-studio,.scene-studio){font-size:16px;line-height:1.55}
:is(.pose-studio,.expression-studio,.monster-studio) .studio-layout,.scene-workspace{display:grid;grid-template-columns:var(--editor-sidebar-width) minmax(0,1fr) var(--editor-inspector-width);max-width:none;min-width:0;min-height:0;margin:0}
:is(.pose-studio,.expression-studio,.monster-studio) :is(.preset-panel,.stage-panel,.inspector),.scene-options,.scene-stage,.scene-inspector{height:calc(100dvh - var(--header-height));min-height:0;max-height:none;min-width:0}
:is(.pose-studio,.expression-studio,.monster-studio) .preset-panel{display:flex;flex-direction:column;padding:24px 18px;background:var(--paper);border-right:1px solid var(--line);overflow:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
:is(.pose-studio,.expression-studio,.monster-studio) .preset-panel h2,.scene-options h2{display:block;margin:0 0 16px;font:650 23px/1.25 var(--display);letter-spacing:-.8px;white-space:normal}
:is(.preset-panel,.scene-options) :is(.section-kicker,.scene-kicker){display:none}
.studio-layout .preset-panel>.panel-intro{display:none}
.studio-layout .preset-filters{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 16px;flex-shrink:0}
.studio-layout .preset-filters button{min-height:40px;padding:8px 10px;font-size:14px;line-height:1.3;color:var(--muted);border:1px solid transparent;border-radius:6px}
.studio-layout .preset-filters button span{font-size:12px;opacity:1}
.studio-layout .preset-filters button[aria-pressed=true]{background:var(--surface);color:var(--ink);border-color:var(--line);font-weight:650}
.studio-layout .pose-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;margin:0}
.studio-layout .preset-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:132px;padding:14px 8px;background:var(--surface);border:1px solid var(--line);border-radius:8px;transition:background .15s,border-color .15s;flex:none}
.studio-layout .preset-button:hover{background:var(--hover);border-color:var(--muted)}
.studio-layout .preset-button[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:var(--surface-soft)}
.studio-layout .preset-button svg{width:60px;height:64px;margin:0;stroke:var(--muted)}
.studio-layout .preset-button[aria-pressed=true] svg{stroke:var(--accent)}
.studio-layout .preset-button span{font:550 14px/1.4 var(--sans);letter-spacing:0;white-space:normal;overflow-wrap:normal;text-align:center}
.studio-layout .preset-bottom{font-size:12px;margin-top:24px;padding-top:12px;line-height:1.6;color:var(--muted)}
:is(.pose-studio,.expression-studio,.monster-studio) .stage-panel{display:flex;flex-direction:column;position:relative;background:var(--paper-deep);overflow:hidden}
.studio-layout .stage-toolbar{background:var(--paper);border-bottom:1px solid var(--line);padding:12px 16px;gap:10px;align-items:center;flex-shrink:0}
.pose-studio .stage-toolbar{display:flex;flex-direction:column;align-items:stretch}
.workspace-tools,.workspace-context{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0;width:100%}
.workspace-context{padding-top:10px;border-top:1px solid var(--line)}
.studio-layout .workspace-tools .history-controls{margin-left:auto}
.studio-layout .workspace-context .stage-settings{margin-left:auto}

.studio-layout .stage-toolbar .mode-group{flex:none;display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:3px;background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;width:max-content;max-width:100%}
.studio-layout .stage-toolbar .mode-group button{font-size:15px;font-weight:550;min-height:38px;padding:7px 9px;line-height:1.2;color:var(--muted);border-radius:5px}
.studio-layout .mode-group button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 4px #00000012}
.studio-layout .mode-group button>span{display:inline;font-size:16px;margin-right:4px}
.studio-layout .stage-toolbar .annotation-modes{margin:0;display:flex;gap:4px}
.studio-layout .annotation-modes button{height:44px;padding:8px;font-size:14px;color:var(--muted);border-radius:6px}
.studio-layout .annotation-modes button[aria-pressed=true]{background:var(--surface-soft);color:var(--accent)}
.studio-layout .history-controls{margin:0;display:flex;gap:2px}
.studio-layout .history-controls .icon-button{height:44px;width:36px;padding:6px;font-size:24px;border-radius:6px;color:var(--muted)}
.studio-layout .stage-toolbar .scene-object-bar{padding:0;border:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;min-width:0;flex-basis:auto}
.studio-layout .stage-toolbar .scene-object-bar select{height:44px;max-width:170px;width:150px;font-size:14px;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:6px}
.studio-layout .stage-toolbar .scene-object-bar button{min-height:44px;width:auto;padding:8px 10px;font-size:14px;border:1px solid var(--line);border-radius:6px;background:var(--surface);white-space:nowrap;margin:0}
.studio-layout .stage-toolbar .scene-object-bar #add-actor{margin-inline-start:6px}
.studio-layout .stage-toolbar .scene-object-bar .visibility-toggle{flex:0 0 40px;width:40px;padding:9px}
.studio-layout .stage-toolbar .actor-color-control{display:flex;gap:7px;margin:0;padding:5px 8px 5px 5px;min-height:44px;background:var(--surface);border:1px solid var(--line);font-size:14px;border-radius:6px}
.studio-layout .stage-toolbar .actor-color-control input[type=color]{width:28px;height:28px;padding:1px}
.studio-layout .stage-toolbar .stage-settings{display:flex;gap:6px;flex-basis:auto;margin:0;min-width:0}
.studio-layout .stage-settings select{min-height:44px;height:44px;font-size:14px;padding:8px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink)}
.studio-layout .stage-settings #aspect-select{width:122px}.studio-layout .stage-settings #background-select{width:86px}
.studio-layout .stage-space{flex:1 1 0;min-height:0;min-width:0;padding:24px;display:flex;align-items:center;justify-content:center;background:var(--paper-deep)}
.studio-layout .canvas-frame{border:1px solid var(--line);box-shadow:0 6px 28px #00000014;border-radius:2px}
.studio-layout .frame-corner{border-color:var(--muted);opacity:.6}
.studio-layout .frame-format{font:12px/1.5 var(--sans);top:4px;right:24px;color:var(--muted)}
.studio-layout .view-bar{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;justify-content:flex-start;background:var(--paper);padding:8px 16px;border-top:1px solid var(--line);border-bottom:0;flex-shrink:0}
.studio-layout .view-presets{display:flex;flex-wrap:wrap;gap:2px;min-width:0}
.studio-layout .view-presets button{font-size:13px;min-height:38px;padding:8px;line-height:1.3;color:var(--muted);border-radius:6px}
.studio-layout .view-presets button[aria-pressed=true]{background:var(--surface-soft);color:var(--accent);font-weight:650}
.studio-layout .recenter-button{min-height:38px;padding:8px;font-size:18px;color:var(--muted)}.studio-layout .recenter-button span{font-size:13px;vertical-align:1px}
.studio-layout .view-bar .stage-footnote{display:flex;flex-wrap:wrap;margin-left:auto;gap:12px;padding:0;font-size:13px;color:var(--muted)}
.studio-layout .stage-footnote label{gap:6px;min-height:36px}
.studio-layout input[type=checkbox],.scene-workspace input[type=checkbox]{width:16px;height:16px;accent-color:var(--action-bg);flex-shrink:0}
:is(.pose-studio,.expression-studio,.monster-studio) .inspector{display:flex;flex-direction:column;gap:0;padding:0 22px;background:var(--paper);border-left:1px solid var(--line);overflow:hidden}
.studio-layout .inspector-scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent;padding:0 2px 18px 0}
.studio-layout .inspector-section{padding:22px 0;border-bottom:1px solid var(--line)}
.studio-layout .section-heading{gap:12px;margin-bottom:16px;align-items:center}.studio-layout .section-kicker{font:650 14px/1.4 var(--sans);letter-spacing:0;color:var(--ink)}
.studio-layout .inspector h2{font:650 24px/1.25 var(--display);letter-spacing:-.7px;margin:6px 0 12px}
.studio-layout .inspector :is(.field-label,.entity-name-field>span,.range-field label,.range-field output,.position-fields label,.direction-fields label,.prop-fields label){font-size:14px;line-height:1.5;color:var(--muted)}
.studio-layout .text-button{font-size:13px;min-height:36px;padding:6px 0;color:var(--muted);line-height:1.3}
.studio-layout :is(.wide-select,.entity-name-field input){width:100%;height:44px;font-size:15px;padding:8px 10px;color:var(--ink);border:1px solid var(--line);border-radius:6px;background:var(--surface)}
.studio-layout .control-strip{font-size:14px;gap:12px;flex-wrap:wrap}.studio-layout .control-strip label{font-size:14px;gap:8px}
.studio-layout .control-strip select{font-size:14px;min-height:40px;max-width:none;padding:6px 10px;border:1px solid var(--line);background:var(--surface);border-radius:6px}
.studio-layout .segmented{display:flex;gap:4px;padding:4px;background:var(--surface-soft);border:1px solid var(--line);border-radius:8px}
.studio-layout .segmented button{min-height:40px;flex:1;padding:8px 6px;font-size:14px;line-height:1.25;color:var(--muted);border-radius:5px}
.studio-layout .segmented button[aria-pressed=true]{background:var(--surface);color:var(--ink);font-weight:600}
.studio-layout :is(.joint-help,.expression-help,.monster-help,.export-intro,.limit-note,.monster-optional-note,.monster-library-note){font-size:14px;line-height:1.65;color:var(--muted)}
.studio-layout .range-field{margin-top:22px}.studio-layout .range-heading{min-height:32px;gap:8px}.studio-layout .range-heading>.range-reset{width:32px;height:32px;flex-basis:32px;padding:8px}
.studio-layout .range-endpoints{font-size:12px;color:var(--muted);margin-top:0}
.studio-layout input[type=range]{appearance:none;background:transparent;height:24px;min-height:24px;margin:4px 0 0;cursor:pointer;touch-action:none}
.studio-layout input[type=range]::-webkit-slider-runnable-track{height:4px;background:var(--line);border-radius:4px}
.studio-layout input[type=range]::-webkit-slider-thumb{appearance:none;width:16px;height:16px;margin-top:-6px;background:var(--accent);border:3px solid var(--surface);border-radius:50%;box-shadow:0 0 0 1px var(--accent)}
.studio-layout input[type=range]::-moz-range-track{height:4px;background:var(--line);border-radius:4px}.studio-layout input[type=range]::-moz-range-thumb{width:12px;height:12px;background:var(--accent);border:3px solid var(--surface);border-radius:50%}
.studio-layout .actor-settings .actor-position>summary{font-size:15px;min-height:40px;padding:8px 0;color:var(--ink);font-weight:550}
.studio-layout .actor-settings button{font-size:14px;min-height:40px;padding:8px 10px;border-radius:6px}
.studio-layout .actor-settings .position-fields{padding:4px 0 0}.studio-layout .actor-settings .direction-fields{gap:16px}
.studio-layout .prop-fields{gap:10px}.studio-layout .prop-fields input{height:40px;font-size:14px;background:var(--surface)}
.studio-layout .prop-actions button{font-size:14px;min-height:40px;border-radius:6px}
.studio-layout .visibility-toggle{width:44px;height:44px;flex-basis:44px;padding:10px;border-radius:6px;background:var(--surface)}
.studio-layout .export-action{flex-shrink:0;margin:0;padding:18px 0 20px;border-top:1px solid var(--line);background:var(--paper)}
.studio-layout .export-names-option{font-size:14px;gap:8px;margin:0 0 12px;min-height:24px}
.studio-layout .download-pose,.studio-layout .reference-prompt-trigger{width:100%;min-height:48px;font:650 15px/1.4 var(--sans);padding:12px 14px;letter-spacing:0;border-radius:7px}
.studio-layout .download-pose{background:var(--action-bg);color:var(--action-ink);margin:0;border:1px solid var(--action-bg)}
.studio-layout .download-pose:hover:not(:disabled){background:var(--action-bg);filter:brightness(1.08);transform:none}
.studio-layout .reference-prompt-trigger{margin-top:8px;border:1px solid var(--line);background:var(--surface);color:var(--ink)}
.studio-layout .reference-prompt-trigger:hover{background:var(--hover)}
.reference-prompt-dialog{padding:28px;border-radius:12px}.reference-dialog-header h2{font:650 24px/1.25 var(--sans)}
#reference-prompt-description{font-size:15px}#reference-prompt-text{font:16px/1.8 var(--sans)}#reference-prompt-status{font-size:14px}#copy-reference-prompt{font-size:15px;min-height:48px;color:var(--action-ink);border-radius:6px}
.studio-toast,.scene-toast{font-size:15px;background:var(--ink);color:var(--paper);z-index:var(--z-toast)}
.studio-layout .loading-state{background:var(--paper-deep)}.studio-layout .loading-state p{font-size:15px}.studio-layout .loading-state strong{font:650 22px/1.3 var(--sans)}
.studio-layout .drawing-tools{padding:6px;border-radius:8px}.studio-layout .drawing-tools :is(button,select){min-height:40px;height:40px;font-size:14px}
.studio-layout .drawing-font-field{font-size:14px}.studio-layout .drawing-font-field input{font-size:14px;height:40px;width:60px}
.studio-layout .actor-move-handle{font-size:13px;min-height:36px;padding:7px 10px;border-radius:6px}
/* Expression controls use the same typographic scale and selection language. */
.expression-studio .stage-toolbar{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-start}.expression-studio .history-controls{margin-left:auto}
.expression-studio .expression-skin-tones{gap:6px;flex-wrap:wrap}.expression-studio .expression-skin-tones button{min-height:44px;padding:8px;font-size:14px;border-radius:6px}
.expression-studio .expression-overview .section-heading strong{font:650 20px/1.3 var(--sans)}
.expression-studio .expression-front-view{width:44px;height:44px;border-radius:7px}
.expression-studio .expression-example{border-radius:8px;box-shadow:0 4px 16px #0002}
.expression-studio .expression-help{font-size:14px;line-height:1.65}
/* Monster selection and assembly are task groups, not decorative cards. */
.monster-studio .monster-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0 0 14px}
.monster-studio .monster-categories button{font-size:14px;min-height:44px;padding:8px;border:1px solid var(--line);background:var(--surface);border-radius:6px}
.monster-studio .monster-categories button[aria-pressed=true]{background:var(--surface-soft);border-color:var(--accent);color:var(--accent)}
.monster-studio .monster-library-tools{margin:0 0 16px}.monster-studio .monster-library-tools select{font-size:15px;min-height:44px;padding:8px;border-radius:6px}
.monster-studio .monster-part-options{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.monster-studio .monster-part{min-height:136px;padding:12px 8px;background:var(--surface);border:1px solid var(--line);border-radius:8px}
.monster-studio .monster-part span{font-size:14px;line-height:1.4}.monster-studio .monster-part small{font-size:12px}
.monster-studio .monster-part[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.monster-studio .monster-pagination{font-size:13px;gap:10px}.monster-studio .monster-pagination button{min-height:40px;padding:8px 12px;font-size:14px}
.monster-studio .monster-stage-label{font-size:15px;letter-spacing:0;font-weight:600}.monster-studio .monster-stage-footer{font-size:13px;min-height:44px;padding:10px 18px;background:var(--paper);border-top:1px solid var(--line)}
.monster-studio .monster-front-view{width:44px;height:44px;border-radius:7px}
.monster-studio .monster-assemble h2{font:650 23px/1.25 var(--sans);margin:8px 0 12px}
.monster-studio .monster-small{font-size:14px;line-height:1.65;color:var(--muted)}
.monster-studio .monster-rarity-odds{margin:18px 0}.monster-studio .monster-rarity-odds :is(dt,dd){font-size:13px;line-height:1.5}
.monster-studio .monster-optional{font-size:14px;gap:12px;margin:12px 0 20px;flex-wrap:wrap}.monster-studio .monster-optional label{min-height:32px;gap:6px}
.monster-studio .monster-summary{font-size:14px;margin:18px 0 0}.monster-studio .monster-summary :is(dt,dd){font-size:14px;line-height:1.5}
.monster-studio .monster-summary>div{padding:12px 0}.monster-studio .monster-turntable{font-size:14px;gap:8px;padding:10px 14px;border-radius:7px}
.monster-studio .monster-choice>div{border-radius:8px;padding:4px;gap:4px}
.monster-studio .monster-choice button{min-height:40px;font-size:14px;border-radius:5px}
.monster-studio .monster-choice button[aria-pressed=true]{background:var(--surface);color:var(--ink);font-weight:650;box-shadow:0 1px 4px #00000012}
/* Scene Studio uses identical columns and controls with its own canvas overlays. */
.scene-options,.scene-inspector{background:var(--paper);overflow:hidden}.scene-options{display:flex;flex-direction:column;border-right:1px solid var(--line)}
.scene-options .options-scroll{display:block;padding:24px 20px;min-height:0;flex:1;overflow:auto}.scene-options .scene-intro{font-size:14px;margin:0 0 24px;line-height:1.65;color:var(--muted)}
.scene-options fieldset{margin:0 0 24px}.scene-options legend{font-size:14px;font-weight:650;gap:10px;margin-bottom:12px}.scene-options legend>span{font:550 12px var(--sans);color:var(--muted)}.scene-options legend small{font-size:12px}
.scene-workspace :is(.scene-segment,.scene-periods){gap:4px;padding:4px;background:var(--surface-soft);border:1px solid var(--line);border-radius:8px}
.scene-workspace :is(.scene-segment,.scene-periods) button{font-size:14px;min-height:40px;padding:8px 6px;border:0;border-radius:5px;line-height:1.3;overflow-wrap:normal;color:var(--muted)}
.scene-workspace :is(.scene-segment,.scene-periods) button[aria-pressed=true]{background:var(--surface);color:var(--ink);font-weight:600}
.scene-workspace .scene-periods{flex-direction:column}.scene-workspace .scene-types{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.scene-workspace .scene-type{font-size:14px;min-height:48px;gap:5px;padding:8px 6px;background:var(--surface);border-radius:7px;line-height:1.3}
.scene-workspace .scene-type[aria-pressed=true]{background:var(--surface-soft);border-color:var(--accent);color:var(--accent)}
.scene-workspace .scene-type svg{width:16px;height:16px}.scene-workspace .scene-style{padding:14px 12px;gap:10px;border-radius:8px;background:var(--surface);border:1px solid var(--line)}
.scene-workspace .scene-style strong{font:600 15px/1.4 var(--sans)}.scene-workspace .scene-style small{font-size:12px;line-height:1.5;margin-top:4px;color:var(--muted)}
.scene-options fieldset:nth-of-type(3) .scene-style{padding:10px;gap:8px}.scene-options .scene-style small{display:none}.scene-options .scene-style>svg{width:28px;height:28px}.scene-options .scene-intro{margin-bottom:20px}
.scene-workspace .scene-browse{transform:none}
.scene-workspace .scene-generate-area{padding:16px 20px 20px;border-top:1px solid var(--line)}.scene-workspace .scene-generate-area p{font-size:13px;line-height:1.6;margin:0 0 12px}
.scene-workspace .scene-primary{min-height:48px;font-size:15px;font-weight:650;letter-spacing:0;border-radius:7px}
.scene-workspace .scene-stage{display:flex;flex-direction:column;padding:0 24px;background:var(--paper-deep)}
.scene-workspace .scene-stage-heading{min-height:68px;font-size:15px;gap:14px}.scene-workspace .scene-lock{font-size:12px;letter-spacing:0;gap:6px}
.scene-workspace .scene-viewport{flex:1;min-height:0;border-color:var(--line);border-radius:3px}
.scene-workspace .scene-stage-footer{min-height:48px;font-size:12px;color:var(--muted)}
.scene-workspace .scene-view-caption{font-size:13px;padding:10px 12px;bottom:16px;left:16px;max-width:calc(100% - 130px);border-radius:6px}
.scene-workspace .scene-view-caption span:first-child{font:600 16px/1.4 var(--sans)}.scene-workspace .scene-view-caption span:last-child{font-size:12px;line-height:1.6}
.scene-workspace .scene-reset{width:44px;height:44px;border-radius:7px;left:16px;top:16px}.scene-workspace .scene-browse{min-height:44px;font-size:14px;border-radius:7px;left:16px;bottom:100px}
.scene-workspace .scene-room-view button{min-height:44px;font-size:14px;border-radius:6px}.scene-workspace .scene-room-view>span{font-size:13px;max-width:160px}
.scene-workspace .scene-inspector{display:block;padding:24px 22px;border-left:1px solid var(--line);overflow:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.scene-workspace .scene-inspector>.scene-kicker{font-size:12px;letter-spacing:1px;margin-bottom:12px}.scene-workspace .scene-inspector h2{font:650 26px/1.25 var(--sans);letter-spacing:-.7px;margin:0 0 12px}
.scene-workspace .current-scene-description{font-size:14px;line-height:1.65;color:var(--muted)}
.scene-workspace .scene-facts{font-size:14px;margin:22px 0}.scene-workspace .scene-facts :is(dt,dd){font-size:14px;line-height:1.5}
.scene-workspace .scene-subheading h3{font:650 16px/1.4 var(--sans)}.scene-workspace .scene-subheading>span{display:none}
.scene-workspace .scene-layouts{display:grid;grid-template-columns:1fr;gap:10px;margin-top:16px}
.scene-workspace .scene-layout{padding:12px;gap:14px;min-height:72px;border:1px solid var(--line);background:var(--surface);border-radius:8px}
.scene-workspace .scene-layout strong{font-size:14px;line-height:1.5}.scene-workspace .scene-layout small{font-size:12px}.scene-workspace .scene-layout>svg{width:48px;height:44px}
.scene-workspace .scene-layout[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:var(--surface-soft)}
.scene-workspace :is(.scene-fineprint,.scene-reference small,.scene-layout-reference){font-size:12px;line-height:1.6;color:var(--muted)}
.scene-workspace .scene-reference{font-size:14px;line-height:1.7}.scene-workspace .scene-contents{font-size:14px;line-height:1.6;gap:8px}.scene-workspace .scene-inspector-end{display:none}
@media(min-width:1700px){.studio-layout .stage-toolbar .mode-group button,.studio-layout .annotation-modes button{font-size:15px;padding-inline:12px}.studio-layout .preset-button{min-height:145px}.studio-layout .preset-button svg{height:72px}}
@media(max-width:1399px){.studio-layout .view-bar .stage-footnote{margin-left:0}}
@media(max-width:1100px) and (min-width:901px){.studio-layout .stage-space{padding:16px}.scene-workspace .scene-stage{padding-inline:16px}.scene-workspace .scene-lock{display:none}}
@media(max-width:900px){
 :is(.pose-studio,.expression-studio,.monster-studio) .studio-layout,.scene-workspace{display:flex;flex-direction:column}
 :is(.pose-studio,.expression-studio,.monster-studio) .preset-panel{order:1;display:block;width:100%;height:auto;max-height:340px;padding:22px;border-right:0;border-top:1px solid var(--line);overflow:auto}
 :is(.pose-studio,.expression-studio,.monster-studio) .stage-panel{order:0;height:780px;min-height:560px;max-height:none;width:100%}
 :is(.pose-studio,.expression-studio,.monster-studio) .inspector{order:2;display:flex;height:auto;min-height:0;max-height:none;width:100%;padding:0 22px;overflow:visible;border-left:0;border-top:1px solid var(--line)}
 .studio-layout .inspector-scroll{overflow:visible;max-height:none}.studio-layout .pose-presets{grid-template-columns:repeat(4,minmax(0,1fr))}.studio-layout .stage-space{min-height:280px;height:auto;padding:16px}
 .scene-workspace .scene-stage{order:0;height:680px;min-height:480px;padding:0 16px}.scene-workspace .scene-options{order:1;height:auto;min-height:0;max-height:none}.scene-options .options-scroll{overflow:visible;padding:24px}.scene-workspace .scene-inspector{order:2;height:auto;min-height:0;max-height:none;border-left:0}
 .scene-workspace .scene-periods{flex-direction:row}.scene-workspace .scene-types{grid-template-columns:repeat(4,minmax(0,1fr))}.scene-workspace .scene-layouts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .studio-layout .stage-toolbar{padding:10px 12px;gap:8px}
 .studio-layout .stage-toolbar .mode-group{width:100%;justify-content:space-between}.studio-layout .stage-toolbar .mode-group button{font-size:13px;padding:8px 6px}.studio-layout .mode-group button>span{display:none}
 .studio-layout .stage-toolbar .scene-object-bar{flex-wrap:wrap;gap:6px}.studio-layout .stage-toolbar .scene-object-bar #actor-select{width:130px;max-width:130px}.studio-layout .stage-toolbar .scene-object-bar #add-actor{margin-left:0}
 .studio-layout .stage-toolbar .history-controls{justify-self:end}.studio-layout .stage-toolbar .stage-settings{flex-basis:auto}.studio-layout .view-bar{padding:8px 12px}.studio-layout .view-bar .stage-footnote{width:100%}
 .studio-layout .pose-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-layout .preset-button{padding:12px 6px;min-height:126px}.studio-layout .preset-button span{font-size:14px}
 .studio-layout .stage-space{padding:12px;min-height:240px;flex:1 1 auto}.expression-studio .stage-panel{height:680px;min-height:560px}.expression-studio .expression-example{width:100px}.expression-studio .expression-skin-tones button{font-size:13px}
 .monster-studio .monster-categories{grid-template-columns:repeat(3,minmax(0,1fr))}.monster-studio .monster-part-options{grid-template-columns:repeat(3,minmax(0,1fr))}.monster-studio .stage-panel{height:600px;min-height:480px}
 .scene-workspace .scene-stage-heading{font-size:13px;min-height:64px}.scene-workspace .scene-lock{display:none}.scene-workspace .scene-types{grid-template-columns:repeat(2,minmax(0,1fr))}.scene-options .options-scroll{display:block}.scene-options fieldset{margin-bottom:24px}.scene-options .scene-intro{display:block}.scene-workspace .scene-layouts{grid-template-columns:1fr}
 .scene-workspace .scene-view-caption span:last-child{display:none}.scene-workspace .scene-view-caption{bottom:16px;max-width:calc(100% - 116px)}.scene-workspace .scene-view-caption span:first-child{font-size:14px}.scene-workspace .scene-browse{bottom:82px}.scene-workspace .scene-room-view>span{display:none}
 .reference-prompt-dialog{padding:20px}.reference-dialog-header h2{font-size:22px}
}
