/* One readable Arabic family and a consistent minimum size across every page. */
:root{--mut:#66735f;--hint:#7d8976}
[data-theme=dark]{--mut:#bdc9b6;--hint:#9eaf94}
body{font-size:17px;font-weight:500;line-height:1.85}
body small{font-size:13px!important}body .muted{font-size:16px;line-height:1.85}.qkind,.qtop,.pgref,.hintlink,.tag,.demo-flag,.qrb{font-size:14px!important}.m,.mx,.mx2,bdi,sup{font-family:Baloo,Cairo,Tahoma,sans-serif!important}
body,body :is(p,span,small,button,input,select,textarea,label,summary,a,b,li,td,th,text,tspan){font-family:Baloo,Cairo,Tahoma,sans-serif!important}
.page :is(p,li){line-height:1.9}
:is(.welcome-row p,.garden-copy p,.world-copy p,.detective-copy p,.activity-copy p,.lab-intro p,.lab-spotlight p,.experiment-copy p,.unit-intro p,.unit-next p,.unit-progress-panel p,.unit-exam p,.coach-note p,.story-card p,.basics-strip small){font-size:16px!important;line-height:1.9!important;font-weight:500}
:is(.eyebrow,.unit-kicker,.lesson-state,.lesson-row-copy>small,.unit-section-heading>span,.activity-kicker,.activity-status,.experiment-name,.experiment-link,.course-foot,.course-number,.hero-footnote,.world-label,.world-bottom,.level-meta,.level-detail small,.growth-stats small,.goal-message,.daily-card>p,.story-tag,.section-note,.lab-tools-heading>span,.art-caption,.hero-label,.unit-breadcrumb,.lab-count,.fraction-note){font-size:13px!important;font-weight:500;line-height:1.65}
:is(.quick-action small,.course-card p,.daily-ring small,.pathways small,.next-step-card small,.unit-reading summary small,.race-action small){font-size:14px!important;line-height:1.7!important}
:is(.text-link,.map-link,.adventure-home,.garden-cta,.aside-button,.world-button,.spotlight-button,.unit-start,.unit-next a,.unit-lab-links a,.race-action,.exam-action,.lab-categories button,.course-search input,.coach-note a,.pathways em,.basics-link){font-size:15px!important;font-weight:500}
.unit-kicker,.lesson-state,.lesson-row-copy>small,.unit-progress-panel p,.unit-intro p,.unit-section-heading>span{color:var(--mut)}
.activity-kicker,.activity-status,.experiment-name,.experiment-link{color:var(--tx2)}
.garden-copy p,.world-copy p,.detective-copy p,.lab-spotlight p,.hero-footnote{color:#596a4c}
.coach-note p,.coach-note a{color:#766a45}
[data-theme=dark] .coach-note p,[data-theme=dark] .coach-note a{color:#d4c89e}
.course-search{width:205px}.course-card h3{line-height:1.4}.course-foot{margin-top:10px}.quick-action{gap:10px;align-items:center}.quick-action small{margin-top:5px}.daily-card>p{line-height:1.8}.daily-ring{width:150px;height:150px}.level-meta{gap:7px;flex-wrap:wrap}.level-meta b{font-size:12px!important}.level-detail b,.next-step-card b{font-size:16px}.student-profile b{font-size:15px}.student-profile small{font-size:12px}.side-brand small{font-size:11px}.class-label{font-size:14px}.class-label>span{font-size:12px}.nav-caption{font-size:12px}.side-note b,.side-note a{font-size:13px}.tabs a[data-t] span{font-size:17px}.brand{font-size:15px}.side-note{padding-top:20px}.unit-lesson-row{padding-top:22px;padding-bottom:22px}.unit-exam p{font-size:14px!important}.unit-progress-number small{font-size:14px}.unit-reading ul{font-size:16px}.experiment-row{min-height:215px}.lab-categories{gap:9px}.lab-categories button{padding:8px 16px}.pathways b{font-size:22px}.pathways{padding-top:22px;padding-bottom:22px}.activity-card{min-height:222px}.activity-copy h3{line-height:1.4}.activity-copy p{margin-bottom:16px}.adventure-footer,.garden-footer{font-size:13px}.garden-footer>span:first-child{font-size:17px}.unit-reading summary small{font-size:13px!important}.unit-next h2{font-size:24px}.unit-progress-panel p{margin-top:17px}.lesson-state .ic{width:14px;height:14px}.unit-lesson-list{border-radius:20px}.unit-progress-track{background:var(--line)}
@media(min-width:900px) and (max-width:1200px){.quick-action{gap:7px}.quick-action small{font-size:12px!important}.quick-action b{font-size:16px}.quick-icon{width:29px}.course-search{width:160px}.course-search input{font-size:13px!important}.semester-tabs button{font-size:14px}.experiment-diagram{width:115px}.experiment-row{gap:13px}.activity-visual{width:84px}.activity-copy p{font-size:14px!important}.world-copy p{font-size:15px!important}.unit-exam p{font-size:13px!important}}
@media(min-width:900px) and (max-height:800px){.side-note{display:none}.sidebar-bottom{padding-top:16px}.side-brand small{font-size:10px}.class-label{margin-top:17px;padding:11px 8px}.tabs a[data-t]{min-height:45px}}
@media(max-width:899px){.tabs a[data-t] span{font-size:14px}.brand #page-label{font-size:13px}.pill{font-size:15px}.course-search{width:185px}.unit-section-heading>span{display:none}.section-note{display:none}.lab-tools-heading>span{display:none}}
@media(max-width:600px){body{font-size:16px}.top{padding-left:14px;padding-right:14px}.brand #page-label{font-size:12px}.stats{gap:9px}.pill{font-size:14px}.welcome-row p{font-size:14px!important}.welcome-row h1{line-height:1.4}.map-link,.adventure-home{font-size:0!important}.course-search{width:136px}.course-search input{font-size:13px!important}.semester-tabs button{font-size:13px;padding:7px 11px}.semester-tabs{gap:1px}.course-controls{gap:7px}.course-card p{font-size:13px!important;min-height:44px;margin-bottom:15px}.course-foot{font-size:12px!important;line-height:1.6}.course-number{font-size:12px!important}.course-top{gap:6px}.course-card h3{font-size:20px;line-height:1.45}.quick-actions{gap:7px}.quick-action{padding:13px 9px;min-height:149px;align-items:flex-start}.quick-action b{font-size:17px;line-height:1.4}.quick-action small{font-size:12px!important;line-height:1.7!important}.text-link{font-size:13px!important;gap:5px}.garden-copy p,.world-copy p,.detective-copy p,.activity-copy p,.lab-intro p,.lab-spotlight p,.experiment-copy p,.unit-intro p,.unit-next p,.unit-progress-panel p,.unit-exam p,.coach-note p,.story-card p{font-size:15px!important}.garden-copy p{margin-top:12px}.garden-cta,.world-button,.spotlight-button,.unit-start{font-size:16px!important}.hero-footnote{font-size:12px!important}.hero-label,.art-caption{font-size:12px!important}.art-caption{max-width:145px}.garden-copy{padding-bottom:37px}.basics-strip{padding:15px 12px}.basics-strip b{font-size:14px}.basics-strip small{font-size:13px!important}.basics-link{font-size:0!important}.daily-card,.level-card{padding:17px 13px}.daily-card>p,.goal-message{font-size:12px!important}.daily-ring{width:116px;height:116px}.daily-ring small{font-size:12px!important}.aside-button{font-size:13px!important;gap:8px}.growth-stats small{font-size:12px!important}.level-detail small{font-size:12px!important}.level-meta{font-size:11px!important}.level-meta b{font-size:10px!important}.adventure-intro p{font-size:15px}.adventure-intro .eyebrow{font-size:13px!important}.world-copy p{max-width:255px}.world-copy{padding-bottom:95px}.world-bottom{font-size:12px!important;gap:6px}.chapter-dots i{width:12px}.detective-world{min-height:292px}.detective-art{min-height:292px}.detective-copy{padding-right:16px}.detective-copy .world-label{font-size:12px!important}.detective-copy p{font-size:14px!important}.detective-foot{font-size:12px}.detective-copy h2{font-size:25px}.activity-card{padding:21px 17px;gap:13px;min-height:209px}.activity-visual{width:88px}.activity-copy h3{font-size:23px}.activity-copy p{font-size:14px!important;line-height:1.8!important}.activity-kicker,.activity-status{font-size:13px!important}.lab-intro .eyebrow{font-size:13px}.lab-count{font-size:0!important}.lab-spotlight-copy{padding-bottom:18px}.fraction-scene{margin-top:0}.experiment-row{min-height:206px;gap:16px}.experiment-diagram{width:115px;height:119px}.experiment-copy p{font-size:14px!important;line-height:1.8!important}.experiment-copy h3{font-size:23px}.experiment-name,.experiment-link{font-size:13px!important}.lab-categories button{font-size:14px!important;padding:7px 11px;min-height:38px}.lab-race-link b{font-size:23px}.lab-race-link small{font-size:13px}.race-action{font-size:14px!important}.unit-intro p{max-width:255px}.unit-lesson-row{padding:21px 16px;gap:13px}.lesson-row-copy>small,.lesson-state{font-size:13px!important}.lesson-row-copy h3{font-size:23px;margin-top:6px;margin-bottom:9px}.unit-breadcrumb{font-size:13px!important}.unit-kicker{font-size:13px!important}.unit-section-heading h2{font-size:26px}.unit-exam p{font-size:13px!important}.unit-exam div>span{font-size:13px}.exam-action{font-size:0!important}.exam-action>span{font-size:22px}.unit-next a,.unit-lab-links a{font-size:15px!important}.unit-next p{font-size:14px!important}.unit-progress-panel p{font-size:15px!important}.unit-reading summary small{display:none}.unit-reading ul{font-size:15px}.unit-next{padding:23px 21px;column-gap:15px}.unit-lab-links a{padding-top:16px;padding-bottom:16px}.pathways small{font-size:14px!important}.pathways em{font-size:12px!important}.adventure-footer,.garden-footer{font-size:12px}.garden-footer>span:first-child{font-size:16px}.story-card h3{max-width:130px}.story-card p{max-width:135px;font-size:13px!important}.story-card div>span:last-child{font-size:13px}.story-card{min-height:245px}.story-tag{font-size:12px!important}}
@media(max-width:380px){.course-controls{flex-wrap:wrap}.course-search{width:100%}.course-card p{font-size:12px!important}.course-foot{font-size:11px!important}.course-number{font-size:11px!important}.quick-action b{font-size:16px}.quick-action small{font-size:11px!important}.experiment-diagram{width:94px}.experiment-row{gap:13px}.activity-visual{width:77px}.activity-card{padding-left:13px;padding-right:13px}.activity-copy p{font-size:13px!important}.detective-copy h2{font-size:24px}.detective-copy p{font-size:13px!important}.daily-card,.level-card{padding:17px 11px}}
/* كسور رأسية كما في الكتاب */
.frac{display:inline-flex;flex-direction:column;align-items:stretch;vertical-align:middle;text-align:center;line-height:1.15;font-size:.86em;margin:0 .12em;unicode-bidi:isolate}
.frac>.fn{border-bottom:1.6px solid currentColor;padding:0 .2em .05em}
.frac>.fd{padding:.05em .2em 0}
.choice .frac,.opt .frac{font-size:.92em}
/* v11: التقرير ومنطقة ولي الأمر */
.print-only{display:none}
.row-btns{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0}
.row-btns input{max-width:160px}
.parent-zone details{margin:12px 0}
.danger-h{color:var(--r,#dc2626);margin-top:18px}
.btn.danger{color:var(--r,#dc2626);border-color:currentColor}
.sec-h{margin:22px 0 8px}
.tbl tr.me td{background:color-mix(in srgb,var(--g,#58a700) 10%,transparent)}
.placement-head h1{font-size:1.35rem;margin:4px 0}
@media print{.no-print,.checkbar,#checkbar,.tabs,.top,.btn,#mascot,.switch-mini{display:none!important}.print-only{display:block}.card{box-shadow:none!important;border:1px solid #ccc;break-inside:avoid}body,#app{background:#fff!important;color:#000}}
