/* Identité du compagnon Master et lisibilité des séances. */
:root{--ink:#202f35;--muted:#53646a;--paper:#f7f6f1;--line:#dce2de;--navy:#18383d;--blue:#285d68;--orange:#934d3a}
.sidebar{background:#18383d}.brand-small{font-size:.8125rem}.brand-mark{color:#d5b977}.small-flag{color:#e4c786;font-size:.8125rem}.rail-label{font-size:.75rem;line-height:1.5}.rail-footer,.publisher{font-size:.875rem}.sidebar nav a{font-size:1rem}.sidebar nav a:hover{background:#23484d}.sidebar nav a.active{background:#edf0e7}.rail-note>span:last-child{font-size:.875rem}
.topbar{min-height:79px;height:auto;padding-top:18px;padding-bottom:18px;gap:20px}.topbar>span{font-size:.875rem;letter-spacing:.09em;line-height:1.5;max-width:520px}.free-label{font-size:.875rem;white-space:nowrap}.page-footer{font-size:.8125rem}
.hero{background:#eef1e9;border-color:#d8dfd3;border-radius:16px;min-height:330px;align-items:center;padding:38px}.hero .eyebrow{color:#315c56;font-size:.8125rem}.hero h1{font-size:clamp(2.4rem,3vw,3.5rem);letter-spacing:-.04em;max-width:680px}.hero p{font-size:1rem;line-height:1.7;max-width:560px}.hero-caption{display:block;margin-top:15px;color:#53645e;font-size:.8125rem}.hero-visual{width:30%;right:10px}.hero-visual img{width:145px}.hero-visual img:nth-child(3){width:155px}.hero-visual:before{width:260px;height:260px;border-color:#b8c9bc}
.stat small,.count-note,.progress-caption,.card-action small,.tile-bottom small{font-size:.8125rem;line-height:1.5}.section-head{align-items:flex-start}.section-head p{font-size:1rem}.count-note{white-space:normal;text-align:right;max-width:250px}.filters .chip{min-height:44px;font-size:.875rem}.books-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.book-card{border-radius:12px;box-shadow:none}.book-card-top{padding:26px;min-height:210px;gap:24px}.book-card img{width:100px;height:auto;object-fit:contain}.book-card .subject{font-size:1.55rem;line-height:1.18;margin-top:9px;letter-spacing:-.02em}.book-card .book-kind{font-size:1rem;margin-bottom:0}.book-card .tag{font-size:.8125rem}.book-card-body{padding:24px 26px}.book-card-body>p{font-size:1rem}.book-progress{height:5px}.card-action{margin-top:20px}.card-action .button,.tile-bottom .button{min-height:44px;font-size:.875rem}.book-card .button{border-color:var(--accent);color:var(--accent)}
.editorial-note{font-size:1rem;line-height:1.65;background:#eeefe5}.editorial-note strong{margin-bottom:7px}.book-hero{border-radius:12px}.book-hero h1{max-width:850px}.book-hero p,.page-intro p,.quiz-tile p,.panel p{font-size:1rem}.book-hero .eyebrow{font-size:.875rem}.book-hero h2{line-height:1.5}.quiz-tile h3{line-height:1.45}.chapter-heading h2 span{font-size:.8125rem}.chapter-heading h2{line-height:1.45}.chapter-heading small{font-size:.875rem}.field label{font-size:.875rem}.field small{font-size:.8125rem;line-height:1.5}.field select{font-size:1rem}.steps li{font-size:1rem}.steps strong{font-size:1rem}
.quiz-heading h1{font-size:1.2rem;line-height:1.45}.quiz-heading p{font-size:.875rem}.text-button{font-size:.875rem;min-height:44px}.question-meta,.level{font-size:.8125rem}.response-type{font-size:.8125rem;font-weight:700;color:#335b63;letter-spacing:.03em;margin-bottom:15px}.question-prompt{font-size:1.3rem;line-height:1.7}.choices legend{font-size:.875rem;line-height:1.5}.choice{font-size:1rem;line-height:1.65;align-items:flex-start;position:relative}.choice input{width:20px;height:20px;flex-shrink:0;margin-top:4px;accent-color:#1b585b}.choice-text{min-width:0;overflow-wrap:anywhere;flex:1}.choice-letter{font-size:.875rem}.choice-mark{font-size:.75rem;max-width:104px;line-height:1.5;flex-shrink:0}.choice.correct{border-color:#39815c;background:#eef8ef}.choice.wrong{border-color:#b67e68;background:#fff2ec}.choice input:disabled{opacity:1}.answer-rule{font-size:.8125rem;line-height:1.55;color:#5c686b;margin:14px 0 0}.hint-button{font-size:.875rem;min-height:44px}.hint{font-size:1rem;line-height:1.65}.question-actions>span{font-size:.8125rem}.feedback p,.feedback .pitfall{font-size:1rem;line-height:1.75}.feedback .source-ref{font-size:.875rem;line-height:1.65}.feedback{scroll-margin-top:24px}.session-footnote{font-size:.875rem;line-height:1.65}.result-detail{font-size:1rem;line-height:1.7}.result-corrections summary{font-size:1rem;line-height:1.65}.result-corrections summary>span{font-size:.8125rem}.history small,.progress-book-top small{font-size:.8125rem;line-height:1.5}.progress-book-top{font-size:1rem}.review-row h3{line-height:1.6}.review-row p{font-size:.875rem}
.katex-display{overflow-x:auto;overflow-y:hidden;padding:4px 0}.question-prompt .katex,.choice-text .katex,.feedback p>.katex,.hint .katex,.result-detail .katex{display:inline-block;max-width:100%;overflow-x:auto;overflow-y:hidden;vertical-align:middle;padding:3px 0}.katex-display>.katex{display:block}.result-score{color:#164d53}
.search-panel{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:30px 0;margin-top:36px}.search-panel>div>p{font-size:1rem;color:var(--muted);margin:8px 0 20px}.search-panel label{display:block;font-size:.875rem;font-weight:600;margin-bottom:9px}.search-field{display:flex;gap:12px;max-width:850px}.search-field input{min-width:0;flex:1;border:1px solid #b8c7c4;border-radius:7px;padding:13px 16px;font-size:1rem;background:white;color:var(--ink)}.search-results{margin-top:28px}.search-results h3{margin-bottom:12px}.search-result{display:block;padding:14px 0;border-bottom:1px solid var(--line);text-decoration:none}.search-result:hover strong{text-decoration:underline;text-underline-offset:3px}.search-result strong{font-weight:600;line-height:1.6;display:block}.search-result span{display:block;color:var(--muted);font-size:.875rem;margin-top:4px}.bibliography{margin-top:24px}.bibliography li{font-size:.9375rem;line-height:1.7;margin:12px 0}.source-version{font-size:.8125rem}
@media(max-width:1120px){.sidebar{width:224px;padding:30px 15px 20px}.workspace{margin-left:224px;width:calc(100% - 224px)}main,.topbar{padding-left:28px;padding-right:28px}.book-card-top{padding:21px;gap:17px}.book-card-body{padding:21px}.book-card img{width:82px}.book-card .subject{font-size:1.35rem}.hero{padding:30px}.hero-visual{display:none}.hero-copy{width:100%;max-width:none}.hero h1{font-size:2.65rem}}
@media(max-width:900px){.books-grid{grid-template-columns:1fr}.book-card-top{min-height:190px}.book-card img{width:94px}.book-card .subject{font-size:1.55rem}.section-head{display:block}.count-note{display:block;text-align:left;max-width:none;margin-top:12px}.topbar>span{font-size:.75rem}.book-hero{gap:20px}.book-hero h1{font-size:2rem}.book-hero h2{font-size:1.15rem}}
@media(max-width:680px){.sidebar{width:100%;padding:13px 18px 0;position:sticky}.workspace{width:100%;margin:0}.brand{font-size:1.3rem}.brand-small{font-size:.8125rem;display:inline-block;margin-left:8px}.sidebar nav a{font-size:.875rem;padding:10px 2px;min-height:58px}.sidebar nav .nav-count{font-size:.75rem;right:12%}.topbar{padding:13px 20px;gap:12px;min-height:60px}.topbar>span{font-size:.75rem;letter-spacing:.04em}.topbar>div{gap:8px;flex-shrink:0}.topbar .free-label{font-size:.75rem}.topbar .text-button{font-size:.8125rem;max-width:80px}.topbar:has(#resume-top:not([hidden])) .free-label{display:none}main{padding:24px 18px}.hero{padding:26px 22px;border-radius:12px}.hero h1{font-size:2.2rem}.hero p{font-size:1rem}.hero .eyebrow{font-size:.75rem}.hero .button{font-size:.875rem}.stat{padding:14px 10px}.stat small{font-size:.75rem}.stat strong{font-size:1.15rem}.books-grid{gap:18px}.book-card-top{padding:22px;gap:22px}.book-card .subject{font-size:1.5rem}.book-card .book-kind,.book-card-body>p{font-size:1rem}.book-card .tag{font-size:.8125rem}.card-action small,.progress-caption{font-size:.8125rem}.book-hero{padding:20px;display:block}.book-hero>img{float:right;width:73px;margin:0 0 12px 15px}.book-hero h1{font-size:1.9rem}.book-hero h2{font-size:1.1rem}.book-hero p{clear:both;padding-top:12px;font-size:1rem}.book-hero .eyebrow{font-size:.75rem}.panel{padding:22px}.page-intro p,.quiz-tile p,.panel p{font-size:1rem}.quiz-heading h1{font-size:1.1rem}.quiz-heading p{font-size:.8125rem}.quiz-heading .text-button{font-size:.8125rem;min-width:75px}.question-prompt{font-size:1.15rem}.choices legend{font-size:.875rem}.choice{padding:15px 13px;font-size:1rem;flex-wrap:wrap}.choice-text{flex-basis:calc(100% - 40px)}.choice-mark{margin-left:30px;max-width:none}.question-meta,.level{font-size:.75rem}.response-type,.answer-rule{font-size:.8125rem}.feedback{padding:22px 19px;scroll-margin-top:145px}.feedback p,.feedback .pitfall{font-size:1rem}.feedback .source-ref{font-size:.875rem}.editorial-note{font-size:1rem;padding:21px 18px}.editorial-note svg{display:none}.section-head p{font-size:1rem}.section-head h2{font-size:1.4rem}.count-note{font-size:.8125rem}.search-field{flex-wrap:wrap}.search-field input{flex-basis:100%}.search-field .button{width:100%}.page-footer{font-size:.8125rem}.search-panel{margin-top:28px}.resume-banner{font-size:1rem}.toast{font-size:.875rem}.chapter-heading h2{font-size:1.3rem}.chapter-heading small{font-size:.8125rem}.question-wrap{scroll-margin-top:145px}}
.question-prompt{white-space:pre-wrap}.choice-text,.hint,.feedback p,.result-detail p{white-space:pre-line}.katex{white-space:normal}

@media(max-width:680px){.choice{display:grid;grid-template-columns:20px 14px minmax(0,1fr);column-gap:10px;row-gap:8px}.choice-letter{display:block;width:14px;padding-top:2px}.choice .choice-text{grid-column:3;min-width:0}.choice-mark{grid-column:3;margin-left:0;max-width:none}}
