/* Campagnes d'inventaire Immoparc */

.parc-btn[hidden],
.camp-msg[hidden],
.camp-fiche__vide[hidden],
#fiche-contenu[hidden],
#bloc-creation[hidden],
#bloc-campagne[hidden],
#bloc-candidats[hidden],
#bloc-secret[hidden],
#bloc-agenda[hidden],
#bloc-acces[hidden] {
  display: none !important;
}

.parc-btn--primary {
  background: #3d8fc4;
  border: 1px solid #3d8fc4;
  color: #fff;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
}
.parc-btn--primary:hover { background: #2a6fa0; border-color: #2a6fa0; }
.parc-btn--primary:disabled,
.parc-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.parc-btn--danger {
  background: #fef3f2;
  border: 1px solid rgba(180, 35, 24, 0.25);
  color: #b42318;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  cursor: pointer;
}

.camp-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  align-items: start;
}

@media (min-width: 960px) {
  .camp-layout {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  }
}

.camp-liste {
  padding: 0;
  overflow: hidden;
}

.camp-liste__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: #f7fafc;
}

.camp-liste__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
}

.camp-liste__filtres {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--line);
}

.camp-liste__body {
  max-height: 70vh;
  overflow-y: auto;
}

.camp-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.12s;
}
.camp-item:hover { background: rgba(61, 143, 196, 0.08); }
.camp-item.is-actif {
  background: rgba(61, 143, 196, 0.14);
  box-shadow: inset 3px 0 0 var(--brand);
}

.camp-item__lib {
  display: block;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink);
}
.camp-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.3rem;
  font-size: 0.68rem;
  color: var(--ink-soft);
}

.camp-empty {
  margin: 0;
  padding: 1.25rem 1rem;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.camp-fiche { padding: 1rem 1.15rem 1.35rem; }

.camp-fiche__vide {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--ink-soft);
}

.camp-fiche__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.camp-fiche__titre {
  margin: 0.35rem 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}

.camp-fiche__meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.camp-fiche__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.camp-statut {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.camp-statut--brouillon { background: #f7fafc; }
.camp-statut--ouverte {
  background: var(--ok-bg);
  color: var(--ok-ink);
  border-color: var(--ok-line);
}
.camp-statut--cloturee {
  background: var(--warn-bg);
  color: var(--warn-ink);
  border-color: var(--warn-line);
}

.camp-msg {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
}
.camp-msg--ok {
  background: var(--ok-bg);
  color: var(--ok-ink);
  border: 1px solid var(--ok-line);
}
.camp-msg--err {
  background: #fef3f2;
  color: #b42318;
  border: 1px solid rgba(180, 35, 24, 0.25);
}

.camp-grille {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .camp-grille { grid-template-columns: 1fr 1fr; }
}

.camp-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.camp-field--full { grid-column: 1 / -1; }
.camp-field__hint {
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(22, 58, 92, 0.65);
  line-height: 1.35;
}
.camp-textarea { min-height: 4.5rem; resize: vertical; font-weight: 500; }

.camp-perim {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.camp-perim__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #f7fafc;
  border-bottom: 1px solid var(--line);
}

.camp-perim__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}

.camp-perim__hint {
  margin: 0.25rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.camp-perim__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.camp-perim__outils {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--line);
}

.camp-filtre {
  width: 14rem;
  max-width: 100%;
  flex: 0 0 auto;
}
.camp-biens__filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
}
.camp-biens {
  max-height: 50vh;
  overflow: auto;
}
.camp-biens table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.camp-biens th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f7fafc;
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(22, 58, 92, 0.65);
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--line);
}
.camp-biens td {
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink);
}
.camp-biens tr:hover td { background: rgba(61, 143, 196, 0.08); }
.camp-biens.is-readonly input { pointer-events: none; }

.camp-arbre {
  max-height: 55vh;
  overflow-y: auto;
  padding: 0.55rem 0.65rem 0.85rem;
}

.camp-node {
  margin: 0.1rem 0;
}

