/* DolyConnection · espace Pro (complète styles.css) */
.centre-bloc { display: block; margin: 16px auto 0; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: var(--surface); color: var(--texte-2); vertical-align: middle; white-space: nowrap;
}
.tag.vert { background: var(--vert-doux); color: var(--vert); }
.tag.magenta { background: var(--magenta-doux); color: var(--magenta); }

.porte {
  display: flex; gap: 12px; border: 1.5px solid var(--trait); border-radius: var(--rayon);
  padding: 14px; margin-bottom: 12px;
}
.porte.inactive { opacity: .6; }
.porte-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--surface); display: grid; place-items: center; font-size: 20px; }
.porte-corps { flex: 1; min-width: 0; }
.porte-titre { font-weight: 700; margin-bottom: 2px; }
.porte p { margin: 0 0 10px; font-size: 14px; color: var(--texte-2); }
.porte .btn { padding: 13px; font-size: 16px; }
.porte .btn-sec { margin-top: 0; }

.carte-siret {
  background: var(--vert-doux); border-radius: 12px; padding: 12px 14px; margin: 12px 0; font-size: 14px; color: #0d5c3d;
}
.carte-siret b { display: block; font-size: 15px; margin-bottom: 2px; }
.carte-siret.alerte { background: var(--orange-doux); color: #8a4b00; }

/* Dossier */
.dos-haut { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.dos-haut .lead { margin-bottom: 12px; }
.bandeau { border-radius: 14px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; background: var(--surface); }
.bandeau b { display: block; font-size: 15px; margin-bottom: 2px; }
.bandeau.ok { background: var(--vert-doux); color: #0d5c3d; }
.bandeau.attente { background: var(--magenta-doux); color: #6e1449; }
.bandeau.alerte { background: #f7e3e1; color: #8b261b; }

.progression { height: 8px; border-radius: 4px; background: var(--surface); overflow: hidden; }
.progression-barre { height: 100%; width: 0; background: linear-gradient(90deg, var(--prune), var(--magenta)); transition: width .4s; }
.prog-txt { font-size: 13px; color: var(--texte-2); margin: 6px 0 8px; }

.etapes-dossier { list-style: none; padding: 0; margin: 0 0 20px; }
.etapes-dossier li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--trait); }
.ed-ico {
  width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: #fff; background: #d8cbd3; margin-top: 1px;
}
.ed-ico.ok { background: var(--vert); }
.ed-ico.attente { background: var(--orange); }
.ed-ico.ko { background: var(--rouge); }
.ed-ico.vide { background: #fff; border: 2px solid var(--trait); color: var(--texte-2); }
.ed-corps { flex: 1; min-width: 0; }
.ed-titre { font-weight: 700; }
.ed-sous { font-size: 13px; color: var(--texte-2); }
.ed-sous.ko { color: var(--rouge); }
.ed-action { flex: none; }
.lien-action { color: var(--magenta); font-weight: 700; background: none; border: 0; font: inherit; font-size: 15px; cursor: pointer; padding: 2px 0; }

.section-pro { margin-bottom: 20px; }
.equipe { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.membre { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--surface); border-radius: 12px; padding: 10px 12px; }
.membre small { display: block; color: var(--texte-2); font-size: 13px; }
.code-invit {
  border: 1.5px dashed #d9b8cc; border-radius: 14px; padding: 14px; text-align: center; margin-top: 10px;
}
.code-invit .code { font-size: 28px; font-weight: 800; letter-spacing: .18em; margin: 4px 0; }
.code-invit p { margin: 0; font-size: 13px; color: var(--texte-2); }
.invits { font-size: 13px; color: var(--texte-2); margin-top: 8px; }
.invits li { display: flex; justify-content: space-between; padding: 4px 0; }
.coord-ligne { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; }
.coord-ligne span:first-child { color: var(--texte-2); }

dialog form { display: flex; flex-direction: column; gap: 10px; }
.lab { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--texte-2); font-weight: 600; }
.lab input { font: inherit; font-size: 15px; border: 1.5px solid var(--trait); border-radius: 10px; padding: 9px 11px; width: 100%; background: var(--carte); color: var(--texte); }
.dlg-actions { display: flex; gap: 10px; margin-top: 4px; }
.dlg-actions .btn { margin: 0; padding: 13px; font-size: 16px; }
.kpi-sous { font-size: 13px; color: var(--texte-2); margin: 0; }
.toast {
  position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50;
  background: var(--prune); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(43,15,36,.3); max-width: calc(100% - 32px);
}
