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

#sujet-html {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  color: #151515;
  font: 16px/1.34 Arial, Helvetica, sans-serif;
  background: transparent;
  text-align: left;
  container-type: inline-size;
  container-name: bac-document;
}

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

#sujet-html .sujet-bac-page {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 14px 14px;
  background: #fff;
  border-bottom: 1px solid #d2d2d2;
}

#sujet-html .sujet-bac-entete {
  flex: none;
  text-align: center;
  font-size: 14px;
  margin: 0 0 18px;
}

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

#sujet-html .sujet-bac-page p,
#sujet-html .sujet-bac-page ul,
#sujet-html .sujet-bac-page h3,
#sujet-html .sujet-bac-page h4 {
  padding: 0;
  background: transparent;
}

#sujet-html .sujet-bac-page p {
  margin: 0 0 10px;
  font-size: inherit;
  line-height: 1.34;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}

#sujet-html .sujet-bac-page p.sujet-bac-suite-page {
  text-align-last: justify;
}

#sujet-html .sujet-bac-page h3 {
  font: 700 17px/1.26 Arial, Helvetica, sans-serif;
  text-align: center;
  margin: 0 0 26px;
}

#sujet-html .sujet-bac-page h4 {
  font: 700 16px/1.26 Arial, Helvetica, sans-serif;
  text-align: left;
  margin: 24px 0 12px;
}

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

#sujet-html .sujet-bac-page em,
#sujet-html .sujet-bac-page .sujet-bac-consigne-italique {
  font-style: italic;
}

#sujet-html .sujet-bac-page ul {
  margin: 0 0 12px 22px;
  list-style-type: "–  ";
  font: inherit;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

#sujet-html .sujet-bac-page li {
  padding: 0;
  margin: 0 0 5px;
  min-width: 0;
}

#sujet-html .sujet-bac-page p.sujet-bac-question {
  padding-left: 40px;
  text-indent: -40px;
  margin-bottom: 14px;
}

#sujet-html .sujet-bac-page p.sujet-bac-objectif {
  margin: 18px 0 23px;
}

#sujet-html .sujet-bac-page p.sujet-bac-espace-avant {
  margin-top: 22px;
}

#sujet-html .sujet-bac-page p.sujet-bac-consigne-italique {
  margin: 4px 0 14px;
}

#sujet-html .sujet-bac-page p.sujet-bac-consigne-indentee {
  margin: 3px 0 20px 30px;
}

#sujet-html .sujet-bac-page p.sujet-bac-source {
  font-size: 13px;
  text-align: right;
  margin: 2px 0 12px;
  overflow-wrap: anywhere;
}

#sujet-html .sujet-bac-page p.sujet-bac-sous-donnee {
  margin: 7px 0 6px 18px;
}

#sujet-html .sujet-bac-page p.sujet-bac-definition {
  padding-left: 26px;
}

#sujet-html .sujet-bac-pied-de-page {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  flex: none;
  font-size: 13px;
  font-weight: 700;
  margin-top: auto;
  padding-top: 20px;
}

#sujet-html .sujet-bac-pied-de-page span:nth-child(2) {
  grid-column: 2;
  text-align: center;
}

#sujet-html .sujet-bac-page math {
  font-family: "Cambria Math", "STIX Two Math", "Latin Modern Math", serif;
  font-size: 1em;
  vertical-align: middle;
}

#sujet-html .sujet-bac-formule {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 9px 0 13px;
  padding: 3px 0;
  text-align: center;
  background:
    linear-gradient(to right, #fff 20%, transparent),
    linear-gradient(to left, #fff 20%, transparent),
    radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.28), transparent),
    radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.28), transparent);
  background-repeat: no-repeat;
  background-size: 28px 100%, 28px 100%, 10px 100%, 10px 100%;
  background-position: left, right, left, right;
  background-attachment: local, local, scroll, scroll;
}

#sujet-html .sujet-bac-formule-contenu {
  width: max-content;
  min-width: 100%;
  margin-inline: auto;
}

#sujet-html .sujet-bac-formule math[display="block"] {
  display: block;
  width: max-content;
  max-width: none;
  min-width: 0;
  margin-inline: auto;
  font-size: 1.05em;
  math-style: normal;
}

#sujet-html .sujet-bac-page .sujet-bac-tableau {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  max-width: 100%;
  margin: 9px 0 15px;
  background: #fff;
  font: inherit;
  table-layout: fixed;
}

#sujet-html .sujet-bac-page .sujet-bac-tableau th,
#sujet-html .sujet-bac-page .sujet-bac-tableau td {
  border: 1px solid #4b4b4b;
  padding: 3px 4px;
  text-align: center;
  font-size: 0.9em;
  font-weight: 400;
  overflow-wrap: anywhere;
  line-height: 1.2;
  vertical-align: middle;
}

#sujet-html .sujet-bac-page .sujet-bac-tableau thead th {
  font-weight: 700;
}

#sujet-html .sujet-bac-tableau-elements {
  width: 84%;
  margin-inline: auto;
}

