/* Shared account menu (account-menu.js), used by the timeline, viewer and admin pages.
   The panel is a standard `.ft-menu` (see shell.css). Styles live in this stylesheet, not an injected <style>:
   the CSP allows only same-origin stylesheets. */
.ft-account-menu{position:relative;display:inline-flex;align-items:center}
.ft-account-menu .ft-account-trigger{display:inline-grid;place-items:center;box-sizing:border-box;min-width:40px;min-height:40px;padding:2px;border:2px solid transparent;border-radius:50%;background:transparent;color:var(--app-topbar-text);font:inherit;font-weight:700;cursor:pointer}
.ft-account-menu .ft-account-trigger:hover,.ft-account-menu .ft-account-trigger[aria-expanded=true]{border-color:var(--app-border-strong)}
.ft-account-menu .ft-account-trigger:focus-visible{outline:2px solid var(--app-focus);outline-offset:2px}
.ft-account-trigger-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ft-account-menu .ft-account-panel{position:absolute;z-index:200;right:0;top:calc(100% + .45rem);width:min(19rem,calc(100vw - 1.2rem))}
.ft-account-menu .ft-account-panel[hidden]{display:none}
.ft-account-menu .ft-account-separator{height:1px;margin:.3rem .25rem;background:var(--app-border)}
@media(max-width:650px){.ft-account-menu .ft-account-panel{position:fixed;right:.6rem;top:calc(var(--app-topbar-height) + .3rem)}}
