/* espace-client.css
 * LA PAGE DE L'ESPACE CLIENT (refonte Clients, lots 32b et 33b) : ses styles, une seule fois (regle 2), pour la page du client
 * (espace-client.html) ET l'apercu « Voir ce qu'il voit » de la fiche (app.html, dans `.clf-espace-page`). Couleurs fixes : c'est la page
 * que voit le client (claire), pas un ecran de l'application. Mobile : champs 16px, cibles 44px, cartes ; <=480px plus bas. */
.espace { max-width: 720px; margin: 0 auto; }
.espace-tete { margin-bottom: 18px; }
.espace-de { color: #475569; font-size: 15px; }
.espace-tete h1 { font-size: 24px; line-height: 1.25; margin-top: 4px; overflow-wrap: anywhere; }
.espace-carte { background: #fff; border: 1px solid #CBD5E1; border-radius: 14px; padding: 20px 22px; margin-bottom: 16px; }
.espace-carte h2 { font-size: 18px; margin-bottom: 10px; }
.espace-lbl { color: #475569; font-size: 15px; }
.espace-montant { font-size: 32px; font-weight: 700; font-variant-numeric: tabular-nums; }
.espace-phrase { margin-top: 6px; }
.espace-docs { list-style: none; }
.espace-docs li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid #E2E8F0; }
.espace-docs li:last-child { border-bottom: 0; }
.espace-docs small { grid-column: 1 / -1; color: #475569; font-size: 15px; }
.espace-docs .espace-btn { grid-column: 1 / -1; justify-self: start; }
.espace-discret { opacity: .75; }
.espace-nombre { font-variant-numeric: tabular-nums; white-space: nowrap; }
.espace-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 10px 18px;
  border-radius: 10px; border: 0; background: #4F46E5; color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.espace-actions { margin-top: 12px; }
.espace-gestes { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.espace-btn-gris { background: #E2E8F0; color: #0F172A; }
.espace-btn:disabled { opacity: .6; cursor: default; }   /* l'apercu de la fiche : gestes inertes */
.espace-msg { color: #991B1B; font-weight: 600; margin: 0 0 12px; }
.espace-msg:empty { display: none; }
.espace-info { color: #0F172A; font-weight: 500; }
.espace-champ { display: grid; gap: 6px; margin: 14px 0 12px; }
.espace-champ label { font-weight: 600; }
.espace-champ input { font-size: 16px; min-height: 44px; padding: 10px 12px; border: 1px solid #94A3B8; border-radius: 8px; width: 100%; max-width: 420px; }
.espace-contact { font-weight: 600; overflow-wrap: anywhere; }
.espace-pied { color: #475569; font-size: 15px; margin-top: 8px; }
.espace-pied p + p { margin-top: 6px; }
.espace-attente { color: #475569; }
@media (max-width: 480px) {
  .espace-carte { padding: 16px; }
  .espace-montant { font-size: 28px; }
  .espace-docs .espace-btn { justify-self: stretch; }
  .espace-gestes .espace-btn { flex: 1 1 auto; }
}
