#course-toc{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 28px;padding:15px 18px;background:#f1f6fa;border-left:2px solid var(--blue)}#course-toc p{width:100%;margin:0 0 4px;font-size:13px;font-weight:750}#course-toc button{border:1px solid #bdd0df;background:white;color:var(--blue);font:inherit;font-size:12px;text-align:left;padding:7px 10px;cursor:pointer}.course-content{font-family:'Avenir Next','Segoe UI',sans-serif;font-size:16px;line-height:1.75;color:#172e46;overflow-wrap:break-word}.course-content p{margin:.7em 0 1em}.course-content h2{font-size:24px;line-height:1.4;background:#dcebf5;border-left:5px solid #bb4b78;padding:10px 14px;margin:38px 0 22px;color:#245a7e;scroll-margin-top:20px;column-span:all}.course-content h3{font-size:20px;line-height:1.4;color:#28658d;border-bottom:1px solid #afc7d8;padding-bottom:3px;margin:27px 0 14px;break-after:avoid}.course-content h4{font-size:18px;line-height:1.4;margin:0 0 10px;position:relative;isolation:isolate;width:fit-content}.course-content h4:before{content:'';position:absolute;z-index:-1;inset:35% -4px -1px;background:#ccdfe9;clip-path:polygon(0 6%,100% 0,98% 100%,1% 95%)}.course-content .manuel-colonnes{columns:2;column-gap:36px;column-rule:1px solid #d9e2e9}.course-content .manuel-colonnes>p,.course-content .manuel-colonnes>ul,.course-content .manuel-colonnes>ol{break-inside:avoid}.course-content .manuel-saut-colonne{display:none}.course-content .manuel-ouverture{background:#f1f6fa;border-left:1px solid #afc7d8;padding:12px 16px;margin:12px 0 22px}.course-content .callout-note,.course-content .callout-tip,.course-content .callout-warning,.course-content .culture-encart,.course-content .activite-encart{padding:12px 16px;border-left:2px solid #8aaac0;background:#f2f6f9;margin:18px 0;break-inside:avoid}.course-content .callout-tip{background:#f5f2f9;border-color:#7164a2}.course-content .callout-tip h4{color:#655592}.course-content .callout-tip h4:before{background:#e3daef}.course-content .callout-warning{background:#fff8ed;border-color:#b78030}.course-content .callout-warning h4:before{background:#f4dfb9}.course-content .callout-note p:last-child,.course-content .callout-tip p:last-child{margin-bottom:0}.course-content img{display:block;max-width:100%;height:auto;margin:14px auto;object-fit:contain}.course-content figure{margin:18px 0;max-width:100%;break-inside:avoid}.course-content figcaption{font-size:13px;color:#596c7b}.course-content .table-scroll{overflow-x:auto;max-width:100%;margin:16px 0;break-inside:avoid}.course-content table{border-collapse:collapse;width:100%;font-size:14px}.course-content th,.course-content td{border:1px solid #a9bdcb;padding:8px 10px;vertical-align:middle}.course-content th{background:#dbe7ef;color:#172e46;font-weight:750}.course-content td p{margin:0}.course-content math{font-size:1.08em}.course-content math[display=block]{display:block;margin:16px 0;overflow-x:auto;max-width:100%;padding:5px 0}.course-content .calculs-grille,.course-content .eval-calculs{display:grid;grid-template-columns:1fr 1fr;gap:8px 24px}.course-content .calculs-grille p{margin:7px 0}.course-content .manuel-bas-page{margin:24px 0;column-span:all}.course-content .manuel-bas-page .callout-note{border-color:#a94672;background:#faf1f5}.course-content .manuel-bas-page h4:before{background:#eed3df}.course-content .appro-exercice,.course-content .eval-exercice{font-weight:750;color:#a94672}.course-content .fiche-culture{--section:#24583e}.course-content .fiche-culture h2{background:#24583e;color:white;border-color:#709366}.course-content .fiche-culture h3{color:#24583e;border-color:#a8c19c}.course-content .culture-encart{background:#f0f5ed;border-color:#709366}.course-content .culture-encart h4:before{background:#d2e3c7}.course-content .culture-source{font-size:12px;color:#526a59}.course-content .fiche-approfondissement h2{background:#eee9f5;border-color:#7164a2}.course-content .fiche-activite h2{background:#f9e5ad;color:#744014;border-color:#c66b1d}.course-content .fiche-activite h3{color:#955015;border-color:#d5a64c}.course-content .activite-encart{background:#fffbf0;border-color:#c27a24}.course-content .activite-encart h4:before{background:#f9dea0}.course-content .carte{display:inline-block;padding:3px 10px;margin:2px;border:1px solid #566b7a;font-weight:700;background:#f3f7f9}.course-content .eval-reponse,.course-content .eval-retour{display:none}.course-content .eval-case{display:inline-block;min-width:55px;border-bottom:1px solid #566b7a}.course-content li{margin:5px 0}.course-content a{color:#245a7e;text-decoration:underline}.course-content .fiche-evaluation h2{background:#e4eff0;border-color:#a65d40}.course-content .eval-total{font-size:14px;font-weight:700}@media(max-width:900px){.course-content .manuel-colonnes{columns:1;column-rule:none}.course-content{font-size:16px}.course-content h2{font-size:22px}.course-content h3{font-size:19px}}@media(max-width:560px){.course-content h2{padding:9px 11px;margin-top:28px}.course-content h4{font-size:18px}.course-content th,.course-content td{padding:7px 8px}.course-content .calculs-grille,.course-content .eval-calculs{grid-template-columns:1fr}.course-content .callout-note,.course-content .callout-tip,.course-content .callout-warning{padding:12px}.course-content math[display=inline]{font-size:1em}#course-toc{padding:12px}#course-toc button{font-size:12px}}@media print{#course-toc{display:none}.course-content{font-size:11pt}.course-content h2{break-after:avoid}.course-content .manuel-colonnes{columns:1}}

