/* قطة — تقرير المصاريف (صفحة A4): يستخدم في المعاينة وفي تصوير ملف الـPDF (إطار مستقل بدون تنسيقات التطبيق) */
@font-face{font-family:Tajawal;src:url(../fonts/Tajawal-Regular.woff) format("woff");font-weight:400}
@font-face{font-family:Tajawal;src:url(../fonts/Tajawal-Medium.woff) format("woff");font-weight:500 600}
@font-face{font-family:Tajawal;src:url(../fonts/Tajawal-Bold.woff) format("woff");font-weight:700 800}
.qp{width:794px;height:1123px;background:#fff;color:#16201F;direction:rtl;font-family:Tajawal,system-ui,sans-serif;padding:46px 44px 0;box-sizing:border-box;position:relative;font-size:14px;overflow:hidden}
html[dir=ltr] .qp{direction:ltr}
.qp .qh{display:flex;align-items:center;justify-content:space-between;gap:16px}.qp .qh img{width:180px;height:90px;object-fit:contain;flex:none}
.qp .qhi{display:flex;flex-direction:column;gap:3px;text-align:end}.qp .qhi b{font-size:24px;color:#0F4C4A}.qp .qhi span{color:#5E6966;font-size:14px}
.qp .qgl{height:4px;background:linear-gradient(90deg,#a8740f,#ffe28f,#e4aa2a,#9c6a0c);border-radius:3px;margin:16px 0 18px}
.qp .qsum{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.qp .qsum div{background:#f5f8f7;border:1px solid #dfe9e6;border-radius:14px;padding:10px;text-align:center}
.qp .qsum small{display:block;color:#5E6966;font-size:12.5px}.qp .qsum b{font-size:16px;color:#0F4C4A}
.qp h4{margin:20px 0 9px;font-size:16px;color:#0F4C4A;display:flex;align-items:center;gap:7px}.qp h4:before{content:"";width:5px;height:17px;border-radius:3px;background:#e4aa2a}
.qp table{width:100%;border-collapse:collapse;font-size:13.5px}
.qp th{background:#0b6b4f;color:#fff;font-weight:700;padding:8px 8px;text-align:center;font-size:13px}
.qp td{padding:0 8px;height:33px;border-bottom:1px solid #eee;text-align:center}.qp td.l{text-align:start}
.qp tbody tr:nth-child(even) td{background:#fafaf7}.qp tfoot td{font-weight:800;background:#fdf6e6;border-top:2px solid #e4aa2a;height:38px}
.qp .n{direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums}.qp .pos{color:#23845A;font-weight:700}.qp .neg{color:#B0435A;font-weight:700}
.qp .riy{width:.64em;height:.71em;vertical-align:-.04em;fill:currentColor;margin-inline-end:3px}
.qp .qe{text-align:center;color:#97A09D;margin-top:40px}
.qp .qft{position:absolute;left:44px;right:44px;bottom:28px;display:flex;justify-content:space-between;color:#97A09D;font-size:11.5px;border-top:1px solid #eee;padding-top:10px}
