/* Shared presentation only; existing document and Studio authorization is retained. */
html body.workspace-tool-page{--tool-sidebar:232px;margin:0;display:block;background:var(--vl-bg);color:var(--vl-text);}
html body.workspace-tool-page>header{position:sticky;top:0;z-index:30;display:flex;box-sizing:border-box;min-height:80px;margin:0;padding:14px 28px;gap:12px 20px;width:100%;max-width:none;flex-wrap:wrap;background:var(--vl-surface);border-bottom:1px solid var(--vl-border-subtle);box-shadow:none;}
html body.workspace-tool-page>header>.brand{color:var(--vl-text);font-size:24px;line-height:1.2;letter-spacing:-.8px;margin:0 auto 0 0;flex-shrink:0;}
.workspace-tool-utilities{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:13px;}
.workspace-tool-utilities :is(button,a){min-height:44px;display:inline-flex;align-items:center;}
.workspace-tool-utilities .badge{font-size:12px;}
html body.workspace-tool-page>.workspace-tool-sidebar{position:fixed;inset:80px auto 0 0;width:var(--tool-sidebar);padding:24px 14px;overflow:auto;background:var(--vl-surface);color:var(--vl-text);border-right:1px solid var(--vl-border-subtle);}
.workspace-tool-sidebar :is(.eyebrow,.aside-note){color:var(--vl-text-muted);}
.workspace-tool-sidebar nav a{color:var(--vl-text-muted);font-size:13px;min-height:44px;padding:11px 12px;}
.workspace-tool-sidebar nav a[aria-current]{background:var(--vl-surface-raised,#eaf0fa);color:var(--vl-link);box-shadow:inset 3px 0 var(--vl-link);}
html body.workspace-tool-page>.workspace{margin-left:var(--tool-sidebar);min-width:0;}
html body.workspace-tool-page>.workspace>main{padding:32px clamp(20px,3vw,48px) 64px;max-width:none;min-height:calc(100svh - 230px);}
html body.workspace-tool-page>footer{box-sizing:border-box;margin:0 0 0 var(--tool-sidebar);width:calc(100% - var(--tool-sidebar));padding:24px clamp(20px,3vw,48px);background:var(--vl-surface);border-top:1px solid var(--vl-border-subtle);color:var(--vl-text-muted);font-size:12px;}
html body.workspace-tool-page>footer .brand{color:var(--vl-text);margin:0;font-size:24px;}
html body.workspace-tool-page>footer nav a{color:var(--vl-link);padding:0;}
.workspace-tool-menu{display:none;}
@media(max-width:900px){
 html body.workspace-tool-page>header{min-height:80px;padding:12px 16px;}
 html body.workspace-tool-page>header>.brand{font-size:22px;}
 .workspace-tool-utilities #back,.workspace-tool-utilities .badge{display:none;}
 html body.workspace-tool-page>.workspace{margin-left:0;}
 html body.workspace-tool-page>.workspace-tool-sidebar{display:none;}
 html body.workspace-tool-page>footer{margin-left:0;width:100%;}
 html body.workspace-tool-page .workspace-tool-menu{display:flex;width:calc(100% - 32px);margin:12px 16px;}
 html body.workspace-tool-page.tool-menu-open>.workspace-tool-sidebar{display:block;z-index:25;top:80px;bottom:0;}
}

html body.workspace-tool-page .workspace-tool-utilities>strong{display:none;}
html body.workspace-tool-page #theme{font-size:0!important;width:44px;min-width:44px;padding:10px;}
html body.workspace-tool-page #theme::before{content:'';display:block;width:18px;height:18px;border:2px solid currentColor;border-radius:50%;background:linear-gradient(90deg,currentColor 50%,transparent 50%);}
@media(max-width:900px){html body.workspace-tool-page>header{min-height:132px!important;align-content:center;}html body.workspace-tool-page>header>.workspace-tool-utilities{margin-left:auto;}}

@media(min-width:901px) and (max-width:1200px){html body.workspace-tool-page{--tool-sidebar:208px;}}
@media(min-width:1800px){html body.workspace-tool-page{--tool-sidebar:252px;}}
@media(max-width:900px){html body.workspace-tool-page>.workspace-tool-menu{height:46px;min-height:46px;box-sizing:border-box;line-height:20px;padding:12px 16px;}html body.workspace-tool-page.tool-menu-open>.workspace-tool-sidebar{top:132px;}}

html body.workspace-tool-page[data-private-workspace="interpreter"]{--tool-sidebar:var(--iw-sidebar)}
html body.workspace-tool-page .studio-section-navigation{display:flex;flex-wrap:wrap;gap:8px;padding:8px 0 24px;margin:0;position:static;width:auto;background:transparent}
html body.workspace-tool-page .studio-section-navigation a{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid var(--vl-border-subtle);border-radius:10px;color:var(--vl-text);text-decoration:none;font-size:14px}
html body.workspace-tool-page .studio-section-navigation a[aria-current="page"]{background:var(--vl-surface-raised);color:var(--vl-link);font-weight:700}

html body.workspace-tool-page #theme:has(svg)::before{display:none}
html body.workspace-tool-page .studio-section-navigation [hidden]{display:none!important}

html body[data-professional-studio]>.workspace-tool-menu{display:none!important}
