/* The standard VAA top bar (owner 2026-11-07: Peeloff looks like the other apps). Same skeleton as the shared shell
   (vaa-platform packages/shell): the VAA apps grid, "VAA / Peeloff", Peeloff's own Make tomorrow / Run today switch,
   and the account button with your initials. vendor/vaa-nav.js opens the apps sheet and, in the iPhone Home Screen
   app, adds Back before the grid. Loaded last on every page with this bar, so it wins over older top bar rules.
   On phones the bar is one slim row that scrolls away; the switch stays in More there (Make tomorrow, Run today). */
/* :not(#_) outranks the page rules that hid this header on phones (Run today, Make tomorrow). */
html body>header.workspace-header:not(#_){display:flex;flex-wrap:nowrap;align-items:center;gap:10px;min-height:0;height:auto;padding:calc(env(safe-area-inset-top,0px) + 10px) clamp(14px,4vw,56px) 10px;background:#fff;color:#173f37;backdrop-filter:none;-webkit-backdrop-filter:none;font-family:Archivo,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html body>header.workspace-header .vaa-grid{flex:0 0 auto;width:38px;height:38px;display:grid;place-items:center;padding:0;border:1px solid #dce5dc;border-radius:11px;background:#fff;color:#587060;text-decoration:none}
html body>header.workspace-header .vaa-grid svg{width:16px;height:16px}
html body>header.workspace-header .vaa-back svg{width:18px;height:18px}
html body>header.workspace-header .vaa-grid:hover{color:#214d3c;border-color:#214d3c}
html body>header.workspace-header .vaa-grid:focus-visible,html body>header.workspace-header .vaa-me:focus-visible{outline:2px solid #214d3c;outline-offset:2px}
html body>header.workspace-header .brand{flex:0 1 auto;min-width:0;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;width:auto;height:auto;margin-right:clamp(4px,1.6vw,22px);color:#214d3c;text-decoration:none;line-height:1.05;letter-spacing:0;font-size:inherit}
html body>header.workspace-header .brand small{font:600 10px/1.2 ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.12em;color:#587060}
html body>header.workspace-header .brand>span{display:block;font:800 19px/1.1 ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.5px;color:#214d3c;opacity:1}
html body>header.workspace-header:not(#_) .workspace-tools{position:static;inset:auto;margin-left:auto}
html body>header.workspace-header .workspace-tools:empty{display:none}
html body>header.workspace-header .workspace-tools:empty+.vaa-me-slot{margin-left:auto}
/* The text account slot lives on only inside the phone menus it moves into. */
html body>header.workspace-header>.vaa-account{display:none!important}
.vaa-me-slot{position:relative;flex:0 0 auto;display:inline-flex;align-items:center}
.vaa-me-slot[hidden]{display:none}
.vaa-me{width:40px;height:40px;padding:0;border:0;border-radius:50%;display:grid;place-items:center;background:#edf3e6;color:#174a43;font:700 13px/1 ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.vaa-me[aria-expanded="true"]{background:#214d3c;color:#fff}
.vaa-me-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:1001;min-width:232px;max-width:calc(100vw - 24px);display:grid;padding:6px;background:#fff;border:1px solid #dce5dc;border-radius:14px;box-shadow:0 18px 40px -18px #173f3740}
.vaa-me-menu[hidden]{display:none}
.vaa-me-name{margin:0 0 4px;padding:10px 12px 8px;border-bottom:1px solid #eef0ea;font-weight:750;font-size:15px;color:#173f37;overflow-wrap:anywhere}
.vaa-me-menu a{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:9px;color:#214d3c;font-weight:650;font-size:14px;text-decoration:none}
.vaa-me-menu a:hover,.vaa-me-menu a:focus-visible{background:#edf3e6}
.vaa-me-slot .workspace-link{display:inline-flex;align-items:center;min-height:36px;padding:6px 12px;border:1px solid #d5ded5;border-radius:9px;background:#fff;color:#214d3c;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
@media(max-width:760px){
 html body>header.workspace-header:not(#_){gap:8px;padding:calc(env(safe-area-inset-top,0px) + 8px) 12px 8px}
 html body>header.workspace-header .brand>span{font-size:17px}
 html body>header.workspace-header .workspace-switch{display:none}
 html body>header.workspace-header .workspace-tools>.workspace-link:not(.vaa-shared-sign-out){display:none}
 .vaa-me{width:38px;height:38px}
}
/* The narrowest phones: Back, the grid, More, a shared-computer Sign out and your initials still fit on one row. */
@media(max-width:380px){
 html body>header.workspace-header:not(#_){gap:6px;padding-inline:10px}
 html body>header.workspace-header .vaa-grid{width:36px;height:36px}
 html body>header.workspace-header .brand small{display:none}
 html body>header.workspace-header .workspace-tools{gap:6px}
 .vaa-me{width:36px;height:36px}
 /* Back and a shared-computer Sign out together leave no room for the name: the grid and the page say where you are. */
 html.vaa-shared-device body>header.workspace-header:has(.vaa-back) .brand{display:none}
}
