/* Shared chrome for Build, Studio and Projects. */
html body.workspaceChrome .siteHead{flex:none;background:var(--pt-page-background);border-bottom:1px solid var(--pt-border)}
html body.workspaceChrome .siteHeadIn{box-sizing:border-box;width:100%;max-width:none;height:60px;min-height:60px;margin:0;padding:8px 18px!important;display:flex;align-items:center;gap:18px;flex-wrap:nowrap!important;font:400 13px/1.2 var(--pt-font)}
html body.workspaceChrome .siteHeadIn .pt-brand{padding:0;border:0;border-radius:0;background:none;font:700 18px/1.2 var(--pt-font);gap:8px}
html body.workspaceChrome .siteHeadIn .pt-brand svg{width:26px;height:26px}
html body.workspaceChrome .siteHeadIn nav{margin-left:auto;gap:6px;align-items:center;flex-wrap:nowrap}
html body.workspaceChrome .siteHeadIn nav a{display:flex;padding:8px 10px;font:500 13px/1.2 var(--pt-font)}
html body.workspaceChrome .siteHeadIn .pt-theme-toggle{width:36px;min-height:36px;height:36px}
.workflowTabs{display:flex;align-items:stretch;gap:0;align-self:stretch;flex:none;margin:0}
.workflowTabs a,.workflowTabs button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:160px;min-height:50px;padding:10px 20px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--pt-muted);font:600 14px/1.2 var(--pt-font);text-decoration:none;white-space:nowrap;cursor:pointer;box-shadow:none}
.workflowTabs [aria-current=page]{color:var(--pt-ink);background:var(--pt-selected);border-bottom-color:var(--pt-accent)}
.workflowTabs a:hover,.workflowTabs button:hover{background:var(--pt-hover);color:var(--pt-ink)}
.workflowTabs :focus-visible{outline:2px solid var(--pt-accent);outline-offset:-4px}
/* Raised, sloping tabs without changing the shared bar's measurements. */
.workflowTabs a,.workflowTabs button{position:relative;isolation:isolate;border-bottom:0;background:transparent;padding-top:12px;color:var(--pt-muted)}
.workflowTabs a::before,.workflowTabs button::before{content:"";position:absolute;z-index:-1;inset:9px 1px 0;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100C6 100 7 88 9 70L17 16Q19 0 26 0H74Q81 0 83 16L91 70C93 88 94 100 100 100Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;background:var(--pt-border);pointer-events:none}
.workflowTabs a::after,.workflowTabs button::after{content:"";position:absolute;z-index:-1;inset:10px 2px 0;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100C6 100 7 88 9 70L17 16Q19 0 26 0H74Q81 0 83 16L91 70C93 88 94 100 100 100Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;background:var(--pt-page-background);pointer-events:none}
.workflowTabs [aria-current=page]{background:transparent;color:var(--pt-ink);font-weight:700}
.workflowTabs [aria-current=page]::before{inset-block-start:3px;background:var(--pt-accent)}
.workflowTabs [aria-current=page]::after{inset-block-start:5px;background:var(--pt-selected)}
.workflowTabs a:hover,.workflowTabs button:hover{background:transparent;box-shadow:none}
.workflowTabs a:hover::after,.workflowTabs button:hover::after{background:var(--pt-hover)}
.workflowTabs [aria-current=page]:hover::after{background:var(--pt-selected)}
.workspaceChrome .workflowMeasurements{box-sizing:border-box;display:flex;align-items:center;flex:none;width:max-content;min-width:300px;gap:6px;padding:0 14px;white-space:nowrap;text-align:left}
.workspaceChrome .rsHero,.workspaceChrome .rsStat{display:flex;flex-direction:column;gap:2px;flex:none}
.workspaceChrome .rsLabel{font:500 9px/1.3 var(--pt-font);letter-spacing:.08em;text-transform:uppercase;color:var(--pt-muted)}
.workspaceChrome .rsHeroValue{font:600 18px/1.1 var(--pt-font);color:var(--pt-ink);white-space:nowrap}
.workspaceChrome .rsStatValue{font:600 18px/1.1 var(--pt-font);color:var(--pt-ink);white-space:nowrap}
.workspaceChrome .rsUnit{font:400 11px/1.2 var(--pt-font);margin-left:4px;color:var(--pt-muted)}
html .sceneWorkspace .resultsStrip,.studioWorkflow,.projectsWorkflow{box-sizing:border-box;display:flex;align-items:center;gap:0;min-height:50px;height:50px;padding:0;background:var(--pt-panel);border-bottom:1px solid var(--pt-border);font-family:var(--pt-font);color:var(--pt-ink)}
.sceneWorkspace .resultsStrip .rsStatus{margin-left:auto;padding:0 18px}
.sceneWorkspace .resultsStrip .workspaceActions{margin-left:0;padding:0 18px}
.studioWorkflow{position:fixed;z-index:6;top:var(--studio-site-height,60px);left:0;right:0}
.projectsWorkflow{flex:none}
html body.projectsWorkspace{height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.projectsWorkspace>.wrap{width:100%;max-width:none;margin:0;padding:0;flex:1;min-height:0;overflow:auto;display:block;background:var(--pt-page-background)}
.projectsWorkspace .projectsPage{box-sizing:border-box;width:100%;max-width:none;margin:0!important;padding:22px 28px 48px}
.projectsWorkspace .projectsPage h1{font-size:22px;margin:0 0 18px}
.projectsWorkspace .projectsPage section{margin-block:24px}
html .sceneWorkspace .app,html .sceneWorkspace .app.sceneInspectorClosed{grid-template-rows:50px minmax(0,1fr)!important}
@media(min-width:951px){.studio-page #studio-controls{top:var(--studio-header-height,110px);bottom:0;right:0;max-height:none;border-radius:0;border-width:0 0 0 1px;box-shadow:none}.studio-page #studio-controls.is-collapsed,html[data-studio-panel="collapsed"] .studio-page #studio-controls{bottom:auto}}
@media(max-width:1100px){
 .workspaceChrome .workflowMeasurements{min-width:268px;gap:6px}
 .workflowTabs a,.workflowTabs button{width:140px}
 .sceneWorkspace .resultsStrip .rsStatus{display:none}
}
@media(max-width:950px){
 html .sceneWorkspace #leftControls,html .sceneWorkspace #drawer{top:50px}
 html .sceneWorkspace .app.sceneHistoryFooter{grid-template-rows:50px minmax(0,1fr) 56px!important}
 .sceneWorkspace .resultsStrip .workspaceActions{display:none}
}
@media(max-width:760px){
 html body.workspaceChrome .siteHeadIn{gap:8px;padding-inline:12px!important}
 html body.workspaceChrome .siteHeadIn .pt-brand{font-size:16px}
 html body.workspaceChrome .siteHeadIn nav a{display:flex;padding:6px 4px;font-size:12px}
 html body.workspaceChrome .siteHeadIn nav a[href="/app"]{display:none}
 html body.workspaceChrome #sceneNavigation{display:none}
 html body.workspaceChrome .siteHeadIn nav{display:flex!important;margin-left:auto;gap:2px}
 html body.workspaceChrome .siteHeadIn .buildStamp{display:none}
 .workspaceChrome .workflowMeasurements{width:auto;min-width:110px;flex:1;padding:0 12px;gap:10px}
 .workspaceChrome .workflowMeasurements .rsStat{display:none}
 .workspaceChrome .rsHeroValue{font-size:16px}
 .workflowTabs{flex:0 1 480px;min-width:0}
 .workflowTabs a,.workflowTabs button{width:160px;min-width:0;flex:1;padding:8px;font-size:13px}
 .projectsWorkspace .projectsPage{padding:18px 14px 36px}
}

body.workspaceChrome .workflowTabs button:enabled:hover{box-shadow:none;background:transparent}
