:root {
  --brand: #d0312d;
  --brand-ink: #ffffff;
  --brand-soft: #fdecec;
  --bg: #f6f6f7;
  --surface: #ffffff;
  --ink: #111316;
  --muted: #5d6470;
  --line: #e5e7eb;
  --veg: #1a8a3a;
  --nonveg: #a52a1a;
  --ok: #1a7f45;
  --warn: #8a5a00;
  --warn-soft: #fff1d6;
  --ok-soft: #e3f4ea;
  --on-ok: #ffffff;
  --danger: #b3261e;
  --shadow: 0 1px 2px rgba(17, 19, 22, .06), 0 4px 16px rgba(17, 19, 22, .06);
  --radius: 14px;
  --page: 640px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #ef5350;
    --brand-ink: #0b0c0e;
    --brand-soft: #3a1a1a;
    --bg: #0b0c0e;
    --surface: #17191d;
    --ink: #eef0f3;
    --muted: #9aa1ad;
    --line: #2b2f36;
    --veg: #3fbf62;
    --nonveg: #ef6a55;
    --ok: #53c983;
    --warn: #f2bf5e;
    --warn-soft: #3a2c10;
    --ok-soft: #173325;
    --on-ok: #0c2016;
    --danger: #ff8a80;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body.has-cart { padding-bottom: 88px; }
body.sheet-open { overflow: hidden; }

#app { max-width: var(--page); margin: 0 auto; min-height: 100vh; }

h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }

.muted { color: var(--muted); }
.eyebrow { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- generic ---------- */

.center-screen {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 24px 16px; text-align: center;
}
.message h1 { font-size: 24px; }
.message p { max-width: 34ch; }
.message-icon { font-size: 44px; }
.owner-link { margin-top: 20px; color: var(--brand); font-size: 14px; font-weight: 600; text-decoration: none; }

.spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--brand);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 12px; border: 0;
  font-weight: 600; text-decoration: none;
}
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn-secondary { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }

.icon-btn {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); font-size: 18px;
}

.error { color: var(--danger); font-size: 14px; }

.toast {
  position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%);
  max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-size: 14px; z-index: 50;
  box-shadow: var(--shadow);
}

/* Indian veg / non-veg food marks */
.veg-mark {
  display: inline-grid; place-items: center; flex: none;
  width: 14px; height: 14px; border: 1.5px solid var(--veg); border-radius: 3px;
  vertical-align: -2px;
}
.veg-mark::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--veg); }
.veg-mark.nonveg { border-color: var(--nonveg); }
.veg-mark.nonveg::after {
  border-radius: 0; background: var(--nonveg);
  width: 8px; height: 7px; clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* ---------- menu ---------- */

.hero {
  padding: 28px 16px 20px;
  background: linear-gradient(160deg, var(--brand-soft), transparent 70%);
}
.hero h1 { font-size: 28px; margin-top: 2px; }
.hero-address { color: var(--muted); margin-top: 4px; font-size: 14px; }
/* The restaurant's own logo (PNG, at most 512×512, served by the platform) */
.hero-logo { display: block; width: auto; height: auto; max-width: 160px; max-height: 72px; object-fit: contain; margin-bottom: 10px; }
.receipt-logo { display: block; margin: 0 auto 6px; max-width: 140px; max-height: 64px; object-fit: contain; }
.table-badge {
  display: inline-block; margin-top: 12px; padding: 4px 12px; border-radius: 999px;
  background: var(--brand); color: var(--brand-ink); font-weight: 600; font-size: 13px;
}

/* ---------- "your orders" cards on the menu ---------- */

.my-orders { margin: 4px 16px 0; display: flex; flex-direction: column; gap: 8px; }
.my-orders h2 { font-size: 15px; }
.my-orders-loading { margin: 4px 16px; font-size: 14px; }
.my-order-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

.my-order {
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px 14px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  color: var(--ink); text-decoration: none;
}
.my-order:hover { border-color: var(--brand); }
.my-order-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.my-order-items { font-size: 14px; line-height: 1.4; }
.my-order-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.my-order-total { font-weight: 700; }
.my-order-cta { margin-left: auto; color: var(--brand); font-weight: 600; }

.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.status-pending, .status-confirmed { color: var(--warn); }
.status-preparing { color: var(--brand); }
.status-ready { color: var(--ok); }
.status-ready::before { animation: blink 1.6s ease-in-out infinite; }
.status-delivered { color: var(--muted); }
.status-cancelled { color: var(--danger); }
@keyframes blink { 50% { opacity: .35; } }

/* Five segments: received, confirmed, preparing, ready, served */
.track { display: flex; gap: 4px; margin: 2px 0 4px; }
.track i { flex: 1; height: 4px; border-radius: 999px; background: var(--line); }
.track i.on { background: var(--ok); }

.toolbar {
  position: sticky; top: 0; z-index: 10;
  padding: 10px 16px 8px; background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.toolbar-row { display: flex; gap: 10px; align-items: center; }
.search {
  flex: 1; min-width: 0; height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  font-size: 16px; /* under 16px, iOS zooms the page in when the guest taps the field */
}
.veg-toggle {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); font-size: 14px; white-space: nowrap; cursor: pointer;
}
.veg-toggle input { accent-color: var(--veg); margin: 0; width: 20px; height: 20px; }

.chips {
  display: flex; gap: 8px; margin-top: 8px; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); text-decoration: none; font-size: 14px;
}

