/* Encabezado de los documentos A4 y membrete de la empresa. Lo cargan la vista de impresión y la página Datos de la
   empresa (vista previa en vivo). */
.pd-head { display: grid; grid-template-columns: auto 1fr auto; gap: 3.5mm; align-items: center; padding-bottom: 3mm; border-bottom: 2.2pt solid var(--av-pri); }
/* Membrete (partials/letterhead.php): logo del alto elegido en Datos de la empresa (clase .pd-h20 … .pd-h45) y bloque
   de datos centrado a su lado, texto 9 pt fijo (no se achica), íconos vectoriales. */
.pd-logo { height: 32mm; width: auto; max-width: 56mm; object-fit: contain; object-position: left center; }
.pd-emp { display: grid; align-content: center; min-height: 26mm; min-width: 0; font-size: 9pt; line-height: 1.35; color: var(--ink-2); }
.pd-emp b { color: var(--ink); font-weight: 700; }
.pd-emp span { display: flex; align-items: flex-start; gap: 1.4mm; }
.pd-emp a { color: inherit; text-decoration: none; }
.pd-ico { flex: none; width: 3.2mm; height: 3.2mm; margin-top: .45mm; }
.pd-box { display: grid; text-align: right; border: 1pt solid var(--line); border-radius: 3mm; padding: 2.5mm 3.5mm; min-width: 46mm; }
.pd-box span { font-size: 7.5pt; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.pd-box b { font-family: var(--f-display); font-size: 15pt; color: var(--ink); }
.pd-box small { font-size: 8pt; color: var(--ink-2); }
.pd-logo.pd-h20 { height: 20mm; max-width: 35mm; }
.pd-logo.pd-h21 { height: 21mm; max-width: 37mm; }
.pd-logo.pd-h22 { height: 22mm; max-width: 38mm; }
.pd-logo.pd-h23 { height: 23mm; max-width: 40mm; }
.pd-logo.pd-h24 { height: 24mm; max-width: 42mm; }
.pd-logo.pd-h25 { height: 25mm; max-width: 44mm; }
.pd-logo.pd-h26 { height: 26mm; max-width: 46mm; }
.pd-logo.pd-h27 { height: 27mm; max-width: 47mm; }
.pd-logo.pd-h28 { height: 28mm; max-width: 49mm; }
.pd-logo.pd-h29 { height: 29mm; max-width: 51mm; }
.pd-logo.pd-h30 { height: 30mm; max-width: 52mm; }
.pd-logo.pd-h31 { height: 31mm; max-width: 54mm; }
.pd-logo.pd-h32 { height: 32mm; max-width: 56mm; }
.pd-logo.pd-h33 { height: 33mm; max-width: 58mm; }
.pd-logo.pd-h34 { height: 34mm; max-width: 60mm; }
.pd-logo.pd-h35 { height: 35mm; max-width: 61mm; }
.pd-logo.pd-h36 { height: 36mm; max-width: 63mm; }
.pd-logo.pd-h37 { height: 37mm; max-width: 65mm; }
.pd-logo.pd-h38 { height: 38mm; max-width: 66mm; }
.pd-logo.pd-h39 { height: 39mm; max-width: 68mm; }
.pd-logo.pd-h40 { height: 40mm; max-width: 70mm; }
.pd-logo.pd-h41 { height: 41mm; max-width: 70mm; }
.pd-logo.pd-h42 { height: 42mm; max-width: 70mm; }
.pd-logo.pd-h43 { height: 43mm; max-width: 70mm; }
.pd-logo.pd-h44 { height: 44mm; max-width: 70mm; }
.pd-logo.pd-h45 { height: 45mm; max-width: 70mm; }
/* Vista previa en Datos de la empresa: el ancho útil de la hoja A4 (184 mm) a tamaño real, con scroll propio en celular. */
.lh-preview__title { margin: 0 0 6px; font-weight: 600; }
.lh-preview__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.lh-preview__sheet { width: 184mm; padding: 6mm 0 4mm; margin: 0 auto; color: var(--ink); font-family: var(--f-body); }
.lh-size { font-weight: 700; font-variant-numeric: tabular-nums; }
