@font-face{
  font-family:"Report Majalla";
  src:local("Sakkal Majalla"),local("SakkalMajalla");
  font-weight:400 500;
  size-adjust:116%;
}
@font-face{
  font-family:"Report Majalla";
  src:local("Sakkal Majalla Bold"),local("SakkalMajalla-Bold");
  font-weight:600 900;
  size-adjust:116%;
}
.report-actions{margin-block:0 14px}
.report-editor summary{cursor:pointer;color:var(--navy);font-weight:700}
.report-editor form{margin-top:14px}
.report{
  --report-line:#d7e5e3;
  --report-pale:#f2f7f6;
  --report-teal:#087d7a;
  --report-gold:#c1b489;
  --level-0:#a94a3e;
  --level-1:#bb8138;
  --level-2:#95c3ba;
  --level-3:#247970;
  max-width:930px;
  margin:20px auto 0;
  color:var(--ink);
  font-family:"Report Majalla","Sakkal Majalla","Noto Arabic",Tahoma,Arial,sans-serif;
  font-size:16px;
  line-height:1.52;
  font-variant-numeric:tabular-nums;
}
.report-sheet{
  position:relative;
  margin:0 0 20px;
  padding:clamp(16px,4vw,40px);
  padding-block-end:clamp(37px,6vw,58px);
  background:white;
  border:1px solid var(--report-line);
  border-radius:15px 15px 0 15px;
  box-shadow:0 9px 28px #183c450a;
  overflow-wrap:anywhere;
}
.report-cover{
  position:relative;
  isolation:isolate;
  min-height:580px;
  padding-block:42px 58px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  text-align:center;
  background:radial-gradient(ellipse at 50% 37%,#f0f8f6 0,white 64%);
}
.report-cover>.report-masthead{width:100%}
.cover-body{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;gap:17px;padding-block:24px}
.cover-visual{
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:11px;
  width:148px;
  height:148px;
  padding:32px;
  border:1px solid #c1dbd6;
  border-radius:50%;
  background:#e7f3f0;
}
.cover-visual::before{
  content:"";
  position:absolute;
  inset:8px;
  border:1px solid #a6c9c3;
  border-radius:50%;
}
.cover-visual i{width:14px;border-radius:4px 4px 1px 1px;background:#409a94;height:31%}
.cover-visual i:nth-child(2){background:#b5a474;height:52%}
.cover-visual i:nth-child(3){background:#0b766f;height:73%}
.cover-visual i:nth-child(4){background:#15445a;height:95%}
.cover-title h2{color:var(--navy);font-size:clamp(31px,5vw,48px);line-height:1.34}
.cover-title p{color:#087571;font-size:clamp(15px,2.4vw,20px);font-weight:700}
.cover-school{padding-top:13px;border-top:2px solid var(--report-gold);min-width:160px}
.cover-school strong,.cover-school span{display:block}
.cover-school strong{font-size:clamp(17px,3vw,24px);color:var(--navy)}
.cover-school span,.cover-author{color:var(--muted)}
.report-masthead{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:clamp(6px,2vw,18px);
  border-bottom:1px solid #9db6bc;
  padding:0 0 10px;
  margin-bottom:14px;
  color:#123b4b;
  text-align:start;
}
.masthead-ministry,.masthead-school{display:grid;gap:4px;font-size:clamp(11px,1.7vw,17px);line-height:1.55}
.masthead-school{text-align:end}
.masthead-logo{
  position:relative;
  width:clamp(46px,10vw,99px);
  aspect-ratio:180/138;
  overflow:hidden;
}
.masthead-logo img{
  position:absolute;
  display:block;
  width:750%;
  max-width:none;
  height:auto;
  left:-332.5%;
  top:-20.3%;
}
.report-sheet::after{
  content:"";
  position:absolute;
  right:0;
  left:clamp(11px,3vw,34px);
  bottom:0;
  height:clamp(20px,5vw,52px);
  background:url("assets/report-footer.svg") center bottom / 100% 100% no-repeat;
  pointer-events:none;
}
.report-tag{display:inline-block;padding:1px 9px;border-radius:4px;background:var(--report-teal);color:#fff;font-size:.77em;font-weight:700}
.sheet-heading{margin:0 0 13px}
.sheet-heading h3{margin-top:3px;color:var(--navy);font-size:clamp(24px,3.3vw,32px);line-height:1.26}
.sheet-heading p{font-size:.88em;color:var(--muted)}
.report-section{margin-block-start:16px}
.report-section h4,.report-callout h4{margin:0 0 6px;color:var(--navy);font-size:1.08em;line-height:1.35}
.report-section>h4{display:flex;gap:7px;align-items:center}
.report-section>h4::before{content:"";width:3px;height:1em;border-radius:2px;background:var(--report-teal)}
.report-facts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  padding:1px;
  margin:12px 0;
  border-radius:9px;
  background:var(--report-line);
  overflow:hidden;
}
.report-facts>div{background:var(--report-pale);padding:7px 10px}
.report-facts dt{font-size:.82em;color:var(--muted)}
.report-facts dd{margin:0;color:var(--navy);font-weight:700}
.cover-facts{width:min(100%,550px);grid-template-columns:repeat(3,minmax(0,1fr));margin:0}
.report-kpis{display:flex;flex-wrap:wrap;gap:8px}
.report-kpi{
  flex:1 1 115px;
  padding:9px 12px;
  border:1px solid var(--report-line);
  border-block-start:3px solid #80bdb5;
  border-radius:8px;
  background:#f5faf9;
}
.report-kpi span,.report-kpi small{display:block;font-size:.82em;color:var(--muted)}
.report-kpi strong{display:block;margin:3px 0;font-size:clamp(17px,2.2vw,24px);line-height:1.25;color:var(--navy)}
.report-kpi.attention{border-block-start-color:#c0864b}
.report-kpi.positive{border-block-start-color:#3c9683}
.report-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.report-callout,.reference-note{
  margin:0;
  padding:8px 11px;
  background:var(--report-pale);
  border-inline-start:3px solid #80bdb5;
  border-radius:6px;
}
.report-callout.attention{background:#faf5ea;border-color:#c0864b}
.report-callout.positive{background:#edf7f2;border-color:#3c9683}
.report-callout ul{padding-inline-start:17px;margin:0}
.report-callout p+p,.reference-note p+p{margin-top:3px}
.reference-note{margin-top:10px;color:var(--muted);font-size:.88em}
.user-copy{white-space:pre-wrap;overflow-wrap:anywhere}
.report .table-wrap{border:1px solid var(--report-line);border-radius:8px}
.report table{width:100%;font:inherit;font-size:.9em;table-layout:auto}
.report th,.report td{padding:7px 9px;vertical-align:middle;white-space:normal;border-color:var(--report-line)}
.report th{color:var(--navy);background:#e6f1ef;font-weight:700}
.report tbody td:first-child{color:var(--navy);font-weight:600}
.report tbody tr:nth-child(even){background:#f7faf9}
.distribution{padding:8px 10px;border:1px solid var(--report-line);border-radius:8px}
.distribution-track{display:flex;overflow:hidden;border-radius:5px;height:12px;margin-bottom:7px}
.distribution-track i{flex:var(--portion) 1 0}
.level-0{background:var(--level-0)}
.level-1{background:var(--level-1)}
.level-2{background:var(--level-2)}
.level-3{background:var(--level-3)}
.distribution-legend{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.distribution-legend>div{display:grid;grid-template-columns:auto 1fr;gap:0 5px;align-items:center}
.distribution-legend span{width:8px;height:8px;border-radius:2px}
.distribution-legend strong{grid-column:2;color:var(--navy)}
.distribution-legend small{color:var(--muted)}
.report-section>.report-kpis{margin-block-end:10px}
.measurement-note{margin:0 0 10px;color:var(--muted);font-size:.88em}
@media screen and (max-width:640px){
  .report-cover{min-height:465px;gap:13px}
  .cover-visual{width:110px;height:110px;padding:23px;gap:7px}
  .report-split{grid-template-columns:minmax(0,1fr)}
  .report .table-wrap{overflow-x:auto}
  .report td,.report th{min-width:63px}
  .cover-facts{grid-template-columns:1fr}
}
@page{
  size:A4;
  margin:14mm 0 17mm 14mm;
  @top-left{content:"\200B"}
  @top-center{content:"\200B"}
  @top-right{content:"\200B"}
  @bottom-left{content:"\200B"}
  @bottom-right{content:"\200B"}
  @bottom-center{
    content:"\200B";
    width:196mm;
    background:url("assets/report-footer.svg") right 65% / 100% auto no-repeat;
  }
}
@media print{
  html,body{background:white;color:black;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .sidebar,.topbar,.page-head,.controls,.skip,.toast,.backdrop,.no-print{display:none!important}
  .shell,.workspace,.content{display:block;min-height:0;max-width:none;padding:0;margin:0}
  .report{max-width:none;margin:0;padding-right:14mm;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .report-sheet{margin:0;padding:0;border:0;border-radius:0;box-shadow:none;outline:none}
  .report-sheet+.report-sheet{break-before:page}
  .report-sheet::after{display:none}
  .report-cover{min-height:246mm;padding:15mm 7mm;border-block:2mm solid var(--report-teal);border-radius:0;break-inside:avoid}
  .report-cover h2{font-size:30pt}
  .sheet-heading{margin-bottom:14px}
  .sheet-heading h3{font-size:18pt}
  .report-section{margin-block-start:14px}
  .report .table-wrap{overflow:visible}
  .report table{font-size:9.5pt}
  .report th,.report td{padding:6px 7px}
  .report h3,.report h4{break-after:avoid}
  .report thead{display:table-header-group}
  .report tr,.report-kpis,.report-facts,.distribution,.benchmark-bars,.report-history,.report-box,.report-signature{break-inside:avoid}
  .report-kpi{padding:11px 12px}
  .report-kpi strong{font-size:14pt}
  .report-callout,.reference-note{padding:10px 12px}
}

.report-box,.benchmark-bars,.report-history,.distribution-list{
  border:1px solid var(--report-line);
  border-radius:8px;
  padding:8px 10px;
  background:#fff;
}
.report-box h4{margin:0 0 4px;color:var(--navy);font-size:1em}
.report-box .report-history{border:0;padding:0}
.profile-graphs{display:grid;grid-template-columns:minmax(130px,1fr) minmax(0,2.35fr);gap:8px}
.dial-card{display:grid;place-items:center;align-content:center;gap:5px;text-align:center}
.dial-card span,.dial-card small{color:var(--muted);font-size:.83em}
.report-dial{
  display:grid;
  place-items:center;
  width:103px;
  aspect-ratio:1;
  border-radius:50%;
  background:conic-gradient(var(--report-teal) var(--value),#e6efed 0);
}
.report-dial strong{
  display:grid;
  place-items:center;
  width:80%;
  aspect-ratio:1;
  border-radius:50%;
  background:#fff;
  font-size:1.4em;
  color:var(--navy);
}
.report-dial-empty{padding:15px;color:var(--muted)}
.benchmark-bars{display:grid;gap:7px}
.benchmark-row{display:grid;grid-template-columns:minmax(85px,24%) minmax(0,1fr) minmax(45px,auto);align-items:center;gap:8px}
.benchmark-row strong{font-size:.86em;font-weight:600}
.benchmark-row bdi{color:#08736e;text-align:end;font-weight:700;font-size:.91em}
.benchmark-track{position:relative;height:8px;background:#e8f0ef;border-radius:7px;margin-inline:4px}
.benchmark-fill{position:absolute;inset-inline-start:0;height:100%;width:var(--value);background:#0a827e;border-radius:7px}
.benchmark-marker{position:absolute;inset-inline-start:var(--value);top:-2px;height:12px;width:2px;box-shadow:0 0 0 1px #fff9}
.series-school{background:#0a827e}
.series-district{background:#8194aa}
.series-country{background:#465b72}
.series-target{background:#ac8549}
.graph-key{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 11px;color:var(--muted);font-size:.76em}
.graph-key span{display:inline-flex;align-items:center;gap:4px}
.graph-key i{width:7px;height:7px;border-radius:2px}
.history-groups{display:flex;justify-content:space-around;gap:9px}
.history-group{display:grid;flex:1 1 0;justify-items:center;min-width:0;color:var(--muted);font-size:.82em}
.history-bars{height:83px;display:flex;align-items:flex-end;justify-content:center;gap:3px;width:100%;border-bottom:1px solid #d7e5e3;padding-top:13px}
.history-column{height:var(--value);min-height:1px;width:clamp(8px,1.5vw,16px);position:relative}
.history-column i{display:block;height:100%;width:100%;border-radius:3px 3px 0 0}
.history-column small{position:absolute;inset-inline-start:50%;bottom:100%;transform:translateX(50%);color:var(--navy);font-weight:700;white-space:nowrap}
.report-history .graph-key{margin-top:5px}
.distribution-list{display:grid;gap:5px}
.distribution-list>div{display:grid;align-items:center;grid-template-columns:minmax(65px,17%) minmax(0,1fr);gap:8px}
.distribution-list .distribution{padding:3px 0;border:0}
.distribution-list .distribution-track{height:8px;margin-bottom:3px}
.distribution-list .distribution-legend{font-size:.83em}
.recommendation-steps{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  counter-reset:action;
  list-style:none;
  padding:0;
  margin:0;
}
.recommendation-steps li{
  counter-increment:action;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-content:start;
  gap:2px 7px;
  padding:7px 8px;
  border:1px solid var(--report-line);
  border-radius:6px;
}
.recommendation-steps li::before{
  content:counter(action,arabic-indic);
  display:grid;
  place-items:center;
  background:var(--report-teal);
  color:white;
  border-radius:4px;
  min-width:19px;
  height:19px;
  font-size:.76em;
  line-height:1;
}
.recommendation-steps strong{color:var(--navy)}
.recommendation-steps strong+span{grid-column:2}
.report-signature{display:flex;justify-content:space-around;gap:18px;margin-top:24px;color:var(--muted);font-size:.88em}
.report-signature span{width:32%;padding-bottom:13px;text-align:center;border-bottom:1px solid var(--report-line)}
@media screen and (max-width:640px){
  .profile-graphs,.recommendation-steps{grid-template-columns:minmax(0,1fr)}
  .distribution-list>div{grid-template-columns:minmax(0,1fr);gap:1px}
  .benchmark-row{grid-template-columns:minmax(70px,28%) minmax(0,1fr) minmax(35px,auto);gap:4px}
}
@media print{
  .report{font-size:10.25pt;line-height:1.42}
  .report-cover{padding:0;min-height:251mm;border:0}
  .report-cover .cover-body{flex:1;padding:15mm 6mm}
  .report-masthead{margin-bottom:8px;padding-bottom:6px}
  .masthead-logo{width:56px}
  .masthead-ministry,.masthead-school{font-size:9pt;gap:2px;line-height:1.4}
  .sheet-heading{margin-bottom:9px}
  .sheet-heading h3{font-size:16.5pt}
  .report-section{margin-block-start:9px}
  .report-kpi{flex:1 1 85px;padding:6px 8px}
  .report-kpi strong{font-size:12pt;line-height:1.29}
  .report th,.report td{padding:4px 5px}
  .report table{font-size:9.25pt;line-height:1.36}
  .report-callout,.reference-note{padding:7px 9px}
  .history-bars{height:67px}
  .report-signature{margin-top:17px}
  .recommendation-steps li{break-inside:avoid}
}

.report-jump{display:inline-flex;align-items:center;gap:6px;margin-inline-start:auto;color:var(--navy)}
.report-jump select{max-width:min(100%,17rem)}
.report-sheet{scroll-margin-block-start:16px}
.report-chart-pair>.report-section{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.report-chart-pair .distribution,
.report-chart-pair .report-history{flex:1}
.report-plan-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
.report-plan-facts dd{font-size:.93em}
.report-decision{border-inline-start-color:var(--report-teal)}
#report-executive .recommendation-steps{grid-template-columns:minmax(0,1fr)}
@media screen and (max-width:640px){
  .report-plan-facts{grid-template-columns:minmax(0,1fr)}
}
@media print{
  .report-chart-pair,.report-plan-facts,.report-decision{break-inside:avoid}
  #report-executive .report-section{margin-block-start:14px}
}
@media screen and (max-width:640px){
  .report-jump{width:100%;margin-inline-start:0}
  .report-jump select{min-width:0;flex:1}
}

.report-builder{border-inline-start:4px solid var(--report-teal,#087d7a)}
.report-builder summary{cursor:pointer;font-weight:700;color:var(--navy);padding-block:6px}
.report-builder summary bdi{font-size:.84em;color:var(--muted);font-weight:500}
.report-page-list{list-style:none;padding:0;margin:8px 0 0}
.report-page-list li{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 0;border-top:1px solid var(--line)}
.report-page-list small{display:block;color:var(--muted)}
.report-page-tools{display:flex;flex-wrap:wrap;gap:5px}
.report-page-tools .btn{font-size:12px;min-height:34px;padding:4px 9px}
.report-page-tools .btn:disabled{opacity:.42;cursor:default}
.report-sheet-edit{display:flex;align-self:flex-end;margin-inline-start:auto;margin-block-end:10px;font-family:inherit;font-size:.84em;min-height:34px}
.report-edit-dialog{width:min(720px,calc(100vw - 28px));max-height:88dvh;overflow:auto}
.report-edit-dialog .dialog-head{position:sticky;top:-19px;background:white;z-index:1;padding-block:6px}
.report-edit-dialog .report-save-error{color:#983b3b;margin:0}
.report-edit-dialog .report-save-error:empty{display:none}
.report td{white-space:pre-line}
@media print{
  .report-cover{min-height:249mm;break-inside:auto}
  .report-cover .cover-body{overflow-wrap:anywhere}
  dialog{display:none!important}
}
.report-visibility{margin:16px 0 8px;padding:10px 12px;border:1px solid var(--line);border-radius:9px}
.report-visibility legend{padding-inline:6px;font-weight:700;color:var(--navy)}
.report-visibility label{display:flex;align-items:center;gap:7px;margin-block:4px}
.report-visibility input{width:auto;accent-color:var(--teal)}

.comparison-chart{
  --comparison-columns:minmax(73px,20%) minmax(0,1fr) minmax(52px,15%);
  display:grid;
  gap:8px;
}
.comparison-scale,.comparison-line{
  display:grid;
  grid-template-columns:var(--comparison-columns);
  align-items:center;
  gap:8px;
}
.comparison-scale{color:var(--muted);font-size:.8em}
.comparison-scale>div{display:flex;justify-content:space-between}
.comparison-group{
  display:grid;
  gap:3px;
  padding:8px 10px;
  border:1px solid var(--report-line);
  border-radius:8px;
  background:#fff;
}
.comparison-scale{padding-inline:11px}
.comparison-group>strong{color:var(--navy)}
.comparison-line{font-size:.87em}
.comparison-line bdi{font-weight:700;text-align:end;color:var(--navy)}
.comparison-track{height:.5em;overflow:hidden;border-radius:1em;background:#e7efef}
.comparison-track i{display:block;height:100%;width:var(--value);border-radius:inherit}
.comparison-gaps{display:flex;flex-wrap:wrap;gap:1px 10px;color:var(--muted);font-size:.8em;margin:2px 0 0}
.comparison-gaps bdi{font-weight:700;color:var(--navy)}
@media print{
  .comparison-chart{gap:4px}
  .comparison-group{padding:4px 8px;gap:1px;break-inside:avoid}
  .comparison-scale{padding-inline:9px;break-after:avoid}
}

.report-print-help{margin-block:0 16px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--navy)}
.report-print-help summary{cursor:pointer;font-weight:700}
.report-print-help p{margin:8px 0 0;line-height:1.8}
