/* OrderlyOS — Customer-facing QR colour themes
   ────────────────────────────────────────────────────────────────────────────
   Eight themes, each tuned to a recognisable restaurant type. Every theme fills
   the SAME CSS-variable contract, so the rest of the app is untouched.
   Design intent: distinct temperature per theme, a real secondary colour, and
   accents chosen for character rather than framework defaults.
   ──────────────────────────────────────────────────────────────────────────── */

/* ═══ GENERATED FROM utils/qr_themes.py — DO NOT EDIT BY HAND ═══════════════ */
/* 53 themes. Edit utils/qr_themes.py, then rerun scripts/build_qr_themes.py. */

/* ═══ DARK ═══════════════════════════════════════════════════════════════ */

/* Midnight — Modern bistro · all-rounder */
[data-qr-theme="midnight"] {
  --qr-bg:#0a0e1a; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #17203a 0%, #0a0e1a 58%);
  --qr-surface:#141b30; --qr-surface-2:#1c2440; --qr-surface-hover:#242e50;
  --qr-border:rgba(180,196,255,0.12); --qr-border-strong:rgba(180,196,255,0.22); --qr-border-control:rgba(180,196,255,0.50);
  --qr-text:#eef2ff; --qr-text-dim:rgba(238,242,255,0.72); --qr-text-faint:rgba(238,242,255,0.60);
  --qr-accent:#7c9dff; --qr-accent-2:#a2bbff; --qr-accent-ink:#a8c0ff;
  --qr-accent-text:#0a0e1a; --qr-accent-soft:rgba(124,157,255,0.16);
  --qr-success:#5fe0ad; --qr-success-soft:rgba(70,217,160,0.14);
  --qr-warn:#f5c451; --qr-warn-soft:rgba(245,196,81,0.14);
  --qr-danger:#ff8f8f; --qr-danger-soft:rgba(255,122,122,0.14);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'DM Sans', -apple-system, 'Segoe UI', sans-serif;
  --qr-radius-scale:1;
  color-scheme: dark;
}

/* Charcoal & Ember — Steakhouse · grill · BBQ */
[data-qr-theme="ember"] {
  --qr-bg:#12100e; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #241a13 0%, #12100e 58%);
  --qr-surface:#1e1a16; --qr-surface-2:#29231d; --qr-surface-hover:#332b23;
  --qr-border:rgba(255,224,196,0.12); --qr-border-strong:rgba(255,224,196,0.24); --qr-border-control:rgba(255,224,196,0.42);
  --qr-text:#f8ede2; --qr-text-dim:rgba(248,237,226,0.72); --qr-text-faint:rgba(248,237,226,0.60);
  --qr-accent:#ff6a3d; --qr-accent-2:#ff8b62; --qr-accent-ink:#ff9b76;
  --qr-accent-text:#1a0d06; --qr-accent-soft:rgba(255,106,61,0.18);
  --qr-success:#86e09a; --qr-success-soft:rgba(123,216,143,0.14);
  --qr-warn:#ffc06a; --qr-warn-soft:rgba(255,180,84,0.16);
  --qr-danger:#ff9c8d; --qr-danger-soft:rgba(255,138,122,0.16);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'DM Sans', -apple-system, 'Segoe UI', sans-serif;
  --qr-radius-scale:1;
  color-scheme: dark;
}

/* Forest & Brass — Fine dining · wine cellar */
[data-qr-theme="forest"] {
  --qr-bg:#0a1712; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #12291f 0%, #0a1712 58%);
  --qr-surface:#10231a; --qr-surface-2:#163024; --qr-surface-hover:#1d3b2d;
  --qr-border:rgba(220,230,224,0.12); --qr-border-strong:rgba(220,230,224,0.22); --qr-border-control:rgba(220,230,224,0.44);
  --qr-text:#eef4ef; --qr-text-dim:rgba(238,244,239,0.72); --qr-text-faint:rgba(238,244,239,0.60);
  --qr-accent:#c8a758; --qr-accent-2:#ddc07d; --qr-accent-ink:#d8bb76;
  --qr-accent-text:#0a1712; --qr-accent-soft:rgba(200,167,88,0.18);
  --qr-success:#7fe0ac; --qr-success-soft:rgba(111,220,160,0.14);
  --qr-warn:#ecc15c; --qr-warn-soft:rgba(236,193,92,0.16);
  --qr-danger:#f3a394; --qr-danger-soft:rgba(239,149,133,0.14);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'DM Sans', -apple-system, 'Segoe UI', sans-serif;
  --qr-radius-scale:1;
  color-scheme: dark;
}

/* Noir & Rosé — Cocktail bar · late-night */
[data-qr-theme="noir"] {
  --qr-bg:#14101a; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #241a2e 0%, #14101a 58%);
  --qr-surface:#1f1828; --qr-surface-2:#2a2035; --qr-surface-hover:#342843;
  --qr-border:rgba(240,214,232,0.12); --qr-border-strong:rgba(240,214,232,0.24); --qr-border-control:rgba(240,214,232,0.44);
  --qr-text:#f6eef4; --qr-text-dim:rgba(246,238,244,0.72); --qr-text-faint:rgba(246,238,244,0.60);
  --qr-accent:#e08aa6; --qr-accent-2:#eaa8bd; --qr-accent-ink:#eda3ba;
  --qr-accent-text:#1a0f16; --qr-accent-soft:rgba(224,138,166,0.18);
  --qr-success:#86e0b6; --qr-success-soft:rgba(121,216,172,0.14);
  --qr-warn:#f2c25e; --qr-warn-soft:rgba(242,194,94,0.16);
  --qr-danger:#f79aaa; --qr-danger-soft:rgba(242,135,154,0.16);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'DM Sans', -apple-system, 'Segoe UI', sans-serif;
  --qr-radius-scale:1;
  color-scheme: dark;
}

/* Neon Tokyo — Ramen · bubble tea · late-night */
[data-qr-theme="neon"] {
  --qr-bg:#0b0616; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #1d0f38 0%, #0b0616 58%);
  --qr-surface:#160d26; --qr-surface-2:#1f1334; --qr-surface-hover:#2a1a45;
  --qr-border:rgba(214,180,255,0.14); --qr-border-strong:rgba(214,180,255,0.26); --qr-border-control:rgba(214,180,255,0.52);
  --qr-text:#f4ecff; --qr-text-dim:rgba(244,236,255,0.74); --qr-text-faint:rgba(244,236,255,0.62);
  --qr-accent:#2ee6d6; --qr-accent-2:#6ff0e6; --qr-accent-ink:#4feadd;
  --qr-accent-text:#04201e; --qr-accent-soft:rgba(46,230,214,0.16);
  --qr-success:#54e59b; --qr-success-soft:rgba(84,229,155,0.14);
  --qr-warn:#ffd166; --qr-warn-soft:rgba(255,209,102,0.16);
  --qr-danger:#ff85a1; --qr-danger-soft:rgba(255,133,161,0.16);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --qr-radius-scale:0.25;
  color-scheme: dark;
}

/* Copper & Oak — Whisky bar · speakeasy */
[data-qr-theme="copper"] {
  --qr-bg:#140f0b; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #2a1d13 0%, #140f0b 58%);
  --qr-surface:#1f1811; --qr-surface-2:#2b2118; --qr-surface-hover:#372b1f;
  --qr-border:rgba(255,214,170,0.13); --qr-border-strong:rgba(255,214,170,0.24); --qr-border-control:rgba(255,214,170,0.46);
  --qr-text:#f6ebdd; --qr-text-dim:rgba(246,235,221,0.74); --qr-text-faint:rgba(246,235,221,0.62);
  --qr-accent:#d98b52; --qr-accent-2:#e6a373; --qr-accent-ink:#e4a06d;
  --qr-accent-text:#1a0f06; --qr-accent-soft:rgba(217,139,82,0.18);
  --qr-success:#8ddba2; --qr-success-soft:rgba(141,219,162,0.14);
  --qr-warn:#f0c674; --qr-warn-soft:rgba(240,198,116,0.16);
  --qr-danger:#f0958a; --qr-danger-soft:rgba(240,149,138,0.16);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'Rockwell', 'Roboto Slab', Georgia, serif;
  --qr-radius-scale:0.25;
  color-scheme: dark;
}

/* Harbour & Ice — Seafood · oyster bar */
[data-qr-theme="harbour"] {
  --qr-bg:#06141a; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #0d2732 0%, #06141a 58%);
  --qr-surface:#0b1f28; --qr-surface-2:#102a35; --qr-surface-hover:#163543;
  --qr-border:rgba(190,229,240,0.13); --qr-border-strong:rgba(190,229,240,0.24); --qr-border-control:rgba(190,229,240,0.46);
  --qr-text:#eaf6fa; --qr-text-dim:rgba(234,246,250,0.74); --qr-text-faint:rgba(234,246,250,0.62);
  --qr-accent:#5ec8d8; --qr-accent-2:#8ad9e5; --qr-accent-ink:#7fd5e3;
  --qr-accent-text:#04181e; --qr-accent-soft:rgba(94,200,216,0.16);
  --qr-success:#6fdcae; --qr-success-soft:rgba(111,220,174,0.14);
  --qr-warn:#f0cb70; --qr-warn-soft:rgba(240,203,112,0.16);
  --qr-danger:#f79b9b; --qr-danger-soft:rgba(247,155,155,0.16);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --qr-radius-scale:1;
  color-scheme: dark;
}

/* Merlot & Gold — Wine bar · tasting menu */
[data-qr-theme="merlot"] {
  --qr-bg:#170a10; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #2e1220 0%, #170a10 58%);
  --qr-surface:#221019; --qr-surface-2:#2e1722; --qr-surface-hover:#3b1f2d;
  --qr-border:rgba(255,208,224,0.13); --qr-border-strong:rgba(255,208,224,0.24); --qr-border-control:rgba(255,208,224,0.46);
  --qr-text:#f9edf2; --qr-text-dim:rgba(249,237,242,0.74); --qr-text-faint:rgba(249,237,242,0.62);
  --qr-accent:#d4af6a; --qr-accent-2:#e2c489; --qr-accent-ink:#e0c188;
  --qr-accent-text:#1a1006; --qr-accent-soft:rgba(212,175,106,0.18);
  --qr-success:#83dcac; --qr-success-soft:rgba(131,220,172,0.14);
  --qr-warn:#eec978; --qr-warn-soft:rgba(238,201,120,0.16);
  --qr-danger:#f59aa6; --qr-danger-soft:rgba(245,154,166,0.16);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --qr-radius-scale:1.45;
  color-scheme: dark;
}

/* Espresso — Coffee roastery · brunch bar */
[data-qr-theme="espresso"] {
  --qr-bg:#150f0c; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #2b1e17 0%, #150f0c 58%);
  --qr-surface:#201813; --qr-surface-2:#2b211a; --qr-surface-hover:#372b22;
  --qr-border:rgba(255,226,200,0.13); --qr-border-strong:rgba(255,226,200,0.24); --qr-border-control:rgba(255,226,200,0.46);
  --qr-text:#f7ede4; --qr-text-dim:rgba(247,237,228,0.74); --qr-text-faint:rgba(247,237,228,0.62);
  --qr-accent:#c9a227; --qr-accent-2:#dcb84a; --qr-accent-ink:#dcb84a;
  --qr-accent-text:#1a1403; --qr-accent-soft:rgba(201,162,39,0.18);
  --qr-success:#8ddca6; --qr-success-soft:rgba(141,220,166,0.14);
  --qr-warn:#efc76e; --qr-warn-soft:rgba(239,199,110,0.16);
  --qr-danger:#f19a8c; --qr-danger-soft:rgba(241,154,140,0.16);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:ui-rounded, 'SF Pro Rounded', 'Hiragino Maru Gothic ProN', 'Quicksand', 'DM Sans', -apple-system, 'Segoe UI', sans-serif;
  --qr-radius-scale:2.2;
  color-scheme: dark;
}

/* Onyx — website colours */
[data-qr-theme="site-onyx"] {
  --qr-bg:#0b0b0c; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #24211c 0%, #0b0b0c 58%);
  --qr-surface:#151517; --qr-surface-2:#202021; --qr-surface-hover:#29282a;
  --qr-border:rgba(241,237,230,0.12); --qr-border-strong:rgba(241,237,230,0.24); --qr-border-control:rgba(241,237,230,0.48);
  --qr-text:#f1ede6; --qr-text-dim:rgba(241,237,230,0.72); --qr-text-faint:rgba(241,237,230,0.62);
  --qr-accent:#bda67c; --qr-accent-2:#c6b38f; --qr-accent-ink:#bda67c;
  --qr-accent-text:#0b0b0b; --qr-accent-soft:rgba(189,166,124,0.16);
  --qr-success:#5fe0ad; --qr-success-soft:rgba(70,217,160,0.14);
  --qr-warn:#f5c451; --qr-warn-soft:rgba(245,196,81,0.14);
  --qr-danger:#ff8f8f; --qr-danger-soft:rgba(255,122,122,0.14);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: dark;
}

/* Moss — website colours */
[data-qr-theme="site-moss"] {
  --qr-bg:#0b0c0a; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #26231a 0%, #0b0c0a 58%);
  --qr-surface:#151612; --qr-surface-2:#20211c; --qr-surface-hover:#292925;
  --qr-border:rgba(242,237,227,0.12); --qr-border-strong:rgba(242,237,227,0.24); --qr-border-control:rgba(242,237,227,0.48);
  --qr-text:#f2ede3; --qr-text-dim:rgba(242,237,227,0.72); --qr-text-faint:rgba(242,237,227,0.62);
  --qr-accent:#c9b27c; --qr-accent-2:#d0bd8f; --qr-accent-ink:#c9b27c;
  --qr-accent-text:#0b0b0b; --qr-accent-soft:rgba(201,178,124,0.16);
  --qr-success:#5fe0ad; --qr-success-soft:rgba(70,217,160,0.14);
  --qr-warn:#f5c451; --qr-warn-soft:rgba(245,196,81,0.14);
  --qr-danger:#ff8f8f; --qr-danger-soft:rgba(255,122,122,0.14);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: dark;
}

