/* Foodie colour tokens: the one place colours are defined. Light values are the shipped v4 rendering, except the light brand bands (R17).
   tokens-dark.css overrides them for Dark, and for System when the device prefers dark (see _theme.html).
   #e2492f is decorative only (3.96–4.02:1); text and filled buttons use --tomato-strong (5.35:1 on white). */
:root {
  color-scheme: light;
  /* Surfaces, text and lines */
  --paper: #faf7f2; --surface: #fff; --surface-tint: #fffaf8; --glass: rgb(246 245 242 / 92%);
  --ink: #232220; --charcoal: #232220; --muted: #5f5a54; --ink-2: #5f5a54; --ink-3: #8f887f; --field: #8a837a;
  --line: #e7e0d6; --line-2: #dcd6cf; --line-3: #d8d3cc; --line-soft: #ebe7e2; --mark: #e7e0d6;
  --tag: #f1ece4; --fill: #ece9e4; --fill-disabled: #efebe5; --fill-col: #efede9;
  /* Filled ink controls (inverted in dark) and the text on them */
  --on-ink: #fff; --ink-hover: #000; --ink-hover-soft: #3a3835;
  /* Chosen state (ticked checkbox, picked segment): charcoal in light; a raised neutral in dark, not a white patch */
  --selected: #232220; --on-selected: #fff;
  /* Tomato */
  --tomato: #e2492f; --tomato-strong: #c23a22; --tomato-deep: #9c2c19; --tomato-light: #fde7e1; --tomato-soft: #fdeee9;
  --tomato-line: #f3c3b6; --tomato-line-2: #e9b4a6; --tomato-glow: rgb(226 73 47 / 18%); --on-accent: #fff;
  --sheen: rgb(255 255 255 / 55%);
  /* v1.30.0 nav highlight (all rails): a coral tint on warm paper; the label is 5.05:1 on it. */
  --nav-on: #f9dcd2; --nav-on-ink: #ac311b;
  /* Brand bands (headers, footers, masthead, Order card, basket bar): light in Light (R17), charcoal in tokens-dark.css */
  --band: #fff; --on-band: #232220; --on-band-2: #5f5a54; --on-band-3: #5f5a54;
  --band-line: #d8d3cc; --band-line-2: #e7e0d6; --band-hover: #f1ece4; --band-accent: #fde7e1;
  /* White bands on white need their own edge (Order card, code snippets), and the sign-in story a tint so the form stays first; none/charcoal in Dark */
  --band-edge: 0 0 0 1px #d8d3cc; --band-panel: #fdeee9;
  /* The app icon (favicon geometry) stays charcoal in both themes */
  --brand-tile: #232220; --on-brand-tile: #fff;
  /* States */
  --danger: #973d28; --danger-hover: #7a2f1f; --error: #7a2418; --error-soft: #f9e7e4; --rust: #8a3a1d; --low: #7a2f10;
  --ok: #2f7d4f; --ok-hover: #25653f; --ok-text: #1f5130; --ok-soft: #eef7ef; --allowed: #2f5a2f; --sound-on: #6ee7a0; --ok-line: #bfe0c8;
  --amber: #77560b; --amber-ink: #3d2d05; --amber-text: #4d3a08; --amber-line: #d9c27a; --amber-soft: #fbf5e3;
  /* Earlier olive purchasing styles (mostly overridden by theme.css/app-shell.css) */
  --olive: #385338; --olive-deep: #253e28; --olive-text: #2f442f; --olive-ink: #262c26; --olive-muted: #62685f;
  --olive-line: #78866e; --olive-rule: #c8d4b7; --olive-hairline: #dce1d6; --olive-soft: #eaf0e3; --olive-wash: #f7f8f5;
  --grey-text: #4a5047; --grey-soft: #f1f2ef;
  /* Fictional delivery platform chips */
  --pf-1: #8a5a00; --pf-1-bg: #fff1d6; --pf-2: #2a4fa8; --pf-2-bg: #e9f0ff; --pf-3: #6a3aa8; --pf-3-bg: #f1e8ff;
  /* Statistics charts */
  --chart-1: #2b2926; --chart-2: #9a938a; --chart-3: #e2ddd6; --chart-track: #efebe6;
  /* Landing story edges and connectors: light values are the shipped ones; dark lifts them off the dark stage */
  --intro-edge: rgb(35 34 32 / 6%); --intro-link: rgb(226 73 47 / 45%);
  /* Shadows: channels so alphas stay at the call site */
  --shade: 35 34 32; --shade-v4: 29 28 26;
  --shadow-1: 0 1px 2px rgb(var(--shade-v4) / 6%), 0 1px 3px rgb(var(--shade-v4) / 4%);
  --shadow-2: 0 10px 24px -10px rgb(var(--shade-v4) / 22%), 0 2px 6px rgb(var(--shade-v4) / 6%);
  /* Premium workspace roles (BUR-1682: Order, My products, Plan, rail). --quiet is small secondary text: #5f5a54 is 6.4:1 on paper,
     where --ink-3 (#8f887f) is 3.3:1 and fails AA at small sizes. --control-edge outlines tick boxes (3.5:1 on white, 3.3:1 on paper). */
  --quiet: #5f5a54; --side: #f4f0ea; --hover: #e5e0d8; --seg-on: #fff; --seg-shadow: 0 1px 2px rgb(29 28 26 / 14%);
  --hair: #e6dfd4; --hair-2: #cfc7bb; --card-edge: 0 0 0 1px #e3dcd1, 0 1px 2px rgb(29 28 26 / 6%);
  --field-bg: #fff; --field-edge: inset 0 0 0 1px #8f887f;  /* 3.5:1 on white: a field's edge meets non-text 3:1 (BUR-3009) */ --control-edge: #8f887f;
  --ultra-bg: #fdf1ed; --cta: #c23a22; --cta-hover: #9c2c19; --on-cta: #fff; --on-well: #fff; --ok-well: #2f7d4f; --amber-well: #77560b; --stop-well: #c23a22; --tick-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  /* Floating basket bars (Order, My products) are the band in Light (R17), ringed by --band-line so they stand off the white list;
     print follows the band back to charcoal and keeps the shipped shadow; tokens-dark.css keeps its own. */
  --bar-bg: var(--band); --bar-ink: var(--on-band); --bar-shadow: 0 0 0 1px var(--band-line), 0 18px 40px -16px rgb(29 28 26 / 50%); --tip-shadow: 0 8px 24px -8px rgb(29 28 26 / 50%); --focus: #c23a22;
  /* Plan cards (landing.css): light cards in Light; tokens-dark.css makes them near-black. Icon tiles stay pale in both. */
  --price-card: #fff; --price-line: #e7e0d6; --price-ink: #232220; --price-support: #5f5a54;
  --price-check: #2f7d4f; --price-check-ink: #fff; --price-violet: #7c3aed; --price-badge: #ede9fe; --price-badge-ink: #5b21b6;
  --price-violet-soft: #ede9fe; --price-violet-ink: #6d28d9; --price-green-soft: #dcfce7; --price-green-ink: #15803d;
  --price-blue-soft: #dbeafe; --price-blue-ink: #1d4ed8;
  /* Supplier Pro (PKG-16): Foodie coral on warm paper. Text uses --pro-accent (the AA tomato); --pro-accent-fill is decorative only. The hero is a warm paper wash. */
  --pro-accent: #c23a22; --pro-accent-fill: #e2492f; --pro-soft: #fdeee9; --pro-ink: #9c2c19; --pro-line: #f3c3b6; --pro-on-accent: #fff;
  --pro-locked: #6f6962; --pro-ghost: #ece6da; --pro-glow: rgb(29 28 26 / 10%); --pro-bar: #8f887f;
  --pro-hero-1: #fffaf4; --pro-hero-2: #f7ebdf; --pro-hero-line: #eaddcf; --pro-on-hero: #232220; --pro-on-hero-2: #5f5a54;
}
/* Type scale (BUR-3424 U22): seven steps, the same in every theme, for the workspace shell, Order, Review, Dashboard and error pages.
   xs captions and tab labels, sm meta, md controls and lists, base reading text, lg section titles, xl page titles, 2xl figures. */
