/* Réplica de los informes PDF de Kala (siempre en claro, como el PDF real). */
.pdf-fit{position:relative; overflow:hidden; border-radius:6px; box-shadow:0 2px 4px rgba(0,0,0,.08), 0 24px 50px -24px rgba(21,48,78,.45); background:#f3f5f7}
.pdf-fit{max-width:100%}
.pdf-scale{width:620px; transform-origin:top left}
.rp{position:relative; box-sizing:border-box; width:620px; min-height:877px; padding:34px 44px 130px; color:#333; font-family:Helvetica,Arial,sans-serif; font-size:13px; line-height:1.35;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' fill='none' stroke='%23cbd3db' stroke-width='1.2'%3E%3Cpath d='M300 0L210 60 260 140 180 170 230 250 300 220M210 60L150 0M260 140L300 120M180 170L120 110 210 60M230 250L160 300M120 110L90 0'/%3E%3C/svg%3E") right top/300px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='200' fill='none' stroke='%23cbd3db' stroke-width='1.2'%3E%3Cpath d='M0 200L60 120 120 170 170 110 260 200M60 120L0 90M120 170L140 200M170 110L210 200'/%3E%3C/svg%3E") left bottom/260px no-repeat,
    #f3f5f7}
.rp-brand img{display:block; height:74px; width:auto}
.rp-rule{height:2px; background:#1c3551; margin:14px 0 22px}
.rp-title{margin:0; text-align:center; color:#1c3551; font:700 21px/1.2 Helvetica,Arial,sans-serif}
.rp-sub{margin:6px 0 20px; text-align:center; color:#6b7580; font-size:12.5px; white-space:pre}
.rp-h{margin:18px 0 8px; padding-bottom:6px; border-bottom:1px solid #d9dfe5; color:#1c3551; font:700 14px Helvetica,Arial,sans-serif}
.rp-total{display:flex; justify-content:space-between; align-items:baseline; padding:2px 4px 10px}
.rp-total b{font-size:22px; color:#1f7a3a}
.rp-cols{display:grid; grid-template-columns:1fr 1fr; gap:36px}
.rp-col h5{margin:0 0 6px; color:#1c3551; font-size:12.5px}
.rp-col div,.rp-debt div{display:flex; justify-content:space-between; padding:3px 4px}
.rp-table{width:100%; border-collapse:collapse; font-size:11.5px}
.rp-table th{padding:6px 4px; border-bottom:1px solid #d9dfe5; color:#1c3551; text-align:right}
.rp-table td{padding:5px 4px; text-align:right}
.rp-table th:first-child,.rp-table td:first-child{text-align:left}
.rp-table tfoot td{border-top:1px solid #d9dfe5; font-weight:700; color:#1c3551}
.rp .pos{color:#1f7a3a} .rp .neg{color:#b3261e}
.rp-debt{max-width:340px}
.rp-debt b{color:#b3261e; font-weight:400}
.rp-debt .rp-debt-t{margin-top:4px; padding-top:6px; border-top:1px solid #d9dfe5; font-weight:700; color:#b3261e}
.rp-debt .rp-debt-t b{font-weight:700}
.rp-foot{position:absolute; left:40px; right:40px; bottom:24px}
.rp-foot .rp-rule{margin:0 0 10px}
.rp-foot-in{display:flex; gap:12px; align-items:center; color:#1c3551; font-size:10.5px; line-height:1.35}
.rp-k{flex:none; width:40px; height:40px; background:url(/kala/assets/logo-kala.png) 0 50%/auto 100% no-repeat}
