
/* Same printing language and print layout as the approved mathematics report. */
.nafs-print-sheet{font-family:Arial,Tahoma,sans-serif;direction:rtl;color:#29344b;line-height:1.8;background:white}
.nafs-print-sheet .reportHeader{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:2px solid #565099;padding:4px 0 15px}
.nafs-print-sheet .reportHeader .head-identity{display:flex;align-items:center;gap:14px;min-width:0}
.nafs-print-sheet .reportLogos{display:flex;align-items:center;gap:11px;flex:none}
.nafs-print-sheet .reportLogos img{max-width:80px;max-height:51px;object-fit:contain}
.nafs-print-sheet .reportHeader h2{font-size:21px;line-height:1.55;color:#403886;margin:0}
.nafs-print-sheet .reportHeader p{font-size:11px;color:#58657a;margin:0;line-height:1.8}
.nafs-print-sheet .reportHeader strong{color:#343678}
.nafs-print-sheet .report-title{text-align:left}
.nafs-print-sheet h3{font-size:15px;color:#383078;margin:15px 0 9px;line-height:1.7}
.nafs-print-sheet .reportTopinfo{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:15px 0}
.nafs-print-sheet .reportTopinfo>div{border:1px solid #e2e8f0;background:#fff;border-radius:9px;padding:9px 11px;min-width:0}
.nafs-print-sheet .reportTopinfo small{font-size:10px;color:#58687d;display:block}
.nafs-print-sheet .reportTopinfo b{font-size:13px;line-height:1.55;color:#26314d;overflow-wrap:anywhere}
.nafs-print-sheet .reportQuestion{border:1px solid #dce3ed;border-radius:10px;overflow:hidden;margin:13px 0;break-inside:avoid-page;page-break-inside:avoid;background:#fff}
.nafs-print-sheet .reportQHeading{background:#f1f3fa;border-bottom:1px solid #e0e5ef;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px}
.nafs-print-sheet .reportQHeading strong{font-size:13px;color:#332d70}
.nafs-print-sheet .reportQStatus{font-size:11px;color:#546078;border:1px solid #d3d9e6;border-radius:20px;padding:2px 9px;background:#fff;white-space:nowrap}
.nafs-print-sheet .reportQStatus.isRight{color:#176b51;border-color:#9ecfbd}
.nafs-print-sheet .reportQStatus.isWrong{color:#a33e4b;border-color:#e2a3aa}
.nafs-print-sheet .reportQBody{padding:12px 14px}
.nafs-print-sheet .reportQStem{font-size:14px;color:#26324b;font-weight:700;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere}
.nafs-print-sheet .reportQFigure{text-align:center;margin:8px auto 12px}
.nafs-print-sheet .reportQFigure img{max-width:100%;max-height:175px;width:auto;height:auto;object-fit:contain;display:block;margin:auto}
.nafs-print-sheet .reportOptionGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 9px;margin:10px 0}
.nafs-print-sheet .reportOption{border:1px solid #e3e7ef;border-radius:8px;padding:7px 9px;min-width:0;display:flex;align-items:flex-start;gap:8px;line-height:1.8;font-size:12px;overflow-wrap:anywhere}
.nafs-print-sheet .reportOption.correctAnswer{border-color:#80c3a8;background:#eef8f4}
.nafs-print-sheet .reportOption.selectedAnswer:not(.correctAnswer){border-color:#df9fa7;background:#fff4f4}
.nafs-print-sheet .reportOptionLetter{font-weight:700;background:#eae8f4;color:#45377e;padding:0 7px;border-radius:6px;flex:none}
.nafs-print-sheet .reportOption img{display:block;margin-top:5px;max-width:135px;max-height:108px;object-fit:contain}
.nafs-print-sheet .reportOptionText{min-width:0;flex:1}
.nafs-print-sheet .reportAnswerSummary{display:flex;gap:10px;flex-wrap:wrap;margin:9px 0;font-size:12px}
.nafs-print-sheet .reportAnswerSummary span{background:#f4f6fb;border-radius:7px;padding:5px 9px}
.nafs-print-sheet .reportMethod{padding:10px 12px;border:1px solid #e1e6ed;background:#f7f8fb;border-radius:8px;font-size:12px;line-height:1.95}
.nafs-print-sheet .reportStatLine{font-size:11px;color:#52627c;margin-top:8px}
.nafs-print-sheet .reportTiny{color:#647187;font-size:11px;margin-top:18px}
.nafs-print-sheet .report-passage{border:1px solid #dbe4ed;border-radius:10px;background:#f8fafc;padding:12px;white-space:pre-wrap;line-height:1.95;font-size:12px;margin:10px 0 16px}
.nafs-print-sheet .report-portfolio-block{margin:13px 0}
.nafs-print-sheet .stats{margin:10px 0}
.nafs-print-sheet .stat{background:#f7f8fc;border:1px solid #e1e5ee;border-radius:9px}
@media(max-width:650px){#reportPreview .nafs-print-sheet .reportHeader{align-items:flex-start;flex-direction:column}#reportPreview .nafs-print-sheet .report-title{text-align:right}#reportPreview .nafs-print-sheet .reportTopinfo{grid-template-columns:repeat(2,minmax(0,1fr))}#reportPreview .nafs-print-sheet .reportOptionGrid{grid-template-columns:1fr}}
@media print{
 @page{size:A4;margin:13mm}
 html,body{color:#000!important;background:#fff!important}
 .portal-shell,.pn-mobile,.pn-warn, .topstripe,.header,.container,.page-footer,.hide-print{display:none!important}
 .print-document{display:block!important;padding:0!important;color:#20232b!important}
 .print-document .nafs-print-sheet{width:100%;color:#20232b!important}
 .nafs-print-sheet .reportOptionGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .nafs-print-sheet .reportTopinfo{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .nafs-print-sheet .reportQuestion,.nafs-print-sheet .reportHeader,.nafs-print-sheet .reportTopinfo>div{box-shadow:none!important}
 .nafs-print-sheet .reportQHeading,.nafs-print-sheet .reportOption.correctAnswer,.nafs-print-sheet .reportOption.selectedAnswer,.nafs-print-sheet .reportMethod{-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .nafs-print-sheet .reportQuestion{break-inside:avoid-page}
 .nafs-print-sheet .reportQFigure img,.nafs-print-sheet .reportOption img{max-height:120px}
}
