.header-lab .account-menu > summary { gap: .65rem; min-height: 2.85rem; padding: .35rem .7rem .35rem .4rem; font-weight: 600; }
.header-lab .account-avatar { width: 2.1rem; height: 2.1rem; flex: none; background: #eaf0ff; color: #173eaa; font-size: .78rem; font-weight: 750; }
.account-menu-identity { display: grid; min-width: 0; max-width: 15rem; gap: .1rem; text-align: left; }
.account-menu-identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; font-weight: 650; }
.account-menu-identity small { color: var(--muted); font-size: .68rem; font-weight: 450; }
.header-lab .account-menu > summary::after { width: .4rem; height: .4rem; color: var(--muted); }
.header-lab .account-popover { width: min(21rem,calc(100vw - 1.5rem)); padding: 0; border: 1px solid var(--line); box-shadow: 0 12px 30px #1119231a; }
.account-popover-identity { display: grid; gap: .2rem; padding: 1rem; overflow-wrap: anywhere; }
.account-popover-identity > strong { font-size: .9rem; }
.account-popover-identity > span { color: var(--muted); font-size: .8rem; }
.account-popover-identity > small { color: var(--green-dark); font-size: .74rem; }
.account-office { display: grid; gap: .25rem; margin: 0 .65rem .55rem; padding: .7rem; border-left: 2px solid var(--green); background: #f3f5f7; }
.account-office > span { color: var(--muted); font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; }
.account-office > strong { font-size: .8rem; font-weight: 600; }
.account-menu-links { padding: .4rem; border-top: 1px solid var(--line); }
.account-popover .account-menu-links a, .account-popover .account-menu-logout { display: flex; align-items: center; gap: .7rem; min-height: 2.75rem; padding: .6rem .7rem; border: 0; color: var(--ink); background: transparent; font: inherit; font-size: .84rem; font-weight: 550; text-decoration: none; }
.account-popover .account-menu-links a:hover, .account-popover .account-menu-links a[aria-current] { background: var(--green-soft); color: var(--green-dark); }
.account-menu-links .instruction-pending-count { flex: none; margin-left: auto; }
.account-popover svg { width: 1.1rem; height: 1.1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.account-admin-links { margin-top: .35rem; padding-top: .35rem; border-top: 1px solid var(--line); }
.account-admin-links > .account-popover-label { padding: .5rem .7rem .2rem; font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; }
.account-popover form { margin: 0; padding: .4rem; border-top: 1px solid var(--line); }
.account-popover .account-menu-logout { width: 100%; text-align: left; }
.account-popover .account-menu-logout:hover { background: #fff0ed; color: var(--danger); }
@media (max-width: 60rem) { .account-menu-identity { display: none; } .header-lab .account-menu > summary { padding-right: .55rem; } }
