/* One account entry for both interface variants. */
body[data-ui-version="legacy"] .top-actions { margin-left: auto; }
.account-menu { position: relative; flex-shrink: 0; }
.account-menu summary { list-style: none; width: 34px; height: 34px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); display: grid; place-items: center; cursor: pointer; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-popover { position: absolute; right: 0; top: 44px; width: 200px; display: grid; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--line-mid); border-radius: 12px; box-shadow: var(--shadow-card); z-index: 20; font-size: 13px; }
.account-popover strong { overflow-wrap: anywhere; }
.account-popover a { color: var(--text); text-decoration: none; }
.account-popover a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.account-popover form { margin: 0; }
.account-popover button { width: 100%; background: transparent; border: 1px solid var(--line); color: var(--danger); box-shadow: none; }