.menu { padding: 4px 16px 24px; }
.category { padding-top: 18px; }
.category h2 { font-size: 18px; padding-bottom: 4px; }
.category .count { color: var(--muted); font-weight: 400; font-size: 14px; }

.items { list-style: none; margin: 0; padding: 0; }
.item {
  display: flex; gap: 14px; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px dashed var(--line);
}
.item:last-child { border-bottom: 0; }
.item-body { min-width: 0; }
.item-body h3 { font-size: 16px; margin-top: 4px; }
.price { font-weight: 600; margin-top: 2px; }
.desc {
  color: var(--muted); font-size: 14px; margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.item-side { flex: none; width: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.item-side.has-img { justify-content: flex-start; }
.item-side img {
  width: 104px; height: 96px; object-fit: cover; border-radius: 12px; background: var(--line);
}
.item-side.has-img .controls { margin-top: -18px; }

.btn-add, .stepper {
  width: 104px; height: 44px; border-radius: 9px;
  background: var(--surface); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.btn-add { color: var(--ok); font-weight: 700; letter-spacing: .04em; }
.stepper {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: var(--ok); border-color: var(--ok); color: var(--on-ok); overflow: hidden;
}
.stepper button {
  height: 100%; border: 0; background: transparent; color: inherit; font-size: 18px; font-weight: 700;
}
.stepper button:disabled { opacity: .45; cursor: not-allowed; }
.stepper span { min-width: 20px; text-align: center; font-weight: 700; }

.empty { padding: 48px 8px; text-align: center; }
.empty h2 { font-size: 18px; margin-bottom: 6px; }

.cart-bar {
  position: fixed; z-index: 20; left: 50%; transform: translateX(-50%);
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(calc(100% - 24px), calc(var(--page) - 24px));
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 18px; border: 0; border-radius: 14px;
  background: var(--ok); color: var(--on-ok); font-size: 15px; box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}

/* ---------- cart sheet ---------- */

.backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(11, 12, 14, .5); }
.sheet {
  position: fixed; z-index: 31; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(100%, var(--page)); max-height: 92vh; overflow-y: auto;
  padding: 18px 16px max(16px, env(safe-area-inset-bottom));
  background: var(--surface); border-radius: 20px 20px 0 0;
  animation: rise .2s ease-out;
}
@keyframes rise { from { transform: translate(-50%, 24px); opacity: 0; } }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.sheet-head h2 { font-size: 20px; }
.sheet-head .muted { font-size: 13px; }

.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line {
  display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.line-name { display: flex; flex-direction: column; min-width: 0; }
.line-name .muted { font-size: 13px; }
.cart-line .controls { grid-row: span 2; grid-column: 3; }
.line-total { grid-column: 2; font-size: 14px; }

.total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0 4px; font-size: 17px;
}
.cart-lines .total-row { border-bottom: 0; }

.checkout { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; font-size: 14px; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); font-weight: 400; font-size: 16px; resize: vertical;
}
.field-row { display: flex; gap: 10px; flex-wrap: wrap; }
.field-row .field { flex: 1 1 160px; }
.fineprint { font-size: 13px; text-align: center; }

/* ---------- order tracking ---------- */

.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; background: var(--bg); border-bottom: 1px solid var(--line);
}
.topbar-title { display: flex; flex-direction: column; min-width: 0; }
.topbar-title .muted { font-size: 13px; }