#sujet-html .sujet-bac-grille-nomenclature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

#sujet-html .sujet-bac-grille-nomenclature > div {
  min-width: 0;
}

#sujet-html .sujet-bac-encadre {
  border: 1px solid #4b4b4b;
  padding: 10px 11px;
  margin: 17px 0 0;
  line-height: 1.34;
  text-align: justify;
}

#sujet-html .sujet-bac-introduction-avec-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

#sujet-html .sujet-bac-introduction-avec-image > div {
  min-width: 0;
}

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

#sujet-html .sujet-bac-zoom-image {
  position: relative;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  color: inherit;
  width: 100%;
  max-width: 100%;
  font: inherit;
  cursor: zoom-in;
}

#sujet-html .sujet-bac-zoom-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

#sujet-html .sujet-bac-repere-distance {
  position: absolute;
  bottom: 0.3%;
  left: 47%;
  font-size: 14px;
  font-style: italic;
  color: #111;
  pointer-events: none;
}

#sujet-html .sujet-bac-page p.sujet-bac-legende {
  text-align: center;
  font-size: 13px;
  margin: 5px 0 8px;
  hyphens: none;
}

#sujet-html .sujet-bac-figure.sujet-bac-photo {
  max-width: 180px;
  margin-top: 0;
}

#sujet-html .sujet-bac-figure.sujet-bac-zone {
  max-width: 340px;
  margin: 0 auto 18px;
}

#sujet-html .sujet-bac-figure.sujet-bac-scintigraphie-photo {
  max-width: 220px;
  margin-top: 0;
}

#sujet-html .sujet-bac-figure.sujet-bac-serum-photo {
  max-width: 145px;
  margin-top: 0;
}

#sujet-html .sujet-bac-figure.sujet-bac-spectre {
  margin: 8px 0 1px;
}

#sujet-html .sujet-bac-page p.sujet-bac-legende-reaction {
  width: 100%;
  text-align: center;
  font-size: 14px;
  white-space: nowrap;
  margin: 2px 0 0;
}

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

#sujet-html .sujet-bac-garde .sujet-bac-contenu {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#sujet-html .sujet-bac-garde p {
  text-align: center;
  hyphens: none;
}

#sujet-html .sujet-bac-garde p.sujet-bac-garde-bac {
  font-weight: 700;
  font-size: 20px;
  margin: 15px 0 11px;
}

#sujet-html .sujet-bac-garde p.sujet-bac-garde-specialite {
  font-weight: 700;
  margin: 0 0 15px;
}

#sujet-html .sujet-bac-garde p.sujet-bac-garde-session {
  font-weight: 700;
  margin: 0 0 30px;
}

#sujet-html .sujet-bac-garde p.sujet-bac-garde-matiere {
  font-weight: 700;
  font-size: 23px;
  margin: 0 0 55px;
}

#sujet-html .sujet-bac-garde p.sujet-bac-garde-jour {
  font-weight: 700;
  margin: 0 0 43px;
}

#sujet-html .sujet-bac-garde p.sujet-bac-garde-duree {
  margin: 0 0 70px;
}

#sujet-html .sujet-bac-garde p.sujet-bac-garde-sous-titre {
  text-decoration: underline;
  font-weight: 700;
  margin: 0 0 7px;
}

#sujet-html .sujet-bac-groupe-consignes {
  margin-bottom: 64px;
}

#sujet-html .sujet-bac-groupe-consignes p,
#sujet-html .sujet-bac-groupe-complet p {
  margin-bottom: 5px;
}

#sujet-html .sujet-bac-groupe-complet {
  margin-bottom: 34px;
}

#sujet-html .sujet-bac-garde p.sujet-bac-garde-obligation {
  font-weight: 700;
  text-decoration: underline;
}

#sujet-html .sujet-bac-popover:not(:popover-open) {
  display: none;
}

#sujet-html .sujet-bac-popover:popover-open {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #090b0e;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font: 16px/1.35 Arial, Helvetica, sans-serif;
  text-align: left;
}

#sujet-html .sujet-bac-popover:popover-open::backdrop {
  background: #090b0e;
}

#sujet-html .sujet-bac-zoom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex: 0 0 auto;
  min-height: 58px;
  padding: 10px 16px;
  background: #171c21;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

#sujet-html .sujet-bac-zoom-bar button {
  display: inline-block;
  flex: none;
  color: #fff;
  background: #373e46;
  border: 1px solid #5e6670;
  border-radius: 6px;
  font: 600 15px Arial, Helvetica, sans-serif;
  padding: 9px 15px;
  margin: 0;
  cursor: pointer;
}

#sujet-html .sujet-bac-zoom-scroll {
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

#sujet-html .sujet-bac-zoom-scroll img {
  display: block;
  flex: none;
  width: min(155vw, 720px);
  max-width: none;
  height: auto;
  object-fit: contain;
  background: #fff;
  margin: auto;
}

#sujet-html .sujet-bac-photo .sujet-bac-zoom-scroll img {
  width: min(70vw, 215px);
}

