/* Shared header geometry for the public site and account screens. */
html {scrollbar-gutter:stable}
:root {--ao-logo-width:145px;--ao-header-height:76px;--ao-header-inset:max(32px,calc((100% - 1180px)/2))}
@media(max-width:650px){:root{--ao-logo-width:130px;--ao-header-height:64px;--ao-header-inset:18px}}
[data-testid="brand-header"], body header:has(>a img[src*="wordmark"]) {
  box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0!important;
  height:var(--ao-header-height)!important;min-height:var(--ao-header-height)!important;
  padding:0 var(--ao-header-inset)!important;display:flex!important;flex-direction:row!important;
  align-items:center!important;justify-content:space-between!important;border-block:0!important;
}
html:has(ao-site-footer[workshop]) [data-testid="brand-header"] {padding-inline:var(--ao-header-inset)!important}
[data-testid="brand-header"] > [role="link"],body header:has(>a img[src*="wordmark"]) > a:first-child {
  flex:none;display:block;width:var(--ao-logo-width)!important;height:auto!important;aspect-ratio:1200/359;
  background:url('/assets/home-20261105/logo.webp') center/contain no-repeat;
}
[data-testid="brand-header"] > [role="link"] > *,body header > a:first-child img[src*="wordmark"] {visibility:hidden}
body header:has(>a img[src*="wordmark"]) {background:#292c30!important}
body header:has(nav.shell) > nav.shell {box-sizing:border-box!important;width:calc(100% - 2 * var(--ao-header-inset))!important;max-width:1180px;height:var(--ao-header-height)!important;margin-inline:auto!important}
body header nav.shell img.logo {width:var(--ao-logo-width)!important;height:auto!important;display:block}
body header > a:first-child img[src*="wordmark"] {display:none!important}
