/* Hoja de tickets de salida (PizarronTickets.razor): carta horizontal, 2 x 2 tickets de 128 x 69 mm. */
.tkp-bar { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid #E6E1D6; padding: 10px 16px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-family: "Figtree", system-ui, sans-serif; color: #1A1C1F; }
.tkp-grow { flex: 1; min-width: 200px; }
.tkp-sub { font-size: 13px; color: #62686E; }
.tkp-chips { display: flex; gap: 4px; background: #F2F4F5; border-radius: 10px; padding: 3px; }
.tkp-chips button { border: 0; background: transparent; border-radius: 8px; padding: 7px 12px; font: 600 13px "Figtree", sans-serif; cursor: pointer; color: #62686E; }
.tkp-chips button[aria-pressed="true"] { background: #fff; color: #1A1C1F; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.tkp-hojas { display: flex; gap: 6px; align-items: center; font-size: 14px; }
.tkp-hojas input { width: 64px; padding: 6px 8px; border: 1.5px solid #D0D0D0; border-radius: 8px; }
.tkp-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 10px; padding: 9px 16px; background: var(--brand-teal-primary, #6EC6C8); color: #0E3536; font: 700 14px "Figtree", sans-serif; cursor: pointer; }
.tkp-btn:disabled { opacity: .5; cursor: default; }
.tkp-msg { padding: 24px; font-family: "Figtree", sans-serif; color: #62686E; }
.tkp-err { color: #B23B30; }
.tkp-hojas-wrap { background: #E9E6DF; padding: 16px 0 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; min-height: 100vh; }
.tkp-hoja { width: 279.4mm; height: 215.9mm; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.15); padding: 10mm 8mm; display: grid; grid-template-columns: 128mm 128mm; grid-template-rows: 69.2mm 69.2mm; gap: 14mm 7mm; align-content: center; justify-content: center; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.tkp-celda { width: 128mm; height: 69.2mm; outline: .2mm dashed #C9CDD3; outline-offset: 3mm; }
@media screen and (max-width: 1100px) { .tkp-hoja { zoom: .55; } }
@media print {
    /* Pagina CON NOMBRE: un @page sin nombre aqui es global (este CSS se carga en toda la app)
       y volteaba a horizontal todas las demas impresiones (QRs, boletas, citatorios...). */
    @page tkp-carta { size: letter landscape !important; margin: 0 !important; }
    .tkp-hojas-wrap { page: tkp-carta; }
    .tkp-bar { display: none !important; }
    .tkp-hojas-wrap { background: none; padding: 0; gap: 0; display: block; min-height: 0; }
    .tkp-hoja { box-shadow: none; zoom: 1; page-break-after: always; break-after: page; }
    .tkp-hoja:last-child { page-break-after: auto; break-after: auto; }
}
