html[lang=fr]{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",MasarArabic,Arial,sans-serif}
main:focus{outline:none}
.quiz-context{border:1px solid #e2e8d8;background:#f7faf2;border-radius:10px;padding:14px 16px;margin-bottom:17px;font-size:12px;color:#5f7352;line-height:1.85}.quiz-context>b{display:block;color:#7e916b;font-size:10px;margin-bottom:6px}.quiz-context p{font-size:12px!important;line-height:1.9!important;margin:0!important}.archive-directories{margin-top:30px}.archive-directories summary{cursor:pointer;color:#5c7850;font-weight:600;font-size:14px}.archive-directories .subject-actions{margin-bottom:0}
[lang=ar], [dir=rtl].lesson-row, .lesson-content[dir=rtl], .pack-item[dir=rtl], .study-card h3[dir=rtl], .study-card p[dir=rtl]{font-family:MasarArabic,Tahoma,Arial,sans-serif}
html[dir=ltr] .sidebar{left:0;right:auto;border-left:0;border-right:1px solid var(--line)}
html[dir=ltr] .workspace{margin-left:245px;margin-right:0}
html[dir=ltr] .nav-link .nav-count{margin-left:auto;margin-right:0}
html[dir=ltr] .search-trigger{margin-left:auto;margin-right:0;text-align:left}
html[dir=ltr] .search-trigger kbd{margin-left:auto;margin-right:0}
html[dir=ltr] .brand{padding-left:3px;padding-right:0}
html[dir=ltr] .brand-name{font-size:23px;letter-spacing:-1px}
.brand-caption{font-size:10px}.brand{padding-bottom:24px}.nav-link{padding:10px 11px;font-size:12px;gap:9px}.nav-list{gap:4px}.nav-divider{margin:16px 10px}.nav-label{font-size:9px}.side-bottom{padding-top:23px}.side-note{padding:14px}.side-note p{font-size:11px;color:#687362}
.language-toggle{flex-shrink:0;border:1px solid #dce5d8;background:#fff;border-radius:9px;padding:7px 12px;font-size:12px;font-family:MasarArabic,Arial,sans-serif;color:#305a48;white-space:nowrap}
.hero h2{font-size:37px;line-height:1.25;letter-spacing:-1.6px}.hero h2 em{font-style:normal;color:#dc7652}.hero-copy p{color:#5d705c;font-size:14px;line-height:1.8;margin-top:18px}.hero .eyebrow{font-size:10px;letter-spacing:1.1px}.hero-actions .button{font-size:12px;line-height:1.5}.hero-stamp,.mini-note{font-family:MasarArabic,Arial,sans-serif}.page-top h1{font-size:28px;letter-spacing:-.7px}.page-top p{font-size:13px;color:#71806c;line-height:1.8}.page-top{gap:18px}.date-tag{white-space:nowrap;font-size:10px}
.stats-strip .stat-value{font-size:29px}.stats-strip .stat-label{font-size:10px;line-height:1.5;color:#697963}.stat{min-width:0}.stat-icon{background:#eef3e9}.exam-banner{display:flex;align-items:center;justify-content:space-between;gap:25px;background:#e9efdf;border:1px solid #dce4d0;border-radius:17px;padding:25px 28px;margin-bottom:32px}.exam-banner h2{font-size:21px;letter-spacing:-.4px}.exam-banner p{font-size:12px;color:#637556;line-height:1.8;max-width:640px;margin-top:8px}.exam-banner .button{flex-shrink:0}.eyebrow{font-weight:700;letter-spacing:.6px;font-size:10px;color:#7c8c6c}.section-heading h2{font-size:20px}.section-heading p{font-size:12px;color:#718169}.section-heading>a{font-size:12px}.subject-card h3{font-size:15px;line-height:1.55;min-height:45px}.subject-card .subject-fr{font-size:10px;line-height:1.9;min-height:24px}.subject-card .card-bottom{font-size:11px}.subject-card .badge{font-size:9px}.subject-meta{gap:5px}.subject-header h1{font-size:27px}.subject-header p{font-size:12px}.subject-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:22px 0 30px}.subject-actions .button{font-size:12px}.extra-section{margin-top:27px}.course-note{font-size:12px;color:#6a7b61;line-height:1.9}.panel h2{font-size:20px}.panel{min-width:0}.dashboard-lower .panel h2{margin:12px 0}
.library-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;margin-bottom:23px}.library-filters label{font-size:11px;font-weight:600;color:#5e7458;display:flex;flex-direction:column;gap:8px;min-width:0}.library-filters .field{width:100%;min-width:0;max-width:100%;font-size:12px;font-weight:400}.filter-query{grid-column:span 2}.reset-filters{text-align:start;font-size:11px;color:#8b6e47!important;align-self:end;padding:12px 0!important}.result-summary{font-size:12px;line-height:1.9;color:#6b7e61}.resource-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.study-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px;min-width:0;transition:box-shadow .18s,transform .18s}.study-card:hover{box-shadow:0 10px 25px #243a2510;transform:translateY(-2px)}.study-card-meta{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-bottom:14px}.study-card-meta .icon-button{margin-inline-start:auto;width:25px;height:25px}.study-card .badge{font-size:8px;line-height:1.5;padding:4px 7px}.badge.type-cours{background:#edf1e6;color:#5d7848}.badge.type-exercice{background:#fff1e7;color:#af744a}.badge.type-fiche{background:#edf2fa;color:#637eaa}.badge.type-controle{background:#f3eefa;color:#8c6ea7}.badge.type-methode{background:#f9f3e0;color:#9c8844}.language-badge{background:#f7f8f4;color:#7b8975}.study-card .subject-label{font-size:10px;color:var(--tone);line-height:1.6}.study-card h3{font-size:15px;margin:12px 0;line-height:1.65;overflow-wrap:anywhere}.study-card>p{font-size:12px;line-height:1.8;color:#6b7c62;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:18px}.study-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:13px;border-top:1px solid #eff2e9;margin-top:auto;font-size:10px;color:#78896b}.study-card-bottom a{background:var(--tone-bg);color:var(--tone);width:28px;height:28px;border-radius:8px;display:grid;place-items:center}.study-card-bottom svg{width:15px}.saved,.button[aria-pressed=true]{color:#b58a4d!important}.completed{background:#7d9564!important}.breadcrumbs{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:20px;font-size:11px;color:#7a8c6b}.reader-badges{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}.reader-badges .badge{font-size:10px}.lesson-title h1{font-size:29px;line-height:1.65}.lesson-title .subtitle{font-size:13px}.lesson-title .tools{flex-wrap:wrap;gap:8px}.lesson-title .button{font-size:11px;padding:11px 15px}.lesson-tabs button{font-size:12px}.lesson-content p{font-size:15px;color:#354c39;line-height:1.95}.lesson-content h2{font-size:21px;line-height:1.65}.lesson-content .question-text{font-size:15px}.lesson-content .course-note{font-size:12px}.lesson-aside h2{font-size:15px}.objective-list{padding-inline-start:19px;color:#5d7452;font-size:12px;line-height:1.9}.objective-list li{margin-bottom:12px}.lesson-aside .button{font-size:11px;white-space:normal;line-height:1.7}.terms-list>div{display:flex;justify-content:space-between;gap:18px;padding:12px;border-bottom:1px solid #e9efdf;font-size:12px}.text-link{display:inline-flex;align-items:center;color:#5e7d45;font-size:12px;text-decoration:underline;margin-top:12px;line-height:1.8}.source-inline a{display:inline-flex;align-items:center;gap:4px}.source-inline a svg{width:11px;height:11px}.source-inline{line-height:2.3;font-size:10px}.lesson-row h3{font-size:14px}.lesson-row p{font-size:11px}.lesson-row[dir=ltr] .lesson-duration{margin-left:auto;margin-right:0}.lesson-row[dir=rtl] .lesson-duration{margin-right:auto;margin-left:0}.lesson-content[dir=ltr] .solution-steps li{padding:8px 0 8px 39px}.lesson-content[dir=ltr] .solution-steps li:before{left:0;right:auto}.lesson-content[dir=ltr] .solution-answer{border-right:0;border-left:3px solid #78975e}.lesson-content[dir=ltr] ul{padding-left:22px;padding-right:0}.solution-answer,.solution-steps li{font-size:13px;line-height:1.9}.quiz-option{font-size:13px;color:#435b36}.quiz-question h3{font-size:15px}.quiz-explanation{font-size:12px;line-height:1.9}.quiz-session .quiz-question{border-bottom:0}.quiz-session .quiz-questions>div{border-bottom:1px solid #e7eddd}.quiz-config>p{font-size:13px}.quiz-config .form-group{font-size:12px}.quiz-config .field{font-size:13px}.quiz-config h2{font-size:25px}
.exam-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.exam-card{border:1px solid var(--line);border-radius:16px;padding:22px;background:#fff;min-width:0}.exam-card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.exam-year{font-size:28px;color:var(--tone);font-weight:700;letter-spacing:-1px}.exam-card h2{font-size:16px;line-height:1.6;min-height:50px}.exam-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}.exam-meta .badge{font-size:9px}.exam-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:17px 0}.exam-buttons .button{font-size:11px;padding:9px 12px}.exam-buttons svg{width:14px;height:14px}.archive-note{font-size:11px;color:#7f8b73;line-height:1.8;margin-top:8px}.exam-card .source-inline{font-size:9px}.mock-timer{border:1px solid #d8e4d2;background:#f2f7eb;padding:12px 18px;border-radius:12px;font:700 24px ui-monospace,monospace;color:#547342;direction:ltr;white-space:nowrap}.mock-question{margin:20px 0;padding:26px}.mock-question h2{font-size:18px}.mock-question .question-text{font-size:14px;line-height:1.95}.mock-question .solution-steps{padding:0;list-style:none}.mock-question[dir=ltr] .solution-steps li{padding-left:39px;padding-right:0}.mock-question[dir=ltr] .solution-steps li:before{left:0;right:auto}.mock-correction{padding-top:16px;border-top:1px solid #dce6d4}.mock-score{display:inline-block;width:90px;margin-inline-start:10px;text-align:center}.mock-correction label{font-size:12px}.mock-correction .text-link{display:block}.mock-actions{margin:25px 0}.history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:20px}.history-grid>div{background:#f3f7ec;border-radius:11px;padding:16px}.history-grid strong{color:#64834b;font-size:22px}.history-grid p{font-size:11px;line-height:1.6;margin:8px 0}.history-grid small{font-size:10px}.pack-controls{position:relative;margin-bottom:22px}.pack-controls .subject-actions{margin-bottom:13px}.check-label{display:flex;align-items:center;gap:9px;font-size:12px;margin-top:20px;color:#5f7552}.check-label input,.pack-check{accent-color:var(--green);width:17px;height:17px;flex-shrink:0}.pack-list{display:grid;grid-template-columns:1fr 1fr;gap:11px}.pack-item{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:11px;padding:15px;background:#fff;cursor:pointer}.pack-item span{flex:1;min-width:0}.pack-item strong{font-size:12px;font-weight:600;line-height:1.7;display:block}.pack-item small{display:block;margin-top:7px;font-size:10px}.pack-item a{color:#8ca179}.pack-item a svg{width:15px}.pack-item:has(input:checked){border-color:#a4b78a;background:#f3f7ed}.coverage-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:20px 0}.coverage-stats>div{background:#f3f6ed;padding:16px;border-radius:12px;text-align:center}.coverage-stats strong{display:block;font-size:27px;color:#658447}.coverage-stats span{display:block;font-size:11px;line-height:1.7;color:#7e8f6a}.source-note p{font-size:13px;color:#576f4a}.source-note h2{font-size:21px}.resource-card h3{font-size:15px}.resource-card small{line-height:1.8}.resource-card>a{font-size:12px}.faq-list p{font-size:13px;color:#5d7451}.faq-list summary{font-size:14px}.backup-panel h3{font-size:15px}.backup-panel p{font-size:12px;line-height:1.8}.grade-table td,.grade-table th{text-align:start}.grade-table td:first-child{line-height:1.6}.grade-table input{font-size:13px}.calc-output{font-size:13px;color:#496d37}.form-group{font-size:12px}.field{font-size:13px}.planner-form h2{font-size:18px}.planner-form .form-group{font-size:11px}.plan-item h3{font-size:13px;line-height:1.8}.plan-item small{font-size:11px}.timer-box h3{font-size:15px}.timer-box small{font-size:11px}.plan-day{font-size:13px;margin:18px 0 10px}.search-result h3{font-size:14px}.search-result p{font-size:11px}.search-box input{font-size:14px}.toast{font-size:13px}.pagination{font-size:13px}.notice{font-size:12px;line-height:1.9}.site-footer{font-size:11px}.source-inline a{overflow-wrap:anywhere}
@media(min-width:1500px){.hero h2{font-size:44px}.hero-copy p{font-size:15px}.study-card h3{font-size:17px}}
@media(max-width:1200px){html[dir=ltr] .workspace{margin-left:215px}.resource-catalog-grid,.exam-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero h2{font-size:31px}.hero-actions .button{font-size:10px}.hero-copy p{font-size:12px}.hero .eyebrow{font-size:9px}.page-top h1{font-size:25px}.date-tag{display:none}.stats-strip .stat-value{font-size:25px}.stats-strip .stat-label{font-size:9px}.exam-banner h2{font-size:19px}.exam-banner .button{font-size:11px}.brand-name{font-size:22px!important}}
@media(max-width:1000px){html[dir=ltr] .workspace{margin-left:200px}.topbar{gap:13px}.context{max-width:240px}.language-toggle{font-size:10px;padding:6px 9px}.search-trigger{width:180px}.search-trigger span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.library-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-query{grid-column:span 1}.subject-card h3{font-size:14px}.hero{grid-template-columns:1.3fr .7fr}.hero h2{font-size:29px}.hero-copy p{font-size:12px}.hero-art svg{max-width:225px}.exam-banner{padding:22px;gap:18px}.exam-banner h2{font-size:17px}.exam-banner p{font-size:11px}.lesson-aside h2{font-size:16px}.coverage-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){html[dir=ltr] .workspace{margin-left:0}html[dir=ltr] .sidebar{left:-270px;right:auto;transition:left .2s}html[dir=ltr] .sidebar.is-open{left:0}html[dir=ltr] .mobile-menu{left:17px;right:auto}html[dir=ltr] .topbar{padding-left:65px;padding-right:20px}html[dir=ltr] .context{margin-right:auto;margin-left:0}.topbar{gap:12px}.search-trigger{width:180px}.context{font-size:9px}.context b{font-size:10px}.exam-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero h2{font-size:32px}.hero-art svg{max-width:260px}}
@media(max-width:600px){html[dir=ltr] .topbar{padding-right:14px}.topbar{gap:9px}.context{font-size:8px;max-width:180px}.context b{font-size:9px}.language-toggle{font-size:10px;padding:5px 7px}.search-trigger{width:32px;min-width:32px;height:32px;padding:7px}.page-top h1{font-size:24px}.page-top p{font-size:12px;line-height:1.8}.hero{padding:27px 23px}.hero h2{font-size:31px;line-height:1.3;letter-spacing:-1px}.hero-copy p{font-size:12px;line-height:1.9;margin-top:14px}.hero .eyebrow{font-size:9px;line-height:1.9;letter-spacing:.5px}.hero-actions{align-items:stretch;flex-direction:column}.hero-actions .button{justify-content:center;font-size:12px}.stats-strip{grid-template-columns:repeat(2,1fr);padding:12px;gap:15px 0}.stat{flex-direction:row;text-align:start;padding:7px 12px;align-items:center}.stat:nth-child(2){border:0}.stats-strip .stat-value{font-size:26px}.stats-strip .stat-label{font-size:10px}.stat-icon{width:32px;height:32px}.exam-banner{display:block;padding:23px;margin-bottom:27px}.exam-banner h2{font-size:21px;line-height:1.5}.exam-banner p{font-size:12px;margin:10px 0 18px}.exam-banner .button{font-size:12px}.section-heading h2{font-size:19px}.section-heading p{font-size:11px}.section-heading>a{font-size:10px}.subject-grid{grid-template-columns:1fr 1fr;gap:11px}.subject-card{padding:16px 13px}.subject-card h3{font-size:12px;line-height:1.65;min-height:57px}.subject-card .subject-fr{font-size:9px;min-height:33px}.subject-card .card-bottom{font-size:9px}.subject-card .badge{font-size:7px;padding:3px 5px}.subject-card-top{gap:4px}.subject-icon{width:34px;height:34px}.subject-header h1{font-size:21px}.subject-header p{font-size:11px}.subject-actions{gap:8px;margin:19px 0 25px}.subject-actions .button{font-size:11px;padding:10px 12px}.library-filters{padding:17px;gap:13px 10px}.library-filters label{font-size:10px}.library-filters .field{font-size:11px;padding:10px 8px}.filter-query{grid-column:span 2}.result-summary{font-size:11px;line-height:1.9}.resource-catalog-grid,.exam-grid{grid-template-columns:1fr;gap:13px}.study-card{padding:20px}.study-card h3{font-size:17px;line-height:1.6;margin:13px 0}.study-card>p{font-size:13px}.study-card .badge{font-size:9px}.study-card .subject-label{font-size:11px}.study-card-bottom{font-size:11px}.lesson-title h1{font-size:25px}.lesson-title .subtitle{font-size:12px}.lesson-title .tools .button{font-size:10px;line-height:1.6}.reader-badges .badge{font-size:9px}.lesson-content p{font-size:14px;line-height:2}.lesson-content h2{font-size:20px}.lesson-tabs{overflow-x:auto;flex-wrap:nowrap}.lesson-tabs button{font-size:11px;white-space:nowrap}.lesson-layout{gap:16px}.lesson-row h3{font-size:13px}.lesson-row p{font-size:10px}.objective-list{font-size:13px}.lesson-content .question-text{font-size:14px;padding:16px}.quiz-question h3{font-size:14px;line-height:1.9}.quiz-option{font-size:13px;line-height:1.8}.source-inline{font-size:10px}.exam-card{padding:23px}.exam-card h2{font-size:20px;min-height:0}.exam-card-heading{margin-bottom:15px}.exam-year{font-size:34px}.exam-meta .badge{font-size:10px}.exam-buttons .button{font-size:12px}.exam-card .source-inline{font-size:10px}.exam-filters{grid-template-columns:1fr 1fr}.exam-filters label:first-child{grid-column:span 2}.pack-list{grid-template-columns:1fr}.pack-item strong{font-size:13px}.pack-item small{font-size:11px}.pack-controls .form-grid{grid-template-columns:1fr}.pack-controls .subject-actions .button{width:100%;justify-content:center}.coverage-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.coverage-stats span{font-size:11px}.source-note p{font-size:12px;line-height:2}.source-note h2{font-size:20px}.source-note{padding:21px}.resource-card h3{font-size:15px}.faq-list summary{font-size:13px;line-height:1.9}.faq-list p{font-size:12px;line-height:2}.backup-panel h3{font-size:15px}.backup-panel p{font-size:12px}.mock-question{padding:20px}.mock-question h2{font-size:16px}.mock-question .section-heading{align-items:start}.mock-timer{font-size:20px;padding:10px}.mock-question .question-text{font-size:13px}.mock-correction .course-note{font-size:11px}.history-grid{grid-template-columns:1fr 1fr}.form-grid label{font-size:12px}.quiz-config h2{font-size:23px}.quiz-config>p{font-size:12px;line-height:1.9}.planner-form .form-grid{grid-template-columns:1fr 1fr}.planner-form .form-group.full{grid-column:1/-1}.grade-table{font-size:11px}.grade-table input{width:58px;font-size:12px}.site-footer{font-size:10px}.search-box input{font-size:12px}.search-result h3{font-size:13px}.search-result p{font-size:10px}.breadcrumbs{font-size:10px;line-height:1.9}.terms-list>div{font-size:11px}.toast{font-size:12px}}
@media print{.print-root{font-family:Arial,Tahoma,sans-serif;color:#111;font-size:12px}.print-root article{break-before:page}.print-root article:first-child{break-before:auto}.print-root article[dir=ltr] ul,.print-root article[dir=ltr] ol{padding-left:22px;padding-right:0}.print-root .solution-steps{list-style:decimal;counter-reset:none}.print-root .solution-steps li{padding:4px 0}.print-root .solution-steps li:before{display:none}.print-root .print-question{border:1px solid #ccd8cd;padding:12px;white-space:pre-line}.print-root .writing-space{height:140px;border-bottom:1px dashed #aaa}.print-root .icon{display:none}.print-root .source-inline{font-size:10px}.print-root a{overflow-wrap:anywhere}.print-root .solution-answer{border:1px solid #bbb;background:#f5f5f5;color:#111;font-size:12px}.print-root .print-footer{line-height:1.9}.language-toggle{display:none}}
