/* Couche modale globale : doit rester au-dessus de la navbar, des menus,
     du bandeau, du gestionnaire de cookies et du bouton d'accessibilite. */
  body.fc-popup-open{overflow:hidden}
  .fc-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);display:none;z-index:2147483000!important}
  .fc-modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);
    background:#fff;max-width:680px;width:92vw;max-height:90vh;overflow:auto;
    border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.25);z-index:2147483001!important}
  .fc-header{display:flex;align-items:center;gap:.6rem;padding:14px 16px;border-bottom:1px solid #eee}
  .fc-title{font-size:1.25rem;font-weight:700;margin:0}
  .fc-close{margin-left:auto;border:0;background:transparent;font-size:1.2rem;cursor:pointer}
  .fc-body{padding:14px 16px}
  .fc-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .fc-grid-1{grid-column:1/-1}
  .fc-field label{display:block;font-weight:600;font-size:.95rem;margin-bottom:4px}
  .fc-field .req{color:#c00;margin-left:.25rem}
  .fc-field input[type="text"],
  .fc-field input[type="email"],
  .fc-field input[type="password"],
  .fc-field input[type="file"],
  .fc-field select{width:100%;padding:9px 10px;border:1px solid #ccc;border-radius:8px;font-size:.95rem}
  .fc-help{font-size:.85rem;color:#555;margin-top:4px}
  .fc-checkbox{display:flex;gap:10px;align-items:flex-start}
  .fc-checkbox input{margin-top:.2rem}
  .fc-actions{display:flex;gap:10px;justify-content:flex-end;align-items:center;padding:12px 16px;border-top:1px solid #eee}
  .fc-btn{border:0;border-radius:999px;padding:10px 16px;font-weight:700;cursor:pointer}
  .fc-btn-primary{background:#673ab7;color:#fff}
  .fc-btn-primary[disabled]{opacity:.55;cursor:not-allowed;filter:grayscale(20%)}
  .fc-btn-ghost{background:#f6f6f6}
  .fc-alert{display:none;margin:8px 0;padding:10px 12px;border-radius:8px;font-size:.95rem}
  .fc-alert.ok{display:block;background:#e8f6ee;border:1px solid #bfe7cf;color:#1c6b3a}
  .fc-alert.err{display:block;background:#fdecea;border:1px solid #f5c6cb;color:#a3212b}
  .fc-reopen{position:fixed;right:12px;bottom:12px;z-index:1090;background:#fff;border:1px solid #ddd;
    border-radius:999px;padding:10px 14px;box-shadow:0 8px 24px rgba(0,0,0,.12);display:none}
  .fc-reopen button{all:unset;cursor:pointer;font-weight:700}
  .fc-reopen i{margin-right:.5rem}
   #fcAvatarPreview { box-shadow: 0 2px 10px rgba(0,0,0,.08); }
  @media (max-width:520px){
    .fc-grid{grid-template-columns:1fr}
    .fc-modal{width:96vw;max-height:94vh}
  }
