/* ============================================================
   L'équipe dans l'agenda (09/11/2026) : l'interrupteur « Avec l'équipe » de l'agenda d'Entretiens, la rangée
   des personnes, et les rendez-vous des autres à la couleur de leur avatar (encre --x4-enc posée en ligne).
   ============================================================ */
.x4-cal-equipe-b {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px 0 11px; 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-cal-equipe-b:hover { border-color: var(--stroke-3, rgba(20, 20, 25, .17)); color: var(--v2-text, #16171a); }
.x4-cal-equipe-b.est-actif { background: var(--v2-text, #16171a); border-color: var(--v2-text, #16171a); color: var(--accent-bright, #f5d547); }
[data-app-theme="dark"] .x4-cal-equipe-b.est-actif { background: var(--accent-bright, #f5d547); border-color: var(--accent-bright, #f5d547); color: var(--sur-accent, #1b1a12); }

/* La rangée des personnes. */
.x4-cal-equipe { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: -4px 0 4px; }
.x4-cal-qui {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px 0 4px; border-radius: 99px;
  border: 1px solid var(--stroke, rgba(20, 20, 25, .075)); background: var(--panel-solid, #fff); font: inherit; color: var(--v2-text, #16171a); cursor: pointer;
}
.x4-cal-qui:hover { border-color: var(--stroke-3, rgba(20, 20, 25, .17)); }
.x4-cal-qui > i { width: 24px; height: 24px; border-radius: 99px; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 680; flex: none; }
.x4-cal-qui > b { font-size: 12px; font-weight: 620; white-space: nowrap; }
.x4-cal-qui > small { font-size: 11px; color: var(--v2-text-3, #6b6f76); white-space: nowrap; }
.x4-cal-qui.est-off { opacity: .5; }
.x4-cal-qui.est-off > i { background: var(--inset, rgba(0, 0, 0, .035)) !important; color: var(--v2-text-3, #6b6f76) !important; }
.x4-cal-qui.est-off > b { text-decoration: line-through; text-decoration-thickness: 1px; }
.x4-cal-qui.est-sans { cursor: default; border-style: dashed; }
.x4-cal-qui.est-sans > i { background: var(--inset, rgba(0, 0, 0, .035)) !important; color: var(--v2-text-3, #6b6f76) !important; }
.x4-cal-equipe-note { font-size: 12px; color: var(--v2-text-3, #6b6f76); }
.x4-cal-equipe-relire { width: 32px; height: 32px; border-radius: 99px; border: 1px solid var(--stroke, rgba(20, 20, 25, .075)); background: var(--panel-solid, #fff); color: var(--v2-text-3, #6b6f76); display: grid; place-items: center; cursor: pointer; }
.x4-cal-equipe-relire:hover { color: var(--v2-text, #16171a); border-color: var(--stroke-3, rgba(20, 20, 25, .17)); }

/* Les rendez-vous des autres : l'encre est la couleur de la personne (posée en ligne), les initiales devant le titre. */
.x4-cal [data-ton="equipe"] { --x4-enc: var(--alt-fg, #664cc2); }
.x4-cal-qui-i { display: inline-grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 99px; font-style: normal; font-size: 8.5px; font-weight: 680; vertical-align: -3px; margin-right: 5px; }
.x4-cal-bloc .x4-cal-qui-i { width: 15px; height: 15px; margin-right: 4px; }
.x4-cal-bloc.est-d3 .x4-cal-qui-i, .x4-cal-chip .x4-cal-qui-i, .x4-cal-pill .x4-cal-qui-i, .x4-cal-hors-l .x4-cal-qui-i { width: 14px; height: 14px; font-size: 8px; margin-right: 0; vertical-align: 0; }
.gcal-row .x4-cal-qui-i { width: 20px; height: 20px; font-size: 9.5px; margin-right: 0; }
