/* Shared disclosure navigation on desktop and mobile. */
:is(.vnd-company-shell,.vnd-admin-workspace) .vnd-tree {position:relative;display:block;box-sizing:border-box;width:100%;padding:8px;border:1px solid var(--vnd-border,#ced9e4);border-radius:10px;background:var(--vnd-surface,#fff);color:var(--vnd-text,#24364b);margin:0;}
.vnd-tree .vnd-tree-toolbar{position:absolute;right:-24px;top:12px;z-index:2;display:flex;padding:0;color:var(--vnd-muted,#596d80)}
.vnd-tree svg{width:20px;min-width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
:is(.vnd-company-shell,.vnd-admin-workspace) .vnd-tree :is(.vnd-tree-row,.vnd-tree-collapse){box-sizing:border-box;display:flex;align-items:center;gap:10px;min-height:40px;height:auto;width:100%;padding:9px 10px;margin:0;border:1px solid transparent;border-radius:7px;background:transparent;color:inherit;text-decoration:none;text-align:left;font:600 14px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;white-space:normal;box-shadow:none}
.vnd-tree .vnd-tree-label{flex:1;min-width:0;overflow-wrap:anywhere}
:is(.vnd-company-shell,.vnd-admin-workspace) .vnd-tree .vnd-tree-collapse{width:26px;min-height:32px;padding:3px;justify-content:center;margin:0;border:1px solid var(--vnd-border,#ced9e4);background:var(--vnd-surface,#fff)}
:is(.vnd-company-shell,.vnd-admin-workspace) .vnd-tree :is(.vnd-tree-row,.vnd-tree-collapse):hover{background:var(--vnd-soft,#edf3f8)}
:is(.vnd-company-shell,.vnd-admin-workspace) .vnd-tree [aria-current=page]{background:var(--vnd-surface-blue,#dce8f5);color:var(--vnd-text,#244b71);border-color:var(--vnd-border,#b8cee1)}
.vnd-tree .has-current{color:var(--vnd-primary,#315f8d)}
.vnd-tree .vnd-tree-chevron{width:16px;height:16px;flex-basis:16px;margin-left:auto}
.vnd-tree [aria-expanded=true]>.vnd-tree-chevron{transform:rotate(180deg)}
.vnd-tree .vnd-tree-level{display:block}
.vnd-tree .vnd-tree-level[hidden]{display:none}
.vnd-tree .vnd-tree-item>.vnd-tree-level{margin:6px 0 0 19px;padding-left:10px;border-left:1px solid var(--vnd-border,#ced9e4)}
.vnd-tree :is(a,button):focus-visible{outline:2px solid var(--vnd-primary,#527ba6);outline-offset:1px}
body.vnd-owned-document .vnd-app.vnd-company-shell{display:grid;position:relative;grid-template-columns:248px minmax(0,1fr);grid-template-rows:auto 1fr auto;align-items:start;column-gap:12px}
.vnd-app.vnd-company-shell>.vnd-shell-header{grid-column:1/-1;grid-row:1}
.vnd-app.vnd-company-shell>.vnd-shell-menu{grid-column:1;grid-row:2;min-width:0;margin:0;position:sticky;top:44px;border:0;padding:0;overflow:visible}
.vnd-app.vnd-company-shell>.vnd-main{grid-column:2;grid-row:2;min-width:0}
.vnd-app.vnd-company-shell>.vnd-shell-footer{grid-column:1/-1;grid-row:3}
body.vnd-owned-document .vnd-app.vnd-company-shell.vnd-nav-collapsed{grid-template-columns:64px minmax(0,1fr)}
.vnd-nav-collapsed .vnd-tree>.vnd-tree-toolbar>span,.vnd-nav-collapsed .vnd-tree>.vnd-tree-level :is(.vnd-tree-label,.vnd-tree-chevron),.vnd-nav-collapsed .vnd-tree .vnd-tree-item>.vnd-tree-level{display:none}
.vnd-nav-collapsed .vnd-tree>.vnd-tree-level>.vnd-tree-row,.vnd-nav-collapsed .vnd-tree>.vnd-tree-level>.vnd-tree-item>.vnd-tree-row{justify-content:center;padding:10px}
body.vnd-admin-workspace #wpbody-content{box-sizing:border-box;padding-left:256px}
body.vnd-admin-workspace .vnd-admin-navigation.vnd-tree{position:fixed;left:180px;top:50px;width:240px;overflow:visible;z-index:20}
body.vnd-admin-workspace.folded .vnd-admin-navigation.vnd-tree{left:56px}
body.vnd-admin-workspace.vnd-nav-collapsed #wpbody-content{padding-left:80px}
body.vnd-admin-workspace.vnd-nav-collapsed .vnd-admin-navigation.vnd-tree{width:64px}
@media(min-width:1025px){.vnd-app.vnd-company-shell>.vnd-shell-menu>summary{display:none}}
@media(min-width:783px) and (max-width:960px){body.vnd-admin-workspace.auto-fold .vnd-admin-navigation.vnd-tree{left:56px}}
@media(max-width:1024px){
 body.vnd-owned-document .vnd-app.vnd-company-shell{display:flex;flex-direction:column}
 .vnd-app.vnd-company-shell>.vnd-shell-header{padding-right:60px;grid-template-columns:minmax(0,1fr)}
 .vnd-app.vnd-company-shell>.vnd-shell-menu{position:absolute;top:18px;right:20px;left:auto;max-height:none;overflow:visible;z-index:1000}
 .vnd-app.vnd-company-shell>.vnd-shell-menu .vnd-navigation-bar{position:absolute;top:48px;right:0;left:auto;width:min(320px,calc(100vw - 40px));max-height:calc(100dvh - 100px);overflow-y:auto;border-radius:10px;box-shadow:0 12px 30px #10243c30}
 .vnd-app.vnd-company-shell .vnd-tree>.vnd-tree-toolbar{display:none}
 .vnd-app.vnd-company-shell .vnd-tree>.vnd-tree-level{display:block;max-height:none;overflow:visible}
 .vnd-app.vnd-company-shell .vnd-tree .vnd-tree-row{min-height:44px}
 .vnd-app.vnd-company-shell .vnd-tree .vnd-tree-item>.vnd-tree-level{margin-left:14px;padding-left:8px}
}


/* Apply the same shape to links and disclosure buttons, including last-child links. */
:is(.vnd-app.vnd-company-shell,body.vnd-admin-workspace) .vnd-tree .vnd-tree-row{border:1px solid var(--vnd-border,#ced9e4);border-radius:7px;margin:0;text-decoration:none;}
.vnd-tree>.vnd-tree-level{max-height:calc(100dvh - 115px);overflow:auto;scrollbar-width:thin;}
/* Links and nested groups share the same spacing at every menu depth. */
:is(.vnd-app.vnd-company-shell,body.vnd-admin-workspace) .vnd-tree .vnd-tree-level>:is(.vnd-tree-row,.vnd-tree-item)+:is(.vnd-tree-row,.vnd-tree-item){margin-top:6px;}
@media(min-width:1025px){.vnd-tree>.vnd-tree-level>.vnd-tree-row:first-child{padding-right:17px;}.vnd-nav-collapsed .vnd-tree>.vnd-tree-level>.vnd-tree-row:first-child{padding:10px;}}

.vnd-app.vnd-company-shell :is(.vnd-drawer-close,.vnd-menu-shade){display:none}
@media(max-width:1024px){
 /* Background remains scrollable only through the uncovered area. */
 .vnd-app.vnd-company-shell>.vnd-shell-menu .vnd-menu-shade{display:block;position:fixed;inset:0;background:#07152270;z-index:1000;animation:vnd-shade-in .24s ease both;}
 .vnd-app.vnd-company-shell>.vnd-shell-menu .vnd-navigation-bar{position:fixed;inset:0 0 0 auto;width:min(var(--vnd-drawer-width,300px),calc(100vw - 24px));height:100dvh;max-height:none;box-sizing:border-box;padding:calc(12px + env(safe-area-inset-top)) 12px calc(16px + env(safe-area-inset-bottom));border-radius:14px 0 0 14px;background:var(--vnd-surface,#fff);border-left:1px solid var(--vnd-border,#ced9e4);box-shadow:-8px 0 28px #07152240;z-index:1001;overflow-y:auto;overscroll-behavior:contain;animation:vnd-drawer-in .26s cubic-bezier(.2,.7,.2,1) both;}
 .vnd-app.vnd-company-shell .vnd-navigation-bar .vnd-tree{padding:0;border:0;border-radius:0;background:transparent;}
 .vnd-app.vnd-company-shell .vnd-drawer-close{display:flex;align-items:center;justify-content:center;width:36px;min-height:36px;margin:0 0 14px;padding:7px;border:1px solid var(--vnd-border,#ced9e4);border-radius:8px;background:var(--vnd-soft,#edf3f8);color:var(--vnd-text,#24364b);cursor:pointer;}
 .vnd-drawer-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
 .vnd-app.vnd-company-shell>.vnd-shell-menu.vnd-menu-closing .vnd-navigation-bar{animation:vnd-drawer-out .24s ease both;pointer-events:none;}
 .vnd-app.vnd-company-shell>.vnd-shell-menu.vnd-menu-closing .vnd-menu-shade{animation:vnd-shade-out .24s ease both;pointer-events:none;}
}
@keyframes vnd-drawer-in{from{transform:translateX(100%)}to{transform:translateX(0)}}
@keyframes vnd-drawer-out{from{transform:translateX(0)}to{transform:translateX(100%)}}
@keyframes vnd-shade-in{from{opacity:0}to{opacity:1}}
@keyframes vnd-shade-out{from{opacity:1}to{opacity:0}}
@media(prefers-reduced-motion:reduce){.vnd-app.vnd-company-shell>.vnd-shell-menu :is(.vnd-navigation-bar,.vnd-menu-shade){animation:none!important}}

/* Match the primary save action without inheriting content-form button sizing. */
:is(.vnd-company-shell,.vnd-admin-workspace) .vnd-tree .vnd-tree-collapse{background:#315f8d;border-color:#315f8d;color:#fff;}
:is(.vnd-company-shell,.vnd-admin-workspace) .vnd-tree .vnd-tree-collapse:hover{background:#244b71;border-color:#244b71;color:#fff;}
html[data-vnd-theme=dark] :is(.vnd-company-shell,.vnd-admin-workspace) .vnd-tree .vnd-tree-collapse{background:#38638c;border-color:#729cc4;color:var(--vnd-text);}
html[data-vnd-theme=dark] :is(.vnd-company-shell,.vnd-admin-workspace) .vnd-tree .vnd-tree-collapse:hover{background:#426f99;border-color:#96bbdf;color:var(--vnd-text);}

/* Animate only user-triggered desktop resizing, never the initial saved state. */
@media(prefers-reduced-motion:no-preference){
 @media(min-width:1025px){
  body.vnd-owned-document .vnd-app.vnd-company-shell.vnd-nav-motion{transition:grid-template-columns .22s cubic-bezier(.2,.7,.2,1);}
  body.vnd-admin-workspace.vnd-nav-motion #wpbody-content{transition:padding-left .22s cubic-bezier(.2,.7,.2,1);}
  body.vnd-admin-workspace.vnd-nav-motion .vnd-admin-navigation.vnd-tree{transition:width .22s cubic-bezier(.2,.7,.2,1);}
  .vnd-nav-motion .vnd-tree>.vnd-tree-level>.vnd-tree-item>.vnd-tree-row .vnd-tree-label,.vnd-nav-motion .vnd-tree>.vnd-tree-level>.vnd-tree-row .vnd-tree-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
 }
}

.vnd-drawer-head{display:none;}
@media(max-width:1024px){
 .vnd-app.vnd-company-shell .vnd-drawer-head{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:start;gap:12px;margin-bottom:20px;}
 .vnd-app.vnd-company-shell .vnd-drawer-head .vnd-drawer-close{margin:0;}
 .vnd-app.vnd-company-shell .vnd-drawer-head .vnd-shell-account{grid-column:2;grid-row:1;width:100%;min-width:0;}
 .vnd-app.vnd-company-shell .vnd-drawer-head .vnd-topbar-account{display:flex;flex-direction:column;align-items:flex-end;gap:12px;width:100%;}
 .vnd-app.vnd-company-shell .vnd-drawer-head .vnd-topbar-meta{flex:none;width:100%;max-width:100%;text-align:right;justify-content:stretch;justify-items:end;}
 .vnd-app.vnd-company-shell .vnd-drawer-head .vnd-topbar-meta span{white-space:normal;overflow-wrap:anywhere;}
 .vnd-app.vnd-company-shell .vnd-drawer-head .vnd-theme-switch{align-self:flex-end;}
}

/* Desktop: move the existing page gap into the opaque header surface. */
@media(min-width:1025px){
 body.vnd-owned-document .vnd-app.vnd-company-shell{row-gap:0;}
 body.vnd-owned-document .vnd-app.vnd-company-shell>.vnd-shell-header{padding-bottom:16px;}
 body.vnd-owned-document .vnd-app.vnd-company-shell>.vnd-shell-footer{margin-top:12px;}
}

/* The header stays visible while page content scrolls underneath. */
body.vnd-owned-document .vnd-app.vnd-company-shell>.vnd-shell-header{position:sticky;top:12px;z-index:100;transform:none;background:var(--vnd-bg,#f8fbff);box-shadow:0 -12px 0 var(--vnd-bg,#f8fbff);}
@media(max-width:1024px){
 body.vnd-owned-document .vnd-app.vnd-company-shell{padding-top:calc(var(--vnd-header-height,60px) + 4px);}
 body.vnd-owned-document .vnd-app.vnd-company-shell>.vnd-shell-header{position:fixed;top:0;left:10px;right:10px;width:auto;padding-top:calc(10px + env(safe-area-inset-top,0px));padding-bottom:10px;box-shadow:none;}
 body.vnd-owned-document .vnd-app.vnd-company-shell>.vnd-shell-header::before{content:"";position:absolute;z-index:-1;top:-100vh;bottom:0;left:-10px;right:-10px;background:var(--vnd-bg,#f8fbff);pointer-events:none;}
 .vnd-app.vnd-company-shell>.vnd-shell-menu{position:fixed;top:calc(8px + env(safe-area-inset-top,0px));right:20px;}
}

@media(min-width:1025px){
 body.vnd-owned-document .vnd-app.vnd-company-shell{grid-template-rows:var(--vnd-header-height,66px) 1fr auto;}
 body.vnd-owned-document .vnd-app.vnd-company-shell>.vnd-shell-menu{top:calc(var(--vnd-header-height,66px) + 12px);}
 body.vnd-owned-document .vnd-app.vnd-company-shell>.vnd-shell-header{grid-row:1/-1;align-self:start;}
}

/* Keep the selected row's border after the common row-shape reset above. */
html:not([data-vnd-theme=dark]) :is(.vnd-app.vnd-company-shell,body.vnd-admin-workspace) .vnd-tree .vnd-tree-row[aria-current=page] {
 border-color:#315f8d;
 background:#315f8d;
 color:#fff;
}

/* WordPress supplies the fixed admin bar above the Vendors header. */
body.vnd-admin-workspace .wrap .vnd-admin-header{position:sticky;top:32px;z-index:100;background:var(--vnd-bg,#f8fbff);}

/* Keep the active destination and its ancestor groups clear in both themes. */
:is(.vnd-app.vnd-company-shell,body.vnd-admin-workspace) .vnd-tree .vnd-tree-row.has-current{color:var(--vnd-primary,#315f8d)}
html[data-vnd-theme=dark] :is(.vnd-app.vnd-company-shell,body.vnd-admin-workspace) .vnd-tree .vnd-tree-row[aria-current=page]{border-color:#729cc4;background:#38638c;color:var(--vnd-text)}
@media(prefers-reduced-motion:no-preference){
 .vnd-tree .vnd-tree-chevron{transition:transform .18s ease}
}

html[data-vnd-theme=dark] :is(.vnd-app.vnd-company-shell,body.vnd-admin-workspace) .vnd-tree :is(.vnd-tree-row,.vnd-tree-row.has-current,.vnd-tree-row[aria-current=page],.vnd-tree-collapse){color:var(--vnd-text)}
html[data-vnd-theme=dark] .vnd-app.vnd-company-shell .vnd-shell-menu[open]>summary{color:var(--vnd-text)}

/* All navigation rows have a visible outline; selected rows use the primary button palette. */
html:not([data-vnd-theme=dark]) :is(.vnd-app.vnd-company-shell,body.vnd-admin-workspace) .vnd-tree .vnd-tree-row:hover{background:#e4eef7;border-color:#8caecc}
html:not([data-vnd-theme=dark]) :is(.vnd-app.vnd-company-shell,body.vnd-admin-workspace) .vnd-tree .vnd-tree-row[aria-current=page]:hover{background:#244b71;border-color:#244b71;color:#fff}
html[data-vnd-theme=dark] :is(.vnd-app.vnd-company-shell,body.vnd-admin-workspace) .vnd-tree .vnd-tree-row:hover{background:#37536f;border-color:#729cc4}
html[data-vnd-theme=dark] :is(.vnd-app.vnd-company-shell,body.vnd-admin-workspace) .vnd-tree .vnd-tree-row[aria-current=page]:hover{background:#426f99;border-color:#96bbdf}

/* Give desktop menu labels a little more room, including nested entries. */
@media(min-width:1025px){
 body.vnd-owned-document .vnd-app.vnd-company-shell:not(.vnd-nav-collapsed){grid-template-columns:272px minmax(0,1fr)}
 body.vnd-admin-workspace:not(.vnd-nav-collapsed) .vnd-admin-navigation.vnd-tree{width:272px}
 body.vnd-admin-workspace:not(.vnd-nav-collapsed) #wpbody-content{padding-left:288px}
}

/* Leave one empty main-menu row between navigation and sign-out. */
:is(.vnd-company-shell,.vnd-admin-workspace) .vnd-menu-logout{display:flex;margin-top:calc(var(--vnd-menu-row-height,34px) + 12px);}
:is(.vnd-app.vnd-company-shell,body.vnd-admin-workspace) .vnd-tree>.vnd-tree-level>:is(.vnd-tree-row,.vnd-tree-item)+.vnd-tree-row.vnd-menu-logout{margin-top:calc(var(--vnd-menu-row-height,34px) + 12px);}

/* Keep drawer controls fixed; only the menu below the dashboard scrolls. */
@media(max-width:1024px){
 .vnd-app.vnd-company-shell>.vnd-shell-menu .vnd-navigation-bar{display:flex;flex-direction:column;overflow:hidden;}
 .vnd-app.vnd-company-shell .vnd-drawer-head{flex:0 0 auto;}
 .vnd-app.vnd-company-shell .vnd-navigation-bar>.vnd-frontend-menu{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;}
 .vnd-app.vnd-company-shell .vnd-navigation-bar>.vnd-tree>.vnd-tree-level{max-height:none;overflow:visible;}
}


/* Match the Account card's 12 px bottom inset when the desktop menu is full. */
@media(min-width:1025px){
 .vnd-app.vnd-company-shell .vnd-shell-menu .vnd-tree>.vnd-tree-level{
  max-height:calc(var(--vnd-menu-available-height,calc(100dvh - 97px)) - 26px);
 }
}


/* Disclosure buttons and destination links share the same navigation-row size. */
html body :is(.vnd-company-shell,.vnd-admin-workspace) .vnd-tree .vnd-tree-row{
 --vnd-menu-row-height:34px;
 box-sizing:border-box;height:var(--vnd-menu-row-height)!important;
 min-height:var(--vnd-menu-row-height)!important;max-height:var(--vnd-menu-row-height)!important;
 padding-top:0!important;padding-bottom:0!important;
 display:flex;align-items:center;line-height:16px;
}
html body :is(.vnd-company-shell,.vnd-admin-workspace) .vnd-tree .vnd-tree-label{min-width:0;line-height:16px}
@media(max-width:1024px),(pointer:coarse){
 html body :is(.vnd-company-shell,.vnd-admin-workspace) .vnd-tree .vnd-tree-row{--vnd-menu-row-height:40px}
}


/* Desktop navigation card uses the same 12 px inset as the Account card. */
@media(min-width:1025px){
 html body :is(.vnd-company-shell,.vnd-admin-workspace) .vnd-tree{padding:12px}
}


/* Narrower mobile drawer; retain space for full, single-line menu labels. */
@media(max-width:1024px){
 html body .vnd-company-shell .vnd-navigation-bar .vnd-tree .vnd-tree-row{gap:8px;padding-left:8px;padding-right:8px}
 html body .vnd-company-shell .vnd-navigation-bar .vnd-tree .vnd-tree-label{white-space:nowrap}
 html body .vnd-company-shell .vnd-navigation-bar .vnd-tree-item>.vnd-tree-level{margin-left:10px;padding-left:8px}
}


/* Mobile drawer: preserve the header arrangement, standardize its spacing. */
@media(max-width:1024px){
 html body .vnd-app.vnd-company-shell>.vnd-shell-menu .vnd-navigation-bar{
  padding:calc(12px + env(safe-area-inset-top,0px)) 12px calc(12px + env(safe-area-inset-bottom,0px));
 }
 html body .vnd-app.vnd-company-shell .vnd-drawer-head{grid-template-columns:40px minmax(0,1fr);gap:12px;margin-bottom:12px}
 html body .vnd-app.vnd-company-shell .vnd-drawer-head .vnd-drawer-close{width:40px;height:40px;margin:0}
 html body .vnd-app.vnd-company-shell .vnd-drawer-head .vnd-topbar-meta{min-height:40px;align-content:center}
 html body .vnd-app.vnd-company-shell .vnd-drawer-head .vnd-topbar-account{gap:12px}
 html body .vnd-app.vnd-company-shell .vnd-drawer-head .vnd-theme-switch{box-sizing:border-box;height:40px;min-height:40px;padding:2px;gap:3px}
 html body .vnd-app.vnd-company-shell .vnd-drawer-head .vnd-theme-switch button{box-sizing:border-box;height:34px!important;min-height:34px!important;max-height:34px!important;width:34px;min-width:34px;padding:0!important}
 html body .vnd-app.vnd-company-shell .vnd-navigation-bar>.vnd-frontend-menu{
  box-sizing:border-box;width:calc(100% + 12px);max-width:none;margin-right:-12px;
  padding-right:max(0px,calc(12px - var(--vnd-menu-scrollbar-width,6px)));
  scrollbar-width:thin;scrollbar-gutter:stable;
 }
 html body .vnd-app.vnd-company-shell .vnd-navigation-bar>.vnd-frontend-menu::-webkit-scrollbar{width:6px}
}

@media(max-width:1024px){
 .vnd-app.vnd-company-shell>.vnd-shell-menu .vnd-menu-shade{pointer-events:none}
}


/* Desktop scrollbar occupies the card's right inset, outside the menu rows. */
@media(min-width:1025px){
 html body :is(.vnd-company-shell,.vnd-admin-workspace) .vnd-tree>.vnd-tree-level{
  box-sizing:border-box;width:calc(100% + 12px);max-width:none;margin-right:-12px;
  padding-right:max(0px,calc(12px - var(--vnd-menu-scrollbar-width,6px)));
  overflow-x:hidden;scrollbar-width:thin;scrollbar-gutter:stable;
 }
 html body :is(.vnd-company-shell,.vnd-admin-workspace) .vnd-tree>.vnd-tree-level::-webkit-scrollbar{width:6px}
}


/* Square collapse control centered 6 px outside the card, halfway across the 12 px gap. */
@media(min-width:1025px){
 html body :is(.vnd-company-shell,.vnd-admin-workspace) .vnd-tree .vnd-tree-collapse{
  width:var(--vnd-control-height,34px)!important;min-width:var(--vnd-control-height,34px)!important;
  height:var(--vnd-control-height,34px)!important;min-height:var(--vnd-control-height,34px)!important;
  flex:0 0 var(--vnd-control-height,34px);padding:0!important;justify-content:center;
 }
}

/* Desktop header: its own insets replace the outer top/side spacing. */
@media(min-width:1025px){
 body.vnd-owned-document .vnd-app.vnd-company-shell{padding-top:0}
 body.vnd-owned-document .vnd-app.vnd-company-shell>.vnd-shell-header{
  width:calc(100% + 24px);max-width:none;margin-left:-12px;margin-right:-12px;
  padding:16px 12px;top:0;box-shadow:none;
 }
 body.vnd-owned-document .vnd-app.vnd-company-shell>.vnd-shell-menu{top:var(--vnd-header-height,72px)}
 html body .vnd-app.vnd-company-shell>.vnd-shell-header .vnd-theme-switch{
  box-sizing:border-box;height:40px;min-height:40px;padding:2px;gap:3px;
 }
 html body .vnd-app.vnd-company-shell>.vnd-shell-header .vnd-theme-switch button{
  width:34px;min-width:34px;height:34px!important;min-height:34px!important;max-height:34px!important;
  padding:0!important;
 }
}

/* Mobile/tablet header: 40 px content centered inside a 60 px bar. */
@media(max-width:1024px){
 body.vnd-owned-document .vnd-app.vnd-company-shell>.vnd-shell-header{
  left:0;right:0;width:100%;max-width:none;margin:0;
  height:calc(60px + env(safe-area-inset-top,0px));min-height:calc(60px + env(safe-area-inset-top,0px));
  box-sizing:border-box;padding:calc(10px + env(safe-area-inset-top,0px)) 10px 10px;
  grid-template-columns:minmax(0,1fr) 40px;gap:10px;align-items:center;
 }
 body.vnd-owned-document .vnd-app.vnd-company-shell>.vnd-shell-header::before{left:0;right:0}
 .vnd-app.vnd-company-shell .vnd-shell-brand{height:40px;min-height:40px}
 .vnd-app.vnd-company-shell>.vnd-shell-menu{
  top:calc(10px + env(safe-area-inset-top,0px));right:10px;
 }
 .vnd-app.vnd-company-shell>.vnd-shell-menu>summary{
  box-sizing:border-box;width:40px;height:40px;min-width:40px;min-height:40px;margin:0;padding:0;
 }
}
