.studio-settings-actions {display:grid;gap:4px;margin-block:0 16px;padding-block-end:12px;border-bottom:1px solid #ffffff26;}
.studio-settings-actions :is(summary,.layout-edit-key) {padding:8px 6px;text-align:start;font:inherit;color:inherit;cursor:pointer;border-radius:5px;}
.studio-settings-actions :is(summary,.layout-edit-key):hover {background:#ffffff0d;}
.studio-settings-actions .layout-edit-key {display:flex;align-items:center;gap:8px;}
.studio-settings-actions .layout-edit-key[hidden] {display:none;}
.studio-settings-actions .layout-edit-key[aria-pressed=true] {color:#efce91;}
.studio-settings-actions :focus-visible {outline:2px solid #f0d5a3;outline-offset:2px;}
.studio-panel-options {padding:2px 6px 6px 12px;}
.studio-panel-options label {display:flex;align-items:center;gap:10px;padding:7px 9px;cursor:pointer;white-space:nowrap;border-radius:6px;}
.studio-panel-options label:hover {background:#ffffff0d;}
.studio-panel-options input {width:14px;height:14px;margin:0;accent-color:#d4b986;flex:0 0 auto;}
.studio-panel-options label:has(input:disabled) {opacity:.54;cursor:default;}
.studio-panel-options .studio-focus-option {margin-bottom:3px;padding-bottom:10px;border-bottom:1px solid #ffffff26;border-radius:5px 5px 0 0;}
body[data-application] .studio-panel-menu,
#board[data-hide-tools] .bench > .tool-drawer,
#board[data-hide-documents] .model-outputs,
#board[data-hide-apps] .app-dock,
#board[data-hide-model] .model-bar,
#board[data-hide-playback] .stage-console,
#board[data-focus-view] .model-port {display:none;}
body:not([data-phone]) #board[data-hide-apps] .model-zone {grid-template-areas:"viewer";grid-template-columns:minmax(0,1fr);column-gap:0;}
body:not([data-phone]) #board[data-focus-view] .bench {
  grid-template:"inputs workspace" auto / var(--source-width) minmax(0,1fr);
}
body:not([data-phone]) #board[data-focus-view] .view-case:not(:fullscreen,.is-expanded) {
  --view-height:clamp(250px,min(69cqw,calc(100svh - 170px)),1700px);
}
body[data-phone] .studio-settings-actions :is(summary,.layout-edit-key) {min-height:40px;box-sizing:border-box;}
body[data-phone] .studio-panel-options label {min-height:40px;box-sizing:border-box;}
body[data-phone] #board .bench[data-tools-collapsed] > .tool-drawer {display:none;}
body[data-phone]:has(#board[data-focus-view]) #phone-dock [data-act="phone-tools"],
body[data-phone]:has(#board[data-hide-apps]) #phone-dock [data-act="phone-apps"],
body[data-phone]:has(#board[data-hide-documents]) #phone-dock [data-act="phone-documents"] {display:none;}
body[data-phone] #board[data-focus-view] > .bench {
  display:flex;flex-flow:column;align-items:stretch;gap:12px;
}
body[data-phone] #board[data-focus-view] .model-zone {display:block;}
body[data-phone] #board[data-focus-view] #view-case:not(:fullscreen,.is-expanded) .scene-stage {
  height:clamp(190px,min(125vw,calc(100svh - 270px)),850px);
}
@media (min-width:701px) and (orientation:landscape) {
  body[data-phone] #board[data-focus-view] > .bench {display:grid;grid-template:"inputs workspace" auto / minmax(138px,21%) minmax(0,1fr);align-items:center;}
  body[data-phone] #board[data-focus-view] .engine-tools {display:flex;flex-direction:column;gap:12px;}
  body[data-phone] #board[data-focus-view] #view-case:not(:fullscreen,.is-expanded) .scene-stage {height:clamp(240px,min(63vw,calc(100svh - 190px)),940px);}
}