/* Terracotta — website colours */
[data-qr-theme="site-terracotta"] {
  --qr-bg:#141210; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #31261d 0%, #141210 58%);
  --qr-surface:#1d1a17; --qr-surface-2:#282421; --qr-surface-hover:#312d28;
  --qr-border:rgba(246,236,217,0.12); --qr-border-strong:rgba(246,236,217,0.24); --qr-border-control:rgba(246,236,217,0.48);
  --qr-text:#f6ecd9; --qr-text-dim:rgba(246,236,217,0.72); --qr-text-faint:rgba(246,236,217,0.62);
  --qr-accent:#e0a36a; --qr-accent-2:#e4b07e; --qr-accent-ink:#e0a36a;
  --qr-accent-text:#0b0b0b; --qr-accent-soft:rgba(224,163,106,0.16);
  --qr-success:#5fe0ad; --qr-success-soft:rgba(70,217,160,0.14);
  --qr-warn:#f5c451; --qr-warn-soft:rgba(245,196,81,0.14);
  --qr-danger:#ff8f8f; --qr-danger-soft:rgba(255,122,122,0.14);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: dark;
}

/* Indigo — website colours */
[data-qr-theme="site-indigo"] {
  --qr-bg:#0f1013; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #2d1c1d 0%, #0f1013 58%);
  --qr-surface:#17181d; --qr-surface-2:#222227; --qr-surface-hover:#2a2b2e;
  --qr-border:rgba(235,230,220,0.12); --qr-border-strong:rgba(235,230,220,0.24); --qr-border-control:rgba(235,230,220,0.48);
  --qr-text:#ebe6dc; --qr-text-dim:rgba(235,230,220,0.72); --qr-text-faint:rgba(235,230,220,0.62);
  --qr-accent:#e4675a; --qr-accent-2:#e57e71; --qr-accent-ink:#e56f62;
  --qr-accent-text:#0b0b0b; --qr-accent-soft:rgba(228,103,90,0.16);
  --qr-success:#5fe0ad; --qr-success-soft:rgba(70,217,160,0.14);
  --qr-warn:#f5c451; --qr-warn-soft:rgba(245,196,81,0.14);
  --qr-danger:#ff8f8f; --qr-danger-soft:rgba(255,122,122,0.14);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: dark;
}

/* Plum — website colours */
[data-qr-theme="site-plum"] {
  --qr-bg:#170b10; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #352116 0%, #170b10 58%);
  --qr-surface:#221018; --qr-surface-2:#2d1b21; --qr-surface-hover:#352429;
  --qr-border:rgba(248,235,212,0.12); --qr-border-strong:rgba(248,235,212,0.24); --qr-border-control:rgba(248,235,212,0.48);
  --qr-text:#f8ebd4; --qr-text-dim:rgba(248,235,212,0.72); --qr-text-faint:rgba(248,235,212,0.62);
  --qr-accent:#eaa63c; --qr-accent-2:#edb257; --qr-accent-ink:#eaa63c;
  --qr-accent-text:#0b0b0b; --qr-accent-soft:rgba(234,166,60,0.16);
  --qr-success:#5fe0ad; --qr-success-soft:rgba(70,217,160,0.14);
  --qr-warn:#f5c451; --qr-warn-soft:rgba(245,196,81,0.14);
  --qr-danger:#ff8f8f; --qr-danger-soft:rgba(255,122,122,0.14);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: dark;
}

/* Fuchsia — website colours */
[data-qr-theme="site-fuchsia"] {
  --qr-bg:#15111f; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #341a2e 0%, #15111f 58%);
  --qr-surface:#1f1a2b; --qr-surface-2:#2a2534; --qr-surface-hover:#322d3c;
  --qr-border:rgba(247,238,228,0.12); --qr-border-strong:rgba(247,238,228,0.24); --qr-border-control:rgba(247,238,228,0.48);
  --qr-text:#f7eee4; --qr-text-dim:rgba(247,238,228,0.72); --qr-text-faint:rgba(247,238,228,0.62);
  --qr-accent:#f0528a; --qr-accent-2:#f16e9a; --qr-accent-ink:#f36b9b;
  --qr-accent-text:#0b0b0b; --qr-accent-soft:rgba(240,82,138,0.16);
  --qr-success:#5fe0ad; --qr-success-soft:rgba(70,217,160,0.14);
  --qr-warn:#f5c451; --qr-warn-soft:rgba(245,196,81,0.14);
  --qr-danger:#ff8f8f; --qr-danger-soft:rgba(255,122,122,0.14);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: dark;
}

/* Cobalt — website colours */
[data-qr-theme="site-cobalt"] {
  --qr-bg:#0c1428; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #2e2e31 0%, #0c1428 58%);
  --qr-surface:#15203a; --qr-surface-2:#202a43; --qr-surface-hover:#29334a;
  --qr-border:rgba(243,241,234,0.12); --qr-border-strong:rgba(243,241,234,0.24); --qr-border-control:rgba(243,241,234,0.48);
  --qr-text:#f3f1ea; --qr-text-dim:rgba(243,241,234,0.72); --qr-text-faint:rgba(243,241,234,0.62);
  --qr-accent:#ffd166; --qr-accent-2:#fdd77e; --qr-accent-ink:#ffd166;
  --qr-accent-text:#0b0b0b; --qr-accent-soft:rgba(255,209,102,0.16);
  --qr-success:#5fe0ad; --qr-success-soft:rgba(70,217,160,0.14);
  --qr-warn:#f5c451; --qr-warn-soft:rgba(245,196,81,0.14);
  --qr-danger:#ff8f8f; --qr-danger-soft:rgba(255,122,122,0.14);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: dark;
}

/* Chalk — website colours */
[data-qr-theme="site-chalk"] {
  --qr-bg:#111113; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #2d2a27 0%, #111113 58%);
  --qr-surface:#1a1a1d; --qr-surface-2:#242427; --qr-surface-hover:#2d2d2e;
  --qr-border:rgba(236,232,223,0.12); --qr-border-strong:rgba(236,232,223,0.24); --qr-border-control:rgba(236,232,223,0.48);
  --qr-text:#ece8df; --qr-text-dim:rgba(236,232,223,0.72); --qr-text-faint:rgba(236,232,223,0.62);
  --qr-accent:#d8c3a0; --qr-accent-2:#dccaab; --qr-accent-ink:#d8c3a0;
  --qr-accent-text:#0b0b0b; --qr-accent-soft:rgba(216,195,160,0.16);
  --qr-success:#5fe0ad; --qr-success-soft:rgba(70,217,160,0.14);
  --qr-warn:#f5c451; --qr-warn-soft:rgba(245,196,81,0.14);
  --qr-danger:#ff8f8f; --qr-danger-soft:rgba(255,122,122,0.14);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: dark;
}

/* Oak — website colours */
[data-qr-theme="site-oak"] {
  --qr-bg:#121110; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #2d1f17 0%, #121110 58%);
  --qr-surface:#1b1917; --qr-surface-2:#252321; --qr-surface-hover:#2e2b28;
  --qr-border:rgba(236,228,214,0.12); --qr-border-strong:rgba(236,228,214,0.24); --qr-border-control:rgba(236,228,214,0.48);
  --qr-text:#ece4d6; --qr-text-dim:rgba(236,228,214,0.72); --qr-text-faint:rgba(236,228,214,0.62);
  --qr-accent:#d2733f; --qr-accent-2:#d7875a; --qr-accent-ink:#d68152;
  --qr-accent-text:#0b0b0b; --qr-accent-soft:rgba(210,115,63,0.16);
  --qr-success:#5fe0ad; --qr-success-soft:rgba(70,217,160,0.14);
  --qr-warn:#f5c451; --qr-warn-soft:rgba(245,196,81,0.14);
  --qr-danger:#ff8f8f; --qr-danger-soft:rgba(255,122,122,0.14);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: dark;
}

/* Forest — website colours */
[data-qr-theme="site-forest"] {
  --qr-bg:#15130f; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #2f2819 0%, #15130f 58%);
  --qr-surface:#1f1c18; --qr-surface-2:#2a2622; --qr-surface-hover:#322e29;
  --qr-border:rgba(241,232,214,0.12); --qr-border-strong:rgba(241,232,214,0.24); --qr-border-control:rgba(241,232,214,0.48);
  --qr-text:#f1e8d6; --qr-text-dim:rgba(241,232,214,0.72); --qr-text-faint:rgba(241,232,214,0.62);
  --qr-accent:#cfa857; --qr-accent-2:#d5b46e; --qr-accent-ink:#cfa857;
  --qr-accent-text:#0b0b0b; --qr-accent-soft:rgba(207,168,87,0.16);
  --qr-success:#5fe0ad; --qr-success-soft:rgba(70,217,160,0.14);
  --qr-warn:#f5c451; --qr-warn-soft:rgba(245,196,81,0.14);
  --qr-danger:#ff8f8f; --qr-danger-soft:rgba(255,122,122,0.14);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: dark;
}

/* Acid — website colours */
[data-qr-theme="site-acid"] {
  --qr-bg:#0e0f0a; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #2a310e 0%, #0e0f0a 58%);
  --qr-surface:#171911; --qr-surface-2:#22241c; --qr-surface-hover:#2b2d24;
  --qr-border:rgba(240,242,228,0.12); --qr-border-strong:rgba(240,242,228,0.24); --qr-border-control:rgba(240,242,228,0.48);
  --qr-text:#f0f2e4; --qr-text-dim:rgba(240,242,228,0.72); --qr-text-faint:rgba(240,242,228,0.62);
  --qr-accent:#d4ff2a; --qr-accent-2:#d9fd4b; --qr-accent-ink:#d4ff2a;
  --qr-accent-text:#0b0b0b; --qr-accent-soft:rgba(212,255,42,0.16);
  --qr-success:#5fe0ad; --qr-success-soft:rgba(70,217,160,0.14);
  --qr-warn:#f5c451; --qr-warn-soft:rgba(245,196,81,0.14);
  --qr-danger:#ff8f8f; --qr-danger-soft:rgba(255,122,122,0.14);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: dark;
}

/* Oxblood — website colours */
[data-qr-theme="site-oxblood"] {
  --qr-bg:#120a0c; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #331621 0%, #120a0c 58%);
  --qr-surface:#1c1013; --qr-surface-2:#271b1e; --qr-surface-hover:#2f2326;
  --qr-border:rgba(243,228,231,0.12); --qr-border-strong:rgba(243,228,231,0.24); --qr-border-control:rgba(243,228,231,0.48);
  --qr-text:#f3e4e7; --qr-text-dim:rgba(243,228,231,0.72); --qr-text-faint:rgba(243,228,231,0.62);
  --qr-accent:#ff5fa0; --qr-accent-2:#fd77ad; --qr-accent-ink:#ff5fa0;
  --qr-accent-text:#0b0b0b; --qr-accent-soft:rgba(255,95,160,0.16);
  --qr-success:#5fe0ad; --qr-success-soft:rgba(70,217,160,0.14);
  --qr-warn:#f5c451; --qr-warn-soft:rgba(245,196,81,0.14);
  --qr-danger:#ff8f8f; --qr-danger-soft:rgba(255,122,122,0.14);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: dark;
}

/* Mint — website colours */
[data-qr-theme="site-mint"] {
  --qr-bg:#0d1a16; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #2f272a 0%, #0d1a16 58%);
  --qr-surface:#15241f; --qr-surface-2:#1f2e29; --qr-surface-hover:#283731;
  --qr-border:rgba(230,243,236,0.12); --qr-border-strong:rgba(230,243,236,0.24); --qr-border-control:rgba(230,243,236,0.48);
  --qr-text:#e6f3ec; --qr-text-dim:rgba(230,243,236,0.72); --qr-text-faint:rgba(230,243,236,0.62);
  --qr-accent:#ff7aa2; --qr-accent-2:#fb90af; --qr-accent-ink:#ff7aa2;
  --qr-accent-text:#0b0b0b; --qr-accent-soft:rgba(255,122,162,0.16);
  --qr-success:#5fe0ad; --qr-success-soft:rgba(70,217,160,0.14);
  --qr-warn:#f5c451; --qr-warn-soft:rgba(245,196,81,0.14);
  --qr-danger:#ff8f8f; --qr-danger-soft:rgba(255,122,122,0.14);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: dark;
}

/* Mustard — website colours */
[data-qr-theme="site-mustard"] {
  --qr-bg:#1a1508; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #372c11 0%, #1a1508 58%);
  --qr-surface:#241e0d; --qr-surface-2:#2e2817; --qr-surface-hover:#37301f;
  --qr-border:rgba(243,234,211,0.12); --qr-border-strong:rgba(243,234,211,0.24); --qr-border-control:rgba(243,234,211,0.48);
  --qr-text:#f3ead3; --qr-text-dim:rgba(243,234,211,0.72); --qr-text-faint:rgba(243,234,211,0.62);
  --qr-accent:#e9b949; --qr-accent-2:#ebc262; --qr-accent-ink:#e9b949;
  --qr-accent-text:#0b0b0b; --qr-accent-soft:rgba(233,185,73,0.16);
  --qr-success:#5fe0ad; --qr-success-soft:rgba(70,217,160,0.14);
  --qr-warn:#f5c451; --qr-warn-soft:rgba(245,196,81,0.14);
  --qr-danger:#ff8f8f; --qr-danger-soft:rgba(255,122,122,0.14);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: dark;
}

/* Ocean — website colours */
[data-qr-theme="site-ocean"] {
  --qr-bg:#061a2b; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #292d29 0%, #061a2b 58%);
  --qr-surface:#0d2538; --qr-surface-2:#182f42; --qr-surface-hover:#213749;
  --qr-border:rgba(232,241,247,0.12); --qr-border-strong:rgba(232,241,247,0.24); --qr-border-control:rgba(232,241,247,0.48);
  --qr-text:#e8f1f7; --qr-text-dim:rgba(232,241,247,0.72); --qr-text-faint:rgba(232,241,247,0.62);
  --qr-accent:#ff9f1c; --qr-accent-2:#fbae43; --qr-accent-ink:#ff9f1c;
  --qr-accent-text:#0b0b0b; --qr-accent-soft:rgba(255,159,28,0.16);
  --qr-success:#5fe0ad; --qr-success-soft:rgba(70,217,160,0.14);
  --qr-warn:#f5c451; --qr-warn-soft:rgba(245,196,81,0.14);
  --qr-danger:#ff8f8f; --qr-danger-soft:rgba(255,122,122,0.14);
  --qr-shadow:0 10px 34px rgba(0,0,0,0.55);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: dark;
}

