.containerX {
     max-width: 90%;
     margin: auto ;
      padding: 15px;
      background-color: white;
      margin-bottom: 40px;
    }
  /* --- Carte combinaison --- */
  .combinaison {
    background: #fff;
    border: 2px solid #007BFF;
    border-radius: 10px;
    margin: 24px auto;
    padding: 20px;
    max-width: 90%;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    
  }
  .combinaison__title {
    color: #004085;
    margin: 0 0 16px 0;
    font-size: 1.6rem;
  }
  .tache {
    border: 1px solid #cfe2ff;
    background: #f0f7ff;
    border-radius: 8px;
    padding: 14px;
    margin: 16px 0;
  }
  .tache__title {
    color: #0056b3;
    margin: 0 0 8px 0;
    font-size: 1.2rem;
  }
  .tache__enonce { margin-bottom: 10px; }
  .document {
    border: 1px dashed #80bdff;
    background: #e9f4ff;
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
  }
  .document__title {
    color: #0069d9;
    margin: 0 0 6px 0;
    font-size: 1rem;
  }
  /* --- Zone réponse utilisateur --- */
  .reponse-user {
    margin-top: 12px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #cfe2ff;
    border-radius: 6px;
  }
  .reponse-user textarea {
    width: 100%;
    border: 1px solid #80bdff;
    border-radius: 6px;
    padding: 10px;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 100px;
    margin-bottom: 8px;
  }
  .reponse-user button {
    background: #007BFF;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
  }
  .reponse-user button:hover { background: #0056b3; }
  .correction-box {
    background: #e7f0ff;
    border-left: 4px solid #0056b3;
    border-radius: 6px;
    padding: 12px;
    margin-top: 12px;
  }



  /* bouton "summary" stylé comme un bouton */
    .btn-toggle {
      list-style: none;                   /* enlever le triangle par défaut */
      cursor: pointer;
      display: inline-block;
      padding: 8px 14px;
      background: #007BFF;               /* bleu bouton */
      color: #fff;
      border: 0;
      border-radius: 6px;
      font-size: 0.95rem;
      margin: 0;
      user-select: none;
    }
    /* enlever triangle natif sur Chrome/Firefox */
    details summary::-webkit-details-marker { display: none; }
    details summary::marker { content: ""; }

    /* état hover/focus */
    .btn-toggle:hover { background: #0056b3; }
    .btn-toggle:focus-visible {
      outline: 3px solid rgba(0,123,255,.35);
      outline-offset: 2px;
    }
    /* contenu de la correction */
    .correction__content {
      padding: 12px 14px 14px;
      border-top: 1px solid #cfe2ff;
    }
    .correction[open] .btn-toggle::after {
      content: "  ▲";
      font-size: .85em;
    }
    .correction:not([open]) .btn-toggle::after {
      content: "  ▼";
      font-size: .85em;
    }

    /* --- Responsive mobile --- */
@media (max-width: 576px) {
  .containerX {
     max-width: 100%;
     margin: auto ;
      padding: 5px;
      background-color: white;
      margin-bottom: 40px;
    }
  .combinaison {
    margin: 25px 2px 5px 2px;
    padding: 5px;
    border-width: 1px;
    max-width: 100%;
  }

  .tache {
    padding: 5px;
    margin: 5px 0;
  }

  .tache__title {
    font-size: 1rem;
  }

  .tache__enonce {
    font-size: 0.9rem;
  }

  .reponse-user textarea {
    font-size: 0.85rem;
    padding: 6px;
    min-height: 80px;
  }

  .reponse-user button {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .combinaison__title {
    font-size: 1.2rem;
  }
}

