.exam-app{min-height:70vh}.topline nav a[aria-current]{font-weight:750;color:var(--teal)}.exam-hero{display:grid;grid-template-columns:1.35fr .65fr;gap:60px;padding:52px 0 42px;align-items:center}.exam-hero h1{font-size:clamp(42px,5.4vw,70px);max-width:700px;line-height:1.03}.exam-hero .lead{max-width:650px}.exam-stats{display:flex;flex-wrap:wrap;gap:18px;margin-top:27px;font-size:13px;color:var(--muted)}.exam-stats strong{font-family:var(--serif);font-size:28px;color:var(--teal);padding-right:5px;font-weight:400}.exam-paper{background:var(--teal);color:#f6f6e9;border-radius:12px;padding:28px;transform:rotate(2deg);box-shadow:8px 8px 0 #dae6dc}.exam-paper .unit{color:#d8be85}.exam-paper h2{font-size:33px;margin-bottom:22px}.exam-paper ol{list-style:none;padding:0;margin:0;counter-reset:paper}.exam-paper li{counter-increment:paper;border-top:1px solid #ffffff30;padding:13px 0;display:flex;align-items:center;gap:14px;font-size:15px}.exam-paper li:before{content:'0' counter(paper);font-family:var(--serif);font-size:23px;color:#e8c68a}.exam-paper small{display:block;margin-top:13px;color:#d4e8df;font-size:12px;line-height:1.5}.catalogue{border-top:1px solid var(--line);padding:33px 0 30px;scroll-margin-top:20px}.catalogue-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.catalogue-head h2{font-size:36px}.catalogue-count{color:var(--muted);font-size:13px}.exam-filters{display:grid;grid-template-columns:1fr 270px;gap:16px;margin-bottom:25px}.exam-filters label{font-size:12px;font-weight:650;color:var(--muted)}.exam-filters input,.exam-filters select,.subject-select{margin-top:6px;display:block;width:100%;background:var(--white);border:1px solid #aabcb1;border-radius:7px;padding:11px 12px;color:var(--ink);font:inherit;font-size:14px}.exam-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.exam-card{padding:22px;background:var(--white);border:1px solid var(--line);border-radius:11px;display:flex;flex-direction:column;min-height:320px;box-shadow:0 2px 1px #183f2303}.exam-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:17px}.exam-card-year{font-family:var(--serif);font-size:25px;color:var(--teal)}.exam-tag{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;color:var(--muted);padding:4px 7px;border:1px solid var(--line);border-radius:4px}.exam-card h3{font-size:29px;line-height:1.1;min-height:64px}.exam-card p{font-size:13px;line-height:1.6;color:var(--muted);margin:12px 0 17px}.exam-card .exam-card-info{font-size:12px;color:var(--muted);display:flex;gap:12px;margin:auto 0 16px}.exam-card .primary{font-size:14px}.exam-card .source-link{align-self:center;margin-top:10px;font-size:12px;text-underline-offset:3px}.exam-progress{height:4px;width:100%;background:#e4e9df;margin:0 0 7px;border-radius:3px;overflow:hidden}.exam-progress span{display:block;height:100%;background:#227666}.progress-copy{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:8px;margin-bottom:14px}.match-count{display:inline-block;background:#e7f1e9;padding:3px 7px;border-radius:4px;color:var(--teal);font-size:11px;margin-bottom:10px}.empty{padding:30px;border:1px dashed var(--line);border-radius:9px;color:var(--muted);grid-column:1/-1}.exam-method{margin:15px 0 35px;border:1px solid var(--line);background:#eef3e9;border-radius:10px;padding:22px 25px}.exam-method summary{cursor:pointer;font-weight:700;color:var(--teal);font-size:15px}.exam-method .method-body{padding-top:17px;font-size:14px;line-height:1.65;max-width:920px}.exam-method p+p{margin-top:13px}.exam-method ul{padding-left:22px}.session-back{display:inline-flex;margin:24px 0 20px;font-size:13px;text-underline-offset:3px}.session-intro{border-bottom:1px solid var(--line);padding-bottom:24px}.session-intro h1{font-size:clamp(33px,4vw,51px);line-height:1.08;max-width:900px;margin:4px 0 14px}.session-intro .session-summary{max-width:800px;font-size:15px;line-height:1.6;color:var(--muted)}.session-meta{display:flex;flex-wrap:wrap;gap:16px;font-size:12px;color:var(--muted);margin:16px 0 20px}.session-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.session-tools .primary,.session-tools .secondary{font-size:13px;padding:9px 13px}.text-button{border:0;background:none;color:var(--teal);padding:8px 4px;text-decoration:underline;text-underline-offset:3px;font:inherit;font-size:13px}.timer{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 13px;border:1px solid var(--line);border-radius:8px;background:#f3f4e9;margin-top:15px;max-width:600px}.timer-label{color:var(--muted);font-size:12px}.timer output{font-variant-numeric:tabular-nums;font-size:19px;font-weight:650;min-width:90px}.timer button{font:inherit;font-size:12px;background:var(--white);border:1px solid #8fa99a;border-radius:5px;padding:5px 9px;color:var(--teal)}.timer small{font-size:11px;color:var(--muted)}.session-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:35px;padding:30px 0 45px;align-items:start}.question-sidebar{position:sticky;top:16px;border:1px solid var(--line);background:var(--white);border-radius:9px;padding:17px;max-height:calc(100vh - 32px);overflow:auto}.question-sidebar h2{font-family:var(--sans);font-size:14px;letter-spacing:0;font-weight:700;margin-bottom:10px}.question-sidebar .subject-select{font-size:12px;margin:0 0 17px;padding:7px;max-width:100%;text-overflow:ellipsis}.sidebar-progress{font-size:12px;margin:0 0 14px;color:var(--muted)}.sidebar-filter{width:100%;padding:6px;font:inherit;font-size:12px;border:1px solid var(--line);border-radius:5px;color:var(--ink);background:var(--ivory);margin:0 0 11px}.question-nav .nav-section{font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);margin:17px 0 7px}.question-nav a{display:grid;grid-template-columns:37px 1fr 10px;gap:5px;text-decoration:none;color:var(--muted);font-size:11px;line-height:1.4;padding:7px;border-radius:5px;margin:2px -7px}.question-nav a:hover{background:#edf2e8}.question-nav a[aria-current]{background:#e6efe6;color:var(--teal);font-weight:700}.q-status-dot{width:7px;height:7px;background:#d7ddd3;border-radius:50%;align-self:center}.q-status-dot[data-state=review]{background:#b86e2f}.q-status-dot[data-state=progress]{background:#c4a02b}.q-status-dot[data-state=mastered]{background:#1d7965}.question-main{min-width:0}.question-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:15px}.question-top .unit{margin:0;font-size:10px}.bookmark{background:none;border:1px solid var(--line);border-radius:5px;color:var(--muted);font:inherit;font-size:12px;padding:6px 9px;white-space:nowrap}.bookmark[aria-pressed=true]{background:#faf0cf;color:#76521c;border-color:#ccaf61}.question-title{font-size:clamp(29px,3.5vw,43px);margin-bottom:14px;line-height:1.13}.original-ref{font-size:12px;color:var(--muted);margin-bottom:14px;line-height:1.6}.original-ref a{text-underline-offset:3px}.task-summary{font-size:17px;margin-bottom:20px}.draft-label{font-size:13px;font-weight:700;display:block;margin-bottom:8px}.answer-draft{display:block;width:100%;min-height:160px;resize:vertical;background:var(--white);border:1px solid #adbbb0;border-radius:8px;color:var(--ink);padding:15px;font:inherit;font-size:15px;line-height:1.6}.draft-info{margin:7px 0 20px;font-size:11px;color:var(--muted)}.draft-info span{color:var(--teal)}.correction-toggle{font-size:14px;margin:0 0 20px}.answer-panel{background:var(--white);border:1px solid var(--line);border-radius:10px;overflow:hidden}.answer-heading{padding:17px 23px;background:#e9f1e7;border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;align-items:center}.answer-heading h3{font-family:var(--sans);font-size:15px;font-weight:750;letter-spacing:0}.answer-heading span{font-size:11px;color:var(--muted)}.answer-body{padding:23px;font-size:15px;line-height:1.72;overflow-wrap:break-word}.answer-body p{margin:0 0 14px}.answer-body p:last-child{margin-bottom:0}.answer-body h3,.answer-body h4{font-family:var(--sans);font-size:16px;line-height:1.4;margin:20px 0 9px;font-weight:750;letter-spacing:0}.answer-body h3:first-child,.answer-body h4:first-child{margin-top:0}.answer-body ul,.answer-body ol{padding-left:22px;margin:9px 0 16px}.answer-body li+li{margin-top:6px}.answer-body strong{font-weight:700}.answer-body table{border-collapse:collapse;min-width:100%;font-size:12px;line-height:1.45;margin:15px 0}.answer-body th,.answer-body td{border:1px solid #d7dfd4;padding:8px;vertical-align:top;text-align:left}.answer-body th{font-weight:700;background:#eef3e9}.answer-body caption{font-size:13px;font-weight:700;text-align:left;margin-bottom:8px}.table-scroll{width:100%;overflow-x:auto;margin:13px 0;border-radius:4px}.table-scroll table{margin:0}.answer-body svg{max-width:100%;height:auto;display:block;margin:18px auto}.answer-body pre,.answer-body code{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px}.answer-body .formula{padding:12px 14px;background:#edf3e9;border-radius:6px;font-variant-numeric:tabular-nums}.answer-body .note{padding:12px;border-left:3px solid #ba8e3a;background:#faf3df}.key-block,.pitfall-block,.update-block{margin:19px 0 0;padding:18px 21px;border-radius:8px;font-size:14px;line-height:1.6}.key-block{background:#edf3e9;border:1px solid #d1dfce}.pitfall-block{background:#fbf0db;border:1px solid #ead8b1}.update-block{background:#eef1f5;border:1px solid #d6dfe6}.key-block h3,.pitfall-block h3,.update-block h3{font-family:var(--sans);font-weight:700;font-size:14px;letter-spacing:0;margin-bottom:10px}.criteria-list{list-style:none;padding:0;margin:0}.criteria-list li+li{margin-top:8px}.criteria-list label{display:flex;align-items:flex-start;gap:9px;cursor:pointer}.criteria-list input{margin-top:5px;accent-color:var(--teal);flex:none}.pitfall-block ul{padding-left:20px;margin:0}.assessment{margin:24px 0;padding:21px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.assessment h3{font-family:var(--sans);font-size:14px;font-weight:750;letter-spacing:0;margin-bottom:7px}.assessment p{font-size:12px;color:var(--muted);margin-bottom:13px}.assessment-buttons{display:flex;flex-wrap:wrap;gap:8px}.assessment-buttons button{border:1px solid #aebbac;border-radius:6px;background:var(--white);font:inherit;font-size:13px;color:var(--ink);padding:9px 13px}.assessment-buttons button[aria-pressed=true]{background:var(--teal);color:white;border-color:var(--teal)}.question-sources{margin:20px 0;font-size:12px;color:var(--muted)}.question-sources summary{cursor:pointer;font-weight:650;color:var(--teal)}.question-sources ul{padding-left:18px;line-height:1.6}.question-sources li{margin-top:8px;overflow-wrap:anywhere}.question-sources p{margin-top:10px;line-height:1.6}.question-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:24px}.question-bottom .secondary,.question-bottom .primary{font-size:13px}.question-bottom span{font-size:12px;color:var(--muted)}.coverage-list{display:grid;grid-template-columns:1fr 1fr;gap:9px 30px;margin:15px 0}.coverage-list a{font-size:13px}.storage-warning{position:fixed;bottom:0;left:0;right:0;z-index:20;padding:13px 20px;background:#fff0cb;color:#684611;border-top:1px solid #cdaa54;font-size:13px}.print-only,#print-view{display:none}.mobile-sections{display:none}.subtle-note{color:var(--muted);font-size:12px;line-height:1.65;margin-top:15px}.nav-empty{font-size:12px;color:var(--muted);padding:12px 0}.exam-scope{padding:13px 16px;border-left:3px solid var(--gold);background:#f6f0df;font-size:13px;line-height:1.6;margin:24px 0 15px}.answer-placeholder{padding:22px;border:1px dashed var(--line);border-radius:8px;color:var(--muted);font-size:14px;line-height:1.6}.subject-review{margin-top:14px;font-size:12px;line-height:1.6;color:var(--muted)}.subject-review summary{cursor:pointer;color:var(--teal);font-weight:650}.subject-review p{padding-top:9px}.subject-review li{margin:8px 0}
@media(max-width:1000px){.exam-hero{gap:30px}.exam-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.session-layout{grid-template-columns:210px minmax(0,1fr);gap:22px}.exam-paper{padding:23px}.answer-body{padding:19px}}
@media(max-width:730px){.exam-hero{grid-template-columns:1fr;padding:33px 0 28px;gap:23px}.exam-hero h1{font-size:48px}.exam-paper{transform:none;box-shadow:none;padding:19px}.exam-paper h2{font-size:26px;margin-bottom:12px}.exam-paper ol{display:flex;flex-wrap:wrap;gap:6px 17px}.exam-paper li{font-size:12px;padding:8px 0;border:0;gap:8px}.exam-paper li:before{font-size:18px}.exam-paper small{margin-top:5px}.exam-stats{gap:12px;margin-top:18px}.exam-stats strong{font-size:24px}.exam-filters{grid-template-columns:1fr 1fr;gap:10px}.catalogue-head h2{font-size:30px}.session-layout{display:block;padding-top:20px}.question-sidebar{position:static;max-height:none;margin-bottom:25px;padding:13px}.question-sidebar .subject-select{margin-bottom:11px}.question-nav{display:none}.question-sidebar.expanded .question-nav{display:block;display:grid;grid-template-columns:1fr 1fr;gap:2px 16px}.question-sidebar.expanded .nav-section{grid-column:1/-1}.mobile-sections{display:inline-block;font:inherit;font-size:12px;background:none;color:var(--teal);border:1px solid var(--line);border-radius:5px;padding:6px 10px;margin:5px 0}.sidebar-progress{margin-bottom:7px}.sidebar-filter{max-width:300px;display:inline-block;margin:0 10px 0 0}.question-title{font-size:34px}.session-intro h1{font-size:38px}.answer-body{padding:17px;font-size:14px}.coverage-list{grid-template-columns:1fr}.exam-card h3{font-size:27px}.exam-card{padding:18px}.exam-method{padding:18px}.topline nav{gap:12px}.question-bottom{flex-wrap:wrap}.timer{gap:8px}}
@media(max-width:480px){.exam-grid{grid-template-columns:1fr}.exam-card{min-height:0}.exam-card h3{min-height:0}.exam-card p{margin:10px 0 17px}.exam-filters{grid-template-columns:1fr}.exam-hero h1{font-size:43px}.exam-stats{font-size:11px}.program{display:none}.topline nav{gap:11px}.topline nav a{font-size:11px}.session-tools .primary,.session-tools .secondary{font-size:12px}.question-top{align-items:start}.question-top .unit{max-width:220px}.question-title{font-size:30px}.bookmark{font-size:11px}.answer-body{padding:14px}.key-block,.pitfall-block,.update-block{padding:15px}.question-bottom span{display:none}.exam-paper ol{display:block}.exam-paper li{border-top:1px solid #ffffff20}.exam-paper small{margin-top:10px}.session-intro h1{font-size:34px}.assessment-buttons button{padding:9px 10px;font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{@page{size:A4;margin:16mm 14mm}body{background:white;color:#172b25;font:10pt/1.45 Arial,sans-serif}body>*:not(#print-view){display:none!important}#print-view{display:block!important}.print-cover{break-after:page}.print-cover h1{font-size:28pt;margin:25mm 0 12mm;letter-spacing:-1px}.print-cover h2{font-size:20pt;margin:12mm 0 7mm}.print-cover p{margin:5mm 0}.print-question{break-before:auto;margin:0 0 9mm}.print-question h2{font-size:16pt;line-height:1.25;break-after:avoid;margin:0 0 3mm}.print-question h3,.print-question h4{font:700 11pt Arial,sans-serif;break-after:avoid;margin:4mm 0 2mm}.print-question p{margin:0 0 2.5mm}.print-question table{border-collapse:collapse;width:100%;font-size:8pt;margin:3mm 0}.print-question th,.print-question td{border:1px solid #b5c4b8;padding:1.7mm;vertical-align:top}.print-question th{background:#edf2e8}.print-question tr{break-inside:avoid}.print-question thead{display:table-header-group}.print-question svg{max-width:100%;height:auto;max-height:160mm;break-inside:avoid}.print-question ul,.print-question ol{padding-left:5mm}.print-question .print-note{font-size:8pt;border-left:2px solid #b58b37;padding-left:3mm;margin:3mm 0}.print-question a{color:inherit;text-decoration:none}.print-question .print-source{font-size:8pt;color:#576b60}.print-sources{break-before:page;font-size:8pt;overflow-wrap:anywhere}.print-sources h2{font-size:18pt}.print-sources li{margin:3mm 0}.print-foot{font-size:8pt;color:#586e60;margin-top:8mm}}

.diagram-scroll{overflow-x:auto;max-width:100%;margin:15px 0}.answer-body .diagram-scroll svg{width:100%;min-width:780px;max-width:none;margin:0} .answer-body figcaption{font-size:12px;color:var(--muted);line-height:1.5;margin:8px 0 15px}
@media print{.diagram-scroll{overflow:visible}.diagram-scroll svg{min-width:0!important;width:100%!important}}
@media(max-width:730px){.diagram-scroll::before{content:'Fais défiler le schéma horizontalement pour le lire en entier.';display:block;font-size:11px;color:var(--muted);line-height:1.5;margin-bottom:10px;position:sticky;left:0}}
.external-icon{display:inline-block;width:12px;height:12px;margin-left:5px;fill:none;stroke:currentColor;stroke-width:1.3;vertical-align:-1px;flex:none}
.exam-hero h1 br{display:block}.exam-hero h1 em:before{content:none}

.expected-block{margin:0 0 16px;padding:18px 21px;border:2px solid var(--teal);border-radius:10px;background:var(--white)}.expected-block h3{font-family:var(--sans);font-size:15px;font-weight:750;letter-spacing:0;color:var(--teal);margin-bottom:10px}.answer-body.expected-body{padding:0;font-size:15px}.answer-more>summary{cursor:pointer;list-style:none}.answer-more>summary::-webkit-details-marker{display:none}.answer-more>summary h3:before{content:'▸ ';color:var(--teal)}.answer-more[open]>summary h3:before{content:'▾ '}.answer-more:not([open])>summary{border-bottom:0}
@media(max-width:480px){.expected-block{padding:15px}}
@media print{.print-expected{border:1.5px solid #1d5b52;padding:2.5mm 3mm;margin:0 0 3mm}}

/* entrainement.css — copie publique formatdiet.fr (module Entraînement à l’examen) — 18/11/2026 ; encadré « Réponse attendue » — 20/11/2026 */
