/* Page de connexion (js/db.js, ecran) : direction B (Q-393). Carte arrondie, bandeau charbon avec les sommets et le logo, bouton principal en pilule.
   Variables de css/moderne.css seulement (thème clair et sombre). Chargée après css/moderne.css. */
.auth{background:var(--bg)}
.auth-box{max-width:420px;padding:0 0 22px;gap:16px;border:1px solid var(--card-line);border-radius:var(--r-card);box-shadow:var(--sh-card);overflow:hidden}
.auth-box>:not(.auth-tete){margin-left:22px;margin-right:22px}
.auth-tete{background:var(--bande-bg) var(--bande-motif) bottom right/100% 70% no-repeat;color:var(--bande-ink);padding:24px 22px 26px;display:grid;gap:6px}
.auth-tete .logo{width:110px;height:42px;background:var(--bande-ink)}
.auth-tete h2{margin:10px 0 0;font:700 var(--t-titre)/1.1 var(--f-display);color:var(--bande-ink)}
.auth-tete p{margin:0;color:var(--bande-ink2);font-size:15px}
.auth-box .btn{width:auto;justify-content:center;min-height:48px}
.auth-box>.muted{font-size:14px}
.auth-alt>summary{min-height:44px;display:flex;align-items:center;gap:8px;list-style:none}
.auth-alt>summary::-webkit-details-marker{display:none}
.auth-alt>summary::before{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .15s;flex:none}
.auth-alt[open]>summary::before{transform:rotate(45deg)}
.auth-alt>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:var(--r-ctl)}
@media (max-width:420px){
  .auth{padding:16px}
  .auth-box>:not(.auth-tete){margin-left:16px;margin-right:16px}
  .auth-tete{padding:20px 16px 22px}
}
