.printable-sheet{background:white;color:black;box-sizing:border-box;direction:ltr;text-align:left;font-family:"Tajawal",var(--font-arabic),var(--font-sans),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}.printable-sheet.rtl,.printable-sheet[dir=rtl]{direction:rtl;text-align:right}.printable-sheet.ltr,.printable-sheet[dir=ltr]{direction:ltr;text-align:left}.page-break-after{page-break-after:always}.header-table{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid black;padding-bottom:8px;margin-bottom:8px;font-size:10pt;break-after:avoid;break-inside:avoid}.header-table .top-left{text-align:left}.header-table .top-right{text-align:right}.student-info-table{display:grid;grid-template-columns:2fr auto auto auto;gap:8px 12px;padding-bottom:8px;margin-bottom:8px;font-size:11pt;width:100%;align-items:baseline;break-after:avoid;break-inside:avoid}.info-cell.name{grid-column:1/2}.info-cell.class{grid-column:2/3}.info-cell.number{grid-column:3/4}.info-cell.final-grade{grid-column:4/5;justify-self:end}.info-cell{padding:2px}.final-grade{display:flex;align-items:center;justify-content:flex-end}.grade-box{border:2px solid black;padding:2px 8px;margin-left:8px;font-weight:700}.calculator-notice{text-align:center;margin-bottom:12px;font-size:10pt;font-style:italic}.exercises-layout,.two-column-layout{column-count:1;column-gap:0;width:100%}.one-column-layout,.series-exercises-container .series-exercises-layout,.series-exercises-container .two-column-layout,.series-exercises-layout{column-count:1!important;column-gap:0!important;width:100%!important;display:block!important}.one-column-layout .exercise-block,.series-exercises-container .exercise-block,.series-exercises-layout .exercise-block{width:100%!important;break-inside:avoid;margin-bottom:1.5rem}.editor-active .two-column-layout{column-count:1}.exercise-block{break-inside:auto;padding-bottom:1rem;margin-bottom:1rem}.activite-block p,.activity-content p,.activity-design-block p,.correction-block p,.exercise-block li,.exercise-block p,.pour-eleve p,.practice-exam-content li,.practice-exam-content p,.printable-sheet li,.printable-sheet p{line-height:1.8;font-size:13pt}.printable-sheet .exercise-block p,.series-exercises-container .exercise-block p{margin-top:.35rem;margin-bottom:.35rem}.printable-sheet .exercise-block .katex-display,.series-exercises-container .exercise-block .katex-display{margin-top:.4rem;margin-bottom:.4rem}.katex .op-limits{text-align:center}.katex-html:not(.katex-display .katex-html),.katex:not(.katex-display .katex),.katex:not(.katex-display .katex) .base,.math-inline,.math-render.math-inline,span[data-katex-source]:not(.math-block){white-space:nowrap!important;vertical-align:initial!important}.activite-block .activity-didactic-guidance,.activity-didactic-guidance,.printable-sheet .activity-didactic-guidance{display:none!important}.exercise-title-header,.series-exercises-container .exercise-block .pour-eleve>p:first-child,.series-exercises-container .exercise-block p[style*="font-size: 14pt"],.series-exercises-container .exercise-block p[style*="font-size:14pt"]{font-size:clamp(1.35rem,4.5vw,1.6rem)!important;font-weight:800!important;line-height:1.3!important;letter-spacing:.02em;margin-top:.5rem!important;margin-bottom:4px!important;color:#dc2626!important;display:block}.dark .exercise-title-header,.dark .series-exercises-container .exercise-block .pour-eleve>p:first-child,.dark .series-exercises-container .exercise-block p[style*="font-size: 14pt"],.dark .series-exercises-container .exercise-block p[style*="font-size:14pt"]{color:#ef4444!important}.dark .series-exercises-container .exercise-block hr{border-top-color:#ef4444!important}@media print{.dark .series-exercises-container .exercise-block .pour-eleve>p:first-child,.dark .series-exercises-container .exercise-block p[style*="font-size: 14pt"],.dark .series-exercises-container .exercise-block p[style*="font-size:14pt"],.exercise-title-header,.series-exercises-container .exercise-block .pour-eleve>p:first-child,.series-exercises-container .exercise-block p[style*="font-size: 14pt"],.series-exercises-container .exercise-block p[style*="font-size:14pt"]{font-size:14pt!important;font-weight:700!important;line-height:1.2!important;color:red!important;margin-top:0!important;margin-bottom:2px!important}.dark .series-exercises-container .exercise-block hr{border-top-color:red!important}}.exercise-title{font-size:1.1em;padding:.5rem 0;border-top:1.5px solid #333;border-bottom:1.5px solid #333;text-align:center;margin:1.5rem 0}.exercise-title strong{font-weight:700}.dotted-line{border-bottom:1px dotted #b0b0b0;height:1.6em;margin:0;padding:0}.summary-table th{background:linear-gradient(135deg,#1e40af,#3b82f6);color:white;padding:14px 18px;text-align:center;font-weight:800;border-bottom:2px solid #1e40af;text-transform:uppercase;letter-spacing:.5px}.summary-table td{padding:12px 18px;border-bottom:1px solid #e2e8f0;border-left:1px solid #e2e8f0;text-align:center;background:white;transition:background-color .2s}.summary-table tr:hover td{background-color:#f1f5f9!important}.summary-table tr:last-child td{border-bottom:none}.summary-table td:last-child{border-left:none}.summary-table tr:nth-child(2n) td{background-color:#f8fafc}.summary-table td:first-child{font-weight:700;color:#1e40af;background-color:#f1f5f9;border-left:2px solid #1e40af}.tableau-signes-wrapper{margin:1.25rem auto!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch;text-align:center!important;display:block!important;page-break-inside:avoid!important;break-inside:avoid!important}.tableau-signes{margin:0 auto!important;min-width:420px!important;border-collapse:collapse!important;border:2px solid #1e293b!important;background:#ffffff!important;border-radius:8px!important;box-shadow:0 4px 12px rgba(15,23,42,.06)!important;text-align:center!important;font-size:11pt!important;line-height:1.5!important;display:inline-table!important;direction:ltr!important}.tableau-signes thead tr.header-row{background:linear-gradient(180deg,#f8fafc,#f1f5f9)!important;border-bottom:2px solid #1e293b!important}.tableau-signes td,.tableau-signes th{padding:8px 12px!important;vertical-align:middle!important;text-align:center!important}.tableau-signes td.col-expr,.tableau-signes th.col-expr{font-weight:700!important;color:#0f172a!important;background:#f8fafc!important;border-right:2.5px solid #1e293b!important;min-width:90px!important;white-space:nowrap!important}.tableau-signes th.col-bound{font-weight:600!important;color:#334155!important;min-width:48px!important;padding:8px 10px!important}.tableau-signes th.col-root{font-weight:700!important;color:#0f172a!important;min-width:60px!important;padding:8px 12px!important}.tableau-signes th.col-interval-spacer{min-width:65px!important;padding:8px!important}.tableau-signes td.col-sign{font-size:13.5pt!important;font-weight:700!important;padding:10px 14px!important;min-width:65px!important}.tableau-signes td.col-sign.col-sign-plus{color:#15803d!important}.tableau-signes td.col-sign.col-sign-minus{color:#b91c1c!important}.tableau-signes td.col-marker{padding:0!important;position:relative!important;min-width:55px!important;height:100%!important}.tableau-signes .zero-line{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;height:100%!important;min-height:42px!important;width:100%!important}.tableau-signes .zero-line:before{content:""!important;position:absolute!important;top:0!important;bottom:0!important;left:50%!important;width:1.5px!important;background-color:#64748b!important;transform:translateX(-50%)!important;z-index:1!important}.tableau-signes .zero-line .zero-badge{position:relative!important;z-index:2!important;background:#ffffff!important;padding:1px 6px!important;font-weight:700!important;font-size:11pt!important;color:#0f172a!important;border-radius:50%!important;border:1px solid #94a3b8!important;box-shadow:0 1px 3px rgba(0,0,0,.08)!important;display:inline-block!important;line-height:1.2!important}.tableau-signes .forbidden-line{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;height:100%!important;min-height:42px!important;width:100%!important}.tableau-signes .forbidden-line:before{left:calc(50% - 3px)!important}.tableau-signes .forbidden-line:after,.tableau-signes .forbidden-line:before{content:""!important;position:absolute!important;top:0!important;bottom:0!important;width:1.5px!important;background-color:#dc2626!important;z-index:1!important}.tableau-signes .forbidden-line:after{left:calc(50% + 3px)!important}.tableau-signes .separator-bar{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;height:100%!important;min-height:42px!important;width:100%!important}.tableau-signes .separator-bar:before{content:""!important;position:absolute!important;top:0!important;bottom:0!important;left:50%!important;width:1px!important;background-color:#cbd5e1!important;transform:translateX(-50%)!important;z-index:1!important}.tableau-signes tbody tr{border-bottom:1px solid #cbd5e1!important}.tableau-signes tbody tr:last-child{border-bottom:none!important}.math-table{border:2px solid #1e293b!important;border-collapse:collapse!important;margin:1.5rem auto!important;width:auto!important;min-width:320px!important;border-radius:6px!important;overflow:hidden!important;background:#ffffff!important;box-shadow:0 2px 8px rgba(15,23,42,.05)!important}.math-table td,.math-table th{border:1px solid #cbd5e1!important;padding:8px 15px!important;text-align:center!important;background:white!important}.math-table .header-row,.math-table thead tr{background-color:#f1f5f9!important;font-weight:700!important;border-bottom:2px solid #1e293b!important}.document-title{text-align:center;font-size:14pt;font-weight:700;margin-bottom:1rem;padding-bottom:8px;border-bottom:2px solid black;break-after:avoid;break-inside:avoid}.document-title h2{margin:0;font-size:16pt}.document-title p{margin:4px 0 0;font-size:11pt;font-weight:400}.correction-intro{font-style:italic;text-align:center;padding:10px;background-color:#f3f4f6;border-radius:4px;margin-bottom:1rem}.conseils-box{margin-top:1rem;padding:.75rem;border:1px dashed #4a5568;border-radius:8px;background-color:#f7fafc;font-size:10pt}.conseils-box h4{font-weight:700;font-size:1.1em;margin-bottom:.5rem;color:#2d3748}.conseils-box ul{list-style-type:disc;padding-left:20px;margin-bottom:.5rem}.conseils-box .motivation-quote{font-style:italic;font-weight:700;text-align:center;color:#4a5568;margin-top:.75rem}.correction-layout{column-count:2;column-gap:1.5cm;column-fill:balance;flex-grow:1}.note-to-parents{background-color:#eef2ff;border:1px solid #818cf8;border-radius:8px;padding:12px;margin-top:1.5rem;font-size:10pt;color:#4338ca}.note-to-parents h4{font-weight:700;font-size:1.1em;margin:0 0 4px}.note-to-parents p{margin:0}.fiches-grid-container{display:grid;grid-template-columns:1fr;gap:2rem;padding:1rem}.fiche-container{background-color:hsl(var(--card));border-radius:var(--radius);border:1px solid hsl(var(--border));box-shadow:0 4px 12px rgba(0,0,0,.05);display:flex;flex-direction:column}.fiche-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1.25rem;border-bottom:1px solid hsl(var(--border))}.fiche-header h2{font-size:1.1rem;font-weight:600;color:hsl(var(--primary))}.fiche-header .button-group{display:flex;gap:.5rem}.fiche-body-content{padding:0;margin:0;overflow-y:auto}.expressions-grid{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;align-items:baseline;margin-top:.75rem}.math-expression{font-size:11pt;padding-bottom:.5rem;white-space:nowrap}.exercise-instruction{display:block;margin-bottom:15px;font-family:inherit}.choices-container{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem 1.5rem;margin-top:1rem;align-items:baseline}.choice{display:flex;align-items:baseline;gap:.5rem}.calculation-steps{margin:.75rem 0;font-size:11pt}.calculation-steps p{line-height:1.8}hr.exercise-separator{margin-top:1.5rem;margin-bottom:1rem;border-top:1px solid #ccc}.printable-sheet.editor-active .two-column-layout{column-count:1}.figure-placeholder{border:1.5px dashed #cbd5e1;background-color:#f8fafc;padding:.75rem 1rem;text-align:center;margin-top:.5rem;margin-bottom:.5rem;min-height:60px;border-radius:8px;display:flex;justify-content:center;align-items:center;font-size:.875rem;color:#64748b}.dark .figure-placeholder{border-color:#334155;background-color:rgba(15,23,42,.3);color:#94a3b8}.figure-placeholder img[src=""]{display:none}.imported-figure{max-width:100%;height:auto}[contenteditable=true] img{cursor:pointer}[contenteditable=true] img.resizable{outline:2px dashed hsl(var(--primary));outline-offset:2px}.resize-handle{position:absolute;width:12px;height:12px;background-color:hsl(var(--primary));border:2px solid white;border-radius:50%;z-index:10;box-shadow:0 1px 3px rgba(0,0,0,.2)}.resize-handle.top-left{top:-6px;left:-6px;cursor:nwse-resize}.resize-handle.top-right{top:-6px;right:-6px;cursor:nesw-resize}.resize-handle.bottom-left{bottom:-6px;left:-6px;cursor:nesw-resize}.resize-handle.bottom-right{bottom:-6px;right:-6px;cursor:nwse-resize}@page{size:A4 portrait;margin:.5cm}@media print{body,html{font-size:13.5pt!important;-webkit-text-size-adjust:100%!important;-ms-text-size-adjust:100%!important}.correction-layout,.two-column-layout{column-fill:balance!important;column-gap:.8cm!important}.practice-exam-content{box-decoration-break:clone}.exercise-block{break-inside:auto!important;page-break-inside:auto!important;padding-bottom:.3rem!important;margin-bottom:.4rem!important}.exercise-block>p:first-child,.exercise-header,p:has(>strong:first-child){break-after:avoid!important;page-break-after:avoid!important}.header-table{font-size:9pt!important}.document-title{font-size:12pt!important;margin-bottom:.5rem!important}*{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.math-table,.tableau-signes,.tableau-signes-wrapper{break-inside:avoid!important;page-break-inside:avoid!important;box-shadow:none!important}.tableau-signes{border:2px solid #000000!important}.tableau-signes thead tr.header-row{border-bottom:2px solid #000000!important;background:#f1f5f9!important}.tableau-signes td.col-expr,.tableau-signes th.col-expr{border-right:2.5px solid #000000!important;background:#f8fafc!important}.tableau-signes .zero-line:before{background-color:#000000!important}.tableau-signes .zero-line .zero-badge{border:1px solid #000000!important;background:#ffffff!important}.one-column-layout,.series-exercises-layout,[data-module-type=series-exercices] .series-exercises-layout,[data-module-type=series-exercices] .two-column-layout{column-count:1!important;column-gap:0!important;width:100%!important}}[data-print-layout="1-column"] .correction-layout,[data-print-layout="1-column"] .diag-questions-grid,[data-print-layout="1-column"] .exercises-layout,[data-print-layout="1-column"] .one-column-layout,[data-print-layout="1-column"] .series-exercises-layout,[data-print-layout="1-column"] .two-column-layout{column-count:1!important;column-gap:0!important}[data-print-layout="2-columns"] .correction-layout,[data-print-layout="2-columns"] .diag-questions-grid,[data-print-layout="2-columns"] .exercises-layout,[data-print-layout="2-columns"] .practice-exam-content .exercises-layout,[data-print-layout="2-columns"] .practice-exam-content .two-column-layout,[data-print-layout="2-columns"] .two-column-layout{column-count:2!important;column-gap:.7cm!important;column-rule:1px dashed #cbd5e1!important;column-fill:auto!important}[data-print-layout="2-columns"] .printable-sheet{font-size:11pt!important;line-height:1.45!important}[data-print-layout="2-columns"] .exercise-block p,[data-print-layout="2-columns"] .practice-exam-content p,[data-print-layout="2-columns"] .printable-sheet p{font-size:10.5pt!important;line-height:1.45!important;margin-top:2px!important;margin-bottom:3px!important}[data-print-layout="2-columns"] .exercise-block{margin-bottom:6px!important;padding-bottom:2px!important;break-inside:auto!important;page-break-inside:auto!important}[data-print-layout="2-columns"] .dotted-line{height:1.15em!important;line-height:1.15em!important}[data-print-layout="1-column"] .correction-print-columns{column-count:1!important}[data-print-layout="2-columns"] .correction-print-columns{column-count:2!important;column-gap:1.5cm;column-fill:balance}.socratic-hint{padding:10px 14px;border-radius:0 8px 8px 0;margin-bottom:10px;font-size:.92rem;line-height:1.5;box-shadow:0 1px 3px rgba(0,0,0,.05)}.socratic-hint.orientation-hint{background-color:#fefce8;border-left:4px solid #eab308;color:#713f12}.socratic-hint.guidance-hint{background-color:#eef2ff;border-left:4px solid #6366f1;color:#312e81}.socratic-solution{background-color:#f0fdf4;border-left:4px solid #10b981;padding:12px 16px;border-radius:0 8px 8px 0;margin-top:10px}.diag-sheet{font-family:"Tajawal",var(--font-arabic),var(--font-sans),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:#1e293b;line-height:1.5;width:100%}.diag-header-card{border:2px solid #1e40af!important;border-radius:12px!important;padding:16px 20px!important;margin-bottom:18px!important;background:linear-gradient(135deg,#eff6ff,#ffffff 50%,#f8fafc)!important;box-shadow:0 4px 12px rgba(30,64,175,.08)!important}.diag-student-info{display:grid;grid-template-columns:2fr 1fr .8fr 1.2fr;gap:8px 14px;padding:8px 14px;margin-bottom:12px;background:#f8fafc;border:1.5px solid #cbd5e1;border-radius:8px;font-size:9.5pt;align-items:center}.diag-grade-box{border:2px solid #1e40af;border-radius:6px;padding:2px 10px;font-weight:700;color:#1e40af;background:#ffffff;display:inline-block;margin-left:6px}.diag-title-bar{display:flex;justify-content:space-between;align-items:center;border-top:2px solid #bfdbfe;padding-top:10px;margin-top:8px;flex-wrap:wrap;gap:8px}.diag-title-bar h2{margin:0;color:#1e40af;font-size:13pt;font-weight:800;letter-spacing:.3px}.diag-consigne-box{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:8px 14px;font-size:9pt;color:#334155;text-align:center;margin-top:10px}.diag-meta-bar{display:flex;justify-content:space-between;align-items:center;padding:6px 12px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:6px;font-size:8.5pt;color:#475569;margin-top:8px}.diag-badge{background:#1e40af;color:white;padding:2px 10px;border-radius:12px;font-weight:700;font-size:8pt}.diag-questions-container{border:2px solid #1e40af!important;border-radius:12px!important;padding:16px!important;background:#ffffff!important;box-shadow:0 4px 12px rgba(30,64,175,.08)!important}.diag-question-card{break-inside:avoid!important;page-break-inside:avoid!important;border:1.5px solid #e2e8f0!important;border-radius:10px!important;padding:12px 14px!important;margin-bottom:12px!important;background:#ffffff!important;box-shadow:0 2px 5px rgba(0,0,0,.03)!important;transition:all .2s ease}.diag-question-card:hover{border-color:#93c5fd!important;box-shadow:0 4px 12px rgba(30,64,175,.08)!important}.diag-q-header{display:flex;align-items:flex-start;gap:10px;margin-bottom:8px}.diag-q-number{background:linear-gradient(135deg,#1e40af,#3b82f6);color:white;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:9pt;flex-shrink:0;box-shadow:0 2px 4px rgba(30,64,175,.25)}.diag-q-text{font-size:10pt;font-weight:600;color:#1e293b;line-height:1.5;flex:1}.diag-choices-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px 10px;margin-top:8px}.diag-choice-box{display:flex;align-items:center;gap:8px;padding:6px 10px;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:8px;font-size:9.5pt;cursor:pointer;transition:all .15s ease-in-out}.diag-choice-box:hover{background:#eff6ff;border-color:#3b82f6;transform:translateY(-1px)}.diag-choice-badge{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;border:1.5px solid #2563eb;background:#eff6ff;color:#1e40af;font-weight:700;font-size:8.5pt;flex-shrink:0}.diag-choice-text{flex:1;color:#1e293b;word-break:break-word}.dark .diag-sheet{color:hsl(var(--foreground))!important;background:transparent!important}.dark .diag-header-card{background:hsl(var(--card))!important;background-image:none!important;border:2px solid hsl(var(--primary)/.5)!important;box-shadow:0 4px 18px rgba(0,0,0,.45)!important;color:hsl(var(--foreground))!important}.dark .diag-header-card .header-table{border-bottom:2px solid hsl(var(--border))!important}.dark .diag-header-card .header-cell,.dark .diag-header-card .header-cell strong,.dark .diag-header-card .header-table{color:hsl(var(--foreground))!important}.dark .diag-header-card .header-cell.top-left strong,.dark .diag-header-card .header-cell.top-right strong{color:hsl(var(--primary))!important}.dark .diag-header-card .header-cell span{color:hsl(var(--muted-foreground))!important}.dark .diag-header-card .header-cell span strong{color:hsl(var(--foreground))!important}.dark .diag-header-card img[src*=men-logo],.dark .header-cell img[src*=men-logo],.dark .printable-sheet img[src*=men-logo]{background:rgba(255,255,255,.95)!important;padding:4px 12px!important;border-radius:8px!important;box-shadow:0 2px 8px rgba(0,0,0,.35)!important;display:inline-block!important}.dark .diag-student-info{background:hsl(var(--muted)/.45)!important;border:1.5px solid hsl(var(--border))!important}.dark .diag-student-info,.dark .diag-student-info .info-cell,.dark .diag-student-info strong{color:hsl(var(--foreground))!important}.dark .diag-grade-box{background:hsl(var(--card))!important;border:2px solid hsl(var(--primary))!important;color:hsl(var(--primary))!important;box-shadow:0 2px 6px rgba(0,0,0,.25)!important}.dark .diag-title-bar{border-top:2px solid hsl(var(--border))!important}.dark .diag-title-bar h2{color:hsl(var(--primary))!important}.dark .diag-title-bar div:last-child{background:hsl(var(--primary)/.15)!important;color:hsl(var(--primary))!important;border:1px solid hsl(var(--primary)/.4)!important}.dark .diag-consigne-box{background:hsl(var(--muted)/.5)!important;border:1px solid hsl(var(--border))!important;color:hsl(var(--muted-foreground))!important}.dark .diag-consigne-box strong{color:hsl(var(--foreground))!important}.dark .diag-meta-bar{background:hsl(var(--muted)/.35)!important;border:1px dashed hsl(var(--border))!important;color:hsl(var(--muted-foreground))!important}.dark .diag-meta-bar strong{color:hsl(var(--foreground))!important}.dark .diag-badge{background:hsl(var(--primary))!important;color:hsl(var(--primary-foreground))!important;box-shadow:0 2px 6px rgba(0,0,0,.25)!important}.dark .diag-questions-container{border:2px solid hsl(var(--primary)/.5)!important;box-shadow:0 4px 18px rgba(0,0,0,.45)!important}.dark .diag-question-card,.dark .diag-questions-container{background:hsl(var(--card))!important;color:hsl(var(--foreground))!important}.dark .diag-question-card{border:1.5px solid hsl(var(--border))!important;box-shadow:0 2px 8px rgba(0,0,0,.2)!important}.dark .diag-question-card:hover{border-color:hsl(var(--primary)/.7)!important;background:hsl(var(--muted)/.3)!important;box-shadow:0 4px 14px rgba(0,0,0,.35)!important}.dark .diag-q-number{background:linear-gradient(135deg,hsl(var(--primary)) 0,hsl(var(--primary)/.8) 100%)!important;color:#ffffff!important;box-shadow:0 2px 6px rgba(0,0,0,.35)!important}.dark .diag-choice-box,.dark .diag-q-text{color:hsl(var(--foreground))!important}.dark .diag-choice-box{background:hsl(var(--muted)/.35)!important;border:1.5px solid hsl(var(--border))!important}.dark .diag-choice-box:hover{background:hsl(var(--primary)/.18)!important;border-color:hsl(var(--primary))!important;transform:translateY(-1px)}.dark .diag-choice-badge{background:hsl(var(--primary)/.22)!important;color:hsl(var(--primary))!important;border:1.5px solid hsl(var(--primary)/.6)!important}.dark .diag-choice-box:hover .diag-choice-badge{background:hsl(var(--primary))!important;color:hsl(var(--primary-foreground))!important;border-color:hsl(var(--primary))!important}.dark .diag-choice-text{color:hsl(var(--foreground))!important}.dark .diag-sheet .dotted-line{border-bottom:1px dashed hsl(var(--border))!important}.dark .diag-footer{background:hsl(var(--muted)/.3)!important;border-top:1.5px dashed hsl(var(--border))!important;color:hsl(var(--muted-foreground))!important}.dark .socratic-hint.orientation-hint{background-color:hsl(45 93% 15%/.45)!important;border-left:4px solid #f59e0b!important;color:#fef08a!important}.dark .socratic-hint.orientation-hint strong{color:#fde047!important}.dark .socratic-hint.orientation-hint em{color:#fef08a!important}.dark .socratic-hint.guidance-hint{background-color:hsl(235 86% 20%/.45)!important;border-left:4px solid #818cf8!important;color:#e0e7ff!important}.dark .socratic-hint.guidance-hint strong{color:#c7d2fe!important}.dark .socratic-hint.guidance-hint em{color:#e0e7ff!important}.dark .socratic-solution{background-color:hsl(150 84% 15%/.35)!important;border-left:4px solid #34d399!important;color:#d1fae5!important}.resume-content{line-height:1.6}.printable-sheet.resume-content p,.resume-content p{margin-top:.25rem!important;margin-bottom:.25rem!important;line-height:1.6!important}.printable-sheet.resume-content .competence-title,.printable-sheet.resume-content h3,.resume-content .competence-title,.resume-content h3{color:#dc2626!important;border-bottom-color:#dc2626!important;margin-top:1rem!important;margin-bottom:.4rem!important}.dark .printable-sheet.resume-content .competence-title,.dark .printable-sheet.resume-content h3,.dark .resume-content .competence-title,.dark .resume-content h3{color:#f87171!important;border-bottom-color:#f87171!important}.printable-sheet.resume-content h4,.resume-content h4{margin-top:.5rem!important;margin-bottom:.25rem!important}.printable-sheet.resume-content h5,.resume-content h5{margin-top:.35rem!important;margin-bottom:.2rem!important}.printable-sheet.resume-content .katex-display,.resume-content .katex-display{margin:.35rem 0!important}.course-concept-card{background:#f0fdf4;border:1px solid #bbf7d0;border-left:4px solid #16a34a;border-radius:.75rem;padding:.9rem 1.15rem;margin:.65rem 0;box-shadow:0 1px 3px rgba(22,163,74,.05)}.course-concept-card h4,.course-concept-card h4 span,.resume-content .activity-correction-box h4,.resume-content .activity-correction-box h4 span,.resume-content .course-concept-card h4,.resume-content .course-concept-card h4 span{color:#15803d!important}.course-concept-card .formula-box{background:rgba(255,255,255,.85);border:1px dashed #86efac;border-radius:.5rem;padding:.4rem .75rem;margin:.4rem 0;color:#166534}.resume-content .activity-correction-box h4 span,.resume-content .bg-blue-500,.resume-content .bg-blue-600,.resume-content .bg-blue-700,.resume-content .course-concept-card h4 span,.resume-content [class*=bg-blue]{background:transparent!important;background-color:initial!important;box-shadow:none!important}.resume-content .text-blue-700,.resume-content .text-blue-800{color:#15803d!important}.resume-content .border-blue-500\/20{border-color:rgba(22,163,74,.25)!important}.geometric-figure-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.75rem;padding:.85rem 1.15rem;margin:.65rem 0;text-align:left;box-shadow:0 1px 2px rgba(0,0,0,.04)}.figure-drawing-area{min-height:85px;border:1.5px dashed #cbd5e1;border-radius:8px;background:rgba(255,255,255,.6);display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:.85rem;margin-top:.5rem}.resume-content .activity-correction-box{background:#ecfdf5;border:1px solid #a7f3d0;border-left:4px solid #059669;border-radius:.75rem;padding:.9rem 1.15rem;margin:.65rem 0;box-shadow:0 1px 3px rgba(5,150,105,.05)}.resume-content .activity-correction-box h4{color:#065f46}.resume-content .activity-correction-box h5{color:#047857}.printable-sheet.resume-content .final-answer,.printable-sheet.resume-content .katex .boxed,.printable-sheet.resume-content .katex .mord.boxed,.printable-sheet.resume-content .katex span.boxed,.resume-content .final-answer,.resume-content .katex .boxed,.resume-content .katex .mord.boxed,.resume-content .katex span.boxed{border:2px solid #059669!important;border-radius:6px!important;padding:2.5px 8px!important;background-color:rgba(236,253,245,.9)!important;color:#065f46!important;font-weight:700!important;box-shadow:0 1px 3px rgba(5,150,105,.12)!important;display:inline-block!important;margin:2px 0!important}.dark .printable-sheet.resume-content .final-answer,.dark .printable-sheet.resume-content .katex .boxed,.dark .printable-sheet.resume-content .katex .mord.boxed,.dark .printable-sheet.resume-content .katex span.boxed,.dark .resume-content .final-answer,.dark .resume-content .katex .boxed,.dark .resume-content .katex .mord.boxed,.dark .resume-content .katex span.boxed{border-color:#10b981!important;background-color:rgba(16,185,129,.2)!important;color:#a7f3d0!important}.resume-content .student-darija-box{background:#fffbeb;border:1px solid #fde68a;border-right:4px solid #f59e0b;border-radius:.65rem;padding:.75rem 1rem;margin:.65rem 0;box-shadow:0 1px 3px rgba(245,158,11,.06);direction:rtl;text-align:right}.dark .resume-content .student-darija-box{background:rgba(120,53,15,.18);border-color:rgba(245,158,11,.35) #f59e0b rgba(245,158,11,.35) rgba(245,158,11,.35)}@media print{.printable-sheet.resume-content .student-darija-box{background:#fafaf9!important;border:1px solid #d6d3d1!important;border-right:3.5px solid #d97706!important;page-break-inside:avoid}.printable-sheet{font-size:13.5pt!important}.exercise-section-title{display:none!important}.printable-sheet:not(.print-only):not(.diag-sheet):not(.remediation-sheet-container):not(.skill-remediation-layout):not(.skill-remediation-card):not(.fiche-pedagogique-content),.printable-sheet:not(.print-only):not(.diag-sheet):not(.remediation-sheet-container):not(.skill-remediation-layout):not(.skill-remediation-card):not(.fiche-pedagogique-content) li:not(.pedagogical-table li):not(.seance-block li):not(.activite-block li):not(.correction-block li),.printable-sheet:not(.print-only):not(.diag-sheet):not(.remediation-sheet-container):not(.skill-remediation-layout):not(.skill-remediation-card):not(.fiche-pedagogique-content) p:not(.pedagogical-table p):not(.seance-block p):not(.activite-block p):not(.correction-block p){font-size:13pt!important;line-height:1.6!important}.printable-sheet .header-cell,.printable-sheet .header-cell strong,.printable-sheet .header-table{font-size:9.5pt!important;line-height:1.35!important}.printable-sheet .student-info-table{font-size:11.5pt!important}.printable-sheet .document-title,.printable-sheet .document-title span{font-size:14pt!important}.printable-sheet .pedagogical-table td,.printable-sheet .pedagogical-table th{font-size:8pt!important}}.editor-active [data-katex-source]{cursor:pointer!important;outline:2px dashed rgba(59,130,246,.45)!important;outline-offset:2px;border-radius:4px;background-color:rgba(59,130,246,.05);transition:all .15s ease-in-out;display:inline-block;user-select:none}.editor-active [data-katex-source]:hover{outline:2px solid #2563eb!important;background-color:rgba(59,130,246,.12);box-shadow:0 0 8px rgba(37,99,235,.25);transform:scale(1.02)}