/* Formules composées avec les mêmes polices sur tous les navigateurs. */
.course-content .katex{font-size:1.1em}.course-content .katex-display{margin:12px 0;text-align:center}.course-content .formula-block{display:block;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:5px 0}.course-content .katex .katex-mathml math{margin:0;padding:0;font-size:inherit}.course-content .katex-html{overflow-wrap:normal;line-height:normal}.course-content .katex .mord.text{font-family:KaTeX_Main,serif}
.section-hint{font-size:13px;color:var(--muted);margin:20px 0}.course-content .chapter-section{border:1px solid #ccd8e1;border-left:3px solid var(--section-color);margin:14px 0;--section-color:#245a7e;--section-tint:#edf4f9}.course-content .section-exercices{--section-color:#a94672;--section-tint:#faf0f5}.course-content .section-approfondissements{--section-color:#7164a2;--section-tint:#f5f2f9}.course-content .section-culture{--section-color:#24583e;--section-tint:#f0f5ed}.course-content .section-activites{--section-color:#955015;--section-tint:#fff8e9}.course-content .chapter-section>summary{list-style:none;cursor:pointer;background:var(--section-tint);padding:16px 19px;color:var(--section-color);font-size:21px;font-weight:750;display:flex;align-items:center;justify-content:space-between;gap:15px}.course-content .chapter-section>summary::-webkit-details-marker{display:none}.course-content .chapter-section>summary:after{content:'+';font-size:25px;line-height:1;font-weight:500}.course-content .chapter-section[open]>summary:after{content:'−'}.course-content .chapter-section>summary:focus-visible{outline:3px solid var(--pink);outline-offset:3px}.course-content .section-content{padding:8px 20px 20px}.course-content .section-content>h2:first-child,.course-content .section-content>div:first-child>h2:first-child{margin-top:16px}.course-content .online-activity-note{font-size:14px;color:var(--muted);border-top:1px solid #ded5c6;padding-top:14px}@media(max-width:560px){.course-content .chapter-section>summary{font-size:19px;padding:14px}.course-content .section-content{padding:4px 12px 16px}}@media print{.course-content .chapter-section{border:0}.course-content .chapter-section:not([open])>.section-content{display:block!important}.course-content .chapter-section>summary:after{display:none}}
.course-content .page-title-anchor{display:block;height:0}.course-content h3.exercise-title{display:flex;align-items:baseline;gap:10px;border:0;color:#a94672;font-size:18px;line-height:1.45;margin:28px 0 13px;padding:0;font-weight:750;break-after:avoid}.course-content .exercise-number{display:inline-flex;align-items:center;justify-content:center;background:#a94672;color:white;min-width:28px;min-height:28px;padding:1px 6px;font-size:16px;line-height:1.5;flex-shrink:0}.course-content h2.further-exercises-heading{background:transparent;border-left:0;border-bottom:1px solid #c4b8d9;padding:0 0 6px;margin:28px 0 18px;color:#655592;font-size:22px}.course-content .section-content>.page-title-anchor:first-child+h3{margin-top:15px}
.course-content .unavailable-section{border-left-color:#a8b2ba;background:#f5f6f7}.course-content .unavailable-section>summary{background:#f2f4f5;color:#778590;cursor:default}.course-content .unavailable-section>summary:after{content:none}.course-content .unavailable-section>summary small{font-size:11px;font-weight:500;white-space:nowrap;margin-left:auto}.course-content .unavailable-section>.section-content{display:none}

.culture-tableau { margin: 1rem 0 .3rem; }
.culture-tableau th { background: #d2e3c7 !important; color: #24583e !important; }
.culture-tableau th, .culture-tableau td { border-color: #a8c19c !important; }
.culture-tableau td { background: #f7faf5; }

/* Contrôles : pétrole et terre cuite ; corrections : prune. */
.course-content .section-controle{--section-color:#235a63;--section-tint:#e4eff0}
.course-content .control-meta{font-size:14px;color:#566b70;margin:12px 0 24px}
.course-content .control-exercise{margin:24px 0 32px;min-width:0}
.course-content h3.control-exercise-title{display:flex;align-items:center;gap:10px;background:#e4eff0;color:#235a63;border:0;padding:8px 10px;font-size:18px;margin:0 0 14px}
.course-content .control-number{display:inline-flex;align-items:center;justify-content:center;min-width:27px;min-height:27px;background:#a65d40;color:white;font-weight:750;flex-shrink:0}
.course-content .control-exercise-title small{margin-left:auto;font-size:12px;font-weight:500;white-space:nowrap}
.course-content .control-correction{margin-top:16px}
.course-content .control-correction>summary{display:inline-flex;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:7px 15px;border:1px solid #70536f;color:#644463;background:#f5f0f5;font:700 15px 'Avenir Next','Segoe UI',sans-serif}
.course-content .control-correction>summary::-webkit-details-marker{display:none}
.course-content .control-correction>summary:after{content:'+';font-size:19px;line-height:1}
.course-content .control-correction[open]>summary:after{content:'−'}
.course-content .control-correction>summary:hover{background:#eee7ed}
.course-content .control-correction>summary:focus-visible{outline:3px solid #70536f;outline-offset:3px}
.course-content .correction-content{border-left:2px solid #b99db5;background:#faf7fa;padding:10px 18px;margin-top:10px}
.course-content .correction-content strong{color:#644463}
.course-content .control-question .eval-exercice{color:#235a63}
.course-content .fiche-controle .eval-table td{min-width:80px;height:36px}
@media(max-width:560px){.course-content h3.control-exercise-title{font-size:16px;gap:7px;padding:7px}.course-content .control-exercise-title small{font-size:11px}.course-content .correction-content{padding:8px 12px}}
@media print{.course-content .control-correction:not([open])>.correction-content{display:block}.course-content .control-correction>summary:after{display:none}}
.course-content .course-exercise-correction{break-inside:avoid;margin-bottom:24px}

/* Indices et corrections : deux niveaux d'aide distincts. */
.course-content .exercise-hint{margin:16px 0 8px;break-inside:avoid}
.course-content .exercise-hint>summary{display:inline-flex;align-items:center;gap:12px;list-style:none;cursor:pointer;border:1px solid #ad713c;background:#fff9ee;color:#805124;padding:7px 15px;font:700 15px 'Avenir Next','Segoe UI',sans-serif}
.course-content .exercise-hint>summary::-webkit-details-marker{display:none}
.course-content .exercise-hint>summary:after{content:'+';font-size:19px;line-height:1}
.course-content .exercise-hint[open]>summary:after{content:'−'}
.course-content .exercise-hint>summary:focus-visible{outline:3px solid #ad713c;outline-offset:3px}
.course-content .hint-content{border-left:2px solid #d8b990;background:#fffbf4;padding:12px 16px;margin-top:10px}
.course-content .correction-figure{background:white;padding:10px;margin:16px 0}
.course-content .correction-figure img{width:100%;height:auto;margin:0}
.course-content .correction-figure figcaption{font-size:12px;color:#655c64;margin-top:8px}
.course-content .exercise-projection-launch{font:600 14px 'Avenir Next','Segoe UI',sans-serif;margin:14px 0 10px}
.exercise-projection .projection-category{font-size:16px;color:#655c64;margin:0 0 6px;text-transform:uppercase;letter-spacing:.06em}
.exercise-projection footer{flex-direction:column;align-items:stretch;gap:9px}
.exercise-projection .projection-reveal,.exercise-projection .projection-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px}
.exercise-projection .projection-reveal{justify-content:flex-start}
.exercise-projection .projection-stage{font-size:13px;margin-left:auto;color:#655c64}
.exercise-projection .projection-reveal [data-hint]{background:#fff9ee;color:#805124;border-color:#ad713c}
.exercise-projection .projection-reveal [data-answer]{background:#f5f0f5;color:#644463;border-color:#70536f}
.exercise-projection .projection-hint[hidden],.exercise-projection .projection-correction[hidden]{display:none!important}
.exercise-projection .projection-hint{margin-top:26px;border-top:2px solid #d8b990;padding-top:12px}
.exercise-projection .projection-correction{margin-top:26px;border-top:2px solid #b99db5;padding-top:12px}
.exercise-projection .projection-hint h3{color:#805124;font-size:1em}.exercise-projection .projection-correction h3{color:#644463;font-size:1em}
.exercise-projection .hint-content,.exercise-projection .correction-content{font-size:inherit;line-height:inherit}
.exercise-projection .course-content .control-question,.exercise-projection .course-content .hint-content{padding:0;border:0;background:none}
.exercise-projection .course-content .correction-figure img{width:100%!important;max-height:45vh}
.exercise-projection .course-content .table-scroll{font-size:inherit}
@media(max-width:700px){.exercise-projection .projection-navigation{flex-wrap:wrap}.exercise-projection .projection-navigation label{order:3;width:100%;text-align:center}.exercise-projection select{max-width:75vw}.exercise-projection .projection-stage{display:none}}
