/* Authenticated avatar and account menu, using the prototype's existing panel styles. */
.site-head .header-profile-wrap { position:relative; flex:none; display:flex; align-items:center; }
.site-head .logo { flex-shrink:0; white-space:nowrap; }
.site-head .head-actions>.session-logout { white-space:nowrap; }
.site-head .header-account-link { cursor:pointer; color:inherit; }
.site-head .header-profile-panel { position:absolute; inset-inline-end:-10px; inset-inline-start:auto; top:calc(100% + 14px); width:min(304px,calc(100vw - 24px)); max-height:calc(100dvh - 92px); overflow-y:auto; overscroll-behavior:contain; text-align:start; text-shadow:none; z-index:150; }
.site-head .header-profile-panel[hidden] { display:none!important; }
.site-head .header-profile-panel .header-profile-details { min-width:0; }
.site-head .header-profile-summary strong { white-space:nowrap; }
.site-head .header-profile-summary small { display:flex; align-items:center; }
.site-head .header-profile-summary .header-uid-copy { width:20px; height:20px; min-width:20px; min-height:20px; padding:3px; border:0; background:none; }
.site-head .header-profile-summary .header-uid-copy svg { display:block; width:14px; height:14px; fill:none; stroke:#777; stroke-width:1.5; }
.site-head .header-account-avatar img,.site-head .header-profile-brand img { width:100%; height:100%; border-radius:50%; object-fit:cover; }
.site-head .header-account-avatar .account-avatar-preset { font-size:24px; line-height:1; }
.site-head .header-profile-brand .account-avatar-preset { font-size:25px; line-height:1; }
.site-head .header-profile-panel nav { display:grid; margin:0; }
.site-head .head-actions .header-profile-panel nav a { min-width:0; white-space:normal; }
.site-head .head-actions .header-profile-panel nav a>svg,.site-head .head-actions .header-profile-logout>svg { flex-shrink:0; }
.site-head .header-profile-panel :is(a,button):focus-visible { outline:2px solid #d5a900; outline-offset:-2px; }
@media(max-width:760px) {
  .site-head .head-actions>.session-logout { display:none!important; }
  .site-head .header-profile-wrap { position:static; }
  .site-head .header-profile-panel { position:fixed; top:76px; inset-inline-end:12px; width:min(304px,calc(100vw - 24px)); max-height:calc(100dvh - 88px); }
}
