/* Preserve the complete brand; use the compact menu when the actual row cannot fit. */
body .public-shell.topbar>.container.nav{grid-template-columns:max-content minmax(0,1fr) max-content}
body .public-shell .brand{max-width:none;min-width:max-content!important}
body .public-shell .brand-copy{flex:none;white-space:nowrap}
body .public-shell .brand-copy strong,body .public-shell .brand-copy small{white-space:nowrap}
body .public-shell.header-compact>.container.nav{display:flex!important;flex-wrap:wrap!important;grid-template-columns:max-content auto;position:relative;justify-content:space-between}
body .public-shell .public-account-tools{justify-self:end;flex:none;margin-left:auto}
body .public-shell .navlinks>.compact-call-link{display:none!important}
body .public-shell.header-compact .navlinks.open>.compact-call-link{display:flex!important}
body .public-shell.header-compact .public-account-tools>.service-call-cta{display:none!important}
body .public-shell.header-compact .navlinks:not([data-header-fit-probe]):after{content:none}
body .public-shell.header-compact .menu-toggle{display:inline-flex!important;justify-self:end;align-items:center;justify-content:center;min-height:44px;min-width:44px;margin-left:auto}
body .public-shell.header-compact .navlinks:not([data-header-fit-probe]){display:none!important;position:absolute;top:100%;left:16px;right:16px;width:auto!important;max-width:none!important;max-height:calc(100dvh - var(--header-fit-height,100px) - 12px);overflow:auto;overscroll-behavior:contain;padding:16px!important;background:#fff;border:1px solid #e1d6e7;border-radius:14px;box-shadow:0 15px 35px #43273f18;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:6px}
body .public-shell.header-compact .navlinks.open:not([data-header-fit-probe]){display:flex!important}
body .public-shell.header-compact .navlinks:not([data-header-fit-probe])>.nav-group>button,body .public-shell.header-compact .navlinks:not([data-header-fit-probe])>a{width:100%;padding:12px!important;text-align:left;justify-content:space-between;min-height:44px}
body .public-shell.header-compact .navlinks:not([data-header-fit-probe])>.site-search-trigger{align-self:stretch;text-align:left}
body .public-shell.header-compact .navlinks:not([data-header-fit-probe]) .dropdown{position:static;min-width:0;width:auto;max-height:none;box-shadow:none;border:0;border-left:2px solid #e1d6e7;border-radius:0;margin:5px 0 8px 8px}
body .public-shell.header-compact .navlinks:not([data-header-fit-probe]) .workspace-public-controls{flex-wrap:wrap;padding-top:12px;border-top:1px solid #eee7f1;justify-content:flex-start}
body .public-shell.header-compact .navlinks:not([data-header-fit-probe]) .public-account-menu .workspace-profile-dropdown{position:static;max-width:100%;width:auto}
body .public-shell.header-compact .navlinks:not([data-header-fit-probe]) .header-user{min-width:0;width:100%;flex-wrap:wrap}
body .public-shell.header-compact .navlinks:not([data-header-fit-probe]) .header-cta{display:inline-flex!important}
.header-fit-measure{position:fixed!important;inset:0 auto auto 0!important;width:max-content!important;max-width:none!important;visibility:hidden!important;pointer-events:none!important;contain:layout style;z-index:-1!important}
.header-fit-measure>.container.nav{display:flex!important;width:max-content!important;max-width:none!important;padding:0!important;margin:0!important}
.header-fit-measure .navlinks{display:flex!important;position:static!important;flex-direction:row!important;flex-wrap:nowrap!important;width:max-content!important;max-width:none!important;max-height:none!important;padding:0!important;border:0!important;overflow:visible!important}
.header-fit-measure .navlinks>*{flex:0 0 auto!important}
.header-fit-measure .menu-toggle,.header-fit-measure .brand,.header-fit-measure .dropdown,.header-fit-measure .workspace-profile-dropdown{display:none!important}
@media(max-width:1500px){body .public-shell.topbar>.container.nav{grid-template-columns:max-content auto}}
@media(max-width:560px){body .public-shell.header-compact>.container.nav{gap:8px;padding-inline:12px}body .public-shell.header-compact .navlinks:not([data-header-fit-probe]){left:8px;right:8px}}
html:has(body .public-shell){min-height:100%}body:has(.public-shell){min-height:100dvh;box-sizing:border-box}
