@media print {
  @page { size: 80mm auto; margin: 4mm; }
  body { background: white; color: black; }
  body > :not(dialog) { display: none !important; }
  dialog[open] { position: static; width: 72mm; max-width: 72mm; max-height: none; padding: 0; margin: 0; border: 0; box-shadow: none; overflow: visible; }
  dialog::backdrop { background: transparent; }
  .dialog-head, .dialog-actions, #dialog-error, dialog .hint, dialog button { display: none !important; }
  dialog .print-receipt { color: black; border: 0; padding: 0; }
  dialog .ticket-lines { border-block: 1px dashed black; }
}
