/* Parent report: one A4 page, 794 x 1123 px. Used by the tests (auto report) and the staff page. Always light. */
.pr-host { position: fixed; top: 0; left: -12000px; width: 794px; z-index: -1; pointer-events: none; }
.pr { width: 794px; min-height: 1123px; background: #FFFFFF; color: #15176E; font-family: "Tajawal", sans-serif; font-size: 14.5px; line-height: 1.55; direction: rtl; position: relative; display: flex; flex-direction: column; text-align: right; }
.pr * { box-sizing: border-box; }
.pr-top { position: relative; overflow: hidden; color: #fff; padding: 26px 40px 70px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.1' stroke-width='1.2'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3Ccircle cx='28' cy='28' r='5'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 56px 56px,
    linear-gradient(120deg, #14147C 0%, #1F2FA6 55%, #0B6F8A 100%); }
.pr-top::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5px; background: linear-gradient(90deg, #E8A23A, #5CB8F5, #0B8F8A); }
.pr-letters { position: absolute; inset-inline-start: -6px; bottom: -26px; font: 700 120px/1 "Reem Kufi", sans-serif; color: rgba(255,255,255,.07); white-space: nowrap; }
.pr-brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; }
.pr-brand img { height: 50px; width: auto; }
.pr-date { font-size: 12.5px; color: #D3DCF8; text-align: left; }
.pr-date b { display: block; color: #fff; font-size: 13px; }
.pr-heading { position: relative; margin-top: 14px; }
.pr-heading span { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 12px; border-radius: 999px; background: #E8A23A; color: #1A1238; }
.pr-heading h1 { margin: 8px 0 0; font: 700 30px/1.3 "Reem Kufi", "Tajawal", sans-serif; color: #fff; }
.pr-body { padding: 0 40px; margin-top: -48px; position: relative; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.pr-student { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: 0 14px 34px -18px rgba(21,23,110,.45); border: 1px solid #E3EAF5; }
.pr-student > div:last-child { flex: 1; min-width: 0; }
.pr-avatar { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #E8A23A, #F3C77A); color: #1A1238; font: 700 28px/1 "Reem Kufi", sans-serif; }
.pr-student h2 { margin: 0; font: 700 23px/1.3 "Reem Kufi", "Tajawal", sans-serif; color: #15176E; }
.pr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pr-chips span { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #EEF4FB; color: #4A5482; }
.pr-level { display: grid; grid-template-columns: 1fr 1.05fr; gap: 18px; align-items: center; padding: 18px 20px; border-radius: 18px; background: linear-gradient(135deg, #FFF8EC, #FFFFFF 70%); border: 1px solid #F3DDB5; }
.pr-medal { display: flex; align-items: center; gap: 14px; }
.pr-medal svg { flex: none; width: 64px; height: 76px; }
.pr-medal small { display: block; color: #8A5A12; font-weight: 700; font-size: 12.5px; }
.pr-medal strong { display: block; font: 700 22px/1.3 "Reem Kufi", "Tajawal", sans-serif; color: #14147C; }
.pr-medal p { margin: 4px 0 0; color: #4A5482; font-size: 13px; }
.pr-ladder { display: flex; align-items: flex-end; gap: 6px; height: 104px; padding-bottom: 22px; position: relative; }
.pr-ladder div { flex: 1; border-radius: 10px 10px 4px 4px; background: #E3EAF5; color: #4A5482; display: flex; align-items: flex-start; justify-content: center; padding-top: 6px; font-weight: 800; font-size: 15px; position: relative; }
.pr-ladder div.pr-on { background: linear-gradient(180deg, #E8A23A, #D4881C); color: #fff; box-shadow: 0 10px 18px -10px #B8730F; }
.pr-ladder div.pr-past { background: #C9D7EE; }
.pr-ladder div em { position: absolute; bottom: -20px; font-style: normal; font-size: 10.5px; color: #4A5482; white-space: nowrap; font-weight: 700; }
.pr-ladder div.pr-on em { color: #8A5A12; }
.pr-next { display: flex; align-items: center; gap: 12px; border-radius: 14px; padding: 12px 16px; background: #14147C; color: #fff; }
.pr-next b { flex: none; font-size: 13px; padding: 4px 12px; border-radius: 999px; background: #E8A23A; color: #1A1238; }
.pr-next span { font-size: 14px; line-height: 1.7; }
.pr-h { font: 700 17px/1.3 "Reem Kufi", "Tajawal", sans-serif; color: #14147C; margin: 4px 0 8px; display: flex; align-items: center; gap: 8px; }
.pr-h::before { content: ""; width: 6px; height: 18px; border-radius: 3px; background: #0B8F8A; }
.pr-skills { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 10px; }
.pr-skill { border: 1px solid #E3EAF5; border-radius: 14px; padding: 10px 10px 12px; text-align: center; background: #FBFCFF; }
.pr-skill b { display: block; font-size: 13.5px; }
.pr-dots { display: flex; justify-content: center; gap: 4px; margin: 7px 0 5px; direction: ltr; }
.pr-dots i { width: 14px; height: 14px; border-radius: 50%; background: #E3EAF5; }
.pr-dots i.f { background: #0B8F8A; }
.pr-skill span { font-size: 12.5px; font-weight: 800; color: #0B8F8A; }
.pr-skill.r1 span { color: #C77A12; }
.pr-skill.r1 .pr-dots i.f { background: #E8A23A; }
.pr-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pr-two.single { grid-template-columns: 1fr; }
.pr-two.single ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.pr-box { border-radius: 14px; padding: 12px 14px; }
.pr-box.good { background: #E9F8F1; }
.pr-box.grow { background: #EEF4FB; }
.pr-box h3 { margin: 0 0 6px; font-size: 14.5px; color: #15176E; }
.pr-box ul { margin: 0; padding: 0; list-style: none; }
.pr-box li { position: relative; padding-inline-start: 22px; margin: 3px 0; font-size: 13.5px; }
.pr-box li::before { position: absolute; inset-inline-start: 0; top: 0; font-weight: 800; }
.pr-box.good li::before { content: "✓"; color: #0B8F6A; }
.pr-box.grow li::before { content: "←"; color: #1F47C9; }
.pr-quote { position: relative; border-radius: 14px; padding: 14px 18px 12px 18px; background: #14147C; color: #fff; }
.pr-quote p { margin: 0; font-family: "Noto Naskh Arabic", serif; font-size: 15px; line-height: 1.9; }
.pr-quote::before { content: "“"; position: absolute; inset-inline-end: 14px; top: -14px; font: 700 64px/1 Georgia, serif; color: #E8A23A; }
.pr-quote small { display: block; margin-top: 6px; color: #F3C77A; font-weight: 700; font-size: 12.5px; }
.pr-plan { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 12px; }
.pr-class { border-radius: 14px; padding: 14px; border: 2px solid #1F47C9; background: #F5F8FF; }
.pr-class small { display: block; color: #4A5482; font-weight: 700; font-size: 12px; }
.pr-class strong { display: block; font-size: 16px; margin: 2px 0 4px; }
.pr-class em { display: inline-block; font-style: normal; font-size: 13px; font-weight: 800; padding: 3px 12px; border-radius: 999px; background: #E8A23A; color: #1A1238; margin-bottom: 6px; }
.pr-class span { display: block; font-size: 13px; color: #1F47C9; font-weight: 700; }
.pr-tips { border-radius: 14px; padding: 12px 14px; background: #FFF8EC; }
.pr-tips h3 { margin: 0 0 6px; font-size: 14.5px; color: #8A5A12; }
.pr-tips ol { margin: 0; padding-inline-start: 18px; }
.pr-tips li { font-size: 13.5px; margin: 3px 0; }
.pr-foot { margin-top: auto; padding: 14px 40px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #E3EAF5; font-size: 12.5px; color: #4A5482; }
.pr-foot strong { color: #14147C; font-size: 13.5px; }
.pr-contact { display: flex; gap: 14px; direction: ltr; font-weight: 700; color: #14147C; }
.pr-contact span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.pr-contact svg { width: 18px; height: 18px; }
.pr-empty { display: grid; place-items: center; height: 600px; color: #4A5482; font-weight: 700; padding: 40px; text-align: center; }
