#corrige-html,
#corrige-html * {
  box-sizing: border-box;
}

#corrige-html {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  color: #101010;
  font-family: Carlito, Calibri, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.24;
  text-align: left;
  container-type: inline-size;
  container-name: bac-document;
}

#corrige-html .corrige-bac-pages {
  width: 100%;
  min-width: 0;
}

#corrige-html .corrige-bac-page {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 21px 15px 13px;
  background: #fff;
  border-bottom: 1px solid #d2d2d2;
}

#corrige-html .corrige-bac-contenu {
  flex: 1 1 auto;
  min-width: 0;
}

#corrige-html .corrige-bac-page p,
#corrige-html .corrige-bac-page h3,
#corrige-html .corrige-bac-page h4,
#corrige-html .corrige-bac-page ul {
  padding: 0;
  color: inherit;
  font-family: inherit;
  line-height: inherit;
}

#corrige-html .corrige-bac-page p {
  margin: 0 0 9px;
  font-size: inherit;
  font-weight: 400;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}

#corrige-html .corrige-bac-page h3 {
  margin: 0 0 7px;
  background-color: #93cdb9;
  font-size: 19px;
  font-weight: 700;
  text-align: left;
}

#corrige-html .corrige-bac-page h4 {
  margin: 13px 0 10px;
  background: transparent;
  font-size: inherit;
  font-weight: 700;
  text-align: left;
}

#corrige-html .corrige-bac-page h3 + h4 {
  margin-top: 0;
}

#corrige-html .corrige-bac-page strong {
  font-weight: 700;
}

#corrige-html .corrige-bac-page ul {
  padding-left: 27px;
  margin: 9px 0 14px;
  list-style: disc;
}

#corrige-html .corrige-bac-page li {
  margin: 0 0 9px;
  font-size: inherit;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

#corrige-html .corrige-bac-formule {
  max-width: 100%;
  min-width: 0;
  margin: 10px 0 15px;
  overflow-x: auto;
  overflow-y: hidden;
  text-align: center;
  scrollbar-width: thin;
  background:
    linear-gradient(to right, #fff 32%, transparent) left center / 22px 100% no-repeat local,
    linear-gradient(to left, #fff 32%, transparent) right center / 22px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, #0004, transparent) left center / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, #0004, transparent) right center / 12px 100% no-repeat scroll;
}

#corrige-html .corrige-bac-formule math {
  display: inline-block;
  min-width: max-content;
  max-width: none;
  font-family: 'Cambria Math', 'STIX Two Math', 'DejaVu Serif', serif;
  font-size: 1em;
  line-height: normal;
  white-space: nowrap;
}

#corrige-html .corrige-bac-formule math[display="block"] mtable {
  margin-inline: auto;
}

#corrige-html .corrige-bac-formule math[display="block"] mtd {
  math-style: normal;
}

#corrige-html .corrige-bac-page p math,
#corrige-html .corrige-bac-page li math,
#corrige-html .corrige-bac-tableau-signes math {
  font-family: 'Cambria Math', 'STIX Two Math', 'DejaVu Serif', serif;
  font-size: 1em;
}

#corrige-html .corrige-bac-espace-question {
  height: 12px;
}

#corrige-html .corrige-bac-espace-section {
  height: 30px;
}

#corrige-html .corrige-bac-pied-de-page {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 16px;
  color: #858585;
}

#corrige-html .corrige-bac-page .corrige-bac-pied-de-page p {
  margin: 0;
  color: #858585;
  font-size: 11px;
  line-height: 1.2;
  text-align: left;
  hyphens: none;
  -webkit-hyphens: none;
}

#corrige-html .corrige-bac-page a {
  color: #246bb1;
  text-decoration: underline;
}

#corrige-html .corrige-bac-page a.corrige-bac-lien-url {
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: anywhere;
}

#corrige-html .corrige-bac-tableau-conteneur {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  margin: 10px 0;
}

#corrige-html .corrige-bac-tableau-signes {
  width: 100%;
  min-width: 0;
  margin: 0;
  table-layout: fixed;
  border-collapse: collapse;
  color: #111;
  font-family: inherit;
  font-size: 0.95em;
  background: #fff;
  border: 1px solid #333;
}

#corrige-html .corrige-bac-tableau-signes tr {
  border-bottom: 1px solid #888;
}

#corrige-html .corrige-bac-tableau-signes tr:last-child {
  border-bottom: 0;
}

#corrige-html .corrige-bac-tableau-signes th,
#corrige-html .corrige-bac-tableau-signes td {
  padding: 6px 0;
  border: 0;
  line-height: 1.15;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
}

#corrige-html .corrige-bac-tableau-signes th {
  width: 13%;
  border-right: 1px solid #555;
}

#corrige-html .corrige-bac-tableau-signes td {
  width: 12.42%;
}