#sujet-html .sujet-bac-zone .sujet-bac-zoom-scroll img {
  width: min(145vw, 340px);
}

#sujet-html .sujet-bac-scintigraphie-photo .sujet-bac-zoom-scroll img {
  width: min(70vw, 220px);
}

#sujet-html .sujet-bac-serum-photo .sujet-bac-zoom-scroll img {
  width: min(55vw, 160px);
}

#sujet-html .sujet-bac-popover p.sujet-bac-zoom-aide {
  flex: 0 0 auto;
  text-align: center;
  margin: 0;
  padding: 9px 12px 12px;
  background: #171c21;
  color: #d6dade;
  font: 12px/1.3 Arial, Helvetica, sans-serif;
}

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

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

  #sujet-html .sujet-bac-page {
    width: 100%;
    aspect-ratio: 595.32 / 841.92;
    flex: none;
    padding: 3.1% 3% 2.7%;
    border: 0;
    box-shadow: 0 0 1px rgba(0,0,0,.12);
    font-size: 14.8px;
    line-height: 1.3;
  }

  #sujet-html .sujet-bac-entete {
    margin: -3px 0 20px;
    font-size: 14.8px;
  }

  #sujet-html .sujet-bac-page p {
    line-height: 1.3;
    margin-bottom: 11px;
  }

  #sujet-html .sujet-bac-page h3 {
    font-size: 17px;
    margin-bottom: 31px;
  }

  #sujet-html .sujet-bac-page h4 {
    font-size: 15px;
    margin: 29px 0 12px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-figure.sujet-bac-large {
    width: 100%;
  }

  #sujet-html .sujet-bac-introduction-avec-image {
    grid-template-columns: minmax(0, 1fr) 29%;
    gap: 12px;
  }

  #sujet-html .sujet-bac-figure.sujet-bac-photo,
  #sujet-html .sujet-bac-figure.sujet-bac-serum-photo {
    width: 100%;
    max-width: none;
  }

  #sujet-html .sujet-bac-scintigraphie {
    grid-template-columns: minmax(0, 1fr) 26%;
  }

  #sujet-html .sujet-bac-introduction-serum {
    grid-template-columns: minmax(0, 1fr) 19%;
  }

  #sujet-html .sujet-bac-grille-nomenclature {
    grid-template-columns: minmax(0, 37%) minmax(0, 1fr);
    gap: 7%;
  }

  #sujet-html .sujet-bac-page .sujet-bac-tableau th,
  #sujet-html .sujet-bac-page .sujet-bac-tableau td {
    padding: 4px 5px;
    font-size: 14px;
  }

  #sujet-html .sujet-bac-figure.sujet-bac-zone {
    width: 40%;
    max-width: 340px;
  }

  #sujet-html .sujet-bac-zoom-image {
    cursor: default;
    pointer-events: none;
  }

  #sujet-html .sujet-bac-garde p.sujet-bac-garde-bac {
    margin-top: 8px;
  }

  #sujet-html .sujet-bac-garde p.sujet-bac-garde-duree {
    margin-bottom: 80px;
  }
}

@container bac-document (min-width: 718px) and (max-width: 800px) {
  #sujet-html .sujet-bac-page {
    padding-top: 2.2%;
    padding-bottom: 1.9%;
    font-size: 14.67px;
  }

  #sujet-html .sujet-bac-page p {
    margin-bottom: 7px;
  }

  #sujet-html .sujet-bac-page h3 {
    margin-bottom: 16px;
  }

  #sujet-html .sujet-bac-page h4 {
    margin-top: 16px;
    margin-bottom: 8px;
  }

  #sujet-html .sujet-bac-page p.sujet-bac-objectif {
    margin-top: 10px;
    margin-bottom: 13px;
  }

  #sujet-html .sujet-bac-page p.sujet-bac-espace-avant {
    margin-top: 12px;
  }

  #sujet-html .sujet-bac-page li {
    margin-bottom: 3px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-figure.sujet-bac-large {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  #sujet-html .sujet-bac-figure.sujet-bac-zone {
    width: 38%;
  }

  #sujet-html .sujet-bac-grille-nomenclature {
    margin-bottom: 10px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-tableau th,
  #sujet-html .sujet-bac-page .sujet-bac-tableau td {
    padding: 3px;
    font-size: 13px;
  }

  #sujet-html .sujet-bac-encadre {
    padding: 6px 8px;
    margin-top: 8px;
  }
}

#sujet-html .sujet-bac-page-8 .sujet-bac-figure.sujet-bac-large {
  margin-top: 0;
  margin-bottom: 0;
}

@container bac-document (min-width: 718px) and (max-width: 800px) {
  #sujet-html .sujet-bac-page-8 ul {
    margin-bottom: 4px;
  }
}

@container bac-document (min-width: 718px) and (max-width: 800px) {
  #sujet-html .sujet-bac-page-8 .sujet-bac-figure.sujet-bac-large {
    width: 88%;
  }
}
