#sujet-html {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  box-sizing: border-box;
  container-type: inline-size;
  container-name: bac-document;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.38;
  color: #111;
  text-align: left;
  overflow-wrap: break-word;
}

#sujet-html *,
#sujet-html *::before,
#sujet-html *::after {
  box-sizing: border-box;
}

#sujet-html .sujet-bac-pages {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: transparent;
  min-width: 0;
}

#sujet-html .sujet-bac-page {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 24px 16px;
  background: #fff;
}

#sujet-html .sujet-bac-page:not(:last-child) {
  border-bottom: 1px solid #d2d2d2;
}

#sujet-html .sujet-bac-contenu {
  min-width: 0;
}

#sujet-html .sujet-bac-page p,
#sujet-html .sujet-bac-page h3,
#sujet-html .sujet-bac-page h4,
#sujet-html .sujet-bac-page ul,
#sujet-html .sujet-bac-page ol {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: transparent;
}

#sujet-html .sujet-bac-page p {
  text-align: left;
  margin-bottom: 4px;
}

#sujet-html .sujet-bac-page h3,
#sujet-html .sujet-bac-page h4 {
  font-weight: 700;
}

#sujet-html .sujet-bac-page h4 {
  margin-bottom: 2px;
}

#sujet-html .sujet-bac-page h4 span {
  margin-left: 12px;
  text-decoration: none;
}

#sujet-html .sujet-bac-page .sujet-bac-centre {
  text-align: center;
}

#sujet-html .sujet-bac-page .sujet-bac-titre-partie {
  text-align: center;
  font-size: 1em;
  margin-bottom: 22px;
}

#sujet-html .sujet-bac-page .sujet-bac-paragraphe-justifie,
#sujet-html .sujet-bac-page-ex1 .sujet-bac-questions-exercice > li p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

#sujet-html .sujet-bac-question {
  margin-top: 26px;
  min-width: 0;
}

#sujet-html .sujet-bac-question h4 {
  text-decoration: underline;
  text-underline-offset: 2px;
}

#sujet-html .sujet-bac-page .sujet-bac-phrase-reponse {
  margin-top: 18px;
}

#sujet-html .sujet-bac-choix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  column-gap: 10px;
  row-gap: 12px;
  margin-top: 18px;
  min-width: 0;
}

#sujet-html .sujet-bac-choix li {
  min-width: 0;
  overflow-wrap: anywhere;
}

#sujet-html .sujet-bac-choix li strong {
  font-weight: 700;
}

#sujet-html .sujet-bac-page .sujet-bac-enonce-figure {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 8px;
}

#sujet-html .sujet-bac-page .sujet-bac-figure {
  min-width: 0;
  margin: 8px auto 12px;
  text-align: center;
}

#sujet-html .sujet-bac-page .sujet-bac-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  border: 0;
}

#sujet-html .sujet-bac-page .sujet-bac-figure img.sujet-bac-image-desktop {
  display: none;
}

#sujet-html .sujet-bac-page .sujet-bac-image-mobile {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: normal;
  appearance: none;
  cursor: zoom-in;
}

#sujet-html .sujet-bac-figure-graphique {
  width: min(100%, 175px);
}

#sujet-html .sujet-bac-figure-arbre {
  width: min(100%, 285px);
}

#sujet-html .sujet-bac-figure-repere {
  width: min(100%, 110px);
}

#sujet-html .sujet-bac-exercice {
  min-width: 0;
}

#sujet-html .sujet-bac-donnees {
  list-style: disc;
  padding-left: 20px;
  margin: 15px 0 12px;
}

#sujet-html .sujet-bac-donnees li {
  margin-bottom: 8px;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

#sujet-html .sujet-bac-page .sujet-bac-notations-evenements {
  margin: 15px 0;
}

#sujet-html .sujet-bac-saut-ligne {
  display: block;
}

#sujet-html .sujet-bac-questions-exercice {
  list-style: decimal;
  padding-left: 22px;
  margin-top: 8px;
}

