/* Comptes utilisateurs : écran de connexion, pastille d'en-tête, gestion des comptes. */
html.mbt-locked body>*:not(#mbt-login){display:none!important}
html.mbt-locked body{overflow:hidden}
.auth-screen{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto;
 background:radial-gradient(circle at 20% 10%,#eef4ff 0,transparent 55%),radial-gradient(circle at 85% 90%,#f3efe6 0,transparent 50%),#f8fafc}
.auth-card{width:min(440px,100%);background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:32px;box-shadow:0 25px 80px #0f172a1a;color:#111827}
.auth-card h1{font-size:28px;margin:10px 0 6px}
.auth-card form{display:flex;flex-direction:column}
.auth-card form .primary{margin-top:18px;width:100%;padding:13px}
.auth-logo{width:44px;height:44px;display:block;margin-bottom:14px}
.auth-lead{color:#64748b;margin:0 0 8px}
.auth-error{color:#b42318;min-height:1em;margin:10px 0 0;font-size:14px}
.auth-help{color:#64748b;font-size:13px;margin:6px 0 0}
.auth-forgot{margin-top:18px;font-size:13px;color:#64748b}
.auth-forgot summary{cursor:pointer}
.auth-chip{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px}
.auth-who{display:flex;align-items:center;gap:6px}
.auth-who strong{color:#111827}
.auth-role{background:#eef2f7;border-radius:30px;padding:3px 9px}
.auth-link{background:none;border:0;padding:4px 2px;color:inherit;text-decoration:underline;cursor:pointer;font:inherit}
.auth-link:hover{color:#111827}
.auth-dialog form{display:flex;flex-direction:column}
.auth-danger{color:#b42318!important}
.auth-users .home-panel h3{margin-top:0}
@media (max-width:520px){.auth-card{padding:22px;border-radius:18px}.auth-chip{justify-content:center}}
/* Rôle employé : pas d'export / import de sauvegarde dans le carnet de contacts */
html[data-role="employe"] .backup-tools,html[data-role="employe"] #backup-status{display:none!important}
/* Édition AURA : écran de connexion aux couleurs de la marque (prune et rose poudré) */
html[data-edition="beaute"] .auth-screen{background:radial-gradient(circle at 15% 10%,#f7dfea 0,transparent 50%),radial-gradient(circle at 90% 95%,#ead3df 0,transparent 45%),linear-gradient(160deg,#fbf5f8 0%,#f3e4ec 100%)}
html[data-edition="beaute"] .auth-card{border-color:#eedee7;box-shadow:0 30px 80px #4b2b4326;color:#4b2b43;background:#fffafc}
html[data-edition="beaute"] .auth-logo{filter:brightness(0) saturate(100%) invert(28%) sepia(29%) saturate(1229%) hue-rotate(284deg) brightness(95%) contrast(88%)}
html[data-edition="beaute"] .auth-card .eyebrow{color:#93456c;letter-spacing:3px}
html[data-edition="beaute"] .auth-card h1{font-family:Georgia,'Times New Roman',serif;font-weight:500;font-size:32px;color:#4b2b43;letter-spacing:-.3px}
html[data-edition="beaute"] .auth-lead,html[data-edition="beaute"] .auth-help,html[data-edition="beaute"] .auth-forgot{color:#705869}
html[data-edition="beaute"] .auth-card label{color:#4b2b43}
html[data-edition="beaute"] .auth-card input,html[data-edition="beaute"] .auth-card select{border-color:#e6d3dd;background:#fff}
html[data-edition="beaute"] .auth-card input:focus{outline:2px solid #93456c55;border-color:#93456c}
html[data-edition="beaute"] .auth-card .primary{background:#93456c;border-color:#93456c;color:#fffafc;border-radius:14px}
html[data-edition="beaute"] .auth-card .primary:hover{background:#763353;border-color:#763353}
html[data-edition="beaute"] .auth-card a{color:#93456c}
