#corrige-html, #corrige-html * { box-sizing: border-box; }
#corrige-html {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  text-align: left;
  color: #171717;
  background: transparent;
  font-family: Arial, Calibri, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  container-type: inline-size;
  container-name: bac-document;
  overflow-wrap: break-word;
}
#corrige-html .corrige-bac-pages { width: 100%; }
#corrige-html .corrige-bac-page {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 13px 10px;
  background: #fff;
  border-bottom: 1px solid #d2d2d2;
}
#corrige-html .corrige-bac-contenu { flex: 1 0 auto; min-width: 0; }
#corrige-html .corrige-bac-page p {
  margin: 0 0 14px;
  padding: 0;
  background: none;
  color: inherit;
  font-size: 16px;
  line-height: 1.45;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
#corrige-html .corrige-bac-page .corrige-bac-suite-page { text-align-last: justify; }
#corrige-html .corrige-bac-page h3 {
  margin: 0 0 17px;
  padding: 5px 7px;
  font-family: Arial, Calibri, sans-serif;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: #161616;
  background: #93cabb;
}
#corrige-html .corrige-bac-page strong { font-weight: 700; }
#corrige-html .corrige-bac-page u { text-underline-offset: 2px; }
#corrige-html .corrige-bac-page a { color: #3769bb; text-decoration: underline; }
#corrige-html .corrige-bac-page .corrige-bac-lien-url {
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: anywhere;
}
#corrige-html .corrige-bac-formule {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 8px 0 18px;
  padding: 3px 0;
  text-align: center;
  background: linear-gradient(to right, #fff 40%, transparent),
    linear-gradient(to left, #fff 40%, transparent),
    radial-gradient(farthest-side at 0 50%, #0002, transparent),
    radial-gradient(farthest-side at 100% 50%, #0002, transparent);
  background-position: left center, right center, left center, right center;
  background-size: 35px 100%, 35px 100%, 13px 100%, 13px 100%;
  background-repeat: no-repeat;
  background-attachment: local, local, scroll, scroll;
}
#corrige-html math { font-family: math, 'Cambria Math', 'STIX Two Math', serif; font-size: 1em; }
#corrige-html .corrige-bac-formule math[display="block"] { width: max-content; max-width: none; min-width: min-content; margin: 0 auto; font-size: 1.05em; }
#corrige-html .corrige-bac-aligne math[display="block"] mtd { math-style: normal; }
#corrige-html .corrige-bac-formule math mtable { line-height: 1.35; }
#corrige-html .corrige-bac-python {
  display: table;
  max-width: 100%;
  margin: 12px 0 23px;
  padding: 9px 12px;
  overflow-x: auto;
  border: 1px solid #8c8c8c;
  color: #111;
  background: #fff;
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
  white-space: pre;
  font-family: 'Courier New', monospace;
}
#corrige-html .corrige-bac-python code { color: inherit; font: inherit; background: none; }
#corrige-html .corrige-bac-pied-de-page {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  column-gap: 12px;
  row-gap: 4px;
  min-width: 0;
  padding-top: 25px;
  color: #888;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.3;
  text-align: left;
}
#corrige-html .corrige-bac-pied-de-page span {
  flex: 0 1 auto;
  min-width: 0;
}
#corrige-html .corrige-bac-pied-de-page a {
  flex: 0 0 auto;
  white-space: nowrap;
  color: #3769bb;
}
#corrige-html .corrige-bac-figure { width: 100%; margin: 5px auto 22px; text-align: center; }
#corrige-html .corrige-bac-figure > img {
  display: block;
  width: 61%;
  max-width: 310px;
  height: auto;
  border: 0;
  padding: 0;
  margin-inline: auto;
}
#corrige-html .corrige-bac-page .corrige-bac-zoom-ouvrir {
  display: inline-block;
  margin: 8px 0 0;
  padding: 6px 10px;
  border: 1px solid #bbb;
  border-radius: 5px;
  color: #1c1c1c;
  background: #fafafa;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
