/* Phase 1: typography only. No page geometry, columns or pagination changes. */
@font-face{font-family:Cairo;src:url('fonts/Cairo.ttf') format('truetype');font-weight:200 1000;font-display:swap}
:root{--plan-font:Cairo,sans-serif;--plan-title:23pt;--plan-domain:14pt;--plan-section:15pt;--plan-body:11pt;--plan-th:10.5pt;--plan-td:10pt;--plan-note:9pt;--plan-leading:1.55;--plan-cell-block:2mm;--plan-cell-inline:2.5mm;--plan-heading-gap:3mm}
:is(#schoolPlan#schoolPlan .book-page:not(.school-plan-cover):not(.approved-basmala-page) .book-paper, #indicatorFileDialog .if-sheet, #teachingFileDialog .if-sheet, #outcomesFileDialog .if-sheet, #environmentFileDialog .if-sheet){font-family:var(--plan-font)!important;font-size:var(--plan-body)!important;line-height:var(--plan-leading)!important;}
:is(#schoolPlan#schoolPlan .book-page:not(.school-plan-cover):not(.approved-basmala-page) .book-paper, #indicatorFileDialog .if-sheet, #teachingFileDialog .if-sheet, #outcomesFileDialog .if-sheet, #environmentFileDialog .if-sheet) :is(p,li,div,span,label,input,textarea,select,button){font-family:var(--plan-font)!important;}
:is(#schoolPlan#schoolPlan .book-page:not(.school-plan-cover):not(.approved-basmala-page) .book-paper, #indicatorFileDialog .if-sheet, #teachingFileDialog .if-sheet, #outcomesFileDialog .if-sheet, #environmentFileDialog .if-sheet) :is(p,li,label,input,textarea,select,.att-lead,.att-card,.pcm-analysis,.pcm-result,.pcm-stages){font-size:var(--plan-body)!important;line-height:var(--plan-leading)!important;}
:is(#schoolPlan#schoolPlan .book-page:not(.school-plan-cover):not(.approved-basmala-page) .book-paper, #indicatorFileDialog .if-sheet, #teachingFileDialog .if-sheet, #outcomesFileDialog .if-sheet, #environmentFileDialog .if-sheet) h3{font-size:var(--plan-title)!important;font-weight:700!important;line-height:1.35!important;white-space:normal!important;margin-block:0 var(--plan-heading-gap)!important;}
:is(#schoolPlan#schoolPlan .book-page:not(.school-plan-cover):not(.approved-basmala-page) .book-paper, #indicatorFileDialog .if-sheet, #teachingFileDialog .if-sheet, #outcomesFileDialog .if-sheet, #environmentFileDialog .if-sheet) :is(.att-kicker,.book-eyebrow,.if-sheet-kicker,.att-eyebrow){font-size:var(--plan-domain)!important;font-weight:600!important;line-height:1.4!important;margin-block:0 var(--plan-heading-gap)!important;}
:is(#schoolPlan#schoolPlan .book-page:not(.school-plan-cover):not(.approved-basmala-page) .book-paper, #indicatorFileDialog .if-sheet, #teachingFileDialog .if-sheet, #outcomesFileDialog .if-sheet, #environmentFileDialog .if-sheet) :is(h4,h5,.att-section-title,.pcm-root){font-size:var(--plan-section)!important;font-weight:700!important;line-height:1.45!important;}
:is(#schoolPlan#schoolPlan .book-page:not(.school-plan-cover):not(.approved-basmala-page) .book-paper, #indicatorFileDialog .if-sheet, #teachingFileDialog .if-sheet, #outcomesFileDialog .if-sheet, #environmentFileDialog .if-sheet) :is(th,td){font-family:var(--plan-font)!important;line-height:1.5!important;padding:var(--plan-cell-block) var(--plan-cell-inline)!important;}
:is(#schoolPlan#schoolPlan .book-page:not(.school-plan-cover):not(.approved-basmala-page) .book-paper, #indicatorFileDialog .if-sheet, #teachingFileDialog .if-sheet, #outcomesFileDialog .if-sheet, #environmentFileDialog .if-sheet) th{font-size:var(--plan-th)!important;font-weight:700!important;}
:is(#schoolPlan#schoolPlan .book-page:not(.school-plan-cover):not(.approved-basmala-page) .book-paper, #indicatorFileDialog .if-sheet, #teachingFileDialog .if-sheet, #outcomesFileDialog .if-sheet, #environmentFileDialog .if-sheet) td{font-size:var(--plan-td)!important;font-weight:400!important;}
:is(#schoolPlan#schoolPlan .book-page:not(.school-plan-cover):not(.approved-basmala-page) .book-paper, #indicatorFileDialog .if-sheet, #teachingFileDialog .if-sheet, #outcomesFileDialog .if-sheet, #environmentFileDialog .if-sheet) :is(th,td) :is(p,div,span,b,strong,bdi,small,label,input,textarea,select,button){font-size:inherit!important;line-height:inherit!important;}
:is(#schoolPlan#schoolPlan .book-page:not(.school-plan-cover):not(.approved-basmala-page) .book-paper, #indicatorFileDialog .if-sheet, #teachingFileDialog .if-sheet, #outcomesFileDialog .if-sheet, #environmentFileDialog .if-sheet) :is(small,.att-mini,.att-note,.if-note,.if-caption,.book-folio,footer){font-size:var(--plan-note)!important;line-height:1.5!important;}
:is(#schoolPlan#schoolPlan .book-page:not(.school-plan-cover):not(.approved-basmala-page) .book-paper, #indicatorFileDialog .if-sheet, #teachingFileDialog .if-sheet, #outcomesFileDialog .if-sheet, #environmentFileDialog .if-sheet) :is(.book-folio,footer) *{font-size:inherit!important;}
