/* Receipt: rendered into #print-area; only that area prints, on an 80 mm roll (72 mm printable). */
#print-area { display: none; }
@media print {
  @page { size: 80mm auto; margin: 0; }
  body * { visibility: hidden; }
  #print-area, #print-area * { visibility: visible; }
  #print-area { display: block; position: absolute; left: 0; top: 0; width: 72mm; padding: 2mm 4mm;
                font-family: "Courier New", monospace; font-size: 11pt; line-height: 1.25; color: #000; }
}
.receipt-line { display: flex; justify-content: space-between; gap: 2mm; }
.receipt-center { text-align: center; }
.receipt-big { font-size: 14pt; font-weight: bold; }
.receipt-rule { border-top: 1px dashed #000; margin: 2mm 0; }

/* Touch targets */
.pos-pad { outline: none; }
.pos-pad .mud-button-root { min-height: 72px; font-size: 1.6rem; }
.pos-pad-display { font-variant-numeric: tabular-nums; min-height: 2.6rem; }
.pos-tile { min-width: 180px; min-height: 88px; font-size: 1.2rem !important; }
.pos-tile-note { font-size: 0.8rem; font-weight: 400; text-transform: none; opacity: 0.9; }
.pos-balance { font-size: 2.6rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pos-muted { color: rgba(0, 0, 0, 0.6); }
.pos-num { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pos-nav { text-transform: none !important; font-size: 1rem !important; }

/* Amount built from bills */
.pos-amount-total { font-size: 3.2rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; margin-bottom: 8px; }
.pos-bill { min-width: 108px; min-height: 72px; font-size: 1.4rem !important; }
.pos-key { min-width: 64px; min-height: 56px; font-size: 1.3rem !important; }

/* Customer list */
.pos-list td, .pos-list th { font-size: 1rem; }
.pos-row { cursor: pointer; }
.pos-row td { padding-top: 12px !important; padding-bottom: 12px !important; }
.pos-total td { font-weight: 700; border-top: 2px solid rgba(0, 0, 0, 0.5); }

/* Floor */
.pos-floor { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.pos-terminal { padding: 12px 14px; min-height: 150px; }
.pos-terminal-busy { border-color: #2e7d32 !important; border-width: 2px !important; }
.pos-terminal-number { font-size: 1.8rem; font-weight: 700; }
.pos-terminal-name { font-size: 1.15rem; font-weight: 600; margin-top: 4px; }

/* The cafe credit chip sits on the coloured top bar: white text when all is well; the low and out states keep their own colours. */
.pos-credits { font-size: 0.95rem !important; }
.pos-credits.mud-chip-outlined { color: #fff !important; border-color: rgba(255, 255, 255, 0.7) !important; }

/* Product name, centred in the top bar. The signed-in bar is full of buttons, so there it only shows on a wide screen. */
.gbf-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 1.25rem; font-weight: 700; letter-spacing: 0.06em;
    white-space: nowrap; pointer-events: none; }
@media (max-width: 1700px) { .gbf-title-busy { display: none; } }
