.cd67em-app{
  --cd67-blue:#003d77;
  --cd67-blue-2:#075594;
  --cd67-blue-soft:#eaf3fb;
  --cd67-red:#ef4130;
  --cd67-red-soft:#fff0ee;
  --cd67-green:#18864b;
  --cd67-orange:#b56b00;
  --cd67-ink:#16324b;
  --cd67-muted:#667b8e;
  --cd67-bg:#f4f7fb;
  --cd67-card:#fff;
  --cd67-border:#dbe5ee;
  --cd67-shadow:0 12px 35px rgba(0,61,119,.09);
  --cd67-radius:18px;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--cd67-ink);
  max-width:1440px;
  margin:0 auto;
  line-height:1.5;
}
.cd67em-app *{box-sizing:border-box}
.cd67em-app h1,.cd67em-app h2,.cd67em-app h3{line-height:1.18;color:var(--cd67-ink)}
.cd67em-app h2{font-size:clamp(1.25rem,2vw,1.65rem);margin:0 0 16px}
.cd67em-app h3{font-size:1.1rem;margin:8px 0}
.cd67em-app p{color:var(--cd67-muted)}

.cd67em-card{
  position:relative;
  background:var(--cd67-card);
  border:1px solid var(--cd67-border);
  border-radius:var(--cd67-radius);
  padding:24px;
  box-shadow:var(--cd67-shadow);
  margin-bottom:20px;
  overflow:hidden;
}
.cd67em-card:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg,var(--cd67-blue),var(--cd67-red));
  opacity:.9;
}
.cd67em-empty{text-align:center;padding:42px 24px}
.cd67em-empty:before{width:100%;height:5px;inset:0 0 auto}
.cd67em-alert{border-color:#ffd3ce;background:var(--cd67-red-soft)}
.cd67em-alert:before{background:var(--cd67-red)}

.cd67em-hero{
  position:relative;
  isolation:isolate;
  background:linear-gradient(125deg,var(--cd67-blue) 0%,var(--cd67-blue-2) 58%,#0c6ab0 100%);
  color:#fff;
  border-radius:24px;
  padding:clamp(26px,5vw,48px);
  margin-bottom:24px;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(0,61,119,.22);
}
.cd67em-hero:after{
  content:"";
  position:absolute;
  width:320px;height:320px;border-radius:50%;
  right:-110px;top:-150px;
  background:rgba(255,255,255,.09);
  z-index:-1;
}
.cd67em-hero:before{
  content:"";
  position:absolute;
  width:190px;height:190px;border-radius:50%;
  right:120px;bottom:-145px;
  background:rgba(239,65,48,.38);
  z-index:-1;
}
.cd67em-hero h1{margin:0 0 12px;color:#fff;font-size:clamp(1.8rem,4vw,3rem);letter-spacing:-.03em}
.cd67em-hero p{color:rgba(255,255,255,.9);max-width:820px;font-size:1.04rem;margin-bottom:0}

.cd67em-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  border:0;
  border-radius:12px;
  background:linear-gradient(135deg,var(--cd67-blue),var(--cd67-blue-2));
  color:#fff!important;
  padding:11px 18px;
  font-weight:750;
  letter-spacing:.01em;
  cursor:pointer;
  box-shadow:0 7px 16px rgba(0,61,119,.18);
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.cd67em-btn:hover,.cd67em-btn:focus-visible{
  background:linear-gradient(135deg,var(--cd67-red),#d93425);
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(239,65,48,.22);
}
.cd67em-btn:disabled{opacity:.58;cursor:not-allowed;transform:none}
.cd67em-btn-secondary{background:var(--cd67-blue-soft);color:var(--cd67-blue)!important;box-shadow:none;border:1px solid #cfe0ef}
.cd67em-btn-secondary:hover{color:#fff!important;border-color:transparent}

.cd67em-app label{display:grid;gap:7px;font-weight:720;margin-bottom:15px;color:var(--cd67-ink)}
.cd67em-app input,.cd67em-app select,.cd67em-app textarea{
  width:100%;
  border:1px solid #c6d4df;
  border-radius:12px;
  padding:12px 13px;
  min-height:46px;
  background:#fff;
  color:var(--cd67-ink);
  font:inherit;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.cd67em-app textarea{min-height:110px;resize:vertical}
.cd67em-app input:focus,.cd67em-app select:focus,.cd67em-app textarea:focus{
  border-color:var(--cd67-blue-2);
  outline:0;
  box-shadow:0 0 0 4px rgba(0,61,119,.10);
}
.cd67em-feedback{margin-top:13px;font-weight:700;color:var(--cd67-blue)}

.cd67em-dashboard{background:var(--cd67-bg);padding:18px;border-radius:24px}
.cd67em-dashboard-head{
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  background:linear-gradient(125deg,var(--cd67-blue),var(--cd67-blue-2));
  color:#fff;
  padding:26px 28px;
  border-radius:20px 20px 8px 8px;
  overflow:hidden;
}
.cd67em-dashboard-head:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-90px;top:-130px;background:#fff1}
.cd67em-dashboard-head h1{margin:0 0 5px;color:#fff;font-size:clamp(1.55rem,3vw,2.2rem)}
.cd67em-dashboard-head p{margin:0;color:#dbeafa}
.cd67em-version{position:relative;background:#fff1;border:1px solid #ffffff50;border-radius:999px;padding:8px 12px;font-weight:750;white-space:nowrap}

.cd67em-tabs{
  display:flex;
  gap:6px;
  overflow:auto;
  scrollbar-width:thin;
  background:#fff;
  border:1px solid var(--cd67-border);
  border-radius:8px 8px 16px 16px;
  padding:8px;
  margin:0 0 22px;
  box-shadow:0 7px 24px rgba(0,61,119,.06);
}
.cd67em-tabs button{
  white-space:nowrap;
  border:0;
  background:transparent;
  padding:12px 16px;
  border-radius:11px;
  font-weight:750;
  color:var(--cd67-blue);
  cursor:pointer;
  transition:.18s ease;
}
.cd67em-tabs button:hover{background:var(--cd67-blue-soft)}
.cd67em-tabs button.is-active{background:var(--cd67-blue);color:#fff;box-shadow:0 6px 14px rgba(0,61,119,.18)}
.cd67em-tab{display:none;animation:cd67emFade .2s ease}
.cd67em-tab.is-active{display:block}
@keyframes cd67emFade{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}

.cd67em-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}
.cd67em-stats article{
  position:relative;
  background:#fff;
  border:1px solid var(--cd67-border);
  border-radius:16px;
  padding:21px;
  display:grid;
  gap:4px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(0,61,119,.06);
}
.cd67em-stats article:after{content:"";position:absolute;width:72px;height:72px;border-radius:50%;right:-20px;top:-22px;background:var(--cd67-blue-soft)}
.cd67em-stats article:nth-child(2):after{background:#fff0ce}
.cd67em-stats article:nth-child(3):after{background:#def5e6}
.cd67em-stats article:nth-child(4):after{background:var(--cd67-red-soft)}
.cd67em-stats strong{font-size:clamp(1.9rem,4vw,2.45rem);line-height:1;color:var(--cd67-blue);letter-spacing:-.04em}
.cd67em-stats span{color:var(--cd67-muted);font-weight:650}

.cd67em-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:4px 0 18px}
.cd67em-toolbar h2{margin:0}
.cd67em-search{max-width:420px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23003D77' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 13px center!important;padding-left:42px!important}

.cd67em-campaign-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.cd67em-campaign{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:150px;margin:0}
.cd67em-campaign h3{font-size:1.22rem}
.cd67em-campaign p{margin:6px 0 0;font-size:.92rem}

.cd67em-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  padding:6px 10px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.045em;
  font-weight:850;
  background:#eef2f5;
  color:#42586b;
}
.cd67em-badge:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.75}
.status-accepted,.status-open{background:#def5e6;color:#176c36}
.status-refused,.status-cancelled{background:#fde5e2;color:#9d2a1e}
.status-waiting,.status-processing,.status-payments{background:#fff0ce;color:#855a00}
.status-pending,.status-draft{background:#e6eef6;color:#315d84}
.status-withdrawn{background:#f0e8f7;color:#6a3f85}
.status-closed{background:#e9edf1;color:#526474}

.cd67em-table-wrap{overflow:auto;background:#fff;border:1px solid var(--cd67-border);border-radius:17px;box-shadow:0 8px 28px rgba(0,61,119,.06)}
.cd67em-table{width:100%;border-collapse:separate;border-spacing:0;min-width:930px}
.cd67em-table th,.cd67em-table td{padding:14px 15px;border-bottom:1px solid #e7edf2;text-align:left;vertical-align:middle}
.cd67em-table th{position:sticky;top:0;background:var(--cd67-blue);color:#fff;font-size:.82rem;text-transform:uppercase;letter-spacing:.045em;z-index:1}
.cd67em-table th:first-child{border-radius:15px 0 0 0}
.cd67em-table th:last-child{border-radius:0 15px 0 0}
.cd67em-table tbody tr:nth-child(even){background:#f9fbfd}
.cd67em-table tbody tr:hover{background:var(--cd67-blue-soft)}
.cd67em-table tbody tr:last-child td{border-bottom:0}
.cd67em-status{min-width:170px;min-height:40px!important;padding:8px 10px!important;font-size:.9rem!important}

.cd67em-dialog{width:min(760px,94vw);max-height:90vh;border:0;border-radius:20px;padding:0;box-shadow:0 30px 80px rgba(0,29,56,.32);overflow:auto}
.cd67em-dialog::backdrop{background:rgba(0,29,56,.72);backdrop-filter:blur(4px)}
.cd67em-campaign-form{padding:0 25px 25px}
.cd67em-dialog-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;background:#fff;padding:23px 0 17px;border-bottom:1px solid var(--cd67-border);margin-bottom:20px}
.cd67em-dialog-head h2{margin:0}
.cd67em-close{width:40px;height:40px;border:0;border-radius:50%;background:var(--cd67-blue-soft);color:var(--cd67-blue);font-size:28px;line-height:1;cursor:pointer}
.cd67em-close:hover{background:var(--cd67-red);color:#fff}
.cd67em-dialog-actions{display:flex;justify-content:flex-end;padding-top:8px}
.cd67em-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}

.cd67em-diagnostic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cd67em-diagnostic>div{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--cd67-border);border-radius:12px;padding:12px 14px;background:#fbfdff}
.cd67em-diagnostic span{font-weight:650;color:var(--cd67-muted)}
.cd67em-diagnostic strong{font-size:.9rem}
.cd67em-diagnostic .ok{color:var(--cd67-green)}
.cd67em-diagnostic .warn{color:var(--cd67-orange)}

.cd67em-checklist{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.cd67em-checklist li{position:relative;padding:11px 13px 11px 43px;border:1px solid var(--cd67-border);border-radius:12px;background:#fbfdff}
.cd67em-checklist li:before{content:'○';position:absolute;left:14px;top:9px;color:#7b8c9a;font-size:19px}
.cd67em-checklist li.done{background:#f2fbf6;border-color:#cfe9d9}
.cd67em-checklist li.done:before{content:'✓';color:var(--cd67-green);font-weight:900}

.cd67em-access form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px}
.cd67em-access form label{margin:0}
.cd67em-family-dossiers{display:grid;gap:10px;margin-top:16px}
.cd67em-family-card{border:1px solid var(--cd67-border);border-radius:13px;padding:14px 15px;display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;background:#fbfdff}
.cd67em-family-card strong{color:var(--cd67-blue)}
.cd67em-family-card em{font-style:normal;border-radius:999px;background:var(--cd67-blue-soft);padding:5px 9px;font-weight:700;color:var(--cd67-blue)}

@media(max-width:980px){
  .cd67em-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cd67em-campaign-grid{grid-template-columns:1fr}
}
@media(max-width:800px){
  .cd67em-dashboard{padding:10px;border-radius:18px}
  .cd67em-dashboard-head,.cd67em-toolbar,.cd67em-campaign{align-items:stretch;flex-direction:column}
  .cd67em-dashboard-head{padding:22px}
  .cd67em-tabs{position:sticky;top:8px;z-index:10}
  .cd67em-grid-2,.cd67em-diagnostic{grid-template-columns:1fr}
  .cd67em-card{padding:18px}
  .cd67em-hero{padding:26px 21px}
  .cd67em-toolbar .cd67em-search{max-width:none}
  .cd67em-access form{grid-template-columns:1fr}
  .cd67em-btn{width:100%}
  .cd67em-campaign .cd67em-btn{width:auto}
}
@media(max-width:520px){
  .cd67em-stats{grid-template-columns:1fr 1fr;gap:10px}
  .cd67em-stats article{padding:17px}
  .cd67em-stats strong{font-size:1.75rem}
  .cd67em-stats span{font-size:.82rem}
  .cd67em-tabs button{padding:10px 12px;font-size:.88rem}
  .cd67em-card{border-radius:15px}
  .cd67em-campaign .cd67em-btn{width:100%}
  .cd67em-family-card{align-items:flex-start;flex-direction:column}
}

/* Version 0.2.0 — tableau de lancement */
.cd67em-kicker{display:inline-block;font-size:.76rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase;opacity:.82;margin-bottom:7px}
.cd67em-campaign-switcher{display:flex;align-items:end;justify-content:space-between;gap:16px;background:#fff;border:1px solid var(--cd67-border);border-radius:0 0 18px 18px;padding:15px 18px;margin-bottom:18px;box-shadow:0 8px 24px rgba(0,61,119,.06)}
.cd67em-campaign-switcher label{margin:0;max-width:620px;flex:1}.cd67em-campaign-switcher select{margin-top:5px}
.cd67em-grid-main{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:18px}
.cd67em-card-head,.cd67em-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}.cd67em-card-head h2,.cd67em-panel-head h2{margin-top:8px}.cd67em-panel-head>div>span{font-size:.74rem;text-transform:uppercase;letter-spacing:.08em;font-weight:850;color:var(--cd67-red)}
.cd67em-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.cd67em-summary-grid>div{border:1px solid var(--cd67-border);background:#f8fbfd;border-radius:12px;padding:13px}.cd67em-summary-grid span{display:block;color:var(--cd67-muted);font-size:.82rem}.cd67em-summary-grid strong{font-size:1.1rem;color:var(--cd67-blue)}
.cd67em-progress{height:12px;background:#e8eef3;border-radius:999px;overflow:hidden}.cd67em-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--cd67-blue),var(--cd67-red));border-radius:inherit}
.cd67em-mini-checklist{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cd67em-mini-checklist li{padding:9px 11px;border-radius:10px;background:#f2f4f6;color:#60717f;font-size:.86rem}.cd67em-mini-checklist li.done{background:#edf8f1;color:#176c36}.cd67em-mini-checklist li.done:before{content:'✓ ';font-weight:900}
.cd67em-launch-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:18px;align-items:start}.cd67em-launch-nav{position:sticky;top:15px;display:grid;gap:7px;background:#fff;border:1px solid var(--cd67-border);border-radius:16px;padding:10px;box-shadow:0 8px 24px rgba(0,61,119,.06)}.cd67em-launch-nav button{border:0;background:transparent;text-align:left;padding:12px 13px;border-radius:10px;color:var(--cd67-blue);font-weight:760;cursor:pointer}.cd67em-launch-nav button:hover{background:var(--cd67-blue-soft)}.cd67em-launch-nav button.is-active{background:var(--cd67-blue);color:#fff}
.cd67em-launch-panel{display:none;background:#fff;border:1px solid var(--cd67-border);border-radius:18px;padding:22px;box-shadow:0 8px 26px rgba(0,61,119,.06)}.cd67em-launch-panel.is-active{display:block;animation:cd67emFade .18s ease}
.cd67em-form-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:22px;padding-top:18px;border-top:1px solid var(--cd67-border)}.cd67em-btn-danger{background:#fff0ee!important;color:var(--cd67-red)!important;border:1px solid #ffd3ce;box-shadow:none}.cd67em-btn-danger:hover{background:var(--cd67-red)!important;color:#fff!important}
.cd67em-repeat-list{display:grid;gap:12px}.cd67em-repeat-row{position:relative;display:grid;grid-template-columns:1.4fr repeat(4,minmax(110px,.8fr)) 42px;gap:10px;align-items:end;border:1px solid var(--cd67-border);border-radius:14px;padding:14px;background:#fbfdff}.cd67em-repeat-row label{margin:0}.cd67em-doc-row,.cd67em-aid-row{grid-template-columns:1.5fr 1.3fr .8fr .65fr 42px}.cd67em-remove{width:38px;height:38px;border-radius:50%;border:0;background:#fde8e5;color:var(--cd67-red);font-size:24px;line-height:1;cursor:pointer}.cd67em-remove:hover{background:var(--cd67-red);color:#fff}.cd67em-check{display:flex!important;align-items:center;gap:8px;min-height:46px;padding:0 8px}.cd67em-check input{width:18px!important;min-height:18px!important;margin:0}
.cd67em-mapping-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cd67em-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.cd67em-choice{position:relative;border:1px solid var(--cd67-border);border-radius:14px;padding:15px;background:#fbfdff;display:grid!important;gap:5px!important;cursor:pointer}.cd67em-choice input{position:absolute;right:12px;top:12px;width:18px!important;min-height:18px!important}.cd67em-choice strong{color:var(--cd67-blue);font-size:1.2rem}.cd67em-choice span{color:var(--cd67-muted);font-size:.85rem}
.cd67em-info-box{border-left:4px solid var(--cd67-blue);background:var(--cd67-blue-soft);border-radius:10px;padding:14px 16px;color:#294d6b;margin-top:12px}.cd67em-table-empty{text-align:center!important;color:var(--cd67-muted);padding:30px!important}.cd67em-section-title{display:flex;gap:14px;align-items:flex-start;margin-bottom:18px}.cd67em-section-title>span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--cd67-blue);color:#fff;font-weight:850;flex:0 0 auto}.cd67em-section-title h2{margin:0}.cd67em-section-title p{margin:3px 0 0}.cd67em-notice{border-left:5px solid var(--cd67-blue)}
@media(max-width:980px){.cd67em-grid-main{grid-template-columns:1fr}.cd67em-launch-layout{grid-template-columns:1fr}.cd67em-launch-nav{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.cd67em-repeat-row,.cd67em-doc-row,.cd67em-aid-row{grid-template-columns:repeat(2,minmax(0,1fr))}.cd67em-remove{position:absolute;right:10px;top:10px}.cd67em-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.cd67em-campaign-switcher{align-items:stretch;flex-direction:column}.cd67em-launch-nav{grid-template-columns:1fr}.cd67em-repeat-row,.cd67em-doc-row,.cd67em-aid-row,.cd67em-mapping-grid,.cd67em-summary-grid,.cd67em-mini-checklist,.cd67em-choice-grid{grid-template-columns:1fr}.cd67em-form-actions{justify-content:stretch}.cd67em-form-actions .cd67em-btn{width:100%}}

/* Version 0.3.0 — séparation plus lisible entre l’envoi et la saisie du code */
.cd67em-code-verify[hidden]{display:none!important}
.cd67em-code-verify{
  margin-top:30px;
  padding-top:2px;
}
.cd67em-code-separator{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  gap:14px;
  width:100%;
  margin:0 0 8px;
  color:#8a9cad;
  font-size:.76rem;
  font-weight:750;
  letter-spacing:.045em;
  line-height:1.35;
  text-align:center;
  text-transform:uppercase;
}
.cd67em-code-separator:before,.cd67em-code-separator:after{
  content:"";
  flex:1 1 auto;
  height:1px;
  background:#c9d7e3;
}
.cd67em-code-separator span{flex:0 1 auto}
@media(max-width:800px){
  .cd67em-code-verify{margin-top:36px}
  .cd67em-code-separator{margin-bottom:10px;font-size:.72rem;gap:12px}
}

/* Version 0.3.1 — dossiers, chronologie, semaines et liste d’attente */
.cd67em-stats-five{grid-template-columns:repeat(5,minmax(0,1fr))}
.cd67em-stats-five article:nth-child(5):after{background:#f6e7ef}
.cd67em-period-capacities{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-bottom:20px}
.cd67em-capacity-card{background:#fff;border:1px solid var(--cd67-border);border-radius:16px;padding:16px;box-shadow:0 7px 22px rgba(0,61,119,.055)}
.cd67em-capacity-card>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:center}.cd67em-capacity-card strong{color:var(--cd67-blue)}.cd67em-capacity-card span,.cd67em-capacity-card small{color:var(--cd67-muted);font-size:.83rem}.cd67em-capacity-card.is-full{border-color:#f1b6af;background:#fff8f7}
.cd67em-capacity-bar{height:8px;background:#e9eff4;border-radius:999px;overflow:hidden;margin:11px 0 8px}.cd67em-capacity-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--cd67-blue),var(--cd67-blue-2));border-radius:inherit}.cd67em-capacity-card.is-full .cd67em-capacity-bar span{background:var(--cd67-red)}
.cd67em-toolbar-stack{display:block}.cd67em-advanced-search{display:grid;grid-template-columns:minmax(260px,2fr) repeat(4,minmax(135px,1fr)) auto;gap:10px;align-items:end;margin-top:14px}.cd67em-advanced-search label{margin:0;font-size:.83rem}.cd67em-filter-search .cd67em-search{max-width:none}.cd67em-filter-reset{min-height:46px}.cd67em-filter-count{margin:9px 0 0;font-size:.88rem;font-weight:700;color:var(--cd67-blue)}
.cd67em-applications-table{min-width:1240px}.cd67em-applications-table td small{display:block;color:var(--cd67-muted);margin-top:4px}.cd67em-applications-table a{color:var(--cd67-blue);text-decoration:none}.cd67em-applications-table a:hover{text-decoration:underline}.cd67em-btn-small{min-height:38px;padding:8px 12px;font-size:.86rem;white-space:nowrap}
.cd67em-period-badges{display:flex;flex-wrap:wrap;gap:5px}.cd67em-period-badges span{background:var(--cd67-blue-soft);color:var(--cd67-blue);border:1px solid #ccdeec;border-radius:999px;padding:4px 8px;font-size:.76rem;font-weight:750}.cd67em-muted{color:var(--cd67-muted);font-size:.87rem}
.cd67em-waiting-order{display:flex;align-items:center;gap:5px}.cd67em-waiting-order strong{color:var(--cd67-orange);min-width:28px}.cd67em-waiting-order button{width:30px;height:30px;border:1px solid var(--cd67-border);border-radius:8px;background:#fff;color:var(--cd67-blue);font-weight:900;cursor:pointer}.cd67em-waiting-order button:hover{background:var(--cd67-blue);color:#fff}
.cd67em-participant-dialog{width:min(1120px,96vw);max-height:94vh}.cd67em-application-form{padding:0 24px 26px}.cd67em-dialog-head-actions{display:flex;align-items:center;gap:8px}.cd67em-participant-loading{text-align:center;padding:70px 20px;color:var(--cd67-muted);font-weight:750}.cd67em-participant-content{display:grid;gap:17px}
.cd67em-profile-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.cd67em-profile-summary>div{background:var(--cd67-blue-soft);border:1px solid #cfdfec;border-radius:13px;padding:13px}.cd67em-profile-summary span{display:block;color:var(--cd67-muted);font-size:.78rem}.cd67em-profile-summary strong{display:block;color:var(--cd67-blue);margin-top:3px}
.cd67em-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cd67em-profile-section{border:1px solid var(--cd67-border);border-radius:15px;background:#fff;padding:17px}.cd67em-profile-section h3{margin:0 0 15px;color:var(--cd67-blue)}.cd67em-help{margin:8px 0 0;font-size:.82rem}
.cd67em-period-choice-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:10px}.cd67em-period-choice{display:flex!important;align-items:flex-start;gap:11px!important;border:1px solid var(--cd67-border);border-radius:13px;padding:13px;background:#fbfdff;cursor:pointer;margin:0!important}.cd67em-period-choice:hover{border-color:#9ab9d1;background:var(--cd67-blue-soft)}.cd67em-period-choice.is-full{background:#fff6f5;border-color:#edc3be}.cd67em-period-choice input{width:18px!important;min-height:18px!important;margin-top:3px}.cd67em-period-choice span{display:grid;gap:3px}.cd67em-period-choice strong{color:var(--cd67-blue)}.cd67em-period-choice small{color:var(--cd67-muted);line-height:1.35}
.cd67em-waiting-position{border-left:4px solid var(--cd67-orange);background:#fff7df;border-radius:9px;padding:11px 13px;color:#775100;font-weight:700}
.cd67em-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cd67em-answers>div{border-bottom:1px solid var(--cd67-border);padding:10px 4px}.cd67em-answers span{display:block;color:var(--cd67-muted);font-size:.79rem}.cd67em-answers strong{display:block;color:var(--cd67-ink);margin-top:3px;white-space:pre-wrap;word-break:break-word}
.cd67em-timeline{position:relative;display:grid;gap:0}.cd67em-timeline:before{content:"";position:absolute;left:8px;top:8px;bottom:8px;width:2px;background:#d9e5ee}.cd67em-timeline article{position:relative;display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px;padding:0 0 18px}.cd67em-timeline article:last-child{padding-bottom:0}.cd67em-timeline-dot{position:relative;z-index:1;width:18px;height:18px;border:4px solid #fff;border-radius:50%;background:var(--cd67-blue);box-shadow:0 0 0 2px #bcd1e1}.cd67em-timeline strong{color:var(--cd67-blue)}.cd67em-timeline p{margin:3px 0;color:var(--cd67-ink);font-size:.88rem}.cd67em-timeline small{color:var(--cd67-muted)}
.cd67em-sticky-actions{position:sticky;bottom:-26px;background:#fff;padding:15px 0 0;z-index:3;align-items:center}.cd67em-sticky-actions .cd67em-feedback{margin:0 auto 0 0}
@media(max-width:1120px){.cd67em-stats-five{grid-template-columns:repeat(3,minmax(0,1fr))}.cd67em-advanced-search{grid-template-columns:repeat(3,minmax(0,1fr))}.cd67em-filter-search{grid-column:1/-1}}
@media(max-width:760px){.cd67em-stats-five{grid-template-columns:repeat(2,minmax(0,1fr))}.cd67em-advanced-search,.cd67em-profile-summary,.cd67em-profile-grid,.cd67em-answers{grid-template-columns:1fr}.cd67em-filter-search{grid-column:auto}.cd67em-dialog-head-actions{align-items:stretch;flex-direction:column-reverse}.cd67em-participant-dialog .cd67em-dialog-head{align-items:flex-start}.cd67em-participant-dialog .cd67em-btn{width:auto}.cd67em-application-form{padding:0 15px 18px}.cd67em-sticky-actions{bottom:-18px;flex-direction:column}.cd67em-sticky-actions .cd67em-feedback{margin:0;width:100%}}
@media(max-width:480px){.cd67em-stats-five{grid-template-columns:1fr 1fr}.cd67em-stats-five article:last-child{grid-column:1/-1}.cd67em-profile-section{padding:14px}.cd67em-period-choice-list{grid-template-columns:1fr}}
@media print{
  body.cd67em-printing-participant *{visibility:hidden!important}
  body.cd67em-printing-participant #cd67em-application-dialog,body.cd67em-printing-participant #cd67em-application-dialog *{visibility:visible!important}
  body.cd67em-printing-participant #cd67em-application-dialog{position:absolute!important;display:block!important;left:0!important;top:0!important;width:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;box-shadow:none!important;border:0!important;overflow:visible!important}
  body.cd67em-printing-participant #cd67em-application-dialog::backdrop{display:none!important}
  body.cd67em-printing-participant .cd67em-dialog-head-actions,body.cd67em-printing-participant .cd67em-sticky-actions{display:none!important}
  body.cd67em-printing-participant .cd67em-profile-section{break-inside:avoid;box-shadow:none}
}


/* Version 0.3.2 — optimisation téléphone, PWA et fiabilisation des semaines */
.cd67em-app{
  width:100%;
  min-width:0;
  padding-left:max(0px,env(safe-area-inset-left));
  padding-right:max(0px,env(safe-area-inset-right));
  overflow-x:clip;
}
.cd67em-app input,
.cd67em-app select,
.cd67em-app textarea,
.cd67em-app button{max-width:100%}
.cd67em-ajax-form.is-saving{opacity:.78;pointer-events:none}
.cd67em-ajax-form.is-saved .cd67em-feedback{color:var(--cd67-green)}
.cd67em-ajax-form.has-error .cd67em-feedback{color:var(--cd67-red)}
.cd67em-period-row{border-left:4px solid var(--cd67-blue)}
.cd67em-period-row:focus-within{border-color:#9ab9d1;box-shadow:0 0 0 4px rgba(0,61,119,.07)}

@media(max-width:900px){
  .cd67em-dashboard{padding:8px;border-radius:16px}
  .cd67em-dashboard-head{padding:20px 18px;border-radius:16px 16px 7px 7px}
  .cd67em-campaign-switcher{padding:13px 14px}
  .cd67em-tabs{
    position:relative;
    top:auto;
    margin-left:-2px;
    margin-right:-2px;
    padding:7px;
    gap:5px;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
  }
  .cd67em-tabs button{scroll-snap-align:center;min-height:44px}
  .cd67em-launch-layout{display:block}
  .cd67em-launch-nav{
    position:relative;
    top:auto;
    display:flex;
    overflow-x:auto;
    gap:6px;
    margin-bottom:12px;
    border-radius:14px;
    padding:7px;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
  }
  .cd67em-launch-nav button{
    flex:0 0 auto;
    min-height:44px;
    white-space:nowrap;
    text-align:center;
    scroll-snap-align:center;
  }
  .cd67em-launch-panel{padding:18px;border-radius:15px}
  .cd67em-panel-head{flex-direction:column;align-items:stretch}
  .cd67em-panel-head>.cd67em-btn{width:100%}
  .cd67em-repeat-row,
  .cd67em-doc-row,
  .cd67em-aid-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
    padding:18px 14px 14px;
    gap:12px;
  }
  .cd67em-repeat-row label:first-of-type{grid-column:1/-1;padding-right:38px}
  .cd67em-remove{position:absolute;top:10px;right:10px;width:36px;height:36px}
  .cd67em-advanced-search{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cd67em-filter-search{grid-column:1/-1}
  .cd67em-filter-reset{width:100%}
  .cd67em-participant-dialog,
  .cd67em-dialog{width:calc(100vw - 20px);max-width:none;max-height:calc(100dvh - 20px);border-radius:16px}
}

@media(max-width:820px){
  .cd67em-app input,
  .cd67em-app select,
  .cd67em-app textarea{font-size:16px!important}
  .cd67em-table-wrap{overflow:visible;border:0;background:transparent;box-shadow:none}
  .cd67em-applications-table{display:block;min-width:0;width:100%}
  .cd67em-applications-table thead{display:none}
  .cd67em-applications-table tbody{display:grid;gap:12px}
  .cd67em-applications-table tr[data-application-row]{
    display:block;
    background:#fff!important;
    border:1px solid var(--cd67-border);
    border-radius:15px;
    padding:7px 14px;
    box-shadow:0 7px 22px rgba(0,61,119,.06);
  }
  .cd67em-applications-table tr[data-application-row][hidden]{display:none!important}
  .cd67em-applications-table td{
    display:grid;
    grid-template-columns:minmax(105px,34%) minmax(0,1fr);
    align-items:start;
    gap:10px;
    width:100%;
    padding:11px 0;
    border-bottom:1px solid #e7edf2;
    overflow-wrap:anywhere;
  }
  .cd67em-applications-table td:last-child{border-bottom:0}
  .cd67em-applications-table td:before{
    content:attr(data-label);
    color:var(--cd67-muted);
    font-size:.74rem;
    font-weight:850;
    letter-spacing:.035em;
    text-transform:uppercase;
  }
  .cd67em-applications-table .cd67em-status{min-width:0;width:100%}
  .cd67em-applications-table .cd67em-btn-small{width:100%}
  .cd67em-applications-table .cd67em-no-applications{display:block}
  .cd67em-applications-table .cd67em-no-applications td{display:block;text-align:center}
  .cd67em-applications-table .cd67em-no-applications td:before{display:none}
  .cd67em-waiting-order{justify-content:flex-start;flex-wrap:wrap}
}

@media(max-width:620px){
  .cd67em-dashboard{padding:4px;background:transparent}
  .cd67em-dashboard-head{padding:18px 15px}
  .cd67em-dashboard-head h1{font-size:1.55rem}
  .cd67em-version{align-self:flex-start;font-size:.8rem}
  .cd67em-campaign-switcher{border-radius:0 0 14px 14px;padding:12px}
  .cd67em-card{padding:16px 14px;margin-bottom:14px}
  .cd67em-hero{border-radius:17px;padding:23px 17px}
  .cd67em-tabs{border-radius:7px 7px 14px 14px;margin-bottom:14px}
  .cd67em-stats,
  .cd67em-stats-five{grid-template-columns:1fr 1fr;gap:9px}
  .cd67em-stats article{padding:15px 13px;min-height:104px}
  .cd67em-stats strong{font-size:1.7rem}
  .cd67em-period-capacities{grid-template-columns:1fr}
  .cd67em-advanced-search{grid-template-columns:1fr}
  .cd67em-filter-search{grid-column:auto}
  .cd67em-launch-panel{padding:15px 12px}
  .cd67em-repeat-row,
  .cd67em-doc-row,
  .cd67em-aid-row{grid-template-columns:1fr;padding:17px 12px 13px}
  .cd67em-repeat-row label:first-of-type{grid-column:auto}
  .cd67em-form-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .cd67em-form-actions .cd67em-btn{width:100%}
  .cd67em-section-title{gap:10px}
  .cd67em-section-title>span{width:34px;height:34px}
  .cd67em-access form{gap:10px}
  .cd67em-access .cd67em-btn{width:100%}
  .cd67em-code-verify{margin-top:34px}
  .cd67em-family-card{padding:13px}
  .cd67em-profile-section{padding:13px}
  .cd67em-profile-summary{grid-template-columns:1fr 1fr}
  .cd67em-participant-dialog,
  .cd67em-dialog{
    width:100vw;
    height:100dvh;
    max-height:100dvh;
    margin:0;
    border-radius:0;
    padding-top:env(safe-area-inset-top);
    padding-bottom:env(safe-area-inset-bottom);
  }
  .cd67em-dialog-head{padding-top:15px}
  .cd67em-application-form{padding:0 12px calc(16px + env(safe-area-inset-bottom))}
  .cd67em-sticky-actions{bottom:calc(-16px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}
}

@media(max-width:390px){
  .cd67em-stats,
  .cd67em-stats-five{grid-template-columns:1fr}
  .cd67em-stats-five article:last-child{grid-column:auto}
  .cd67em-applications-table td{grid-template-columns:1fr;gap:5px}
  .cd67em-applications-table td:before{margin-bottom:1px}
  .cd67em-profile-summary{grid-template-columns:1fr}
}

@media(display-mode:standalone){
  .cd67em-app{padding-bottom:max(10px,env(safe-area-inset-bottom))}
  .cd67em-dashboard{margin-bottom:max(8px,env(safe-area-inset-bottom))}
}

/* Version 0.3.4 — fiche participant modernisée et suppression sécurisée */
.cd67em-participant-dialog{
  width:min(1180px,96vw);
  background:#f4f7fa;
}
.cd67em-participant-dialog .cd67em-application-form{padding:0 24px 24px}
.cd67em-participant-head{
  margin:0 -24px 18px;
  padding:20px 24px 18px;
  background:#fff;
}
.cd67em-participant-identity{display:flex;align-items:center;gap:15px;min-width:0}
.cd67em-participant-avatar{
  flex:0 0 58px;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:linear-gradient(145deg,var(--cd67-blue),var(--cd67-blue-2));
  color:#fff;
  font-weight:900;
  font-size:1.25rem;
  letter-spacing:.04em;
  box-shadow:0 9px 22px rgba(0,61,119,.22);
}
.cd67em-participant-heading{min-width:0}
.cd67em-participant-heading h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cd67em-participant-heading>p{margin:3px 0 8px;color:var(--cd67-muted);font-size:.85rem;overflow-wrap:anywhere}
.cd67em-participant-badges{display:flex;flex-wrap:wrap;gap:7px}
.cd67em-status-pill,.cd67em-public-pill{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:4px 9px;
  border-radius:999px;
  font-size:.74rem;
  line-height:1;
  font-weight:850;
  border:1px solid transparent;
}
.cd67em-status-pill.status-pending{background:#eef2f6;color:#526271;border-color:#dce4eb}
.cd67em-status-pill.status-accepted{background:#e8f7ee;color:#17633c;border-color:#bfe7ce}
.cd67em-status-pill.status-waiting{background:#fff5d9;color:#775100;border-color:#f0dda2}
.cd67em-status-pill.status-refused{background:#fdebea;color:#9f2d27;border-color:#efc1bd}
.cd67em-status-pill.status-withdrawn,.cd67em-status-pill.status-cancelled{background:#f2edf6;color:#684379;border-color:#dcd0e4}
.cd67em-public-pill{background:var(--cd67-blue-soft);color:var(--cd67-blue);border-color:#cfdfec}

.cd67em-profile-tabs{
  position:sticky;
  top:93px;
  z-index:2;
  display:flex;
  gap:6px;
  padding:7px;
  margin:0 0 15px;
  border:1px solid var(--cd67-border);
  border-radius:14px;
  background:rgba(255,255,255,.95);
  box-shadow:0 7px 20px rgba(0,61,119,.06);
  backdrop-filter:blur(8px);
}
.cd67em-profile-tabs button{
  flex:1 1 0;
  min-height:40px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:var(--cd67-muted);
  font-weight:850;
  cursor:pointer;
}
.cd67em-profile-tabs button:hover{background:#edf4f9;color:var(--cd67-blue)}
.cd67em-profile-tabs button.is-active{background:var(--cd67-blue);color:#fff;box-shadow:0 5px 13px rgba(0,61,119,.18)}
.cd67em-profile-panel{display:grid;gap:15px}
.cd67em-profile-panel[hidden]{display:none!important}

.cd67em-profile-summary>div{
  position:relative;
  overflow:hidden;
  min-height:78px;
  background:#fff;
  border-color:var(--cd67-border);
  box-shadow:0 5px 16px rgba(0,61,119,.045);
}
.cd67em-profile-summary>div:after{
  content:"";
  position:absolute;
  right:-18px;
  bottom:-22px;
  width:58px;
  height:58px;
  border-radius:50%;
  background:var(--cd67-blue-soft);
}
.cd67em-profile-summary strong{position:relative;z-index:1;font-size:.94rem}
.cd67em-contact-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cd67em-contact-shortcut{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  padding:12px 14px;
  border:1px solid var(--cd67-border);
  border-radius:13px;
  background:#fff;
  color:var(--cd67-ink);
  text-decoration:none!important;
  box-shadow:0 5px 16px rgba(0,61,119,.04);
}
.cd67em-contact-shortcut>span{
  flex:0 0 38px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:var(--cd67-blue-soft);
  color:var(--cd67-blue);
  font-size:1rem;
}
.cd67em-contact-shortcut div{min-width:0}
.cd67em-contact-shortcut small{display:block;color:var(--cd67-muted);font-size:.72rem}
.cd67em-contact-shortcut strong{display:block;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--cd67-blue)}
.cd67em-contact-shortcut:hover{border-color:#9ab9d1;transform:translateY(-1px)}
.cd67em-contact-shortcut.is-disabled{pointer-events:none;opacity:.62}

.cd67em-profile-section{
  box-shadow:0 6px 20px rgba(0,61,119,.045);
}
.cd67em-profile-section-wide{min-height:300px}
.cd67em-section-heading{display:flex;align-items:flex-start;gap:11px;margin:0 0 16px}
.cd67em-section-heading>span{
  flex:0 0 36px;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:var(--cd67-blue-soft);
  color:var(--cd67-blue);
  font-weight:900;
}
.cd67em-section-heading h3{margin:0!important}
.cd67em-section-heading p{margin:3px 0 0;color:var(--cd67-muted);font-size:.78rem}
.cd67em-profile-section label{font-size:.82rem;font-weight:750;color:#3b4a58}
.cd67em-profile-section input,.cd67em-profile-section select,.cd67em-profile-section textarea{margin-top:6px;background:#fbfdff}
.cd67em-profile-section textarea{resize:vertical;min-height:135px}

.cd67em-answers{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cd67em-answers>article{
  min-width:0;
  padding:13px 14px;
  border:1px solid var(--cd67-border);
  border-radius:12px;
  background:#fbfdff;
}
.cd67em-answers>article span{display:block;color:var(--cd67-muted);font-size:.76rem;font-weight:700}
.cd67em-answers>article strong{display:block;margin-top:5px;color:var(--cd67-ink);white-space:pre-wrap;overflow-wrap:anywhere}

.cd67em-sticky-actions{
  display:flex;
  justify-content:space-between;
  gap:14px;
  margin:0 -24px -24px;
  padding:14px 24px calc(14px + env(safe-area-inset-bottom));
  border-top:1px solid var(--cd67-border);
  background:rgba(255,255,255,.97);
  box-shadow:0 -10px 25px rgba(0,61,119,.07);
  backdrop-filter:blur(8px);
}
.cd67em-danger-actions,.cd67em-save-actions{display:flex;align-items:center;gap:10px}
.cd67em-save-actions{margin-left:auto}
.cd67em-save-actions .cd67em-feedback{margin:0;color:var(--cd67-muted);font-size:.84rem}
.cd67em-btn-danger-outline{
  background:#fff!important;
  color:#b8322b!important;
  border:1px solid #e4aaa5!important;
  box-shadow:none!important;
}
.cd67em-btn-danger-outline:hover{background:#b8322b!important;color:#fff!important;border-color:#b8322b!important}

@media(max-width:760px){
  .cd67em-participant-dialog .cd67em-application-form{padding:0 13px 14px}
  .cd67em-participant-head{margin:0 -13px 12px;padding:14px 13px 13px;align-items:flex-start}
  .cd67em-participant-identity{align-items:flex-start;gap:11px}
  .cd67em-participant-avatar{flex-basis:46px;width:46px;height:46px;border-radius:14px;font-size:1rem}
  .cd67em-participant-heading h2{font-size:1.22rem;white-space:normal}
  .cd67em-participant-heading>p{font-size:.75rem}
  .cd67em-dialog-head-actions{flex-direction:row-reverse;align-items:center}
  .cd67em-dialog-head-actions .cd67em-btn{display:none}
  .cd67em-profile-tabs{top:77px;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .cd67em-profile-tabs button{flex:0 0 auto;min-width:118px}
  .cd67em-contact-shortcuts{grid-template-columns:1fr}
  .cd67em-answers{grid-template-columns:1fr}
  .cd67em-sticky-actions{margin:0 -13px -14px;padding:12px 13px calc(12px + env(safe-area-inset-bottom));flex-direction:column-reverse;align-items:stretch}
  .cd67em-danger-actions,.cd67em-save-actions{width:100%;display:grid;grid-template-columns:1fr}
  .cd67em-save-actions .cd67em-feedback{text-align:center;min-height:18px}
  .cd67em-sticky-actions .cd67em-btn{width:100%}
}

@media(max-width:390px){
  .cd67em-profile-summary{grid-template-columns:1fr 1fr}
  .cd67em-profile-summary>div{min-height:72px;padding:11px}
  .cd67em-profile-summary strong{font-size:.86rem}
  .cd67em-participant-badges{gap:5px}
  .cd67em-status-pill,.cd67em-public-pill{font-size:.68rem}
}

@media print{
  body.cd67em-printing-participant .cd67em-profile-tabs{display:none!important}
  body.cd67em-printing-participant .cd67em-profile-panel[hidden]{display:grid!important}
  body.cd67em-printing-participant .cd67em-contact-shortcuts{display:none!important}
  body.cd67em-printing-participant .cd67em-participant-dialog{background:#fff!important}
}
.cd67em-participant-dialog .cd67em-sticky-actions{bottom:0}
@media(max-width:760px){.cd67em-participant-dialog .cd67em-sticky-actions{bottom:0}}


/* Version 0.3.5 — fiche participant réellement responsive sur mobile et PWA */
html.cd67em-modal-open,
body.cd67em-modal-open{
  overflow:hidden!important;
  overscroll-behavior:none;
  touch-action:none;
}

@media(max-width:760px){
  .cd67em-participant-dialog{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    max-width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    padding:0!important;
    border-radius:0!important;
    overflow:hidden!important;
    background:#f4f7fa!important;
  }
  .cd67em-participant-dialog::backdrop{
    background:#f4f7fa;
    backdrop-filter:none;
  }
  .cd67em-participant-dialog .cd67em-application-form{
    display:flex;
    flex-direction:column;
    width:100%;
    height:100dvh;
    min-height:0;
    padding:0!important;
    overflow:hidden;
  }
  .cd67em-participant-dialog .cd67em-participant-loading,
  .cd67em-participant-dialog .cd67em-participant-content{
    min-height:0;
  }
  .cd67em-participant-dialog .cd67em-participant-content{
    display:flex;
    flex:1 1 auto;
    flex-direction:column;
    gap:0;
    overflow-y:auto;
    overflow-x:hidden;
    padding:0 12px calc(102px + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
  }
  .cd67em-participant-head{
    position:sticky;
    top:0;
    z-index:12;
    flex:0 0 auto;
    margin:0 -12px 10px!important;
    padding:calc(12px + env(safe-area-inset-top)) 12px 12px!important;
    border-bottom:1px solid var(--cd67-border);
    box-shadow:0 4px 15px rgba(0,61,119,.07);
  }
  .cd67em-participant-identity{
    width:100%;
    min-width:0;
  }
  .cd67em-participant-heading{
    flex:1 1 auto;
    min-width:0;
    padding-right:44px;
  }
  .cd67em-participant-heading h2{
    margin:0!important;
    font-size:1.08rem!important;
    line-height:1.2;
    overflow-wrap:anywhere;
  }
  .cd67em-participant-heading>p{
    line-height:1.3;
  }
  .cd67em-dialog-head-actions{
    position:absolute;
    top:calc(10px + env(safe-area-inset-top));
    right:10px;
    z-index:14;
  }
  .cd67em-dialog-head-actions form{margin:0}
  .cd67em-dialog-head-actions .cd67em-btn{display:none!important}
  .cd67em-dialog-head-actions .cd67em-icon-btn{
    width:40px;
    min-width:40px;
    height:40px;
    border-radius:12px;
    background:#fff;
    box-shadow:0 3px 12px rgba(0,61,119,.12);
  }
  .cd67em-profile-tabs{
    position:sticky!important;
    top:calc(82px + env(safe-area-inset-top))!important;
    z-index:11;
    width:calc(100% + 24px);
    margin:0 -12px 12px!important;
    padding:7px 12px!important;
    border-width:0 0 1px!important;
    border-radius:0!important;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
    background:rgba(244,247,250,.97)!important;
  }
  .cd67em-profile-tabs::-webkit-scrollbar{display:none}
  .cd67em-profile-tabs button{
    flex:0 0 auto!important;
    min-width:max-content!important;
    min-height:42px;
    padding:0 16px;
    white-space:nowrap;
  }
  .cd67em-profile-panel{
    gap:12px;
  }
  .cd67em-profile-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .cd67em-profile-summary>div{
    min-height:70px!important;
    padding:10px!important;
  }
  .cd67em-profile-summary small,
  .cd67em-profile-summary strong{
    overflow-wrap:anywhere;
  }
  .cd67em-contact-shortcuts{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .cd67em-contact-shortcut{
    min-height:58px;
    padding:10px 12px!important;
  }
  .cd67em-profile-grid,
  .cd67em-answers,
  .cd67em-period-choices{
    grid-template-columns:1fr!important;
  }
  .cd67em-profile-section{
    padding:13px!important;
    border-radius:14px!important;
  }
  .cd67em-section-heading{
    margin-bottom:12px!important;
  }
  .cd67em-profile-section input,
  .cd67em-profile-section select,
  .cd67em-profile-section textarea{
    width:100%!important;
    max-width:100%!important;
    min-height:46px;
    font-size:16px!important;
    box-sizing:border-box;
  }
  .cd67em-profile-section textarea{
    min-height:120px;
  }
  .cd67em-period-choice{
    align-items:flex-start;
    min-width:0;
  }
  .cd67em-period-choice span,
  .cd67em-period-choice small{
    overflow-wrap:anywhere;
  }
  .cd67em-answers>article{
    padding:11px 12px!important;
  }
  .cd67em-timeline article{
    grid-template-columns:18px minmax(0,1fr)!important;
  }
  .cd67em-sticky-actions{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    z-index:20!important;
    width:100%!important;
    margin:0!important;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    border-radius:0!important;
  }
  .cd67em-danger-actions,
  .cd67em-save-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    gap:8px!important;
    margin:0!important;
  }
  .cd67em-sticky-actions .cd67em-btn{
    width:100%!important;
    min-height:46px;
  }
  .cd67em-save-actions .cd67em-feedback{
    order:2;
    min-height:0!important;
    margin:0!important;
    font-size:.75rem!important;
    text-align:center;
  }
}

@media(max-width:380px){
  .cd67em-profile-summary{grid-template-columns:1fr!important}
  .cd67em-participant-avatar{
    flex-basis:42px!important;
    width:42px!important;
    height:42px!important;
  }
  .cd67em-participant-heading{padding-right:40px}
  .cd67em-status-pill,.cd67em-public-pill{font-size:.64rem!important}
}

@media(display-mode:standalone) and (max-width:760px){
  .cd67em-participant-dialog{
    height:100dvh!important;
    max-height:100dvh!important;
  }
}


/* Version 0.3.6 — fiche participant en lecture seule */
.cd67em-readonly-application-form input[readonly],
.cd67em-readonly-application-form textarea[readonly],
.cd67em-readonly-application-form select:disabled{
  background:#f7f9fc!important;
  color:#24364b!important;
  border-color:#dbe3ec!important;
  cursor:default;
  opacity:1!important;
  -webkit-text-fill-color:#24364b;
}
.cd67em-readonly-application-form .cd67em-period-choice{cursor:default}
.cd67em-readonly-application-form .cd67em-period-choice input:disabled{opacity:1}
.cd67em-readonly-notice{
  display:inline-flex;align-items:center;min-height:42px;padding:10px 14px;border-radius:12px;
  background:#eef4fa;color:#003d77;font-weight:750;font-size:.9rem;line-height:1.35
}
@media(max-width:760px){
  .cd67em-readonly-notice{width:100%;font-size:.84rem;padding:10px 12px}
}

/* Version 0.4 — Documents */
.cd67em-document-progress{margin:0 0 16px;padding:12px 14px;border-radius:12px;background:#eef5fb;color:#003d77;font-weight:700}
.cd67em-doc-summary{display:grid;gap:10px;margin-bottom:16px;padding:14px;border:1px solid #dbe5ef;border-radius:16px;background:#fff}
.cd67em-doc-summary>div:first-child{display:flex;align-items:baseline;gap:8px}.cd67em-doc-summary strong{font-size:1.45rem;color:#003d77}.cd67em-doc-summary span{color:#526273}.cd67em-doc-summary em{font-style:normal;font-weight:700;color:#a54522}.cd67em-doc-summary em.is-complete{color:#237a43}
.cd67em-doc-progressbar{height:9px!important;border-radius:99px;background:#e8edf2;overflow:hidden}.cd67em-doc-progressbar span{display:block;height:100%;background:#003d77;border-radius:inherit;transition:width .25s ease}
.cd67em-doc-items{display:grid;gap:12px}.cd67em-doc-item{padding:15px;border:1px solid #dbe5ef;border-left:5px solid #9aa9b8;border-radius:15px;background:#fff}.cd67em-doc-item.status-validated{border-left-color:#27945a}.cd67em-doc-item.status-pending,.cd67em-doc-item.status-received{border-left-color:#e2a02b}.cd67em-doc-item.status-rejected{border-left-color:#ef4130}.cd67em-doc-item.status-missing{border-left-color:#9aa9b8;background:#fafbfc}
.cd67em-doc-item-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.cd67em-doc-item-head>div{display:grid;gap:2px}.cd67em-doc-item-head strong{color:#153047}.cd67em-doc-item-head small{color:#6a7885}.cd67em-doc-item-head>span{padding:5px 9px;border-radius:99px;background:#edf2f6;font-size:.78rem;font-weight:800;white-space:nowrap}.cd67em-doc-item p{margin:10px 0;color:#526273;overflow-wrap:anywhere}.cd67em-doc-note{margin:9px 0;padding:9px 11px;border-radius:10px;background:#fff1ef;color:#8e2b20}
.cd67em-doc-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.cd67em-upload-label{position:relative;overflow:hidden;cursor:pointer}.cd67em-upload-label input{position:absolute;inset:0;opacity:0;cursor:pointer}.cd67em-btn-warning{background:#c77a09!important;border-color:#c77a09!important}.cd67em-family-dossier{display:block!important}.cd67em-family-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.cd67em-family-dossier-summary{display:grid;gap:12px;min-width:0;flex:1}.cd67em-family-dossier-row{display:grid;gap:3px;padding-bottom:10px;border-bottom:1px solid #e6edf3}.cd67em-family-dossier-row:last-child{padding-bottom:0;border-bottom:0}.cd67em-family-dossier-row>span{color:#667789;font-size:.76rem;font-weight:800;letter-spacing:.035em;text-transform:uppercase}.cd67em-family-dossier-row>strong{display:block;color:#153047;font-size:1rem;line-height:1.35;overflow-wrap:anywhere}.cd67em-family-dossier-row:nth-child(2)>strong{font-variant-numeric:tabular-nums}.cd67em-family-documents{margin-top:16px;padding-top:16px;border-top:1px solid #e0e7ee}
@media(max-width:700px){.cd67em-doc-item{padding:13px}.cd67em-doc-item-head{align-items:flex-start}.cd67em-doc-actions{display:grid;grid-template-columns:1fr 1fr}.cd67em-doc-actions .cd67em-btn,.cd67em-doc-actions .cd67em-upload-label{width:100%;justify-content:center;text-align:center;min-height:44px}.cd67em-family-card-head{display:grid}.cd67em-family-card-head em{justify-self:start}.cd67em-profile-tabs button{min-width:max-content}.cd67em-document-list{max-width:100%;overflow:hidden}}
@media(max-width:430px){.cd67em-doc-actions{grid-template-columns:1fr}.cd67em-doc-item-head{display:grid}.cd67em-doc-item-head>span{justify-self:start}.cd67em-doc-summary>div:first-child{display:grid;gap:0}}

/* Correctif 0.4.1 : ouverture de secours des fiches dans les PWA et anciens WebView. */
.cd67em-participant-dialog.cd67em-dialog-fallback-open {
  display: block !important;
  position: fixed !important;
  inset: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  z-index: 2147483000 !important;
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  overflow: auto !important;
  background: #fff;
}
.cd67em-participant-dialog.cd67em-dialog-fallback-open::backdrop { background: rgba(0,0,0,.58); }
@media (max-width: 767px) {
  .cd67em-participant-dialog.cd67em-dialog-fallback-open { inset: 0; border-radius: 0; }
}

/* Version 0.4.2 — dossier en page complète et suivi documentaire visible */
.cd67em-doc-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:50px;padding:6px 10px;border-radius:999px;font-weight:850;background:#fff1ef;color:#a63427}.cd67em-doc-count-badge.is-complete{background:#e7f7ee;color:#237a43}.cd67em-applications-table td[data-label="Documents"] small{display:block;margin-top:4px;color:#657585}
.cd67em-dossier-page{max-width:1180px;margin:0 auto;padding-bottom:40px}.cd67em-dossier-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.cd67em-back-link{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:12px;background:#eef4fa;color:#003d77;font-weight:800;text-decoration:none}.cd67em-dossier-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:24px;border-radius:20px;background:linear-gradient(135deg,#003d77,#07599c);color:#fff;box-shadow:0 14px 34px rgba(0,61,119,.18)}.cd67em-dossier-hero h1{margin:2px 0 4px;color:#fff;font-size:clamp(1.5rem,4vw,2.3rem)}.cd67em-dossier-hero p{margin:0;color:rgba(255,255,255,.82)}.cd67em-dossier-hero .cd67em-participant-avatar{background:#fff;color:#003d77}.cd67em-dossier-statuses{display:grid;justify-items:end;gap:8px}.cd67em-dossier-nav{position:sticky;top:8px;z-index:20;display:flex;gap:8px;margin:14px 0;padding:8px;border:1px solid #dce5ee;border-radius:15px;background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(0,61,119,.08);overflow-x:auto}.cd67em-dossier-nav a{flex:0 0 auto;padding:10px 14px;border-radius:10px;color:#003d77;font-weight:800;text-decoration:none;white-space:nowrap}.cd67em-dossier-nav a:hover{background:#eef4fa}.cd67em-dossier-nav strong{margin-left:5px;padding:2px 6px;border-radius:99px;background:#003d77;color:#fff;font-size:.72rem}.cd67em-dossier-main{display:grid;gap:16px}.cd67em-dossier-section{scroll-margin-top:85px;padding:20px;border:1px solid #dce5ee;border-radius:18px;background:#fff;box-shadow:0 8px 25px rgba(0,61,119,.06)}.cd67em-dossier-section h2{margin:0;color:#003d77}.cd67em-readonly-list{display:grid;gap:0;margin:10px 0 0}.cd67em-readonly-list>div{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(0,1.3fr);gap:14px;padding:12px 0;border-bottom:1px solid #edf1f5}.cd67em-readonly-list>div:last-child{border-bottom:0}.cd67em-readonly-list dt{color:#6b7885;font-weight:700}.cd67em-readonly-list dd{margin:0;color:#183047;font-weight:800;overflow-wrap:anywhere}.cd67em-danger-zone{border-color:#f3c7c1;background:#fffafa}.cd67em-danger-zone h2{color:#a63427}
@media(max-width:760px){.cd67em-dossier-page{margin:0 -8px;padding:0 8px calc(24px + env(safe-area-inset-bottom))}.cd67em-dossier-topbar{position:sticky;top:0;z-index:30;margin:0 -8px 10px;padding:calc(8px + env(safe-area-inset-top)) 8px 8px;background:#f4f7fa}.cd67em-dossier-topbar .cd67em-version{display:none}.cd67em-dossier-hero{grid-template-columns:auto minmax(0,1fr);gap:12px;padding:16px;border-radius:16px}.cd67em-dossier-hero .cd67em-participant-avatar{width:48px;height:48px}.cd67em-dossier-statuses{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-items:start}.cd67em-dossier-nav{top:calc(58px + env(safe-area-inset-top));margin:10px -8px;padding:7px 8px;border-radius:0;border-left:0;border-right:0}.cd67em-dossier-section{padding:14px;border-radius:14px}.cd67em-profile-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.cd67em-readonly-list>div{grid-template-columns:1fr;gap:3px}.cd67em-documents-section .cd67em-doc-actions{grid-template-columns:1fr 1fr}.cd67em-applications-table td[data-label="Documents"]{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px}.cd67em-applications-table td[data-label="Documents"] small{margin:0}}
@media(max-width:430px){.cd67em-profile-summary{grid-template-columns:1fr}.cd67em-documents-section .cd67em-doc-actions{grid-template-columns:1fr}}


/* Version 0.4.3 — réponses Fluent Forms mises en page */
.cd67em-dossier-page #preinscription .cd67em-answers{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.cd67em-dossier-page #preinscription .cd67em-answers>article{
  min-width:0;
  padding:16px 18px;
  border:1px solid var(--cd67-border);
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(0,61,119,.055);
}
.cd67em-dossier-page #preinscription .cd67em-answers>article span{
  display:block;
  margin-bottom:7px;
  color:#5d6b78;
  font-size:.78rem;
  font-weight:800;
  line-height:1.35;
  text-transform:uppercase;
  letter-spacing:.035em;
}
.cd67em-dossier-page #preinscription .cd67em-answers>article strong{
  display:block;
  color:var(--cd67-ink);
  font-size:.98rem;
  font-weight:650;
  line-height:1.55;
  overflow-wrap:anywhere;
}
@media(max-width:760px){
  .cd67em-dossier-page #preinscription .cd67em-answers{grid-template-columns:1fr;gap:10px}
  .cd67em-dossier-page #preinscription .cd67em-answers>article{padding:14px;border-radius:14px}
}
/* Version 0.5 — aides et paiements */
.cd67em-payment-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.cd67em-payment-summary>div{background:#f6f8fb;border:1px solid #dce4ed;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:5px}.cd67em-payment-summary span{font-size:.82rem;color:#657386}.cd67em-payment-summary strong{font-size:1.15rem;color:#003d77}.cd67em-payment-summary .is-total{background:#003d77}.cd67em-payment-summary .is-total span,.cd67em-payment-summary .is-total strong{color:#fff}.cd67em-aid-public{margin:18px 0}.cd67em-family-aid-form,.cd67em-admin-aids article{border:1px solid #dce4ed;border-radius:15px;padding:15px;margin:12px 0;background:#fff}.cd67em-family-aid-form{display:grid;grid-template-columns:1.1fr 1fr 1fr auto;gap:12px;align-items:end}.cd67em-family-aid-form strong{align-self:center;color:#003d77}.cd67em-aid-status{grid-column:1/-1;font-size:.86rem;color:#657386}.cd67em-installment-choice{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px}.cd67em-installment-choice h4{grid-column:1/-1}.cd67em-installment-choice .cd67em-choice{cursor:pointer;border:1px solid #ccd8e5;background:#fff;border-radius:14px;padding:14px;text-align:left}.cd67em-installment-choice .cd67em-choice:hover{border-color:#ef4130}.cd67em-payment-status{margin-top:16px;background:#eef5fb;border-left:4px solid #003d77;padding:14px;border-radius:10px;display:flex;flex-direction:column;gap:7px}.cd67em-admin-aids article{display:grid;grid-template-columns:1fr 1.4fr;gap:16px}.cd67em-admin-aids article>div{display:flex;flex-direction:column;gap:5px}.cd67em-admin-aid-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}.cd67em-payment-admin{max-width:100%}
@media(max-width:760px){.cd67em-payment-summary{grid-template-columns:1fr}.cd67em-family-aid-form{grid-template-columns:1fr}.cd67em-installment-choice{grid-template-columns:1fr 1fr}.cd67em-admin-aids article{grid-template-columns:1fr}.cd67em-admin-aid-form{grid-template-columns:1fr}.cd67em-installment-choice .cd67em-choice{min-height:72px}.cd67em-family-payment .cd67em-btn{width:100%}}
@media(max-width:420px){.cd67em-installment-choice{grid-template-columns:1fr}}


/* Version 0.5.1 — assistant HelloAsso réservé aux administrateurs */
.cd67em-api-assistant{margin:22px 0;padding:20px;border:1px solid #cbdbea;border-radius:18px;background:linear-gradient(180deg,#f8fbfe,#fff);box-shadow:0 10px 28px rgba(0,61,119,.07)}
.cd67em-api-assistant-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.cd67em-api-assistant-head h3{margin:5px 0;color:#003d77}.cd67em-api-assistant-head p{margin:0;color:#657386}.cd67em-lock-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#e8f1fa;color:#003d77;font-size:.75rem;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.cd67em-api-state{display:inline-flex;align-items:center;padding:8px 11px;border-radius:999px;font-size:.8rem;white-space:nowrap}.cd67em-api-state.is-ready{background:#e7f7ee;color:#237a43}.cd67em-api-state.is-incomplete{background:#fff0ed;color:#a63427}
.cd67em-api-checks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 20px}.cd67em-api-checks>div{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #dae4ee;border-radius:13px;background:#fff}.cd67em-api-checks>div>span{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:#edf2f6;color:#5d6d7d;font-weight:900}.cd67em-api-checks .is-ok>span{background:#e5f7ed;color:#237a43}.cd67em-api-checks .is-missing>span{background:#fff0ed;color:#a63427}.cd67em-api-checks .is-optional>span{background:#fff7e7;color:#9a6500}.cd67em-api-checks p{display:grid;gap:2px;margin:0}.cd67em-api-checks strong{color:#19334a;font-size:.88rem}.cd67em-api-checks small{color:#6b7885;font-size:.74rem;line-height:1.25}.cd67em-copy-field{display:flex;gap:7px}.cd67em-copy-field input{min-width:0}.cd67em-copy-field .cd67em-btn{flex:0 0 auto}.cd67em-restricted-box{display:flex;gap:13px;align-items:flex-start;margin:20px 0;padding:16px;border:1px solid #d7e2ec;border-radius:15px;background:#f6f8fb}.cd67em-restricted-box>span{font-size:1.35rem}.cd67em-restricted-box strong{color:#003d77}.cd67em-restricted-box p{margin:4px 0;color:#526273}.cd67em-restricted-box small{color:#6b7885}.cd67em-api-actions{justify-content:flex-start}
@media(max-width:900px){.cd67em-api-checks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.cd67em-api-assistant{padding:14px}.cd67em-api-assistant-head{display:grid}.cd67em-api-state{justify-self:start}.cd67em-api-checks{grid-template-columns:1fr}.cd67em-copy-field{display:grid}.cd67em-copy-field .cd67em-btn{width:100%}.cd67em-api-actions .cd67em-btn{width:100%}.cd67em-restricted-box{padding:13px}}


/* Version 0.5.3 — déclaration des aides côté famille */
.cd67em-section-title{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:18px}.cd67em-section-title span{display:block;color:#ef4130;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.cd67em-section-title h4{margin:2px 0 0;color:#003d77;font-size:22px}.cd67em-section-title p{margin:0;max-width:520px;color:#637083}.cd67em-family-aid-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cd67em-family-aid-card{background:#fff;border:1px solid #dbe4ee;border-radius:16px;padding:18px;box-shadow:0 8px 24px rgba(0,61,119,.06)}.cd67em-family-aid-card.is-saved{border-color:#86c8a1}.cd67em-family-aid-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}.cd67em-family-aid-card-head strong{display:block;color:#003d77;font-size:18px}.cd67em-family-aid-card-head small{display:block;margin-top:3px;color:#6b7785}.cd67em-family-aid-form{display:grid;gap:12px}.cd67em-family-aid-form label{display:grid;gap:6px;font-weight:700;color:#25364a}.cd67em-family-aid-form input[type=number],.cd67em-family-aid-form input[type=file]{width:100%;min-height:46px;border:1px solid #cbd7e3;border-radius:10px;padding:10px 12px;background:#fff;font-size:16px}.cd67em-family-aid-form input[type=file]{padding:8px}.cd67em-proof-present{padding:8px 10px;border-radius:9px;background:#f1f7f3;color:#2f6c45;overflow-wrap:anywhere}.cd67em-aid-form-feedback{min-height:0;font-size:14px;font-weight:700}.cd67em-aid-form-feedback.is-success{color:#18733d}.cd67em-aid-form-feedback.is-error{color:#b42318}.cd67em-aid-status{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef4fa;color:#003d77;font-size:12px;font-weight:800;white-space:nowrap}
@media(max-width:720px){.cd67em-section-title{display:block}.cd67em-section-title p{margin-top:8px}.cd67em-family-aid-grid{grid-template-columns:1fr}.cd67em-family-aid-card{padding:15px}.cd67em-family-aid-card-head{align-items:center}.cd67em-family-aid-form .cd67em-btn{width:100%;min-height:48px}}

/* Centre de communication — version 0.6 */
.cd67em-communication-layout,.cd67em-communication-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.85fr);gap:20px;align-items:start}
.cd67em-template-list{display:grid;gap:12px;margin:18px 0}
.cd67em-template-card{border:1px solid #dbe4ec;border-radius:14px;background:#fff;overflow:hidden}
.cd67em-template-card summary{display:flex;justify-content:space-between;gap:12px;padding:16px 18px;cursor:pointer;font-weight:800;color:#003d77;background:#f7fafc}
.cd67em-template-card[open] summary{border-bottom:1px solid #dbe4ec}.cd67em-template-card>label,.cd67em-template-card>.cd67em-grid-2,.cd67em-template-card>.cd67em-template-options{margin:14px 18px}
.cd67em-template-card textarea{font-family:inherit;line-height:1.55}.cd67em-template-options{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.cd67em-variables-help{padding:14px 16px;margin:16px 0;border-radius:12px;background:#eef5fb;color:#26445e;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.cd67em-email-history{margin-top:24px}.cd67em-email-history>article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px 0;border-top:1px solid #e8edf1}.cd67em-email-history article small:last-child{grid-column:1/-1;color:#657786}
.cd67em-conversation{display:grid;gap:16px}.cd67em-message-thread{display:flex;flex-direction:column;gap:10px;max-height:480px;overflow:auto;padding:8px 2px}.cd67em-message{max-width:82%;display:grid;gap:5px}.cd67em-message>div{padding:12px 14px;border-radius:15px;line-height:1.5;overflow-wrap:anywhere}.cd67em-message small{font-size:11px;color:#657786}.cd67em-message.is-mine{align-self:flex-end}.cd67em-message.is-mine>div{background:#003d77;color:#fff;border-bottom-right-radius:4px}.cd67em-message.is-mine small{text-align:right}.cd67em-message.is-other{align-self:flex-start}.cd67em-message.is-other>div{background:#eef2f5;color:#263746;border-bottom-left-radius:4px}
.cd67em-message-form{display:grid;gap:10px;padding-top:14px;border-top:1px solid #e3e9ee}.cd67em-family-communication{margin-top:20px;padding-top:18px;border-top:1px solid #e3e9ee}.cd67em-family-communication h3{color:#003d77;margin:0 0 14px}.cd67em-family-communication .cd67em-message-thread{max-height:320px}
@media(max-width:850px){.cd67em-communication-layout,.cd67em-communication-grid{grid-template-columns:1fr}.cd67em-template-card summary{padding:14px}.cd67em-template-card>label,.cd67em-template-card>.cd67em-grid-2,.cd67em-template-card>.cd67em-template-options{margin:12px 14px}.cd67em-message{max-width:92%}}
@media(max-width:520px){.cd67em-message{max-width:96%}.cd67em-message>div{padding:11px 12px}.cd67em-template-options{display:grid;gap:8px}.cd67em-communication-layout .cd67em-card{padding:16px}}


/* Retour visible lors de la création d'un paiement HelloAsso */
.cd67em-checkout-feedback{margin-top:16px;padding:13px 15px;border-radius:12px;font-size:14px;line-height:1.45;background:#eef4f9;color:#003d77;border:1px solid rgba(0,61,119,.16)}
.cd67em-checkout-feedback.is-loading{position:relative;padding-left:42px}
.cd67em-checkout-feedback.is-loading:before{content:'';position:absolute;left:15px;top:50%;width:16px;height:16px;margin-top:-8px;border:2px solid rgba(0,61,119,.25);border-top-color:#003d77;border-radius:50%;animation:cd67em-spin .75s linear infinite}
.cd67em-checkout-feedback.is-success{background:#edf8f1;color:#176b38;border-color:#b9e2c7}
.cd67em-checkout-feedback.is-error{background:#fff0ef;color:#a2261c;border-color:#f2c3bf}
@keyframes cd67em-spin{to{transform:rotate(360deg)}}


/* Version 0.6.8 — activation des paiements et suppression des aides */
.cd67em-payment-activation{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;margin:0 0 20px;border:1px solid #dce4ed;border-radius:16px;background:#f7f9fc}.cd67em-payment-activation.is-enabled{border-color:#9fd3b1;background:#effaf3}.cd67em-payment-activation.is-disabled{border-color:#efd59a;background:#fff9ec}.cd67em-payment-activation p{margin:5px 0 0;color:#647386}.cd67em-switch{display:flex;align-items:center;gap:10px;cursor:pointer;flex-shrink:0}.cd67em-switch input{position:absolute;opacity:0;pointer-events:none}.cd67em-switch span{width:52px;height:29px;border-radius:999px;background:#aeb9c5;position:relative;transition:.2s}.cd67em-switch span:after{content:"";position:absolute;width:23px;height:23px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.22);transition:.2s}.cd67em-switch input:checked+span{background:#16834b}.cd67em-switch input:checked+span:after{transform:translateX(23px)}.cd67em-switch em{font-style:normal;font-weight:700;white-space:nowrap}.cd67em-aid-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.cd67em-payment-closed{display:flex;flex-direction:column;gap:4px;border-left-color:#d59a18;background:#fff8e8}.cd67em-payment-closed strong{color:#6f4b00}
@media(max-width:760px){.cd67em-payment-activation{align-items:flex-start;flex-direction:column}.cd67em-switch{width:100%;justify-content:space-between}.cd67em-aid-actions{display:grid;grid-template-columns:1fr}.cd67em-aid-actions .cd67em-btn{width:100%}}

/* Version 0.6.11 — harmonisation de l’interface */
.cd67em-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 16px;padding:10px 14px;border:1px solid #dce5ee;border-radius:12px;background:#fff;color:#687787;font-size:.84rem;box-shadow:0 5px 18px rgba(0,61,119,.045)}
.cd67em-breadcrumb a{color:#003d77;font-weight:750;text-decoration:none}.cd67em-breadcrumb strong{color:#153047}.cd67em-breadcrumb span[aria-hidden=true]{color:#9aa7b4}
.cd67em-dashboard-head,.cd67em-card,.cd67em-dossier-section,.cd67em-launch-panel{box-shadow:0 10px 28px rgba(0,61,119,.065)}
.cd67em-tabs button,.cd67em-launch-nav button{transition:background-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}
.cd67em-tabs button:hover,.cd67em-launch-nav button:hover{transform:translateY(-1px)}
.cd67em-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;font-weight:800;letter-spacing:.005em;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease}
.cd67em-btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(0,61,119,.14)}
.cd67em-launch-panel .cd67em-panel-head h2,.cd67em-dossier-section h2{font-size:clamp(1.18rem,2.2vw,1.55rem)}
.cd67em-card-head h2{font-size:clamp(1.2rem,2.3vw,1.65rem)}
@media(max-width:760px){
  .cd67em-breadcrumb{margin:0 0 10px;padding:9px 10px;border-radius:10px;font-size:.77rem;white-space:nowrap;overflow-x:auto;flex-wrap:nowrap}
  .cd67em-dashboard-head{padding:18px 16px}.cd67em-dashboard-head h1{font-size:1.55rem}
  .cd67em-campaign-switcher{gap:10px}.cd67em-campaign-switcher label,.cd67em-campaign-switcher .cd67em-btn{width:100%}
  .cd67em-tabs{scrollbar-width:none;-webkit-overflow-scrolling:touch}.cd67em-tabs::-webkit-scrollbar{display:none}.cd67em-tabs button{min-height:45px;white-space:nowrap}
  .cd67em-launch-layout{display:block}.cd67em-launch-nav{position:sticky;top:0;z-index:25;display:flex;gap:7px;margin:0 -8px 12px;padding:8px;overflow-x:auto;background:#f4f7fa;border-bottom:1px solid #dce5ee;scrollbar-width:none}.cd67em-launch-nav::-webkit-scrollbar{display:none}.cd67em-launch-nav button{flex:0 0 auto;width:auto;min-height:43px;padding:9px 12px;white-space:nowrap}
  .cd67em-launch-panel{padding:15px;border-radius:14px}.cd67em-panel-head{display:block}.cd67em-panel-head>div{width:100%}
  .cd67em-form-actions{position:sticky;bottom:0;z-index:15;margin:16px -15px -15px;padding:11px 15px calc(11px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid #dce5ee;backdrop-filter:blur(8px)}
  .cd67em-form-actions .cd67em-btn{width:100%;min-height:48px}
}

/* =========================================================
   CD67 Event Manager 0.6.14 — Refonte interface application
   ========================================================= */
:root{
  --cd67-navy:#002c5a;
  --cd67-navy-deep:#001f42;
  --cd67-blue:#003D77;
  --cd67-blue-bright:#075da6;
  --cd67-red:#ef4130;
  --cd67-bg:#f5f8fc;
  --cd67-border:#dce5ef;
  --cd67-shadow:0 14px 34px rgba(0,42,86,.09);
}
.cd67em-app{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#102a43}
.cd67em-public-v2{max-width:1180px;margin:0 auto;padding:18px 12px 34px}
.cd67em-public-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(360px,.85fr);gap:30px;align-items:center;background:linear-gradient(120deg,#002c5a 0%,#004f92 68%,#0872bb 100%);border-radius:24px;padding:42px 46px;color:#fff;overflow:hidden;box-shadow:0 20px 50px rgba(0,42,86,.22)}
.cd67em-public-hero:before{content:"";position:absolute;right:-80px;top:-135px;width:390px;height:390px;border-radius:50%;border:1px solid rgba(255,255,255,.09);box-shadow:0 0 0 45px rgba(255,255,255,.025),0 0 0 90px rgba(255,255,255,.018)}
.cd67em-public-hero-copy,.cd67em-public-facts{position:relative;z-index:1}
.cd67em-public-eyebrow{display:inline-flex;background:var(--cd67-red);color:#fff;border-radius:999px;padding:7px 14px;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;font-weight:850;margin-bottom:16px}
.cd67em-public-hero h1{color:#fff;font-size:clamp(2rem,4.5vw,3.7rem);line-height:1.04;letter-spacing:-.04em;margin:0 0 18px}
.cd67em-public-meta{display:flex;flex-wrap:wrap;gap:18px;font-weight:700}.cd67em-public-meta span{display:inline-flex;align-items:center;gap:8px}.cd67em-public-meta b{font-size:1.1rem}
.cd67em-public-description{margin-top:18px;color:rgba(255,255,255,.88);max-width:680px}.cd67em-public-description p{color:inherit;margin:0}
.cd67em-public-facts{display:grid;background:#fff;color:#0e2c4b;border-radius:20px;padding:18px;box-shadow:0 18px 40px rgba(0,25,55,.2)}
.cd67em-public-facts article{display:flex;align-items:center;gap:14px;padding:15px 10px;border-bottom:1px solid #e7edf4}.cd67em-public-facts article:last-child{border-bottom:0}
.cd67em-fact-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#003D77,#075da6);color:#fff;font-size:1.2rem;flex:0 0 auto}.cd67em-fact-icon.is-red{background:linear-gradient(135deg,#ef4130,#c82419)}
.cd67em-public-facts strong{display:block;color:#092c52;font-size:1.05rem}.cd67em-public-facts small{color:#687d91}
.cd67em-public-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}
.cd67em-public-steps article{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--cd67-border);border-radius:18px;padding:20px;box-shadow:var(--cd67-shadow);min-height:105px}
.cd67em-public-steps article>span{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:#e9f0f7;color:#688099;font-size:1.2rem;font-weight:900;flex:0 0 auto}
.cd67em-public-steps article.is-done>span{background:#daf4e3;color:#159447}.cd67em-public-steps article.is-current{border-color:#b7d2ec;background:linear-gradient(135deg,#fff,#f3f8fd)}.cd67em-public-steps article.is-current>span{background:var(--cd67-blue);color:#fff}
.cd67em-public-steps h3{margin:0 0 5px;color:#082d57;font-size:1rem}.cd67em-public-steps p{margin:0;color:#6b8094;font-size:.9rem}
.cd67em-public-notice{display:flex;align-items:flex-start;gap:16px;padding:24px;margin-bottom:22px}.cd67em-notice-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#e7f0f9;color:var(--cd67-blue);font-weight:900;flex:0 0 auto}.cd67em-public-notice h2{margin:0 0 7px}.cd67em-public-notice p{margin:0;color:#6b7f91}
.cd67em-access-modern{padding:28px 30px;border-left:4px solid var(--cd67-blue);box-shadow:var(--cd67-shadow)}
.cd67em-access-heading{display:flex;align-items:flex-start;gap:15px;margin-bottom:22px}.cd67em-access-heading h2{margin:0 0 6px;color:#092f5d}.cd67em-access-heading p{margin:0;color:#6d8093}.cd67em-access-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#e7f0f9;color:#003D77;font-size:1.5rem;font-weight:900;flex:0 0 auto}
.cd67em-access-modern form{grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end}.cd67em-access-modern .cd67em-code-verify{margin-top:14px}.cd67em-access-modern .cd67em-btn{min-height:48px;padding-inline:23px}.cd67em-secure-note{margin:14px 0 0;color:#708294;font-size:.85rem}

/* Tableau de bord en mode application */
.cd67em-dashboard{max-width:none!important;padding:0!important;background:#f4f7fb;border-radius:24px;overflow:hidden;box-shadow:0 24px 65px rgba(0,40,80,.15);border:1px solid #dce5ef}
.cd67em-appbar{border-radius:0!important;padding:18px 26px!important;min-height:82px;background:linear-gradient(90deg,#002a57,#003d77)!important}
.cd67em-appbar-brand{display:flex;align-items:center;gap:16px}.cd67em-appbar-mark{width:50px;height:50px;border:1px solid rgba(255,255,255,.35);border-radius:14px;display:grid;place-items:center;font-size:1.15rem;font-weight:900;background:rgba(255,255,255,.08)}
.cd67em-appbar h1{font-size:1.45rem!important;margin:1px 0 0!important}.cd67em-appbar .cd67em-kicker{color:#bad7ee;font-size:.74rem}.cd67em-appbar-actions{display:flex;align-items:center;gap:12px}.cd67em-appbar .cd67em-version{background:#ffffff14;padding:7px 11px;font-size:.8rem}
.cd67em-campaign-topbar{margin:0!important;padding:14px 20px!important;background:#fff;border-bottom:1px solid var(--cd67-border);display:flex;align-items:end;justify-content:space-between;gap:18px}.cd67em-campaign-topbar label{display:flex;align-items:center;gap:12px;margin:0;font-size:.86rem}.cd67em-campaign-topbar select{min-width:330px;margin:0}
.cd67em-dashboard-workspace{display:grid;grid-template-columns:270px minmax(0,1fr);min-height:760px}
.cd67em-dashboard-sidebar{background:linear-gradient(180deg,#002a57 0%,#003b73 65%,#00264f 100%);color:#fff;padding:22px 14px 16px;display:flex;flex-direction:column;min-width:0}
.cd67em-sidebar-title{padding:0 12px 10px;color:#8eb9db;font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;font-weight:800}
.cd67em-dashboard-sidebar .cd67em-tabs{display:grid;gap:6px;margin:0;padding:0;background:transparent;border:0;box-shadow:none;overflow:visible}
.cd67em-dashboard-sidebar .cd67em-tabs button{display:flex;align-items:center;gap:12px;text-align:left;color:#eaf4fc;padding:13px 14px;border-radius:11px;font-size:.92rem;line-height:1.3;white-space:normal}
.cd67em-dashboard-sidebar .cd67em-tabs button span{width:26px;text-align:center;font-size:1.05rem;color:#6dc2ff}
.cd67em-dashboard-sidebar .cd67em-tabs button:hover{background:#ffffff10}.cd67em-dashboard-sidebar .cd67em-tabs button.is-active{background:#ffffff18;box-shadow:none;color:#fff}.cd67em-dashboard-sidebar .cd67em-tabs button.is-active span{color:#fff}
.cd67em-sidebar-footer{margin-top:auto;padding:18px 12px 4px;border-top:1px solid #ffffff1f;color:#c9ddec;font-size:.8rem}.cd67em-sidebar-footer small{color:#8fb2ce}
.cd67em-dashboard-content{min-width:0;padding:20px 24px 32px;background:#f5f8fc}.cd67em-dashboard-content .cd67em-breadcrumb{margin:0 0 16px;padding:0;background:transparent;border:0;box-shadow:none;font-size:.8rem;color:#73879a}
.cd67em-dashboard-content .cd67em-tab{min-width:0}
.cd67em-dashboard .cd67em-card{border-radius:18px;box-shadow:0 10px 30px rgba(0,47,92,.07)}
.cd67em-dashboard .cd67em-stats{gap:14px}.cd67em-dashboard .cd67em-stats article{border-radius:16px;padding:18px;box-shadow:0 8px 24px rgba(0,47,92,.06)}
.cd67em-dashboard .cd67em-stats strong{font-size:2rem}.cd67em-dashboard .cd67em-grid-main{gap:16px}
.cd67em-dashboard .cd67em-period-capacities{gap:14px}.cd67em-dashboard .cd67em-capacity-card{border-radius:16px}
.cd67em-launch-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px}.cd67em-launch-nav{position:sticky;top:15px;align-self:start;background:#fff;border:1px solid var(--cd67-border);border-radius:16px;padding:10px;box-shadow:0 9px 26px rgba(0,47,92,.06)}
.cd67em-launch-nav button{border-radius:10px!important}.cd67em-launch-content{min-width:0}.cd67em-launch-panel{border-radius:18px!important}
.cd67em-table-wrap{box-shadow:0 12px 35px rgba(0,47,92,.07);border-radius:18px}.cd67em-table th{background:#003D77}.cd67em-toolbar-stack{background:#fff;border:1px solid var(--cd67-border);border-radius:18px;padding:18px;box-shadow:0 8px 24px rgba(0,47,92,.06)}

@media (max-width:980px){
  .cd67em-public-hero{grid-template-columns:1fr;padding:34px}.cd67em-public-facts{grid-template-columns:repeat(3,1fr)}.cd67em-public-facts article{border-bottom:0;border-right:1px solid #e7edf4}.cd67em-public-facts article:last-child{border-right:0}
  .cd67em-dashboard-workspace{grid-template-columns:88px minmax(0,1fr)}.cd67em-dashboard-sidebar{padding-inline:9px}.cd67em-sidebar-title,.cd67em-sidebar-footer{display:none}.cd67em-dashboard-sidebar .cd67em-tabs button{justify-content:center;padding:14px 8px;font-size:0}.cd67em-dashboard-sidebar .cd67em-tabs button span{font-size:1.25rem;width:auto}.cd67em-launch-layout{grid-template-columns:1fr}.cd67em-launch-nav{position:static;display:flex;overflow:auto}.cd67em-launch-nav button{white-space:nowrap}
}
@media (max-width:700px){
  .cd67em-public-v2{padding:8px}.cd67em-public-hero{padding:26px 22px;border-radius:20px}.cd67em-public-facts{grid-template-columns:1fr}.cd67em-public-facts article{border-right:0;border-bottom:1px solid #e7edf4}.cd67em-public-steps{grid-template-columns:1fr;gap:10px}.cd67em-public-steps article{min-height:auto;padding:16px}.cd67em-access-modern{padding:22px 18px}.cd67em-access-modern form{grid-template-columns:1fr}.cd67em-access-modern .cd67em-btn{width:100%}
  .cd67em-appbar{padding:14px 16px!important}.cd67em-appbar-mark{width:42px;height:42px}.cd67em-appbar h1{font-size:1.15rem!important}.cd67em-appbar .cd67em-kicker{display:none}.cd67em-campaign-topbar{align-items:stretch;flex-direction:column}.cd67em-campaign-topbar label{display:grid;gap:7px}.cd67em-campaign-topbar select{min-width:0;width:100%}.cd67em-campaign-topbar .cd67em-btn{width:100%}
  .cd67em-dashboard-workspace{display:block}.cd67em-dashboard-sidebar{position:sticky;top:0;z-index:20;padding:8px;background:#002f60}.cd67em-dashboard-sidebar .cd67em-tabs{display:flex;overflow-x:auto;gap:6px}.cd67em-dashboard-sidebar .cd67em-tabs button{font-size:0;min-width:52px;height:48px;padding:10px}.cd67em-dashboard-sidebar .cd67em-tabs button span{font-size:1.15rem}.cd67em-dashboard-content{padding:14px 10px 24px}.cd67em-dashboard-content .cd67em-breadcrumb{display:none}
  .cd67em-stats,.cd67em-stats-five{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cd67em-grid-main,.cd67em-campaign-grid,.cd67em-diagnostic,.cd67em-grid-2{grid-template-columns:1fr!important}.cd67em-toolbar-stack{padding:14px}.cd67em-advanced-search{grid-template-columns:1fr!important}.cd67em-table-wrap{border:0;background:transparent;box-shadow:none;overflow:visible}.cd67em-table{min-width:0}.cd67em-table thead{display:none}.cd67em-table tbody,.cd67em-table tr,.cd67em-table td{display:block;width:100%}.cd67em-table tr{background:#fff!important;border:1px solid var(--cd67-border);border-radius:16px;margin-bottom:12px;padding:12px;box-shadow:0 8px 24px rgba(0,47,92,.06)}.cd67em-table td{border:0;padding:8px 0 8px 42%;position:relative;min-height:34px}.cd67em-table td:before{content:attr(data-label);position:absolute;left:0;top:8px;width:39%;font-size:.72rem;text-transform:uppercase;letter-spacing:.045em;color:#73879a;font-weight:800}.cd67em-table td[data-label="Actions"]{padding-left:0}.cd67em-table td[data-label="Actions"]:before{display:none}.cd67em-table td[data-label="Actions"] .cd67em-btn{width:100%}
}

.cd67em-info-box.cd67em-info-error{border-color:#f2b8b5;background:#fff4f3;color:#8f1d16}

/* Version 0.6.17 — Formulaire Fluent Forms des documents */
.cd67em-family-document-form{margin-top:22px;padding:22px;border:1px solid #dbe5ee;border-radius:18px;background:#f8fbfd;box-shadow:0 10px 28px rgba(0,61,119,.06)}
.cd67em-family-document-form .cd67em-section-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:18px}
.cd67em-family-document-form .cd67em-section-title>span{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:#e6f0fa;color:#003d77;font-size:20px}
.cd67em-family-document-form .cd67em-section-title h3{margin:0;color:#003d77;font-size:20px}
.cd67em-family-document-form .cd67em-section-title p{margin:4px 0 0;color:#607286}
.cd67em-family-document-form .ff-el-group{margin-bottom:16px}
.cd67em-family-document-form .ff-btn-submit{background:#003d77!important;border-color:#003d77!important;border-radius:10px!important;min-height:46px!important;padding:11px 20px!important;font-weight:800!important}
.cd67em-family-document-form .ff-btn-submit:hover{background:#ef4130!important;border-color:#ef4130!important}
.cd67em-family-document-form input,.cd67em-family-document-form select,.cd67em-family-document-form textarea{border-radius:10px!important}
@media(max-width:760px){.cd67em-family-document-form{margin:16px -2px 0;padding:15px;border-radius:14px}.cd67em-family-document-form .cd67em-section-title h3{font-size:18px}.cd67em-family-document-form .ff-btn-submit{width:100%!important}}
\n\n/* Version 0.6.18 — informations publiques détaillées par semaine */\n.cd67em-public-periods{margin:22px 0 24px}\n.cd67em-public-periods-head{margin-bottom:14px}\n.cd67em-public-periods-kicker{display:block;margin-bottom:4px;color:#ef4130;font-size:.76rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}\n.cd67em-public-periods-head h2{margin:0;color:#082f5c;font-size:clamp(1.35rem,2.4vw,1.8rem)}\n.cd67em-public-periods-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}\n.cd67em-public-period-card{overflow:hidden;border:1px solid #dbe5ef;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(0,47,92,.075);transition:transform .18s ease,box-shadow .18s ease}\n.cd67em-public-period-card:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(0,47,92,.11)}\n.cd67em-public-period-card-top{display:flex;align-items:flex-start;gap:13px;padding:19px 20px 17px}\n.cd67em-public-period-icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:13px;background:#e8f1fa;font-size:1.22rem}\n.cd67em-public-period-card h3{margin:1px 0 5px;color:#003d77;font-size:1.14rem}\n.cd67em-public-period-card p{margin:0;color:#667b8e;font-size:.9rem;line-height:1.45}\n.cd67em-public-period-details{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #e4ebf2;background:#f8fafc}\n.cd67em-public-period-details>div{padding:14px 18px}\n.cd67em-public-period-details>div+div{border-left:1px solid #e4ebf2}\n.cd67em-public-period-details span{display:block;margin-bottom:3px;color:#708294;font-size:.72rem;font-weight:800;letter-spacing:.055em;text-transform:uppercase}\n.cd67em-public-period-details strong{color:#092f5d;font-size:1.12rem}\n@media(max-width:700px){\n  .cd67em-public-periods{margin:16px 0 18px}\n  .cd67em-public-periods-grid{grid-template-columns:1fr;gap:11px}\n  .cd67em-public-period-card-top{padding:16px}\n  .cd67em-public-period-details>div{padding:12px 15px}\n}\n
/* Version 0.6.19 — cartes des semaines directement dans la bannière publique */
.cd67em-public-periods-in-hero{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));column-gap:24px;row-gap:24px;align-content:start}
.cd67em-public-periods-in-hero .cd67em-hero-period-card{display:block;overflow:hidden;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:18px;background:rgba(255,255,255,.98);box-shadow:0 14px 34px rgba(0,30,66,.18)}
.cd67em-hero-period-title{display:flex;align-items:flex-start;gap:12px;padding:17px 18px 14px}
.cd67em-hero-period-title .cd67em-fact-icon{flex:0 0 42px}
.cd67em-hero-period-title strong{display:block;margin:1px 0 4px;color:#003d77;font-size:1.08rem;line-height:1.2}
.cd67em-hero-period-title small{display:block;color:#657a8d;font-size:.84rem;line-height:1.4}
.cd67em-hero-period-direction{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;padding:0 18px 15px;color:#466076;font-size:.79rem}
.cd67em-hero-period-direction span{font-weight:800;color:#003d77}
.cd67em-hero-period-direction strong{color:#183b5c}
.cd67em-hero-period-direction a{grid-column:2;color:#003d77;font-weight:700;text-decoration:none;overflow-wrap:anywhere}
.cd67em-hero-period-direction a:hover{text-decoration:underline}
.cd67em-hero-period-info{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #e3eaf1;background:#f7f9fc}
.cd67em-hero-period-info span{padding:12px 16px;color:#63778a;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.035em}
.cd67em-hero-period-info span+span{border-left:1px solid #e3eaf1;text-align:right}
.cd67em-hero-period-info b{color:#082f5c;font-size:1rem;letter-spacing:0;text-transform:none}
.cd67em-public-periods-in-hero .cd67em-secure-dossier-card{min-height:74px}
@media(max-width:760px){
  .cd67em-public-periods-in-hero{grid-template-columns:1fr;row-gap:16px;column-gap:16px}
  .cd67em-hero-period-title{padding:14px 15px 12px}
  .cd67em-hero-period-info span{padding:10px 14px}
}


/* Version 0.6.20 — navigation entre pré-inscription et dossier */
.cd67em-family-shortcuts{display:flex;justify-content:flex-end;gap:10px;margin:18px 0 6px}
.cd67em-back-to-registration{white-space:nowrap}
.cd67em-public-form-card{scroll-margin-top:110px}
.cd67em-family-dossiers{scroll-margin-top:110px}
@media (max-width:700px){
  .cd67em-family-shortcuts{justify-content:stretch;margin-top:16px}
  .cd67em-family-shortcuts .cd67em-btn{width:100%}
  .cd67em-public-form-card,.cd67em-family-dossiers{scroll-margin-top:86px}
}


/* Version 0.6.23 — direction de chaque semaine */
.cd67em-period-row{
  grid-template-columns:repeat(4,minmax(0,1fr));
  padding-right:58px;
}
.cd67em-period-row>label:first-of-type{grid-column:span 2}
.cd67em-period-row>label:nth-of-type(7),
.cd67em-period-row>label:nth-of-type(8){grid-column:span 2}
.cd67em-period-row>.cd67em-remove{position:absolute;right:10px;top:10px}
@media(max-width:980px){
  .cd67em-period-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cd67em-period-row>label:first-of-type,
  .cd67em-period-row>label:nth-of-type(7),
  .cd67em-period-row>label:nth-of-type(8){grid-column:1/-1}
}
@media(max-width:680px){
  .cd67em-period-row{grid-template-columns:1fr;padding-right:48px}
  .cd67em-period-row>label:first-of-type,
  .cd67em-period-row>label:nth-of-type(7),
  .cd67em-period-row>label:nth-of-type(8){grid-column:auto}
  .cd67em-hero-period-direction{grid-template-columns:1fr;gap:2px;padding:0 15px 13px}
  .cd67em-hero-period-direction a{grid-column:auto}
}

/* 0.6.24 — parcours documentaire unifié et règle d’ouverture du paiement */
.cd67em-family-document-form{overflow:hidden}
.cd67em-family-document-form .cd67em-family-documents{margin-top:0;padding-top:0;border-top:0}
.cd67em-family-document-upload{margin-top:20px;padding-top:20px;border-top:1px solid #d7e2ec}
.cd67em-family-document-upload>h4{margin:0;color:#003d77;font-size:18px}
.cd67em-family-document-upload>p{margin:5px 0 18px;color:#607286}
.cd67em-document-payment-rule{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:12px 14px;border-radius:12px;background:#eef5fb;color:#294d6b}
.cd67em-document-payment-rule>span{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:#003d77;color:#fff;font-weight:800}
.cd67em-document-payment-rule p{margin:1px 0 0;line-height:1.45}
.cd67em-document-payment-setting{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,420px);gap:24px;align-items:end;margin:0 0 22px;padding:18px;border:1px solid #d9e4ee;border-radius:16px;background:#f7fafc}
.cd67em-document-payment-setting strong{display:block;color:#003d77;font-size:17px}
.cd67em-document-payment-setting p{margin:5px 0 0;color:#607286}
.cd67em-document-payment-setting label{margin:0}
@media(max-width:760px){.cd67em-document-payment-setting{grid-template-columns:1fr;gap:14px;padding:15px}.cd67em-family-document-upload{margin-top:16px;padding-top:16px}}


/* 0.6.25 — dépôt direct dans chaque document du dossier */
.cd67em-document-upload-help{margin:12px 0 0;color:#6a7d8f;font-size:.84rem}
.cd67em-family-documents .cd67em-doc-items{display:grid;gap:12px}
.cd67em-family-documents .cd67em-doc-item{padding:16px;border:1px solid #dce6ef;border-radius:15px;background:#fff}
.cd67em-family-documents .cd67em-doc-item.status-missing{border-style:dashed;background:#fbfcfd}
.cd67em-family-documents .cd67em-doc-actions{margin-top:12px}
.cd67em-family-documents .cd67em-upload-label{background:#003d77!important;border-color:#003d77!important;color:#fff!important}
.cd67em-family-documents .cd67em-upload-label:hover{background:#ef4130!important;border-color:#ef4130!important}
.cd67em-family-documents .cd67em-upload-label.is-uploading{opacity:.68;pointer-events:none}
.cd67em-doc-upload-feedback{min-height:20px;margin-top:8px;color:#315b7d;font-size:.84rem;font-weight:700}
@media(max-width:680px){
  .cd67em-family-documents .cd67em-doc-actions{display:grid;grid-template-columns:1fr}
  .cd67em-family-documents .cd67em-doc-actions .cd67em-btn,.cd67em-family-documents .cd67em-upload-label{width:100%;justify-content:center;text-align:center}
}

/* ==========================================================
   Version 0.7 — Exports, documents et statistiques
   ========================================================== */
.cd67em-report-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}.cd67em-report-header h2{margin:4px 0 8px;font-size:clamp(24px,3vw,34px);color:#0d2542}.cd67em-report-header p{margin:0;max-width:780px;color:#5d6d7e}.cd67em-report-stats{grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:24px}.cd67em-report-stats article{min-height:112px}.cd67em-report-stats article strong{font-size:clamp(22px,2.5vw,32px)}.cd67em-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:22px}.cd67em-report-card{height:100%}.cd67em-report-card-wide{grid-column:1/-1}.cd67em-report-form{display:grid;gap:18px}.cd67em-report-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px;margin:0;padding:18px;border:1px solid #dce5ef;border-radius:16px;background:#f8fbfe}.cd67em-report-columns legend{padding:0 8px;font-weight:700;color:#173b63}.cd67em-report-columns .cd67em-check{margin:0;align-items:flex-start}.cd67em-operational-reports,.cd67em-period-reporting{margin-top:22px}.cd67em-operational-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cd67em-operational-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,210px) auto;gap:12px;align-items:center;padding:14px;border:1px solid #dfe7f0;border-radius:14px;background:#fff}.cd67em-operational-item div{display:grid;gap:4px}.cd67em-operational-item small{color:#6d7c8c}.cd67em-operational-item select{margin:0}.cd67em-report-table-wrap{overflow-x:auto}.cd67em-report-table td:first-child strong,.cd67em-report-table td:first-child small{display:block}.cd67em-report-table td:first-child small{margin-top:4px;color:#728091}.cd67em-report-table .cd67em-capacity-bar{min-width:120px;margin-bottom:5px}.cd67em-dossier-topbar-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
@media(max-width:1180px){.cd67em-report-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.cd67em-report-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.cd67em-report-grid{grid-template-columns:1fr}.cd67em-report-card-wide{grid-column:auto}.cd67em-operational-grid{grid-template-columns:1fr}.cd67em-operational-item{grid-template-columns:1fr}.cd67em-operational-item .cd67em-btn{width:100%}.cd67em-report-columns{grid-template-columns:1fr}.cd67em-report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.cd67em-dossier-topbar{align-items:flex-start}.cd67em-dossier-topbar-actions{justify-content:flex-end}}
@media(max-width:520px){.cd67em-report-stats{grid-template-columns:1fr 1fr}.cd67em-report-stats article{min-height:96px;padding:16px 12px}.cd67em-report-header h2{font-size:25px}.cd67em-dossier-topbar-actions{width:100%;justify-content:space-between}.cd67em-dossier-topbar-actions .cd67em-btn{flex:1}}
.cd67em-distribution-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:22px}.cd67em-distribution-list{display:grid;gap:14px}.cd67em-distribution-list>div{display:grid;gap:7px}.cd67em-distribution-list span{display:flex;align-items:center;justify-content:space-between;gap:12px}.cd67em-distribution-list span small{color:#6f7d8b}.cd67em-distribution-bar{height:9px;border-radius:999px;background:#e7eef6;overflow:hidden}.cd67em-distribution-bar i{display:block;height:100%;border-radius:inherit;background:#003d77}
@media(max-width:980px){.cd67em-distribution-grid{grid-template-columns:1fr}}

/* Version 0.7.1 — journal général et mode démonstration */
.cd67em-appbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.cd67em-demo-toggle{appearance:none;border:1px solid rgba(255,255,255,.32);background:rgba(255,255,255,.1);color:#fff;border-radius:999px;padding:9px 14px;font-weight:700;cursor:pointer}
.cd67em-demo-toggle:hover,.cd67em-demo-toggle.is-active{background:#fff;color:#003D77}
.cd67em-demo-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:16px 20px;border:1px solid #f2c46d;border-radius:16px;background:#fff7e8;color:#664100}
.cd67em-demo-banner div{display:flex;flex-direction:column;gap:3px}.cd67em-demo-banner strong{font-size:17px}.cd67em-demo-banner span{font-size:14px}
.cd67em-audit-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.cd67em-audit-header h2{margin:4px 0 6px}.cd67em-audit-header p{margin:0;color:#657786}
.cd67em-audit-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.cd67em-audit-card{padding:20px}.cd67em-audit-filters{display:grid;grid-template-columns:minmax(220px,2fr) repeat(3,minmax(150px,1fr)) auto;align-items:end;gap:12px}.cd67em-audit-filters label{margin:0}.cd67em-audit-count{margin:12px 0;color:#657786;font-size:14px}
.cd67em-audit-table td{vertical-align:top}.cd67em-audit-table td small{display:block;margin-top:4px;color:#657786}.cd67em-audit-table details{margin-top:6px}.cd67em-audit-table summary{cursor:pointer;color:#003D77}.cd67em-audit-table code{display:block;max-width:360px;margin-top:6px;padding:7px;border-radius:8px;background:#f5f7f9;white-space:normal;overflow-wrap:anywhere;font-size:11px}
.cd67em-audit-action{display:inline-flex;padding:6px 9px;border-radius:999px;background:#eef3f7;color:#24435e;font-weight:700;font-size:12px}.cd67em-audit-action.is-warning{background:#fff3d6;color:#7a4d00}.cd67em-audit-action.is-error{background:#fde7e7;color:#a11b1b}
@media(max-width:980px){.cd67em-audit-filters{grid-template-columns:1fr 1fr}.cd67em-audit-filters .cd67em-filter-search{grid-column:1/-1}.cd67em-audit-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.cd67em-demo-banner,.cd67em-audit-header{align-items:stretch;flex-direction:column}.cd67em-audit-filters{grid-template-columns:1fr}.cd67em-audit-filters .cd67em-filter-search{grid-column:auto}.cd67em-audit-stats{grid-template-columns:1fr 1fr}.cd67em-demo-toggle{width:100%}}
.cd67em-demo-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#fff3d6;color:#7a4d00;font-size:12px;font-weight:800}
.cd67em-demo-dossier-notice{display:flex;align-items:center;gap:10px;padding:12px 18px;border-bottom:1px solid #f2c46d;background:#fff7e8;color:#664100}.cd67em-demo-dossier-notice span{font-size:14px}
@media(max-width:640px){.cd67em-demo-dossier-notice{align-items:flex-start;flex-direction:column;gap:3px}}

/* Version 0.8.0 — automatisations et communications */
.cd67em-automation-stack{display:grid;gap:22px;margin-top:22px}
.cd67em-automation-card{overflow:visible}
.cd67em-automation-master{padding:14px 16px;margin:0 0 18px;border:1px solid #cdd9e5;border-radius:12px;background:#f4f8fc;font-weight:700}
.cd67em-automation-settings-grid>section,.cd67em-automation-rule{padding:16px;border:1px solid #dce5ee;border-radius:14px;background:#fbfcfe}
.cd67em-automation-settings-grid h3,.cd67em-automation-rule h3{margin:0 0 13px;color:#003d77}
.cd67em-reminder-grid{margin-top:18px}
.cd67em-automation-rule label{margin-bottom:11px}
.cd67em-form-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.cd67em-period-template-list{display:grid;gap:14px;margin-bottom:18px}
.cd67em-period-template-card{border:1px solid #d8e2ec;border-radius:14px;background:#fff;overflow:hidden}
.cd67em-period-template-card>summary{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 18px;cursor:pointer;background:#f6f9fc;color:#003d77;font-weight:700}
.cd67em-period-template-card>summary small{font-weight:500;color:#64748b}
.cd67em-period-template-content{display:grid;gap:12px;padding:16px}
.cd67em-template-card-compact{box-shadow:none!important;border:1px solid #e0e8f0!important}
.cd67em-template-card-compact>summary{padding:13px 15px}
.cd67em-template-card-compact[open]{padding-bottom:14px}
.cd67em-template-card-compact>label{margin-left:14px;margin-right:14px}
.cd67em-datetime-wrap{display:flex;width:100%;min-width:0;margin-top:6px;padding:10px 12px;border:1px solid #ccd7e2;border-radius:10px;background:#fff}
.cd67em-datetime-wrap input[type="datetime-local"]{display:block;width:100%;min-width:0;padding:0;border:0;background:transparent;font:inherit;color:inherit}
.cd67em-queue-table td small{display:block;margin-top:4px;color:#64748b}
.cd67em-queue-table .cd67em-btn{margin:2px}
.cd67em-error-text{color:#b42318!important}
.cd67em-email-log-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cd67em-email-log-grid article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:start;padding:14px;border:1px solid #e0e7ef;border-radius:12px;background:#fff}
.cd67em-email-log-grid article>small{grid-column:1/-1;color:#64748b}
.cd67em-email-log-grid article div small{display:block;margin-top:4px;color:#64748b}
@media(max-width:900px){
  .cd67em-email-log-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  .cd67em-form-actions{display:grid;grid-template-columns:1fr}
  .cd67em-form-actions .cd67em-btn{width:100%}
  .cd67em-period-template-card>summary{align-items:flex-start;flex-direction:column}
  .cd67em-queue-table td[data-label="Actions"]{display:flex;flex-wrap:wrap;gap:6px}
}
.cd67em-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media(max-width:980px){.cd67em-grid-3{grid-template-columns:1fr}}
/* Version 0.9 — administration avancée et centre d'impression */
.cd67em-advanced-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.cd67em-advanced-header h2{margin:4px 0 6px}.cd67em-advanced-grid{align-items:start}.cd67em-duplicate-list{display:grid;gap:9px;margin-top:14px}.cd67em-duplicate-list article{display:grid;gap:3px;padding:11px;border:1px solid #d9e2ec;border-radius:10px;background:#f8fafc}.cd67em-duplicate-list span,.cd67em-duplicate-list small{color:#5d6b7b}.cd67em-success-box{padding:12px 14px;border-radius:10px;background:#ecfdf3;color:#17643a;border:1px solid #b7ebca}.cd67em-advanced-permissions{margin-top:18px}.cd67em-permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.cd67em-info-box{margin-top:14px;padding:12px;border-radius:10px;background:#f1f6fb;border:1px solid #cfdae6;color:#2d4055}@media(max-width:760px){.cd67em-permission-grid{grid-template-columns:1fr}.cd67em-advanced-header{display:block}}

/* 0.9.1 — navigation plus cohérente */
.cd67em-tabs .cd67em-nav-icon{display:inline-flex;align-items:center;justify-content:center;width:1.65rem;height:1.65rem;font-size:1.05rem;line-height:1;flex:0 0 1.65rem;border-radius:.45rem;background:rgba(255,255,255,.08)}
.cd67em-tabs button.is-active .cd67em-nav-icon{background:rgba(255,255,255,.18)}


/* Version 1.0.2 — espacement renforcé des cartes de semaines */
@media (min-width:761px){
  .cd67em-public-periods-in-hero .cd67em-hero-period-card{height:100%}
}


/* Version 1.0.3 — sélections compactes et espacement desktop des semaines */
.cd67em-app input[type="radio"],
.cd67em-app input[type="checkbox"]{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  max-width:16px!important;
  max-height:16px!important;
  flex:0 0 16px!important;
  margin:0!important;
  padding:0!important;
  vertical-align:middle!important;
  transform:none!important;
}
.cd67em-app .cd67em-check,
.cd67em-app .ff-el-form-check label,
.cd67em-app .ff-el-form-check-label,
.cd67em-app .ff_list_buttons label,
.cd67em-app .ff-el-form-check{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
.cd67em-app .ff-el-form-check label,
.cd67em-app .ff-el-form-check-label,
.cd67em-app .ff_list_buttons label{
  width:auto!important;
  margin:0!important;
  line-height:1.35!important;
}
.cd67em-app .ff-el-form-check{
  min-height:28px!important;
  margin:0 0 7px!important;
}
.cd67em-app .ff-el-form-check input[type="radio"],
.cd67em-app .ff-el-form-check input[type="checkbox"],
.cd67em-app .ff_list_buttons input[type="radio"],
.cd67em-app .ff_list_buttons input[type="checkbox"]{
  position:static!important;
  inset:auto!important;
}
.cd67em-app .cd67em-choice{
  grid-template-columns:16px minmax(0,1fr)!important;
  column-gap:9px!important;
  align-items:start!important;
}
.cd67em-app .cd67em-choice input[type="radio"],
.cd67em-app .cd67em-choice input[type="checkbox"]{
  position:static!important;
  grid-column:1!important;
  grid-row:1 / span 2!important;
  margin-top:3px!important;
}
.cd67em-app .cd67em-choice strong,
.cd67em-app .cd67em-choice span{
  grid-column:2!important;
}
@media (min-width:761px){
  .cd67em-public-periods-in-hero{
    gap:24px!important;
    column-gap:24px!important;
    row-gap:24px!important;
  }
  .cd67em-public-periods-in-hero .cd67em-hero-period-card,
  .cd67em-public-periods-in-hero .cd67em-secure-dossier-card{
    margin:0!important;
  }
}


/* Version 1.0.4 — en-tête de pré-inscription et informations complémentaires */
.cd67em-public-form-card .cd67em-section-title{
  display:flex;
  justify-content:flex-start;
  align-items:center;
  gap:14px;
  text-align:left;
}
.cd67em-public-form-card .cd67em-section-title>span{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  flex:0 0 38px;
  padding:0;
  border:2px solid #003d77;
  border-radius:50%;
  background:#e6f0fa;
  color:#ef4130;
  font-size:16px;
  line-height:1;
  font-weight:900;
  text-align:center;
  letter-spacing:0;
}
.cd67em-public-form-card .cd67em-section-title>div{
  min-width:0;
  text-align:left;
}
.cd67em-public-form-card .cd67em-section-title h2{
  margin:0;
  text-align:left;
}
.cd67em-public-form-card .cd67em-section-title p{
  margin:4px 0 0;
  text-align:left;
}
.cd67em-registration-form-information{
  margin:0 0 20px;
  padding:14px 16px;
  border-left:4px solid #003d77;
  border-radius:10px;
  background:#f2f7fc;
  color:#294d6b;
}
.cd67em-registration-form-information>:first-child{margin-top:0}
.cd67em-registration-form-information>:last-child{margin-bottom:0}
.cd67em-form-information-field{display:grid;gap:7px;margin:18px 0 22px}
.cd67em-form-information-field textarea{min-height:120px}
.cd67em-form-information-field small{color:#637083;font-weight:400}
@media(max-width:720px){
  .cd67em-public-form-card .cd67em-section-title{display:flex;align-items:center;gap:11px}
  .cd67em-public-form-card .cd67em-section-title>span{width:34px;height:34px;flex-basis:34px;font-size:15px}
}


/* Version 1.0.5 — correspondances de champs administrables */
.cd67em-mapping-head{align-items:flex-end;margin-top:24px}
.cd67em-inline-actions{display:flex;gap:10px;flex-wrap:wrap}
.cd67em-mapping-table{display:grid;gap:10px;margin:14px 0 18px}
.cd67em-mapping-header,.cd67em-mapping-row{display:grid;grid-template-columns:minmax(170px,1.15fr) minmax(150px,.9fr) minmax(190px,1.2fr) minmax(130px,.75fr) 110px;gap:12px;align-items:center}
.cd67em-mapping-header{padding:0 14px;color:#64748b;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.cd67em-mapping-row{padding:14px;border:1px solid #dbe5ef;border-radius:14px;background:#fff}
.cd67em-mapping-row label>span{display:block;margin-bottom:5px;font-size:12px;color:#64748b;font-weight:700}
.cd67em-mapping-options{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.cd67em-row-actions{display:flex;justify-content:flex-end;gap:6px;align-items:center}
.cd67em-icon-btn{width:30px;height:30px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#003d77;cursor:pointer;font-weight:800;line-height:1}
.cd67em-icon-btn:hover{background:#eef5fb}
@media(max-width:900px){.cd67em-mapping-header{display:none}.cd67em-mapping-row{grid-template-columns:1fr 1fr}.cd67em-mapping-options,.cd67em-row-actions{grid-column:1/-1}.cd67em-row-actions{justify-content:flex-start}}
@media(max-width:560px){.cd67em-mapping-row{grid-template-columns:1fr}.cd67em-mapping-options,.cd67em-row-actions{grid-column:auto}.cd67em-inline-actions{width:100%}.cd67em-inline-actions .cd67em-btn{width:100%}}

/* Version 1.0.6 — sélection sécurisée des champs Fluent Forms */
.cd67em-mapping-header,.cd67em-mapping-row{grid-template-columns:minmax(190px,1.2fr) minmax(260px,1.5fr) minmax(130px,.75fr) minmax(120px,.7fr) 110px}
.cd67em-mapping-row select{width:100%;min-width:0}
.cd67em-mapping-state{display:flex;align-items:center}
.cd67em-field-state{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:800;background:#fff1f2;color:#b42318;border:1px solid #fecdd3}
.cd67em-field-state.is-valid{background:#ecfdf3;color:#027a48;border-color:#a6f4c5}
@media(max-width:900px){.cd67em-mapping-header{display:none}.cd67em-mapping-row{grid-template-columns:1fr 1fr}.cd67em-mapping-options,.cd67em-mapping-state,.cd67em-row-actions{grid-column:1/-1}}
@media(max-width:560px){.cd67em-mapping-row{grid-template-columns:1fr}.cd67em-mapping-options,.cd67em-mapping-state,.cd67em-row-actions{grid-column:auto}}

.cd67em-aid-actions{display:flex;gap:10px;flex-wrap:wrap}.cd67em-family-aid-form .cd67em-btn-danger{background:#fff;color:#b42318;border:1px solid #f2b8b5}.cd67em-family-aid-form .cd67em-btn-danger:hover{background:#fff1f0}@media(max-width:720px){.cd67em-aid-actions{display:grid;grid-template-columns:1fr}.cd67em-aid-actions .cd67em-btn{width:100%}}


.cd67em-pre-registration-aids{margin-top:28px;padding-top:24px;border-top:1px solid #dbe4ee}.cd67em-preaid-title{align-items:center}.cd67em-preaid-title>span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#003d77;color:#ef4130;font-size:18px;line-height:1}.cd67em-preaid-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.cd67em-preaid-card{border:1px solid #dbe4ee;border-radius:14px;padding:16px;background:#fff}.cd67em-preaid-choice{display:flex;align-items:center;gap:10px;color:#003d77}.cd67em-preaid-choice input{width:17px!important;height:17px!important;min-width:17px!important;margin:0!important}.cd67em-preaid-fields{display:grid;gap:12px;margin-top:14px}.cd67em-preaid-fields label{display:grid;gap:6px;font-weight:700}.cd67em-preaid-fields input{width:100%;border:1px solid #cbd7e3;border-radius:10px;padding:10px 12px}.cd67em-preaid-feedback{margin-top:14px;font-weight:700}.cd67em-preaid-feedback.is-success{color:#18733d}.cd67em-preaid-feedback.is-error{color:#b42318}.cd67em-preaid-feedback.is-loading{color:#003d77}@media(max-width:720px){.cd67em-preaid-grid{grid-template-columns:1fr}.cd67em-pre-registration-aids{margin-top:22px;padding-top:20px}}


/* Version 1.0.10 — aides visibles avant le formulaire de pré-inscription */
.cd67em-pre-registration-aids{
  position:relative;
  margin:20px 0 28px!important;
  padding:22px!important;
  border:2px solid #ef4130!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#fff7f5 0%,#ffffff 68%)!important;
  box-shadow:0 8px 22px rgba(0,61,119,.10);
}
.cd67em-pre-registration-aids::before{
  content:"À compléter avant l’envoi";
  display:inline-flex;
  align-items:center;
  margin:0 0 14px;
  padding:6px 11px;
  border-radius:999px;
  background:#ef4130;
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.cd67em-pre-registration-aids .cd67em-preaid-title{
  margin:0 0 14px;
}
.cd67em-pre-registration-aids .cd67em-preaid-title>span{
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
  border:2px solid #003d77!important;
  background:#eaf3fb!important;
  color:#ef4130!important;
}
.cd67em-pre-registration-aids .cd67em-info-box{
  margin:0 0 16px;
  border-left:4px solid #ef4130;
  background:#fff;
}
.cd67em-preaid-card{
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.cd67em-preaid-card:has(.cd67em-preaid-enabled:checked){
  border-color:#003d77;
  background:#f4f8fc;
  box-shadow:0 5px 14px rgba(0,61,119,.10);
}
.cd67em-pre-registration-form-separator{
  display:flex;
  align-items:center;
  gap:12px;
  margin:28px 0 18px;
  padding-top:22px;
  border-top:1px solid #dbe4ee;
  color:#003d77;
}
.cd67em-pre-registration-form-separator>span{
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  flex:0 0 36px;
  border:2px solid #003d77;
  border-radius:50%;
  background:#e6f0fa;
  color:#ef4130;
  font-weight:900;
  line-height:1;
}
.cd67em-pre-registration-form-separator strong,
.cd67em-pre-registration-form-separator small{display:block}
.cd67em-pre-registration-form-separator strong{font-size:18px}
.cd67em-pre-registration-form-separator small{margin-top:2px;color:#577086}
@media(max-width:720px){
  .cd67em-pre-registration-aids{padding:17px!important;margin:16px 0 22px!important}
  .cd67em-pre-registration-form-separator{margin-top:22px}
}

/* Version 1.0.11 — aides discrètes juste avant l’envoi du formulaire */
.cd67em-pre-registration-aids{
  display:block;
  margin:22px 0 16px!important;
  padding:0!important;
  border:1px solid #d7e0e9!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden;
}
.cd67em-pre-registration-aids::before{display:none!important;content:none!important}
.cd67em-preaid-summary{
  display:flex;
  align-items:center;
  gap:12px;
  padding:15px 16px;
  cursor:pointer;
  list-style:none;
  color:#003d77;
  background:#f7fafc;
}
.cd67em-preaid-summary::-webkit-details-marker{display:none}
.cd67em-preaid-summary-icon{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  flex:0 0 30px;
  border-radius:50%;
  background:#eaf3fb;
  color:#ef4130;
  font-weight:900;
}
.cd67em-preaid-summary>span:nth-child(2){display:grid;gap:2px;min-width:0}
.cd67em-preaid-summary strong{font-size:15px;line-height:1.25}
.cd67em-preaid-summary small{font-size:13px;color:#5d6b78;font-weight:500;line-height:1.35}
.cd67em-preaid-summary-chevron{margin-left:auto;font-size:20px;line-height:1;transition:transform .2s ease}
.cd67em-pre-registration-aids[open] .cd67em-preaid-summary-chevron{transform:rotate(180deg)}
.cd67em-preaid-content{padding:16px;border-top:1px solid #e1e8ef}
.cd67em-pre-registration-aids .cd67em-info-box{margin:0 0 14px;border-left:3px solid #003d77}
.cd67em-preaid-grid{margin-top:0!important}
@media(max-width:720px){
  .cd67em-pre-registration-aids{margin:18px 0 14px!important}
  .cd67em-preaid-summary{padding:14px}
  .cd67em-preaid-content{padding:14px}
}

/* Version 1.0.12 — récapitulatif des aides sans seconde saisie */
.cd67em-aid-recap-only .cd67em-family-aid-card-head small{display:block;margin-top:4px}
.cd67em-aid-recap-only .cd67em-family-aid-card{padding:16px}

/* Version 1.0.13 — édition administrative des réponses de pré-inscription. */
.cd67em-answer-editor{margin-top:20px;padding:20px;border:1px solid #d8e2ec;border-radius:14px;background:#f8fafc}
.cd67em-editable-answer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.cd67em-edit-answer-field{display:flex;flex-direction:column;gap:7px;min-width:0}
.cd67em-edit-answer-field>span{font-weight:700;color:#16324a}
.cd67em-edit-answer-field input,.cd67em-edit-answer-field select,.cd67em-edit-answer-field textarea{width:100%;min-width:0}
.cd67em-edit-answer-choices{display:flex;flex-wrap:wrap;gap:10px 18px;padding:10px 0}
.cd67em-edit-answer-choices .cd67em-check{display:inline-flex;align-items:center;gap:7px}
@media(max-width:700px){.cd67em-editable-answer-grid{grid-template-columns:1fr}.cd67em-answer-editor{padding:15px}.cd67em-section-heading>[data-action="toggle-answer-editor"]{width:100%;margin-top:10px}}


/* Version 1.0.14 — accès visible à l’édition administrative de la pré-inscription. */
.cd67em-dossier-topbar-actions [data-action="toggle-answer-editor"]{white-space:nowrap}
@media (max-width:700px){
  .cd67em-dossier-topbar-actions [data-action="toggle-answer-editor"]{width:100%;justify-content:center}
}

/* Version 1.0.15 — modèle global de fiche participant. */
.cd67em-profile-template-intro{margin:14px 0 0;padding:12px 16px;border-radius:10px;background:#f4f7fb;color:#334155}.cd67em-launch-panel[data-launch-panel="profile-template"] .cd67em-card{margin-top:18px}

/* Version 1.0.17 — fenêtre de création de campagne ordonnée sur ordinateur. */
.cd67em-campaign-dialog{
  width:min(780px,calc(100vw - 40px));
  max-height:min(90vh,820px);
}
.cd67em-campaign-dialog .cd67em-campaign-form{
  padding:0 28px 26px;
}
.cd67em-campaign-dialog .cd67em-dialog-head{
  margin-bottom:24px;
  padding:24px 0 18px;
}
.cd67em-campaign-dialog .cd67em-dialog-head>div{
  min-width:0;
}
.cd67em-dialog-eyebrow{
  display:block;
  margin-bottom:4px;
  color:#6f8295;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.cd67em-campaign-fields{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px 20px;
  align-items:start;
}
.cd67em-campaign-fields label{
  display:flex;
  min-width:0;
  margin:0;
  flex-direction:column;
  gap:7px;
  color:#263b50;
  font-size:.88rem;
  font-weight:750;
}
.cd67em-campaign-fields label>span{
  display:block;
  line-height:1.25;
}
.cd67em-campaign-fields input,
.cd67em-campaign-fields select,
.cd67em-campaign-fields textarea{
  display:block;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  margin:0;
}
.cd67em-campaign-fields input,
.cd67em-campaign-fields select{
  min-height:46px;
}
.cd67em-campaign-fields textarea{
  min-height:105px;
  resize:vertical;
}
.cd67em-campaign-description{
  grid-column:1/-1;
}
.cd67em-campaign-actions{
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid var(--cd67-border);
  gap:10px;
}
.cd67em-campaign-actions .cd67em-btn{
  min-width:155px;
  justify-content:center;
}
.cd67em-campaign-dialog .cd67em-feedback{
  margin-top:10px;
  text-align:right;
}
@media(max-width:760px){
  .cd67em-campaign-dialog{
    width:calc(100vw - 20px);
    max-height:calc(100dvh - 20px);
  }
  .cd67em-campaign-dialog .cd67em-campaign-form{
    padding:0 16px 18px;
  }
  .cd67em-campaign-fields{
    grid-template-columns:1fr;
    gap:14px;
  }
  .cd67em-campaign-description{
    grid-column:auto;
  }
  .cd67em-campaign-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .cd67em-campaign-actions .cd67em-btn{
    width:100%;
  }
}

/* Version 1.0.17 — bouton principal de création de campagne */
.cd67em-campaign-dialog .cd67em-campaign-actions .cd67em-create-campaign-submit,
.cd67em-campaign-dialog .cd67em-campaign-actions button.cd67em-btn-primary{
  appearance:none;
  -webkit-appearance:none;
  background:#003D77!important;
  background-image:none!important;
  border:1px solid #003D77!important;
  color:#fff!important;
  opacity:1!important;
  box-shadow:0 7px 16px rgba(0,61,119,.22)!important;
}
.cd67em-campaign-dialog .cd67em-campaign-actions .cd67em-create-campaign-submit:hover,
.cd67em-campaign-dialog .cd67em-campaign-actions .cd67em-create-campaign-submit:focus-visible,
.cd67em-campaign-dialog .cd67em-campaign-actions button.cd67em-btn-primary:hover,
.cd67em-campaign-dialog .cd67em-campaign-actions button.cd67em-btn-primary:focus-visible{
  background:#ef4130!important;
  background-image:none!important;
  border-color:#ef4130!important;
  color:#fff!important;
}


/* Version 1.0.18 — correction cache et bouton de création garanti. */
#cd67em-campaign-dialog button.cd67em-create-campaign-submit,
dialog#cd67em-campaign-dialog button[type="submit"].cd67em-create-campaign-submit{
  background-color:#003D77!important;
  background-image:none!important;
  border-color:#003D77!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
}
#cd67em-campaign-dialog button.cd67em-create-campaign-submit:hover,
#cd67em-campaign-dialog button.cd67em-create-campaign-submit:focus{
  background-color:#ef4130!important;
  border-color:#ef4130!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}


/* 1.0.20 — Justificatifs d'aides dans la fiche administrateur */
.cd67em-admin-aids article{grid-template-columns:minmax(180px,.9fr) minmax(220px,1fr) minmax(260px,1.25fr);align-items:start}
.cd67em-aid-proof{display:flex;flex-direction:column;gap:8px;min-width:0;padding:12px;border:1px solid #dce4ed;border-radius:12px;background:#f8fafc}
.cd67em-aid-proof>strong{color:#003d77}
.cd67em-aid-proof>span{overflow-wrap:anywhere}
.cd67em-aid-proof-thumb{display:block;width:100%;max-width:230px;border-radius:10px;overflow:hidden;border:1px solid #dce4ed;background:#fff}
.cd67em-aid-proof-thumb img{display:block;width:100%;height:140px;object-fit:contain;background:#fff}
.cd67em-aid-proof-actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:980px){.cd67em-admin-aids article{grid-template-columns:1fr 1fr}.cd67em-admin-aid-form{grid-column:1/-1}}
@media(max-width:760px){.cd67em-admin-aids article{grid-template-columns:1fr}.cd67em-admin-aid-form{grid-column:auto}.cd67em-aid-proof-thumb{max-width:none}}


/* 1.0.21 — Confinement responsive global / suppression des débordements horizontaux */
body:has(.cd67em-app){
  overflow-x:hidden;
}
.cd67em-app{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:auto;
  margin-right:auto;
  overflow-x:clip;
}
.cd67em-app .cd67em-public-v2,
.cd67em-app .cd67em-dashboard,
.cd67em-app .cd67em-public-hero,
.cd67em-app .cd67em-dashboard-workspace,
.cd67em-app .cd67em-dashboard-content,
.cd67em-app .cd67em-launch-layout,
.cd67em-app .cd67em-launch-content,
.cd67em-app .cd67em-launch-panel,
.cd67em-app .cd67em-card,
.cd67em-app .cd67em-grid-main,
.cd67em-app .cd67em-grid-2,
.cd67em-app .cd67em-stats,
.cd67em-app .cd67em-stats-five,
.cd67em-app .cd67em-public-periods,
.cd67em-app .cd67em-public-periods-grid,
.cd67em-app .cd67em-public-periods-in-hero,
.cd67em-app form{
  min-width:0;
  max-width:100%;
}
.cd67em-app img,
.cd67em-app video,
.cd67em-app iframe,
.cd67em-app svg{
  max-width:100%;
}
.cd67em-app img,
.cd67em-app video{
  height:auto;
}
.cd67em-app pre,
.cd67em-app code{
  max-width:100%;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.cd67em-app input,
.cd67em-app select,
.cd67em-app textarea,
.cd67em-app button{
  max-width:100%;
}
/* Les tableaux restent défilables uniquement dans leur propre conteneur sur grand écran. */
.cd67em-app .cd67em-table-wrap{
  max-width:100%;
  overscroll-behavior-x:contain;
}
/* Empêche les colonnes Grid/Flex de forcer la largeur de la page. */
.cd67em-app [class*="grid"],
.cd67em-app [class*="layout"],
.cd67em-app [class*="content"],
.cd67em-app [class*="workspace"]{
  min-width:0;
}
@media(max-width:700px){
  .cd67em-app{
    width:100%!important;
    max-width:100%!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  .cd67em-public-v2{
    width:100%!important;
    max-width:100%!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  .cd67em-dashboard{
    width:100%!important;
    max-width:100%!important;
    border-radius:16px;
  }
}


/* Version 1.0.22 — finition typographique et alignement des sélections administratives. */
.cd67em-dashboard,
.cd67em-launch-layout,
.cd67em-dashboard .cd67em-card,
.cd67em-dashboard form,
.cd67em-dashboard fieldset{
  text-align:left;
}
.cd67em-dashboard label:not(.cd67em-check):not(.cd67em-choice):not(.cd67em-upload-label){
  text-align:left;
  justify-items:stretch;
  align-content:start;
  min-width:0;
}
.cd67em-dashboard .cd67em-card p,
.cd67em-dashboard .cd67em-card li,
.cd67em-dashboard .cd67em-card small,
.cd67em-dashboard .cd67em-card legend{
  text-align:left;
}

/* Une case/radio reste toujours sur la même ligne que son libellé. */
.cd67em-dashboard .cd67em-check,
.cd67em-launch-layout .cd67em-check,
.cd67em-dashboard label.cd67em-check{
  display:inline-flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  justify-items:normal!important;
  gap:8px!important;
  width:auto!important;
  max-width:100%;
  min-height:32px;
  margin:0!important;
  padding:4px 0!important;
  line-height:1.35!important;
  text-align:left!important;
  font-weight:650;
  cursor:pointer;
}
.cd67em-dashboard .cd67em-check input[type="checkbox"],
.cd67em-dashboard .cd67em-check input[type="radio"],
.cd67em-launch-layout .cd67em-check input[type="checkbox"],
.cd67em-launch-layout .cd67em-check input[type="radio"]{
  display:block!important;
  position:static!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  max-width:16px!important;
  max-height:16px!important;
  flex:0 0 16px!important;
  margin:0!important;
  padding:0!important;
  vertical-align:middle!important;
  transform:none!important;
}

/* Dans les lignes de paramétrage, les sélections s’alignent avec les contrôles voisins. */
.cd67em-dashboard .cd67em-repeat-row > .cd67em-check,
.cd67em-launch-layout .cd67em-repeat-row > .cd67em-check{
  align-self:end;
  min-height:46px;
  padding:0 4px!important;
}
.cd67em-dashboard .cd67em-mapping-options,
.cd67em-dashboard .cd67em-template-options,
.cd67em-dashboard .cd67em-permission-grid,
.cd67em-dashboard .cd67em-edit-answer-choices{
  align-items:start;
}
.cd67em-dashboard .cd67em-mapping-options .cd67em-check,
.cd67em-dashboard .cd67em-template-options .cd67em-check,
.cd67em-dashboard .cd67em-permission-grid .cd67em-check,
.cd67em-dashboard .cd67em-report-columns .cd67em-check{
  min-height:30px;
}

/* Cohérence verticale des textes dans les formulaires du panel. */
.cd67em-dashboard input:not([type="checkbox"]):not([type="radio"]),
.cd67em-dashboard select,
.cd67em-dashboard textarea{
  text-align:left;
}
.cd67em-dashboard .cd67em-grid-2,
.cd67em-dashboard .cd67em-grid-3,
.cd67em-dashboard .cd67em-repeat-row{
  align-items:start;
}
.cd67em-dashboard .cd67em-repeat-row{
  align-items:end;
}

@media(max-width:700px){
  .cd67em-dashboard .cd67em-check,
  .cd67em-launch-layout .cd67em-check,
  .cd67em-dashboard label.cd67em-check{
    width:100%!important;
  }
  .cd67em-dashboard .cd67em-repeat-row > .cd67em-check,
  .cd67em-launch-layout .cd67em-repeat-row > .cd67em-check{
    min-height:32px;
    align-self:start;
    padding:2px 0!important;
  }
}


/* Version 1.0.23 — alignement précis du bloc aides/paiement dans la fiche administrative. */
.cd67em-dashboard .cd67em-admin-aids article{
  display:grid!important;
  grid-template-columns:minmax(190px,.85fr) minmax(260px,1fr) minmax(360px,1.25fr)!important;
  gap:24px!important;
  align-items:start!important;
  padding:18px!important;
}
.cd67em-dashboard .cd67em-aid-admin-info{
  display:grid!important;
  grid-template-columns:1fr!important;
  align-content:start!important;
  gap:7px!important;
  min-width:0!important;
  padding:2px 0!important;
}
.cd67em-dashboard .cd67em-aid-admin-info strong{
  display:block!important;
  margin:0 0 4px!important;
  color:#003D77!important;
  font-size:1rem!important;
  line-height:1.35!important;
}
.cd67em-dashboard .cd67em-aid-admin-info span,
.cd67em-dashboard .cd67em-aid-admin-info em{
  display:block!important;
  margin:0!important;
  line-height:1.4!important;
  text-align:left!important;
}
.cd67em-dashboard .cd67em-aid-proof{
  min-width:0!important;
  width:100%!important;
  height:auto!important;
  align-self:start!important;
}
.cd67em-dashboard .cd67em-admin-aid-form{
  display:grid!important;
  grid-template-columns:minmax(130px,1fr) minmax(130px,1fr) auto!important;
  gap:12px!important;
  align-items:end!important;
  align-content:start!important;
  min-width:0!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
.cd67em-dashboard .cd67em-admin-aid-form > label{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:7px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  font-weight:700!important;
  line-height:1.25!important;
}
.cd67em-dashboard .cd67em-admin-aid-form input[type="number"],
.cd67em-dashboard .cd67em-admin-aid-form select{
  width:100%!important;
  min-width:0!important;
  height:44px!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.cd67em-dashboard .cd67em-admin-aid-submit{
  display:flex!important;
  align-items:flex-end!important;
  min-height:44px!important;
}
.cd67em-dashboard .cd67em-admin-aid-submit .cd67em-btn{
  height:44px!important;
  min-height:44px!important;
  margin:0!important;
  white-space:nowrap!important;
}
.cd67em-dashboard .cd67em-aid-proof-actions{
  align-items:center!important;
}
.cd67em-dashboard .cd67em-aid-proof-actions .cd67em-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
@media(max-width:1180px){
  .cd67em-dashboard .cd67em-admin-aids article{
    grid-template-columns:minmax(180px,.9fr) minmax(240px,1.1fr)!important;
  }
  .cd67em-dashboard .cd67em-admin-aid-form{
    grid-column:1/-1!important;
  }
}
@media(max-width:760px){
  .cd67em-dashboard .cd67em-admin-aids article{
    grid-template-columns:1fr!important;
    gap:16px!important;
    padding:14px!important;
  }
  .cd67em-dashboard .cd67em-admin-aid-form{
    grid-column:auto!important;
    grid-template-columns:1fr!important;
  }
  .cd67em-dashboard .cd67em-admin-aid-submit,
  .cd67em-dashboard .cd67em-admin-aid-submit .cd67em-btn{
    width:100%!important;
  }
}

/* 1.0.24 — alignement des libellés de validation des aides */
.cd67em-dashboard .cd67em-admin-aid-form > label{
  display:grid!important;
  grid-template-rows:2.5em 44px!important;
  gap:7px!important;
  align-items:start!important;
}
.cd67em-dashboard .cd67em-admin-aid-form .cd67em-aid-field-label{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  min-height:2.5em!important;
  margin:0!important;
  padding:0!important;
  line-height:1.25!important;
  text-align:left!important;
}
@media(max-width:760px){
  .cd67em-dashboard .cd67em-admin-aid-form > label{
    grid-template-rows:auto 44px!important;
  }
  .cd67em-dashboard .cd67em-admin-aid-form .cd67em-aid-field-label{
    min-height:0!important;
  }
}


/* 1.0.25 — messagerie type application */
.cd67em-conversation .cd67em-message-thread{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:12px!important;
  padding:12px 4px!important;
  scroll-behavior:smooth;
}
.cd67em-conversation .cd67em-message{
  width:auto!important;
  max-width:min(72%,680px)!important;
  display:flex!important;
  flex-direction:column!important;
  gap:5px!important;
  margin:0!important;
}
.cd67em-conversation .cd67em-message.is-other{
  align-self:flex-start!important;
  align-items:flex-start!important;
}
.cd67em-conversation .cd67em-message.is-mine{
  align-self:flex-end!important;
  align-items:flex-end!important;
}
.cd67em-conversation .cd67em-message > div{
  display:inline-block!important;
  width:auto!important;
  max-width:100%!important;
  padding:11px 14px!important;
  border-radius:18px!important;
  line-height:1.45!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  box-shadow:0 1px 2px rgba(0,0,0,.06)!important;
}
.cd67em-conversation .cd67em-message.is-other > div{
  background:#eef3f7!important;
  color:#17324d!important;
  border:1px solid #dce5ec!important;
  border-bottom-left-radius:5px!important;
}
.cd67em-conversation .cd67em-message.is-mine > div{
  background:#003D77!important;
  color:#fff!important;
  border:1px solid #003D77!important;
  border-bottom-right-radius:5px!important;
}
.cd67em-conversation .cd67em-message small{
  display:block!important;
  max-width:100%!important;
  padding:0 5px!important;
  font-size:11px!important;
  line-height:1.25!important;
  color:#708090!important;
}
.cd67em-conversation .cd67em-message.is-other small{text-align:left!important;}
.cd67em-conversation .cd67em-message.is-mine small{text-align:right!important;}
@media(max-width:760px){
  .cd67em-conversation .cd67em-message{max-width:84%!important;}
}
@media(max-width:480px){
  .cd67em-conversation .cd67em-message{max-width:90%!important;}
  .cd67em-conversation .cd67em-message > div{padding:10px 12px!important;}
}

/* 1.0.26 — position stricte des messages selon émission/réception */
.cd67em-conversation .cd67em-message-thread{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
}
.cd67em-conversation .cd67em-message{
  width:fit-content!important;
  min-width:0!important;
  max-width:min(78%,680px)!important;
}
.cd67em-conversation .cd67em-message.is-other{
  align-self:flex-start!important;
  margin-left:0!important;
  margin-right:auto!important;
  text-align:left!important;
}
.cd67em-conversation .cd67em-message.is-mine{
  align-self:flex-end!important;
  margin-left:auto!important;
  margin-right:0!important;
  text-align:left!important;
}
.cd67em-conversation .cd67em-message.is-other small{
  text-align:left!important;
}
.cd67em-conversation .cd67em-message.is-mine small{
  text-align:right!important;
}
@media(max-width:520px){
  .cd67em-conversation .cd67em-message{max-width:88%!important;}
}

/* 1.0.29 — messagerie relative au point de vue de la personne qui consulte.
   Mes messages = droite ; messages reçus = gauche. */
.cd67em-conversation .cd67em-message-thread{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  width:100%!important;
}
.cd67em-conversation .cd67em-message{
  width:fit-content!important;
  min-width:0!important;
  max-width:min(78%,680px)!important;
  box-sizing:border-box!important;
  flex:0 0 auto!important;
}
.cd67em-conversation .cd67em-message.is-mine{
  align-self:flex-end!important;
  margin-left:auto!important;
  margin-right:0!important;
}
.cd67em-conversation .cd67em-message.is-other{
  align-self:flex-start!important;
  margin-left:0!important;
  margin-right:auto!important;
}
.cd67em-conversation .cd67em-message.is-mine small{
  text-align:right!important;
  align-self:flex-end!important;
}
.cd67em-conversation .cd67em-message.is-other small{
  text-align:left!important;
  align-self:flex-start!important;
}
@media(max-width:520px){
  .cd67em-conversation .cd67em-message{max-width:88%!important;}
}

/* 1.1.0 — éditeur de fiche PDF */
.cd67em-pdf-editor{margin-top:20px}.cd67em-pdf-editor h4{margin:22px 0 10px;color:#003D77}.cd67em-pdf-logo-grid{margin-top:14px}.cd67em-pdf-sections{display:grid;gap:10px}.cd67em-pdf-section-row{display:grid;grid-template-columns:110px minmax(220px,1fr) 120px;gap:14px;align-items:end;padding:12px;border:1px solid #dce5ee;border-radius:12px;background:#fff}.cd67em-pdf-section-row .cd67em-check{align-self:center}.cd67em-pdf-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 18px;padding:14px;border:1px solid #dce5ee;border-radius:12px;background:#f8fafc}.cd67em-pdf-fields .cd67em-check{margin:0}@media(max-width:900px){.cd67em-pdf-section-row{grid-template-columns:1fr 1fr}.cd67em-pdf-section-row>label:nth-child(2){grid-column:1/-1;grid-row:1}.cd67em-pdf-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.cd67em-pdf-section-row,.cd67em-pdf-fields{grid-template-columns:1fr}.cd67em-pdf-section-row>label:nth-child(2){grid-column:auto;grid-row:auto}}
