/* print.css — Pengaturan cetak struk 80mm via window.print() */
@media print {
    @page { size: 80mm auto; margin: 4mm; }

    body.receipt-open { background: #fff; }
    body.receipt-open * { visibility: hidden !important; }

    body.receipt-open .struk-print,
    body.receipt-open .struk-print * { visibility: visible !important; }

    body.receipt-open .struk-print {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: none;
        border: none;
        box-shadow: none;
        padding: 0;
        font-family: var(--font-mono);
        color: #000;
    }

    .no-print, .auth-gate { display: none !important; }
}
