.account-menu { position: relative; display: inline-flex; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.account-menu [hidden] { display: none !important; }
.account-menu-trigger { width: 36px; height: 36px; min-height: 0; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid oklch(72% 0.02 82); background: oklch(90% 0.018 82); color: oklch(18% 0.018 72); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.account-menu-trigger:hover, .account-menu-trigger[aria-expanded="true"] { background: oklch(86% 0.022 82); }
.account-menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(270px, calc(100vw - 32px)); padding: 6px; border: 1px solid oklch(78% 0.018 82); border-radius: 9px; background: oklch(97% 0.012 82); color: oklch(18% 0.018 72); box-shadow: 0 8px 28px oklch(18% 0.018 72 / 0.12); z-index: 30; text-align: left; white-space: normal; }
.account-menu-identity { display: grid; gap: 4px; padding: 10px 10px 13px; margin-bottom: 5px; border-bottom: 1px solid oklch(85% 0.018 82); overflow-wrap: anywhere; }
.account-menu-identity strong { font-size: 14px; font-weight: 600; }
.account-menu-identity span { font-size: 12px; color: oklch(45% 0.02 78); }
header .account-menu-panel [role="menuitem"] { box-sizing: border-box; display: block; width: 100%; padding: 10px; min-height: 40px; margin: 0; border: 0; border-radius: 5px; background: transparent; color: oklch(18% 0.018 72); text-decoration: none; text-align: left; font: inherit; font-size: 14px; line-height: 20px; cursor: pointer; }
header .account-menu-panel [role="menuitem"]:hover { background: oklch(92% 0.014 82); text-decoration: none; }
.account-menu :focus-visible { outline: 2px solid oklch(58% 0.14 42); outline-offset: 2px; }
.account-menu-status { margin: 8px 10px; font-size: 12px; line-height: 1.5; color: oklch(48% 0.14 30); }
.auth-topbar:has(.account-menu) { flex-direction: row; align-items: center; }
.auth-topbar:has(.account-menu) .top-actions { flex-wrap: nowrap; }

.account-menu-trigger img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
