/* TPV Gisety · Etiquetas para Brother QL-820NWBc con rollo continuo de 62 mm (DK-22205 / DK-22251).
 * Ancho imprimible real ≈ 58 mm: se dejan 2 mm de margen a cada lado.
 * Dos tamaños: .lbl-62 (62 × 29 mm, normal) y .lbl-62g (62 × 40 mm, grande).
 * El tamaño de página (@page) lo pone organizar.js al imprimir (size: 62mm 29mm / 62mm 40mm).
 * Sustituye al formato anterior de 50 × 25 mm (.lbl-s), que no corresponde a este rollo.
 */
@media print {
  .lbl-62, .lbl-62g { margin: 0; padding: 0; }
  .lbl-62 .lbl, .lbl-62g .lbl {
    width: 62mm;
    margin: 0;
    padding: 1.2mm 2mm;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    text-align: center;
    color: #000;
    background: #fff;
    page-break-after: always;
    break-after: page;
    page-break-inside: avoid;
    break-inside: avoid;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .lbl-62 .lbl:last-child, .lbl-62g .lbl:last-child { page-break-after: auto; break-after: auto; }

  /* 62 × 29 mm */
  .lbl-62 .lbl { height: 29mm; }
  .lbl-62 .lbl b { font-size: 9.5pt; line-height: 1.1; max-height: 2.25em; overflow: hidden; display: block; width: 100%; }
  .lbl-62 .lbl i { font-style: normal; font-size: 13pt; font-weight: 700; line-height: 1.05; }
  .lbl-62 .lbl svg { display: block; width: 100%; max-width: 58mm; height: 12.5mm; }

  /* 62 × 40 mm (precio grande) */
  .lbl-62g .lbl { height: 40mm; }
  .lbl-62g .lbl b { font-size: 12pt; line-height: 1.1; max-height: 2.25em; overflow: hidden; display: block; width: 100%; }
  .lbl-62g .lbl i { font-style: normal; font-size: 19pt; font-weight: 800; line-height: 1.05; }
  .lbl-62g .lbl svg { display: block; width: 100%; max-width: 58mm; height: 16mm; }
}
