.academic-sheet{font-family:Cairo,Arial,sans-serif;color:#183449;background:#fff;box-sizing:border-box;font-size:10pt}
.academic-letterhead{display:grid;grid-template-columns:48mm 1fr 23mm;align-items:center;gap:7mm;border-bottom:1.5pt solid #17384f!important;padding-bottom:4mm!important;margin-bottom:4mm!important}
.academic-university img{width:46mm;height:16mm;object-fit:contain}.academic-university p{font-size:9pt;text-align:center;margin:0}
.academic-program-logo{width:18mm;height:18mm;object-fit:contain;justify-self:end}
.academic-document-title{text-align:center}.academic-document-title p{margin:0 0 2mm;font-size:11pt}.academic-document-title h1{font-size:18pt;margin:0;font-weight:800}
.academic-metadata{display:grid;grid-template-columns:repeat(3,1fr);gap:1mm 7mm;border-bottom:0.5pt solid #b6c3cd;padding-bottom:3mm;margin-bottom:4mm}
.academic-metadata p{margin:0;font-size:9pt}.academic-metadata b{font-weight:700;margin-inline-end:2mm}
.academic-grade-table{width:100%;border-collapse:collapse;table-layout:fixed;direction:rtl}
.academic-grade-table th,.academic-grade-table td{text-align:center;border-bottom:0.4pt solid #cbd4dd;padding:1.5mm 1.1mm!important;font:10pt/1.45 Cairo,Arial,sans-serif;overflow-wrap:anywhere}
.academic-grade-table th{font-weight:700;background:#edf1f5!important;color:#183449!important;border-top:1pt solid #17384f;border-bottom:1pt solid #17384f}
.academic-grade-table th small{display:block;font-size:8pt;font-weight:400;margin-top:1mm}
.academic-grade-table .serial{width:7mm}.academic-grade-table .name-heading{width:60mm}.academic-grade-table .code-heading{width:23mm}.academic-grade-table .total-heading{width:21mm}
.academic-grade-table .student-name{text-align:right;white-space:normal}.academic-grade-table .enrollment-number{direction:ltr;unicode-bidi:isolate}
.academic-grade-table tbody tr:nth-child(even){background:#f7f9fb}.academic-grade-table .grade-total{font-weight:700}
.academic-notes{font-size:8pt;margin-top:3mm}.academic-notes p{margin:1mm 0}.academic-sample{font-size:8pt;text-align:center;margin:0 0 3mm;color:#566a79}
.academic-signatures{display:grid;grid-template-columns:repeat(3,1fr);gap:15mm;margin-top:5mm;text-align:center;font-size:9pt}
.academic-signatures span{display:block;border-top:0.5pt solid #6b7c89;padding-top:1.5mm;margin-top:5mm;font-size:8pt;color:#596c79}
.academic-footer{display:flex;justify-content:space-between;border-top:0.6pt solid #17384f;margin-top:5mm;padding-top:2mm;font-size:8pt}
@page academic-landscape{size:A4 landscape;margin:10mm 11mm}
@media print{.academic-sheet{page:academic-landscape;break-after:page;print-color-adjust:exact;-webkit-print-color-adjust:exact}.academic-sheet:last-child{break-after:auto}.academic-letterhead,.academic-metadata,.academic-signatures,.academic-footer{break-inside:avoid}#print-area .academic-grade-table{font-size:10pt}#print-area .academic-grade-table tr{break-inside:avoid}}