.camp-node__row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.4rem;
  border-radius: 8px;
}
.camp-node__row:hover { background: rgba(61, 143, 196, 0.08); }
.camp-node__row.is-sans-etiquette {
  background: #fff6e8;
  box-shadow: inset 3px 0 0 #c2410c;
}
.camp-node__row.is-sans-etiquette:hover {
  background: #ffedd5;
}

.camp-chevron {
  border: 0;
  background: transparent;
  padding: 0.1rem;
  color: var(--ink-faint);
  cursor: pointer;
  display: inline-flex;
  width: 1.2rem;
  height: 1.2rem;
  align-items: center;
  justify-content: center;
}
.camp-chevron svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.15s;
}
.camp-spacer { width: 1.2rem; flex-shrink: 0; }

.camp-niv {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--ink-faint);
  min-width: 1.6rem;
}

.camp-node__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  min-width: 0;
}

.camp-children {
  margin-left: 1.15rem;
  border-left: 1px solid rgba(22, 58, 92, 0.1);
  padding-left: 0.35rem;
}
.camp-children.is-collapsed { display: none; }

.camp-arbre.is-readonly .camp-node__row { opacity: 0.85; }
.camp-arbre.is-readonly input[type="checkbox"] { pointer-events: none; }

/* ——— Suivi lot 2 ——— */
.camp-suivi {
  margin: 0 0 1.15rem;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f7fafc 0%, #fff 55%);
}

.camp-suivi__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.camp-suivi__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}

.camp-suivi__hint {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.camp-suivi__taux {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--brand-deep);
  line-height: 1;
}

.camp-suivi__barre {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(22, 58, 92, 0.08);
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.camp-suivi__barre-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3d8fc4, #2a6fa0);
  transition: width 0.25s ease;
}

.camp-suivi__cartes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

@media (min-width: 720px) {
  .camp-suivi__cartes { grid-template-columns: 1fr 1fr; }
}

.camp-kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
}

.camp-kpi__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.camp-kpi__valeur {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.camp-kpi__sous {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-deep);
}

.camp-suivi__calendrier {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.camp-suivi__calendrier.is-late {
  color: #b42318;
}

.camp-suivi__sous-titre {
  margin: 0.95rem 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink);
}

.camp-chauds {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 14rem;
  overflow-y: auto;
}

.camp-chaud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  padding: 0.5rem 0.65rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.camp-chaud__lib {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}

.camp-chaud__meta {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.camp-chaud__actions {
  display: flex;
  gap: 0.35rem;
}

.camp-item__taux {
  font-weight: 800;
  color: var(--brand-deep);
}

/* ——— Pack lot 3 ——— */
.camp-pack {
  margin: 0 0 1.15rem;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.camp-pack__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.camp-pack__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}

.camp-pack__hint {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.camp-pack__liste {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.camp-pack-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7fafc;
}

.camp-pack-item__lib {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  word-break: break-all;
}

.camp-pack-item__meta {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}

.camp-pack-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.camp-constats {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(22, 58, 92, 0.14);
  border-radius: 12px;
  background: #f7fafc;
}
.camp-constats__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.camp-constats__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #163a5c;
}
.camp-constats__hint {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: rgba(22, 58, 92, 0.65);
}
.camp-constats__compteurs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.camp-constats__pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(22, 58, 92, 0.14);
  color: #163a5c;
}
.camp-constats__pill--warn {
  background: #fff7ed;
  border-color: rgba(194, 65, 12, 0.3);
  color: #c2410c;
}
.camp-constats__outils {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
  align-items: center;
}
.camp-constats__liste {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 28rem;
  overflow-y: auto;
}
.camp-constats__liste.camp-constats__arbre {
  gap: 0.15rem;
  max-height: 42rem;
  padding: 0.35rem 0.4rem 0.5rem;
  background: #fff;
  border: 1px solid rgba(22, 58, 92, 0.14);
  border-radius: 12px;
}
.camp-constats-tiles {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.35rem 0.15rem 0.5rem 0.25rem;
}
.camp-badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  margin-left: 0.4rem;
  border-radius: 999px;
  background: rgba(61, 143, 196, 0.18);
  color: #2a6fa0;
  font-size: 0.72rem;
  font-weight: 700;
}
.camp-node__row.is-local-constats .camp-node__label {
  font-weight: 700;
}
.camp-constat {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: start;
  background: #fff;
  border: 1px solid rgba(22, 58, 92, 0.14);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}
