:root { --fond: #f4f6f8; --carte: #ffffff; --texte: #1d2430; --doux: #5b6573; --accent: #1f6f78; --accent-texte: #ffffff; --erreur: #b3261e; --bord: #d5dbe2; }
@media (prefers-color-scheme: dark) {
  :root { --fond: #12161c; --carte: #1b2129; --texte: #e8edf2; --doux: #9aa5b1; --accent: #4fb3bd; --accent-texte: #0b1215; --erreur: #ff8a80; --bord: #2c3440; }
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--fond); color: var(--texte); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.carte { width: 100%; max-width: 400px; background: var(--carte); border: 1px solid var(--bord); border-radius: 12px; padding: 28px 24px; }
.marque { margin: 0 0 4px; color: var(--accent); font-weight: 600; letter-spacing: .02em; }
h1 { margin: 0 0 20px; font-size: 1.5rem; }
label { display: block; margin: 0 0 6px; font-weight: 500; }
input { width: 100%; padding: 12px; font-size: 1rem; border: 1px solid var(--bord); border-radius: 8px; background: transparent; color: var(--texte); }
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
button[type="submit"], .liste a { display: block; width: 100%; margin-top: 14px; padding: 12px; font-size: 1rem; font-weight: 600; text-align: center; text-decoration: none; border: 0; border-radius: 8px; background: var(--accent); color: var(--accent-texte); cursor: pointer; }
button[disabled] { opacity: .6; cursor: wait; }
.lien { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; }
.info, .aide { color: var(--doux); }
.aide { font-size: .9rem; margin-top: 14px; }
.message { min-height: 1.5em; margin: 16px 0 0; }
.message.erreur { color: var(--erreur); }
