.sheet{background:#fff;color:#000;width:210mm;min-height:297mm;margin:0 auto 18px;padding:14mm 13mm;font-family:Arial,Helvetica,sans-serif;font-size:9.5pt;line-height:1.3;box-shadow:0 1px 8px rgba(0,0,0,.18);box-sizing:border-box;page-break-after:always;break-after:page}
.sheet:last-child{page-break-after:auto;break-after:auto}
.sheet *{box-sizing:border-box}
.sheet h4{font-size:12pt;margin:0 0 3mm;text-align:center;font-weight:bold}
.sheet table{border-collapse:collapse;width:100%}
.sheet .b td,.sheet .b th{border:0.6pt solid #000;padding:1.2mm 1.6mm;vertical-align:top}
.sheet .b th{font-weight:bold;text-align:center;font-size:8pt;vertical-align:middle}
.sheet .c{text-align:center}.sheet .r{text-align:right}.sheet .bold{font-weight:bold}
.sheet .lbl{font-size:7.5pt;color:#222;display:block;margin-bottom:.6mm}
.sheet .val{font-weight:bold}
.sheet .notes{font-size:7.5pt;margin-top:4mm}
.sheet .notes p{margin:0 0 1mm}
.sheet .signs{display:flex;justify-content:space-between;gap:20mm;margin-top:22mm}
.sheet .signs div{flex:1;border-top:0.6pt solid #000;text-align:center;padding-top:1.5mm;font-size:8.5pt}
.sheet .pg{text-align:right;font-size:8pt;margin-bottom:4mm}
.sheet .h{min-height:9mm}
.sheet .hh{min-height:14mm}
.sheet .pkl-head{margin-bottom:6mm}
.sheet .pkl-head .n{font-size:13pt;font-weight:bold}
.sheet .kv td{padding:.6mm 2mm .6mm 0;border:0}
.sheet .dt p{margin:0 0 2.5mm}
.sheet .dt .title{font-weight:bold;text-align:center;margin-bottom:6mm}
@page{size:A4;margin:0}
@media print{.sheet{width:210mm;min-height:0;height:auto;margin:0;box-shadow:none}}

.sheet .lst td{font-size:8.5pt;white-space:nowrap;padding:1mm 1.6mm}

/* documentos comerciales con imagen de empresa */
.sheet.com{font-size:9pt}
.bh{display:flex;justify-content:space-between;gap:8mm;align-items:flex-start;border-bottom:1.2pt solid var(--brand,#0E5A6B);padding-bottom:3mm;margin-bottom:4mm}
.bh-l{display:flex;gap:5mm;align-items:center}.bh-l img{height:20mm;max-width:48mm;object-fit:contain}
.bh-n{font-size:12.5pt;font-weight:bold;color:var(--brand,#0E5A6B)}.bh-a{font-size:8pt;color:#333;margin-top:1mm}
.bh-r{text-align:right;min-width:52mm}.bh-t{font-size:13pt;font-weight:bold;letter-spacing:.08em;color:var(--brand,#0E5A6B);margin-bottom:1.5mm}
.bh-r .kv2{margin-left:auto}
.kv2{border-collapse:collapse}.kv2 td{padding:.3mm 2mm .3mm 0;vertical-align:top;font-size:8.5pt}.kv2 td.k{color:#444;white-space:nowrap}
.b3{border-collapse:collapse;width:100%;margin-bottom:3mm}.b3 th,.b3 td{border:0.6pt solid #000;padding:1.5mm 2mm;vertical-align:top;text-align:left}
.b3 th{background:var(--brand,#0E5A6B);color:#fff;font-size:8pt;letter-spacing:.04em}
.b3 td.r,.b3 th.r{text-align:right}.b3 td.c{text-align:center}
.b3.lines tbody td{border-top:0;border-bottom:0}.b3.lines tbody tr:last-child td{border-bottom:0.6pt solid #000}
.b3.lines tr.sub td{border-top:0.4pt solid #888;font-weight:bold;background:#f3f3f3}.b3.lines tr.tot td{border-top:0.6pt solid #000;font-weight:bold;background:#e9e9e9}
.b3.small td,.b3.small th{font-size:7.8pt;padding:1mm 1.5mm}
.chk div{font-size:8.5pt;margin:.4mm 0}.pre{white-space:pre-wrap}
.b3 .kv2 td{border:0;padding:.4mm 2mm .4mm 0}

.sheet .lst[style*="fixed"] td,.sheet .lst[style*="fixed"] th{white-space:normal;word-break:break-word;font-size:7.5pt;padding:.8mm 1mm}
