/* Pages de la passerelle (connexion, invitation, choix du dossier) */
    * { box-sizing: border-box; }
    body {
      margin: 0; min-height: 100vh; display: grid; place-items: center;
      font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
      background: #091e04; color: #091e04;
    }
    .card {
      background: #fff; border: 1px solid #e3e1da; border-radius: 14px;
      box-shadow: 0 10px 40px rgba(15,23,42,.08);
      padding: 42px 44px; width: 380px; max-width: 92vw; text-align: center;
    }
    .brand { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 10px; }
    .brand-name { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 40px; letter-spacing: -0.03em; line-height: 1; }
    .brand-by { font-family: "Montserrat", sans-serif; font-size: 14px; color: #5c5b57; }
    .brand-by b { font-weight: 600; color: #091e04; letter-spacing: -0.03em; }
    h1 { font-size: 19px; margin: 0 0 4px; letter-spacing: -0.02em; }
    .sub { color: #5c5b57; font-size: 13px; margin-bottom: 28px; }
    .gbtn {
      display: flex; align-items: center; justify-content: center; gap: 10px;
      width: 100%; padding: 12px 16px; border-radius: 9px; cursor: pointer;
      background: #091e04; color: #f4f4f4; border: none; font-size: 14.5px;
      font-weight: 600; font-family: inherit; text-decoration: none;
      transition: filter .15s;
    }
    .gbtn:hover { filter: brightness(1.2); }
    .gbtn svg { width: 18px; height: 18px; background: #fff; border-radius: 50%; padding: 2px; }
    .sep {
      display: flex; align-items: center; gap: 12px;
      margin: 18px 0; color: #a3a29d; font-size: 12px;
    }
    .sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: #e3e1da; }
    .pw-form { display: flex; flex-direction: column; gap: 10px; }
    .pw-form input {
      padding: 10px 14px; border: 1px solid #e3e1da; border-radius: 9px;
      font-size: 14px; font-family: inherit; outline: none;
      transition: border-color .15s;
    }
    .pw-form input:focus { border-color: #6332ea; }
    .gbtn.pw { background: #6332ea; border-color: #6332ea; }
    .gbtn.pw:hover { filter: brightness(1.2); }
    .note { margin-top: 18px; font-size: 12px; color: #5c5b57; }
    .note b { color: #091e04; }
    .err {
      margin-bottom: 18px; padding: 10px 14px; border-radius: 8px;
      background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
      font-size: 13px; display: none;
    }
  
.d-list { display: flex; flex-direction: column; gap: 10px; text-align: left; margin: 8px 0 18px; }
.d-card { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid #e3e1da; border-radius: 10px;
  color: #091e04; text-decoration: none; transition: border-color .15s, background .15s; }
.d-card:hover { border-color: #6332ea; background: #f1efe8; }
.d-card b { font-family: "Montserrat", sans-serif; font-size: 18px; }
.d-card span { font-size: 13px; color: #6332ea; font-weight: 700; }
.d-card i { font-size: 12.5px; color: #5c5b57; font-style: normal; }
.d-admin { display: inline-block; margin-bottom: 14px; font-size: 13px; color: #6332ea; }
.pw-rules { font-size: 12px; color: #5c5b57; text-align: left; margin: -2px 0 4px; }

/* Charte éditoriale (papier, encre, signal violet) */
body { background: #f8f7f3; color: #111; font-family: "Montserrat", system-ui, sans-serif; letter-spacing: -0.005em; }
.card { border-radius: 8px; border-color: #e3e1da; box-shadow: 0 30px 60px -30px rgba(17,17,17,.25), 0 2px 6px rgba(17,17,17,.04); }
.brand-name { font-weight: 500; letter-spacing: -0.055em; color: #111; }
.brand-name::after { content: ""; display: inline-block; width: 8px; height: 8px; background: #6332ea; margin-left: 4px; vertical-align: 3px; }
.brand-by { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #a3a29d; }
.brand-by b { font-family: inherit; font-weight: 500; color: #5c5b57; letter-spacing: .06em; }
h1 { font-weight: 500; font-size: 22px; letter-spacing: -0.035em; }
.sub { font-family: "Montserrat", system-ui, sans-serif; font-size: 15px; color: #5c5b57; }
.gbtn { border-radius: 3px; background: #111; color: #f8f7f3; font-weight: 400; }
.gbtn:hover { filter: none; background: #2b2b29; }
.gbtn.pw { background: #111; border-color: #111; }
.pw-form input { border-radius: 3px; }
.d-card { border-radius: 6px; }
.d-card:hover { border-color: #111; background: #fff; }
.d-card b { font-weight: 500; letter-spacing: -0.03em; }
.d-card span { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.back-home { position: fixed; top: 22px; left: 28px; font-size: 14px; color: #5c5b57; text-decoration: none; }
.back-home:hover { color: #111; }

/* polices digitak */
.brand-name, h1, .d-card b { font-family: "Poppins", system-ui, sans-serif; }
.brand-name { font-weight: 600; letter-spacing: -0.04em; }
h1 { font-size: 20px; letter-spacing: -0.02em; }
.sub { font-size: 14px; }
body { letter-spacing: 0; }
