nav.workshop-tabs{display:flex;flex-wrap:nowrap;align-items:stretch;gap:6px;box-sizing:border-box;max-width:100%;min-width:0;margin:12px 0 20px;padding:0;border:0;border-bottom:1px solid #52616a;overflow-x:auto;background:transparent;font:15px/1.45 system-ui,sans-serif;scrollbar-width:thin;color-scheme:dark}
nav.workshop-tabs.workshop-tabs-outer{margin:12px 20px 20px}
nav.workshop-tabs>a{display:block;flex:0 0 auto;box-sizing:border-box;padding:10px 15px;margin:0;border:0;border-bottom:3px solid transparent;border-radius:7px 7px 0 0;background:transparent;color:#83cffe;text-decoration:none;white-space:nowrap;font:inherit}
nav.workshop-tabs>a:hover{background:#34434e;color:#fff}
nav.workshop-tabs>a[aria-current=page]{background:#3c4a54;color:#fff;border-bottom-color:#ffc06a}
nav.workshop-tabs>a:focus-visible{outline:2px solid #ffc06a;outline-offset:-3px}

/* Keep the shared navigation visible without covering sticky settings panels. */
body>.workshop-shell{position:sticky;top:0;z-index:1000;width:100%;max-width:none;box-sizing:border-box;margin:0;background:var(--page,#20282f)}
/* Same-origin page changes keep the shared header steady; unsupported browsers
   still get the identical pre-rendered shell and render-blocking shared CSS. */
@view-transition{navigation:auto}
body>.workshop-shell{view-transition-name:workshop-shell}
::view-transition-group(workshop-shell),::view-transition-new(workshop-shell){animation:none}
::view-transition-old(workshop-shell){display:none}
::view-transition-old(root),::view-transition-new(root){animation-duration:.12s}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none}}
html{background:var(--page,#20282f);scroll-padding-top:calc(var(--workshop-nav-height,100px) + 12px)}
@media(min-width:601px){
 body #controls-pane{top:calc(var(--workshop-nav-height,100px) + 12px)!important;max-height:calc(100vh - var(--workshop-nav-height,100px) - 28px)!important}
 body #settings-divider{top:calc(var(--workshop-nav-height,100px) + 12px);height:calc(100vh - var(--workshop-nav-height,100px) - 28px)}
}
@media(min-width:801px){body .workshop-sidebar{top:calc(var(--workshop-nav-height,100px) + 12px)}}
html.workshop-embedded body>.workshop-shell,html.workshop-embedded .cliffs-commandbar,html.workshop-embedded .world-controls,html.workshop-persistent .cliffs-commandbar,html.workshop-persistent .world-controls{display:none!important}
html.workshop-embedded{--workshop-nav-height:0px!important}
.persistent-file-toolbar{margin:6px 8px;gap:5px;min-height:40px}
.workshop-workspace-frame{display:block;width:100%;height:calc(100dvh - 155px);border:0;background:var(--page,#20282f)}
.workshop-workspace-frame[hidden],html.workshop-persistent main[hidden]{display:none!important}
html:is(.workshop-embedded,.workshop-persistent) .cliffs-workspace-toolbar,html:is(.workshop-embedded,.workshop-persistent) .world-stagebar{display:none!important}
.persistent-stage-toolbar{margin:0 8px 4px;padding:4px 0;gap:4px;border-bottom:1px solid var(--line)}
.persistent-stage-toolbar[hidden]{display:none!important}
.persistent-model-picker{min-width:0;max-width:min(100%,32rem)}
.persistent-model-picker>.preview-model-picker{margin:0;max-width:100%}
.workshop-workspace-frame{height:calc(100dvh - 155px)}
