/* ══════════════════════════════════════════════════════════════
   SENIORZEN — app installée (écran d'accueil / Android)
   Zones sûres (Capacitor 8 fournit --safe-area-inset-*, sinon env()).
   ══════════════════════════════════════════════════════════════ */
:root{
  --sat: var(--safe-area-inset-top, env(safe-area-inset-top, 0px));
  --sab: var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px));
}
html, body { overflow-x:clip; }

/* Dans l'app Android : impression indisponible ; bouton Google seulement si le module natif est présent */
html.natif .bprint2 { display:none !important; }
html.natif:not(.google-natif) .btn-google, html.natif:not(.google-natif) .auth-sep { display:none !important; }

.tb { padding-top:calc(10px + var(--sat)) !important; }
#auth, #ls { padding-top:calc(16px + var(--sat)) !important; padding-bottom:calc(16px + var(--sab)) !important; }
.menu-drawer { padding-top:var(--sat); padding-bottom:var(--sab); }
.ov, .pay-wall, .pay-success { padding-top:calc(16px + var(--sat)) !important; padding-bottom:calc(16px + var(--sab)) !important; }
#sos-btn { bottom:calc(24px + var(--sab)) !important; }
#toast { bottom:calc(100px + var(--sab)) !important; }
@media (max-width:900px){ .tb { padding-top:calc(8px + var(--sat)) !important; } }
@media (max-width:600px){ #sos-btn { bottom:calc(80px + var(--sab)) !important; } }
