/* Palette tirée de la collection : prune, sauge, camel sur un gris lilas très clair. */
:root {
  --encre: #2a1f2d;
  --encre-douce: #6e6473;
  --fond: #f3f1f4;
  --surface: #ffffff;
  --trait: #e0dae3;
  --prune: #6b2d5c;
  --prune-fonce: #521f46;
  --prune-pale: #f1e6ee;
  --sauge: #3f6b4c;
  --sauge-pale: #e3eee6;
  --camel: #8a5e17;
  --camel-pale: #f6ead3;
  --alerte: #a8231c;
  --alerte-pale: #fbe5e3;
  --titre: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --texte: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --rayon: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font: 15px/1.5 var(--texte);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2 { font-family: var(--titre); margin: 0; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--prune); outline-offset: 2px; }

/* En-tête */

.entete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
}
.entete-marque {
  font: 700 19px/1 var(--titre);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.entete-nav { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.entete-nav a { text-decoration: none; color: var(--encre-douce); }
.entete-nav a:hover { color: var(--encre); }
.entete-qui { color: var(--encre-douce); padding-left: 20px; border-left: 1px solid var(--trait); }

.bandeau {
  margin: 0 clamp(16px, 4vw, 40px) 8px;
  padding: 10px 16px;
  border-radius: var(--rayon);
  background: var(--sauge-pale);
  color: var(--sauge);
  font-weight: 500;
}
.bandeau-erreur { background: var(--alerte-pale); color: var(--alerte); }

/* Page */

.page { max-width: 1240px; margin: 0 auto; padding: 16px clamp(16px, 4vw, 40px) 64px; }
.page-tete {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-bottom: 24px;
}
.titre-page {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}
.sous-titre { margin-top: 8px; color: var(--encre-douce); }
.vide, .aide { color: var(--encre-douce); max-width: 60ch; }
.aide { margin-top: 20px; font-size: 14px; }
.retour {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--encre-douce);
  font-size: 14px;
  text-decoration: none;
}
.retour::before { content: "‹ "; }
.retour:hover { color: var(--encre); }

.resume, .etats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.resume li { display: flex; align-items: center; gap: 7px; }
.pastille { width: 9px; height: 9px; border-radius: 50%; background: var(--encre-douce); }
.pastille-relire { background: #c9922e; }
.pastille-valide { background: var(--sauge); }
.pastille-programme { background: var(--prune); }
.pastille-probleme { background: var(--alerte); }
.etats { flex-direction: column; gap: 6px; }
.etats li { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.etats small { flex-basis: 100%; color: var(--encre-douce); }

/* États */

.etat {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.etat-relire { background: var(--camel-pale); color: var(--camel); }
.etat-valide { background: var(--sauge-pale); color: var(--sauge); }
.etat-programme { background: var(--prune-pale); color: var(--prune); }
.etat-publie { background: #e8e5ea; color: var(--encre-douce); }
.etat-probleme { background: var(--alerte-pale); color: var(--alerte); }

/* Calendrier : chaque jour porte ses publications comme des tirages photo */

/* Fiche d'une publication */

.fiche { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 32px; align-items: start; }
.fiche > * { min-width: 0; }
.fiche-edition { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.bloc { background: var(--surface); border-radius: 14px; padding: 22px; }
.bloc h2 { font-size: 20px; letter-spacing: -0.02em; }
.bloc h2 + p { margin: 4px 0 16px; color: var(--encre-douce); font-size: 14px; }

.champ { display: block; font-size: 13px; font-weight: 600; color: var(--encre-douce); border: 0; padding: 0; margin: 0; min-width: 0; }
.champ legend { padding: 0; }
.champ input, .champ textarea, .connexion input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--trait);
  border-radius: 8px;
  background: var(--surface);
  color: var(--encre);
  font: 400 15px/1.55 var(--texte);
}
.champ textarea { resize: vertical; }
.champ input:disabled, .champ textarea:disabled { background: var(--fond); color: var(--encre-douce); }
.compteur { margin-top: 8px; font-size: 13px; color: var(--encre-douce); }
.compteur.trop { color: var(--alerte); font-weight: 600; }
.rangee { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.cases { display: flex; gap: 18px; margin-top: 6px; padding: 10px 0; }
.case { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 400; color: var(--encre); }
.case input { width: 17px; height: 17px; accent-color: var(--prune); }

.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--trait); }
.actions-note { flex: 1 1 260px; color: var(--encre-douce); font-size: 14px; }
.bouton {
  padding: 11px 20px;
  border: 1px solid var(--trait);
  border-radius: 999px;
  background: var(--surface);
  color: var(--encre);
  font: 600 15px/1 var(--texte);
  cursor: pointer;
}
.bouton:hover { border-color: var(--encre-douce); }
.bouton-principal { border-color: var(--prune); background: var(--prune); color: #fff; }
.bouton-principal:hover { border-color: var(--prune-fonce); background: var(--prune-fonce); }

/* Cadrage */

.cadrage { list-style: none; margin: 0; padding: 0 0 6px; display: flex; gap: 12px; overflow-x: auto; }
.cadrage li { flex: 0 0 132px; }
.cadrage img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.segments { display: flex; margin-top: 6px; border: 1px solid var(--trait); border-radius: 999px; overflow: hidden; }
.segments button {
  flex: 1;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--encre-douce);
  font: 500 12px/1.4 var(--texte);
  cursor: pointer;
}
.segments button:hover { background: var(--fond); }
.segments button[aria-pressed="true"] { background: var(--encre); color: #fff; }

/* Aperçu */

.apercu { position: sticky; top: 16px; }
.onglets { display: inline-flex; padding: 3px; margin-bottom: 12px; border-radius: 999px; background: #e6e1e9; }
.onglets button {
  padding: 6px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--encre-douce);
  font: 600 13px/1.4 var(--texte);
  cursor: pointer;
}
.onglets button[aria-selected="true"] { background: var(--surface); color: var(--encre); }
.maquette { background: var(--surface); border-radius: 14px; overflow: hidden; box-shadow: 0 12px 32px -18px rgba(82, 31, 70, 0.45); }
.maquette-tete { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 14px; }
.maquette-tete small { display: block; color: var(--encre-douce); font-size: 12px; }
.avatar {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--prune);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 15px/1 var(--titre);
}
.carrousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carrousel::-webkit-scrollbar { display: none; }
.carrousel img { flex: 0 0 100%; aspect-ratio: 4 / 5; object-fit: cover; scroll-snap-align: start; }
.points { display: flex; justify-content: center; gap: 5px; padding: 10px 0 2px; min-height: 8px; }
.points i { width: 6px; height: 6px; border-radius: 50%; background: var(--trait); }
.points i.actif { background: var(--prune); }
.maquette-legende { padding: 8px 14px 16px; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.maquette-legende button { border: 0; padding: 0; background: none; color: var(--encre-douce); font: inherit; cursor: pointer; }
.mosaique { display: grid; gap: 2px; grid-template-columns: 1fr 1fr; }
.mosaique span { position: relative; aspect-ratio: 1; overflow: hidden; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mosaique-1 { grid-template-columns: 1fr; }
.mosaique-3 span:first-child { grid-column: span 2; aspect-ratio: 2 / 1; }
.mosaique b { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(42, 31, 45, 0.55); color: #fff; font: 700 28px/1 var(--titre); }
.apercu-note { margin-top: 10px; font-size: 12.5px; color: var(--encre-douce); }

/* Connexion */

.connexion { display: grid; place-items: center; min-height: 72vh; padding: 24px; }
.connexion form { width: min(100%, 380px); display: grid; gap: 16px; }
.connexion h1 { font-size: 56px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.connexion p { color: var(--encre-douce); }
.connexion label { font-size: 13px; font-weight: 600; color: var(--encre-douce); }
.connexion-erreur { color: var(--alerte) !important; font-weight: 600; }
.connexion .bouton { justify-self: start; margin-top: 4px; }

/* Petits écrans : le calendrier devient un agenda */

@media (max-width: 860px) {

  .fiche { grid-template-columns: 1fr; }
  .apercu { position: static; max-width: 400px; }
  .entete-qui { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 520px) {
  .entete-nav a[href="/"] { display: none; }
}

/* Articles liés (stock et liens Odoo) */

.bloc-tete + p { margin: 4px 0 16px; color: var(--encre-douce); font-size: 14px; }
.bloc-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.lien { border: 0; padding: 0; background: none; color: var(--prune); font: 500 14px/1.4 var(--texte); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lien:hover { color: var(--prune-fonce); }
.lien-discret { color: var(--encre-douce); }
.articles, .resultats { list-style: none; margin: 0; padding: 0; }
.article { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--trait); }
.article:first-child { border-top: 0; padding-top: 0; }
.article > img { flex: none; width: 64px; height: 80px; object-fit: cover; border-radius: 6px; background: var(--fond); }
.article-corps { min-width: 0; display: grid; gap: 6px; }
.article-nom { font-weight: 600; }
.article-nom .etat { margin-left: 6px; vertical-align: 1px; }
.tailles { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.taille { padding: 2px 9px; border: 1px solid var(--trait); border-radius: 6px; font-size: 13px; color: var(--encre-douce); }
.taille b { color: var(--encre); font-family: var(--titre); }
.taille-vide { background: var(--alerte-pale); border-color: transparent; color: var(--alerte); }
.taille-vide b { color: var(--alerte); }
.prix { margin-left: 6px; font: 600 14px/1 var(--titre); }
.article-liens { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14px; }
.article-liens a { color: var(--prune); text-underline-offset: 3px; }
.article-note { color: var(--alerte); }
.en-ligne { display: inline; }
.recherche { display: flex; gap: 10px; margin-top: 18px; }
.recherche input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--trait); border-radius: 999px; font: 400 15px/1.4 var(--texte); color: var(--encre); background: var(--surface); }
.resultats { margin-top: 12px; }
.resultats li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--trait); }
.resultats small { color: var(--encre-douce); }
.bouton-petit { padding: 7px 14px; font-size: 13px; }

/* Recherche d'article : suggestions avec photo */

.recherche-champ { position: relative; flex: 1; min-width: 0; display: flex; }
.suggestions {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  max-height: 420px;
  overflow-y: auto;
  border: 1px solid var(--trait);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 40px -20px rgba(82, 31, 70, 0.5);
}
.suggestions li { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 9px; cursor: pointer; }
.suggestions li[aria-selected="true"] { background: var(--prune-pale); }
.suggestions img, .resultats img { flex: none; width: 52px; height: 65px; object-fit: cover; border-radius: 6px; background: var(--fond); }
.suggestions strong { display: block; font-weight: 600; line-height: 1.3; }
.suggestions small { color: var(--encre-douce); }
.suggestions .rupture { color: var(--alerte); font-weight: 600; }
.suggestions .info { padding: 10px; color: var(--encre-douce); cursor: default; }
.resultats li > span { flex: 1; min-width: 0; }

/* Cadrage : la photo se met à jour sur place */

.cadrage li.en-cours img { opacity: 0.45; }
.cadrage img { transition: opacity 0.15s; }
.segments.en-cours button { cursor: progress; }

/* Stories et reels : aperçu plein écran vertical */

.fiche-story, .fiche-reel { grid-template-columns: minmax(240px, 330px) minmax(0, 1fr); }
.ecran {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: #1c151e;
  box-shadow: 0 16px 36px -18px rgba(82, 31, 70, 0.55);
}
.ecran .carrousel { height: 100%; }
.ecran .carrousel img, .ecran .carrousel video {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  scroll-snap-align: start;
}
.points-barres { position: absolute; z-index: 2; top: 10px; left: 12px; right: 12px; padding: 0; gap: 4px; min-height: 0; }
.points-barres i { flex: 1; width: auto; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.4); }
.points-barres i.actif { background: #fff; }
.ecran-compte {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.ecran-compte .avatar { width: 28px; height: 28px; font-size: 13px; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85); }
.ecran-legende {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 46%;
  overflow: hidden;
  margin: 0;
  padding: 48px 14px 64px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  font-size: 13.5px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  pointer-events: none;
}
.ecran-legende button { pointer-events: auto; border: 0; padding: 0; background: none; color: rgba(255, 255, 255, 0.75); font: inherit; cursor: pointer; }

.cadrage-story li { flex-basis: 104px; }
.cadrage-story img { aspect-ratio: 9 / 16; }

.soucis { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }
.soucis li { padding: 9px 14px; border-radius: 8px; background: var(--camel-pale); color: var(--camel); font-size: 14px; font-weight: 500; }
.soucis .souci-bloquant { background: var(--alerte-pale); color: var(--alerte); }
.videos { list-style: none; margin: 14px 0 0; padding: 0; font-size: 14px; color: var(--encre-douce); }
.videos strong { color: var(--encre); font-weight: 600; margin-right: 6px; }
.rangee-seule { margin-top: 0; }
.soucis + .rangee-seule, .videos + .rangee { margin-top: 18px; }

@media (max-width: 860px) {
  .fiche-story, .fiche-reel { grid-template-columns: 1fr; }
  .fiche-story .apercu, .fiche-reel .apercu { max-width: 300px; }
}

/* Navigation par mois et ajout d'une publication */

.entete-action { padding: 7px 14px; border-radius: 999px; background: var(--prune); color: #fff !important; font-weight: 600; }
.entete-action:hover { background: var(--prune-fonce); }
.mois-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mois-nav .bouton { text-decoration: none; }

/* Jours du mois voisin : seul le numéro est atténué, les publications restent bien lisibles. */

/* Création */

.page-etroite { max-width: 780px; }
.page-etroite .titre-page { margin-bottom: 24px; }
.page-etroite .bloc { display: grid; gap: 18px; }
.page-etroite .rangee { margin-top: 0; }
.page-etroite .compteur { margin-top: -10px; }
.genres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.genre { position: relative; display: block; padding: 14px; border: 1px solid var(--trait); border-radius: 12px; cursor: pointer; font-weight: 400; color: var(--encre-douce); font-size: 13.5px; line-height: 1.4; }
.genre input { position: absolute; opacity: 0; }
.genre strong { display: block; margin-bottom: 4px; color: var(--encre); font: 700 18px/1.1 var(--titre); }
.genre:has(input:checked) { border-color: var(--prune); background: var(--prune-pale); box-shadow: inset 0 0 0 1px var(--prune); }
.genre:has(input:focus-visible) { outline: 2px solid var(--prune); outline-offset: 2px; }
.champ select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--trait);
  border-radius: 8px;
  background: var(--surface);
  color: var(--encre);
  font: 400 15px/1.55 var(--texte);
}
.rangee > .champ { flex: 1 1 160px; }

/* Dépôt de fichiers */

.depot {
  display: grid;
  place-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 22px 16px;
  border: 1.5px dashed #c9bfce;
  border-radius: 12px;
  color: var(--encre-douce);
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.depot:hover, .depot.survol { border-color: var(--prune); background: var(--prune-pale); }
.depot strong { color: var(--prune); font-weight: 600; }
.depot small { display: block; }
.depot input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.depot:has(input:focus-visible) { outline: 2px solid var(--prune); outline-offset: 2px; }
.depot.occupe { pointer-events: none; opacity: 0.6; }
.cadrage + .depot { margin-top: 16px; }
.depot-etat { margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--prune); white-space: pre-line; }
.depot-etat.erreur { color: var(--alerte); }
.depot-etat a { color: inherit; }

/* Liste des photos et vidéos d'une publication */

.media-visuel { position: relative; display: block; border-radius: 6px; overflow: hidden; background: var(--fond); }
.media-rang {
  position: absolute;
  top: 6px;
  left: 6px;
  min-width: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(42, 31, 45, 0.78);
  color: #fff;
  font: 600 12px/1.7 var(--titre);
  text-align: center;
}
.media-marque { position: absolute; right: 6px; bottom: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(42, 31, 45, 0.82); color: #fff; font: 600 11.5px/1.6 var(--texte); }
.media-vide { display: grid; place-items: center; aspect-ratio: 9 / 16; color: var(--encre-douce); font-size: 13px; }
.cadrage-reel li { flex-basis: 104px; }
.cadrage-reel img { aspect-ratio: 9 / 16; }
.media-outils { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.media-outils button {
  border: 1px solid var(--trait);
  border-radius: 999px;
  background: var(--surface);
  color: var(--encre-douce);
  font: 500 12px/1.5 var(--texte);
  padding: 2px 9px;
  cursor: pointer;
}
.media-outils button:hover:not(:disabled) { border-color: var(--encre-douce); color: var(--encre); }
.media-outils button:disabled { opacity: 0.35; cursor: default; }
.media-outils .media-retirer { margin-left: auto; }
.media-outils .media-retirer:hover { border-color: var(--alerte); color: var(--alerte); }
.actions-gauche { margin-right: auto; }

@media (max-width: 860px) {
  .genres { grid-template-columns: 1fr; }
  .entete-action { padding: 6px 11px; }
}

/* L'attribut hidden doit toujours l'emporter sur les règles d'affichage ci-dessus. */
[hidden] { display: none !important; }

.cadrage-story li, .cadrage-reel li { flex-basis: 128px; }
.media-outils button { padding: 3px 10px; font-size: 13px; }

/* Bascule Mois / Semaine et vue compacte à la semaine */

.mois-nav { align-items: center; }
.bascule { display: inline-flex; padding: 3px; margin-right: 6px; border-radius: 999px; background: #e6e1e9; }
.bascule a { padding: 5px 14px; border-radius: 999px; color: var(--encre-douce); font: 600 13px/1.4 var(--texte); text-decoration: none; }
.bascule a[aria-current] { background: var(--surface); color: var(--encre); }
.titre-semaine { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.03em; }

.entete-action { white-space: nowrap; }
@media (max-width: 860px) {
  /* Le nom complet du jour est déjà affiché : inutile de répéter son abréviation. */

  .entete { flex-wrap: wrap; }
}

/* Publications proposées automatiquement */

.marque-auto {
  display: inline-block;
  margin-right: 6px;
  padding: 0 7px;
  border: 1px solid var(--prune);
  border-radius: 999px;
  color: var(--prune);
  background: var(--surface);
  font: 600 10.5px/1.6 var(--texte);
  vertical-align: 1px;
  white-space: nowrap;
}

.origine { margin-top: 12px; color: var(--encre-douce); font-size: 14px; }
.origine .marque-auto { font-size: 11.5px; }

/* Chaque jour prend la hauteur de son contenu : un jour à un seul post ne s'étire plus
   pour s'aligner sur le voisin qui en a deux. */


/* ---------------------------------------------------------------------------
   Planning : une seule surface quadrillée, des publications en pastilles
   compactes, et un panneau d'aperçu à droite pour voir la photo en grand.
   --------------------------------------------------------------------------- */

.page-large { max-width: 1480px; }
.planning { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }

.grille {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--trait);
  border-radius: 16px;
  overflow: hidden;
  background: var(--trait);
}
.grille-entete { padding: 10px 10px 9px; background: var(--surface); color: var(--encre-douce); font: 600 12.5px/1 var(--texte); text-transform: capitalize; }

.jour { min-width: 0; min-height: 124px; padding: 6px 6px 8px; display: flex; flex-direction: column; gap: 4px; background: var(--surface); transition: background 0.12s; }
.jour-hors-mois { background: #faf8fb; }
.jour-hors-mois .jour-numero { opacity: 0.55; }
.jour-passe .tirage { opacity: 0.6; }
.jour.cible { background: var(--prune-pale); box-shadow: inset 0 0 0 2px var(--prune); }
.jour-tete { display: flex; align-items: center; justify-content: space-between; min-height: 24px; padding: 0 2px; }
.jour-numero { color: var(--encre-douce); font: 600 13px/1 var(--titre); }
.jour-nom { display: none; }
.jour-aujourdhui .jour-chiffre { display: inline-block; min-width: 24px; padding: 5px 7px; border-radius: 999px; background: var(--prune); color: #fff; text-align: center; }
.jour-ajout {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--prune-pale);
  color: var(--prune);
  font: 600 16px/1 var(--titre);
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.12s;
}
.jour:hover .jour-ajout, .jour-ajout:focus-visible { opacity: 1; }
.jour-ajout:hover { background: var(--prune); color: #fff; }
@media (hover: none) { .jour-ajout { opacity: 1; } }

/* Publication : la couleur du bord gauche dit son état, comme la légende en haut de page. */
.tirage { color: inherit; text-decoration: none; border-left: 3px solid var(--trait); background: var(--fond); transition: background 0.12s; }
.tirage:hover, .tirage.actif { background: var(--prune-pale); }
.tirage[draggable="true"] { cursor: grab; }
.tirage.en-deplacement { opacity: 0.4; }
.bord-relire { border-left-color: #c9922e; }
.bord-valide { border-left-color: var(--sauge); }
.bord-programme { border-left-color: var(--prune); }
.bord-publie { border-left-color: #b9b1bd; }
.bord-probleme { border-left-color: var(--alerte); }
.tirage-vide { display: block; width: 100%; height: 100%; background: var(--trait); }
.tirage-genre { padding: 0 6px; border-radius: 999px; background: rgba(42, 31, 45, 0.82); color: #fff; font: 600 10px/1.6 var(--texte); }
.tirage-alerte { padding: 0 7px; border-radius: 999px; background: var(--alerte); color: #fff; font: 600 10.5px/1.6 var(--texte); white-space: nowrap; }

.puce { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 4px 6px 4px 4px; border-radius: 4px 8px 8px 4px; }
.puce-image { flex: none; width: 30px; height: 38px; border-radius: 4px; overflow: hidden; }
.puce-image img, .ligne-image img { width: 100%; height: 100%; object-fit: cover; }
.puce-texte { min-width: 0; display: grid; gap: 2px; }
.puce-haut { display: flex; align-items: center; gap: 5px; font: 700 12.5px/1.2 var(--titre); }
.puce-haut .marque-auto { margin: 0; padding: 0 5px; font-size: 9.5px; }
.puce-titre { overflow: hidden; font-size: 12px; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; }
.puce-alerte { width: 7px; height: 7px; border-radius: 50%; background: var(--alerte); }

/* Semaine : mêmes cases, plus hautes, avec le titre entier et l'état écrit. */
.grille-semaine .jour { min-height: 320px; padding: 10px 8px; gap: 6px; }
.grille-semaine .jour-numero { color: var(--encre); font-size: 14px; }
.ligne { display: flex; align-items: flex-start; gap: 9px; padding: 7px 8px 7px 6px; border-radius: 4px 10px 10px 4px; }
.ligne-image { flex: none; width: 44px; aspect-ratio: 4 / 5; border-radius: 5px; overflow: hidden; }
.ligne-texte { flex: 1 1 0; min-width: 0; display: grid; gap: 3px; }
.ligne-heure { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 6px; font: 700 13.5px/1.2 var(--titre); }
.ligne-heure .marque-auto { margin: 0; }
.ligne-titre { font-size: 12.5px; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.ligne-etats { display: flex; flex-wrap: wrap; gap: 4px; }
.ligne .etat { padding: 0 7px; font-size: 10.5px; }

/* Panneau d'aperçu */
.coup-doeil { position: sticky; top: 16px; display: grid; gap: 10px; padding: 14px; border: 1px solid var(--trait); border-radius: 16px; background: var(--surface); }
.oeil-image { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--fond); }
.oeil-image img { width: 100%; height: 100%; object-fit: cover; }
.oeil-quand { color: var(--encre-douce); font-size: 13px; }
.oeil-titre { font-size: 21px; line-height: 1.15; letter-spacing: -0.02em; }
.oeil-marques { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--encre-douce); }
.oeil-marques .marque-auto { margin: 0; }
.oeil-alerte { color: var(--alerte); font-size: 13px; font-weight: 600; }
.oeil-legende { max-height: 7.6em; overflow: hidden; color: var(--encre-douce); font-size: 13.5px; line-height: 1.4; white-space: pre-wrap; }
.coup-doeil .bouton { justify-self: start; margin-top: 2px; text-decoration: none; }
.coup-doeil-vide { color: var(--encre-douce); }

@media (max-width: 1100px) {
  .planning { grid-template-columns: 1fr; }
  .coup-doeil { display: none; }
}

/* Téléphone : la grille devient un agenda, un jour par carte. */
@media (max-width: 860px) {
  .grille { display: block; border: 0; border-radius: 0; background: none; overflow: visible; }
  .grille-entete, .jour-vide { display: none; }
  .jour, .grille-semaine .jour { min-height: 0; margin-bottom: 10px; padding: 12px; border-radius: 12px; gap: 8px; }
  .jour-nom { display: inline; text-transform: capitalize; }
  .jour-court { display: none; }
  .jour-numero, .grille-semaine .jour-numero { font-size: 15px; color: var(--encre); }
  .puce { align-items: flex-start; padding: 8px; }
  .puce-image { width: 56px; height: 70px; }
  .puce-haut { font-size: 15px; }
  .puce-titre { font-size: 15px; white-space: normal; }
  .ligne-image { width: 56px; }
  .ligne-heure, .ligne-titre { font-size: 15px; }
}

.puce-image { position: relative; overflow: visible; }
.puce-image img, .puce-image .tirage-vide { border-radius: 4px; }
.pastille-auto {
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--prune);
  color: #fff;
  font: 700 9px/1 var(--texte);
  box-shadow: 0 0 0 1.5px var(--surface);
}
.pastille-legende { position: static; box-shadow: none; }
.puce-texte { overflow: hidden; }
.ligne-titre { overflow-wrap: break-word; hyphens: auto; }
.grille-semaine .jour { min-height: 260px; }

/* État par réseau sur le planning : l'icône du réseau prend la couleur de son état.
   Vert : programmé ou publié. Prune : validé, en attente d'envoi. Gris : à relire. Rouge : à vérifier. */
.reseaux { display: inline-flex; gap: 4px; margin-left: auto; }
.reseau { display: inline-flex; color: #c3bbc7; }
.reseau svg { width: 15px; height: 15px; display: block; }
.reseau-valide { color: var(--prune); }
.reseau-programme, .reseau-publie { color: #2e8b4e; }
.reseau-probleme { color: var(--alerte); }
.puce-haut { min-width: 0; }
.ligne-etats .etat { white-space: normal; }
.legende-reseaux { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; max-width: none; }
.legende-reseaux .reseau { margin-left: 12px; }
.legende-reseaux .reseau:first-child { margin-left: 0; }

/* Fenêtre de confirmation */

.confirmation {
  width: min(92vw, 420px);
  padding: 26px 26px 22px;
  border: 0;
  border-radius: 18px;
  background: var(--surface);
  color: var(--encre);
  box-shadow: 0 28px 70px -24px rgba(42, 31, 45, 0.55);
}
.confirmation::backdrop { background: rgba(42, 31, 45, 0.42); backdrop-filter: blur(2px); }
.confirmation h2 { font-size: 23px; line-height: 1.15; letter-spacing: -0.02em; }
.confirmation p { margin-top: 10px; color: var(--encre-douce); line-height: 1.5; }
.confirmation p:empty { display: none; }
.confirmation-boutons { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.bouton-danger { border-color: var(--alerte); background: var(--alerte); color: #fff; }
.bouton-danger:hover { border-color: #8a1c16; background: #8a1c16; }
@media (prefers-reduced-motion: no-preference) {
  .confirmation[open] { animation: confirmation-entree 0.16s ease-out; }
  @keyframes confirmation-entree { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
}

/* Statistiques */

.totaux { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 18px; }
.total { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--surface); }
.total .reseau svg { width: 30px; height: 30px; }
.total strong { display: block; font: 700 18px/1.2 var(--titre); }
.total > div span { color: var(--encre-douce); font-size: 13px; }
.total dl { display: flex; gap: 26px; margin: 0 0 0 auto; }
.total dt { color: var(--encre-douce); font-size: 12.5px; }
.total dd { margin: 0; font: 700 26px/1.1 var(--titre); letter-spacing: -0.02em; }
.avis { margin-bottom: 18px; padding: 14px 18px; border-radius: 12px; background: var(--camel-pale); color: var(--camel); font-size: 14px; }
.avis ul { margin: 6px 0 0; padding-left: 18px; }
.avis code { font: 600 13px/1 ui-monospace, monospace; }
.stats-fraicheur { margin: 0 0 10px; max-width: none; }
.stats { border: 1px solid var(--trait); border-radius: 16px; overflow: hidden; background: var(--trait); display: grid; gap: 1px; }
.stat { display: grid; grid-template-columns: 52px minmax(0, 1fr) repeat(5, 86px); align-items: center; gap: 14px; padding: 10px 16px 10px 10px; background: var(--surface); color: inherit; text-decoration: none; }
.stat:hover { background: #faf8fb; }
.stat-image { width: 52px; height: 65px; border-radius: 6px; overflow: hidden; background: var(--fond); }
.stat-image img { width: 100%; height: 100%; object-fit: cover; }
.stat-texte { min-width: 0; display: grid; gap: 4px; }
.stat-quand { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.stat-extrait { overflow: hidden; color: var(--encre-douce); font-size: 13.5px; white-space: nowrap; text-overflow: ellipsis; }
.stat-chiffre { color: var(--encre-douce); font-size: 12px; text-align: right; }
.stat-chiffre b { display: block; color: var(--encre); font: 700 18px/1.2 var(--titre); }
.chiffre-absent { color: #b9b1bd; font: 500 13px/1.2 var(--texte); }
.total .chiffre-absent { font-size: 16px; }
@media (max-width: 860px) {
  .stat { grid-template-columns: 52px minmax(0, 1fr) repeat(2, 64px); }
  .stat-chiffre:nth-of-type(n+5) { display: none; }
  .total { flex-wrap: wrap; }
  .total dl { margin-left: 0; }
}

/* Commentaires */

.page-moyenne { max-width: 900px; }
.compteur-entete { display: inline-block; min-width: 18px; margin-left: 6px; padding: 0 5px; border-radius: 999px; background: var(--prune); color: #fff; font: 700 11px/18px var(--texte); text-align: center; }
.commentaire { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; margin-bottom: 12px; padding: 16px; border-radius: 16px; background: var(--surface); }
.commentaire-post { display: block; width: 56px; height: 70px; border-radius: 6px; overflow: hidden; background: var(--fond); }
.commentaire-post img { width: 100%; height: 100%; object-fit: cover; }
.commentaire-tete { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; font-size: 14px; }
.commentaire-tete > span, .commentaire-tete small { color: var(--encre-douce); font-size: 13px; }
.commentaire-tete .etat { margin-left: auto; }
.commentaire-tete .reseau { color: #2e8b4e; }
.commentaire-texte { margin-top: 6px; font-size: 16px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.commentaire-sur { margin-top: 4px; color: var(--encre-douce); font-size: 13px; }
.reponses { list-style: none; margin: 12px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--trait); display: grid; gap: 10px; font-size: 14px; }
.reponses span { margin-left: 6px; color: var(--encre-douce); font-size: 12.5px; }
.reponses p { margin-top: 2px; white-space: pre-wrap; overflow-wrap: anywhere; }
.reponse-nous strong { color: var(--prune); }
.reponse { margin-top: 12px; }
.reponse textarea { display: block; width: 100%; padding: 10px 12px; border: 1px solid var(--trait); border-radius: 10px; background: var(--surface); color: var(--encre); font: 400 15px/1.5 var(--texte); resize: vertical; }
.reponse-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 8px; }
@media (max-width: 860px) { .commentaire { grid-template-columns: 1fr; } .commentaire-post { display: none; } }

/* ---------------------------------------------------------------------------
   En-tête : liens à droite sur ordinateur, barre d'onglets en bas sur téléphone.
   --------------------------------------------------------------------------- */

.entete { gap: 20px; flex-wrap: nowrap; }
.entete-nav { margin-left: auto; align-items: center; }
.entete-nav a { display: inline-flex; align-items: center; gap: 6px; }
.entete-nav a[aria-current] { color: var(--encre); font-weight: 600; }
.entete-nav .entete-action[aria-current] { color: #fff; }
.onglet-icone, .libelle-court { display: none; }
.entete-compte { display: flex; align-items: center; gap: 14px; padding-left: 20px; border-left: 1px solid var(--trait); font-size: 14px; white-space: nowrap; }
.entete-compte a { color: var(--encre-douce); text-decoration: none; }
.entete-compte a:hover { color: var(--encre); }
.entete-qui { padding-left: 0; border-left: 0; }

/* Aperçus : vraie photo de profil et barres d'actions des réseaux */
img.avatar { display: block; object-fit: cover; background: var(--fond); }
.ig-actions { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 14px 2px; }
.ig-actions svg { width: 23px; height: 23px; fill: none; stroke: var(--encre); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ig-actions .ig-signet { margin-left: auto; }
.ig-actions .points { position: absolute; left: 0; right: 0; top: 50%; padding: 0; min-height: 0; transform: translateY(-20%); pointer-events: none; }
.fb-actions { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--trait); color: var(--encre-douce); font-size: 13.5px; font-weight: 600; text-align: center; }
.fb-actions span { padding: 11px 4px; }

@media (max-width: 860px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .entete { padding: 12px 16px 8px; }
  .entete-compte { margin-left: auto; padding-left: 0; border-left: 0; font-size: 13px; }
  .entete-qui { display: none; }
  .entete-nav {
    position: fixed;
    z-index: 30;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--trait);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
  }
  .entete-nav a, .entete-nav a[href="/"] {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 3px;
    padding: 6px 2px 4px;
    border-radius: 10px;
    color: var(--encre-douce);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
  }
  .entete-nav a[aria-current] { color: var(--prune); font-weight: 600; }
  .onglet-icone { display: block; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .entete-nav .entete-action, .entete-nav .entete-action[aria-current] { padding: 6px 2px 4px; background: none; color: var(--prune) !important; white-space: nowrap; }
  .entete-nav .entete-action:hover { background: none; }
  .entete-action .onglet-icone { width: 27px; height: 27px; margin: -2px 0; padding: 4px; border-radius: 50%; background: var(--prune); stroke: #fff; stroke-width: 2; }
  .libelle-long { display: none; }
  .libelle-court { display: inline; }
  .compteur-entete { position: absolute; top: 1px; left: calc(50% + 6px); margin: 0; }
}

/* Les photos apparaissent d'un coup, sur un fond neutre, jamais par bandes. */
.puce-image, .ligne-image, .oeil-image, .media-visuel, .stat-image, .commentaire-post { background: #ebe7ee; }
.carrousel img, .cadrage img, .mosaique img { background: #ebe7ee; }

/* ---------------------------------------------------------------------------
   Téléphone : confort de lecture et de toucher.
   --------------------------------------------------------------------------- */

.puce-texte { flex: 1 1 0; }

@media (max-width: 860px) {
  /* En dessous de 16 px, iOS zoome sur le champ dès qu'on le touche. */
  input, textarea, select, .champ input, .champ textarea, .champ select, .reponse textarea, .recherche input { font-size: 16px; }
  .page { padding-left: 16px; padding-right: 16px; }
  .titre-page { font-size: 32px; }
  .mois-nav { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .mois-nav::-webkit-scrollbar { display: none; }
  .mois-nav > * { flex: none; }
  .aide-souris { display: none; }
  .legende-reseaux { font-size: 13px; }

  /* Cibles de toucher assez grandes pour un pouce */
  .segments button { padding: 9px 0; font-size: 13px; }
  .media-outils { gap: 6px; }
  .media-outils button { padding: 7px 12px; font-size: 14px; }
  .cadrage li, .cadrage-story li, .cadrage-reel li { flex-basis: 150px; }
  .bouton { padding: 13px 20px; }
  .bouton-petit { padding: 9px 14px; }
  .lien { padding: 6px 0; }
  .actions { gap: 10px; }
  .bloc { padding: 18px 16px; }
  .rangee > .champ { flex-basis: 100%; }
  .confirmation-boutons .bouton { flex: 1; }

  /* Statistiques : la publication sur une ligne, ses cinq chiffres en dessous */
  .stat { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 6px; padding: 12px; }
  .stat-image { grid-column: 1; width: 48px; height: 60px; }
  .stat-texte { grid-column: 2 / -1; }
  .stat-chiffre, .stat-chiffre:nth-of-type(n+5) { display: block; text-align: left; font-size: 11px; }
  .stat-chiffre b { font-size: 16px; }
  .stat-extrait { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
@media (max-width: 860px) { .mois-nav { margin-right: 0; padding-right: 0; max-width: 100%; } }

/* Marque */
.entete-marque { display: inline-flex; align-items: center; gap: 9px; }
.entete-marque img { width: 28px; height: 28px; display: block; }
.connexion-logo { width: 56px; height: 56px; margin-bottom: 4px; }

/* Liens courts */

.liens-courts { list-style: none; margin: 0 0 16px; padding: 0; }
.lien-court { padding: 12px 0; border-top: 1px solid var(--trait); display: grid; gap: 4px; }
.lien-court:first-child { border-top: 0; padding-top: 0; }
.lien-court p:first-child { display: flex; align-items: center; gap: 8px; font-size: 16px; overflow-wrap: anywhere; }
.lien-cible { color: var(--encre-douce); font-size: 13px; overflow-wrap: anywhere; }
.lien-chiffres { font-size: 14px; }
.lien-chiffres b { font: 700 17px/1 var(--titre); }
.lien-chiffres span { margin-left: 12px; color: var(--encre-douce); }
.lien-nouveau { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.titre-section { margin: 34px 0 6px; font-size: 24px; letter-spacing: -0.02em; }
.tableau { border: 1px solid var(--trait); border-radius: 16px; overflow-x: auto; background: var(--surface); }
.tableau table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tableau th, .tableau td { padding: 11px 16px; text-align: right; border-top: 1px solid var(--trait); white-space: nowrap; }
.tableau th { border-top: 0; color: var(--encre-douce); font-size: 12.5px; font-weight: 600; }
.tableau th:first-child, .tableau td:first-child { text-align: left; white-space: normal; }
.tableau td small { display: block; color: var(--encre-douce); }
@media (max-width: 860px) { .lien-nouveau { grid-template-columns: 1fr; } }

/* Résultats d'une publication partie, sous son aperçu */

.resultats { margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--surface); display: grid; gap: 14px; }
.resultats h2 { font-size: 18px; letter-spacing: -0.02em; }
.resultat { padding-top: 12px; border-top: 1px solid var(--trait); }
.resultat-tete { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; }
.resultat-tete .lien { margin-left: auto; font-size: 13px; padding: 0; }
.resultat dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; margin: 0; }
.resultat dd { margin: 0; font: 700 21px/1.1 var(--titre); letter-spacing: -0.02em; }
.resultat dt { margin-top: 2px; color: var(--encre-douce); font-size: 12px; }
.resultat .chiffre-absent { font-size: 14px; }
.resultats-note { color: var(--encre-douce); font-size: 12.5px; }
.resultats-note .lien { font-size: 12.5px; padding: 0; }
.apercu { position: static; }
@media (min-width: 861px) { .apercu { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; scrollbar-width: thin; } }

/* Texte sur la story : un réglage par vue */
.vues-texte { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.vues-texte li { display: flex; gap: 14px; align-items: center; }
.vues-texte img { flex: 0 0 54px; width: 54px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 5px; }
.vue-champs { flex: 1; display: flex; flex-wrap: wrap; gap: 10px 14px; }
.vue-champs .champ { flex: 1 1 160px; }
.apercu-direct { margin: 16px 0 0; font-size: 13px; color: var(--encre-douce); }

/* Légendes des photos d'un carrousel Facebook */

.legendes-photos { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.legendes-photos li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: start; }
.legendes-photos img { width: 56px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.legendes-photos input, .legendes-photos select { margin-top: 0; }
.legendes-photos select { margin-top: 6px; font-weight: 400; }
