/* Mobile workbenches use natural content height; no rotation gate or clipped controls. */
@media(max-width:760px),(max-width:1100px) and (pointer:coarse){
 html .workshop-dialog[data-mobile-workshop=true][data-workshop][open]{display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:0!important;transform:none!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .rotation-prompt{display:none!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .workshop-dialog-header{display:flex!important;flex:none!important;height:auto!important;min-height:56px!important;max-height:none!important;padding:6px 12px!important;gap:10px!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .workshop-dialog-header h2{font-size:17px!important;line-height:1.3!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .workshop-dialog-header button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;flex:none!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .workshop-content{display:block!important;flex:1!important;height:0!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;touch-action:pan-y;padding-bottom:env(safe-area-inset-bottom)}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .workshop-host:not([hidden]){display:block!important;height:auto!important;min-height:0!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .workshop-host[hidden]{display:none!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .workshop-loading:not([hidden]){display:block!important;padding:16px!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] :is(.plexi-studio,.composite-studio,.neon-studio){height:auto!important;min-height:0!important;padding:10px!important;overflow:visible!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] :is(.plexi-studio,.composite-studio)::before{display:none!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .wrap{width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;max-width:none!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] :is(.plexi-heading,.composite-heading,.section-head){display:none!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] :is(.plexi-box,.composite-box,.neon-layout){display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;overflow:visible!important;gap:14px!important;padding:10px!important;grid-template-rows:none!important;grid-template-columns:none!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .plexi-visual{position:relative!important;top:auto!important;display:flex!important;flex-direction:column!important;width:100%!important;height:260px!important;min-height:260px!important;padding:8px!important;overflow:hidden!important;grid-area:auto!important;flex:none!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .plexi-visual canvas{display:block!important;width:100%!important;height:190px!important;min-height:190px!important;max-height:190px!important;flex:none!important;object-fit:contain!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .plexi-preview-actions{height:auto!important;min-height:44px!important;flex:none!important;flex-wrap:wrap!important;gap:8px!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .plexi-selection{font-size:14px!important;line-height:1.4!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .mobile-editor{display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;min-width:0!important;overflow:visible!important;gap:14px!important;grid-area:auto!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .mobile-tools{display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;flex:none!important;overflow:visible!important;padding:10px!important;gap:12px!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .mobile-tool-tabs{display:flex!important;flex-wrap:wrap!important;gap:6px!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .mobile-tool-tabs button{min-height:46px!important;font-size:15px!important;padding:10px!important;flex:1!important;white-space:normal!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .mobile-tool-pane{flex:none!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding:4px!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .mobile-tool-pane[hidden]{display:none!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] :is(.plexi-swatches,.composite-colors){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;height:auto!important;max-height:none!important;overflow:visible!important;gap:8px!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] :is(.plexi-swatch,.composite-color){min-height:78px!important;padding:8px!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] :is(.plexi-swatch,.composite-color)>span{height:30px!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] :is(.plexi-request,.composite-request){display:grid!important;gap:10px!important;height:auto!important;margin:0!important;padding:0!important;flex:none!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] :is(.plexi-request,.composite-request)>label{display:block!important;font-size:14px!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] :is(input,select,textarea){font-size:16px!important;min-width:0!important;max-width:100%!important;min-height:44px!important;box-sizing:border-box!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] input[type=checkbox]{min-height:22px!important;width:22px!important;flex:none!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] textarea{height:70px!important;min-height:70px!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .btn{min-height:44px!important;font-size:14px!important;white-space:normal!important;padding:10px 12px!important;line-height:1.35!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .mobile-preview-stack{display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;overflow:visible!important;gap:10px!important;grid-area:auto!important;flex:none!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .composite-top{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .composite-modes button{min-height:44px!important;font-size:14px!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .composite-none{font-size:14px!important;white-space:normal!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .composite-views{display:block!important;height:auto!important;min-height:240px!important;flex:none!important;overflow:visible!important;position:relative!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .composite-views figure{position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;width:100%!important;height:240px!important;margin:0!important;overflow:hidden!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .composite-views figure[hidden]{display:none!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .composite-views canvas{display:block!important;width:100%!important;height:210px!important;min-height:210px!important;max-height:210px!important;flex:none!important;object-fit:contain!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .draft-view-tabs button{min-height:44px!important;font-size:14px!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .neon-preview{position:relative!important;top:auto!important;display:flex!important;height:230px!important;min-height:230px!important;max-height:none!important;width:100%!important;flex:none!important;padding:20px 12px 30px!important;overflow:hidden!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] #neon-controls{display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;overflow:visible!important;padding:0!important;gap:12px!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .neon-field-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .neon-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] .neon-ready{display:flex!important;height:auto!important;min-height:44px!important;flex-wrap:wrap!important;margin-top:10px!important;gap:8px!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop=plotter] .workshop-content{overflow:hidden!important;padding:0!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop=plotter] .workshop-host:not([hidden]){height:100%!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop=plotter] .plotter-frame{display:block!important;width:100%!important;height:100%!important;border:0!important}
}
@media(max-width:1100px) and (min-width:600px) and (orientation:landscape){
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] :is(.plexi-box,.composite-box,.neon-layout){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)!important;align-items:start!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] :is(.plexi-visual,.mobile-preview-stack,.neon-preview){grid-column:1!important;grid-row:1!important}
 html .workshop-dialog[data-mobile-workshop=true][data-workshop] :is(.mobile-editor,#neon-controls){grid-column:2!important;grid-row:1!important}
}
