/* V315 — cohérence visuelle mobile espace adhérent, sans changement fonctionnel */
:root{--ba315-bg:#080a0b;--ba315-card:#14191b;--ba315-border:#303b40;--ba315-text:#f0f4f1;--ba315-muted:#b5c1c5;--ba315-accent:#a3f20b}
@media(max-width:760px){
html,body{background:var(--ba315-bg)!important;overflow-x:clip!important}
#client{background:var(--ba315-bg)!important;color:var(--ba315-text)!important;max-width:100%!important;min-width:0!important;overflow-x:clip!important;padding-top:max(12px,env(safe-area-inset-top,0px))!important;padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))!important}
#client :is(#clientDashboardPane,#clientProfilePane,#clientProgramPane,#clientVideosPane){background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
#client #clientDashboardPane,#client #clientProfilePane{padding:12px!important;margin:0!important}
#client #clientDashboardPane>#baClientGreeting{background:transparent!important;padding:0!important;margin:12px 0 18px!important;font-size:clamp(27px,7vw,39px)!important;line-height:1.2!important}
#client #clientDashboardContent,#client #clientProfileContent{min-width:0!important;max-width:100%!important;overflow-x:clip!important}
#client :is(.dashboard-panel,.dashboard-pr-panel,.dashboard-recent-panel,.dashboard-weight-card,.dashboard-calendar,.premium-avatar-panel,.premium-measure-form,.profile-side-card,.profile-tip,.profile-history,.v131-consent,.dashboard-stats>div,.dashboard-weight-stats>div){background:var(--ba315-card)!important;background-image:none!important;border:1px solid var(--ba315-border)!important;box-shadow:none!important;color:var(--ba315-text)!important;box-sizing:border-box!important;min-width:0!important;max-width:100%!important}
#client :is(.dashboard-panel,.dashboard-pr-panel,.dashboard-recent-panel,.dashboard-weight-card,.profile-side-card,.v131-consent){padding:clamp(14px,4vw,20px)!important;margin-bottom:14px!important;border-radius:19px!important}
#client :is(.dashboard-panel,.dashboard-pr-panel,.dashboard-recent-panel,.dashboard-weight-card) :is(h2,h3,p){overflow-wrap:anywhere}
#client :is(.dashboard-panel,.dashboard-pr-panel,.dashboard-recent-panel,.dashboard-weight-card) :is(p,.muted,small){color:var(--ba315-muted)!important}
#client :is(.dashboard-day,.dashboard-day:not(.done),.dashboard-day:not(.today)){color:#dce7e2!important;-webkit-text-fill-color:#dce7e2!important;background:#1b2529!important;border-color:#40534d!important}
#client .dashboard-day.done{background:var(--ba315-accent)!important;color:#091109!important;-webkit-text-fill-color:#091109!important;border-color:var(--ba315-accent)!important}
#client .dashboard-day.today{outline:2px solid var(--ba315-accent)!important;outline-offset:2px}
#client :is(.dashboard-calendar,.dashboard-weight-graph,.dashboard-weight-stats>div){background:#101416!important;background-image:none!important}
#client :is(.premium-avatar-panel,.avatar-stage){overflow:hidden!important}
#client .premium-avatar-panel .body-vector{max-height:390px!important;width:100%!important;max-width:100%!important;object-fit:contain!important}
#client #clientProfilePane>.section-label,#client #clientDashboardPane>.section-label{margin-top:8px!important}
#client #clientProfilePane>h2{margin:12px 0!important;line-height:1.2!important}
#client #clientProfilePane>p{color:var(--ba315-muted)!important;line-height:1.5!important;margin:0 0 16px!important}
#client :is(.v131-consent,.profile-side-card) label{gap:10px!important}
#client :is(button,select,input,textarea){max-width:100%;box-sizing:border-box}
#client .ba-mobile-client-nav{position:fixed!important;bottom:0!important;left:0!important;right:0!important;z-index:9000!important;background:#101516!important;border-top:1px solid #40513c!important;padding-bottom:env(safe-area-inset-bottom,0px)!important}
#client .ba-mobile-client-nav button.active{color:var(--ba315-accent)!important}
#client :is(.section-label,.dashboard-kicker){color:var(--ba315-accent)!important}
}