.order { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 32px; }
.card { padding: 18px 16px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.card h2 { font-size: 17px; margin-bottom: 8px; }

.order-hero h1 { font-size: 24px; margin: 4px 0 6px; }
.order-hero.is-cancelled h1 { color: var(--danger); }

.steps { list-style: none; margin: 18px 0 0; padding: 0; }
.steps li {
  position: relative; padding: 0 0 18px 30px; color: var(--muted);
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--surface);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 7px; top: 20px; bottom: 0;
  width: 2px; background: var(--line);
}
.steps li.done { color: var(--ink); }
.steps li.done::before { background: var(--ok); border-color: var(--ok); }
.steps li.done::after { background: var(--ok); }
.steps li.current { color: var(--ink); font-weight: 700; }
.steps li.current::before {
  border-color: var(--ok); background: var(--surface);
  box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 8px var(--ok);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 8px var(--ok), 0 0 0 5px var(--ok-soft); } }

.bill { list-style: none; margin: 0; padding: 0; }
.bill li { display: flex; gap: 8px; padding: 6px 0; }
.bill .qty { color: var(--muted); min-width: 28px; }
.bill-name { flex: 1; min-width: 0; }
.note { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg); font-size: 14px; }
.card .total-row { border-top: 1px solid var(--line); margin-top: 8px; }

