.header .account-wrap{position:relative;flex:none}
.account-trigger{display:flex;align-items:center;gap:9px;min-height:42px;padding:4px 7px;border:1px solid transparent;border-radius:10px;text-align:left;cursor:pointer}
.account-trigger:hover,.account-trigger:focus-visible,.account-trigger[aria-expanded="true"]{border-color:var(--line);background:var(--surface-soft)}
.account-trigger>.icon{width:14px;height:14px;color:var(--muted)}
.account-menu{position:absolute;right:0;top:calc(100% + 9px);z-index:90;width:232px;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:0 16px 35px #17274624}
.account-menu[hidden]{display:none}
.account-menu-heading{padding:9px 10px 11px;border-bottom:1px solid var(--line);margin-bottom:4px}
.account-menu-heading strong,.account-menu-heading small{display:block}.account-menu-heading strong{font-size:12px}.account-menu-heading small{margin-top:3px;color:var(--muted);font-size:10px}
.account-role{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border-radius:8px;text-align:left;cursor:pointer}
.account-role:hover,.account-role:focus-visible{background:var(--surface-soft)}.account-role.active{background:var(--primary-soft);color:var(--primary)}
.account-role strong,.account-role small{display:block}.account-role strong{font-size:12px}.account-role small{margin-top:3px;font-size:10px;color:var(--muted)}.account-role>.icon{width:15px;height:15px;flex:none}
@media(max-width:767px){.header .account-wrap{margin-left:auto}.header .account-trigger{padding:3px}.header .account-trigger .avatar{display:grid;width:34px;height:34px}.header .account-trigger .header-user,.header .account-trigger>.icon{display:none}.account-menu{top:calc(100% + 10px);right:0;width:min(232px,calc(100vw - 28px))}}