#corrige-html .corrige-bac-page p.corrige-bac-indication-centree {
  font-size: 0.94em;
  text-align: center;
}

#corrige-html .corrige-bac-separateur {
  margin-top: 35px;
  margin-bottom: 35px;
  color: #777;
}

#corrige-html .corrige-bac-page p.corrige-bac-lien-fin {
  text-align: left;
  font-size: 0.94em;
}

#corrige-html .corrige-bac-page-garde .corrige-bac-contenu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

#corrige-html .corrige-bac-couverture-bas {
  margin-top: 30px;
}

#corrige-html .corrige-bac-page-garde p,
#corrige-html .corrige-bac-page-garde div.corrige-bac-couverture-haut p,
#corrige-html .corrige-bac-page-garde div.corrige-bac-couverture-milieu p,
#corrige-html .corrige-bac-page-garde div.corrige-bac-couverture-bas p {
  margin: 0;
  text-align: center;
  hyphens: none;
  -webkit-hyphens: none;
}

#corrige-html .corrige-bac-couverture-haut {
  margin: 0;
}

#corrige-html .corrige-bac-couverture-haut p {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.15;
}

#corrige-html .corrige-bac-couverture-milieu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#corrige-html .corrige-bac-couverture-milieu .corrige-bac-couverture-bac {
  font-size: 21px;
  font-weight: 700;
}

#corrige-html .corrige-bac-couverture-milieu .corrige-bac-couverture-session {
  font-size: 17px;
  font-weight: 700;
}

#corrige-html .corrige-bac-couverture-matiere {
  margin: 4px 0;
}

#corrige-html .corrige-bac-couverture-matiere p:first-child {
  font-size: 21px;
}

#corrige-html .corrige-bac-couverture-matiere p:last-child {
  font-size: 18px;
}

#corrige-html .corrige-bac-couverture-milieu .corrige-bac-couverture-candidats {
  font-size: 15px;
}

#corrige-html .corrige-bac-couverture-milieu .corrige-bac-couverture-duree,
#corrige-html .corrige-bac-couverture-milieu .corrige-bac-couverture-calculatrice {
  font-size: 16px;
}

#corrige-html .corrige-bac-couverture-bas p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.25;
}

@container bac-document (min-width: 400px) {
  #corrige-html .corrige-bac-page p,
  #corrige-html .corrige-bac-page li {
    hyphens: none;
    -webkit-hyphens: none;
  }
}

@container bac-document (min-width: 718px) {
  #corrige-html .corrige-bac-pages {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px;
    background: #eeeeee;
  }

  #corrige-html .corrige-bac-page {
    aspect-ratio: 595.32 / 841.92;
    padding: 11.5% 11.6% 6.4%;
    border: 0;
    font-size: clamp(14.67px, 1.85cqi, 16px);
    line-height: 1.16;
  }

  #corrige-html .corrige-bac-page p {
    margin-bottom: 11px;
  }

  #corrige-html .corrige-bac-page h3 {
    font-size: 1.17em;
  }

  #corrige-html .corrige-bac-page h4 {
    margin: 10px 0;
  }

  #corrige-html .corrige-bac-formule {
    margin: 8px 0 14px;
  }

  #corrige-html .corrige-bac-page ul {
    margin-top: 9px;
    margin-bottom: 13px;
  }

  #corrige-html .corrige-bac-page li {
    margin-bottom: 9px;
  }
  
  #corrige-html .corrige-bac-espace-section {
  height: 100px;
  }

  #corrige-html .corrige-bac-pied-de-page {
    padding-top: 10px;
    margin-inline: -3.5%;
  }

  #corrige-html .corrige-bac-page .corrige-bac-pied-de-page p {
    font-size: 12px;
  }

  #corrige-html .corrige-bac-page-garde {
    padding-top: 10.5%;
  }

  #corrige-html .corrige-bac-page-garde .corrige-bac-contenu {
    padding-bottom: 12cqi;
  }

  #corrige-html .corrige-bac-couverture-haut p {
    font-size: clamp(27px, 4cqi, 36px);
    line-height: 1.31;
  }

  #corrige-html .corrige-bac-couverture-milieu {
    gap: 44px;
  }

  #corrige-html .corrige-bac-couverture-milieu .corrige-bac-couverture-bac {
    font-size: 26px;
  }

  #corrige-html .corrige-bac-couverture-milieu .corrige-bac-couverture-session {
    font-size: 21px;
  }

  #corrige-html .corrige-bac-couverture-matiere p:first-child {
    font-size: 26px;
  }

  #corrige-html .corrige-bac-couverture-matiere p:last-child {
    font-size: 23px;
  }

  #corrige-html .corrige-bac-couverture-milieu .corrige-bac-couverture-candidats {
    font-size: 17px;
  }

  #corrige-html .corrige-bac-couverture-bas p {
    font-size: 14px;
  }
}
