/* Estilos del documento (PDF y vista previa). Compatible con Dompdf (CSS 2.1). */


.doc, .doc td, .doc th, .doc p { font-family: "DejaVu Sans", Arial, Helvetica, sans-serif; }
.doc { font-size: 9pt; color: #222; line-height: 1.35; }

/* Encabezado y pie fijos (solo PDF) */
/* Alto fijo: el cuerpo empieza en 132px; el encabezado ocupa 108px a partir de -118px. */
#pdf-header { position: fixed; top: -118px; left: 0; right: 0; height: 108px; overflow: hidden; }
#pdf-footer { position: fixed; bottom: -42px; left: 0; right: 0; height: 22px; font-size: 7.5pt; color: #555; border-top: 2px solid #19d3b5; padding-top: 5px; }
.hdr { width: 100%; border-collapse: collapse; border: 1px solid #2b2b2b; table-layout: fixed; }
.hdr td { border: 1px solid #2b2b2b; padding: 3px 8px; vertical-align: middle; font-size: 8pt; }
.hdr .logo { width: 22%; text-align: center; padding: 3px 4px; }
.hdr .mid { width: 34%; }
.hdr .code { width: 22%; }
.hdr .title { font-size: 11pt; font-weight: bold; color: #2b2b2b; white-space: nowrap; }
.hdr .lbl { color: #666; font-size: 7pt; text-transform: uppercase; }
.hdr .teal { color: #0fa48c; font-weight: bold; }

.watermark { position: fixed; top: 300px; left: 60px; font-size: 90pt; color: #e8e8e8; transform: rotate(-30deg); z-index: -1; font-weight: bold; }

h1.doc-title { font-size: 13pt; margin: 0 0 8px 0; color: #2b2b2b; border-bottom: 3px solid #19d3b5; padding-bottom: 4px; }
.section { margin: 0 0 10px 0; page-break-inside: avoid; }
.sec-title { background: #2b2b2b; color: #fff; font-weight: bold; font-size: 9pt; padding: 4px 8px; border-left: 6px solid #19d3b5; }

table.kv, table.grid { width: 100%; border-collapse: collapse; }
table.kv td, table.grid td, table.grid th { border: 1px solid #c9c9c9; padding: 3px 6px; vertical-align: top; }
table.kv td.k { background: #f2f2f2; width: 22%; font-weight: bold; color: #333; }
table.kv td.v { width: 28%; }
table.grid th { background: #f2f2f2; text-align: left; font-size: 8pt; color: #333; }
.muted { color: #888; font-style: italic; }

.st { font-weight: bold; font-size: 7.5pt; padding: 1px 5px; border-radius: 3px; }
.st-instalado { color: #0b6b3a; background: #d9f2e3; }
.st-no_aplica { color: #555; background: #ececec; }
.st-pendiente { color: #8a5a00; background: #fff0c9; }

/* Responsiva */
.responsiva { page-break-before: always; font-size: 10pt; line-height: 1.55; }
.resp-head { width: 100%; border-collapse: collapse; margin-bottom: 18px; table-layout: fixed; }
.resp-head td { vertical-align: middle; }
.resp-head .resp-logo { width: 30%; }
.resp-head .resp-date { width: 20%; }
.resp-head img { max-height: 56px; max-width: 170px; }
.resp-client { font-size: 13pt; font-weight: bold; color: #2b2b2b; }
.resp-dept { color: #555; }
.resp-date { text-align: right; }
.responsiva p { text-align: justify; margin: 0 0 10px 0; }

.signs { width: 100%; border-collapse: collapse; margin-top: 36px; page-break-inside: avoid; }
.signs td { width: 50%; text-align: center; vertical-align: bottom; padding: 0 18px; }
.sig-img { height: 70px; }
.sig-img img { max-height: 70px; max-width: 220px; }
.sig-line { border-top: 1px solid #222; padding-top: 4px; font-weight: bold; }
.sig-role { color: #555; font-size: 8.5pt; }
.sig-meta { margin-top: 14px; font-size: 7pt; color: #777; text-align: center; }