.pay { display: flex; flex-direction: column; gap: 10px; }
.pay h2 { margin-bottom: 0; }
.pill { align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-weight: 700; }
.pill-paid { background: var(--ok-soft); color: var(--ok); }
.pill-unpaid { background: var(--warn-soft); color: var(--warn); font-weight: 600; font-size: 13px; padding: 3px 10px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- table session: shared bill, joining, unavailable items ---------- */

.visit-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.table-code {
  font-size: 13px; color: var(--muted); padding: 3px 10px; border-radius: 999px;
  background: var(--surface); border: 1px dashed var(--line);
}
.table-code strong { color: var(--ink); letter-spacing: .12em; font-size: 15px; }

.unavailable { display: block; color: var(--danger); font-size: 13px; }

.bill-card {
  display: flex; flex-direction: column; gap: 10px; padding: 14px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.bill-card h3 { font-size: 16px; margin: 0; }
.bill-lines { list-style: none; margin: 0; padding: 0; }
.bill-lines li { display: flex; gap: 8px; padding: 4px 0; font-size: 14px; }
.bill-lines .qty { color: var(--muted); min-width: 28px; }
.bill-lines .bill-name { flex: 1; min-width: 0; }
.bill-sums { margin: 0; border-top: 1px solid var(--line); padding-top: 8px; display: flex; flex-direction: column; gap: 2px; }
.bill-sums div { display: flex; justify-content: space-between; font-size: 14px; }
.bill-sums dt { color: var(--muted); }
.bill-sums dd { margin: 0; font-variant-numeric: tabular-nums; }
.bill-sums .bill-due { font-size: 17px; font-weight: 700; padding-top: 4px; }
.bill-sums .bill-due dt { color: var(--ink); }
.bill-actions { display: flex; flex-direction: column; gap: 8px; }
.bill-requested { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--warn-soft); color: var(--ink); font-size: 14px; }

.join-banner {
  margin: 4px 16px 0; padding: 14px; border-radius: var(--radius);
  background: var(--warn-soft); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.join-banner h2, .join-banner h3 { font-size: 15px; margin: 0; }
.join-banner.in-sheet { margin: 0; }
.join-form { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.join-form .field { flex: 0 1 140px; }
.join-form input { letter-spacing: .3em; font-size: 18px; text-align: center; }
.join-form .error { flex-basis: 100%; margin: 0; }

.bill li.rejected { color: var(--muted); }
.order-links { display: flex; flex-direction: column; gap: 8px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

/* ---------- checkout: required contact details ---------- */

.field-error { color: var(--danger); font-size: 13px; font-weight: 500; }
.field-hint { font-size: 12px; font-weight: 400; }
.field input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.phone-input { display: flex; align-items: stretch; }
.phone-prefix {
  display: grid; place-items: center; padding: 0 10px;
  border: 1px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px;
  background: var(--surface); color: var(--muted); font-weight: 600;
}
.phone-input input { border-radius: 0 10px 10px 0; min-width: 0; }
/* Name and number sit side by side on wide screens, stacked on phones */
.contact-row .field { flex: 1 1 220px; }

/* "send me the bill" — unticked unless the guest chooses it */
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.consent .field-hint { display: block; }
.receipt-link { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--brand); }

/* ---------- receipt page (/r/<token>) ---------- */

.receipt-page { padding: 20px 16px 40px; display: flex; flex-direction: column; gap: 16px; }
.receipt { padding: 22px 18px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px; }
.receipt-head { text-align: center; display: flex; flex-direction: column; gap: 2px; }
.receipt-head h1 { font-size: 22px; }
.receipt-meta { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 14px;
  padding: 8px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.receipt-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.receipt-lines li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
.receipt-lines .qty { color: var(--muted); font-variant-numeric: tabular-nums; }
.receipt-lines .amount, .receipt-sums dd { font-variant-numeric: tabular-nums; }
.receipt-sums { margin: 0; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); padding-top: 8px; }
.receipt-sums div { display: flex; justify-content: space-between; }
.receipt-sums dd { margin: 0; }
.receipt-sums .due { font-size: 18px; font-weight: 700; }
.receipt-stamp { align-self: center; padding: 4px 14px; border-radius: 999px; font-weight: 700; }
.receipt-stamp.paid { background: var(--ok-soft); color: var(--ok); }
.receipt-stamp.due { background: var(--warn-soft); color: var(--warn); }
.receipt-actions { display: flex; gap: 10px; }
.receipt-actions .btn { flex: 1; }
/* GST lines under a bill, and invoices on the receipt page */
.total-row.sub { padding: 4px 0 0; font-size: 14px; color: var(--muted); }
.cart-bar small { font-weight: 400; opacity: .85; }
.bill-sums .tax-row dt, .bill-sums .tax-row dd { color: var(--muted); font-size: 13px; }
.receipt-sums .tax-row { font-size: 14px; }
.invoice h2 { font-size: 18px; margin: 0; }
.invoice-meta { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 6px 12px; font-size: 13px; }
.invoice-meta div { display: flex; flex-direction: column; }
.invoice-meta dt { color: var(--muted); }
.invoice-meta dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* "Goes well with" in the cart */
.suggest { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--brand-soft); }
.suggest h3 { font-size: 14px; margin: 0 0 6px; }
.suggest ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.suggest-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 8px; font-size: 14px; }
.suggest-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest .btn-add { width: 64px; height: 32px; }

/* Paying towards the table bill: whole, equal share or another amount, plus a tip */
.pay-panel { display: flex; flex-direction: column; gap: 10px; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg-btn {
  flex: 1 1 auto; min-height: 38px; padding: 6px 10px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 14px;
}
.seg-btn.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.split-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.split-row .stepper { width: 104px; }
.tip-row { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }

/* Rating the visit */
.feedback-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); }
.feedback-card h2, .feedback-card h3 { font-size: 16px; margin: 0; }
#feedback-form { display: flex; flex-direction: column; gap: 10px; }
.stars { display: flex; gap: 4px; }
.star {
  width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent;
  font-size: 30px; line-height: 1; color: var(--line); cursor: pointer;
}
.star.on { color: #e3a008; }
.star:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.stars-static { margin: 0; font-size: 24px; color: #e3a008; letter-spacing: .1em; }
.review-link { text-align: center; }

@media print {
  body { background: #fff; }
  .receipt { box-shadow: none; }
  .receipt-actions, .receipt-foot, #feedback { display: none; }
  .invoice { break-before: page; }
}
