/* Identité lisible sur toute la largeur du bandeau, sans masquer les actions. */
body>header.ui-app-header,body:has(#coach:not(.hidden))>header.ui-app-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand actions" "identity identity";width:100%;box-sizing:border-box;height:auto!important;min-height:70px;row-gap:8px;align-items:center}
body>header.ui-app-header>.ui-brand{grid-area:brand;min-width:0;width:100%;max-width:248px}
body>header.ui-app-header>#identity{grid-area:identity!important;grid-column:1/-1;display:grid!important;gap:3px;width:100%;max-width:none!important;min-width:0;text-align:left!important;white-space:normal!important;overflow:visible!important;text-overflow:clip;font-size:11px;line-height:1.45;color:#d5d9dc}
body>header.ui-app-header #identity[hidden]{display:none!important}
#identity .ba805-account{font-size:10px;color:#bcf046;font-weight:650}
#identity .ba805-session{font-size:11px;color:#e2e5e8;overflow-wrap:anywhere}
.ba805-switcher{display:grid;gap:10px;padding-top:14px;margin-top:5px;border-top:1px solid #34383d}
.ba805-switcher>span{font-size:11px;color:#b7bdc3}
.ba805-switcher button{min-height:44px}
.ba805-switcher button:disabled{opacity:1;color:#c5ed75;background:#20261b;border-color:#6e8d39;cursor:default}
@media(max-width:600px){body>header.ui-app-header{column-gap:8px;padding-block:10px!important}body>header.ui-app-header .ui-brand-logo{max-height:48px}body>header.ui-app-header #identity{font-size:10px;padding-top:2px}#identity .ba805-session{font-size:10px}}

/* Même structure dans les deux espaces ; les outils conservent leur rangée. */
body>header.ui-app-header>.ui-account-tools{grid-area:actions;min-width:0;justify-self:end}