#corrige-html .corrige-bac-popover {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
  background: #101010;
}
#corrige-html .corrige-bac-popover:popover-open { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
#corrige-html .corrige-bac-popover::backdrop { background: rgba(0,0,0,.85); }
#corrige-html .corrige-bac-zoom-bandeau {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
  color: #fff;
  background: #171717;
  font-size: 16px;
}
#corrige-html .corrige-bac-zoom-bandeau button {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #111;
  background: #fff;
  font: inherit;
  cursor: pointer;
}
#corrige-html .corrige-bac-zoom-interieur { min-width: 0; min-height: 0; overflow: auto; padding: 17px; text-align: center; }
#corrige-html .corrige-bac-zoom-interieur img { display: block; width: min(100%, 310px); max-width: none; height: auto; border: 0; padding: 0; margin: auto; }
#corrige-html .corrige-bac-page .corrige-bac-zoom-aide { margin: 0; padding: 10px; color: #ddd; background: #171717; font-size: 12px; text-align: center; }
#corrige-html .corrige-bac-tableau-signe { max-width: 100%; margin: 10px 0 22px; overflow-x: auto; }
#corrige-html .corrige-bac-tableau-signe table {
  width: 85%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #888;
  border-collapse: collapse;
  table-layout: fixed;
  background: white;
  margin: 0;
  font-size: 16px;
}
#corrige-html .corrige-bac-tableau-signe th,
#corrige-html .corrige-bac-tableau-signe td {
  padding: 6px 2px;
  color: #111;
  border: 0;
  border-bottom: 1px solid #888;
  font: inherit;
  text-align: center;
  background: #fff;
}
#corrige-html .corrige-bac-tableau-signe tr:last-child th,
#corrige-html .corrige-bac-tableau-signe tr:last-child td { border-bottom: 0; }
#corrige-html .corrige-bac-tableau-signe th { width: 17%; border-right: 1px solid #888; font-weight: 400; }
#corrige-html .corrige-bac-garde { text-align: center; }
#corrige-html .corrige-bac-page .corrige-bac-garde p { text-align: center; hyphens: none; }
#corrige-html .corrige-bac-page .corrige-bac-titre-garde { margin-bottom: 45px; font-size: 23px; font-weight: 700; line-height: 1.2; }
#corrige-html .corrige-bac-page .corrige-bac-bac-general { margin-bottom: 24px; font-size: 19px; font-weight: 700; }
#corrige-html .corrige-bac-page .corrige-bac-epreuve { margin-bottom: 27px; font-size: 16px; }
#corrige-html .corrige-bac-page .corrige-bac-session { margin-bottom: 42px; font-size: 16px; font-weight: 700; }
#corrige-html .corrige-bac-page .corrige-bac-matiere { margin-bottom: 44px; font-size: 20px; font-weight: 700; }
#corrige-html .corrige-bac-page .corrige-bac-duree { margin-bottom: 55px; font-size: 15px; }
#corrige-html .corrige-bac-page .corrige-bac-calculatrice { margin-bottom: 52px; font-size: 14px; font-style: italic; white-space: pre-line; }
#corrige-html .corrige-bac-page .corrige-bac-credit { margin-bottom: 45px; font-size: 14px; }
#corrige-html .corrige-bac-page .corrige-bac-annales { font-size: 14px; }
#corrige-html .corrige-bac-filet { width: 70px; height: 1px; margin: 36px 0 28px; background: #aaa; }
#corrige-html .corrige-bac-page .corrige-bac-renvoi { margin-bottom: 25px; text-align: left; }
@container bac-document (min-width: 718px) {
  #corrige-html .corrige-bac-pages { display: grid; gap: 18px; padding: 18px; background: #eeeeee; }
  #corrige-html .corrige-bac-page {
    width: 100%;
    aspect-ratio: 595.32 / 841.92;
    min-height: 0;
    padding: 7% 11.9% 5.4%;
    border: 0;
    box-shadow: 0 1px 3px #0001;
  }
  #corrige-html .corrige-bac-page p { margin-bottom: 1.63cqw; font-size: clamp(12.9px, 1.8cqw, 15.5px); line-height: 1.38; }
  #corrige-html .corrige-bac-page h3 { font-size: clamp(14.2px, 2cqw, 17px); margin-bottom: 2.05cqw; }
  #corrige-html .corrige-bac-formule { margin: 0.8cqw 0 1.3cqw; font-size: clamp(12.9px, 1.8cqw, 15.5px); }
  #corrige-html .corrige-bac-formule math[display="block"] { font-size: 1.02em; }
  #corrige-html .corrige-bac-pied-de-page { padding-top: 2.8cqw; font-size: clamp(10px, 1.4cqw, 12px); margin-inline: -2.2%; }
  #corrige-html .corrige-bac-page .corrige-bac-zoom-ouvrir { display: none; }
  #corrige-html .corrige-bac-page .corrige-bac-titre-garde { font-size: clamp(23px, 3.26cqw, 28px); margin-bottom: 12.2cqw; }
  #corrige-html .corrige-bac-page .corrige-bac-bac-general { font-size: clamp(21px, 3cqw, 26px); margin-bottom: 4.1cqw; }
  #corrige-html .corrige-bac-page .corrige-bac-epreuve { font-size: clamp(19px, 2.65cqw, 23px); margin-bottom: 3.7cqw; }
  #corrige-html .corrige-bac-page .corrige-bac-session { margin-bottom: 6cqw; }
  #corrige-html .corrige-bac-page .corrige-bac-matiere { font-size: 2.2cqw; margin-bottom: 6cqw; }
  #corrige-html .corrige-bac-page .corrige-bac-duree { margin-bottom: 7.6cqw; }
  #corrige-html .corrige-bac-page .corrige-bac-calculatrice { margin-bottom: 7.3cqw; }
  #corrige-html .corrige-bac-page .corrige-bac-credit { margin-bottom: 6.3cqw; }
  #corrige-html .corrige-bac-tableau-signe table { font-size: clamp(13px, 1.85cqw, 16px); }
  #corrige-html .corrige-bac-python { font-size: clamp(12.5px, 1.75cqw, 15px); }
}