*{box-sizing:border-box}html,body{margin:0;min-height:100%;color:#173e5a;font:14px/1.4 system-ui,sans-serif}body{background:#e9d5af var(--scene) center/cover fixed no-repeat}body[data-page=hub]{--scene:url('assets/accueil-archives-v1.png')}body[data-page=course],body[data-page=mini]{--scene:url('assets/bibliotheque-archives-v1.png')}body[data-page=retention]{--scene:url('../marque/assets/fond-retenir-bois-v1.png')}body[data-page=mastery],body[data-page=training]{--scene:url('assets/cour-archives-v1.png')}
header{height:62px;padding:10px 24px;background:linear-gradient(#285775,#13344d);border-bottom:3px solid #c59a46;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#fff0c7;box-shadow:0 4px 13px #342a2540}h1,h2,h3{font-family:Georgia,serif}header h1{font-size:20px;margin:0}a{color:inherit}button,input{font:inherit}.button,.return{display:inline-block;border:1px solid #c8a359;background:linear-gradient(#2c6080,#133b58);color:#fff0c7;box-shadow:0 3px 0 #0b263c;border-radius:11px;padding:9px 14px;text-decoration:none;cursor:pointer}.return{font-size:12px}.button:hover,.return:hover{filter:brightness(1.12);transform:translateY(-1px)}:focus-visible{outline:3px solid #f1c858;outline-offset:3px}[hidden]{display:none!important}.locked{color:#52616a;background:#e0ded2;border:1px solid #aaa28e;padding:8px 12px;border-radius:9px;display:inline-block}.intro{display:table;background:#173e5aee;color:#fff0c7;border:1px solid #c59a46;border-radius:15px;padding:4px 12px;font-size:12px;margin-bottom:8px}
main{max-width:1450px;margin:auto;padding:12px 24px}.hub-title{display:table;margin:0 auto;background:#fff8e7ed;border:2px solid #c59a46;border-radius:12px;text-align:center;padding:9px 30px}.hub-title h2{margin:3px;font-size:25px}.places{position:absolute;left:5%;right:5%;top:52%;display:grid;grid-template-columns:repeat(3,1fr);gap:7%}.places>a,.place-locked{display:flex;flex-direction:column;align-items:center;text-align:center;background:linear-gradient(#fff8e7,#edd5a5);border:4px solid #936431;box-shadow:inset 0 0 0 2px #e2bd71,0 4px #543b24;border-radius:12px;padding:15px;text-decoration:none}.places b{font:700 25px Georgia}.places span span,.places a span{font-size:12px;margin-top:6px}.place-locked{filter:saturate(.4);color:#5f625c}.places a:hover{transform:translateY(-4px)}.hub-progress{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);background:#173e5aee;color:#fff0c7;border:1px solid #c59a46;padding:10px 20px;border-radius:14px;text-align:center;white-space:nowrap}
body[data-page=course] main{height:calc(100dvh - 62px);display:flex;flex-direction:column}.lessons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:1fr 1fr;gap:14px;flex:1;min-height:0}.lesson{border:5px solid #936431;border-radius:15px;background:linear-gradient(115deg,#fff9e9,#f0dfb9);box-shadow:inset 0 0 0 2px #e2bd71,0 4px #543b24;padding:10px 13px;display:flex;flex-direction:column;min-height:0}.lesson.completed{background:linear-gradient(115deg,#f3f8e6,#deebce)}.lesson h2,.branch h2{background:var(--accent);color:#fff4d7;border:1px solid #d0aa5b;border-radius:8px;padding:6px 9px;margin:0 0 6px;font-size:19px;line-height:1.2}.lesson p{font-size:13px;margin:4px 0}.example{background:#fffdf4b8;border:1px solid #c6b183;border-left:3px solid #b68b45;border-radius:7px;padding:6px 8px}.foot{margin-top:auto}.foot p{font-size:12px}.foot .button{padding:6px 10px;font-size:12px}.bottom-actions{padding-top:10px;display:flex;gap:12px;align-items:center;font-size:12px}.figure{display:block;width:100%;height:74px;flex-shrink:0;fill:none;stroke:#173e5a;stroke-width:2}.figure text{fill:#173e5a;stroke:none;font:18px system-ui}.scale{font-size:11px;color:#556b77;margin:5px 0}
.mindmap{position:relative;max-width:1480px;height:calc(100dvh - 86px);margin:12px auto;width:calc(100% - 40px);padding:0}.links{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.links path{fill:none;stroke-width:7;filter:drop-shadow(1px 1px 0 #fff5d6) drop-shadow(-1px -1px 0 #fff5d6)}.central{position:absolute;left:38%;top:37%;width:24%;height:26%;background:linear-gradient(145deg,#235673,#12354f);border:3px solid #c5a05a;border-radius:24px;box-shadow:0 0 0 5px #edce87,0 6px #725231;display:flex;flex-direction:column;justify-content:center;text-align:center;padding:12px;color:#fff2cf}.central h2{font-size:clamp(20px,2.2vw,29px);line-height:1.3;margin:15px 0}.central small{font-size:10px;letter-spacing:.12em}.branch{position:absolute;width:35.5%;height:31%;border:5px solid #936431;border-radius:15px;background:linear-gradient(115deg,#fff9e9,#f0dfb9);box-shadow:inset 0 0 0 2px #e2bd71,0 4px #543b24;padding:10px 14px}.branch.left{left:0}.branch.right{right:0}.branch.pos0{top:0}.branch.pos1{top:34.5%}.branch.pos2{top:69%}.branch h2{font-size:18px}.summary p{font-size:12px;margin:5px 0}.summary .figure{height:52px}.print{order:0}body[data-page=mastery] .branch{border:0;box-shadow:none;background:transparent;padding:0;width:30%;height:29%}body[data-page=mastery] .branch.left{left:1%}body[data-page=mastery] .branch.right{right:1%}.topic{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-decoration:none}.medallion{width:clamp(170px,17vw,235px);height:clamp(105px,10vw,135px);border:5px solid #d0ac5d;border-radius:16px;background:linear-gradient(140deg,#397393,#173f5d 65%,#0e2a43);box-shadow:inset 0 0 0 3px #173d59,inset 0 0 0 5px #e4c575,0 5px #74522d;display:grid;place-items:center;color:#fff0bf;font:700 35px Georgia}.topic-title{display:flex;align-items:center;justify-content:center;text-align:center;width:100%;height:66px;background:var(--accent);color:#fff4d7;border:5px solid #936431;border-radius:11px;box-shadow:inset 0 0 0 2px #e2bd71,0 4px #543b24;font:700 20px Georgia;padding:8px}.topic:hover .medallion{transform:translateY(-4px)}
.quiz-main{max-width:1060px}.quiz-heading{display:table;background:#fff8e7f2;border:1px solid #c59a46;border-radius:12px;padding:8px 18px;margin-bottom:12px}.quiz-heading h2{font-size:26px;margin:3px 0}.quiz-heading p{font-size:12px;margin:4px 0}.quiz-heading small{font-size:11px}.levels{display:flex;gap:10px;margin:8px 0}.selected{background:linear-gradient(#f6dc92,#d7ae59);color:#173e5a}.card{background:linear-gradient(110deg,#fffced,#f6e8cb);border:3px solid #b88e45;border-radius:20px;box-shadow:inset 0 0 0 4px #fffbef,0 6px #765231;padding:22px 26px}.meta{display:flex;justify-content:space-between;font-size:12px;color:#426076;gap:10px}.bar{height:6px;background:#d6c6a7;margin:12px 0 18px;border-radius:6px;overflow:hidden}.bar span{display:block;height:100%;background:#357c9d}#prompt{font:600 21px/1.4 system-ui;margin:10px 0}.card .figure{height:105px}fieldset{border:0;padding:0;margin:0}.answers{display:grid;grid-template-columns:1fr 1fr;gap:12px}.answer{border:2px solid #c5a66a;background:linear-gradient(#fffdf4,#f2e5ca);box-shadow:0 3px #b99a65;border-radius:12px;padding:12px;display:grid;grid-template-columns:16px 28px 1fr;gap:10px;align-items:center;min-height:62px;cursor:pointer}.answer:has(input:checked){background:#dceff1;border-color:#247797}.letter{border-radius:50%;background:#1c4965;color:#ffedb9;border:1px solid #d2ad60;display:grid;place-items:center;width:28px;height:28px}.actions{display:flex;justify-content:flex-end;margin-top:16px}input{accent-color:#245e7c}#response{display:block;font-size:21px;padding:10px 14px;border:2px solid #aa8d54;border-radius:8px;width:240px;margin-top:8px}.feedback{margin-top:12px;padding:10px 14px;border-radius:9px;font-size:13px}.feedback p{margin:5px 0}.correct{background:#e4f1dd;color:#2f613d}.incorrect{background:#fff0da;color:#85451e}.score{font:700 32px Georgia}.result{margin-top:20px}.result li{margin-bottom:6px}.sr{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
@media(min-width:761px) and (max-height:800px){.lesson{padding:7px 10px}.lesson h2{font-size:17px}.lesson p{font-size:12px;line-height:1.3}.lesson .figure{height:48px}.foot p{font-size:11px}.foot .button{font-size:11px;padding:5px 8px}.branch{padding:7px 10px}.branch h2{font-size:16px;padding:4px 7px}.summary p{font-size:11px;line-height:1.25}.summary .figure{height:38px}.medallion{height:104px;width:185px}.topic-title{height:58px;font-size:17px}.quiz-heading{margin-bottom:8px}.quiz-heading h2{font-size:23px}.card{padding:15px 22px}.card .figure{height:70px}#prompt{font-size:18px}.answer{min-height:52px;padding:8px}.bar{margin:8px 0}.actions{margin-top:10px}}
@media(max-width:760px){header{height:auto;min-height:62px;flex-wrap:wrap;padding:12px}header h1{font-size:18px}main{padding:14px}body[data-page=course] main{height:auto}.lessons{grid-template-columns:1fr;grid-template-rows:auto}.lesson{min-height:300px}.lesson p{font-size:15px}.places{position:static;margin-top:25vh;grid-template-columns:1fr;gap:15px}.hub-progress{position:static;transform:none;white-space:normal}.hub-title h2{font-size:21px}.mindmap{height:auto;width:calc(100% - 24px);display:grid;gap:14px}.links{display:none}.central,.branch,body[data-page=mastery] .branch{position:static;width:100%;height:auto;min-height:220px}.central{min-height:160px}.branch h2{font-size:19px}.summary p{font-size:15px}.summary .figure{height:80px}.topic{padding:15px}.answers{grid-template-columns:1fr}.quiz-heading h2{font-size:23px}.card{padding:16px}.meta{flex-wrap:wrap}.levels{flex-wrap:wrap}.bottom-actions{flex-wrap:wrap}}
@page{size:A4 landscape;margin:10mm}@media print{html,body{width:274mm;margin:0!important;padding:0!important;background:white!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}header{display:none!important}.mindmap{display:block!important;position:relative;width:270mm;height:177mm;min-height:0;margin:0 auto;padding:0;break-inside:avoid}.links{display:block}.branch{position:absolute;width:35.5%;height:31%;padding:2mm 3mm;border:1mm solid #936431;box-shadow:none}.branch h2{font-size:10pt;padding:1mm 2mm;margin-bottom:1mm}.summary p{font-size:8.5pt;line-height:1.25;margin:1mm 0}.summary .figure{height:12mm}.central{position:absolute;width:24%;height:26%;box-shadow:none}.central h2{font-size:17pt}.central small{font-size:8pt}}

#prompt{white-space:pre-line}body[data-page=training] .quiz-main:has(.incorrect) .quiz-heading{margin-bottom:8px}
