/* The paper slips (sale receipt, refund / exchange slip, transfer slip) for an 80 mm receipt printer.
   The printer puts ink on about 72 mm of the 80 mm roll, so the content is 66 mm wide and centred (7 mm each side):
   nothing is cut off. Everything is pure black (thermal printers cannot print grey). */
.slip { box-sizing:border-box; width:80mm; padding:3mm 7mm 8mm; margin:0; background:#fff; color:#000; direction:ltr;
  font:13px/1.45 "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-print-color-adjust:exact; }
.slip * { box-sizing:border-box; }
.slip .brand { text-align:center; font-size:26px; font-weight:800; letter-spacing:6px; margin:2px 0 0; white-space:nowrap; }
.slip .store { text-align:center; font-size:11.5px; letter-spacing:2.5px; text-transform:uppercase; margin:1px 0 4px; }
.slip .title { text-align:center; font-size:18px; font-weight:800; letter-spacing:4px; margin:6px 0 2px; }
.slip .rule { border:0; border-top:1px solid #000; margin:7px 0; } .slip .rule.double { border-top:3px double #000; margin:6px 0; }
.slip .kv { display:flex; justify-content:space-between; gap:8px; font-size:12px; margin:2px 0; }
.slip .kv span:first-child { white-space:nowrap; } .slip .kv span:last-child { text-align:right; overflow-wrap:anywhere; }
.slip .item { margin:7px 0; } .slip .item .nm { font-weight:700; font-size:13.5px; line-height:1.3; overflow-wrap:anywhere; }
.slip .item .dt { font-size:11px; margin-top:1px; letter-spacing:.3px; }
.slip .line { display:flex; justify-content:space-between; gap:8px; margin-top:2px; } .slip .line .amt { white-space:nowrap; font-weight:700; font-variant-numeric:tabular-nums; }
.slip .tot { display:flex; justify-content:space-between; align-items:baseline; gap:8px; margin:2px 0; } .slip .tot .amt { white-space:nowrap; font-variant-numeric:tabular-nums; }
.slip .tot.big { font-size:23px; font-weight:800; margin:3px 0; letter-spacing:1px; } .slip .tot.big span:first-child { font-size:18px; white-space:nowrap; } .slip .tot.big small { font-size:12px; font-weight:700; letter-spacing:1px; }
.slip .note { margin:5px 0; font-size:12px; }
.slip .alt { border:1px solid #000; padding:4px 7px; margin:5px 0 2px; font-size:11.5px; line-height:1.4; } .slip .alt b { display:block; letter-spacing:1px; }
.slip .foot { text-align:center; font-size:11.5px; line-height:1.5; margin-top:6px; } .slip .foot b { display:block; font-size:12.5px; margin:3px 0; }
.slip .bc { display:block; margin:9px auto 2px; } .slip .bcno { text-align:center; font-size:11px; letter-spacing:2px; }
.slip .copy { text-align:center; font-size:19px; font-weight:800; letter-spacing:5px; border:2px solid #000; padding:3px; margin:0 0 8px; }
.slip .sign { margin-top:12px; font-size:12px; } .slip .sign div { border-top:1px solid #000; margin-top:18px; }
.slip table.tx { width:100%; border-collapse:collapse; font-size:12.5px; margin:2px 0; }
.slip table.tx th, .slip table.tx td { padding:3px 0; border:0; text-align:left; color:#000; font-size:12.5px; }
.slip table.tx th { border-bottom:1px solid #000; font-weight:700; letter-spacing:.5px; } .slip table.tx .r { text-align:right; white-space:nowrap; }
.slip table.tx .nm { font-size:11px; padding:0 0 4px; }

/* on screen the slip is hidden; when printing, only the slip is on the page */
#receipt { display:none; }
@media print {
  #app, #login, #watermark, .overlay { display:none !important; }
  #receipt { display:block !important; }
  @page { size:80mm auto; margin:0; }
  body { margin:0; background:#fff; }
}
