.accounti-managed-nav{color:oklch(var(--foreground-950));min-width:0}.accounti-managed-nav-link{display:block;padding:10px 13px;border-radius:10px;font-size:14px;line-height:1.7;overflow-wrap:anywhere;transition:background .18s,color .18s}.accounti-managed-nav-link:hover,.accounti-managed-nav-link:focus-visible{background:oklch(var(--primary-500)/.12);color:oklch(var(--primary-500))}.accounti-managed-nav .accounti-products-menu-link:hover{color:oklch(var(--accent-500));background:oklch(var(--accent-500)/.12)}.accounti-managed-nav-desktop{display:flex;align-items:center;gap:2px}.accounti-managed-nav-group{position:relative}.accounti-managed-nav-group>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 13px;border-radius:10px;cursor:pointer;font-size:14px;white-space:nowrap}.accounti-managed-nav-group>summary::-webkit-details-marker{display:none}.accounti-managed-nav-group>summary:focus-visible{outline:2px solid oklch(var(--primary-500));outline-offset:3px}.accounti-managed-nav-group[open]>summary{background:oklch(var(--primary-500)/.12)}.accounti-managed-nav-desktop .accounti-managed-nav-panel{position:absolute;top:100%;right:0;z-index:70;min-width:230px;max-width:320px;background:oklch(var(--background-100));border:1px solid oklch(var(--background-300));border-radius:14px;padding:8px;box-shadow:0 18px 45px #0005}.accounti-managed-nav-mobile{display:grid;gap:7px}.accounti-managed-nav-mobile .accounti-managed-nav-panel{padding:4px 14px;border-right:2px solid oklch(var(--primary-500)/.35);margin:6px 10px}.accounti-managed-nav-footer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.accounti-managed-nav-footer h3{font-size:14px;font-weight:600;margin-bottom:12px}.accounti-managed-nav-footer ul{list-style:none;margin:0;padding:0}.accounti-managed-nav-footer .accounti-managed-nav-link{font-size:13px;padding:6px 0}@media(max-width:767px){.accounti-managed-nav-footer{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.accounti-managed-nav-link{transition:none}}

/* Managed labels must never collapse to one character per line in the fixed header. */
header>div>nav:has(>.accounti-managed-nav-desktop){flex:1;min-width:0}header>div:has(>nav>.accounti-managed-nav-desktop)>a,header>div:has(>nav>.accounti-managed-nav-desktop)>div{flex-shrink:0}.accounti-managed-nav-desktop{flex-wrap:wrap;justify-content:center;width:100%}.accounti-managed-nav-desktop>*{flex-shrink:0;max-width:100%}.accounti-managed-nav-desktop>.accounti-managed-nav-link{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.accounti-managed-navigation-overlay{position:fixed;inset:0;z-index:200}

/* Reference drawers share the same layer contract as dynamic account drawers. */
div:has(>aside[data-managed-navigation-dialog]){z-index:200!important}

/* Reference drawer brand needs its own containing block for the animated SVGs. */
aside[data-managed-navigation-dialog]>header>a[aria-label="اکانتی - صفحه نخست"]{--accounti-logo-width:140px;--accounti-logo-height:38px;position:relative;display:block;flex-shrink:0;width:var(--accounti-logo-width);height:var(--accounti-logo-height)}

/* Fixed header controls must remain inside the viewport before menus are configured too. */
@media(min-width:1367px){
 .accounti-has-recent-header header.fixed>div:first-child>nav{flex:1;min-width:0;flex-wrap:wrap;justify-content:center}
 .accounti-has-recent-header header.fixed>div:first-child>nav>*{flex-shrink:0}
 .accounti-has-recent-header header.fixed>div:first-child>a,.accounti-has-recent-header header.fixed>div:first-child>div{flex-shrink:0}
}
