/* Nunito Sans, la police de la charte Maint Up, pour les visuels (fonts/, deux sous-ensembles latins, SIL OFL). */
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url('../fonts/NunitoSans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url('../fonts/NunitoSans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ── Communication : Léa propose des sujets, Joris décide (14/10/2026) ──
   L'écran : un en-tête avec Léa, les consignes repliées, puis les sujets
   en cartes (le visuel à gauche en réduction, le post à droite, les trois
   gestes au pied). Le style du visuel lui-même vit dans v4/communication.js
   (CSS_VISUEL) : il sert aussi au PNG. */
.x4-com { --lea: #F28C6A; --lea-soft: #FBECE4; display: flex; flex-direction: column; gap: 18px; padding: 4px 0 40px; color: var(--v2-text, #16171a); font-family: var(--font, 'Manrope', -apple-system, system-ui, sans-serif); letter-spacing: -.01em; }
.x4-com-tete { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md, 18px); background: var(--panel-solid, #fff); box-shadow: 0 1px 2px rgba(20, 20, 25, .06), 0 12px 32px -18px rgba(20, 20, 25, .2); }
.x4-com-av { flex: none; width: 48px; height: 48px; border-radius: 99px; overflow: hidden; }
.x4-com-av.est-petit { width: 28px; height: 28px; }
.x4-com-av svg { display: block; width: 100%; height: 100%; }
.x4-com-titre { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.x4-com-titre b { font-size: 17px; font-weight: 680; letter-spacing: -.02em; }
.x4-com-titre span { font-size: 13px; color: var(--v2-text-2, #55595f); line-height: 1.35; }
.x4-com-actes { display: flex; gap: 8px; flex: none; }
.x4-com-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--stroke, rgba(20, 20, 25, .075)); background: var(--panel-solid, #fff); font: inherit; font-size: 12.5px; font-weight: 620; color: var(--v2-text-2, #55595f); cursor: pointer; white-space: nowrap; }
.x4-com-btn:hover { filter: brightness(.97); }
.x4-com-btn:disabled { opacity: .55; cursor: default; }
.x4-com-btn.est-plein { border-color: transparent; background: var(--accent-bright, #f5d547); color: #16171a; font-weight: 640; }
.x4-com-btn.est-actif { background: var(--lea-soft); border-color: transparent; color: #16171a; }
.x4-com-btn.est-neg { color: var(--neg-fg, #b3261e); }
.x4-com-btn.est-neg:hover { background: var(--neg-soft, rgba(179, 38, 30, .08)); }
.x4-com-btn svg { flex: none; }

.x4-com-consignes[hidden], .x4-com-c-modif[hidden], .x4-com-c-confirm[hidden], .x4-com-demande[hidden] { display: none; }
/* « Nouveau post » : ce que Joris veut dire, et sa photo (Joris, 14/10/2026). */
.x4-com-demande { display: grid; grid-template-columns: 1fr 340px; gap: 18px; padding: 16px 18px; border-radius: var(--r-md, 18px); background: var(--panel-solid, #fff); box-shadow: 0 1px 2px rgba(20, 20, 25, .06), 0 12px 32px -18px rgba(20, 20, 25, .2); }
.x4-com-demande-g, .x4-com-demande-d { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.x4-com-demande label, .x4-com-demande-l { font-size: 12.5px; font-weight: 620; color: var(--v2-text-2, #55595f); }
.x4-com-demande textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 110px; padding: 10px 12px; border-radius: var(--r-sm, 12px); border: 1px solid var(--stroke, rgba(20, 20, 25, .12)); background: var(--panel-solid, #fff); font: inherit; font-size: 13.5px; line-height: 1.45; color: inherit; }
.x4-com-demande textarea:focus { outline: 2px solid var(--lea); outline-offset: 1px; }
.x4-com-demande-pied { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.x4-com-demande-modele { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.x4-com-demande-modele select { height: 36px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--stroke, rgba(20, 20, 25, .12)); background: var(--panel-solid, #fff); font: inherit; font-size: 12.5px; color: inherit; }
.x4-com-demande-choix { display: flex; flex-wrap: wrap; gap: 6px; }
.x4-com-demande-choix .x4-com-stock-p img { filter: none; }
.x4-com-stock-p.est-ajout { display: flex; align-items: center; justify-content: center; background: var(--inset, rgba(20, 20, 25, .05)); color: var(--v2-text-2, #55595f); border: 1px dashed var(--stroke, rgba(20, 20, 25, .2)); }
.x4-com-demande-photo { display: flex; flex-direction: column; gap: 6px; }
.x4-com-demande-photo img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--r-sm, 12px); display: block; background: #1A1A1A; }
.x4-com-demande-photo span { font-size: 12px; color: var(--v2-text-2, #55595f); line-height: 1.35; }
.x4-com-demande-note { font-size: 11.5px; color: var(--v2-text-3, #8a8d93); }
@media (max-width: 900px) { .x4-com-demande { grid-template-columns: 1fr; } }
.x4-com-btn.est-linkedin { border-color: transparent; background: #0A66C2; color: #fff; font-weight: 640; }
.x4-com-btn.est-linkedin:hover { filter: brightness(1.06); }
.x4-com-c-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; padding: 10px 12px; border-radius: var(--r-sm, 12px); background: var(--inset, rgba(20, 20, 25, .04)); font-size: 13px; }
.x4-com-reprise-confirm { margin: 0 0 12px; }   /* la confirmation de « Léa reprend tous les posts » (26/10/2026), sous l'en-tête */
.x4-com-c-confirm span { flex: 1; min-width: 200px; }
.x4-com-c-etat a { color: var(--info-fg, #2f5fa8); font-weight: 620; text-decoration: none; }
.x4-com-c-etat a:hover { text-decoration: underline; }
.x4-com-consignes { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: var(--r-md, 18px); border: 1px solid var(--stroke, rgba(20, 20, 25, .075)); background: var(--lea-soft); }
.x4-com-consignes > label { font-size: 12.5px; font-weight: 620; color: var(--v2-text-2, #55595f); }
.x4-com-consignes textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 84px; padding: 10px 12px; border-radius: var(--r-sm, 12px); border: 1px solid var(--stroke, rgba(20, 20, 25, .075)); background: var(--panel-solid, #fff); font: inherit; font-size: 13.5px; line-height: 1.45; color: inherit; }
.x4-com-consignes-pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.x4-com-auto { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--v2-text-2, #55595f); cursor: pointer; }
.x4-com-auto input { accent-color: #16171a; width: 16px; height: 16px; }

.x4-com-groupe { display: flex; flex-direction: column; gap: 12px; }
.x4-com-groupe > h2, .x4-com-groupe > summary { margin: 6px 0 0; font-size: 13px; font-weight: 680; letter-spacing: .04em; text-transform: uppercase; color: var(--v2-text-2, #55595f); display: flex; align-items: center; gap: 8px; }
.x4-com-groupe > h2 span, .x4-com-groupe > summary span { display: inline-flex; min-width: 22px; height: 22px; padding: 0 7px; align-items: center; justify-content: center; border-radius: 99px; background: var(--inset, rgba(20, 20, 25, .05)); font-size: 12px; letter-spacing: 0; }
.x4-com-groupe > summary { cursor: pointer; list-style: none; }
.x4-com-rayon { margin: 14px 0 0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 680; color: var(--v2-text, #1a1a1a); }   /* le rayon d'une carte : recrutement, statistiques… (28/10/2026) */
.x4-com-rayon::before { content: ''; width: 8px; height: 8px; border-radius: 99px; background: var(--lea); }
.x4-com-rayon span { font-weight: 620; color: var(--v2-text-2, #55595f); }
.x4-com-rayon:first-of-type { margin-top: 2px; }
.x4-com-groupe > summary::-webkit-details-marker { display: none; }
.x4-com-groupe > summary::before { content: '›'; display: inline-block; transform: rotate(0); transition: transform .12s; font-size: 16px; }
.x4-com-groupe[open] > summary::before { transform: rotate(90deg); }
.x4-com-veille { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: var(--r-md, 18px); border: 1px solid var(--stroke, rgba(20, 20, 25, .075)); border-left: 3px solid var(--lea); background: var(--panel-solid, #fff); font-size: 13px; line-height: 1.45; }
.x4-com-veille b { font-size: 12px; font-weight: 680; letter-spacing: .03em; text-transform: uppercase; color: var(--v2-text-2, #55595f); }
.x4-com-c-source a { color: var(--info-fg, #2f5fa8); font-style: normal; font-weight: 620; text-decoration: none; }
.x4-com-c-source a:hover { text-decoration: underline; }
.x4-com-vide, .x4-com-attente { padding: 22px 18px; border-radius: var(--r-md, 18px); border: 1px dashed var(--stroke, rgba(20, 20, 25, .12)); color: var(--v2-text-2, #55595f); font-size: 13.5px; line-height: 1.45; }
.x4-com-attente { display: flex; align-items: center; gap: 10px; border-style: solid; background: var(--lea-soft); }

/* La carte d'un sujet : le visuel réduit à gauche, le post à droite. */
.x4-com-carte { display: grid; grid-template-columns: 300px 1fr; gap: 20px; padding: 18px; border-radius: var(--r-md, 18px); border: 1px solid var(--stroke, rgba(20, 20, 25, .075)); background: var(--panel-solid, #fff); box-shadow: var(--shadow-sm, 0 1px 2px rgba(20, 20, 25, .04)); }
.x4-com-carte.est-valide { border-left: 3px solid var(--pos-fg, #136d45); }
.x4-com-carte.est-publie { opacity: .8; }
.x4-com-visuel-col { display: flex; flex-direction: column; gap: 8px; }
.x4-com-visuel { width: 300px; height: 375px; overflow: hidden; border-radius: var(--r-sm, 12px); background: #1A1A1A; box-shadow: 0 10px 28px -14px rgba(0, 0, 0, .45); }
.x4-com-visuel .x4v { transform: scale(.27778); transform-origin: 0 0; }
.x4-com-modele { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12px; font-weight: 620; color: var(--v2-text-2, #55595f); }
.x4-com-mini { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 99px; border: 1px solid var(--stroke, rgba(20, 20, 25, .075)); background: var(--panel-solid, #fff); color: inherit; cursor: pointer; }
.x4-com-mini:hover { background: var(--inset, rgba(20, 20, 25, .05)); }
.x4-com-photo { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--v2-text-2, #55595f); }
.x4-com-photo span { display: inline-flex; align-items: center; gap: 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* Léa retravaille le visuel (26/10/2026) : le bouton sous le modèle, ou la ligne d'attente pendant qu'elle travaille. */
/* Sous la barre (27/10/2026) : pas de visuel, ce que Léa en dit. Les autres propositions à 8 et plus, en vignettes. */
.x4-com-visuel.est-vide { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; background: var(--inset, rgba(20, 20, 25, .04)); color: var(--v2-text, #16171a); font-size: 12.5px; line-height: 1.4; box-shadow: none; }
.x4-com-visuel.est-vide .x4-com-av.est-petit { width: 36px; height: 36px; }
.x4-com-visuel.est-vide b { font-weight: 640; }
.x4-com-visuel.est-vide span:last-child { color: var(--v2-text-2, #55595f); }
.x4-com-alts { display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 640; letter-spacing: .06em; text-transform: uppercase; color: var(--v2-text-2, #55595f); }
.x4-com-alts-l { display: flex; gap: 8px; }
.x4-com-alt { position: relative; width: 92px; height: 115px; padding: 0; border: 1px solid var(--stroke, rgba(20, 20, 25, .12)); border-radius: var(--r-sm, 12px); overflow: hidden; background: #1A1A1A; cursor: pointer; }
.x4-com-alt-v { display: block; width: 1080px; height: 1350px; transform: scale(.0852); transform-origin: 0 0; pointer-events: none; }
.x4-com-alt .x4-com-alt-n { position: absolute; right: 4px; bottom: 4px; z-index: 2; padding: 2px 6px; border-radius: 99px; background: #FFDE5A; color: #1A1A1A; font-size: 10.5px; font-weight: 640; letter-spacing: 0; text-transform: none; }
.x4-com-visuel.est-exemple { position: relative; }
.x4-com-visuel.est-exemple .x4v { opacity: .72; }
.x4-com-exemple { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 6px 10px; border-radius: 99px; background: var(--v2-text, #1a1a1a); color: #FFDE5A; font-size: 11px; font-weight: 640; text-align: center; letter-spacing: .02em; animation: x4-com-souffle 1.6s ease-in-out infinite; }
.x4-com-retouche { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--v2-text-2, #55595f); min-height: 20px; }
.x4-com-retouche[data-en-cours] { color: var(--v2-text, #1a1a1a); }
.x4-com-retouche[data-en-cours] span:last-child { animation: x4-com-souffle 1.6s ease-in-out infinite; }
.x4-com-photos-mot { gap: 8px; }   /* le petit texte de Joris pour guider les photos de Léa (28/10/2026) */
.x4-com-photos-mot input { flex: 1; min-width: 0; height: 30px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--stroke, rgba(20, 20, 25, .12)); background: var(--panel-solid, #fff); font: inherit; font-size: 12px; color: inherit; }
.x4-com-photos-mot input:focus { outline: 2px solid var(--lea); outline-offset: 1px; }
.x4-com-photos-mot .x4-com-lien { flex: none; }
@keyframes x4-com-souffle { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.x4-com-lien { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 0; font: inherit; font-size: 12px; font-weight: 620; color: var(--info-fg, #2f5fa8); cursor: pointer; }
.x4-com-lien:hover { text-decoration: underline; }
.x4-com-corps { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.x4-com-c-haut { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--v2-text-3, #8a8d93); }
.x4-com-c-source { font-style: italic; }
.x4-com-c-titre { margin: 0; font-size: 18px; font-weight: 680; letter-spacing: -.02em; line-height: 1.25; }
.x4-com-c-angle { margin: 0; font-size: 13px; color: var(--v2-text-2, #55595f); line-height: 1.4; }
.x4-com-reseaux { display: inline-flex; gap: 2px; margin: 8px 0 0; padding: 2px; border-radius: 999px; background: var(--inset, rgba(20, 20, 25, .05)); }
.x4-com-reseau { border: 0; background: none; padding: 4px 12px; border-radius: 999px; font: inherit; font-size: 12px; font-weight: 650; color: var(--v2-text-2, #6b6b73); cursor: pointer; }
.x4-com-reseau.est-actif { background: var(--panel-solid, #fff); color: var(--v2-text, #1a1a1a); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.x4-com-ig { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.x4-com-ig > span { flex: 1 1 100%; font-size: 11.5px; color: var(--v2-text-2, #6b6b73); }
.x4-com-c-texte { margin: 4px 0 0; padding: 12px 14px; border-radius: var(--r-sm, 12px); background: var(--inset, rgba(20, 20, 25, .04)); font-size: 13.5px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.x4-com-c-demande { font-size: 12px; color: var(--v2-text-2, #55595f); padding: 6px 10px; border-left: 3px solid var(--lea); background: var(--lea-soft); border-radius: 0 var(--r-xs, 9px) var(--r-xs, 9px) 0; }
.x4-com-c-etat { font-size: 12px; font-weight: 620; color: var(--pos-fg, #136d45); }
.x4-com-c-etat.est-programme { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--info-fg, #2f5fa8); }   /* la publication programmée (28/10/2026) */
.x4-com-c-demande.est-echec { border-left-color: var(--neg-fg, #b3261e); background: var(--neg-soft, rgba(179, 38, 30, .08)); color: var(--neg-fg, #b3261e); }
.x4-com-c-confirm input[type="date"], .x4-com-c-confirm select { height: 32px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--stroke, rgba(20, 20, 25, .12)); background: var(--panel-solid, #fff); font: inherit; font-size: 13px; color: inherit; }
.x4-com-c-confirm label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.x4-com-c-pied { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.x4-com-c-modif { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.x4-com-c-modif input { flex: 1; min-width: 0; height: 36px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--stroke, rgba(20, 20, 25, .12)); background: var(--panel-solid, #fff); font: inherit; font-size: 13px; color: inherit; }
.x4-com-c-modif input:focus { outline: 2px solid var(--lea); outline-offset: 1px; }

/* La carte de Léa en bas à droite : la carte de Bob, à sa couleur. */
.x4-bob.est-lea .x4-bob-btn.est-plein { background: #F28C6A; color: #16171a; }

@media (max-width: 900px) {
  .x4-com-carte { grid-template-columns: 1fr; }
  .x4-com-visuel-col { align-items: flex-start; }
  .x4-com-tete { flex-wrap: wrap; }
}

/* L'historique : une ligne par sujet, le texte se déplie au clic. */
.x4-com-h-liste { display: flex; flex-direction: column; border-radius: var(--r-md, 18px); border: 1px solid var(--stroke, rgba(20, 20, 25, .075)); background: var(--panel-solid, #fff); overflow: hidden; }
.x4-com-h { display: grid; grid-template-columns: 110px 130px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--stroke-2, rgba(20, 20, 25, .05)); font-size: 13px; cursor: pointer; }
.x4-com-h:first-child { border-top: 0; }
.x4-com-h:hover { background: var(--inset, rgba(20, 20, 25, .03)); }
.x4-com-h time { color: var(--v2-text-3, #8a8d93); font-size: 12px; white-space: nowrap; }
.x4-com-h b { font-weight: 640; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x4-com-h-statut { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 11.5px; font-weight: 640; letter-spacing: .02em; white-space: nowrap; background: var(--inset, rgba(20, 20, 25, .05)); color: var(--v2-text-2, #55595f); }
.x4-com-h-statut[data-ton="pos"] { background: var(--pos-soft, rgba(21, 115, 71, .12)); color: var(--pos-fg, #136d45); }
.x4-com-h-statut[data-ton="warn"] { background: var(--warn-soft, rgba(180, 83, 9, .12)); color: var(--warn-fg, #b45309); }
.x4-com-h-qui { color: var(--v2-text-3, #8a8d93); font-size: 12px; white-space: nowrap; }
.x4-com-h a { color: var(--info-fg, #2f5fa8); font-weight: 620; text-decoration: none; white-space: nowrap; }
.x4-com-h a:hover { text-decoration: underline; }
.x4-com-h-texte { grid-column: 1 / -1; white-space: pre-wrap; padding: 8px 12px 4px; border-left: 3px solid var(--lea); background: var(--lea-soft); border-radius: 0 var(--r-xs, 9px) var(--r-xs, 9px) 0; font-size: 13px; line-height: 1.5; cursor: auto; }
@media (max-width: 900px) { .x4-com-h { grid-template-columns: 1fr auto; } .x4-com-h time, .x4-com-h-qui { display: none; } }

/* La photothèque et les photos proposées par Léa. */
.x4-com-pt { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: var(--r-md, 18px); border: 1px solid var(--stroke, rgba(20, 20, 25, .075)); background: var(--panel-solid, #fff); }
.x4-com-pt-note { font-size: 12.5px; color: var(--v2-text-2, #55595f); line-height: 1.45; }
.x4-com-pt-l { display: flex; flex-wrap: wrap; gap: 10px; }
.x4-com-pt-p { position: relative; margin: 0; width: 132px; display: flex; flex-direction: column; gap: 4px; }
.x4-com-pt-p img { width: 132px; height: 132px; object-fit: cover; border-radius: var(--r-sm, 12px); background: #1A1A1A; display: block; }
.x4-com-pt-p figcaption { font-size: 11px; line-height: 1.3; color: var(--v2-text-2, #55595f); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.x4-com-pt-x { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 99px; border: 0; background: rgba(26, 26, 26, .72); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .12s; }
.x4-com-pt-p:hover .x4-com-pt-x { opacity: 1; }
.x4-com-pt-ajout { width: 132px; height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r-sm, 12px); border: 1px dashed var(--stroke, rgba(20, 20, 25, .18)); background: var(--inset, rgba(20, 20, 25, .03)); color: var(--v2-text-2, #55595f); font: inherit; font-size: 12px; font-weight: 620; cursor: pointer; }
.x4-com-pt-ajout:hover { background: var(--lea-soft); border-color: var(--lea); }
.x4-com-pt-ajout:disabled { opacity: .6; cursor: default; }
.x4-com-pt-ajout.est-lea { border-style: solid; border-color: var(--lea); background: var(--lea-soft); color: #16171a; }
.x4-com-pt-ajout .x4-com-av.est-petit { width: 32px; height: 32px; }
.x4-com-pt-p.est-banque img { outline: 2px solid var(--lea-soft); }
.x4-com-stock { display: flex; flex-direction: column; gap: 6px; }
.x4-com-stock > span { font-size: 11.5px; font-weight: 620; color: var(--v2-text-2, #55595f); }
.x4-com-stock-l { display: flex; flex-wrap: wrap; gap: 6px; }
.x4-com-stock-p { width: 68px; height: 85px; padding: 0; border: 2px solid transparent; border-radius: var(--r-xs, 9px); overflow: hidden; background: #1A1A1A; cursor: pointer; }
.x4-com-stock-p img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); }
.x4-com-stock-p:hover { border-color: var(--lea); }
.x4-com-stock-p:hover img { filter: none; }
.x4-com-stock-p:disabled { opacity: .5; cursor: default; }
.x4-com-stock-p.est-equipe { border-color: var(--lea); }   /* une photo de la photothèque, cernée de jaune (28/10/2026) */
.x4-com-stock[hidden] { display: none; }

/* Les conseils de Léa sur la carte, et les chiffres de la page (26/10/2026). */
.x4-com-c-conseil { display: flex; flex-direction: column; gap: 6px; padding: 10px 14px; border-radius: var(--r-sm, 12px); background: var(--accent-soft, rgba(245, 213, 71, .18)); font-size: 12.5px; line-height: 1.4; color: var(--v2-text, #16171a); }
.x4-com-c-conseil-t { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 640; letter-spacing: .06em; text-transform: uppercase; color: var(--v2-text-2, #55595f); }
.x4-com-c-conseil-t .x4-com-av.est-petit { width: 20px; height: 20px; }
.x4-com-c-conseil p { margin: 0; display: flex; align-items: flex-start; gap: 8px; }
.x4-com-c-conseil p > svg { flex: none; margin-top: 3px; color: var(--v2-text-3, #6b6f76); }
.x4-com-c-conseil b { font-weight: 640; }
.x4-com-pot { flex: none; height: 20px; padding: 0 8px; border-radius: 99px; font-size: 10.5px; font-weight: 640; display: inline-flex; align-items: center; background: rgba(0, 0, 0, .06); color: var(--v2-text-2, #55595f); white-space: nowrap; }
.x4-com-pot.est-fort { background: #e2f3e9; color: #136d45; } .x4-com-pot.est-moyen { background: #fbe9dd; color: #b4532a; } .x4-com-pot.est-faible { background: rgba(0, 0, 0, .06); }
/* La simulation (26/10/2026) : ce que le post peut faire selon le jour, l'heure et le visage, d'après la page. */
.x4-com-simu { display: flex; flex-direction: column; gap: 6px; padding: 10px 14px; border-radius: var(--r-sm, 12px); border: 1px solid var(--stroke, rgba(20, 20, 25, .12)); font-size: 12.5px; line-height: 1.4; color: var(--v2-text, #16171a); }
.x4-com-simu-c { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.x4-com-simu-c label { display: inline-flex; align-items: center; gap: 6px; }
.x4-com-simu-c select { height: 28px; padding: 0 8px; border-radius: 99px; border: 1px solid var(--stroke, rgba(20, 20, 25, .12)); background: var(--panel-solid, #fff); font: inherit; font-size: 12px; color: inherit; }
.x4-com-simu-c input[type="checkbox"] { margin: 0; }
.x4-com-simu-n { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.x4-com-simu-n b { font-weight: 640; }
.x4-com-simu-b { font-size: 11.5px; color: var(--v2-text-2, #55595f); }
.x4-com-stats { display: block; margin-top: 6px; font-size: 12px; color: var(--v2-text-2, #55595f); }
.x4-com-stats b { font-weight: 640; color: var(--v2-text, #16171a); }
.x4-com-stats.est-off { color: var(--v2-text-3, #6b6f76); }

/* Le tri des photos (28/10/2026) : les candidates de la banque, oui ou non */
.x4-com-tri { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; padding: 12px; border-radius: var(--r-sm, 12px); background: var(--inset, rgba(20, 20, 25, .04)); }
.x4-com-tri-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.x4-com-tri-h label { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 240px; font-size: 13px; font-weight: 620; color: var(--v2-text-2, #55595f); }
.x4-com-tri-h input { flex: 1; min-width: 0; height: 34px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--stroke, rgba(20, 20, 25, .12)); background: var(--panel-solid, #fff); font: inherit; font-size: 13px; color: inherit; }
.x4-com-tri-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.x4-com-tri-p { margin: 0; display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: var(--r-sm, 12px); background: var(--panel-solid, #fff); border: 1px solid var(--stroke, rgba(20, 20, 25, .08)); }
.x4-com-tri-p img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-xs, 9px); display: block; background: #1A1A1A; }
.x4-com-tri-p figcaption { font-size: 12px; line-height: 1.3; color: var(--v2-text, #1a1a1a); display: flex; flex-direction: column; gap: 2px; }
.x4-com-tri-p figcaption small { font-size: 11px; color: var(--v2-text-2, #55595f); }
.x4-com-tri-b { display: flex; gap: 6px; }
.x4-com-tri-b .x4-com-btn { flex: 1; justify-content: center; }
.x4-com-tri-p.est-en-cours { opacity: .5; pointer-events: none; }

/* La connexion LinkedIn est un profil, pas la page : dit en rouge avant chaque départ (03/11/2026) */
.x4-com-c-profil { display: block; width: 100%; margin-top: 4px; font-style: normal; font-size: 12px; font-weight: 640; color: var(--neg-fg, #b3261e); }
.x4-com-c-profil a { color: inherit; text-decoration: underline; }

/* ── Le calendrier éditorial de Léa (06/11/2026, maquette « Les autres menus — revus ») : quatre onglets, la
   semaine et la jauge de l'objectif en tête de l'onglet Calendrier. ── */
.x4-com-onglets { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 99px; background: var(--inset, rgba(20, 20, 25, .05)); align-self: flex-start; }
.x4-com-onglet { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border: 0; border-radius: 99px; background: transparent; font-family: inherit; font-size: 13px; font-weight: 640; color: var(--v2-text, #16171a); cursor: pointer; letter-spacing: inherit; }
.x4-com-onglet.est-actif { background: var(--v2-text, #16171a); color: var(--panel-solid, #fff); }
.x4-com-onglet b { height: 18px; min-width: 18px; padding: 0 6px; border-radius: 99px; background: var(--accent-bright, #f5d547); color: #1b1a12; font-size: 11px; font-weight: 680; display: inline-flex; align-items: center; justify-content: center; }
.x4-com-panel { display: flex; flex-direction: column; gap: 16px; }
.x4-com-panel[hidden] { display: none; }
.x4-com-duo { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: stretch; }
.x4-com-sem { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 12px; border-radius: var(--r-md, 18px); background: var(--panel-solid, #fff); border: 1px solid var(--stroke, rgba(20, 20, 25, .075)); min-width: 0; }
.x4-com-sem-tete { display: flex; align-items: center; gap: 10px; }
.x4-com-sem-tete h2 { margin: 0; font-size: 14px; font-weight: 680; letter-spacing: -.01em; }
.x4-com-sem-tete h2 span { font-weight: 550; color: var(--v2-text-3, #6b6f76); margin-left: 6px; }
.x4-com-sem-tete .x4-com-lien { margin-left: auto; }
.x4-com-sem-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.x4-com-sem-j { display: flex; flex-direction: column; gap: 4px; min-height: 92px; padding: 8px; border-radius: var(--r-sm, 12px); border: 1px dashed var(--stroke, rgba(20, 20, 25, .16)); min-width: 0; }
.x4-com-sem-j.est-auj { border-style: solid; border-color: var(--accent-bright, #f5d547); background: var(--accent-soft, rgba(245, 213, 71, .14)); }
.x4-com-sem-j.est-we { opacity: .6; }
.x4-com-sem-t { font-size: 11px; font-weight: 640; color: var(--v2-text-2, #55595f); text-transform: capitalize; }
.x4-com-sem-vide { flex: 1; display: grid; place-items: center; color: var(--v2-text-3, #9aa0a8); font-size: 12px; }
.x4-com-sem-p { display: flex; flex-direction: column; gap: 1px; padding: 6px 8px; border: 0; border-radius: var(--r-xs, 9px); background: var(--inset, rgba(20, 20, 25, .05)); font-family: inherit; text-align: left; cursor: pointer; color: var(--v2-text, #16171a); min-width: 0; letter-spacing: inherit; }
.x4-com-sem-p b { font-size: 10.5px; font-weight: 680; letter-spacing: .04em; text-transform: uppercase; color: var(--v2-accent, #7d640d); }
.x4-com-sem-p span { font-size: 11.5px; font-weight: 620; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.x4-com-sem-p.est-programme { background: var(--accent-soft, rgba(245, 213, 71, .3)); }
.x4-com-sem-p.est-parti b { color: var(--pos-fg, #136d45); }
.x4-com-sem-note { margin: 0; font-size: 11.5px; color: var(--v2-text-3, #6b6f76); }
.x4-com-jauge { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: var(--r-md, 18px); background: #1a1a1a; color: #fff; }
.x4-com-jauge-k { font-size: 11px; font-weight: 640; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.x4-com-jauge-n { display: flex; align-items: baseline; gap: 8px; }
.x4-com-jauge-n b { font-size: 34px; font-weight: 680; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.x4-com-jauge-n span { font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.x4-com-jauge-b { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.x4-com-jauge-b i { display: block; height: 100%; border-radius: 99px; background: #ffde5a; }
.x4-com-jauge small { font-size: 12px; color: rgba(255, 255, 255, .7); line-height: 1.4; }
.x4-com-jauge small b { color: #fff; font-weight: 680; }
.x4-com-jauge.est-sans { background: var(--panel-solid, #fff); color: var(--v2-text, #16171a); border: 1px solid var(--stroke, rgba(20, 20, 25, .075)); }
.x4-com-jauge.est-sans .x4-com-jauge-k, .x4-com-jauge.est-sans small { color: var(--v2-text-3, #6b6f76); }
.x4-com-jauge.est-sans > b { font-size: 34px; font-weight: 680; letter-spacing: -.03em; line-height: 1; }
@media (max-width: 1100px) { .x4-com-duo { grid-template-columns: minmax(0, 1fr); } .x4-com-sem-g { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Le créneau de Léa sur une carte validée (10/11/2026) : la date proposée, pourquoi, et le bouton qui la prend. */
.x4-com-c-etat.est-creneau { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.x4-com-c-etat.est-creneau b { font-weight: 680; color: var(--v2-text, #16171a); }
.x4-com-btn.est-petit { height: 28px; padding: 0 11px; font-size: 12px; }