#sujet-html .sujet-bac-questions-exercice > li {
  padding-left: 0;
  margin-bottom: 12px;
}

#sujet-html .sujet-bac-questions-exercice > li::marker {
  font-weight: 700;
}

#sujet-html .sujet-bac-page .sujet-bac-affirmation {
  margin-top: 15px;
}

#sujet-html .sujet-bac-affirmations > li {
  margin: 30px 0 40px;
}

#sujet-html .sujet-bac-questions-geometrie > li {
  margin-bottom: 18px;
}

#sujet-html .sujet-bac-page .sujet-bac-formule {
  max-width: 100%;
  min-width: 0;
  margin: 8px 0;
  padding: 2px 0;
  overflow-x: auto;
  background-color: #fff;
  background-image:
    linear-gradient(to right, #fff 28%, transparent),
    linear-gradient(to left, #fff 28%, transparent),
    radial-gradient(farthest-side at 0 50%, #0003, transparent),
    radial-gradient(farthest-side at 100% 50%, #0003, transparent);
  background-position: 0 0, 100% 0, 0 0, 100% 0;
  background-repeat: no-repeat;
  background-size: 40px 100%, 40px 100%, 12px 100%, 12px 100%;
  background-attachment: local, local, scroll, scroll;
}

#sujet-html .sujet-bac-formule math[display="block"] {
  width: max-content;
  min-width: 100%;
  margin: 0;
  text-align: center;
}

#sujet-html math {
  font-size: 1em;
  math-style: normal;
  vertical-align: middle;
  max-width: none;
}

#sujet-html .sujet-bac-page .sujet-bac-pied-de-page,
#sujet-html .sujet-bac-pied-de-page {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-top: 30px;
  min-width: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .89em;
  line-height: 1.25;
  color: #111;
  text-align: left;
}

#sujet-html .sujet-bac-pied-de-page span:first-child {
  font-weight: 700;
}

#sujet-html .sujet-bac-couverture {
  text-align: center;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture p {
  text-align: center;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-bac {
  margin: 0 0 22px;
  font-size: 1.22em;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-session {
  margin-bottom: 44px;
  font-weight: 700;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-matiere {
  margin-bottom: 22px;
  font-size: 1.3em;
  font-weight: 700;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-epreuve {
  margin-bottom: 25px;
  font-size: 1.1em;
  font-weight: 700;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-candidats {
  margin-bottom: 24px;
  font-size: .89em;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-date {
  margin-bottom: 22px;
  font-weight: 700;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-duree {
  margin-bottom: 51px;
  font-size: .88em;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-calculatrice {
  margin-bottom: 22px;
  font-size: .93em;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-instructions {
  font-size: .93em;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-integralite {
  margin: 34px 0 18px;
  font-size: .94em;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-repartition {
  margin-bottom: 15px;
  font-size: .92em;
}

#sujet-html .sujet-bac-points {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  font: inherit;
  font-size: .86em;
  text-align: left;
  color: inherit;
  background: #fff;
}

#sujet-html .sujet-bac-points td {
  width: 50%;
  border: 1px solid #666;
  padding: 0 4px;
  line-height: 1.2;
  vertical-align: top;
  text-align: left;
}

#sujet-html .sujet-bac-zoom[popover] {
  position: fixed;
  inset: 0;
  display: none;
  flex-direction: column;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #111;
  color: #fff;
  font: 16px/1.35 Arial, Helvetica, sans-serif;
}

#sujet-html .sujet-bac-zoom:popover-open {
  display: flex;
}

#sujet-html .sujet-bac-zoom::backdrop {
  background: rgba(0, 0, 0, .85);
}

#sujet-html .sujet-bac-zoom-entete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 0 0 auto;
  width: 100%;
  padding: 12px 16px;
  background: #181818;
  text-align: left;
  font-weight: 700;
}

#sujet-html .sujet-bac-zoom-entete button {
  flex: 0 0 auto;
  padding: 7px 13px;
  margin: 0;
  border: 1px solid #aaa;
  border-radius: 4px;
  background: #333;
  color: #fff;
  font: inherit;
  font-weight: 400;
  cursor: pointer;
}

#sujet-html .sujet-bac-zoom-defilement {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: auto;
  padding: 20px 12px;
  text-align: center;
}

#sujet-html .sujet-bac-zoom-defilement img {
  display: block;
  height: auto;
  max-width: none;
  margin: 0 auto;
  background: white;
}

#sujet-html #sujet-bac-zoom-q2 .sujet-bac-zoom-defilement img {
  width: min(193px, 95%);
}

#sujet-html #sujet-bac-zoom-ex1 .sujet-bac-zoom-defilement img {
  width: min(371px, 95%);
}

