/* Planning Bénévoles – design « les champs près de la mer » (bleu océan + vert prairie) */
:root {
  --accent: #0e7490;          /* bleu océan */
  --accent-fonce: #155e75;
  --accent-tres-fonce: #164e63;
  --herbe: #15803d;           /* vert prairie */
  --herbe-fonce: #166534;
  --fond: #f3f8f6;            /* écume très claire */
  --carte: #ffffff;
  --texte: #16262e;
  --texte-2: #55676f;
  --bord: #dde8e6;
  --vert: #15803d;
  --vert-fond: #dcfce7;
  --rouge: #b91c1c;
  --rouge-fond: #fee2e2;
  --jaune: #b45309;
  --jaune-fond: #fef3c7;
  --rayon: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--fond);
  color: var(--texte);
  font-size: 16px;
  line-height: 1.5;
}
body.avec-barre { padding-bottom: 84px; }
a { color: var(--accent-fonce); }
h1, h2, h3 { line-height: 1.25; }

.conteneur { max-width: 780px; margin: 0 auto; padding: 0 14px 40px; }
.conteneur.large { max-width: 1150px; }

/* ---------- entête publique (mer → champs) ---------- */
.entete {
  position: relative;
  background: linear-gradient(135deg, #075985 0%, #0e7490 55%, #15803d 130%);
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 30px 14px 58px;
  overflow: hidden;
}
.entete.avec-banniere::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 55, 74, .30) 0%, rgba(7, 55, 74, .62) 100%);
}
.entete-contenu { position: relative; z-index: 1; }
.entete h1 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 5vw, 2.25rem);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.entete .logo {
  width: 86px; height: 86px; border-radius: 50%;
  object-fit: cover; background: #fff;
  border: 3px solid rgba(255, 255, 255, .92);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .3);
  margin-bottom: 10px;
}
.entete .meta { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.entete .meta span {
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .4);
  padding: 3px 12px; border-radius: 999px; font-size: .9rem;
  backdrop-filter: blur(3px);
}
.vague {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: 44px; display: block; z-index: 1;
}
.vague path { fill: var(--fond); }
.intro { margin: 16px 0 6px; color: var(--texte-2); }

.etapes { display: flex; gap: 6px; margin: 14px 0 18px; flex-wrap: wrap; }
.etapes span {
  flex: 1 1 150px; text-align: center; font-size: .82rem; color: var(--texte-2);
  background: var(--carte); border: 1px solid var(--bord);
  border-radius: 999px; padding: 7px 10px;
}
.etapes b { color: var(--accent); }

