/* Compact fixed header and one borderless modal surface. */
body>.header,body>.header.scrolled,#menu.seamless-overlay>.header{display:flex!important;position:fixed!important;inset:0 0 auto!important;gap:24px!important;padding:calc(10px + env(safe-area-inset-top,0px)) 5% 10px!important;min-height:92px!important;width:100%!important;transform:none!important;filter:none!important;border:0!important;box-shadow:none!important;background:rgb(var(--nav-bg) / .9)!important;z-index:3}
.header .header-right{display:flex!important;margin-left:auto}.header .page-toolbar{display:none!important}
.header .menu-button,.header .menu-button:is(:hover,:focus-visible,[aria-expanded=true]){display:block!important;width:52px;height:52px;min-width:52px;background:transparent!important;border:0!important;box-shadow:none!important;color:rgb(var(--nav-text))!important;border-radius:50%;transition:color .4s ease!important}
.header .menu-button:focus-visible{outline:2px solid rgb(var(--nav-accent))!important;outline-offset:3px}
.header .menu-button i{transition:transform .4s cubic-bezier(.4,0,.2,1)!important;background:currentColor!important}
body:has(#menu[open])>main,body:has(#menu[open])>footer{filter:none!important}
#menu.seamless-overlay{position:fixed;inset:0!important;width:100%!important;height:100dvh!important;max-height:none!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:hidden!important;box-shadow:none!important}
#menu.seamless-overlay::backdrop{background:transparent!important;backdrop-filter:none!important}
#menu.seamless-overlay::before{content:"";position:absolute;inset:0!important;background:rgb(var(--nav-bg) / .78)!important;backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0);opacity:0;transition:opacity .4s cubic-bezier(.4,0,.2,1),backdrop-filter .4s cubic-bezier(.4,0,.2,1);pointer-events:none}
#menu.seamless-overlay[data-menu-state=open]::before{opacity:1;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
#menu.seamless-overlay>.header{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#menu.seamless-overlay .menu-panel{position:absolute;top:calc(var(--toolbar-height,100px) + 16px)!important;bottom:0;right:5%!important;width:min(620px,50vw)!important;max-height:none!important;padding:24px 16px 40px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow-y:auto!important;overscroll-behavior:contain;opacity:0;transform:translateX(28px);transition:opacity .4s cubic-bezier(.4,0,.2,1),transform .4s cubic-bezier(.4,0,.2,1);scrollbar-width:thin;scrollbar-color:rgb(var(--nav-accent) / .4) transparent}
#menu.seamless-overlay[data-menu-state=open] .menu-panel{opacity:1;transform:translateX(0)}
#menu.seamless-overlay .menu-panel nav{display:flex!important;flex-direction:column;align-items:flex-start;gap:12px!important;margin:0!important}
#menu.seamless-overlay .menu-panel nav a,#menu.seamless-overlay .menu-panel nav a:is(:hover,:focus-visible,:active,[aria-current=page]){display:block;width:auto;min-height:48px;padding:8px 0!important;margin:0;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;font:700 clamp(27px,3vw,44px)/1.15 Arimo,Arial,sans-serif!important;text-transform:uppercase;letter-spacing:-.025em;color:rgb(var(--nav-text))!important;transform:none!important;opacity:1!important;transition:color .2s,text-shadow .2s!important}
#menu.seamless-overlay .menu-panel nav a:is(:hover,:focus-visible,[aria-current=page]){color:rgb(var(--nav-accent))!important;text-shadow:0 0 14px rgb(var(--nav-accent) / .25)}
#menu.seamless-overlay .menu-panel nav a:focus-visible{outline:none!important;text-decoration:underline;text-underline-offset:8px}
#menu.seamless-overlay .menu-panel nav a[aria-current=page]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:8px}
#menu .menu-themes{justify-content:flex-start;align-items:center;border:0!important;padding:0!important;margin:32px 0 0!important;gap:14px;flex-direction:row}.menu-themes .theme-picker-label{font-size:11px}.menu-themes .theme-swatch{width:44px;height:44px;min-width:44px}.menu-themes .theme-swatch>span{width:28px;height:28px}
@media(max-width:800px){body>.header,body>.header.scrolled,#menu.seamless-overlay>.header{min-height:83px!important;padding-inline:5%!important}.header .brand{width:120px!important;height:63px!important}#menu.seamless-overlay .menu-panel{left:5%!important;right:5%!important;width:90%!important;padding:16px 8px 32px!important}#menu.seamless-overlay .menu-panel nav{gap:12px!important}#menu.seamless-overlay .menu-panel nav a{font-size:clamp(26px,6.5vw,38px)!important}}
@media(prefers-reduced-motion:reduce){#menu.seamless-overlay::before,#menu.seamless-overlay .menu-panel,.header .menu-button i{transition-duration:.1s!important}#menu.seamless-overlay .menu-panel{transform:none!important}}
