/* Brand pack: invotech — "InvoTech POS", operated by
   803rd (pos.bir.gov360.systems; `Brand.slug` of its pack).

   TOKENS AND ASSETS ONLY. This file sets the fonts, the motif and the colour
   tokens app.css and kiosk.css read; it never styles a component. Loaded
   after app.css (and after kiosk.css on the kiosk). The pack's shapes live in
   chrome-invotech.css and auth-invotech.css, which read only these tokens.

   A command deck, unlike the other two systems: the chrome is space indigo in
   both themes, the call to action is electric violet (#6D28D9, 7.1:1 under
   white words), neon aqua marks what is live or chosen and is never small
   text on a light surface (aqua that carries words is #0B6E80), lime is
   "done", and civic orange is the mark's dot and the offline warning only.
   Neutrals are a cool lavender grey.

   Manrope for everything (its latin-ext has the peso sign). Self-hosted,
   because the CSP allows fonts from this origin only; OFL-1.1, see
   ../brands/invotech/fonts/. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../brands/invotech/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"),
       url("../brands/invotech/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../brands/invotech/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../brands/invotech/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* ---- theme-invariant ---- */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* One face for everything (owner, 2026-10-16: formal): headings are Manrope
     too, and FTNs and codes use the shared monospace for legibility. */
  --font-display: var(--font);
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --motif-image: url("../brands/invotech/motif.svg");   /* an orbit over a floor grid */
  --mark-reverse-image: url("../brands/invotech/mark-reversed.svg");
  --shadow-tint: 46 16 101;

  /* ---- ramps ---- */
  --it-space: #07061a;           /* the deck's field */
  --it-rail: #0c0a24;            /* the chrome */
  --it-deep: #1a1145;
  --it-violet-900: #2e1065;
  --it-violet-800: #4c1d95;
  --it-violet-700: #5b21b6;
  --it-violet: #6d28d9;          /* Electric Violet: calls to action */
  --it-violet-500: #8b5cf6;       /* the focus ring: 3:1 on white and on the deck */
  --it-violet-400: #a78bfa;
  --it-violet-300: #b79cff;
  --it-violet-200: #d0bfff;
  --it-violet-100: #e4dafd;
  --it-violet-50: #f1ecfe;
  --it-aqua: #14c8dc;            /* Neon Aqua: fills and marks only on light */
  --it-aqua-bright: #22d3ee;
  --it-aqua-300: #5eeaf5;
  --it-aqua-50: #e0f7fa;
  --it-aqua-700: #0b6e80;        /* aqua that may carry text on white */
  --it-aqua-800: #08525f;
  --it-lime: #a3e635;
  --it-lime-300: #b4f05a;
  --it-lime-50: #eef7da;
  --it-lime-700: #3b6b0a;
  --it-orange: #fa7500;          /* the mark's dot, and offline */
  --it-orange-300: #ffb066;
  --it-orange-50: #fff0e0;
  --it-orange-700: #9a4a00;
  --it-orange-900: #3d1c00;

  /* Lavender greys, cool, for the whole pack. */
  --n-0: #ffffff;
  --n-50: #f6f5fc;
  --n-100: #ecebf5;
  --n-200: #dad7ea;
  --n-300: #c4bfdb;
  --n-400: #9590b4;
  --n-500: #6b6690;
  --n-600: #4b4669;
  --n-700: #353150;
  --n-800: #221e3c;
  --n-900: #120f2a;
  --n-950: #07061a;

  /* ---- semantic: light ---- */
  --bg: var(--n-100);
  --surface: var(--n-0);
  --surface-2: var(--n-50);
  --surface-3: var(--n-200);
  --text: var(--n-900);
  --muted: var(--n-600);
  --border: var(--n-200);
  --border-strong: var(--n-500);

  --primary: var(--it-violet);
  --primary-hover: var(--it-violet-700);
  --on-primary: #ffffff;
  --primary-soft: var(--it-violet-50);
  --cta: var(--it-violet);
  --cta-hover: var(--it-violet-700);
  --on-cta: #ffffff;
  --cta-glow: 0 2px 4px rgb(109 40 217 / 0.2), 0 10px 26px rgb(109 40 217 / 0.3);

  --accent: var(--it-aqua);              /* fills and marks only, never small text */
  --on-accent: var(--it-space);
  --accent-ink: var(--it-aqua-700);
  --accent-soft: var(--it-aqua-50);
  --figure: var(--it-violet-700);

  --info-bg: var(--it-aqua-50);
  --info-text: var(--it-aqua-800);

  --focus: var(--it-violet-500);
  --focus-on-brand: var(--it-aqua-bright);

  --bar-bg: var(--it-rail);
  --bar-text: #ffffff;
  --bar-muted: #c9c4ec;
  --bar-hover: rgb(255 255 255 / 0.08);
  --bar-line: rgb(255 255 255 / 0.16);
  --bar-mark: var(--it-aqua-bright);
  --mark-bg: var(--it-rail);
  --bar-glass: rgb(255 255 255 / 0.06);
  --bar-glass-line: rgb(183 156 255 / 0.24);
  --bar-glow: rgb(124 58 237 / 0.34);
  --bar-glow-2: rgb(34 211 238 / 0.14);

  --demo-bg: var(--it-space);
  --demo-text: var(--it-violet-100);
  --demo-chip-bg: var(--it-violet-300);
  --demo-chip-text: var(--it-space);

  --offline-bg: var(--n-900);
  --offline-text: #ffffff;
  --offline-dot: var(--it-orange);
  --offline-soft: var(--it-orange-50);
  --offline-soft-text: var(--it-orange-700);

  --stage-bg: #e4e2f1;
  --motif: var(--it-violet-100);
  --hero-bg: var(--it-deep);
  --hero-text: #ffffff;
  --hero-muted: #d0c8f5;
  --hero-figure: var(--it-aqua-300);
  --hero-motif: rgb(34 211 238 / 0.2);
  --backdrop: rgb(7 6 26 / 0.6);
  --card-shadow: 0 1px 0 rgb(18 15 42 / 0.06), 0 14px 30px -18px rgb(46 16 101 / 0.3);
  --card-shadow-lift: 0 2px 0 rgb(18 15 42 / 0.08), 0 22px 44px -18px rgb(46 16 101 / 0.42);
  --card-line: rgb(46 16 101 / 0.08);

  /* ---- the sign-in and setup screens (auth-invotech.css): the deck. The
     field is space indigo in both themes, so these are set once and repeated
     in dark. `--auth-panel` is what the glass comes to, opaque, for the
     contrast checks. ---- */
  --auth-field: var(--it-space);
  --auth-field-text: #ffffff;
  --auth-field-muted: #bdb7e0;
  --auth-pattern: rgb(124 58 237 / 0.22);   /* the floor grid, decoration only */
  --auth-glow: rgb(124 58 237 / 0.4);
  --auth-glow-2: rgb(34 211 238 / 0.18);
  --auth-glow-3: rgb(163 230 53 / 0.12);
  --auth-glass: rgb(255 255 255 / 0.05);
  --auth-glass-strong: rgb(255 255 255 / 0.09);
  --auth-glass-line: rgb(183 156 255 / 0.24);
  --auth-glass-shine: rgb(255 255 255 / 0.16);
  --auth-panel: #120f2a;
  --auth-panel-text: #ffffff;
  --auth-panel-muted: #bdb7e0;
  --auth-rule: rgb(255 255 255 / 0.1);
  --auth-console: #120f2a;
  --auth-console-text: #ffffff;
  --auth-console-muted: #bdb7e0;
  --auth-focus: var(--it-aqua-bright);
  --display-bg: #05041a;
  --display-text: var(--it-aqua-300);
  --key-bg: #1c1840;
  --key-text: #ffffff;
  --key-edge: rgb(183 156 255 / 0.3);
  --key-hover: #26205a;
  --key-fn-bg: #120f2a;
  --key-fn-text: #cdc7ef;
  --pick-bg: #2a1d63;
  --pick-text: #ffffff;
  --pick-mark: var(--it-aqua-bright);
  --submit-bg: var(--it-violet-300);
  --submit-text: var(--it-space);
  --submit-hover: var(--it-violet-200);
  --strip-bg: var(--it-space);
  --strip-text: #ffffff;

  /* ---- the self-order kiosk (kiosk.css): always the light theme, so these
     are set once and never change with the device's preference. ---- */
  --k-bg: var(--n-100);
  --k-surface: #ffffff;
  --k-surface-2: var(--n-50);
  --k-text: var(--n-900);
  --k-muted: var(--n-600);
  --k-border: var(--n-200);
  --k-border-strong: var(--n-500);
  --k-toast-bg: var(--it-rail);
  --kiosk-brand: var(--it-deep);
  --kiosk-brand-deep: var(--it-space);
  --kiosk-on-brand: #ffffff;
  --kiosk-brand-muted: var(--it-violet-100);
  --kiosk-hero-figure: var(--it-aqua-300);
  --kiosk-accent: var(--it-violet);
  --kiosk-accent-hover: var(--it-violet-700);
  --kiosk-on-accent: #ffffff;
  --kiosk-plate: var(--it-violet-50);
  --kiosk-ink: var(--it-violet-700);
  --kiosk-ink-soft: var(--it-violet-50);
  --kiosk-figure: var(--it-violet-700);
  --kiosk-focus: var(--it-violet);
  --kiosk-focus-on-brand: var(--it-aqua-bright);
  --kiosk-glow: rgb(124 58 237 / 0.42);
  --kiosk-glow-2: rgb(34 211 238 / 0.2);
  --kiosk-glass: rgb(255 255 255 / 0.07);
  --kiosk-glass-line: rgb(183 156 255 / 0.26);
  --kiosk-trace: rgb(183 156 255 / 0.18);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Every themed token again: this file loads after app.css's dark block. */
    --bg: var(--n-950);
    --surface: #0e0c26;
    --surface-2: #141136;
    --surface-3: #1e1a48;
    --text: #f0edff;
    --muted: #a6a0cc;
    --border: #26214d;
    --border-strong: #6d6799;

    --primary: var(--it-violet-300);
    --primary-hover: var(--it-violet-200);
    --on-primary: #14093a;
    --primary-soft: #1a1540;
    --cta: var(--it-violet-300);
    --cta-hover: var(--it-violet-200);
    --on-cta: #14093a;
    --cta-glow: 0 0 0 1px rgb(183 156 255 / 0.35), 0 10px 30px rgb(124 58 237 / 0.35);

    --accent: var(--it-aqua-bright);
    --on-accent: var(--it-space);
    --accent-ink: var(--it-aqua-300);
    --accent-soft: #082a33;
    --figure: var(--it-aqua-300);

    --info-bg: #082a33;
    --info-text: var(--it-aqua-300);

    --focus: var(--it-aqua-bright);
    --focus-on-brand: var(--it-aqua-bright);

    --bar-bg: #0a081f;
    --bar-text: #ffffff;
    --bar-muted: #c9c4ec;
    --bar-hover: rgb(255 255 255 / 0.08);
    --bar-line: rgb(255 255 255 / 0.14);
    --bar-mark: var(--it-aqua-bright);
    --mark-bg: #0a081f;
    --bar-glass: rgb(255 255 255 / 0.05);
    --bar-glass-line: rgb(183 156 255 / 0.22);
    --bar-glow: rgb(124 58 237 / 0.3);
    --bar-glow-2: rgb(34 211 238 / 0.12);

    --demo-bg: var(--it-space);
    --demo-text: var(--it-violet-100);
    --demo-chip-bg: var(--it-violet-300);
    --demo-chip-text: var(--it-space);

    --offline-bg: var(--it-orange-50);
    --offline-text: var(--it-orange-900);
    --offline-dot: var(--it-orange-700);
    --offline-soft: #2e1c0a;
    --offline-soft-text: var(--it-orange-300);

    --stage-bg: #0b0a22;
    --motif: #2a2460;
    --hero-bg: #1a1145;
    --hero-text: #ffffff;
    --hero-muted: #d0c8f5;
    --hero-figure: var(--it-aqua-300);
    --hero-motif: rgb(34 211 238 / 0.18);
    --backdrop: rgb(3 2 12 / 0.72);
    --card-shadow: 0 0 0 1px #221d4a, 0 12px 30px rgb(0 0 0 / 0.4);
    --card-shadow-lift: 0 0 0 1px #352d70, 0 18px 44px rgb(0 0 0 / 0.5), 0 0 24px rgb(124 58 237 / 0.18);
    --card-line: rgb(255 255 255 / 0.05);

    --auth-field: var(--it-space);
    --auth-field-text: #ffffff;
    --auth-field-muted: #bdb7e0;
    --auth-pattern: rgb(124 58 237 / 0.22);
    --auth-glow: rgb(124 58 237 / 0.4);
    --auth-glow-2: rgb(34 211 238 / 0.18);
    --auth-glow-3: rgb(163 230 53 / 0.12);
    --auth-glass: rgb(255 255 255 / 0.05);
    --auth-glass-strong: rgb(255 255 255 / 0.09);
    --auth-glass-line: rgb(183 156 255 / 0.24);
    --auth-glass-shine: rgb(255 255 255 / 0.16);
    --auth-panel: #120f2a;
    --auth-panel-text: #ffffff;
    --auth-panel-muted: #bdb7e0;
    --auth-rule: rgb(255 255 255 / 0.1);
    --auth-console: #120f2a;
    --auth-console-text: #ffffff;
    --auth-console-muted: #bdb7e0;
    --auth-focus: var(--it-aqua-bright);
    --display-bg: #05041a;
    --display-text: var(--it-aqua-300);
    --key-bg: #1c1840;
    --key-text: #ffffff;
    --key-edge: rgb(183 156 255 / 0.3);
    --key-hover: #26205a;
    --key-fn-bg: #120f2a;
    --key-fn-text: #cdc7ef;
    --pick-bg: #2a1d63;
    --pick-text: #ffffff;
    --pick-mark: var(--it-aqua-bright);
    --submit-bg: var(--it-violet-300);
    --submit-text: var(--it-space);
    --submit-hover: var(--it-violet-200);
    --strip-bg: var(--it-space);
    --strip-text: #ffffff;
  }
}