/* ═══ LIGHT ══════════════════════════════════════════════════════════════ */

/* Linen — Café · brunch · all-day */
[data-qr-theme="linen"] {
  --qr-bg:#f6f3ec; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #fffdf8 0%, #f6f3ec 58%);
  --qr-surface:#fffdf8; --qr-surface-2:#f1ede3; --qr-surface-hover:#e9e4d7;
  --qr-border:rgba(60,54,40,0.16); --qr-border-strong:rgba(60,54,40,0.28); --qr-border-control:rgba(60,54,40,0.58);
  --qr-text:#2c2a22; --qr-text-dim:rgba(44,42,34,0.80); --qr-text-faint:rgba(44,42,34,0.72);
  --qr-accent:#4f6e4e; --qr-accent-2:#537352; --qr-accent-ink:#3c5a3b;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(79,110,78,0.13);
  --qr-success:#296b3f; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'DM Sans', -apple-system, 'Segoe UI', sans-serif;
  --qr-radius-scale:1;
  color-scheme: light;
}

/* Terracotta — Italian · pizzeria */
[data-qr-theme="terracotta"] {
  --qr-bg:#faf1e6; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #fff8ef 0%, #faf1e6 58%);
  --qr-surface:#fff8ef; --qr-surface-2:#f4e7d6; --qr-surface-hover:#ecdcc7;
  --qr-border:rgba(74,48,30,0.16); --qr-border-strong:rgba(74,48,30,0.30); --qr-border-control:rgba(74,48,30,0.58);
  --qr-text:#3a2a1d; --qr-text-dim:rgba(58,42,29,0.80); --qr-text-faint:rgba(58,42,29,0.72);
  --qr-accent:#aa4b1c; --qr-accent-2:#b45a28; --qr-accent-ink:#8e3d15;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(170,75,28,0.12);
  --qr-success:#366c26; --qr-success-soft:rgba(56,112,40,0.14);
  --qr-warn:#7d4d12; --qr-warn-soft:rgba(138,86,21,0.13);
  --qr-danger:#8d2e20; --qr-danger-soft:rgba(149,50,35,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'DM Sans', -apple-system, 'Segoe UI', sans-serif;
  --qr-radius-scale:1;
  color-scheme: light;
}

/* Sky & Coral — Bakery · dessert · ice cream */
[data-qr-theme="sky"] {
  --qr-bg:#eef3f8; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #fbfdff 0%, #eef3f8 58%);
  --qr-surface:#ffffff; --qr-surface-2:#eef2f8; --qr-surface-hover:#e3e9f2;
  --qr-border:rgba(35,52,74,0.16); --qr-border-strong:rgba(35,52,74,0.28); --qr-border-control:rgba(35,52,74,0.56);
  --qr-text:#21344a; --qr-text-dim:rgba(33,52,74,0.82); --qr-text-faint:rgba(33,52,74,0.74);
  --qr-accent:#bb3c2e; --qr-accent-2:#c04a3a; --qr-accent-ink:#9c2f23;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(187,60,46,0.14);
  --qr-success:#166b48; --qr-success-soft:rgba(22,107,72,0.13);
  --qr-warn:#7d5006; --qr-warn-soft:rgba(138,88,6,0.12);
  --qr-danger:#a83232; --qr-danger-soft:rgba(168,50,50,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'DM Sans', -apple-system, 'Segoe UI', sans-serif;
  --qr-radius-scale:1;
  color-scheme: light;
}

/* Slate Paper — Deli · fast casual · modern */
[data-qr-theme="slate-paper"] {
  --qr-bg:#f2f4f7; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #ffffff 0%, #f2f4f7 58%);
  --qr-surface:#ffffff; --qr-surface-2:#f0f2f6; --qr-surface-hover:#e6e9ef;
  --qr-border:rgba(20,32,52,0.15); --qr-border-strong:rgba(20,32,52,0.26); --qr-border-control:rgba(20,32,52,0.52);
  --qr-text:#141f30; --qr-text-dim:rgba(20,31,48,0.78); --qr-text-faint:rgba(20,31,48,0.70);
  --qr-accent:#1e3a63; --qr-accent-2:#2b508a; --qr-accent-ink:#1e3a63;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(30,58,99,0.10);
  --qr-success:#166a3d; --qr-success-soft:rgba(22,106,61,0.11);
  --qr-warn:#7a5211; --qr-warn-soft:rgba(128,87,18,0.11);
  --qr-danger:#a03028; --qr-danger-soft:rgba(160,48,40,0.10);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'DM Sans', -apple-system, 'Segoe UI', sans-serif;
  --qr-radius-scale:1;
  color-scheme: light;
}

/* Botanical — Plant-based · salad · juice */
[data-qr-theme="botanical"] {
  --qr-bg:#eef5ee; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #fbfefb 0%, #eef5ee 58%);
  --qr-surface:#ffffff; --qr-surface-2:#e8f1e8; --qr-surface-hover:#dceadc;
  --qr-border:rgba(24,54,32,0.16); --qr-border-strong:rgba(24,54,32,0.28); --qr-border-control:rgba(24,54,32,0.54);
  --qr-text:#17301f; --qr-text-dim:rgba(23,48,31,0.80); --qr-text-faint:rgba(23,48,31,0.72);
  --qr-accent:#2f6b3c; --qr-accent-2:#387a46; --qr-accent-ink:#245730;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(47,107,60,0.12);
  --qr-success:#1d6b3f; --qr-success-soft:rgba(29,107,63,0.13);
  --qr-warn:#7a5010; --qr-warn-soft:rgba(122,80,16,0.12);
  --qr-danger:#96301f; --qr-danger-soft:rgba(150,48,31,0.11);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:ui-rounded, 'SF Pro Rounded', 'Hiragino Maru Gothic ProN', 'Quicksand', 'DM Sans', -apple-system, 'Segoe UI', sans-serif;
  --qr-radius-scale:2.2;
  color-scheme: light;
}

/* Sorbet — Gelato · dessert · kids menu */
[data-qr-theme="sorbet"] {
  --qr-bg:#fdf0f4; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #fffafc 0%, #fdf0f4 58%);
  --qr-surface:#fffafc; --qr-surface-2:#fbe6ee; --qr-surface-hover:#f6d8e4;
  --qr-border:rgba(88,30,52,0.15); --qr-border-strong:rgba(88,30,52,0.27); --qr-border-control:rgba(88,30,52,0.58);
  --qr-text:#3d1b28; --qr-text-dim:rgba(61,27,40,0.80); --qr-text-faint:rgba(61,27,40,0.72);
  --qr-accent:#b03060; --qr-accent-2:#c04572; --qr-accent-ink:#8f2450;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(176,48,96,0.11);
  --qr-success:#1f6b45; --qr-success-soft:rgba(31,107,69,0.12);
  --qr-warn:#7d4f14; --qr-warn-soft:rgba(125,79,20,0.12);
  --qr-danger:#9c2c33; --qr-danger-soft:rgba(156,44,51,0.11);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:ui-rounded, 'SF Pro Rounded', 'Hiragino Maru Gothic ProN', 'Quicksand', 'DM Sans', -apple-system, 'Segoe UI', sans-serif;
  --qr-radius-scale:2.2;
  color-scheme: light;
}