.camp-constat__code {
  font-weight: 700;
  color: #163a5c;
  font-size: 0.9rem;
}
.camp-constat__meta {
  font-size: 0.75rem;
  color: rgba(22, 58, 92, 0.65);
  margin-top: 0.15rem;
}
.camp-constat__obs {
  font-size: 0.8rem;
  color: #163a5c;
  margin-top: 0.35rem;
  white-space: pre-wrap;
}
.camp-constat__badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: #eef2f7;
  color: #163a5c;
}
.camp-constat__badge--recu { background: #e0f2fe; color: #0369a1; }
.camp-constat__badge--qualifie { background: #fef3c7; color: #b45309; }
.camp-constat__badge--integre { background: #dcfce7; color: #166534; }
.camp-constat__badge--rejete { background: #fee2e2; color: #b91c1c; }
.camp-constat__badge--qualif-en-cours {
  background: #ede9fe;
  color: #5b21b6;
  animation: camp-qualif-pulse 1.2s ease-in-out infinite;
}
.camp-constat__badge--qualif-echec {
  background: #ffedd5;
  color: #c2410c;
}
/* Pastille confiance IA — alignée Immomatch (.pastille / pastille-ok|warn|danger) */
.camp-pastille {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: middle;
  background: #e8f2f8;
  color: #2a6fa0;
}
.camp-pastille--ok {
  background: #e7f5ee;
  color: #1d6b45;
}
.camp-pastille--warn {
  background: #fbf3e4;
  color: #8a5a10;
}
.camp-pastille--danger {
  background: #f8ecec;
  color: #8e3030;
}
.camp-pastille--muted {
  background: #eef2f7;
  color: rgba(22, 58, 92, 0.55);
}
@keyframes camp-qualif-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.camp-constats__ia-banner {
  margin: 0.5rem 0 0;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.35;
  border: 1px solid rgba(22, 58, 92, 0.14);
  background: #f2f7fb;
  color: #163a5c;
}
.camp-constats__ia-banner--warn {
  background: #fff7ed;
  border-color: rgba(194, 65, 12, 0.35);
  color: #9a3412;
}
.camp-constats__ia-banner--ok {
  background: #ecfdf5;
  border-color: rgba(22, 101, 52, 0.25);
  color: #166534;
}
.camp-constats__ia-banner--err {
  background: #fef2f2;
  border-color: rgba(185, 28, 28, 0.3);
  color: #991b1b;
}
.camp-constat__actions {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.camp-constat__photos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}
.camp-constat__photo {
  position: relative;
  display: block;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
}
.camp-constat__photos img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(22, 58, 92, 0.14);
  display: block;
}
/* Bulle de vue IA au survol (desktop) */
.camp-constat__photo[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  z-index: 5;
  padding: 4px 8px;
  border-radius: 8px;
  background: #163a5c;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(22, 58, 92, 0.28);
  pointer-events: none;
}
.camp-constat__photo[data-tip]:hover::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #163a5c;
  z-index: 5;
  pointer-events: none;
}
#dossier.camp-fiche {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.dec-liste {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dec-bien {
  background: #fff;
  border: 1px solid rgba(22, 58, 92, 0.14);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(22, 58, 92, 0.04);
}
.dec-bien__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: #f7fafc;
  border-bottom: 1px solid rgba(22, 58, 92, 0.1);
}
.dec-bien__tag {
  margin: 0 0 0.15rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #3d8fc4;
}
.dec-bien h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #163a5c;
}
.dec-constat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  flex: 0 1 16rem;
  text-align: right;
}
.dec-constat__legende,
.dec-constat__note {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(22, 58, 92, 0.55);
  line-height: 1.25;
}
.dec-constat__note {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.dec-etat {
  flex: 0 0 auto;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #eef4f8;
  color: #163a5c;
  font-size: 0.75rem;
  font-weight: 700;
}
.dec-bien--figee {
  border-color: rgba(21, 128, 61, 0.35);
  background: #f4fbf6;
}
.dec-bien--figee .dec-bien__head,
.dec-bien--figee .dec-arretee {
  background: #e7f6ec;
}
.dec-bien--figee .dec-choix,
.dec-bien--figee .dec-option,
.dec-bien--figee .dec-option input {
  pointer-events: none;
}
.dec-etat--moyen { background: #fff7ed; color: #9a3412; }
.dec-etat--mauvais { background: #fef3f2; color: #b42318; }
.dec-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem 1.25rem;
  margin: 0;
  padding: 0.9rem 1.15rem;
}
@media (min-width: 720px) {
  .dec-meta { grid-template-columns: 1fr 1fr; }
}
.dec-meta dt {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(22, 58, 92, 0.55);
}
.dec-meta dd {
  margin: 0.1rem 0 0;
  color: #163a5c;
  font-size: 0.92rem;
}
.dec-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.6rem;
  padding: 0 1.15rem 1rem;
}
.dec-photos img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(22, 58, 92, 0.14);
  background: #f2f7fb;
  display: block;
}
.dec-vide {
  margin: 0 1.15rem 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px dashed rgba(22, 58, 92, 0.2);
  background: #f7fafc;
  color: rgba(22, 58, 92, 0.6);
  font-size: 0.85rem;
}
.dec-choix {
  margin: 0;
  padding: 0.95rem 1.15rem 1.1rem;
  border: 0;
  border-top: 1px solid rgba(22, 58, 92, 0.1);
}
.dec-choix legend {
  padding: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #163a5c;
}
.dec-avert {
  margin: 0.35rem 0 0.75rem;
  max-width: 42rem;
  color: rgba(22, 58, 92, 0.7);
  font-size: 0.85rem;
  line-height: 1.4;
}
.dec-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
@media (min-width: 720px) {
  .dec-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.dec-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(22, 58, 92, 0.16);
  border-radius: 10px;
  background: #fff;
  color: #163a5c;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}
.dec-option:hover { background: #f2f7fb; }
.dec-option:has(input:checked) {
  border-color: #3d8fc4;
  background: rgba(61, 143, 196, 0.1);
}
.dec-option input {
  width: 1rem;
  height: 1rem;
  accent-color: #3d8fc4;
}
.dec-choix .parc-btn--primary { margin-top: 0.85rem; }
.dec-arretee {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
  margin: 0;
  padding: 0.9rem 1.15rem;
  border-top: 1px solid rgba(22, 58, 92, 0.1);
  background: #f2f7fb;
  color: #163a5c;
}
.dec-arretee span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(22, 58, 92, 0.55);
}
.dec-arretee strong { font-size: 1rem; }
.dec-arretee small { color: rgba(22, 58, 92, 0.65); }

.camp-agenda {
  padding: 0;
  overflow: hidden;
}
.camp-agenda[open] {
  border-color: rgba(61, 143, 196, 0.4);
}
.camp-agenda__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #f7fafc;
  border-bottom: 1px solid transparent;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.camp-agenda__head::-webkit-details-marker { display: none; }
.camp-agenda__head:hover { background: rgba(61, 143, 196, 0.1); }
.camp-agenda[open] .camp-agenda__head {
  border-bottom-color: rgba(22, 58, 92, 0.14);
}
.camp-agenda__echelles {
  margin-left: auto;
  display: flex;
  gap: 0.2rem;
  padding: 0.15rem;
  border: 1px solid rgba(22, 58, 92, 0.14);
  border-radius: 10px;
  background: #fff;
}
.camp-agenda:not([open]) .camp-agenda__echelles,
.camp-agenda:not([open]) .camp-agenda__hint {
  display: none;
}
.camp-agenda__chevron {
  display: flex;
  margin-left: auto;
  color: #2a6fa0;
  transition: transform 0.2s;
  flex: 0 0 auto;
}
.camp-agenda[open] .camp-agenda__chevron {
  margin-left: 0.15rem;
  transform: rotate(180deg);
}
.camp-agenda__echelle {
  border: 0;
  background: transparent;
  color: #163a5c;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
}
.camp-agenda__echelle.is-actif {
  background: #3d8fc4;
  color: #fff;
}
.camp-agenda__icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: rgba(61, 143, 196, 0.12);
  color: #2a6fa0;
  flex: 0 0 auto;
}
.camp-agenda__titre {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #163a5c;
}
.camp-agenda__hint {
  margin: 0.15rem 0 0;
  color: rgba(22, 58, 92, 0.65);
  font-size: 0.82rem;
}
.camp-gantt {
  padding: 0.35rem 0 0.6rem;
  overflow-x: auto;
}
.camp-gantt__axe,
.camp-gantt__ligne {
  display: grid;
  grid-template-columns: 15rem var(--piste, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: center;
  min-width: max-content;
}
.camp-gantt__axe { padding: 0.35rem 1rem 0.15rem; }
.camp-gantt__coin,
.camp-gantt__nom {
  position: sticky;
  left: 0;
  z-index: 3;
  background: #fff;
}
.camp-gantt__coin {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(22, 58, 92, 0.5);
  padding-right: 0.35rem;
}
.camp-gantt__regle,
.camp-gantt__piste {
  position: relative;
  min-height: 1.7rem;
}
.camp-gantt__regle { height: 1.35rem; }
.camp-gantt__tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(22, 58, 92, 0.55);
  white-space: nowrap;
}
.camp-gantt__guide {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(22, 58, 92, 0.1);
}
.camp-gantt__aujourdhui {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #b42318;
  z-index: 2;
}
.camp-gantt__aujourdhui::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #b42318;
}
.camp-gantt__ligne {
  width: 100%;
  text-align: left;
  padding: 0.35rem 1rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.camp-gantt__ligne:hover { background: rgba(61, 143, 196, 0.08); }
.camp-gantt__ligne:hover .camp-gantt__nom { background: #f3f8fb; }
.camp-gantt__ligne.is-actif { background: rgba(61, 143, 196, 0.12); }
.camp-gantt__ligne.is-actif .camp-gantt__nom { background: #e8f3f9; }
.camp-gantt__nom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-width: 0;
}
.camp-gantt__lib {
  font-weight: 700;
  color: #163a5c;
  line-height: 1.25;
}
.camp-gantt__dates {
  color: rgba(22, 58, 92, 0.65);
  font-size: 0.75rem;
}
.camp-gantt__piste {
  height: 2.15rem;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(22, 58, 92, 0.03), rgba(22, 58, 92, 0.03));
}
.camp-gantt__barre {
  position: absolute;
  top: 0.45rem;
  height: 1.25rem;
  border-radius: 7px;
  background: #3d8fc4;
  box-shadow: 0 1px 2px rgba(22, 58, 92, 0.16);
  z-index: 1;
}
.camp-gantt__barre--brouillon {
  background: repeating-linear-gradient(
    -45deg,
    #d7e8f4,
    #d7e8f4 6px,
    #c5dced 6px,
    #c5dced 12px
  );
  box-shadow: inset 0 0 0 1px #3d8fc4;
}
.camp-gantt__barre--ouverte { background: #3d8fc4; }
.camp-gantt__barre--cloturee { background: #163a5c; }
.camp-gantt__barre.is-ouvert-fin {
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent);
  mask-image: linear-gradient(90deg, #000 70%, transparent);
}
.camp-gantt__barre.is-ouvert-debut {
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
  mask-image: linear-gradient(90deg, transparent, #000 30%);
}
.camp-gantt__ligne.is-actif .camp-gantt__barre--ouverte { background: #2a6fa0; }
@media (max-width: 720px) {
  .camp-gantt__axe,
  .camp-gantt__ligne { grid-template-columns: 1fr; gap: 0.25rem; }
  .camp-gantt__coin { display: none; }
}

.camp-constat__ia {
  margin-top: 0.45rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  background: #f0f9ff;
  border: 1px solid rgba(61, 143, 196, 0.25);
  font-size: 0.78rem;
  color: #163a5c;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
