/* Cahow — generated from tokens.json */
:root, [data-theme="light"] {
  --night: #1e1b4b; /* Night, the brand ink. The mark, the wordmark, headings, dark panels and hardware. White text on it is 16:1. */
  --dusk: #4f46e5; /* Dusk, the action colour. Primary buttons, links and the product word in a product logo on light grounds. White text on it is 6.3:1; as text on white 6.3:1. */
  --moon: #ffc857; /* Moon, the highlight. The mark on Night or Dusk, the product word on Night, the accent in the dark theme. Night text on it is 10.4:1. Never as text on white (1.5:1). */
  --mist: #eeeafb; /* Mist, the tint. Soft panels, selected rows, logo grounds. Night and ink-muted text read on it (6.4:1 or better). */
  --white: #ffffff; /* Default ground. */
  --surface: #ffffff; /* Page and screen background. */
  --surface-raised: #f8f7fd; /* Cards, panels, receipt previews. */
  --surface-sunken: #eeeafb; /* Wells, input fills, table headers, quantity boxes. */
  --surface-brand: #1e1b4b; /* Brand panels: hero bands, the cover slab, the gift card. White and moon text read on it in both themes. */
  --ink: #1f2430; /* Body text on every surface in both themes (12:1 or better). */
  --ink-brand: #1e1b4b; /* Headings and the wordmark colour on surface. */
  --ink-muted: #4b5563; /* Secondary text, captions, receipt small print. 6:1 or better on surface, surface-raised and surface-sunken in both themes. */
  --line: #d9dee5; /* Decorative dividers and card borders only. */
  --line-strong: #8a8fa3; /* Input and control borders: 3:1 or better on surface in both themes. */
  --accent: #4f46e5; /* Primary actions, links, focus. Dusk in light, Moon in dark. As text on surface 6:1 or better in both themes. */
  --on-accent: #ffffff; /* Text and icons on an accent fill. Never hard-code white. */
  --accent-soft: #eeeafb; /* Tinted accent panels and selected states. accent text on it is 5:1 or better. */
  --approved: #15803d; /* Payment approved: text and tick. 5:1 or better on surface. Always with the word and a tick. */
  --approved-soft: #dcfce7; /* Approved chip tint; approved text on it 4.5:1 or better. */
  --declined: #b91c1c; /* Payment declined: text and cross. 6:1 or better on surface. Always with the word and a cross. */
  --declined-soft: #fee2e2; /* Declined chip tint. */
  --pending: #8a5a00; /* Pending or in progress, with a clock icon. 5.9:1 or better on surface. */
  --pending-soft: #fff1d6; /* Pending chip tint. */
  --focus-ring: #4f46e5; /* Keyboard focus: 2px solid ring with a 2px surface gap. */
  --shadow-card: 0 1px 2px rgba(20,18,58,0.08), 0 4px 12px rgba(20,18,58,0.06); /* Floating cards and paper (receipts). Prefer line borders on dense UI. */
}
[data-theme="dark"] {
  --surface: #14123a;
  --surface-raised: #1e1b4b;
  --surface-sunken: #0e0c2b;
  --surface-brand: #2a2670;
  --ink: #f4f2fc;
  --ink-brand: #f4f2fc;
  --ink-muted: #b9b5e0;
  --line: #322e6b;
  --line-strong: #7772b8;
  --accent: #ffc857;
  --on-accent: #1e1b4b;
  --accent-soft: #2a2670;
  --approved: #4ade80;
  --approved-soft: #0f2e1a;
  --declined: #f87171;
  --declined-soft: #3a1513;
  --pending: #f2b84b;
  --pending-soft: #33270d;
  --focus-ring: #ffc857;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.4);
}
:root {
  --space-1: 4px; /* Icon-to-label gaps. */
  --space-2: 8px; /* Tight stacks, chip padding. */
  --space-3: 12px; /* Control padding, grid gaps on the till. */
  --space-4: 16px; /* Compact card padding. */
  --space-5: 24px; /* Card padding, gutters. */
  --space-6: 32px; /* Section gaps inside cards. */
  --space-7: 48px; /* Section spacing; minimum touch target on the till. */
  --space-8: 64px; /* Hero and page-level spacing; the main Charge button height. */
  --radius-sm: 6px; /* Quantity boxes, inputs, small chips. */
  --radius-md: 12px; /* Cards, item tiles, kitchen tickets. */
  --radius-lg: 20px; /* Hero panels, wallet pass, gift card, kiosk bezel. */
  --radius-pill: 999px; /* Buttons, category pills, status chips. */
  --font-display: "Outfit", system-ui, sans-serif;
  --font-ui: "Inter", system-ui, sans-serif;
  --text-display-xl: 700 64px/66px var(--font-display); /* Website hero, posters, kiosk welcome. */
  --text-display-l: 700 44px/48px var(--font-display); /* Section openers, social headlines. */
  --text-heading: 700 28px/34px var(--font-display); /* Page and card headings. */
  --text-title: 600 20px/26px var(--font-display); /* Panel titles, till and kitchen ticket headers. */
  --text-overline: 700 13px/16px var(--font-display); /* Section labels. The only uppercase style besides status words. */
  --text-body-l: 400 18px/28px var(--font-ui); /* Lead paragraphs. */
  --text-body: 400 16px/24px var(--font-ui); /* Default UI and marketing body. */
  --text-body-s: 400 14px/20px var(--font-ui); /* Table rows, secondary UI. */
  --text-label: 600 14px/20px var(--font-ui); /* Buttons, chips, tabs. */
  --text-caption: 400 12px/16px var(--font-ui); /* Captions, legal lines, small print. */
  --text-amount-xl: 700 48px/52px var(--font-ui); /* Order total and terminal amount. Always with font-variant-numeric: tabular-nums. */
  --text-amount: 700 26px/32px var(--font-ui); /* Dashboard totals; tabular-nums. */
  --text-amount-s: 500 14px/20px var(--font-ui); /* Amounts in lists, right-aligned, tabular-nums. */
}
.display-xl {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 66px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.display-l {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.heading {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: 0;
}
.overline {
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.body-l {
  font-family: var(--font-ui);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0;
}
.body-s {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0;
}
.label {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0;
}
.caption {
  font-family: var(--font-ui);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0;
}
.amount-xl {
  font-family: var(--font-ui);
  font-size: 48px;
  line-height: 52px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.amount {
  font-family: var(--font-ui);
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.amount-s {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