/* Marble & Bronze — Patisserie · hotel dining */
[data-qr-theme="marble"] {
  --qr-bg:#f5f2ec; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #fffefb 0%, #f5f2ec 58%);
  --qr-surface:#fffefb; --qr-surface-2:#efeade; --qr-surface-hover:#e5dfd0;
  --qr-border:rgba(48,40,26,0.16); --qr-border-strong:rgba(48,40,26,0.28); --qr-border-control:rgba(48,40,26,0.54);
  --qr-text:#2a251c; --qr-text-dim:rgba(42,37,28,0.80); --qr-text-faint:rgba(42,37,28,0.72);
  --qr-accent:#7a5a24; --qr-accent-2:#8d6a2c; --qr-accent-ink:#63491c;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(122,90,36,0.12);
  --qr-success:#26663c; --qr-success-soft:rgba(38,102,60,0.12);
  --qr-warn:#7a5211; --qr-warn-soft:rgba(122,82,17,0.12);
  --qr-danger:#94301f; --qr-danger-soft:rgba(148,48,31,0.11);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Aegean — Greek · mezze · Mediterranean */
[data-qr-theme="aegean"] {
  --qr-bg:#eef4f9; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #ffffff 0%, #eef4f9 58%);
  --qr-surface:#ffffff; --qr-surface-2:#e6eef7; --qr-surface-hover:#d9e5f2;
  --qr-border:rgba(12,42,74,0.16); --qr-border-strong:rgba(12,42,74,0.28); --qr-border-control:rgba(12,42,74,0.52);
  --qr-text:#0f2a44; --qr-text-dim:rgba(15,42,68,0.80); --qr-text-faint:rgba(15,42,68,0.72);
  --qr-accent:#12557f; --qr-accent-2:#186a9c; --qr-accent-ink:#0f4467;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(18,85,127,0.11);
  --qr-success:#186347; --qr-success-soft:rgba(24,99,71,0.12);
  --qr-warn:#7a5210; --qr-warn-soft:rgba(122,82,16,0.12);
  --qr-danger:#9a2f2f; --qr-danger-soft:rgba(154,47,47,0.11);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --qr-radius-scale:1.45;
  color-scheme: light;
}

/* Newsprint — Deli counter · bakery · minimal */
[data-qr-theme="newsprint"] {
  --qr-bg:#f4f3f0; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #fbfaf8 0%, #f4f3f0 58%);
  --qr-surface:#fbfaf8; --qr-surface-2:#eceae5; --qr-surface-hover:#e0ded7;
  --qr-border:rgba(20,20,18,0.18); --qr-border-strong:rgba(20,20,18,0.30); --qr-border-control:rgba(20,20,18,0.56);
  --qr-text:#141412; --qr-text-dim:rgba(20,20,18,0.78); --qr-text-faint:rgba(20,20,18,0.70);
  --qr-accent:#9e2a20; --qr-accent-2:#b13327; --qr-accent-ink:#8a241b;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(158,42,32,0.10);
  --qr-success:#1d5f39; --qr-success-soft:rgba(29,95,57,0.11);
  --qr-warn:#6f4a10; --qr-warn-soft:rgba(111,74,16,0.11);
  --qr-danger:#932a22; --qr-danger-soft:rgba(147,42,34,0.10);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Tangerine — website colours */
[data-qr-theme="site-tangerine"] {
  --qr-bg:#f4f2ed; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #e6ebe7 0%, #f4f2ed 58%);
  --qr-surface:#e9e6df; --qr-surface-2:#dfdcd5; --qr-surface-hover:#d7d4cd;
  --qr-border:rgba(29,26,23,0.12); --qr-border-strong:rgba(29,26,23,0.24); --qr-border-control:rgba(29,26,23,0.52);
  --qr-text:#1d1a17; --qr-text-dim:rgba(29,26,23,0.72); --qr-text-faint:rgba(29,26,23,0.66);
  --qr-accent:#0f7a8d; --qr-accent-2:#126978; --qr-accent-ink:#0f606f;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(15,122,141,0.16);
  --qr-success:#26613a; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Navy — website colours */
[data-qr-theme="site-navy"] {
  --qr-bg:#efe8da; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #edded0 0%, #efe8da 58%);
  --qr-surface:#e5dccb; --qr-surface-2:#dbd3c4; --qr-surface-hover:#d3ccbf;
  --qr-border:rgba(30,42,71,0.12); --qr-border-strong:rgba(30,42,71,0.24); --qr-border-control:rgba(30,42,71,0.58);
  --qr-text:#1e2a47; --qr-text-dim:rgba(30,42,71,0.74); --qr-text-faint:rgba(30,42,71,0.74);
  --qr-accent:#c8402f; --qr-accent-2:#a93c33; --qr-accent-ink:#8f3024;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(200,64,47,0.16);
  --qr-success:#255d38; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#744c15; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Scarlet — website colours */
[data-qr-theme="site-scarlet"] {
  --qr-bg:#f1f1f1; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #eee4e5 0%, #f1f1f1 58%);
  --qr-surface:#e6e6e6; --qr-surface-2:#dcdcdc; --qr-surface-hover:#d4d4d4;
  --qr-border:rgba(28,26,26,0.12); --qr-border-strong:rgba(28,26,26,0.24); --qr-border-control:rgba(28,26,26,0.52);
  --qr-text:#1c1a1a; --qr-text-dim:rgba(28,26,26,0.72); --qr-text-faint:rgba(28,26,26,0.66);
  --qr-accent:#c3102b; --qr-accent-2:#a51228; --qr-accent-ink:#a11025;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(195,16,43,0.16);
  --qr-success:#26613a; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Bordeaux — website colours */
[data-qr-theme="site-bordeaux"] {
  --qr-bg:#f4efe6; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #ede3db 0%, #f4efe6 58%);
  --qr-surface:#ebe5d9; --qr-surface-2:#e1dbd0; --qr-surface-hover:#d8d3c8;
  --qr-border:rgba(28,27,31,0.12); --qr-border-strong:rgba(28,27,31,0.24); --qr-border-control:rgba(28,27,31,0.52);
  --qr-text:#1c1b1f; --qr-text-dim:rgba(28,27,31,0.72); --qr-text-faint:rgba(28,27,31,0.68);
  --qr-accent:#7a1f2e; --qr-accent-2:#691e2b; --qr-accent-ink:#7a1f2e;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(122,31,46,0.16);
  --qr-success:#26613a; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Sage — website colours */
[data-qr-theme="site-sage"] {
  --qr-bg:#fbf6ee; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #f7ebe4 0%, #fbf6ee 58%);
  --qr-surface:#f2eadc; --qr-surface-2:#e8e0d3; --qr-surface-hover:#e0d8cb;
  --qr-border:rgba(42,35,32,0.12); --qr-border-strong:rgba(42,35,32,0.24); --qr-border-control:rgba(42,35,32,0.54);
  --qr-text:#2a2320; --qr-text-dim:rgba(42,35,32,0.72); --qr-text-faint:rgba(42,35,32,0.70);
  --qr-accent:#b8414f; --qr-accent-2:#9e3c47; --qr-accent-ink:#983743;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(184,65,79,0.16);
  --qr-success:#27663c; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Aegean — website colours */
[data-qr-theme="site-aegean"] {
  --qr-bg:#f8f7f2; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #ebeeee 0%, #f8f7f2 58%);
  --qr-surface:#edece4; --qr-surface-2:#e2e2dc; --qr-surface-hover:#d9dad5;
  --qr-border:rgba(16,33,58,0.12); --qr-border-strong:rgba(16,33,58,0.24); --qr-border-control:rgba(16,33,58,0.52);
  --qr-text:#10213a; --qr-text-dim:rgba(16,33,58,0.72); --qr-text-faint:rgba(16,33,58,0.68);
  --qr-accent:#1e63b4; --qr-accent-2:#1b579e; --qr-accent-ink:#1b579c;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(30,99,180,0.16);
  --qr-success:#27663c; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Ink — website colours */
[data-qr-theme="site-ink"] {
  --qr-bg:#f7f5f0; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #f0e9e3 0%, #f7f5f0 58%);
  --qr-surface:#ece9e2; --qr-surface-2:#e1ded8; --qr-surface-hover:#d9d6cf;
  --qr-border:rgba(20,20,20,0.12); --qr-border-strong:rgba(20,20,20,0.24); --qr-border-control:rgba(20,20,20,0.50);
  --qr-text:#141414; --qr-text-dim:rgba(20,20,20,0.72); --qr-text-faint:rgba(20,20,20,0.64);
  --qr-accent:#8a2b1e; --qr-accent-2:#75271c; --qr-accent-ink:#8a2b1e;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(138,43,30,0.16);
  --qr-success:#27663c; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Lime — website colours */
[data-qr-theme="site-lime"] {
  --qr-bg:#f6f6ef; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #f4ebe2 0%, #f6f6ef 58%);
  --qr-surface:#ebebe0; --qr-surface-2:#e1e1d6; --qr-surface-hover:#d8d9ce;
  --qr-border:rgba(26,35,22,0.12); --qr-border-strong:rgba(26,35,22,0.24); --qr-border-control:rgba(26,35,22,0.54);
  --qr-text:#1a2316; --qr-text-dim:rgba(26,35,22,0.72); --qr-text-faint:rgba(26,35,22,0.68);
  --qr-accent:#d7381e; --qr-accent-2:#b5341d; --qr-accent-ink:#a12c18;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(215,56,30,0.16);
  --qr-success:#27663c; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Paper — website colours */
[data-qr-theme="site-paper"] {
  --qr-bg:#ffffff; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #fdf2f1 0%, #ffffff 58%);
  --qr-surface:#f2f2f2; --qr-surface-2:#e7e7e7; --qr-surface-hover:#dedede;
  --qr-border:rgba(17,17,17,0.12); --qr-border-strong:rgba(17,17,17,0.24); --qr-border-control:rgba(17,17,17,0.48);
  --qr-text:#111111; --qr-text-dim:rgba(17,17,17,0.72); --qr-text-faint:rgba(17,17,17,0.62);
  --qr-accent:#d6251b; --qr-accent-2:#b32119; --qr-accent-ink:#b02117;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(214,37,27,0.16);
  --qr-success:#296b3f; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Butter — website colours */
[data-qr-theme="site-butter"] {
  --qr-bg:#fbf7ec; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #f3ecdf 0%, #fbf7ec 58%);
  --qr-surface:#f1ebdb; --qr-surface-2:#e7e1d1; --qr-surface-hover:#dfd8c9;
  --qr-border:rgba(43,29,14,0.12); --qr-border-strong:rgba(43,29,14,0.24); --qr-border-control:rgba(43,29,14,0.52);
  --qr-text:#2b1d0e; --qr-text-dim:rgba(43,29,14,0.72); --qr-text-faint:rgba(43,29,14,0.68);
  --qr-accent:#7a3b12; --qr-accent-2:#6c3611; --qr-accent-ink:#7a3b12;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(122,59,18,0.16);
  --qr-success:#27663c; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Cherry — website colours */
[data-qr-theme="site-cherry"] {
  --qr-bg:#fff5f2; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #f1ece8 0%, #fff5f2 58%);
  --qr-surface:#f8e9e3; --qr-surface-2:#eeded9; --qr-surface-hover:#e5d6d1;
  --qr-border:rgba(42,18,22,0.12); --qr-border-strong:rgba(42,18,22,0.24); --qr-border-control:rgba(42,18,22,0.50);
  --qr-text:#2a1216; --qr-text-dim:rgba(42,18,22,0.72); --qr-text-faint:rgba(42,18,22,0.66);
  --qr-accent:#1d5c4f; --qr-accent-2:#1f4f45; --qr-accent-ink:#1d5c4f;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(29,92,79,0.16);
  --qr-success:#27663c; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Lilac — website colours */
[data-qr-theme="site-lilac"] {
  --qr-bg:#f5f2fb; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #eaeaed 0%, #f5f2fb 58%);
  --qr-surface:#ebe6f5; --qr-surface-2:#e1dcec; --qr-surface-hover:#d9d3e4;
  --qr-border:rgba(31,24,56,0.12); --qr-border-strong:rgba(31,24,56,0.24); --qr-border-control:rgba(31,24,56,0.52);
  --qr-text:#1f1838; --qr-text-dim:rgba(31,24,56,0.72); --qr-text-faint:rgba(31,24,56,0.68);
  --qr-accent:#44690f; --qr-accent-2:#3d5a16; --qr-accent-ink:#3e600f;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(68,105,15,0.16);
  --qr-success:#27663c; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Pistachio — website colours */
[data-qr-theme="site-pistachio"] {
  --qr-bg:#f7f8f1; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #f3ece7 0%, #f7f8f1 58%);
  --qr-surface:#ecefe2; --qr-surface-2:#e2e5d8; --qr-surface-hover:#daddd0;
  --qr-border:rgba(31,42,26,0.12); --qr-border-strong:rgba(31,42,26,0.24); --qr-border-control:rgba(31,42,26,0.54);
  --qr-text:#1f2a1a; --qr-text-dim:rgba(31,42,26,0.72); --qr-text-faint:rgba(31,42,26,0.70);
  --qr-accent:#b82d4a; --qr-accent-2:#9c2c41; --qr-accent-ink:#a72944;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(184,45,74,0.16);
  --qr-success:#27663c; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Electric — website colours */
[data-qr-theme="site-electric"] {
  --qr-bg:#f4f4f0; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #f1e8e3 0%, #f4f4f0 58%);
  --qr-surface:#e9e9e2; --qr-surface-2:#deded9; --qr-surface-hover:#d5d6d2;
  --qr-border:rgba(16,18,51,0.12); --qr-border-strong:rgba(16,18,51,0.24); --qr-border-control:rgba(16,18,51,0.50);
  --qr-text:#101233; --qr-text-dim:rgba(16,18,51,0.72); --qr-text-faint:rgba(16,18,51,0.64);
  --qr-accent:#bf2a12; --qr-accent-2:#a02618; --qr-accent-ink:#a52612;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(191,42,18,0.16);
  --qr-success:#27663c; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Sky — website colours */
[data-qr-theme="site-sky"] {
  --qr-bg:#f4f9fd; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #f0edf0 0%, #f4f9fd 58%);
  --qr-surface:#e6f0f8; --qr-surface-2:#dbe6ef; --qr-surface-hover:#d3dee8;
  --qr-border:rgba(15,36,70,0.12); --qr-border-strong:rgba(15,36,70,0.24); --qr-border-control:rgba(15,36,70,0.54);
  --qr-text:#0f2446; --qr-text-dim:rgba(15,36,70,0.72); --qr-text-faint:rgba(15,36,70,0.68);
  --qr-accent:#b5341f; --qr-accent-2:#973126; --qr-accent-ink:#a4301d;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(181,52,31,0.16);
  --qr-success:#27663c; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Peach — website colours */
[data-qr-theme="site-peach"] {
  --qr-bg:#fff8f3; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #f5ecea 0%, #fff8f3 58%);
  --qr-surface:#f7ece3; --qr-surface-2:#ede2d9; --qr-surface-hover:#e5d9d1;
  --qr-border:rgba(42,26,22,0.12); --qr-border-strong:rgba(42,26,22,0.24); --qr-border-control:rgba(42,26,22,0.52);
  --qr-text:#2a1a16; --qr-text-dim:rgba(42,26,22,0.72); --qr-text-faint:rgba(42,26,22,0.66);
  --qr-accent:#5a2a5e; --qr-accent-2:#512751; --qr-accent-ink:#5a2a5e;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(90,42,94,0.16);
  --qr-success:#27663c; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Lagoon — website colours */
[data-qr-theme="site-lagoon"] {
  --qr-bg:#f2faf8; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #eeefeb 0%, #f2faf8 58%);
  --qr-surface:#e5f1ee; --qr-surface-2:#dae7e4; --qr-surface-hover:#d2dfdc;
  --qr-border:rgba(15,42,42,0.12); --qr-border-strong:rgba(15,42,42,0.24); --qr-border-control:rgba(15,42,42,0.54);
  --qr-text:#0f2a2a; --qr-text-dim:rgba(15,42,42,0.72); --qr-text-faint:rgba(15,42,42,0.70);
  --qr-accent:#b5401a; --qr-accent-2:#973c1d; --qr-accent-ink:#9c3817;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(181,64,26,0.16);
  --qr-success:#27663c; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Rose — website colours */
[data-qr-theme="site-rose"] {
  --qr-bg:#fff7f8; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #f3efef 0%, #fff7f8 58%);
  --qr-surface:#f7eaed; --qr-surface-2:#eddfe3; --qr-surface-hover:#e5d7da;
  --qr-border:rgba(42,23,28,0.12); --qr-border-strong:rgba(42,23,28,0.24); --qr-border-control:rgba(42,23,28,0.52);
  --qr-text:#2a171c; --qr-text-dim:rgba(42,23,28,0.72); --qr-text-faint:rgba(42,23,28,0.66);
  --qr-accent:#2f6b5a; --qr-accent-2:#2e5c4f; --qr-accent-ink:#2b6152;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(47,107,90,0.16);
  --qr-success:#27663c; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Olive — website colours */
[data-qr-theme="site-olive"] {
  --qr-bg:#f8f3e3; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #f1e8d7 0%, #f8f3e3 58%);
  --qr-surface:#eee7d2; --qr-surface-2:#e4dec9; --qr-surface-hover:#dcd6c1;
  --qr-border:rgba(42,43,26,0.12); --qr-border-strong:rgba(42,43,26,0.24); --qr-border-control:rgba(42,43,26,0.56);
  --qr-text:#2a2b1a; --qr-text-dim:rgba(42,43,26,0.72); --qr-text-faint:rgba(42,43,26,0.72);
  --qr-accent:#8a3a1e; --qr-accent-2:#79371d; --qr-accent-ink:#8a3a1e;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(138,58,30,0.16);
  --qr-success:#26613a; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* Cocoa — website colours */
[data-qr-theme="site-cocoa"] {
  --qr-bg:#f6efe6; --qr-bg-grad:radial-gradient(130% 90% at 50% -10%, #e9e7e3 0%, #f6efe6 58%);
  --qr-surface:#ece3d7; --qr-surface-2:#e2d9cd; --qr-surface-hover:#dbd1c5;
  --qr-border:rgba(42,26,16,0.12); --qr-border-strong:rgba(42,26,16,0.24); --qr-border-control:rgba(42,26,16,0.54);
  --qr-text:#2a1a10; --qr-text-dim:rgba(42,26,16,0.72); --qr-text-faint:rgba(42,26,16,0.68);
  --qr-accent:#1a6fb0; --qr-accent-2:#1d6093; --qr-accent-ink:#15588b;
  --qr-accent-text:#ffffff; --qr-accent-soft:rgba(26,111,176,0.16);
  --qr-success:#26613a; --qr-success-soft:rgba(41,107,63,0.14);
  --qr-warn:#7a4f16; --qr-warn-soft:rgba(128,83,25,0.13);
  --qr-danger:#8e3425; --qr-danger-soft:rgba(148,56,40,0.12);
  --qr-shadow:0 8px 26px rgba(20,24,32,0.10);
  --qr-font-display:'Josefin Sans', 'Futura', sans-serif;
  --qr-radius-scale:0.25;
  color-scheme: light;
}

/* ═══ END GENERATED ════════════════════════════════════════════════════════ */

/* ── Base surface ────────────────────────────────────────────────────────── */
.qr-themed {
  background: var(--qr-bg-grad), var(--qr-bg) !important;
  background-attachment: fixed;
  color: var(--qr-text);
  -webkit-font-smoothing: antialiased;
}

/* Modal scrims that also carry .qr-themed keep a dim backdrop, not the page bg */
.qr-themed.bg-black\/80  { background: rgba(0,0,0,0.80) !important; }
.qr-themed.bg-black\/95  { background: rgba(0,0,0,0.95) !important; }
.qr-themed.bg-black\/70  { background: rgba(0,0,0,0.70) !important; }
.qr-themed.bg-black\/60  { background: rgba(0,0,0,0.60) !important; }


/* ── Letterform and shape ─────────────────────────────────────────────────
   Colour alone makes eight tints of the same restaurant. A serif menu with
   4px corners and a rounded one with 24px corners read as different places
   before a single colour registers, and both cost nothing: the fonts are
   system stacks (see utils/qr_themes.py on why not a webfont) and the radius
   is a multiplier on Tailwind's own scale.

   Headings only. Body copy stays on one face across every theme, because a
   guest is reading a menu on their own phone and that is not the place to
   spend legibility on personality. */
.qr-themed :is(h1, h2, h3, .qr-display) {
  font-family: var(--qr-font-display, inherit);
}

/* The multiplier is applied to Tailwind's own step, so `soft` (x1) leaves the
   original eight themes byte-identical. `rounded-full` is untouched — a pill
   or an avatar is round because of what it is, not because of the theme. */
.qr-themed [class~="rounded-lg"]   { border-radius: calc(8px  * var(--qr-radius-scale, 1)); }
.qr-themed [class~="rounded-xl"]   { border-radius: calc(12px * var(--qr-radius-scale, 1)); }
.qr-themed [class~="rounded-2xl"]  { border-radius: calc(16px * var(--qr-radius-scale, 1)); }
.qr-themed [class~="rounded-3xl"]  { border-radius: calc(24px * var(--qr-radius-scale, 1)); }
.qr-themed [class~="rounded-t-2xl"] {
  border-radius: calc(16px * var(--qr-radius-scale, 1))
                 calc(16px * var(--qr-radius-scale, 1)) 0 0;
}

/* ── Tailwind utility overrides (scoped to .qr-themed) ───────────────────── */
.qr-themed .bg-gray-950, .qr-themed .bg-black            { background-color: transparent !important; }
.qr-themed .bg-gray-900, .qr-themed .bg-gray-800         { background-color: var(--qr-surface) !important; }
.qr-themed .bg-gray-900\/50, .qr-themed .bg-gray-900\/60,
.qr-themed .bg-gray-900\/70,
.qr-themed .bg-gray-800\/50     { background-color: var(--qr-surface-2) !important; }
.qr-themed .bg-white\/5         { background-color: var(--qr-surface-2) !important; }
.qr-themed .bg-white\/10, .qr-themed .bg-white\/20        { background-color: var(--qr-surface-hover) !important; }

.qr-themed .border-white\/5, .qr-themed .border-white\/10    { border-color: var(--qr-border) !important; }
/* /15 had no rule at all and fell through to raw Tailwind — white at 15% — on
   sixteen of the guest buttons, including "Pay the whole table". The same
   escape as every other unlisted opacity step. */
.qr-themed .border-white\/15,
.qr-themed .border-white\/20, .qr-themed .border-white\/25,
.qr-themed .border-white\/30   { border-color: var(--qr-border-strong) !important; }

/* ── The edge of a control ────────────────────────────────────────────────
   `--qr-border-strong` is a 0.22-0.30 alpha wash. Around a panel that is a
   seam and it is right; around the thing a guest taps to pay it measured
   1.4:1-2.0:1 in every one of the eight themes. `--qr-border-control` is
   solved per theme as the minimum alpha clearing 3:1 against that theme's
   page, card AND well — see utils/qr_themes.py, which fails the build if a
   palette stops satisfying it. */
.qr-themed :is(button, a[href], summary, [role="button"], [onclick],
               input, select, textarea, label[for])[class*="border-white/"] {
  border-color: var(--qr-border-control) !important;
}

/* The default edge for any control on a themed page, whichever class put the
   border there — a bare `border`, a component class like `.qr-panel-alt`, or
   the browser. Deliberately WITHOUT `!important` so the semantic colours in
   this file still win: an active menu tab keeps its `border-royal`, a success
   panel keeps its green. Specificity (0,2,1) puts it above `.qr-themed
   .qr-panel-alt`, whose 1px seam was the edge on "View existing table". */
.qr-themed :is(button, a[href], summary, [role="button"], [onclick],
               input, select, textarea, label[for]) {
  border-color: var(--qr-border-control);
}

/* A control with a fill but no border of its own. On the light themes the
   fill tiers are #fffdf8 / #f1ede3 / #e9e4d7 — within 1.1:1 of each other, so
   the fill cannot be the thing that says "button", exactly as on the app's own
   light theme. An inset ring rather than a border, because these layouts were
   built with no border box and 1px would move every one of them. */
.qr-themed :is(button, a[href], summary, [role="button"], [onclick],
               label[for]):is(.bg-white\/5, .bg-white\/10, .bg-white\/20,
               .bg-gray-800, .bg-gray-900):not([class*="border"]):not([class*="shadow"]) {
  box-shadow: inset 0 0 0 1px var(--qr-border-control);
}
/* Inputs are controls too, and a guest types a cover name and a card postcode
   into them. They carry no border class of their own on four of these pages. */
/* The leading-space form, not a bare substring. `:not([class*="border"])`
   also excluded `focus:border-royal`, which is a STATE class — so the table
   number field on the landing page, the first control a guest ever touches,
   was the one input this rule skipped. */
.qr-themed :is(input, textarea, select):not([type="checkbox"]):not([type="radio"]):not([class^="border"]):not([class*=" border"]) {
  box-shadow: inset 0 0 0 1px var(--qr-border-control);
}

/* A tinted badge or icon medallion — the amber "Prep" chip, the red ✕ circle
   on a failed payment. Not controls, so a seam rather than a 3:1 edge, but
   1.21:1 against the card is not a seam either: on the light themes the chip
   simply stopped being a chip. `currentColor` is the hue's own ink, which the
   rules above have already put at 4.5:1 on exactly this tint. */
/* A bottom sheet floats on a scrim, and on the dark themes its card fill is
   1.13:1 against that scrim with a 1.25:1 hairline — so the "Before you order"
   allergy sheet, the one modal a guest is required to read, had no visible
   edge at the top where it meets the dimmed page. The theme's own shadow is
   what separates a sheet from what it covers. */
.qr-themed :is([class*="rounded-t-2xl"], [class*="rounded-t-3xl"])[class*="bg-gray-9"],
.qr-themed [class*="rounded-t-2xl"][class*="qr-panel"] {
  box-shadow: var(--qr-shadow);
  border-color: var(--qr-border-strong) !important;
}

/* NB: no line break before the `:not()`s. A newline is whitespace and
   whitespace is a descendant combinator, so the first version of both this
   rule and the input rule above selected the CHILDREN of the thing they meant
   to select — and matched nothing at all, since a chip's child is a text node
   and an input has no children. It fails silently and looks exactly like a
   rule that is simply losing on specificity. */
.qr-themed :is([class*="bg-amber-500/"], [class*="bg-green-500/"], [class*="bg-red-500/"], [class*="bg-royal/"]):not([class*="border"]):not([class*="shadow"]) {
  box-shadow: inset 0 0 0 1px currentColor;
}

.qr-themed .text-white          { color: var(--qr-text) !important; }
.qr-themed .text-white\/80, .qr-themed .text-white\/70,
.qr-themed .text-white\/60, .qr-themed .text-white\/50      { color: var(--qr-text-dim) !important; }
.qr-themed .text-white\/40, .qr-themed .text-white\/30,
.qr-themed .text-white\/20      { color: var(--qr-text-faint) !important; }

.qr-themed .placeholder-white\/30::placeholder,
.qr-themed .placeholder-white\/20::placeholder,
.qr-themed input::placeholder, .qr-themed textarea::placeholder { color: var(--qr-text-faint) !important; }

/* Accent (royal) */
/* The accent as INK, not as a fill.

   `--qr-accent` is chosen so a button filled with it can carry
   `--qr-accent-text`; that makes it, in every theme, either too light (dark
   themes) or too saturated (light themes) to read as 12px text on a card.
   Measured on the "Move / Split" link and the "Main Menu" heading it came out
   3.02:1-4.36:1 in all eight. `--qr-accent-ink` is the same hue moved until it
   clears 4.5:1 on the page, the card, the well and its own soft tint. */
.qr-themed .text-royal          { color: var(--qr-accent-ink) !important; }
.qr-themed .text-royal\/80, .qr-themed .text-royal\/70,
.qr-themed .text-royal\/60      { color: var(--qr-accent-ink) !important; }
.qr-themed .bg-royal            { background-color: var(--qr-accent) !important; color: var(--qr-accent-text) !important; }
.qr-themed .border-royal, .qr-themed .border-royal\/50    { border-color: var(--qr-accent) !important; }
.qr-themed .bg-royal\/20, .qr-themed .bg-royal\/10        { background-color: var(--qr-accent-soft) !important; }
.qr-themed .hover\:bg-royal-dark:hover { filter: brightness(0.9); }
.qr-themed .hover\:bg-royal:hover      { background-color: var(--qr-accent) !important; color: var(--qr-accent-text) !important; }
.qr-themed .focus\:border-royal:focus  { border-color: var(--qr-accent) !important; }
.qr-themed .focus\:ring-royal\/20:focus { --tw-ring-color: var(--qr-accent-soft) !important; }
.qr-themed .ring-royal\/20      { --tw-ring-color: var(--qr-accent-soft) !important; }

/* Semantic colours */
.qr-themed .text-green-400, .qr-themed .text-green-500      { color: var(--qr-success) !important; }
.qr-themed .bg-green-500\/10, .qr-themed .bg-green-500\/15,
.qr-themed .bg-green-500\/20    { background-color: var(--qr-success-soft) !important; }
.qr-themed .border-green-500\/30 { border-color: var(--qr-success) !important; }
.qr-themed .text-amber-400, .qr-themed .text-amber-500      { color: var(--qr-warn) !important; }
.qr-themed .bg-amber-500\/10, .qr-themed .bg-amber-500\/20    { background-color: var(--qr-warn-soft) !important; }
.qr-themed .text-red-400, .qr-themed .text-red-500        { color: var(--qr-danger) !important; }
.qr-themed .bg-red-500\/10, .qr-themed .bg-red-500\/20,
.qr-themed .bg-red-500\/25      { background-color: var(--qr-danger-soft) !important; }

/* Solid semantic buttons → theme accent with guaranteed-contrast text */
.qr-themed .bg-amber-500, .qr-themed .bg-green-500        { background-color: var(--qr-accent) !important; color: var(--qr-accent-text) !important; }
.qr-themed .bg-amber-500.text-black, .qr-themed .bg-green-500.text-black,
.qr-themed .bg-amber-500 .text-black, .qr-themed .bg-green-500 .text-black { color: var(--qr-accent-text) !important; }
.qr-themed .hover\:bg-amber-400:hover, .qr-themed .hover\:bg-green-400:hover,
.qr-themed .hover\:bg-blue-600:hover { filter: brightness(0.92); background-color: var(--qr-accent) !important; }
.qr-themed .bg-amber-500.text-black { background-color: var(--qr-accent) !important; }
.qr-themed .text-black          { color: var(--qr-text) !important; }
.qr-themed .bg-amber-500 .text-black, .qr-themed .bg-green-500 .text-black,
.qr-themed .bg-royal .text-black { color: var(--qr-accent-text) !important; }

/* Inputs */
/* A tick box is not a text field, and this rule used to catch it.

   `background-color: var(--qr-surface-2) !important` on every `input` beat the
   `:checked` rule sixty lines below — which has higher specificity but no
   `!important` — so a ticked box kept the unticked fill in all eighteen
   themes. The tick was still drawn, in `--qr-accent-text`: the colour designed
   to sit ON the accent, painted instead on the well. That is 1.35:1 on
   Midnight and 1.05:1 on Linen — a tick you cannot see, which is exactly what
   a guest ticking allergens or a split-bill cover is looking at.

   Three separate symptoms, one `!important` on a selector that was never meant
   to include boxes. */
/* `:where()`, not `:not()`, and the difference is not cosmetic. Written as
   `.qr-themed input:not([type=checkbox]):not([type=radio])` this rule climbs
   from (0,1,1) to (0,3,1) and starts out-ranking the control-border rule
   below — so excluding tick boxes from it silently took the 3:1 edge off
   every text field on the guest menu instead. `:where()` contributes no
   specificity at all, so the exclusion is free. */
.qr-themed input:where(:not([type="checkbox"]):not([type="radio"])),
.qr-themed textarea, .qr-themed select {
  background-color: var(--qr-surface-2) !important;
  color: var(--qr-text) !important;
  border-color: var(--qr-border) !important;
}

/* Dropdown chevron — base.html draws it as a data-URI, whose colour cannot be
   a var(). Its default is tuned for a dark field, so the four paper themes
   re-state it in an ink that reads on their own light surfaces. Specificity
   (0,3,1) clears the base rule regardless of stylesheet order. */

/* ── Polish — depth ──────────────────────────────────────────────────────── */
.qr-themed .rounded-2xl.border, .qr-themed .rounded-xl.border { box-shadow: var(--qr-shadow); }
.qr-themed .bg-royal {
  box-shadow: 0 6px 18px var(--qr-accent-soft);
  transition: filter .15s ease, transform .12s ease;
}
.qr-themed .bg-royal:active { transform: scale(.985); }

/* ── Themed helper classes ───────────────────────────────────────────────── */
.qr-themed .qr-panel { background-color: var(--qr-surface); border: 1px solid var(--qr-border); box-shadow: var(--qr-shadow); }
.qr-themed .qr-panel-alt { background-color: var(--qr-surface-2); border: 1px solid var(--qr-border); }
.qr-themed .qr-text-dim    { color: var(--qr-text-dim) !important; }
.qr-themed .qr-text-faint  { color: var(--qr-text-faint) !important; }
.qr-themed .qr-text        { color: var(--qr-text) !important; }
.qr-themed .qr-accent      { color: var(--qr-accent-ink) !important; }
.qr-themed .qr-accent-bg   { background-color: var(--qr-accent) !important; color: var(--qr-accent-text) !important; }
.qr-themed .qr-accent-soft-bg { background-color: var(--qr-accent-soft) !important; color: var(--qr-accent-ink) !important; }
.qr-themed .qr-border      { border-color: var(--qr-border) !important; }
.qr-themed .qr-success     { color: var(--qr-success) !important; }
.qr-themed .qr-warn        { color: var(--qr-warn) !important; }

/* Sticky header bar — frosted, themed */
.qr-themed .qr-header {
  background: color-mix(in srgb, var(--qr-bg) 80%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--qr-border);
}
.qr-themed .qr-restaurant-name { color: var(--qr-text); letter-spacing: -0.01em; }
.qr-themed .qr-footer-link        { color: var(--qr-text-faint); transition: color .15s ease; }
.qr-themed .qr-footer-link:hover  { color: var(--qr-text-dim); }
.qr-themed .qr-logo-mark { display: inline-flex; align-items: center; justify-content: center; }

/* Theme-aware "O" logo — SVG shape masked with the theme accent */
.qr-themed .qr-logo-o {
  display: inline-block; aspect-ratio: 522 / 368; background-color: var(--qr-accent);
  -webkit-mask: url(/static/orderlyos-mark.svg) center / contain no-repeat;
          mask: url(/static/orderlyos-mark.svg) center / contain no-repeat;
}

/* Bottom order/payment panels lift off the page */
.qr-themed .qr-bottom-panel, .qr-bottom-panel.qr-themed {
  background: var(--qr-surface) !important;
  border-top: 1px solid var(--qr-border);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.25);
}

/* Selectable rows — clearer selected state per theme */
.qr-themed .item-row.selected, .qr-themed .item-row[data-selected="true"] {
  border-color: var(--qr-accent) !important;
  background-color: var(--qr-accent-soft) !important;
}

/* Footer wordmark variant swap — light themes show the dark-text wordmark */
.qr-wordmark-dark  { display: inline-block; }
.qr-wordmark-light { display: none; }

/* Theme-aware "Powered by OrderlyOS" wordmark — masked to theme faint text */
.qr-themed .qr-wordmark-o {
  display: inline-block; aspect-ratio: 1873 / 419; background-color: var(--qr-text-faint);
  -webkit-mask: url(/static/orderlyos-logo.svg) center / contain no-repeat;
          mask: url(/static/orderlyos-logo.svg) center / contain no-repeat;
}

/* ── Body background safety (overscroll / iOS rubber-band) ─────────────── */
body:has(.qr-themed[data-qr-theme="midnight"])     { background:#0a0e1a !important; }
body:has(.qr-themed[data-qr-theme="ember"])        { background:#12100e !important; }
body:has(.qr-themed[data-qr-theme="forest"])       { background:#0a1712 !important; }
body:has(.qr-themed[data-qr-theme="noir"])         { background:#14101a !important; }
body:has(.qr-themed[data-qr-theme="linen"])        { background:#f6f3ec !important; }
body:has(.qr-themed[data-qr-theme="terracotta"])   { background:#faf1e6 !important; }
body:has(.qr-themed[data-qr-theme="sky"])          { background:#eef3f8 !important; }
body:has(.qr-themed[data-qr-theme="slate-paper"])  { background:#f2f4f7 !important; }

body[data-qr-theme="midnight"]     { background:#0a0e1a !important; }
body[data-qr-theme="ember"]        { background:#12100e !important; }
body[data-qr-theme="forest"]       { background:#0a1712 !important; }
body[data-qr-theme="noir"]         { background:#14101a !important; }
body[data-qr-theme="linen"]        { background:#f6f3ec !important; }
body[data-qr-theme="terracotta"]   { background:#faf1e6 !important; }
body[data-qr-theme="sky"]          { background:#eef3f8 !important; }
body[data-qr-theme="slate-paper"]  { background:#f2f4f7 !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   SPECIFICITY GUARD — customer QR pages
   ────────────────────────────────────────────────────────────────────────────
   style.css contains a global contrast system with selectors like
   `:root:not([data-theme="light"]) .text-white\/40`. Customer QR pages strip
   the <html> data-theme attribute so the QR theme is the sole authority — but
   that makes `:not([data-theme="light"])` MATCH, so those rules would force
   light-grey/white text and win on source-order/specificity ties. On the LIGHT
   QR themes (linen, terracotta, sky, slate-paper) that renders text nearly
   invisible (e.g. menu names on Linen).

   Fix: re-assert every themed text colour with a HIGHER-specificity selector
   that combines the theme attribute with .qr-themed (specificity 0,3,0), so it
   beats both the global contrast rules and Tailwind's runtime-injected
   utilities regardless of load order. One block per concern, all themes at once.
   ══════════════════════════════════════════════════════════════════════════ */

[data-qr-theme].qr-themed .text-white,
.qr-themed [data-qr-theme] .text-white,
[data-qr-theme] .qr-themed .text-white              { color: var(--qr-text) !important; }

[data-qr-theme].qr-themed .text-white\/90,
[data-qr-theme].qr-themed .text-white\/80,
[data-qr-theme].qr-themed .text-white\/70,
[data-qr-theme].qr-themed .text-white\/60,
[data-qr-theme].qr-themed .text-white\/50,
[data-qr-theme] .qr-themed .text-white\/90,
[data-qr-theme] .qr-themed .text-white\/80,
[data-qr-theme] .qr-themed .text-white\/70,
[data-qr-theme] .qr-themed .text-white\/60,
[data-qr-theme] .qr-themed .text-white\/50          { color: var(--qr-text-dim) !important; }

[data-qr-theme].qr-themed .text-white\/40,
[data-qr-theme].qr-themed .text-white\/30,
[data-qr-theme].qr-themed .text-white\/25,
[data-qr-theme].qr-themed .text-white\/20,
[data-qr-theme].qr-themed .text-white\/15,
[data-qr-theme].qr-themed .text-white\/10,
[data-qr-theme] .qr-themed .text-white\/40,
[data-qr-theme] .qr-themed .text-white\/30,
[data-qr-theme] .qr-themed .text-white\/25,
[data-qr-theme] .qr-themed .text-white\/20,
[data-qr-theme] .qr-themed .text-white\/15,
[data-qr-theme] .qr-themed .text-white\/10          { color: var(--qr-text-faint) !important; }

/* Gray utility text (used in a few customer partials) → themed dim/faint */
[data-qr-theme].qr-themed .text-gray-300,
[data-qr-theme].qr-themed .text-gray-400,
[data-qr-theme] .qr-themed .text-gray-300,
[data-qr-theme] .qr-themed .text-gray-400           { color: var(--qr-text-dim) !important; }
[data-qr-theme].qr-themed .text-gray-500,
[data-qr-theme].qr-themed .text-gray-600,
[data-qr-theme] .qr-themed .text-gray-500,
[data-qr-theme] .qr-themed .text-gray-600           { color: var(--qr-text-faint) !important; }

/* Brand + semantic accents re-asserted at high specificity so style.css's
   light-mode brand exceptions can't repaint them the wrong hue on QR pages. */
/* --qr-accent-ink, matching the (0,2,0) rule above. This block exists to
   out-specify style.css, and it silently un-did the ink fix: the menu tabs on
   the guest menu carry `.text-royal` and were repainted with the FILL colour
   here, 3.23:1 on a white card. Two rules for one utility is how that happens
   — if a third is ever needed, both have to move together. */
[data-qr-theme].qr-themed .text-royal,
[data-qr-theme] .qr-themed .text-royal              { color: var(--qr-accent-ink) !important; }
[data-qr-theme].qr-themed .text-green-400,
[data-qr-theme].qr-themed .text-green-500,
[data-qr-theme] .qr-themed .text-green-400,
[data-qr-theme] .qr-themed .text-green-500          { color: var(--qr-success) !important; }
[data-qr-theme].qr-themed .text-amber-400,
[data-qr-theme].qr-themed .text-amber-500,
[data-qr-theme] .qr-themed .text-amber-400,
[data-qr-theme] .qr-themed .text-amber-500          { color: var(--qr-warn) !important; }
[data-qr-theme].qr-themed .text-red-400,
[data-qr-theme].qr-themed .text-red-500,
[data-qr-theme] .qr-themed .text-red-400,
[data-qr-theme] .qr-themed .text-red-500            { color: var(--qr-danger) !important; }

/* Text ON the accent (solid buttons: Pay, View Bill, add-item +) — always the
   guaranteed-contrast on-accent colour, never a stray white/black. */
[data-qr-theme].qr-themed .bg-royal,
[data-qr-theme].qr-themed .bg-royal .text-white,
[data-qr-theme].qr-themed .bg-royal .text-black,
[data-qr-theme].qr-themed .bg-amber-500,
[data-qr-theme].qr-themed .bg-amber-500.text-black,
[data-qr-theme].qr-themed .bg-amber-500 .text-black,
[data-qr-theme].qr-themed .bg-green-500,
[data-qr-theme].qr-themed .bg-green-500.text-black,
[data-qr-theme] .qr-themed .bg-royal,
[data-qr-theme] .qr-themed .bg-royal .text-white,
[data-qr-theme] .qr-themed .bg-royal .text-black,
[data-qr-theme] .qr-themed .bg-amber-500,
[data-qr-theme] .qr-themed .bg-amber-500.text-black,
[data-qr-theme] .qr-themed .bg-amber-500 .text-black,
[data-qr-theme] .qr-themed .bg-green-500,
[data-qr-theme] .qr-themed .bg-green-500.text-black   { color: var(--qr-accent-text) !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   Themed native form controls
   ────────────────────────────────────────────────────────────────────────────
   The `accent-*` Tailwind class + browser default rendering give a white
   check glyph on a near-white background on the light themes (Linen, Sky,
   Slate Paper, Terracotta) — the exact "white tick on white/grey" the user
   reported. We restyle checkboxes and radios inside .qr-themed with fully
   theme-driven colours, using CSS masks for the tick so it always contrasts
   with the accent regardless of theme mode.
   ═══════════════════════════════════════════════════════════════════════════ */

/* One guard chain, spelled the same on every rule in this block, and one step
   longer than base.html's — see the note above it. Two implementations of a
   tick box is how the last one broke: on a page that extends base.html its
   rules out-specified these and drew a hard-coded WHITE tick, which is 1.6:1
   on Midnight's periwinkle accent; on a standalone booking page base.html is
   not loaded at all and only these applied. They now agree by construction,
   because both are driven by the same two variables and differ only in where
   those variables come from.

   `.qr-themed` is doubled to reach (0,7,1). Undoubled it ties base.html's
   amber rule at (0,6,1) and won only because this file happens to be linked
   after base.html's inline <style> — a coin toss on load order deciding
   whether a guest's allergen tick box takes the venue's accent or the app's
   amber. Specificity is the part of that which is not a coincidence. */
.qr-themed.qr-themed input[type="checkbox"]:not(.peer):not(.sr-only):not(.hidden):not([hidden]),
.qr-themed.qr-themed input[type="radio"]:not(.peer):not(.sr-only):not(.hidden):not([hidden]) {
  -webkit-appearance: none;
  appearance: none;
  width: 1.25em;
  height: 1.25em;
  min-width: 1.25em;
  min-height: 1.25em;
  margin: 0;
  padding: 0;
  /* The control tier, not the panel seam. `--qr-border-strong` is a 0.22-0.30
     wash: measured 1.30-1.47:1 across the themes, which is not an edge, and an
     UNTICKED box is nothing but its edge. */
  border: 1.5px solid var(--qr-border-control);
  background: var(--qr-surface);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  transition: background-color .12s ease, border-color .12s ease, box-shadow .12s ease;
  flex-shrink: 0;
  --tick-fill: var(--qr-accent);
  --tick-ink:  var(--qr-accent-text);
}
.qr-themed.qr-themed input[type="checkbox"]:not(.peer):not(.sr-only):not(.hidden):not([hidden]) { border-radius: 4px; }
.qr-themed.qr-themed input[type="radio"]:not(.peer):not(.sr-only):not(.hidden):not([hidden])    { border-radius: 50%; }

/* Hover / focus — subtle accent hint, works on light and dark alike. */
.qr-themed.qr-themed input[type="checkbox"]:not(.peer):not(.sr-only):not(.hidden):not([hidden]):hover:not(:disabled),
.qr-themed.qr-themed input[type="radio"]:not(.peer):not(.sr-only):not(.hidden):not([hidden]):hover:not(:disabled) {
  border-color: var(--qr-accent);
}
.qr-themed.qr-themed input[type="checkbox"]:not(.peer):not(.sr-only):not(.hidden):not([hidden]):focus-visible,
.qr-themed.qr-themed input[type="radio"]:not(.peer):not(.sr-only):not(.hidden):not([hidden]):focus-visible {
  outline: none;
  border-color: var(--qr-accent);
  box-shadow: 0 0 0 3px var(--qr-accent-soft);
}

/* Checked — the fill carries the theme, the tick is the on-accent colour that
   the palette already guarantees against it. That pairing is checked in
   utils/qr_themes.py for all eighteen themes (`accent_text` on `accent`), so
   the tick cannot drift from the fill it is drawn on. */
.qr-themed.qr-themed input[type="checkbox"]:not(.peer):not(.sr-only):not(.hidden):not([hidden]):checked,
.qr-themed.qr-themed input[type="radio"]:not(.peer):not(.sr-only):not(.hidden):not([hidden]):checked {
  background-color: var(--tick-fill);
  border-color: var(--tick-fill);
}
.qr-themed.qr-themed input[type="checkbox"]:not(.peer):not(.sr-only):not(.hidden):not([hidden]):checked::after {
  content: "";
  width: 0.72em;
  height: 0.72em;
  background-color: var(--tick-ink);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12l4.5 4.5L19 7' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12l4.5 4.5L19 7' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.qr-themed.qr-themed input[type="radio"]:not(.peer):not(.sr-only):not(.hidden):not([hidden]):checked::after {
  content: "";
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background-color: var(--tick-ink);
}
.qr-themed.qr-themed input[type="checkbox"]:disabled,
.qr-themed.qr-themed input[type="radio"]:disabled { opacity: .72; cursor: not-allowed; }

.qr-themed input[type="checkbox"]:disabled,
.qr-themed input[type="radio"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ══════════════════════════════════════════════════════════════════════════
   OPACITY-VARIANT COVERAGE

   The block above remaps a fixed list of utilities. Tailwind opacity steps are
   open-ended, so any variant nobody thought to list — border-royal/40,
   text-amber-300, bg-red-500/15 — fell straight through and kept its literal
   Tailwind colour under every theme. Harmless on the four dark themes, which
   is why it went unnoticed; on Linen, Terracotta, Sky and Slate Paper it is
   pale colour on a pale surface.

   Collapsed onto the same tokens as their already-mapped siblings, following
   the file's existing rule: opacity steps collapse onto designed levels.
   ══════════════════════════════════════════════════════════════════════════ */

/* Embedded widget: the venue's own page supplies the background, so the
   themed fill from .qr-themed must be given back. Needs to out-specify
   `.qr-themed { background: … !important }`, hence the doubled class. */
/* The embedded widget paints the theme, it does not go transparent.

   Transparent was meant to let the venue's own page show through the iframe.
   It cannot: the ink still comes from the theme, so a dark theme dropped light
   text onto whatever the host site's background happened to be, and a light
   theme dropped dark text onto whatever <html> fell back to — which, with the
   attribute missing from <html>, was always midnight. The widget is a
   self-contained card in the venue's own colours; that is legible on any host
   page, which transparency can never promise. */
.qr-themed.qr-embed.qr-embed {
  background: var(--qr-bg-grad), var(--qr-bg) !important;
}

/* ── Accent ──────────────────────────────────────────────────────────────── */
.qr-themed .bg-royal\/15         { background-color: var(--qr-accent-soft) !important; }
.qr-themed .border-royal\/20,
.qr-themed .border-royal\/30,
.qr-themed .border-royal\/40,
.qr-themed .border-royal\/60     { border-color: var(--qr-accent) !important; }
.qr-themed .accent-royal         { accent-color: var(--qr-accent) !important; }

/* ── Success ─────────────────────────────────────────────────────────────── */
.qr-themed .border-green-500\/20,
.qr-themed .border-green-500\/40,
.qr-themed .border-green-500\/70 { border-color: var(--qr-success) !important; }
.qr-themed .hover\:bg-green-500\/25:hover { background-color: var(--qr-success-soft) !important; }
.qr-themed .hover\:bg-green-400:hover     { background-color: var(--qr-success) !important;
                                            color: var(--qr-accent-text) !important; }

/* ── Warning / amber ─────────────────────────────────────────────────────── */
.qr-themed .text-amber-300,
.qr-themed .text-amber-400\/70,
.qr-themed .text-amber-400\/90   { color: var(--qr-warn) !important; }
.qr-themed .bg-amber-400,
.qr-themed .hover\:bg-amber-400:hover { background-color: var(--qr-warn) !important;
                                        color: var(--qr-accent-text) !important; }
.qr-themed .border-amber-400,
.qr-themed .border-amber-500\/20,
.qr-themed .border-amber-500\/50,
.qr-themed .border-amber-500\/60 { border-color: var(--qr-warn) !important; }
.qr-themed .hover\:border-amber-500\/40:hover { border-color: var(--qr-warn) !important; }
.qr-themed .accent-amber-500     { accent-color: var(--qr-warn) !important; }

/* ── Danger ──────────────────────────────────────────────────────────────── */
.qr-themed .text-red-300,
.qr-themed .text-red-300\/70     { color: var(--qr-danger) !important; }
.qr-themed .bg-red-500\/15       { background-color: var(--qr-danger-soft) !important; }
.qr-themed .hover\:bg-red-500\/30:hover { background-color: var(--qr-danger-soft) !important; }
.qr-themed .border-red-500\/20,
.qr-themed .border-red-500\/30,
.qr-themed .border-red-500\/60   { border-color: var(--qr-danger) !important; }
.qr-themed .hover\:border-red-500\/40:hover { border-color: var(--qr-danger) !important; }

/* ── Neutral surfaces ────────────────────────────────────────────────────── */
.qr-themed .bg-white\/3          { background-color: var(--qr-surface-2) !important; }
.qr-themed .border-white\/15     { border-color: var(--qr-border) !important; }

/* Descendant scrims. The rules near the top of this file cover a scrim that
   IS the themed element; these cover one nested inside it. Light themes get an
   ink wash rather than near-black, matching the treatment above. */
.qr-themed .bg-black\/85,
.qr-themed .bg-black\/40         { background-color: rgba(0,0,0,0.55) !important; }
[data-qr-theme="linen"] .bg-black\/85, [data-qr-theme="terracotta"] .bg-black\/85,
[data-qr-theme="sky"] .bg-black\/85, [data-qr-theme="slate-paper"] .bg-black\/85,
[data-qr-theme="linen"] .bg-black\/40, [data-qr-theme="terracotta"] .bg-black\/40,
[data-qr-theme="sky"] .bg-black\/40, [data-qr-theme="slate-paper"] .bg-black\/40 {
  background-color: rgba(28,26,22,0.45) !important;
}

/* ═══ GENERATED: rules that depend on a theme's MODE ══════════════════════ */
/* Generated from utils/qr_themes.py — 29 light themes. */

/* A light page wants an ink scrim, not a black one: black at 80% over
   cream reads as a power cut rather than a modal. */
[data-qr-theme="linen"].bg-black\/80,
[data-qr-theme="terracotta"].bg-black\/80,
[data-qr-theme="sky"].bg-black\/80,
[data-qr-theme="slate-paper"].bg-black\/80,
[data-qr-theme="botanical"].bg-black\/80,
[data-qr-theme="sorbet"].bg-black\/80,
[data-qr-theme="marble"].bg-black\/80,
[data-qr-theme="aegean"].bg-black\/80,
[data-qr-theme="newsprint"].bg-black\/80,
[data-qr-theme="site-tangerine"].bg-black\/80,
[data-qr-theme="site-navy"].bg-black\/80,
[data-qr-theme="site-scarlet"].bg-black\/80,
[data-qr-theme="site-bordeaux"].bg-black\/80,
[data-qr-theme="site-sage"].bg-black\/80,
[data-qr-theme="site-aegean"].bg-black\/80,
[data-qr-theme="site-ink"].bg-black\/80,
[data-qr-theme="site-lime"].bg-black\/80,
[data-qr-theme="site-paper"].bg-black\/80,
[data-qr-theme="site-butter"].bg-black\/80,
[data-qr-theme="site-cherry"].bg-black\/80,
[data-qr-theme="site-lilac"].bg-black\/80,
[data-qr-theme="site-pistachio"].bg-black\/80,
[data-qr-theme="site-electric"].bg-black\/80,
[data-qr-theme="site-sky"].bg-black\/80,
[data-qr-theme="site-peach"].bg-black\/80,
[data-qr-theme="site-lagoon"].bg-black\/80,
[data-qr-theme="site-rose"].bg-black\/80,
[data-qr-theme="site-olive"].bg-black\/80,
[data-qr-theme="site-cocoa"].bg-black\/80 {
  background: rgba(28,26,22,0.48) !important;
}
[data-qr-theme="linen"].bg-black\/95,
[data-qr-theme="terracotta"].bg-black\/95,
[data-qr-theme="sky"].bg-black\/95,
[data-qr-theme="slate-paper"].bg-black\/95,
[data-qr-theme="botanical"].bg-black\/95,
[data-qr-theme="sorbet"].bg-black\/95,
[data-qr-theme="marble"].bg-black\/95,
[data-qr-theme="aegean"].bg-black\/95,
[data-qr-theme="newsprint"].bg-black\/95,
[data-qr-theme="site-tangerine"].bg-black\/95,
[data-qr-theme="site-navy"].bg-black\/95,
[data-qr-theme="site-scarlet"].bg-black\/95,
[data-qr-theme="site-bordeaux"].bg-black\/95,
[data-qr-theme="site-sage"].bg-black\/95,
[data-qr-theme="site-aegean"].bg-black\/95,
[data-qr-theme="site-ink"].bg-black\/95,
[data-qr-theme="site-lime"].bg-black\/95,
[data-qr-theme="site-paper"].bg-black\/95,
[data-qr-theme="site-butter"].bg-black\/95,
[data-qr-theme="site-cherry"].bg-black\/95,
[data-qr-theme="site-lilac"].bg-black\/95,
[data-qr-theme="site-pistachio"].bg-black\/95,
[data-qr-theme="site-electric"].bg-black\/95,
[data-qr-theme="site-sky"].bg-black\/95,
[data-qr-theme="site-peach"].bg-black\/95,
[data-qr-theme="site-lagoon"].bg-black\/95,
[data-qr-theme="site-rose"].bg-black\/95,
[data-qr-theme="site-olive"].bg-black\/95,
[data-qr-theme="site-cocoa"].bg-black\/95 {
  background: rgba(28,26,22,0.58) !important;
}
[data-qr-theme="linen"].bg-black\/70,
[data-qr-theme="terracotta"].bg-black\/70,
[data-qr-theme="sky"].bg-black\/70,
[data-qr-theme="slate-paper"].bg-black\/70,
[data-qr-theme="botanical"].bg-black\/70,
[data-qr-theme="sorbet"].bg-black\/70,
[data-qr-theme="marble"].bg-black\/70,
[data-qr-theme="aegean"].bg-black\/70,
[data-qr-theme="newsprint"].bg-black\/70,
[data-qr-theme="site-tangerine"].bg-black\/70,
[data-qr-theme="site-navy"].bg-black\/70,
[data-qr-theme="site-scarlet"].bg-black\/70,
[data-qr-theme="site-bordeaux"].bg-black\/70,
[data-qr-theme="site-sage"].bg-black\/70,
[data-qr-theme="site-aegean"].bg-black\/70,
[data-qr-theme="site-ink"].bg-black\/70,
[data-qr-theme="site-lime"].bg-black\/70,
[data-qr-theme="site-paper"].bg-black\/70,
[data-qr-theme="site-butter"].bg-black\/70,
[data-qr-theme="site-cherry"].bg-black\/70,
[data-qr-theme="site-lilac"].bg-black\/70,
[data-qr-theme="site-pistachio"].bg-black\/70,
[data-qr-theme="site-electric"].bg-black\/70,
[data-qr-theme="site-sky"].bg-black\/70,
[data-qr-theme="site-peach"].bg-black\/70,
[data-qr-theme="site-lagoon"].bg-black\/70,
[data-qr-theme="site-rose"].bg-black\/70,
[data-qr-theme="site-olive"].bg-black\/70,
[data-qr-theme="site-cocoa"].bg-black\/70 {
  background: rgba(28,26,22,0.42) !important;
}
[data-qr-theme="linen"].bg-black\/60,
[data-qr-theme="terracotta"].bg-black\/60,
[data-qr-theme="sky"].bg-black\/60,
[data-qr-theme="slate-paper"].bg-black\/60,
[data-qr-theme="botanical"].bg-black\/60,
[data-qr-theme="sorbet"].bg-black\/60,
[data-qr-theme="marble"].bg-black\/60,
[data-qr-theme="aegean"].bg-black\/60,
[data-qr-theme="newsprint"].bg-black\/60,
[data-qr-theme="site-tangerine"].bg-black\/60,
[data-qr-theme="site-navy"].bg-black\/60,
[data-qr-theme="site-scarlet"].bg-black\/60,
[data-qr-theme="site-bordeaux"].bg-black\/60,
[data-qr-theme="site-sage"].bg-black\/60,
[data-qr-theme="site-aegean"].bg-black\/60,
[data-qr-theme="site-ink"].bg-black\/60,
[data-qr-theme="site-lime"].bg-black\/60,
[data-qr-theme="site-paper"].bg-black\/60,
[data-qr-theme="site-butter"].bg-black\/60,
[data-qr-theme="site-cherry"].bg-black\/60,
[data-qr-theme="site-lilac"].bg-black\/60,
[data-qr-theme="site-pistachio"].bg-black\/60,
[data-qr-theme="site-electric"].bg-black\/60,
[data-qr-theme="site-sky"].bg-black\/60,
[data-qr-theme="site-peach"].bg-black\/60,
[data-qr-theme="site-lagoon"].bg-black\/60,
[data-qr-theme="site-rose"].bg-black\/60,
[data-qr-theme="site-olive"].bg-black\/60,
[data-qr-theme="site-cocoa"].bg-black\/60 {
  background: rgba(28,26,22,0.36) !important;
}

/* The dropdown chevron is a data-URI, so its colour cannot be a
   var(). The default is drawn for a dark field. */
[data-qr-theme="linen"] select:not([multiple]):not([size]),
[data-qr-theme="terracotta"] select:not([multiple]):not([size]),
[data-qr-theme="sky"] select:not([multiple]):not([size]),
[data-qr-theme="slate-paper"] select:not([multiple]):not([size]),
[data-qr-theme="botanical"] select:not([multiple]):not([size]),
[data-qr-theme="sorbet"] select:not([multiple]):not([size]),
[data-qr-theme="marble"] select:not([multiple]):not([size]),
[data-qr-theme="aegean"] select:not([multiple]):not([size]),
[data-qr-theme="newsprint"] select:not([multiple]):not([size]),
[data-qr-theme="site-tangerine"] select:not([multiple]):not([size]),
[data-qr-theme="site-navy"] select:not([multiple]):not([size]),
[data-qr-theme="site-scarlet"] select:not([multiple]):not([size]),
[data-qr-theme="site-bordeaux"] select:not([multiple]):not([size]),
[data-qr-theme="site-sage"] select:not([multiple]):not([size]),
[data-qr-theme="site-aegean"] select:not([multiple]):not([size]),
[data-qr-theme="site-ink"] select:not([multiple]):not([size]),
[data-qr-theme="site-lime"] select:not([multiple]):not([size]),
[data-qr-theme="site-paper"] select:not([multiple]):not([size]),
[data-qr-theme="site-butter"] select:not([multiple]):not([size]),
[data-qr-theme="site-cherry"] select:not([multiple]):not([size]),
[data-qr-theme="site-lilac"] select:not([multiple]):not([size]),
[data-qr-theme="site-pistachio"] select:not([multiple]):not([size]),
[data-qr-theme="site-electric"] select:not([multiple]):not([size]),
[data-qr-theme="site-sky"] select:not([multiple]):not([size]),
[data-qr-theme="site-peach"] select:not([multiple]):not([size]),
[data-qr-theme="site-lagoon"] select:not([multiple]):not([size]),
[data-qr-theme="site-rose"] select:not([multiple]):not([size]),
[data-qr-theme="site-olive"] select:not([multiple]):not([size]),
[data-qr-theme="site-cocoa"] select:not([multiple]):not([size]) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.25 1.5 6 6.25 10.75 1.5' stroke='%23554F44' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* A bottom panel lifts off a light page with an ink shadow. */
[data-qr-theme="linen"] .qr-bottom-panel,
[data-qr-theme="terracotta"] .qr-bottom-panel,
[data-qr-theme="sky"] .qr-bottom-panel,
[data-qr-theme="slate-paper"] .qr-bottom-panel,
[data-qr-theme="botanical"] .qr-bottom-panel,
[data-qr-theme="sorbet"] .qr-bottom-panel,
[data-qr-theme="marble"] .qr-bottom-panel,
[data-qr-theme="aegean"] .qr-bottom-panel,
[data-qr-theme="newsprint"] .qr-bottom-panel,
[data-qr-theme="site-tangerine"] .qr-bottom-panel,
[data-qr-theme="site-navy"] .qr-bottom-panel,
[data-qr-theme="site-scarlet"] .qr-bottom-panel,
[data-qr-theme="site-bordeaux"] .qr-bottom-panel,
[data-qr-theme="site-sage"] .qr-bottom-panel,
[data-qr-theme="site-aegean"] .qr-bottom-panel,
[data-qr-theme="site-ink"] .qr-bottom-panel,
[data-qr-theme="site-lime"] .qr-bottom-panel,
[data-qr-theme="site-paper"] .qr-bottom-panel,
[data-qr-theme="site-butter"] .qr-bottom-panel,
[data-qr-theme="site-cherry"] .qr-bottom-panel,
[data-qr-theme="site-lilac"] .qr-bottom-panel,
[data-qr-theme="site-pistachio"] .qr-bottom-panel,
[data-qr-theme="site-electric"] .qr-bottom-panel,
[data-qr-theme="site-sky"] .qr-bottom-panel,
[data-qr-theme="site-peach"] .qr-bottom-panel,
[data-qr-theme="site-lagoon"] .qr-bottom-panel,
[data-qr-theme="site-rose"] .qr-bottom-panel,
[data-qr-theme="site-olive"] .qr-bottom-panel,
[data-qr-theme="site-cocoa"] .qr-bottom-panel,
[data-qr-theme="linen"].qr-bottom-panel,
[data-qr-theme="terracotta"].qr-bottom-panel,
[data-qr-theme="sky"].qr-bottom-panel,
[data-qr-theme="slate-paper"].qr-bottom-panel,
[data-qr-theme="botanical"].qr-bottom-panel,
[data-qr-theme="sorbet"].qr-bottom-panel,
[data-qr-theme="marble"].qr-bottom-panel,
[data-qr-theme="aegean"].qr-bottom-panel,
[data-qr-theme="newsprint"].qr-bottom-panel,
[data-qr-theme="site-tangerine"].qr-bottom-panel,
[data-qr-theme="site-navy"].qr-bottom-panel,
[data-qr-theme="site-scarlet"].qr-bottom-panel,
[data-qr-theme="site-bordeaux"].qr-bottom-panel,
[data-qr-theme="site-sage"].qr-bottom-panel,
[data-qr-theme="site-aegean"].qr-bottom-panel,
[data-qr-theme="site-ink"].qr-bottom-panel,
[data-qr-theme="site-lime"].qr-bottom-panel,
[data-qr-theme="site-paper"].qr-bottom-panel,
[data-qr-theme="site-butter"].qr-bottom-panel,
[data-qr-theme="site-cherry"].qr-bottom-panel,
[data-qr-theme="site-lilac"].qr-bottom-panel,
[data-qr-theme="site-pistachio"].qr-bottom-panel,
[data-qr-theme="site-electric"].qr-bottom-panel,
[data-qr-theme="site-sky"].qr-bottom-panel,
[data-qr-theme="site-peach"].qr-bottom-panel,
[data-qr-theme="site-lagoon"].qr-bottom-panel,
[data-qr-theme="site-rose"].qr-bottom-panel,
[data-qr-theme="site-olive"].qr-bottom-panel,
[data-qr-theme="site-cocoa"].qr-bottom-panel {
  box-shadow: 0 -8px 30px rgba(30,32,45,0.10);
}

/* Wordmark variant — a light page shows the dark-ink mark. */
[data-qr-theme="linen"] .qr-wordmark-dark,
[data-qr-theme="terracotta"] .qr-wordmark-dark,
[data-qr-theme="sky"] .qr-wordmark-dark,
[data-qr-theme="slate-paper"] .qr-wordmark-dark,
[data-qr-theme="botanical"] .qr-wordmark-dark,
[data-qr-theme="sorbet"] .qr-wordmark-dark,
[data-qr-theme="marble"] .qr-wordmark-dark,
[data-qr-theme="aegean"] .qr-wordmark-dark,
[data-qr-theme="newsprint"] .qr-wordmark-dark,
[data-qr-theme="site-tangerine"] .qr-wordmark-dark,
[data-qr-theme="site-navy"] .qr-wordmark-dark,
[data-qr-theme="site-scarlet"] .qr-wordmark-dark,
[data-qr-theme="site-bordeaux"] .qr-wordmark-dark,
[data-qr-theme="site-sage"] .qr-wordmark-dark,
[data-qr-theme="site-aegean"] .qr-wordmark-dark,
[data-qr-theme="site-ink"] .qr-wordmark-dark,
[data-qr-theme="site-lime"] .qr-wordmark-dark,
[data-qr-theme="site-paper"] .qr-wordmark-dark,
[data-qr-theme="site-butter"] .qr-wordmark-dark,
[data-qr-theme="site-cherry"] .qr-wordmark-dark,
[data-qr-theme="site-lilac"] .qr-wordmark-dark,
[data-qr-theme="site-pistachio"] .qr-wordmark-dark,
[data-qr-theme="site-electric"] .qr-wordmark-dark,
[data-qr-theme="site-sky"] .qr-wordmark-dark,
[data-qr-theme="site-peach"] .qr-wordmark-dark,
[data-qr-theme="site-lagoon"] .qr-wordmark-dark,
[data-qr-theme="site-rose"] .qr-wordmark-dark,
[data-qr-theme="site-olive"] .qr-wordmark-dark,
[data-qr-theme="site-cocoa"] .qr-wordmark-dark {
  display: none;
}
[data-qr-theme="linen"] .qr-wordmark-light,
[data-qr-theme="terracotta"] .qr-wordmark-light,
[data-qr-theme="sky"] .qr-wordmark-light,
[data-qr-theme="slate-paper"] .qr-wordmark-light,
[data-qr-theme="botanical"] .qr-wordmark-light,
[data-qr-theme="sorbet"] .qr-wordmark-light,
[data-qr-theme="marble"] .qr-wordmark-light,
[data-qr-theme="aegean"] .qr-wordmark-light,
[data-qr-theme="newsprint"] .qr-wordmark-light,
[data-qr-theme="site-tangerine"] .qr-wordmark-light,
[data-qr-theme="site-navy"] .qr-wordmark-light,
[data-qr-theme="site-scarlet"] .qr-wordmark-light,
[data-qr-theme="site-bordeaux"] .qr-wordmark-light,
[data-qr-theme="site-sage"] .qr-wordmark-light,
[data-qr-theme="site-aegean"] .qr-wordmark-light,
[data-qr-theme="site-ink"] .qr-wordmark-light,
[data-qr-theme="site-lime"] .qr-wordmark-light,
[data-qr-theme="site-paper"] .qr-wordmark-light,
[data-qr-theme="site-butter"] .qr-wordmark-light,
[data-qr-theme="site-cherry"] .qr-wordmark-light,
[data-qr-theme="site-lilac"] .qr-wordmark-light,
[data-qr-theme="site-pistachio"] .qr-wordmark-light,
[data-qr-theme="site-electric"] .qr-wordmark-light,
[data-qr-theme="site-sky"] .qr-wordmark-light,
[data-qr-theme="site-peach"] .qr-wordmark-light,
[data-qr-theme="site-lagoon"] .qr-wordmark-light,
[data-qr-theme="site-rose"] .qr-wordmark-light,
[data-qr-theme="site-olive"] .qr-wordmark-light,
[data-qr-theme="site-cocoa"] .qr-wordmark-light {
  display: inline-block;
}

/* base.html's own tokens on a QR page.

   The customer templates strip `data-theme` from <html> so the app
   theme cannot fight the venue's, which leaves base.html resolving to
   its DARK defaults — and the shared footer, which sits outside every
   .qr-themed wrapper, is painted from those. On a light theme that is
   dark-on-dark: measured 1.22:1 on the legal links. Pointing the app
   tokens at the venue's own palette is what makes the chrome belong to
   the same page as the content. */
[data-qr-theme="midnight"],
[data-qr-theme="ember"],
[data-qr-theme="forest"],
[data-qr-theme="noir"],
[data-qr-theme="linen"],
[data-qr-theme="terracotta"],
[data-qr-theme="sky"],
[data-qr-theme="slate-paper"],
[data-qr-theme="neon"],
[data-qr-theme="copper"],
[data-qr-theme="harbour"],
[data-qr-theme="merlot"],
[data-qr-theme="espresso"],
[data-qr-theme="botanical"],
[data-qr-theme="sorbet"],
[data-qr-theme="marble"],
[data-qr-theme="aegean"],
[data-qr-theme="newsprint"],
[data-qr-theme="site-tangerine"],
[data-qr-theme="site-navy"],
[data-qr-theme="site-scarlet"],
[data-qr-theme="site-onyx"],
[data-qr-theme="site-moss"],
[data-qr-theme="site-bordeaux"],
[data-qr-theme="site-terracotta"],
[data-qr-theme="site-sage"],
[data-qr-theme="site-indigo"],
[data-qr-theme="site-aegean"],
[data-qr-theme="site-plum"],
[data-qr-theme="site-ink"],
[data-qr-theme="site-fuchsia"],
[data-qr-theme="site-cobalt"],
[data-qr-theme="site-lime"],
[data-qr-theme="site-chalk"],
[data-qr-theme="site-oak"],
[data-qr-theme="site-forest"],
[data-qr-theme="site-paper"],
[data-qr-theme="site-butter"],
[data-qr-theme="site-cherry"],
[data-qr-theme="site-lilac"],
[data-qr-theme="site-acid"],
[data-qr-theme="site-pistachio"],
[data-qr-theme="site-oxblood"],
[data-qr-theme="site-electric"],
[data-qr-theme="site-sky"],
[data-qr-theme="site-peach"],
[data-qr-theme="site-mint"],
[data-qr-theme="site-lagoon"],
[data-qr-theme="site-mustard"],
[data-qr-theme="site-rose"],
[data-qr-theme="site-olive"],
[data-qr-theme="site-ocean"],
[data-qr-theme="site-cocoa"] {
  --bg-page: var(--qr-bg);
  --surface-1: var(--qr-surface);
  --surface-2: var(--qr-surface-2);
  --surface-3: var(--qr-surface);
  --text-1: var(--qr-text);
  --text-2: var(--qr-text-dim);
  --text-3: var(--qr-text-faint);
  --text-4: var(--qr-text-faint);
  --text-5: var(--qr-text-faint);
  --border-1: var(--qr-border);
  --border-2: var(--qr-border-strong);
  --border-3: var(--qr-border-control);
  --border-control: var(--qr-border-control);
  --accent: var(--qr-accent);
  --accent-ink: var(--qr-accent-ink);
}
/* ═══ END GENERATED MODE RULES ═════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════════
   BASE.HTML CHROME ON A QR-THEMED PAGE

   customer_landing and customer_qr_required extend base.html, so they inherit
   its footer — which sits OUTSIDE the .qr-themed wrapper and therefore never
   saw any of the rules above. Those templates also strip `data-theme` from
   <html> so the app's light/dark cannot fight the venue's theme, which leaves
   base.html's own tokens resolving to their DARK values. On the four light
   themes that put #8A97A8 legal links on near-white paper: 2.66:1, the worst
   contrast measured anywhere in the customer journey, on the three links a
   regulator looks for first.

   Scoped to [data-qr-theme], which the page sets on <html> synchronously in
   <head> — so this lands before first paint, unlike the .qr-themed-body class
   those templates add on DOMContentLoaded (which had no rules at all).
   ══════════════════════════════════════════════════════════════════════════ */
[data-qr-theme] footer                { border-top-color: var(--qr-border) !important; }
[data-qr-theme] footer .text-white\/50,
[data-qr-theme] footer p              { color: var(--qr-text-dim) !important; }
[data-qr-theme] footer a              { color: var(--qr-text-dim) !important; }
[data-qr-theme] footer a:hover        { color: var(--qr-text) !important; }

/* The class the templates add on DOMContentLoaded. Given the same treatment so
   it is no longer a no-op, and so anything scoped to it later actually works. */
.qr-themed-body footer .text-white\/50,
.qr-themed-body footer a              { color: var(--qr-text-dim) !important; }

/* ── A field must never zoom the page ────────────────────────────────────────
   The same rule base.css carries for the staff app, repeated here because the
   customer-facing pages are STANDALONE: the booking widget, the QR ordering
   pad, the deposit and manage pages do not extend base.html and so never load
   base.css. Without this, every guest typing their name into a booking form on
   an iPhone got the page magnified and left that way — on the one screen the
   venue's own customers see.

   iOS Safari zooms when it focuses a field rendering below 16px and does not
   undo it on blur. The fix is the font size, not `user-scalable=no`, which
   would take pinch-zoom from anyone who needs it.

   `any-pointer: coarse`, not `pointer: coarse` — an iPad on a trackpad reports
   its primary pointer as fine while the touchscreen is still there. Larger
   utilities are excluded so a deliberately bigger field stays bigger.
   Guarded by tests/test_fields_never_zoom_the_page.py.
   ══════════════════════════════════════════════════════════════════════════ */
@media (any-pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not(.text-base):not(.text-lg):not(.text-xl):not(.text-2xl),
  select:not(.text-base):not(.text-lg):not(.text-xl):not(.text-2xl),
  textarea:not(.text-base):not(.text-lg):not(.text-xl):not(.text-2xl) {
    font-size: 16px;
  }
}