#sujet-html #sujet-bac-zoom-ex3 .sujet-bac-zoom-defilement img {
  width: min(130px, 95%);
}

#sujet-html .sujet-bac-page .sujet-bac-zoom-indication {
  flex: 0 0 auto;
  margin: 0;
  padding: 10px 12px 16px;
  background: #181818;
  color: #d4d4d4;
  font-size: 12px;
  text-align: center;
}

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

  #sujet-html .sujet-bac-page {
    aspect-ratio: 612 / 792;
    padding: 10.9% 15.15% 5.2%;
    font-size: clamp(12.7px, 1.765cqi, 15.2px);
    line-height: 1.26;
    border: 0;
    box-shadow: 0 1px 3px #00000012;
  }

  #sujet-html .sujet-bac-page:not(:last-child) {
    border-bottom: 0;
  }

  #sujet-html .sujet-bac-page .sujet-bac-titre-partie {
    margin-bottom: 22px;
  }

  #sujet-html .sujet-bac-question {
    margin-top: 34px;
  }

  #sujet-html .sujet-bac-choix {
    margin-top: 15px;
    row-gap: 12px;
  }

  #sujet-html .sujet-bac-choix-quatre {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 7px;
  }

  #sujet-html .sujet-bac-choix-deux {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 35px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-enonce-figure {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    min-height: 174px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-enonce-figure p {
    flex: 1 1 auto;
  }

  #sujet-html .sujet-bac-page .sujet-bac-figure-graphique {
    flex: 0 0 193px;
    width: 193px;
    margin: -20px 0 4px;
  }

  #sujet-html .sujet-bac-figure-arbre {
    width: 371px;
    margin: 13px auto 12px;
  }

  #sujet-html .sujet-bac-figure-repere {
    width: 130px;
    margin: 25px auto 32px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-figure img.sujet-bac-image-desktop {
    display: block;
  }

  #sujet-html .sujet-bac-page .sujet-bac-image-mobile {
    display: none;
  }

  #sujet-html .sujet-bac-page-ex1 .sujet-bac-questions-exercice > li {
    margin-bottom: 12px;
  }

  #sujet-html .sujet-bac-page-ex1 .sujet-bac-donnees {
    margin-top: 17px;
    margin-bottom: 15px;
  }

  #sujet-html .sujet-bac-page-ex1 .sujet-bac-donnees li {
    margin-bottom: 9px;
  }

  #sujet-html .sujet-bac-page-ex2 .sujet-bac-affirmations {
    margin-top: 66px;
  }

  #sujet-html .sujet-bac-page-ex2 .sujet-bac-affirmations > li {
    margin: 0 0 118px;
  }

  #sujet-html .sujet-bac-page-ex2 .sujet-bac-affirmations > li:last-child {
    margin-bottom: 0;
  }

  #sujet-html .sujet-bac-page-ex3 .sujet-bac-exercice > p:first-of-type {
    margin-top: 6px;
    margin-bottom: 17px;
  }

  #sujet-html .sujet-bac-page-ex3 .sujet-bac-questions-geometrie > li {
    margin-bottom: 31px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-couverture-session {
    margin-bottom: 55px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-couverture-duree {
    margin-bottom: 73px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-couverture-integralite {
    margin-top: 45px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-pied-de-page {
    margin-top: auto;
    padding-top: 10px;
  }
}

