.pf-menu-shortcuts{display:flex;gap:5px;margin:0 0 10px;flex-wrap:wrap}
.pf-menu-shortcuts button{flex:1;padding:6px!important;min-height:30px!important;font-size:11px!important}
.pf-menu-section{border-top:1px solid var(--line,#ccd6db);padding-top:10px;margin:12px 0}
.pf-menu-section h4{margin:0 0 8px;font-size:12px}
.pf-menu-section label{display:block;min-width:0}
@media(min-width:921px){
 body[data-pf-desktop=true] #pfOpeningViewer{height:38px;min-height:38px;max-height:none;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;padding:2px 8px!important;gap:7px}
 body[data-pf-desktop=true] #pfOpeningViewer>.pf-choice-row{flex:0 0 auto;flex-wrap:nowrap;align-items:center;margin:0!important;width:auto;min-width:max-content;gap:4px}
 body[data-pf-desktop=true] #pfOpeningViewer>.pf-choice-row button{flex:0 0 auto!important;min-height:26px!important;height:26px!important;padding:3px 7px!important;margin:0!important}
 body[data-pf-desktop=true] #pfOpeningViewer .pf-opening-track{flex:1 1 100px;min-width:65px;max-width:240px;margin:0!important}
 body[data-pf-desktop=true] #pfOpeningViewer .pf-viewer-head strong,body[data-pf-desktop=true] #pfOpeningSettings{flex:none}
 body[data-pf-desktop=true] #pfOpeningSettings{order:3}
 body[data-pf-desktop=true] .pf-desk-scroll,#pfPBRDialog[data-pf-workbench=true] .pf-pbr-scroll{padding-bottom:28px!important;scroll-padding:12px 0 28px}
 .pf-dock-body .grid{align-items:start}
 .pf-dock-body input,.pf-dock-body select{max-width:100%;box-sizing:border-box}
 .pf-dock-body label{overflow-wrap:anywhere}
 #pfDeskDock .pf-bottom-host>.pf-dock-block{max-width:none}
}
/* Persistent primary action next to the scene, independent of dock placement. */
#pfStudioPhotoActions{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);z-index:15;display:flex;align-items:center;gap:6px;padding:6px;border:1px solid #52666d;border-radius:9px;background:#17262ef2;max-width:calc(100% - 20px);box-shadow:0 3px 12px #0002}
#pfPBRDialog #pfStudioPhotoActions button{margin:0;min-height:34px;white-space:nowrap;padding:7px 12px;font-size:12px}
#pfStudioPhotoActions #pfPBRExport::before{content:'◉';margin-right:7px}
#pfPBRDialog #pfStudioPhotoActions #pfPhotoToggle[aria-pressed=true],#pfRenderClose{background:#9adfc4!important;color:#123b32!important;border:1px solid #b2f1d9!important;box-shadow:0 0 8px #70d7be33;font-weight:750!important}
#pfRenderDialog>header{position:sticky;top:0;z-index:5;background:#203137;padding-bottom:10px}
#pfRenderDialog #pfRenderClose{width:auto;min-width:130px;flex-shrink:0;font-size:12px;padding:8px 12px}
@media(max-width:920px){#pfStudioPhotoActions{bottom:8px;gap:5px;padding:5px}#pfPBRDialog #pfStudioPhotoActions button{min-height:40px;padding:7px 9px;font-size:11px}}
