:root {
  --ink: #1a1147;
  --ink-2: #2d1b69;
  --paper: #fff4e8;
  --card: #fffdf9;
  --line: #f0d4b0;
  --muted: #6a4a3a;
  --accent: #e65100;
  --accent-2: #ffcc80;
  --gold: #f9a825;
  --teal: #00897b;
  --rose: #c2185b;
  --ok: #2e7d32;
  --bad: #c62828;
  --sky: #0277bd;
  --font: "Tiro Devanagari Hindi", "Noto Sans Devanagari", serif;
  --ui: "Noto Sans Devanagari", "Tiro Devanagari Hindi", sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --tab-h: calc(56px + var(--safe-b));
  --app-h: calc(48px + var(--safe-t));
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--ui); }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100dvh;
  padding-bottom: var(--tab-h);
  background:
    radial-gradient(1200px 400px at 0% -10%, #ffe0b2 0%, transparent 55%),
    radial-gradient(900px 320px at 100% 0%, #b2dfdb 0%, transparent 50%),
    var(--paper);
}
a { color: inherit; text-decoration: none; }
button, .btn { font-family: var(--ui); }
p { margin: 0 0 8px; }

.appbar {
  position: sticky; top: 0; z-index: 20;
  background: #1a1147; color: #fff;
  padding-top: var(--safe-t);
  border-bottom: 4px solid var(--accent);
}
.appbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 12px 8px; gap: 10px;
}
.brand { display: flex; flex-direction: column; min-width: 0; }
.brand-kicker {
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.brand strong {
  font-family: var(--font); font-weight: 400; font-size: 1.05rem; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.who { text-align: right; font-size: 0.75rem; color: #f8bbd0; line-height: 1.2; }
.who small { display: block; color: #80cbc4; font-weight: 700; }

.wrap {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 10px 12px 18px;
}
h1, h2 { font-family: var(--font); font-weight: 400; margin: 0 0 8px; }
.wrap > h1 {
  font-size: 1.22rem;
  padding: 4px 0 4px 10px;
  border-left: 5px solid var(--accent);
  margin-bottom: 10px;
}
h2 { font-size: 1.02rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; }
.grid { display: grid; gap: 8px; }
.grid-3, .grid-2 { grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .wrap { width: min(980px, 100%); }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
}
.stat {
  display: flex; flex-direction: column; gap: 2px;
  min-height: 68px; justify-content: center;
  border: 0;
}
.stat b { font-size: 1.22rem; font-variant-numeric: tabular-nums; }
.stat span { font-size: 0.75rem; font-weight: 700; opacity: 0.85; }
.tint-saffron { background: #ffe0b2; color: #bf360c; }
.tint-green { background: #c8e6c9; color: #1b5e20; }
.tint-teal { background: #b2dfdb; color: #004d40; }
.tint-rose { background: #f8bbd0; color: #880e4f; }
.tint-gold { background: #fff59d; color: #f57f17; }
.tint-sky { background: #b3e5fc; color: #01579b; }
.tint-purple { background: #d1c4e9; color: #4527a0; }

label { display: block; font-size: 0.75rem; color: var(--rose); margin-bottom: 4px; font-weight: 700; }
input, select, textarea {
  width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font-family: var(--ui); font-size: 16px;
}
textarea { min-height: 64px; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--teal); outline-offset: 0;
  border-color: var(--teal);
}

button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 10px; padding: 9px 12px; cursor: pointer;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 0.92rem;
  min-height: 42px;
}
.btn-accent { background: var(--accent); }
.btn-ok { background: var(--ok); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-bad { background: var(--bad); }
.btn-lg { width: 100%; font-size: 1rem; min-height: 46px; }
.icon-btn {
  width: 42px; min-width: 42px; height: 42px; padding: 0; border-radius: 12px;
}
.icon-btn svg { width: 20px; height: 20px; }

.err, .ok { padding: 8px 10px; border-radius: 10px; margin-bottom: 8px; font-weight: 700; font-size: 0.9rem; }
.err { background: #ffcdd2; color: var(--bad); }
.ok { background: #c8e6c9; color: var(--ok); }
.low { color: var(--bad); font-weight: 700; }
.right { text-align: right; }

.table-wrap { overflow: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: var(--card); min-width: 480px; }
th, td { text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.88rem; }
th { font-size: 0.7rem; color: #fff; font-weight: 700; letter-spacing: 0.03em; background: var(--teal); }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #fff8ef;
  border-top: 3px solid var(--gold);
  padding: 3px 2px var(--safe-b);
}
.tabbar a, .tabbar button {
  background: transparent; color: #8d6e63; border: 0; border-radius: 10px;
  min-height: 48px; padding: 4px 2px; flex-direction: column; gap: 0;
  font-size: 10px; font-weight: 800; box-shadow: none;
}
.tabbar svg { width: 18px; height: 18px; }
.tabbar a:nth-child(1).on { background: #ffe082; color: #e65100; }
.tabbar a:nth-child(2).on { background: #ffcc80; color: #bf360c; }
.tabbar a:nth-child(3).on { background: #b2dfdb; color: #00695c; }
.tabbar a:nth-child(4).on { background: #f8bbd0; color: #ad1457; }
.tabbar button.on { background: #d1c4e9; color: #4527a0; }

.sheet {
  position: fixed; inset: 0; z-index: 40; background: rgba(26, 17, 71, 0.45);
  display: flex; align-items: flex-end;
}
.sheet[hidden] { display: none; }
.sheet-card {
  width: 100%; background: #fff8ef; border-radius: 18px 18px 0 0;
  padding: 8px 12px calc(14px + var(--safe-b));
  display: flex; flex-direction: column; gap: 2px;
  border-top: 4px solid var(--gold);
}
.sheet-handle {
  width: 40px; height: 4px; border-radius: 4px; background: var(--line);
  margin: 2px auto 8px;
}
.sheet-card a, .sheet-card .btn-ghost {
  width: 100%; min-height: 44px; justify-content: flex-start;
  background: transparent; color: var(--ink); border: 0; border-radius: 10px;
  padding: 8px 10px; font-weight: 700;
}
.sheet-card a.danger { color: var(--bad); }
.sheet-card .btn-ghost { justify-content: center; border: 1px solid var(--line); margin-top: 6px; background: #fff; }

.field-hint {
  display: block; font-size: 0.75rem; color: var(--muted);
  font-weight: 600; margin-top: 4px; line-height: 1.4;
}
#weigh-sheet { z-index: 60; }
.weigh-card { gap: 8px; }
.weigh-card h2 { margin: 0; font-size: 1.2rem; }
.weigh-chips { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.weigh-chips button {
  min-height: 46px; background: #fff; color: var(--ink);
  border: 1px solid #ffe0b2; font-weight: 800; font-size: 0.88rem;
}
.weigh-chips button.on { background: var(--accent); color: #fff; border: 0; }
.weigh-preview {
  text-align: center; font-size: 1.45rem; font-weight: 800;
  color: var(--accent); margin: 2px 0 4px; font-variant-numeric: tabular-nums;
}
.weigh-card .btn-ghost { width: 100%; margin-top: 0; }

.login-wrap {
  min-height: 100dvh; display: flex; flex-direction: column; justify-content: center;
  gap: 10px;
  padding: calc(16px + var(--safe-t)) 14px calc(16px + var(--safe-b));
  background:
    radial-gradient(800px 360px at 10% 0%, #ff8a65 0%, transparent 50%),
    radial-gradient(700px 300px at 100% 20%, #26a69a 0%, transparent 46%),
    #1a1147;
  color: #fff;
}
.login-hero { padding: 0 4px 4px; }
.login-hero .brand-kicker { color: var(--gold); }
.login-hero h1 { color: #fff; font-size: 1.85rem; margin: 4px 0 4px; }
.login-hero p { color: #ffe0b2; margin: 0; font-weight: 600; }
.login-card {
  background: #fff8ef; color: var(--ink); padding: 16px 14px;
  border-radius: 18px; border: 3px solid var(--gold);
}
.login-card h2 { margin-bottom: 10px; color: var(--rose); }

.cta-row { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
@media (min-width: 560px) {
  .cta-row { flex-direction: row; }
}

body.is-pos {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
  padding-bottom: var(--tab-h);
}
body.is-pos .appbar { position: relative; flex: 0 0 auto; }
body.is-pos .wrap {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 720px;
  padding: 8px 10px 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body.is-pos .brand-kicker { display: none; }
.pos-app {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.pos-search { position: relative; z-index: 12; flex: 0 0 auto; }
.search-row { display: flex; gap: 8px; }
.search-row input {
  flex: 1; min-height: 48px; border-radius: 14px; font-size: 16px;
  padding-left: 14px; background: #fff; border: 2px solid #ffb74d;
}
.scan-btn {
  min-width: 92px; height: 48px; padding: 0 12px; border-radius: 14px;
  background: var(--accent); color: #fff; font-weight: 800; gap: 6px;
}
.scan-btn svg { width: 20px; height: 20px; }
.suggest {
  position: absolute; left: 0; right: 0; top: 100%;
  margin-top: 6px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; max-height: min(40vh, 220px); overflow: auto;
  box-shadow: 0 10px 28px rgba(26, 17, 71, 0.18); z-index: 20;
}
.suggest button {
  display: flex; width: 100%; text-align: left; background: transparent; color: var(--ink);
  border-radius: 0; border-bottom: 1px solid var(--line); font-weight: 600;
  justify-content: space-between; min-height: 48px;
}
.suggest button.active, .suggest button:hover { background: #fff3e0; }
.cart-list {
  display: flex; flex-direction: column; gap: 8px;
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.cart-empty {
  text-align: center; color: var(--muted); padding: 28px 12px;
  border: 2px dashed #ffcc80; border-radius: 18px;
  background: #fff8e1; font-weight: 600;
  display: flex; flex-direction: column; gap: 4px;
}
.cart-empty strong { color: var(--accent); font-size: 1.05rem; }
.cart-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px;
  background: #fff; border: 1px solid #ffe0b2; border-left: 6px solid var(--teal);
  border-radius: 14px; padding: 10px 12px;
}
.cart-item h3 { margin: 0; font-size: 0.95rem; font-family: var(--ui); font-weight: 800; overflow-wrap: anywhere; }
.cart-meta { color: var(--muted); font-size: 0.75rem; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button {
  width: 36px; min-width: 36px; height: 36px; padding: 0; border-radius: 10px;
  background: #4527a0; min-height: 36px;
}
.stepper input {
  width: 58px; text-align: center; padding: 6px 2px; font-variant-numeric: tabular-nums;
  border: 1px solid #ffe0b2;
}
.cart-amt { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--accent); font-size: 1.05rem; }
.cart-del { background: transparent; color: var(--bad); border: 0; min-height: 28px; padding: 0; font-size: 0.78rem; }

.pay-dock {
  position: relative;
  z-index: 15;
  flex: 0 0 auto;
  max-height: min(46vh, 340px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff; border: 0; border-radius: 18px;
  padding: 0; display: flex; flex-direction: column; gap: 6px;
  outline: 2px solid #ffcc80;
}
.pay-banner {
  background: #e65100; color: #fff; padding: 8px 12px;
  display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0; z-index: 1;
}
.pay-banner span { font-weight: 800; font-size: 0.78rem; color: #ffe0b2; }
.pay-dock .total-box { font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; color: #fff; }
.pay-dock > select, .pay-dock .pay-methods, .pay-dock .pay-grid, .pay-dock .disc-row,
.pay-dock .pay-hint, .pay-dock .err, .pay-dock .pos-save, .pay-dock .upi-line {
  margin-left: 10px; margin-right: 10px;
}
.pay-dock p { margin: 0; }
.pay-dock > select { margin-top: 0; }
.pay-dock .pos-save { margin-bottom: 8px; min-height: 44px; }
.pay-dock .upi-line { margin-bottom: 8px; }
.pos-save { background: #2e7d32; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.pay-methods button {
  min-height: 38px; font-size: 0.85rem; background: #fff8e1; color: var(--ink);
  border: 1px solid #ffe0b2;
}
.pay-methods button[data-pay="cash"].on { background: var(--ok); color: #fff; border: 0; }
.pay-methods button[data-pay="upi"].on { background: var(--teal); color: #fff; border: 0; }
.pay-methods button[data-pay="udhaar"].on { background: var(--rose); color: #fff; border: 0; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.pay-grid.three { grid-template-columns: 1fr 1fr 1fr; }
.pay-grid input { padding: 8px 8px; }
.disc-row { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: center; }
.disc-row label { margin: 0; }
.upi-line { text-align: center; color: var(--teal); font-weight: 700; font-size: 0.8rem; margin: 0 10px 10px; }
.pay-hint { font-size: 0.78rem; margin: 0 10px; min-height: 0; }

.scan-field { display: flex; gap: 6px; align-items: end; }
.scan-field input { flex: 1; }

.scan-ov {
  position: fixed; inset: 0; z-index: 200; background: #1a1147; color: #fff;
  display: flex; flex-direction: column;
}
.scan-ov[hidden] { display: none !important; }
body.scan-open .tabbar, body.scan-open .appbar, body.scan-open .pay-dock { display: none !important; }
body.scan-open { padding-bottom: 0; }
.scan-head, .scan-foot {
  flex: 0 0 auto;
  background: #1a1147;
  padding: 10px 12px;
  position: relative;
  z-index: 5;
}
.scan-head { padding-top: calc(10px + var(--safe-t)); display: flex; flex-direction: column; gap: 8px; }
.scan-foot { padding-bottom: calc(12px + var(--safe-b)); }
.scan-x, .scan-exit {
  min-height: 46px; width: 100%; background: var(--accent); color: #fff;
  font-weight: 800; border: 0; border-radius: 12px;
}
.scan-status { margin: 0; font-weight: 700; font-size: 0.9rem; color: #ffe0b2; min-height: 1.2em; }
.scan-status.is-ok { color: #b9f6ca; }
.scan-status.is-bad { color: #ffcdd2; }
.scan-hint { margin: 0 0 8px; text-align: center; font-weight: 700; color: var(--gold); font-size: 0.85rem; }
.scan-stage { flex: 1; position: relative; overflow: hidden; min-height: 180px; background: #000; }
.scan-ov video, .scan-ov #scan-box, .scan-ov canvas {
  width: 100%; height: 100%; object-fit: cover; background: #000;
}
.scan-stage #scan-box { position: absolute; inset: 0; }
.scan-stage #scan-box video, .scan-stage #scan-box canvas { width: 100% !important; height: 100% !important; object-fit: cover; }
.scan-frame {
  position: absolute; inset: 18% 10%; border: 3px solid var(--gold); border-radius: 14px;
  pointer-events: none;
}
.scan-toast {
  position: fixed; left: 12px; right: 12px; bottom: calc(var(--tab-h) + 10px);
  z-index: 50; background: var(--ink); color: #fff; padding: 10px 12px;
  border-radius: 12px; font-weight: 700; display: flex; justify-content: space-between; gap: 8px;
  align-items: center; border-left: 5px solid var(--gold);
}
.scan-toast a { color: var(--gold); font-weight: 800; }

.home-hero {
  background: #e65100; color: #fff; border-radius: 16px; padding: 12px 14px;
  margin-bottom: 8px;
}
.home-hero span { color: #ffe0b2; font-size: 0.75rem; font-weight: 800; }
.home-hero b { display: block; font-size: 1.7rem; margin-top: 2px; font-variant-numeric: tabular-nums; }
.home-hero p { margin: 4px 0 0; }

.bill-day { margin-bottom: 10px; }
.bill-day p { margin: 0; }
.bill-day button { min-height: 44px; }
.bill-list { display: flex; flex-direction: column; gap: 8px; }
.bill-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #ffe0b2;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(230, 81, 0, 0.08);
}
.bill-card.is-void { opacity: 0.62; }
.bill-card-main {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px 8px; gap: 10px;
}
.bill-card-main strong { display: block; font-size: 1rem; }
.bill-card-main small { display: block; color: var(--muted); font-weight: 600; margin-top: 2px; }
.bill-card-main b {
  color: var(--accent); font-size: 1.18rem;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.bill-card-pay {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  padding: 0 12px 10px;
}
.bill-card-pay form { margin-left: auto; }
.bill-card-pay .btn-ghost {
  background: transparent; border: 0; color: var(--bad);
  min-height: 28px; font-size: 0.75rem; padding: 0 4px; font-weight: 800;
}

.pill-cash, .pill-upi, .pill-udhaar, .pill-void {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800;
}
.pill-cash { background: #c8e6c9; color: #1b5e20; }
.pill-upi { background: #b2dfdb; color: #004d40; }
.pill-udhaar { background: #f8bbd0; color: #880e4f; }
.pill-void { background: #ffcdd2; color: #b71c1c; }

body.is-bill .wrap { padding-top: 12px; padding-bottom: 24px; }
.rcpt {
  position: relative;
  background: #fffef8;
  border-radius: 20px;
  overflow: hidden;
  max-width: 440px;
  margin: 0 auto 16px;
  box-shadow:
    0 0 0 1px rgba(230, 81, 0, 0.12),
    0 18px 44px rgba(26, 17, 71, 0.18);
}
.rcpt-head {
  background: linear-gradient(135deg, #e65100 0%, #bf360c 58%, #1a1147 130%);
  color: #fff;
  text-align: center;
  padding: 16px 16px 18px;
}
.rcpt-kicker {
  display: block;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffcc80;
  font-weight: 800;
}
.rcpt-head h1 {
  color: #fff;
  font-size: 1.5rem;
  margin: 6px 0 8px;
  padding: 0;
  border: 0;
  line-height: 1.25;
}
.rcpt-head p { color: #ffe0b2; margin: 0; font-size: 0.82rem; font-weight: 600; }
.rcpt-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  padding: 12px 14px;
  background: #fff3e0;
}
.rcpt-meta span { display: block; font-size: 0.68rem; color: var(--rose); font-weight: 800; }
.rcpt-meta b { font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.rcpt-cust {
  margin: 0;
  padding: 10px 14px;
  background: #e0f2f1;
  color: #004d40;
  font-weight: 700;
  font-size: 0.88rem;
}
.rcpt-cust.is-cash { background: #fff8e1; color: #e65100; }
.rcpt-lines { list-style: none; margin: 0; padding: 4px 0 0; }
.rcpt-lines li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px dashed #ffcc80;
}
.rcpt-lines strong { display: block; font-size: 0.95rem; font-weight: 800; }
.rcpt-lines small { display: block; color: var(--muted); font-weight: 600; margin-top: 2px; }
.rcpt-lines b { font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.rcpt-sum { padding: 10px 14px 0; }
.rcpt-sum p {
  display: flex; justify-content: space-between; margin: 0 0 8px;
  font-weight: 700; color: var(--muted);
}
.rcpt-disc { color: var(--rose) !important; }
.rcpt-grand {
  background: #e65100;
  color: #fff !important;
  margin: 6px -14px 0;
  padding: 12px 14px;
  font-size: 1.05rem;
  align-items: center;
}
.rcpt-grand span:last-child {
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
.rcpt-pay { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 4px; }
.rcpt-thanks {
  text-align: center;
  padding: 8px 14px 18px;
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 1.12rem;
  margin: 0;
}
.rcpt-void {
  text-align: center;
  margin: 0;
  padding: 8px 14px;
  background: #ffcdd2;
  color: var(--bad);
  font-weight: 800;
}
.rcpt.is-void::after {
  content: "रद्द";
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  font-family: var(--font);
  font-size: 4.2rem;
  color: rgba(198, 40, 40, 0.16);
  pointer-events: none;
  font-weight: 400;
}
.rcpt-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  max-width: 440px; margin: 0 auto;
}
.rcpt-actions .btn, .rcpt-actions button { flex: 1; min-width: 90px; }

@media print {
  .appbar, .tabbar, .sheet, .no-print, .pay-dock, .scan-ov { display: none !important; }
  body { padding: 0; background: #fff; }
  .wrap { padding: 0; width: 80mm; }
  .wrap > h1 { border: 0; }
  .rcpt {
    max-width: 80mm; box-shadow: none; border-radius: 0; margin: 0;
  }
  .rcpt-head, .rcpt-grand, .pill-cash, .pill-upi, .pill-udhaar {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
.bill-print { width: 80mm; font-size: 13px; }
.bill-print h1 { font-size: 18px; text-align: center; }
.bill-print table { min-width: 0; font-size: 12px; }
.bill-print th { background: #fff; color: var(--ink); }