:root { --text-xs: 12px; --text-sm: 13px; --text-md: 14px; --text-base: 16px; --text-lg: 20px; --text-xl: 28px; --text-2xl: 40px; }
/* Shared by every themed page. Specificity beats later auth/team footer rules. BUR-5953: 44 x 44 at every width ("Terms" was 37px wide). */
:root footer nav.legal-links a { min-width: 44px; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; }
/* R19 (BUR-4002): the one hit area for small links and controls. From 900px down it is at least 44 x 44 CSS px; computers keep
   the shipped size. The floor is !important so a component's own compact min-height (such as a segmented button) can't undercut it. */
@media (max-width: 900px) {
  :root .hit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box;
    min-width: 44px !important; min-height: 44px !important; }
}

/* The light bars' ring stays off paper: printouts keep the shipped bar shadow. */
@media print { :root { --bar-shadow: 0 18px 40px -16px rgb(29 28 26 / 50%); } }
/* Printouts keep the shipped charcoal bands: kitchen tickets print --band ink on --on-band paper. */
@media print { :root { --band: #232220; --on-band: #fff; --on-band-2: #d8d3cc; --on-band-3: #e7e0d6;
  --band-line: #6b665f; --band-line-2: #4a4743; --band-hover: #3a3835; --band-accent: #c23a22;
  --band-edge: none; --band-panel: #232220; } }

/* Release stamp "vX.Y.Z" (signed in only): quiet muted text at the right of the footer, no pill; a link to What's new only where the operator check allows it. */
.app-stamp-row { margin: 6px 0 0; text-align: right; }
.app-stamp { display: inline-block; max-width: 100%; font-size: .75rem; line-height: 1.5; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); text-decoration: none; }
.app-stamp__note { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }  /* the link's purpose, for assistive tech */
a.app-stamp { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; box-sizing: border-box; }  /* BUR-5953: 44 x 44 */
a.app-stamp:hover, a.app-stamp:focus-visible { text-decoration: underline; }
/* BUR-3553: for signed-in restaurant and supplier people the stamp floats, small and not clickable, bottom right on a computer,
   beside the fixed basket panel. Operators keep the footer stamp. BUR-3723: from 900px down it sits in the footer's normal
   flow instead, so it never covers a field above the bottom tab bar. */
.app-stamp--float { position: fixed; z-index: 29; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: none; padding: 2px 8px;
  border-radius: 999px; background: var(--paper, transparent); opacity: .9; pointer-events: none; user-select: none; }
@media (min-width: 1080px) { body:has(.composer .basket-pane) .app-stamp--float { right: calc(var(--panel-w, 372px) + 12px); } }
@media (max-width: 900px) { .app-stamp--float { position: static; display: table; margin-inline: auto; background: none; opacity: 1; } }
/* D-041: supplier pages have bottom-right controls and sticky bars at every width, so their stamp always sits in the footer. */
body.supplier-portal .app-stamp--float { position: static; display: table; margin-inline: auto; background: none; opacity: 1; }
@media print { .app-stamp--float { display: none; } }
