.qp-account-menu { position: relative; flex: 0 0 auto; color: #fff; font: inherit; }
.qp-account-menu > .qp-userchip { display: inline-flex; align-items: center; gap: .5rem; min-height: 38px; max-width: 220px; padding: .3rem .65rem .3rem .3rem; margin: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 24px; background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; list-style: none; }
.qp-account-menu > .qp-userchip::-webkit-details-marker { display: none; }
.qp-account-menu > .qp-userchip:hover, .qp-account-menu[open] > .qp-userchip { background: rgba(255,255,255,.18); }
.qp-account-menu > .qp-userchip:focus-visible { outline: 3px solid #81baff; outline-offset: 3px; }
.qp-account-menu .qp-avatar { display: inline-grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.17); color: #fff; font-size: .8rem; }
.qp-account-menu .qp-account-name { display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }
.qp-account-menu .qp-account-chevron { display: inline-block !important; flex: 0 0 7px; width: 7px; height: 7px; margin: 0 .2rem .2rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.qp-account-menu[open] .qp-account-chevron { transform: rotate(225deg); margin-bottom: -.2rem; }
.qp-account-panel { position: absolute; z-index: 1100; inset-inline-end: 0; top: calc(100% + .55rem); width: 260px; max-width: calc(100vw - 24px); box-sizing: border-box; padding: .6rem; border: 1px solid #dbe3ef; border-radius: 14px; background: #fff; color: #102040; box-shadow: 0 12px 32px rgba(13,27,62,.18); text-align: start; transform: translateX(var(--qp-menu-shift,0px)); }
.qp-account-identity { display: grid; gap: .2rem; padding: .5rem .65rem .65rem; overflow-wrap: anywhere; }
.qp-account-identity strong { font-size: .9rem; line-height: 1.4; }
.qp-account-identity small { color: #66758d; font-size: .8rem; line-height: 1.4; }
.qp-account-panel a { display: flex; align-items: center; min-height: 44px; padding: .6rem .65rem; border-radius: 8px; box-sizing: border-box; color: #153b75; font-size: .9rem; font-weight: 600; text-decoration: none; }
.qp-account-panel a:hover { background: #edf4ff; }
.qp-account-panel a:focus-visible { outline: 2px solid #2279de; outline-offset: -2px; background: #edf4ff; }
.qp-account-panel [hidden] { display: none !important; }
@media (max-width: 640px) { .qp-account-menu > .qp-userchip { max-width: 170px; } .qp-account-menu .qp-account-name { max-width: 100px; } }
