.account-menu { position:relative; }
.account-menu summary { list-style:none; display:inline-flex; align-items:center; justify-content:center; gap:.75rem; min-height:42px; box-sizing:border-box; padding:.65rem 1rem; border:1px solid #d8e1e9; border-radius:8px; background:#fff; color:#334155; font:inherit; font-size:.9rem; font-weight:600; box-shadow:0 1px 3px #0f172a0a; user-select:none; }
.account-menu summary:hover,.account-menu[open] summary { background:#f8fafc; border-color:#b8c7d8; }
.account-menu summary::-webkit-details-marker { display:none; }
.account-menu summary::after { content:''; width:7px; height:7px; border-right:1.7px solid currentColor; border-bottom:1.7px solid currentColor; transform:translateY(-2px) rotate(45deg); }
.account-menu[open] summary::after { transform:translateY(2px) rotate(225deg); }
.account-menu-panel { position:absolute; right:0; top:100%; z-index:50; min-width:180px; padding:.5rem; background:white; border:1px solid #e2e8f0; border-radius:12px; box-shadow:0 10px 30px #0f172a26; }
.account-menu-panel a,.account-menu-panel button { display:flex; gap:.65rem; align-items:center; width:100%; box-sizing:border-box; padding:.75rem; border:0; border-radius:7px; background:transparent; color:#334155; text-decoration:none; font:inherit; cursor:pointer; }
.account-menu-panel a:hover,.account-menu-panel button:hover { background:#f1f5f9; }
.account-menu :focus-visible { outline:2px solid #2455cc; outline-offset:2px; }
.account-menu summary{cursor:pointer}.account-menu-panel form{margin:0}.account-menu-panel svg{flex-shrink:0}.account-menu-panel{min-width:220px}.account-menu-panel button{text-align:left}.account-menu-panel a,.account-menu-panel button{white-space:nowrap}
