.z-shell-menu{display:flex;align-items:center;gap:var(--z-header-menu-gap,18px);min-width:0}.z-shell-menu a,.z-shell-menu summary{color:inherit;text-decoration:none;font:inherit;cursor:pointer;padding:10px 8px;display:flex;align-items:center;justify-content:space-between;gap:12px}.z-shell-menu summary{list-style:none}.z-shell-menu summary::-webkit-details-marker{display:none}.z-shell-menu :is(a,summary):focus-visible{outline:2px solid currentColor;outline-offset:2px}.z-shell-menu a[aria-current=page]{text-decoration:underline;text-underline-offset:5px}.z-shell-menu-branch{position:relative}.z-shell-submenu{position:absolute;z-index:60;top:100%;left:0;min-width:220px;max-width:min(90vw,800px);max-height:70dvh;overflow:auto;background:var(--z-shell-menu-bg,Canvas);color:var(--z-shell-menu-text,CanvasText);border:1px solid color-mix(in srgb,currentColor 20%,transparent);border-radius:10px;padding:10px;box-shadow:0 12px 32px #0002}.z-shell-submenu .z-shell-submenu{position:static;margin-left:12px;box-shadow:none;min-width:0;max-height:none}.z-shell-menu-branch.is-mega>.z-shell-submenu{width:560px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.z-shell-menu-overview{grid-column:1/-1;border-bottom:1px solid color-mix(in srgb,currentColor 15%,transparent)}.z-shell-menu--website-sidebar{display:block;width:100%}.z-shell-menu--website-sidebar .z-shell-submenu{position:static;box-shadow:none;max-width:100%;width:auto;margin:0 8px 8px}.z-shell-menu--website-sidebar .z-shell-menu-branch.is-mega>.z-shell-submenu{display:block;width:auto}.z-shell-menu--website-sidebar :is(a,summary){width:100%;min-height:44px}.z-shell-menu--website-sidebar .z-shell-menu-leaf a{justify-content:flex-start}@media(hover:hover){.z-shell-menu :is(a,summary):hover{background:color-mix(in srgb,currentColor 8%,transparent);border-radius:6px}}

/* Website drawer mobile-only ownership. Existing settings CSS variables remain authoritative. */
@media (max-width:700px) {
 .mobile-drawer.premium-mobile-drawer { box-sizing:border-box; max-height:100dvh; padding-bottom:max(12px,env(safe-area-inset-bottom)); overscroll-behavior:contain; }
 .mobile-drawer.premium-mobile-drawer .mobile-drawer-links { min-height:0; overflow-y:auto; scrollbar-width:thin; }
}

/* Desktop drawer overrides are scoped to the existing desktop-enabled flag. */
@media (min-width:701px) {
 body.z-desktop-drawer-enabled .mobile-drawer.premium-mobile-drawer {max-height:100dvh;overscroll-behavior:contain;}
}

