/* Shared shell and navigation; selectors deliberately outrank the retained theme. */
.site-header:is(.sto-shared-header,.site-header:has([data-shared-navigation])){position:fixed;top:calc(20px + var(--sto-admin-offset,0px));left:0;right:0;z-index:90;padding:0 20px;background:transparent;transition:transform .2s ease;font-family:Inter,system-ui,sans-serif;color:#17263c;box-sizing:border-box}
:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .header-pill{display:flex;align-items:center;gap:18px;background:rgba(255,255,255,.56);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid #ffffff30;border-radius:999px;padding:10px 18px;min-height:72px;max-width:1440px;margin:auto;box-sizing:border-box;box-shadow:0 3px 18px #00000008}
:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit;flex-shrink:0}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .brand .logo{width:130px;height:auto;max-height:30px;object-fit:contain}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .brand-sub{font-size:14px;max-width:90px;line-height:1.25}
:is(.sto-shared-header,.site-header:has([data-shared-navigation])) #primary-nav{display:block;position:static;flex:1;min-width:0;background:transparent;padding:0;box-shadow:none;backdrop-filter:none;overflow:visible}
:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .nav-toggle{display:none}
:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-menu{display:flex;align-items:center;justify-content:flex-end;gap:2px;list-style:none;padding:0;margin:0;flex-wrap:wrap}
.sto-shared-menu>.sto-shared-item{position:relative;list-style:none;margin:0;padding:0;border:0;background:none;flex:none}
.sto-shared-menu>.sto-shared-right{margin-left:12px}
:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-menu a,:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-trigger{display:flex;align-items:center;gap:5px;min-height:40px;box-sizing:border-box;padding:8px 9px;border:0;border-radius:9px;background:transparent;text-decoration:none;font-family:inherit;font-size:16px;font-weight:500;line-height:1.3;color:#17263c;white-space:nowrap;cursor:pointer}
:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-menu a:hover,:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-trigger:hover{background:#f2f2f5;color:#066a75}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-menu .is-current>.sto-shared-trigger,:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-menu a[aria-current=page]{color:#066a75}
.sto-shared-menu :is(a,button):focus-visible{outline:2px solid #066a75;outline-offset:2px}
:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-dropdown{position:absolute;top:100%;left:0;z-index:110;min-width:190px;max-width:min(320px,calc(100vw - 48px));padding:8px;border:1px solid #eee;border-radius:14px;background:#fff;box-shadow:0 12px 35px #15102325;color:#17263c}
:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-dropdown[hidden]{display:none!important}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-personal .sto-shared-dropdown{left:auto;right:0}.sto-shared-dropdown a{width:100%}.sto-shared-dropdown hr{border:0;border-top:1px solid #eee;margin:6px 0}.sto-shared-identity{padding:10px;overflow-wrap:anywhere;white-space:normal}.sto-shared-identity strong,.sto-shared-identity small{display:block}.sto-shared-identity small{margin-top:5px;color:#666;font-size:12px}.sto-shared-badge{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#d9f1ef;color:#066a75;font-weight:700}.sto-shared-menu [data-nav-group=signin] a{border:1px solid #333;border-radius:999px}
@media(min-width:900px) and (max-width:1200px){:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .header-pill{gap:6px;padding:8px 10px}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .brand .logo{width:100px}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .brand-sub{max-width:80px;font-size:14px}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-menu a,:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-trigger{font-size:16px;padding:8px 6px}}
@media(max-width:899px), (max-width:1100px) and (orientation:portrait){
 .site-header:is(.sto-shared-header,.site-header:has([data-shared-navigation])){top:calc(10px + var(--sto-admin-offset,0px));padding:0 12px}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .header-pill{border-radius:24px;flex-wrap:wrap;gap:0;padding:8px 12px;min-height:62px}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .brand{max-width:calc(100% - 78px)}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .brand .logo{width:110px}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .brand-sub{max-width:90px;white-space:normal}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .nav-toggle{display:flex;align-items:center;justify-content:center;gap:6px;min-width:64px;min-height:44px;margin-left:auto;border:0;background:none;color:#17263c;font:inherit;font-size:16px;cursor:pointer}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .nav-toggle-bar{display:none}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) #primary-nav{display:none!important;flex-basis:100%;width:100%;margin-top:8px;padding:8px;box-sizing:border-box;border-radius:16px;background:rgba(30,30,36,.5);backdrop-filter:blur(12px);max-height:min(75vh,calc(100dvh - var(--sto-admin-offset,0px) - 94px));overflow:auto}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) #primary-nav.sto-shared-mobile-open{display:block!important}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-menu{display:flex;flex-direction:column;align-items:stretch;gap:0}.sto-shared-menu>.sto-shared-right{margin:8px 0 0;border-top:1px solid #ffffff50;padding-top:8px}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-menu a,:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-trigger{min-height:44px;width:100%;padding:10px 12px;color:#fff;white-space:normal;font-size:18px;text-align:right;justify-content:flex-end}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-menu a[aria-current=page],:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-menu .is-current>.sto-shared-trigger{color:#fff;background:#066a75}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-dropdown{position:static;min-width:0;max-width:100%;width:auto;box-shadow:none;border:0;background:#ffffffed;margin:0 0 8px;padding:6px}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-dropdown a{color:#17263c}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-dropdown a[aria-current=page]{color:#066a75;background:#f3e8f3}.sto-shared-menu [data-nav-group=signin] a{border-color:#fff}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-badge:after{content:'Account';position:absolute;right:52px;color:#fff}:is(.sto-shared-header,.site-header:has([data-shared-navigation])) [data-nav-group=setup]>.sto-shared-trigger:after{content:'Setup';margin-left:8px}
}

.sto-shared-menu [data-nav-group=setup]>.sto-shared-trigger>span{font-size:20px;line-height:1}

/* Keep menu interactions immediate even when the host theme animates buttons. */
.sto-shared-menu :is(a,button){transition:none;animation:none}

/* Page navigation should not wait for the optional appearance add-on crossfade. */
@view-transition{navigation:none}
::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation-duration:0s!important}

/* Fixed overlay: the hero starts at the page top; app views retain their own clearance. */
body.admin-bar{--sto-admin-offset:32px}
@media(max-width:782px){body.admin-bar{--sto-admin-offset:46px}}
.site-header.sto-shared-header.sto-header-away{transform:translateY(calc(-100% - 24px - var(--sto-admin-offset,0px)))}
.site-header.sto-shared-header:focus-within{transform:none}
:is(#svio,#tio):has(>.sto-shared-header){padding-top:max(120px,calc(var(--sto-header-height,72px) + 44px))}
@media(prefers-reduced-motion:reduce){.site-header.sto-shared-header{transition:none}}

/* Mobile glass drawer follows the supplied recording; desktop rules remain independent. */
@media(max-width:899px), (max-width:1100px) and (orientation:portrait){
 .site-header:is(.sto-shared-header,.site-header:has([data-shared-navigation])){position:fixed;top:calc(10px + var(--sto-admin-offset,0px));left:0;right:0;padding:0 10px}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .header-pill{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:0;padding:6px 8px;min-height:56px;border-radius:999px;background:rgba(255,255,255,.56);border:0}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .brand{grid-column:2;grid-row:1;justify-self:center;justify-content:center;max-width:100%;min-width:0}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .brand .logo{width:140px;max-height:28px}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .brand:has(img) .brand-sub{display:none}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .brand-sub{font-size:16px;max-width:100%;text-align:center}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .nav-toggle{grid-column:1;grid-row:1;width:44px;min-width:44px;height:44px;margin:0;padding:0;border-radius:50%;position:relative;color:#202024}
 .sto-nav-icon,.sto-nav-icon:before,.sto-nav-icon:after{display:block;position:absolute;width:20px;height:1.5px;background:currentColor;content:'';transition:transform .16s ease}
 .sto-nav-icon:before{transform:translateY(-5px)}.sto-nav-icon:after{transform:translateY(5px)}
 .nav-toggle[aria-expanded=true]{background:#ffffffbd!important;color:#066a75!important}
 .nav-toggle[aria-expanded=true] .sto-nav-icon{background:transparent}
 .nav-toggle[aria-expanded=true] .sto-nav-icon:before{transform:rotate(45deg)}.nav-toggle[aria-expanded=true] .sto-nav-icon:after{transform:rotate(-45deg)}
 .site-header.sto-shared-header.sto-drawer-open{top:var(--sto-admin-offset,0px);padding:0;transform:none!important;background:rgba(255,255,255,.56);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}
 .site-header.sto-shared-header.sto-drawer-open .header-pill{height:calc(100dvh - var(--sto-admin-offset,0px));min-height:0;border-radius:0;padding:10px;grid-template-rows:44px minmax(0,1fr);align-content:start;box-shadow:none;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) #primary-nav{grid-column:1/-1;grid-row:2;width:100%;margin:10px 0 0;padding:0 4px 24px;max-height:none;min-height:0;align-self:stretch;overflow-y:auto;overscroll-behavior:contain;border:0;border-radius:0;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) #primary-nav.sto-shared-mobile-open{animation:sto-drawer-in .16s ease-out}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-menu{border-bottom:1px solid #3338;padding-bottom:14px}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-menu a,:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-trigger{font-size:18px;min-height:44px;text-align:left;justify-content:flex-start;color:#202024;border-radius:24px;padding:9px 14px}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-trigger>span{display:none}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-trigger:after{content:'+';font-size:26px;font-weight:300;margin-left:auto;line-height:1}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) [data-nav-group=setup]>.sto-shared-trigger:before{content:'Setup'}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) [data-nav-group=account]>.sto-shared-trigger:before{content:'Account'}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) [data-nav-group=setup]>.sto-shared-trigger:after{content:'+';margin-left:auto}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-trigger[aria-expanded=true]:after{content:'−'}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-menu .is-current>.sto-shared-trigger,:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-menu a[aria-current=page]{color:#066a75;background:#ffffff50}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-trigger[aria-expanded=true]{color:#066a75;background:#fff}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-dropdown{background:rgba(30,30,36,.65);border-radius:24px;padding:12px;margin:4px 0 8px;animation:sto-drawer-in .16s ease-out}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-dropdown a{color:#fff}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-dropdown a[aria-current=page]{color:#fff;background:#066a75}
 .sto-shared-header .sto-shared-identity,.sto-shared-header .sto-shared-identity small{color:#fff}
 .sto-shared-menu>.sto-shared-right{border-color:#3336}
 :is(#svio,#tio):has(>.sto-shared-header){padding-top:100px}
}
html.sto-mobile-menu-open{overflow:hidden}
@keyframes sto-drawer-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.sto-nav-icon,.sto-nav-icon:before,.sto-nav-icon:after{transition:none}.sto-shared-header #primary-nav.sto-shared-mobile-open,.sto-shared-header .sto-shared-dropdown{animation:none!important}}

.sto-brand-stack{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.sto-brand-tagline{font-size:11px;line-height:1.2;font-weight:400;letter-spacing:.02em}.sto-brand-stack .brand-sub{margin:0}

/* 0.12.215 menu groups, Setup label, current marker (Impeccable critique) */
.sto-shared-dropdown .sto-shared-group{display:block}
.sto-shared-dropdown .sto-shared-group-label{display:block;padding:12px 10px 4px;font-size:12px;line-height:1.3;font-weight:600;letter-spacing:.01em;color:#5b6472;cursor:default;user-select:none}
.sto-shared-dropdown>.sto-shared-group:first-child>.sto-shared-group-label,.sto-shared-dropdown>.sto-shared-identity+.sto-shared-group>.sto-shared-group-label{padding-top:4px}
.sto-shared-dropdown .sto-shared-group+.sto-shared-group,.sto-shared-dropdown a+.sto-shared-group{margin-top:2px;border-top:1px solid #eee}
.sto-shared-menu [data-nav-group=setup]>.sto-shared-trigger>span.sto-shared-gear-text{display:none}
@media(min-width:1200px){.sto-shared-menu [data-nav-group=setup]>.sto-shared-trigger{gap:6px;min-width:44px}.sto-shared-menu [data-nav-group=setup]>.sto-shared-trigger>span.sto-shared-gear-text{display:inline;font-size:16px;line-height:1.2}}
@media(min-width:1101px),(min-width:900px) and (orientation:landscape){
 .sto-shared-menu>li.is-current>a,.sto-shared-menu>li.is-current>.sto-shared-trigger{box-shadow:inset 0 -2px 0 #066a75}
 .sto-shared-dropdown a[aria-current=page]{font-weight:600}
}
@media(max-width:899px), (max-width:1100px) and (orientation:portrait){
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-dropdown .sto-shared-group-label{color:#fff;font-weight:700;font-size:13px;padding:12px 12px 4px}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-dropdown :is(.sto-shared-group,a)+.sto-shared-group{border-top-color:#ffffff40}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-dropdown hr{border-top-color:#ffffff40}
}

/* 0.12.293: menu items a company's plan doesn't include (or that aren't open yet): visible, dimmed, not a link */
.sto-shared-disabled{display:flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;color:#8a969d;cursor:not-allowed}
.sto-shared-disabled small{font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;background:#eef1f3;color:#5b6870;border-radius:999px;padding:2px 8px}
@media(max-width:899px){.sto-shared-disabled{justify-content:space-between;color:#7a868d;padding:10px 12px;font-size:18px}.sto-shared-dropdown .sto-shared-disabled{font-size:16px;color:#c9d1d6}}

/* 0.12.308 (Hector, Nov 26 2026): "you're putting a major heading very, very tiny. That should be a bigger font, bold,
   and then the options below it" and "the setup menu right now is bloated".
   - Group headings are larger, bold and in the body colour; the options under a heading are indented beneath it.
   - A menu with three or more groups (Setup) shows them in two columns on a wide screen, so it is half as tall. */
.sto-shared-dropdown .sto-shared-group-label{font-size:17px;font-weight:700;line-height:1.3;letter-spacing:0;color:#17263c;padding:16px 12px 6px}
.sto-shared-dropdown>.sto-shared-group:first-child>.sto-shared-group-label,.sto-shared-dropdown>.sto-shared-identity+.sto-shared-group>.sto-shared-group-label,.sto-shared-groups>.sto-shared-group:first-child>.sto-shared-group-label{padding-top:6px}
.sto-shared-dropdown .sto-shared-group+.sto-shared-group,.sto-shared-dropdown a+.sto-shared-group{margin-top:6px;padding-top:2px;border-top-color:#e3e6ea}
:is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-dropdown .sto-shared-group>:is(a,.sto-shared-disabled){padding-left:26px}
.sto-shared-groups{display:block}
@media(min-width:1101px),(min-width:900px) and (orientation:landscape){
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-dropdown:has(>.sto-shared-groups){width:max-content;max-width:min(580px,calc(100vw - 48px));padding:10px 10px 8px}
 .sto-shared-groups{columns:2 248px;column-gap:10px;column-rule:1px solid #e3e6ea}
 .sto-shared-dropdown .sto-shared-groups>.sto-shared-group{break-inside:avoid;margin:0 0 14px;padding:0;border-top:0}
 .sto-shared-dropdown .sto-shared-groups>.sto-shared-group>.sto-shared-group-label{padding-top:6px}
 .sto-shared-groups+hr{margin-top:2px}
}
@media(max-width:899px), (max-width:1100px) and (orientation:portrait){
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-dropdown .sto-shared-group-label{font-size:18px;font-weight:700;padding:16px 14px 6px}
 :is(.sto-shared-header,.site-header:has([data-shared-navigation])) .sto-shared-dropdown .sto-shared-group>:is(a,.sto-shared-disabled){padding-left:30px}
}
