.candidate-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  inline-size: 100%;
  margin-block-start: 1.5rem;
  padding: 1.25rem 1.5rem;
  /* Même surface que .curriculum-card.curriculum-summary ; fond opaque validé. */
  border: 1px solid rgb(0 0 0 / 17.5%);
  border-radius: 6px;
  background: var(--light-card);
  color: var(--green);
  text-shadow: none;
}

.candidate-banner > * { min-inline-size: 0; }
.candidate-banner > strong { justify-self: start; }
.candidate-banner p { margin: 0; text-align: center; }
.candidate-banner .action { justify-self: end; }
.candidate-banner[hidden] { display: none; }

@media (max-width: 991.98px) {
  .candidate-banner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .candidate-banner > strong, .candidate-banner .action { justify-self: center; }
}

@media (max-width: 575.98px) {
  .candidate-banner { padding: 1.25rem 1rem; overflow-wrap: anywhere; }
  .candidate-banner .action { inline-size: 100%; }
}

.planning-state.is-cancelled{background:#f8e9e9;color:#92323a}
