/* doc-project | public/assets/css/client-identity-menu.css | menu accessible et badge du nombre de commandes client */
.identity-menu{position:relative;z-index:45;flex:0 0 auto}
.identity-chip{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}
.identity-chip__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.identity-chip__badge{display:inline-flex;min-width:23px;height:23px;align-items:center;justify-content:center;padding:0 6px;border:2px solid currentColor;border-radius:999px;background:var(--surface,#fff);font-size:.76rem;font-weight:900;line-height:1}
.identity-chip__chevron{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}
.identity-menu.is-open .identity-chip__chevron{transform:rotate(180deg)}
.identity-menu__panel{position:absolute;top:calc(100% + 10px);right:0;width:min(330px,calc(100vw - 24px));max-height:min(70vh,440px);overflow:auto;padding:8px;border:1px solid rgba(98,65,124,.2);border-radius:16px;background:var(--surface,#fff);box-shadow:0 18px 48px rgba(64,42,79,.24)}
.identity-menu__panel[hidden]{display:none}
.identity-menu__orders{display:grid;gap:4px}
.identity-menu__item{display:flex;width:100%;min-height:44px;align-items:center;padding:10px 12px;border:0;border-radius:11px;background:transparent;color:inherit;font:inherit;font-weight:750;text-align:left;text-decoration:none;cursor:pointer}
.identity-menu__item:hover,.identity-menu__item:focus-visible{background:rgba(111,74,168,.1);outline:none}
.identity-menu__orders+.identity-menu__logout{margin-top:7px;padding-top:12px;border-top:1px solid rgba(98,65,124,.16);border-radius:0 0 11px 11px;color:var(--danger,#a52a2a)}
.identity-menu__logout:disabled{cursor:wait;opacity:.6}
@media(max-width:420px){.identity-chip{max-width:58vw}.identity-chip__badge{flex:0 0 auto}}
@media(max-width:520px){.identity-menu__panel{position:fixed;top:calc(env(safe-area-inset-top) + 74px);right:12px;left:12px;width:auto;max-height:calc(100dvh - env(safe-area-inset-top) - 94px)}}
@media(prefers-reduced-motion:reduce){.identity-chip__chevron{transition:none}}