@import url("./fonts.css");
*{box-sizing:border-box}html{direction:rtl}body{margin:0;background:#e9eef5;color:#17283d;font-family:"Tajawal","Arial",sans-serif}.toolbar{position:sticky;top:0;z-index:30;background:#122f4b;color:#fff;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:10px}.toolbar select,.toolbar button,.toolbar a{font:inherit;padding:7px 12px;border-radius:6px;border:1px solid #c6d5e4;background:white;color:#102b46}.toolbar button{background:#00a99b;color:white;border-color:#00a99b;cursor:pointer}.toolbar a{text-decoration:none}.hint{font-size:12px;color:#d8e9f6}.print-root{display:flex;flex-direction:column;align-items:center;gap:18px;padding:22px 12px}.sheet{--page-w:297mm;--page-h:210mm;--head-h:24mm;--foot-h:10mm;width:var(--page-w);height:var(--page-h);background:white;box-shadow:0 9px 23px #10273e22;position:relative;overflow:hidden;color:#111}.sheet-header{position:absolute;inset:0 0 auto;height:var(--head-h);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;padding:1mm 10mm 0}.header-cell{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.1mm;min-width:0;height:100%;font-size:13px;line-height:1.18}.header-cell strong{font-weight:700}.header-cell span{display:block;max-width:100%;overflow-wrap:anywhere}.logo-placeholder{width:29mm;height:18mm;max-height:calc(var(--head-h) - 2mm);display:grid;place-items:center;color:#8292a4;font-size:11px;text-align:center}.sheet[style*="34mm"] .logo-placeholder{height:25mm}.sheet-footer{position:absolute;inset:auto 0 0;height:var(--foot-h);display:flex;align-items:center;justify-content:space-between;padding:0 10mm;font-size:10px;gap:4mm}.sheet-footer>span{flex:1;text-align:center}.sheet-footer>span:first-child{text-align:right}.sheet-footer>span:last-child{text-align:left}.sheet-content{position:absolute;top:calc(var(--head-h) + 3mm);bottom:calc(var(--foot-h) + 6mm);right:10mm;left:10mm;overflow:hidden}.sheet-image{position:absolute;right:0;left:0;width:100%;object-fit:fill;display:block}.sheet-image.head{top:0;height:var(--head-h)}.sheet-image.foot{bottom:0;height:var(--foot-h)}.image-missing{position:absolute;right:0;left:0;display:grid;place-items:center;color:#7b8795;font-size:12px;background:repeating-linear-gradient(45deg,#f6f8fb,#f6f8fb 8px,#e9eff5 8px,#e9eff5 16px)}.image-missing.head{top:0;height:var(--head-h)}.image-missing.foot{bottom:0;height:var(--foot-h)}.page-title{text-align:center;font-size:14pt;line-height:1.25;margin:0 0 4mm;font-weight:700}.section-title{text-align:right;font-size:13pt;margin:0 0 3mm}.data-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12pt;line-height:1.08}.data-table th,.data-table td{border:1px solid #cbd5e1;text-align:center;padding:.8mm;height:8mm;overflow-wrap:anywhere}.data-table th{background:#dbe4ee;font-weight:700}.data-table td{font-weight:400}.data-table td.name{text-align:right}.data-table tbody tr:nth-child(even){background:#f8fafc}.data-table tfoot{background:#e8f0f7;font-weight:700}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4mm;margin:5mm 0}.stat{border:1px solid #cbd5e1;border-radius:2mm;padding:4mm;text-align:center}.stat b{font-size:18pt;display:block}.paragraph{font-size:12pt;line-height:1.75;margin:0 0 4mm}.preview-guide .header-cell{outline:1px dashed #bdc7d2;outline-offset:-1px}.preview-guide .logo-placeholder{border:1px dashed #9aa8b8}.preview-guide .sheet-footer{border-top:1px dashed #c1cad6}.content-only{padding:18px;max-width:1000px;margin:auto;background:white}.content-only .data-table{font-size:12pt}
@media print{@page{size:A4 landscape;margin:0}body{background:white!important}.toolbar,.preview-only,.image-missing{display:none!important}.print-root{padding:0;gap:0;display:block}.sheet{box-shadow:none;width:var(--page-w);height:var(--page-h);break-after:page;page-break-after:always}.sheet:last-child{break-after:auto;page-break-after:auto}.preview-guide .header-cell,.preview-guide .logo-placeholder,.preview-guide .sheet-footer{outline:none!important;border:none!important}.sheet .sheet-content{overflow:hidden}body[data-orientation="portrait"]{--print-orient:portrait}}

.hsp-signoff{margin-top:3mm;text-align:center;border-top:1px solid #bdc8d5;padding-top:3mm;font-size:12pt;break-inside:avoid}.hsp-signoff p{margin:2mm}.hsp-signoff-marks{display:flex;justify-content:space-evenly}.hsp-signoff-mark{min-width:35mm;min-height:19mm;display:flex;flex-direction:column;align-items:center}.hsp-signoff-mark img{max-width:38mm;max-height:17mm;object-fit:contain}.hsp-report-tail{break-inside:avoid}.hsp-report-tail .stat-grid{margin:3mm 0}.hsp-report-tail .stat{padding:2mm}
/* Official templates only: green structural separators, accounted for by existing content gaps. */
.sheet--official::before,.sheet--official::after{content:"";position:absolute;right:0;left:0;height:1.5mm;background:#176b45;z-index:2;pointer-events:none}
.sheet--official::before{top:var(--head-h)}
.sheet--official::after{bottom:var(--foot-h)}
