:root{--ink:#172b36;--muted:#5c6a70;--paper:#f7f7f3;--line:#dfe4df;--navy:#162a35;--orange:#bb502d;--blue:#216589;--yellow:#a16e13;--radius:16px;--shadow:0 8px 28px #172b3607;font-family:Arial,Helvetica,sans-serif;font-size:16px;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button:disabled{cursor:not-allowed;opacity:.5}a,button,input,select{outline-offset:5px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d79832}button svg,a svg{pointer-events:none}svg{flex-shrink:0;width:24px;height:24px}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:600}h1{font-family:Georgia,'Times New Roman',serif;font-size:2.6rem;line-height:1.12;letter-spacing:-1.3px}h2{font-size:1.5rem;line-height:1.3}h3{font-size:1.08rem;line-height:1.35}p{line-height:1.65}.muted{color:var(--muted)}.eyebrow{font-size:.78rem;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted)}.shell{display:flex;min-height:100vh}.sidebar{width:248px;flex-shrink:0;position:fixed;inset:0 auto 0 0;background:var(--navy);color:#d8e3e6;padding:36px 22px 24px;display:flex;flex-direction:column;z-index:15;overflow-y:auto}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-family:Georgia,serif;font-size:1.6rem;letter-spacing:1px;font-weight:700;color:#fff}.brand-mark{border:1px solid #8b9ca5;border-radius:9px;color:#f0bd61;font-size:1.8rem;width:42px;height:47px;display:grid;place-items:center}.brand-small{display:block;font-family:Arial,sans-serif;font-size:.72rem;letter-spacing:0;font-weight:400;color:#b7c8ce;margin-top:6px}.rail-label{font-size:.64rem;letter-spacing:1.5px;color:#94abb5;margin:49px 0 15px 12px}.sidebar nav{display:grid;gap:6px}.sidebar nav a{display:flex;align-items:center;gap:12px;border-radius:9px;padding:13px 12px;text-decoration:none;font-size:.91rem;color:#c2d0d6;min-height:47px}.sidebar nav a:hover{background:#223c49}.sidebar nav a.active{background:#eaf0ec;color:var(--ink);font-weight:600}.sidebar nav svg{width:20px;height:20px}.nav-count{margin-left:auto;border-radius:20px;font-size:.75rem;padding:2px 7px;background:#ffffff14}.active .nav-count{background:#d4e0d8}.rail-note{margin:37px 10px;padding-top:27px;border-top:1px solid #ffffff21}.small-flag{font-size:.68rem;letter-spacing:1.4px;color:#f1be68}.rail-note p{font-family:Georgia,serif;font-size:1.25rem;line-height:1.45;color:#e7ece8;margin:14px 0 10px}.rail-note>span:last-child{font-size:.8rem;color:#a9bfc8}.rail-footer{margin-top:auto;padding:23px 10px 0;font-size:.79rem;color:#acbec6;line-height:1.6}.rail-footer a{text-decoration:none}.rail-footer a:hover{text-decoration:underline}.rail-footer p{margin:22px 0 8px}.rail-footer strong{color:#d8e4e7;font-weight:500}.publisher{font-size:.76rem}.workspace{margin-left:248px;width:calc(100% - 248px)}.topbar{height:79px;padding:0 42px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#fcfcf9}.topbar>span{font-size:.73rem;font-weight:700;letter-spacing:1.6px}.topbar>div{display:flex;gap:18px;align-items:center}.free-label{font-size:.77rem;padding:7px 11px;border:1px solid #cfd8d0;border-radius:30px;color:#365448}.text-button{background:none;border:0;color:var(--blue);font-size:.88rem;padding:8px 0;text-decoration:underline;text-underline-offset:4px}.page-footer{max-width:1420px;margin:35px auto 0;padding:20px 42px 25px;display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);font-size:.76rem;color:var(--muted)}.page-footer a{text-decoration:none}main{max-width:1420px;margin:auto;padding:35px 42px 24px;min-height:calc(100vh - 170px);outline:none}.hero{background:#eef1eb;border:1px solid #dce3d9;border-radius:20px;display:flex;min-height:265px;padding:34px 35px;overflow:hidden;position:relative}.hero-copy{position:relative;z-index:2;max-width:610px;width:68%}.hero .eyebrow{color:#526957;margin-bottom:15px}.hero h1{font-size:2.75rem}.hero p{margin:16px 0 22px;max-width:510px;font-size:.94rem;line-height:1.65;color:#4f625d}.hero-visual{position:absolute;right:10px;top:15px;bottom:0;width:32%;display:grid;place-items:center;opacity:.95}.hero-visual:before{content:'';position:absolute;width:230px;height:230px;border:1px solid #c5d2c1;border-radius:50%}.hero-visual img{width:122px;border-radius:3px;position:absolute;box-shadow:0 15px 25px #152c3533}.hero-visual img:nth-child(1){transform:rotate(-14deg) translate(-42px,2px)}.hero-visual img:nth-child(2){transform:rotate(13deg) translate(43px,5px)}.hero-visual img:nth-child(3){transform:translateY(-4px);width:131px}.button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 19px;border-radius:8px;border:1px solid transparent;font-size:.88rem;font-weight:600;text-decoration:none;line-height:1.2;transition:background .15s,transform .15s}.button.primary{background:var(--ink);color:white}.button.primary:hover{background:#284755}.button.secondary{background:white;border-color:#cbd4cf;color:var(--ink)}.button.secondary:hover{background:#f0f4ed}.button.subtle{background:#eef1eb;color:var(--ink)}.button.danger{background:#fff4ef;border-color:#e5b5a7;color:#843a25}.button svg{width:18px;height:18px}.button-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:23px 0 32px}.stat{padding:18px 21px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:15px}.stat-icon{width:40px;height:40px;border-radius:50%;background:#edf2ed;display:grid;place-items:center;color:#46634f}.stat-icon svg{width:19px}.stat strong{font-size:1.32rem;display:block;font-weight:600;letter-spacing:-.4px}.stat small{font-size:.76rem;color:var(--muted);display:block;margin-top:5px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:28px 0 18px}.section-head p{color:var(--muted);font-size:.87rem;margin-top:7px}.count-note{color:var(--muted);font-size:.8rem;white-space:nowrap}.filters{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 23px}.chip{min-height:37px;border:1px solid #d7dfd8;border-radius:30px;background:transparent;font-size:.81rem;padding:8px 16px;color:#4c605b}.chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:white}.chip:hover{border-color:var(--ink)}.books-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.book-card{--accent:var(--orange);--tint:#faf0e9;border:1px solid var(--line);border-radius:13px;background:white;box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column}.book-card.analyse,.book-hero.analyse{--accent:var(--blue);--tint:#edf4f7}.book-card.entretien,.book-hero.entretien{--accent:var(--yellow);--tint:#faf5df}.book-card-top{background:var(--tint);padding:20px 18px;display:flex;gap:16px;min-height:181px;align-items:center;border-top:3px solid var(--accent)}.book-card img{width:78px;height:110px;object-fit:cover;flex-shrink:0;border-radius:2px;box-shadow:3px 5px 9px #162a3526}.book-card .subject{color:var(--accent);font-family:Georgia,serif;font-size:1.26rem;font-weight:600;line-height:1.2}.book-card .book-kind{font-size:.87rem;line-height:1.42;font-weight:500;margin:7px 0 12px}.tag{display:inline-block;font-size:.66rem;letter-spacing:.8px;font-weight:600;text-transform:uppercase;color:var(--accent)}.book-card-body{padding:17px 18px;flex:1;display:flex;flex-direction:column}.book-card-body>p{font-size:.78rem;line-height:1.6;color:var(--muted);min-height:49px}.book-progress{height:4px;background:#e8ece7;border-radius:5px;overflow:hidden;margin:17px 0 8px}.book-progress span{display:block;height:100%;background:var(--accent);border-radius:5px}.progress-caption{display:flex;justify-content:space-between;gap:5px;font-size:.72rem;color:var(--muted)}.card-action{display:flex;align-items:center;justify-content:space-between;margin-top:18px;gap:5px}.card-action small{font-size:.73rem;color:#536660}.card-action .button{padding:9px 12px;font-size:.78rem;min-height:37px;background:white;border:1px solid #cdd7d0}.card-action .button:hover{background:var(--tint)}.editorial-note{display:flex;gap:15px;align-items:start;background:#f0f1e9;border-radius:12px;padding:20px 23px;margin-top:26px;font-size:.84rem;color:#52605a}.editorial-note svg{width:22px;height:22px;margin-top:3px;color:#71815e}.editorial-note strong{display:block;color:#334a3b;margin-bottom:4px}.resume-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;margin-bottom:22px;border:1px solid #c4d7c9;border-radius:12px;background:#f0f7ed;font-size:.9rem}.resume-banner p{color:#445e4b}.resume-banner strong{display:block;margin-bottom:3px}.backlink{display:inline-flex;align-items:center;gap:8px;color:#50665d;text-decoration:none;font-size:.85rem;margin-bottom:23px}.backlink:hover{text-decoration:underline}.backlink svg{width:16px}.book-hero{--accent:var(--orange);--tint:#faf0e9;display:flex;gap:28px;padding:28px;background:var(--tint);border:1px solid var(--line);border-radius:17px;align-items:center}.book-hero>img{width:106px;border-radius:3px;box-shadow:3px 7px 18px #172b3621}.book-hero .eyebrow{color:var(--accent);margin-bottom:10px}.book-hero h1{font-size:2.35rem}.book-hero h2{font-size:1.25rem;font-weight:400;margin-top:10px}.book-hero p{font-size:.91rem;margin-top:15px;color:var(--muted)}.quiz-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.quiz-tile{padding:24px;background:#fff;border:1px solid var(--line);border-radius:13px;display:flex;flex-direction:column}.quiz-tile .eyebrow{font-size:.68rem;line-height:1.6;margin-bottom:12px}.quiz-tile h3{font-size:1.12rem}.quiz-tile p{font-size:.86rem;color:var(--muted);margin:12px 0 20px;flex:1}.tile-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center}.tile-bottom small{font-size:.76rem;color:var(--muted)}.tile-bottom .button{font-size:.8rem;min-height:40px;padding:10px 14px}.page-intro{max-width:720px;margin:9px 0 28px}.page-intro .eyebrow{margin-bottom:16px}.page-intro h1{font-size:2.5rem}.page-intro p{color:var(--muted);font-size:.96rem;margin-top:16px}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:28px}.panel h2{font-size:1.3rem;margin-bottom:14px}.panel p{font-size:.9rem;margin:10px 0;color:var(--muted)}.two-columns{display:grid;grid-template-columns:1.15fr 1fr;gap:24px}.field{margin-bottom:24px}.field label{display:block;font-size:.88rem;font-weight:600;margin-bottom:9px}.field select{width:100%;appearance:none;border:1px solid #cbd5cf;border-radius:8px;padding:13px 42px 13px 14px;color:var(--ink);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23172b36' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;font-size:.92rem}.field small{display:block;margin-top:8px;font-size:.79rem;line-height:1.5;color:var(--muted)}.steps{list-style:none;padding:0;margin:16px 0}.steps li{display:flex;gap:13px;align-items:start;margin:19px 0;font-size:.9rem;line-height:1.6;color:var(--muted)}.steps svg{width:21px;color:#4a715c;margin-top:2px}.steps strong{color:var(--ink);display:block}.empty-state{text-align:center;padding:45px 25px;background:#fff;border:1px solid var(--line);border-radius:14px}.empty-state .empty-icon{color:#5e7765;margin-bottom:16px}.empty-state .empty-icon svg{width:40px;height:40px}.empty-state h2{font-family:Georgia,serif;font-size:1.8rem}.empty-state p{max-width:510px;margin:14px auto 24px;color:var(--muted);font-size:.91rem}.review-list{display:grid;gap:12px;margin:22px 0}.review-row{background:#fff;border:1px solid var(--line);padding:18px 21px;border-radius:10px}.review-row h3{font-size:.98rem;font-weight:500;line-height:1.6}.review-row p{font-size:.75rem;color:var(--muted);margin-top:8px}.progress-books{display:grid;gap:0}.progress-book{padding:16px 0;border-bottom:1px solid var(--line)}.progress-book:last-child{border:0}.progress-book-top{display:flex;justify-content:space-between;gap:15px;font-size:.88rem}.progress-book-top small{font-size:.76rem;color:var(--muted)}.progress-book .book-progress{margin:10px 0;height:6px}.history{list-style:none;padding:0;margin:0}.history li{padding:15px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.history li:last-child{border:0}.history strong{display:block;font-size:.86rem;font-weight:500;line-height:1.4}.history small{display:block;color:var(--muted);font-size:.75rem;margin-top:5px}.history .history-score{font-size:1rem;white-space:nowrap;color:#315c46;font-weight:600}.question-wrap{max-width:850px;margin:0 auto}.quiz-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:23px}.quiz-heading h1{font-family:Arial,sans-serif;font-size:1.22rem;letter-spacing:0;line-height:1.45}.quiz-heading p{font-size:.8rem;color:var(--muted);margin-top:5px}.quiz-heading .text-button{font-size:.8rem;white-space:nowrap}.session-progress{height:6px;border-radius:5px;background:#dce4dd;margin-bottom:25px;overflow:hidden}.session-progress>span{height:100%;background:#61826c;display:block;transition:width .2s}.question-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:32px}.question-meta{display:flex;align-items:center;justify-content:space-between;font-size:.76rem;color:var(--muted);gap:16px;margin-bottom:24px}.level{background:#f1f3eb;border-radius:30px;font-size:.72rem;padding:6px 12px;color:#596c51}.question-prompt{font-size:1.2rem;line-height:1.75;letter-spacing:0;font-weight:500;margin-bottom:25px}.question-prompt .katex{font-size:1.12em}.choices{border:0;padding:0;margin:0;min-width:0}.choices legend{font-size:.79rem;color:var(--muted);margin-bottom:13px}.choice{display:flex;align-items:center;gap:14px;border:1.5px solid #d9e0da;padding:16px 17px;border-radius:10px;margin-bottom:12px;cursor:pointer;font-size:.99rem;line-height:1.65;position:relative}.choice:hover{background:#f7f9f4;border-color:#9eb5a3}.choice:has(input:checked){border-color:#365e49;background:#f2f7ed}.choice:has(input:focus-visible){outline:3px solid #d79832;outline-offset:2px}.choice input{width:18px;height:18px;margin:0;accent-color:#365e49;flex-shrink:0}.choice .choice-letter{font-size:.73rem;color:#718178;font-weight:600}.choice .choice-text{flex:1;min-width:0}.choice.correct{border-color:#75997c;background:#eef7ee}.choice.wrong{border-color:#c98c76;background:#fff2ec}.choice.locked{cursor:default}.choice-mark{font-size:.75rem;font-weight:600;color:#306140;flex-shrink:0}.wrong .choice-mark{color:#9c4a31}.hint-button{background:none;border:0;padding:9px 0;color:#6b6843;font-size:.83rem;display:flex;gap:8px;align-items:center}.hint-button svg{width:18px;height:18px}.hint{margin:12px 0 18px;background:#fbf6e5;border-left:3px solid #d3b467;padding:14px 17px;font-size:.9rem;line-height:1.65;color:#595137}.question-actions{border-top:1px solid var(--line);padding-top:21px;margin-top:17px;display:flex;align-items:center;justify-content:space-between;gap:15px}.question-actions>span{font-size:.76rem;color:var(--muted)}.feedback{border:1px solid #c9daca;border-radius:12px;background:#f4f8ef;padding:24px;margin-top:23px;scroll-margin-top:20px}.feedback.incorrect{border-color:#e4d1c4;background:#fff8f0}.feedback h2{font-size:1.05rem;display:flex;gap:9px;align-items:center;color:#31573b}.feedback.incorrect h2{color:#85502d}.feedback p{font-size:.94rem;line-height:1.8;margin-top:13px}.feedback .pitfall{background:#ffffff90;border-radius:7px;padding:13px 16px;margin-top:18px;font-size:.85rem}.feedback .source-ref{border-top:1px solid #aab49e55;padding-top:13px;margin-top:19px;color:#5b6858;font-size:.79rem}.source-links{font-size:.78rem;margin-top:11px;display:flex;flex-wrap:wrap;gap:12px}.source-links a{color:#3a5a4b}.feedback .next-button{margin-top:23px}.session-footnote{font-size:.78rem;color:var(--muted);line-height:1.65;text-align:center;margin:20px auto;max-width:650px}.result-hero{text-align:center;background:#eef3eb;border:1px solid #d3e0cf;border-radius:17px;padding:33px 26px}.result-hero .eyebrow{margin-bottom:19px}.result-hero h1{font-size:2.3rem}.result-score{display:flex;align-items:baseline;justify-content:center;gap:5px;margin:23px 0 8px}.result-score strong{font-size:3.8rem;line-height:1;font-weight:500;letter-spacing:-2px}.result-score span{font-size:1.3rem;color:#617765}.result-hero p{color:#506650;font-size:.9rem}.result-hero .button-row{justify-content:center;margin-top:25px}.result-corrections{margin-top:25px}.result-corrections details{background:white;border:1px solid var(--line);border-radius:10px;margin:12px 0;padding:0 20px}.result-corrections summary{font-size:.95rem;line-height:1.7;padding:17px 0;cursor:pointer}.result-corrections .result-detail{border-top:1px solid var(--line);padding:16px 0 20px}.result-detail p{font-size:.88rem;margin-top:10px;line-height:1.8}.result-correct{font-size:.75rem;color:#396344;display:block;margin-bottom:5px}.result-wrong{font-size:.75rem;color:#a15a3b;display:block;margin-bottom:5px}.help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.help-grid .panel p{line-height:1.8}.help-grid ul{padding-left:20px;font-size:.87rem;color:var(--muted);line-height:1.8}.help-grid .button-row{margin-top:20px}.status-box{padding:12px 15px;border-radius:8px;background:#f0f4ed;color:#415a46;font-size:.85rem;line-height:1.6;margin:15px 0}.status-box.warn{background:#fff3df;color:#7d5c1c}.data-section{margin-top:22px}.toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);background:#203c35;color:white;padding:15px 22px;border-radius:10px;box-shadow:0 6px 24px #162a3533;max-width:90vw;font-size:.88rem;line-height:1.5;z-index:100;display:none}.toast.visible{display:block}dialog{border:1px solid var(--line);border-radius:15px;padding:28px;width:480px;max-width:calc(100vw - 30px);box-shadow:0 20px 60px #172b3630;color:var(--ink)}dialog::backdrop{background:#102a3690}dialog h2{font-size:1.3rem}dialog p{margin:16px 0 25px;font-size:.93rem;color:var(--muted)}.skip-link{position:fixed;top:-70px;left:16px;z-index:200;background:white;padding:14px 20px}.skip-link:focus{top:10px}.noscript{position:fixed;inset:20px;background:white;z-index:200;padding:50px}.katex-display{overflow-x:auto;overflow-y:hidden;padding:4px 0;margin:.8em 0}.storage-warning{padding:13px 17px;border:1px solid #dec68f;border-radius:8px;font-size:.84rem;background:#fff5dc;color:#6b561e;margin-bottom:22px}input[type=file]{max-width:100%;font-size:.9rem;line-height:1.6}.source-version{margin-top:12px;color:var(--muted);font-size:.75rem}
@media(min-width:1600px){.hero{min-height:285px;padding:38px 42px}.hero-visual{right:55px}.hero h1{font-size:3.15rem}.book-card img{width:91px;height:128px}.book-card-top{padding:22px}.book-card .subject{font-size:1.5rem}}
@media(max-width:1200px){.sidebar{width:218px;padding-left:15px;padding-right:15px}.workspace{margin-left:218px;width:calc(100% - 218px)}main{padding:30px 28px 24px}.topbar{padding:0 28px}.page-footer{padding-left:28px;padding-right:28px}.books-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero h1{font-size:2.4rem}.hero-copy{width:72%}.hero-visual{right:-18px;width:28%}.hero-visual img{width:100px}.hero-visual img:nth-child(3){width:108px}.hero-visual:before{width:190px;height:190px}.stat{padding:16px 15px;gap:10px}.stat-icon{width:31px;height:31px}.stat small{font-size:.73rem}.book-card-body>p{min-height:42px}}
@media(max-width:900px){.sidebar{width:188px;padding:29px 12px 20px}.workspace{margin-left:188px;width:calc(100% - 188px)}.brand{font-size:1.35rem;gap:9px}.brand-mark{width:35px;height:40px;font-size:1.5rem}.brand-small{font-size:.6rem}.rail-label{font-size:.56rem;margin-left:8px}.sidebar nav a{font-size:.82rem;gap:9px;padding:12px 9px}.rail-note{margin:30px 6px}.rail-footer{padding-left:6px;padding-right:6px}.hero-visual{display:none}.hero-copy{width:100%;max-width:none}.hero{padding:28px;min-height:auto}.hero p{max-width:100%}.hero h1{font-size:2.3rem}.stats{gap:10px}.stat-icon{display:none}.stat strong{font-size:1.2rem}.two-columns,.help-grid{grid-template-columns:1fr}.topbar>span{font-size:.64rem;letter-spacing:1px}.topbar>div{gap:8px}.free-label{font-size:.7rem}.book-card-top{padding:17px 14px;gap:12px}.book-card img{width:66px;height:93px}.book-card .subject{font-size:1.18rem}.book-card .book-kind{font-size:.78rem}.book-card-body{padding:16px 14px}.quiz-grid{grid-template-columns:1fr}.question-card{padding:25px}.page-footer{font-size:.68rem}.hero .button{font-size:.84rem}}
@media(max-width:680px){.shell{display:block}.sidebar{position:sticky;top:0;width:100%;height:auto;overflow:visible;padding:14px 18px 0;display:block;box-shadow:0 2px 5px #162a3520}.brand{font-size:1.25rem;gap:9px}.brand-mark{width:31px;height:34px;font-size:1.4rem}.brand-small{display:inline;font-size:.68rem;margin-left:10px;color:#b1c4cc;letter-spacing:0}.rail-label,.rail-note,.rail-footer{display:none}.sidebar nav{display:flex;gap:3px;margin-top:13px;justify-content:space-between}.sidebar nav a{display:flex;gap:6px;border-radius:6px 6px 0 0;padding:12px 7px;min-height:43px;font-size:.72rem;justify-content:center;white-space:nowrap}.sidebar nav svg{width:15px;height:15px}.sidebar nav .nav-count{font-size:.64rem;padding:1px 4px;margin-left:0}.workspace{margin-left:0;width:100%}.topbar{height:46px;padding:0 20px}.topbar>span{font-size:.59rem;letter-spacing:1px}.free-label{font-size:.64rem;padding:5px 8px}.topbar .text-button{font-size:.7rem}main{padding:23px 19px 20px;min-height:calc(100vh - 240px)}.hero{padding:25px 23px;border-radius:14px}.hero h1{font-size:2.18rem;letter-spacing:-1px}.hero .eyebrow{font-size:.64rem;letter-spacing:1.1px}.hero p{font-size:.87rem;margin:15px 0 20px}.stats{margin:17px 0 25px;gap:8px}.stat{padding:14px 11px;display:block;border-radius:10px}.stat strong{font-size:1.23rem}.stat small{font-size:.67rem;line-height:1.45;margin-top:7px}.section-head{margin:23px 0 17px}.section-head h2{font-size:1.26rem}.section-head p{font-size:.8rem}.count-note{font-size:.69rem}.filters{gap:6px;margin-bottom:18px}.chip{font-size:.73rem;padding:8px 12px;min-height:34px}.books-grid{grid-template-columns:1fr;gap:15px}.book-card-top{padding:18px 20px;min-height:155px;gap:23px}.book-card img{width:78px;height:110px}.book-card .subject{font-size:1.4rem}.book-card .book-kind{font-size:.92rem;max-width:220px;margin:9px 0 12px}.book-card .tag{font-size:.67rem}.book-card-body{padding:16px 20px 18px}.book-card-body>p{min-height:auto;font-size:.83rem}.book-card .book-progress{margin-top:15px}.progress-caption{font-size:.74rem}.card-action{margin-top:16px}.card-action small{font-size:.77rem}.card-action .button{font-size:.8rem;padding:10px 14px;min-height:40px}.editorial-note{font-size:.8rem;padding:18px;gap:12px}.page-footer{font-size:.7rem;display:block;line-height:1.8;padding:18px 20px}.page-footer a{display:block;margin-top:5px}.book-hero{padding:20px;gap:20px;align-items:start}.book-hero>img{width:76px}.book-hero .eyebrow{font-size:.6rem;line-height:1.65}.book-hero h1{font-size:1.8rem}.book-hero h2{font-size:1.04rem;line-height:1.45}.book-hero p{font-size:.78rem}.page-intro{margin:2px 0 24px}.page-intro h1{font-size:2.1rem}.page-intro .eyebrow{font-size:.69rem}.page-intro p{font-size:.89rem}.panel{padding:22px}.quiz-tile{padding:23px}.quiz-heading{align-items:start;margin-bottom:17px}.quiz-heading h1{font-size:1.04rem}.quiz-heading p{font-size:.72rem}.quiz-heading .text-button{font-size:.72rem;max-width:100px;text-align:right}.question-card{padding:22px 18px}.question-meta{font-size:.71rem;margin-bottom:20px;gap:10px}.level{font-size:.65rem;padding:5px 10px}.question-prompt{font-size:1.07rem;margin-bottom:22px}.choices legend{font-size:.75rem}.choice{padding:14px 12px;gap:10px;font-size:.92rem}.choice-letter{display:none}.choice input{width:17px;height:17px}.choice-mark{font-size:.64rem;max-width:56px}.question-actions{flex-wrap:wrap;gap:16px}.question-actions .button{width:100%}.question-actions>span{display:none}.feedback{padding:20px 17px}.feedback p{font-size:.9rem}.feedback .pitfall{padding:12px;font-size:.8rem}.feedback .source-ref{font-size:.75rem}.feedback .next-button{width:100%}.result-hero h1{font-size:1.9rem}.result-hero .button-row{flex-direction:column}.result-hero .button{width:100%}.resume-banner{align-items:start;flex-direction:column;font-size:.82rem}.resume-banner .button{width:100%}.backlink{font-size:.79rem;margin-bottom:18px}.progress-book-top{font-size:.8rem}.progress-book-top small{font-size:.71rem;text-align:right}.question-wrap{scroll-margin-top:110px}.toast{bottom:16px;font-size:.8rem;width:calc(100% - 36px)}.result-corrections summary{font-size:.87rem}.two-columns{gap:17px}.help-grid{gap:17px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.sidebar,.topbar,.page-footer,.button,.hint-button{display:none!important}.workspace{margin:0;width:100%}main{padding:0}.question-card,.panel,.feedback{border:1px solid #aaa;break-inside:avoid}.hero-visual{display:none}.books-grid{grid-template-columns:repeat(3,1fr)}body{background:white}}

.source-ref svg{width:15px;height:15px;vertical-align:middle;margin-right:4px}.feedback h2 svg{width:22px;height:22px}
@media(max-width:680px){.sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.sidebar nav a{position:relative;flex-direction:column;gap:6px;padding:9px 2px;min-width:0;white-space:normal;text-align:center;font-size:.66rem;line-height:1.2}.sidebar nav a>span:first-child{height:17px}.sidebar nav .nav-count{position:absolute;top:3px;right:16%;font-size:.6rem}.topbar .free-label{white-space:nowrap}.feedback{scroll-margin-top:135px}}

.nav-short{display:none}.chip,.card-action .button,.tile-bottom .button{font-size:.875rem}
.choice.wrong:has(input:checked){border-color:#c98c76;background:#fff2ec}
@media(max-width:680px){.sidebar nav a{font-size:.875rem}.sidebar .nav-text{display:none}.sidebar .nav-short{display:block}.button,.card-action .button,.tile-bottom .button,.chip{font-size:.875rem}}
