
.jpd-download-card{
    direction:rtl; position:relative; display:grid;
    grid-template-columns:auto 1fr auto; align-items:center; gap:14px;
    margin:22px 0 30px; padding:14px 16px;
    border:1px solid #e0e0e0; border-radius:14px;
    background:linear-gradient(135deg,#fff 0%,#fafafa 100%);
    box-shadow:0 8px 28px rgba(0,0,0,.05);
    font-family:"Vazirmatn",Tahoma,sans-serif!important;
}
.jpd-download-card:before{content:"";position:absolute;right:0;top:12px;bottom:12px;width:3px;border-radius:4px;background:#c80000}
.jpd-download-art{display:flex;align-items:center;justify-content:center;color:#c80000;width:50px;height:50px}
.jpd-download-copy{min-width:0}.jpd-download-title{font-size:15px;font-weight:800;color:#1f1f1f;line-height:1.7}
.jpd-download-subtitle{font-size:12px;color:#777;margin-top:2px;white-space:normal}
.jpd-download-action{border:0;border-radius:9px;background:#151515;color:#fff;padding:9px 13px;display:flex;gap:7px;align-items:center;cursor:pointer;font-family:"Vazirmatn",Tahoma,sans-serif!important;font-size:13px;font-weight:700;transition:transform .15s ease,background .15s ease}
.jpd-download-action:hover{background:#c80000;transform:translateY(-1px)}.jpd-download-action:disabled{opacity:.55;cursor:wait;transform:none}
.jpd-status{grid-column:2/4;font-size:11.5px;color:#777;min-height:0}
@media(max-width:600px){
 .jpd-download-card{grid-template-columns:auto 1fr}.jpd-download-action{grid-column:1/3;justify-content:center;width:100%}.jpd-status{grid-column:1/3}
}

#jpd-pdf-source,#jpd-pages-stage{position:fixed;left:-100000px;top:0;width:794px;background:#fff;z-index:-999999;pointer-events:none}
#jpd-pdf-source{padding:0}
.jpd-source-header,.jpd-source-content,.jpd-source-featured{font-family:"Vazirmatn",Tahoma,sans-serif!important}
.jpd-source-header h1{font-family:"Vazirmatn",Tahoma,sans-serif!important;font-size:30px;line-height:1.55;font-weight:800;margin:0 0 14px;color:#111}
.jpd-source-meta{display:flex;gap:24px;flex-wrap:wrap;font-size:13px;color:#444;border-bottom:1px solid #d2d2d2;padding-bottom:15px}
.jpd-source-featured{margin:0}.jpd-source-featured img{display:block;width:100%;height:auto;max-height:440px;object-fit:cover}
.jpd-source-content{font-size:15.2px;line-height:2.05;color:#111;text-align:right;direction:rtl}
.jpd-source-content p{margin:0 0 15px}.jpd-source-content h2{font-size:22px;line-height:1.65;font-weight:800;margin:27px 0 11px}.jpd-source-content h3{font-size:18.5px;line-height:1.7;font-weight:800;margin:24px 0 10px}
.jpd-source-content img{max-width:100%;height:auto;display:block;margin:14px auto}
.jpd-source-content figure{margin:18px 0}.jpd-source-content iframe,.jpd-source-content video,.jpd-source-content audio,.jpd-source-content script,.jpd-source-content form,.jpd-source-content .jpd-download-card{display:none!important}
.jpd-source-content blockquote{border-right:3px solid #888;margin:20px 0;padding:7px 16px}

.jpd-page{
    width:794px;height:1123px;background:#fff;position:relative;overflow:hidden;
    box-sizing:border-box;padding:58px 64px 130px;
    font-family:"Vazirmatn",Tahoma,sans-serif!important;color:#111;direction:rtl;text-align:right;
}
.jpd-page-content{height:935px;overflow:hidden}
.jpd-page .jpd-source-header{margin-bottom:24px}.jpd-page .jpd-source-featured{margin:0 0 24px}
.jpd-page .jpd-source-content{font-family:"Vazirmatn",Tahoma,sans-serif!important}
.jpd-page-footer{
    position:absolute;right:64px;left:64px;bottom:28px;height:78px;border-top:1px solid #cfcfcf;
    padding-top:10px;font-family:"Vazirmatn",Tahoma,sans-serif!important;color:#555;
}
.jpd-footer-brand{display:flex;align-items:center;gap:7px;font-size:11.5px;font-weight:700}
.jpd-footer-brand img{max-width:60px;max-height:28px;object-fit:contain}
.jpd-footer-social{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:8.5px;margin-top:5px;direction:ltr;justify-content:flex-start}
.jpd-social-item{white-space:nowrap}
.jpd-footer-bottom{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:space-between;font-size:9px;direction:ltr}
.jpd-page-number{font-size:10px;font-weight:700;direction:rtl}
