/* Fenêtres (modales) : sobres et serrées, sur le modèle des applications courantes.
   Pas de gros cadres : titre de 15 px, séparations fines, boutons compacts alignés à droite tout en bas. */
#modal-overlay .modal{border:0;border-radius:14px;background:var(--panel,#fff);box-shadow:0 0 0 1px rgba(15,23,42,.06),0 24px 56px -20px rgba(15,23,42,.45)}
#modal-overlay .modal-head{padding:12px 14px 10px 18px;border-bottom:1px solid rgba(15,23,42,.07);min-height:0}
#modal-overlay .modal-head h2{margin:0;font-size:15px;font-weight:700;letter-spacing:-.01em;line-height:1.3}
#modal-overlay #modal-close{width:26px;height:26px;min-width:0;padding:0;border:0;border-radius:8px;background:transparent;color:#64748b;font-size:13px;line-height:26px;box-shadow:none}
#modal-overlay #modal-close:hover{background:rgba(15,23,42,.07);color:#0f172a}
#modal-overlay .modal-body{padding:14px 18px}
#modal-overlay .modal-foot{padding:8px 14px 12px;border-top:0;gap:6px;justify-content:flex-end;align-items:center}
#modal-overlay .modal-foot .btn{height:30px;min-height:0;padding:0 14px;font-size:13px;font-weight:600;border-radius:8px;box-shadow:none}
#modal-overlay .modal-foot .btn-outline{background:transparent;border:1px solid rgba(15,23,42,.14);color:#334155}
#modal-overlay .modal-foot .btn-outline:hover{background:rgba(15,23,42,.05)}
#modal-overlay .modal-foot .btn-primary{border:0}
#modal-overlay svg.i{stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