/* ---------- messages flash ---------- */
.msg { padding: 12px 16px; border-radius: 10px; margin: 12px 0; font-size: .95rem; border: 1px solid; }
.msg-succes { background: var(--vert-fond); color: var(--vert); border-color: #86efac; }
.msg-erreur { background: var(--rouge-fond); color: var(--rouge); border-color: #fca5a5; }
.msg-attention { background: var(--jaune-fond); color: var(--jaune); border-color: #fcd34d; }
.msg-info { background: #e0f2fe; color: #075985; border-color: #7dd3fc; }

/* ---------- filtre par jour ---------- */
.filtre { margin: 10px 0 16px; display: none; }
.filtre.actif { display: block; }
.filtre p { margin: 0 0 8px; font-size: .88rem; color: var(--texte-2); font-weight: 600; }
.pastilles { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.pastille {
  border: 1.5px solid var(--bord); background: var(--carte); color: var(--texte);
  padding: 7px 14px; border-radius: 999px; font-size: .88rem; white-space: nowrap;
  cursor: pointer; flex: 0 0 auto; font-family: inherit;
}
.pastille.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }

/* ---------- postes (accordéons) ---------- */
details.poste {
  background: var(--carte); border: 1px solid var(--bord);
  border-radius: var(--rayon); margin-bottom: 10px; overflow: hidden;
}
details.poste[hidden] { display: none; }
details.poste summary {
  list-style: none; cursor: pointer; padding: 14px 16px;
  display: flex; align-items: center; gap: 10px; user-select: none; flex-wrap: wrap;
}
details.poste summary::-webkit-details-marker { display: none; }
details.poste summary::after {
  content: ""; margin-left: auto; flex: 0 0 auto;
  width: 9px; height: 9px; border-right: 2px solid var(--texte-2);
  border-bottom: 2px solid var(--texte-2); transform: rotate(45deg);
  transition: transform .15s;
}
details.poste[open] summary::after { transform: rotate(225deg); }
.poste-nom { font-weight: 700; }
.badge {
  font-size: .78rem; padding: 2px 10px; border-radius: 999px;
  background: var(--vert-fond); color: var(--vert); font-weight: 600; white-space: nowrap;
}
.badge.complet { background: #eef2f1; color: var(--texte-2); }
.badge.choisi { background: var(--accent); color: #fff; }
.poste-corps { padding: 0 16px 16px; }
.poste-desc { margin: 0 0 10px; color: var(--texte-2); font-size: .92rem; }
.jour-titre {
  margin: 10px 0 6px; font-size: .8rem; font-weight: 700;
  color: var(--herbe); text-transform: uppercase; letter-spacing: .04em;
}

/* ---------- pastilles de créneaux (chips) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
label.chip {
  position: relative; display: flex; flex-direction: column; align-items: center;
  gap: 1px; min-width: 108px; padding: 8px 14px;
  border: 1.5px solid var(--bord); border-radius: 12px; background: var(--carte);
  cursor: pointer; text-align: center;
}
label.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip-heure { font-weight: 700; font-size: .95rem; }
.chip-reste { font-size: .75rem; color: var(--texte-2); }
label.chip:has(input:checked),
label.chip.cochee { background: var(--accent); border-color: var(--accent-fonce); }
label.chip:has(input:checked) .chip-heure, label.chip.cochee .chip-heure,
label.chip:has(input:checked) .chip-reste, label.chip.cochee .chip-reste { color: #fff; }
label.chip.cochee .chip-reste::after { content: " ✓"; }
label.chip.complet { background: #eef2f1; opacity: .6; cursor: not-allowed; }
label.chip.complet .chip-heure { text-decoration: line-through; }
label.chip.indispo { background: #f1f5f4; opacity: .55; cursor: not-allowed; border-style: dashed; }
label.chip:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
label.chip.dim { opacity: .35; }

/* ---------- barre fixe ---------- */
.barre-fixe {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--carte); border-top: 1px solid var(--bord);
  box-shadow: 0 -4px 16px rgba(10, 60, 70, .12);
  padding: 10px 16px; display: none; align-items: center; gap: 12px;
}
.barre-fixe.visible { display: flex; }
.barre-fixe .compte { font-weight: 700; }
.barre-fixe .btn { margin-left: auto; }

/* ---------- formulaires ---------- */
.carte {
  background: var(--carte); border: 1px solid var(--bord);
  border-radius: var(--rayon); padding: 20px; margin: 14px 0;
}
.carte h2 { margin-top: 0; }
.deux-cartes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.deux-cartes > .carte { margin: 0; }
@media (max-width: 760px) { .deux-cartes { grid-template-columns: 1fr; } }
.champ { margin-bottom: 14px; }
.champ label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 5px; }
.champ .optionnel { color: var(--texte-2); font-weight: 400; }
.champ input[type=text], .champ input[type=tel], .champ input[type=email],
.champ input[type=password], .champ input[type=number], .champ input[type=url],
.champ input[type=time], .champ select, .champ textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--bord);
  border-radius: 10px; font-size: 16px; background: #fff; color: var(--texte);
  font-family: inherit;
}
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, .15);
}
.champ input.invalide { border-color: var(--rouge); }
.erreur-champ { color: var(--rouge); font-size: .84rem; margin-top: 4px; }
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 540px) { .deux-colonnes { grid-template-columns: 1fr; } }
.consentement { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--texte-2); }
.consentement input { width: 20px; height: 20px; margin-top: 1px; flex: 0 0 auto; accent-color: var(--accent); }
.canal .radios { display: flex; gap: 10px; flex-wrap: wrap; }
.canal .radio {
  display: flex; align-items: center; gap: 8px; font-weight: 600;
  border: 1.5px solid var(--bord); border-radius: 10px; padding: 10px 16px;
  cursor: pointer; background: #fff;
}
.canal .radio input { accent-color: var(--accent); width: 18px; height: 18px; }
.canal .radio:has(input:checked) { border-color: var(--accent); background: #ecfeff; }

/* ---------- boutons ---------- */
.btn {
  display: inline-block; background: var(--accent); color: #fff; border: none;
  padding: 12px 22px; border-radius: 11px; font-size: 1rem; font-weight: 700;
  cursor: pointer; text-decoration: none; text-align: center; font-family: inherit;
}
.btn:hover { background: var(--accent-fonce); }
.btn-large { width: 100%; padding: 14px; font-size: 1.05rem; }
.btn-secondaire { background: #fff; color: var(--accent-fonce); border: 1.5px solid var(--accent); }
.btn-secondaire:hover { background: #ecfeff; }
.btn-discret { background: transparent; color: var(--texte-2); border: 1.5px solid var(--bord); }
.btn-discret:hover { background: #eef4f2; color: var(--texte); }
.btn-danger { background: #fff; color: var(--rouge); border: 1.5px solid #fca5a5; }
.btn-danger:hover { background: var(--rouge-fond); }
.btn-attention { background: var(--jaune-fond); color: var(--jaune); border: 1.5px solid #fcd34d; }
.btn-petit { padding: 6px 12px; font-size: .85rem; border-radius: 8px; font-weight: 600; }
.btn-actif { background: var(--accent); color: #fff; border: 1.5px solid var(--accent); }

/* ---------- récapitulatif ---------- */
.recap-liste { list-style: none; padding: 0; margin: 0; }
.recap-liste li {
  padding: 9px 0 9px 30px; border-bottom: 1px dashed var(--bord); position: relative;
}
.recap-liste li:last-child { border-bottom: none; }
.recap-liste li::before { content: "✓"; color: var(--herbe); font-weight: 800; position: absolute; left: 6px; }
.recap-jour { color: var(--herbe); font-weight: 600; }
.lien-perso {
  border: 2px dashed var(--accent); background: #ecfeff; border-radius: 12px;
  padding: 14px; margin: 12px 0; word-break: break-all; font-size: .92rem;
}
.gros-emoji { font-size: 3rem; text-align: center; margin: 10px 0 0; }

/* ---------- pied de page ---------- */
.pied { text-align: center; color: var(--texte-2); font-size: .85rem; margin-top: 36px; }
.pied a { color: var(--texte-2); }

/* ---------- administration ---------- */
.admin-nav {
  background: #0b3442; color: #fff; padding: 0 14px; position: sticky; top: 0; z-index: 70;
  display: flex; align-items: center; gap: 2px; overflow-x: auto;
}
.admin-nav .marque { font-weight: 800; padding: 13px 10px 13px 0; white-space: nowrap; color: #67e8f9; }
.admin-nav a {
  color: #bcd6dd; text-decoration: none; padding: 13px 11px; font-size: .92rem; white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.admin-nav a:hover { color: #fff; }
.admin-nav a.actif { color: #fff; border-bottom-color: #22d3ee; font-weight: 600; }
.admin-nav form { margin-left: auto; }
.admin-nav button {
  background: none; border: 1px solid #3c5f6b; color: #bcd6dd; border-radius: 8px;
  padding: 6px 12px; cursor: pointer; font-size: .85rem; white-space: nowrap; font-family: inherit;
}
.admin-titre { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 22px 0 6px; }
.admin-titre h1 { margin: 0; font-size: 1.5rem; }
.admin-titre .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0; }
.stat {
  background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon);
  padding: 14px 16px; border-top: 3px solid var(--accent);
}
.stat:nth-child(2n) { border-top-color: var(--herbe); }
.stat .valeur { font-size: 1.9rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat .libelle { font-size: .84rem; color: var(--texte-2); }

.tableau { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tableau th {
  text-align: left; padding: 9px 10px; border-bottom: 2px solid var(--bord);
  font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--texte-2);
}
.tableau td { padding: 9px 10px; border-bottom: 1px solid var(--bord); vertical-align: middle; }
.tableau tr:hover td { background: #f7fbfa; }
.tableau .actions-ligne { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.defiler { overflow-x: auto; }

/* vue d'ensemble du tableau de bord */
.apercu-poste {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 9px 0; border-bottom: 1px solid var(--bord);
}
.apercu-poste:last-child { border-bottom: none; }
.apercu-nom {
  flex: 0 0 210px; font-weight: 700; color: var(--texte); text-decoration: none;
  padding-top: 3px;
}
.apercu-nom:hover { color: var(--accent); }
.apercu-chips { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 640px) {
  .apercu-poste { flex-direction: column; gap: 6px; }
  .apercu-nom { flex: none; }
}
.cel {
  display: inline-block; border-radius: 8px; padding: 4px 9px; font-weight: 700;
  text-decoration: none; font-size: .8rem; line-height: 1.3;
}
.cel-jour { display: block; font-size: .68rem; font-weight: 600; opacity: .8; }
.cel-vide { background: var(--rouge-fond); color: var(--rouge); }
.cel-partiel { background: var(--jaune-fond); color: var(--jaune); }
.cel-complet { background: var(--vert-fond); color: var(--vert); }
.cel-sur { background: #ede9fe; color: #6d28d9; }
.legende { display: flex; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--texte-2); margin: 10px 0; }
.legende span::before { content: "●"; margin-right: 5px; }
.legende .l-vide::before { color: #fca5a5; }
.legende .l-partiel::before { color: #fcd34d; }
.legende .l-complet::before { color: #86efac; }

/* liste de cases à cocher (copie de créneaux) */
.cases-postes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.case-poste {
  display: flex; align-items: center; gap: 7px; border: 1.5px solid var(--bord);
  border-radius: 9px; padding: 7px 12px; cursor: pointer; font-size: .9rem; background: #fff;
}
.case-poste input { accent-color: var(--accent); width: 17px; height: 17px; }
.case-poste:has(input:checked) { border-color: var(--accent); background: #ecfeff; }

/* planning */
.planning-jour { color: var(--accent-tres-fonce); margin: 20px 0 8px; font-size: 1.15rem; }
.planning-bloc { break-inside: avoid; page-break-inside: avoid; margin-bottom: 16px; }
.planning-bloc h3 {
  background: linear-gradient(90deg, var(--accent), var(--accent-fonce)); color: #fff;
  padding: 8px 12px; border-radius: 9px; margin: 0 0 8px; font-size: 1.02rem;
}
.badge-nb { font-size: .78rem; background: #eef2f1; border-radius: 999px; padding: 2px 9px; color: var(--texte-2); font-weight: 600; }
.manque { color: var(--rouge); font-weight: 700; }

/* affiche */
.affiche { text-align: center; padding: 36px 20px; }
.affiche h1 { font-size: 2.6rem; color: var(--accent-tres-fonce); margin: 8px 0; }
.affiche .url { font-size: 1.5rem; font-weight: 800; color: var(--accent); word-break: break-all; }
.affiche img { margin: 22px auto 0; display: block; }
.affiche-logo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto !important; }

/* ---------- impression ---------- */
@media print {
  .admin-nav, .no-print, .barre-fixe, .msg { display: none !important; }
  body { background: #fff; font-size: 12px; }
  .conteneur { max-width: none; padding: 0; }
  .carte { border: none; padding: 0; margin: 8px 0; }
  .planning-bloc h3, .cel { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* noms des inscrits sous chaque créneau */
.chip-noms {
  font-size: .68rem; color: var(--accent-fonce); font-weight: 600;
  max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
label.chip.cochee .chip-noms, label.chip:has(input:checked) .chip-noms { color: rgba(255, 255, 255, .92); }
label.chip.complet .chip-noms { color: var(--texte-2); }

/* grille alignée du tableau de bord (une colonne par horaire) */
.grille { border-collapse: collapse; font-size: .82rem; }
.grille th, .grille td { border: 1px solid var(--bord); padding: 5px 7px; text-align: center; }
.grille th { background: #eaf2ef; font-size: .73rem; white-space: nowrap; color: var(--texte-2); }
.grille td.nom-poste, .grille th.nom-poste {
  text-align: left; white-space: nowrap; background: #fafcfb;
  position: sticky; left: 0; z-index: 2;
}
.grille td.nom-poste a { font-weight: 700; color: var(--texte); text-decoration: none; }
.grille td.nom-poste a:hover { color: var(--accent); }
.grille .cel { min-width: 46px; }
.grille .cel-off { color: #c9d6d2; }
.grille th.jour-groupe {
  text-align: left; background: #dcebe5;
  color: var(--accent-tres-fonce); font-size: .78rem;
}

/* référent de poste */
.poste-referent { margin: 0 0 10px; font-size: .88rem; color: var(--accent-tres-fonce); }
.referent-planning { font-size: .8rem; font-weight: 400; float: right; opacity: .95; }

/* glisser-déposer des postes */
.poignee {
  cursor: grab; user-select: none; color: var(--texte-2);
  font-size: 1.1rem; padding: 4px 6px; display: inline-block; touch-action: none;
}
.poignee:active { cursor: grabbing; }
tr.tr-glisse { opacity: .45; background: #ecfeff; }
.toast {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: var(--accent-tres-fonce); color: #fff; padding: 9px 18px;
  border-radius: 999px; font-size: .9rem; z-index: 90;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25); opacity: 0; transition: opacity .25s;
}
.toast.visible { opacity: 1; }

/* ---------- frise chronologique du tableau de bord ---------- */
.gantt { overflow-x: auto; border: 1px solid var(--bord); border-radius: 10px; }
.gantt-ligne { display: flex; width: max-content; min-width: 100%; border-bottom: 1px solid var(--bord); }
.gantt-ligne:last-child { border-bottom: none; }
.gantt-nom {
  flex: 0 0 172px; position: sticky; left: 0; z-index: 3;
  background: var(--carte); border-right: 2px solid var(--bord);
  padding: 5px 10px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: .85rem;
}
.gantt-nom a { font-weight: 700; color: var(--texte); text-decoration: none; }
.gantt-nom a:hover { color: var(--accent); }
.gantt-vide { font-size: .7rem; color: var(--jaune); }
.gantt-coin { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--texte-2); }
.gantt-jour, .gantt-piste {
  flex: 0 0 auto; position: relative;
  border-left: 2px solid #8fb4c0;
  background-color: rgba(14, 116, 144, .04);
  background-image: linear-gradient(to right, rgba(14, 116, 144, .14) 1px, transparent 1px);
  background-size: var(--heure-px) 100%;
}
.gantt-piste.j-impair, .gantt-jour.j-impair {
  background-color: rgba(21, 128, 61, .06);
  background-image: linear-gradient(to right, rgba(21, 128, 61, .16) 1px, transparent 1px);
}
.gantt-jour { background-image: none; }
.gantt-jour { background-color: #ddecf2; }
.gantt-jour.j-impair { background-color: #e0efe2; }
.gantt-jour-nom {
  font-weight: 800; font-size: .78rem; padding: 4px 8px 0; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; color: var(--accent-tres-fonce);
  position: sticky; left: 174px; display: inline-block; max-width: 100%;
}
.gantt-jour.j-impair .gantt-jour-nom { color: var(--herbe-fonce); }
.gantt-heures { position: relative; height: 17px; font-size: .67rem; color: var(--texte-2); }
.gantt-heures span { position: absolute; top: 0; padding-left: 3px; }
.barre {
  position: absolute; height: 26px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65), 0 1px 2px rgba(10, 60, 70, .12);
  overflow: hidden; white-space: nowrap;
}
.barre:hover { filter: brightness(.95); }
@media print { .barre, .gantt-jour, .gantt-piste { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* ---------- page postes tout-en-un (accordéons) ---------- */
.poste-carte {
  background: var(--carte); border: 1px solid var(--bord);
  border-radius: var(--rayon); margin-bottom: 8px; overflow: hidden;
}
.poste-carte summary {
  list-style: none; cursor: pointer; padding: 11px 14px;
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap; user-select: none;
}
.poste-carte summary::-webkit-details-marker { display: none; }
.poste-carte summary::after {
  content: ""; margin-left: auto; flex: 0 0 auto;
  width: 9px; height: 9px; border-right: 2px solid var(--texte-2);
  border-bottom: 2px solid var(--texte-2); transform: rotate(45deg); transition: transform .15s;
}
.poste-carte[open] summary::after { transform: rotate(225deg); }
.poste-carte[open] { border-color: var(--accent); }
.poste-carte .case-multi { width: 17px; height: 17px; accent-color: var(--rouge); flex: 0 0 auto; }
.poste-carte-corps { padding: 4px 14px 12px; border-top: 1px solid var(--bord); }
.ligne-form { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; padding: 6px 0; }
.ligne-form input[type=text], .ligne-form input[type=time], .ligne-form input[type=number],
.ligne-form select {
  padding: 7px 9px; border: 1px solid var(--bord); border-radius: 8px;
  font-size: .92rem; font-family: inherit; background: #fff;
}
.tableau-creneaux { margin: 4px 0; }
.tableau-creneaux td { padding: 3px 6px; }
.ajout-creneaux {
  background: #f5faf8; border: 1px dashed var(--bord); border-radius: 10px;
  padding: 4px 10px; margin: 8px 0;
}
.pied-carte { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
tr.tr-glisse, .poste-carte.tr-glisse { opacity: .45; background: #ecfeff; }
