/* Compte sur mobile : même présentation que le site (onglets en haut, blocs à plat) */
@media(max-width:900px){
html body.mobile-app.signed-in #account .m-account{display:none!important}
html body.mobile-app.signed-in #account [data-mobile-profile="menu"]>:not(.m-account){display:revert!important}
html body.mobile-app.signed-in #dashboard.workspace>nav{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:2px;overflow-x:auto!important;position:sticky;top:0;z-index:5;border-radius:0!important;box-shadow:none!important;width:auto!important;height:auto!important;background:#eef4fc!important;margin:0 -16px 14px!important;padding:0 16px!important;border-bottom:1px solid #dbe4ef!important;scrollbar-width:none}
html body.mobile-app.signed-in #dashboard.workspace>nav::-webkit-scrollbar{display:none}
html body.mobile-app.signed-in #dashboard.workspace>nav>.sidebar-brand,html body.mobile-app.signed-in #dashboard.workspace>nav>.sidebar-footer{display:none!important}
html body.mobile-app.signed-in #dashboard.workspace>nav>button{flex:none;width:auto!important;min-height:44px;height:auto!important;padding:10px 12px!important;margin:0!important;justify-content:center;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#5d6f90!important;font-weight:700;font-size:14.5px;white-space:nowrap}
html body.mobile-app.signed-in #dashboard.workspace>nav>button::before{display:none!important}
html body.mobile-app.signed-in #dashboard.workspace>nav>button[aria-pressed="true"]{color:#d8232a!important;border-bottom-color:#d8232a!important}
html body.mobile-app.signed-in .workspace-heading{display:block!important;margin:0 0 10px}
html body.mobile-app.signed-in .workspace-heading .eyebrow{color:#d8232a;font-size:11px;font-weight:800}
html body.mobile-app.signed-in .workspace-heading h1,html body.mobile-app.signed-in .workspace-heading h2{font-size:26px;margin:2px 0 4px;color:#0e2147}
html body.mobile-app.signed-in .workspace-screen .screen-heading{display:block!important}
html body.mobile-app.signed-in #account{padding:0 16px}
}
@media(max-width:900px){html body.mobile-app.signed-in #dashboard.workspace>nav>button{font-size:12.8px;padding:10px 7px!important}}
@media(max-width:900px){
html body.mobile-app.signed-in #dashboard.workspace>nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0;overflow:visible!important}
html body.mobile-app.signed-in #dashboard.workspace>nav>button{white-space:normal!important;text-align:center;line-height:1.2;padding:8px 2px!important;min-width:0!important;font-size:12.5px}
}
@media(max-width:900px){html body.mobile-app.signed-in #dashboard.workspace>nav>button{font-size:11.6px!important;padding:9px 0!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;letter-spacing:-.01em}}
@media(max-width:900px){html body.mobile-app.signed-in #dashboard.workspace>nav{padding:0 4px!important;margin:0 0 14px!important}html body.mobile-app.signed-in #dashboard.workspace>nav>button{font-size:11px!important;letter-spacing:-.02em}}
@media(max-width:900px){html body.mobile-app.signed-in #dashboard.workspace>nav{grid-template-columns:1fr 1.1fr 1.3fr 1.1fr!important}}
@media(max-width:900px){html body.mobile-app.signed-in #dashboard.workspace>nav{grid-template-columns:.95fr 1.35fr 1.2fr 1fr!important}html body.mobile-app.signed-in #dashboard.workspace>nav>button{font-size:10.8px!important}}
@media(max-width:900px){html body.mobile-app.signed-in #dashboard.workspace>nav{grid-template-columns:repeat(4,auto)!important;justify-content:space-between}html body.mobile-app.signed-in #dashboard.workspace>nav>button{padding:9px 6px!important}}
/* Onglets : une seule ligne, défilement horizontal doux (le titre actif est recentré) */
@media(max-width:900px){
html body.mobile-app.signed-in #dashboard.workspace>nav{display:flex!important;grid-template-columns:none!important;overflow-x:auto!important;gap:4px;padding:0 8px!important;margin:0 -2px 14px!important;scroll-snap-type:x proximity}
html body.mobile-app.signed-in #dashboard.workspace>nav>button{flex:none!important;white-space:nowrap!important;font-size:14px!important;letter-spacing:0;padding:10px 12px!important;scroll-snap-align:center}
}
