/* Brand pack: uzaro — "NexInvoice POS" (Uzaro Solutions Tech Inc., uzaro.net;
   NFTN at bir.uzaro.app, the POS at pos.bir.uzaro.app).

   TOKENS AND ASSETS ONLY. This file sets the font, 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-uzaro.css and auth-uzaro.css, which read only these tokens.

   uzaro.net is a dark navy tech look: a glassy pill nav, cyan pill buttons and
   white headlines. So the chrome is deep navy in both themes, the call to
   action is Sky Cyan (#00A3E0) with deep-navy words (white on cyan is 2.9:1),
   and Uzaro Navy (#2B3674) carries links, figures and selection on light
   surfaces. Lime, from the mark's cube, marks what is done or chosen; gold is
   the demo chip only. Neutrals are cool slate, not the shared warm greys. */

/* Inter, self-hosted, because the CSP allows fonts from this origin only.
   OFL-1.1, see ../brands/uzaro/fonts/OFL-Inter.txt. Latin-ext carries the peso sign. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../brands/uzaro/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
       url("../brands/uzaro/fonts/inter-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: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../brands/uzaro/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../brands/uzaro/fonts/inter-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: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --motif-image: url("../brands/uzaro/motif.svg");   /* circuit traces and nodes */
  --mark-reverse-image: url("../brands/uzaro/lockup-reverse.png");   /* the full lock-up, reversed */
  --shadow-tint: 26 36 86;

  /* ---- ramps ---- */
  --uz-ink: #0b1022;             /* the darkest navy: the sign-in field */
  --uz-deep: #1a2456;            /* Uzaro deep navy: the chrome */
  --uz-navy: #2b3674;            /* Uzaro Navy */
  --uz-mid: #3d4a8a;
  --uz-royal: #003087;
  --uz-navy-300: #9aa6e0;
  --uz-navy-200: #c3cbee;
  --uz-navy-100: #dfe4f7;
  --uz-navy-50: #eef1fb;

  --uz-cyan: #00a3e0;            /* Sky Cyan: calls to action */
  --uz-cyan-300: #5ccaf2;
  --uz-cyan-200: #9fdff7;
  --uz-cyan-100: #cdeffb;
  --uz-cyan-50: #e8f7fd;
  --uz-cyan-700: #00739e;        /* cyan that may carry text on white */
  --uz-cyan-800: #005677;

  --uz-lime: #6fd225;            /* the cube's top face */
  --uz-lime-300: #a6e66f;
  --uz-lime-50: #effbe4;
  --uz-lime-700: #3a7a0b;        /* lime that may carry text on white */
  --uz-lime-800: #2b5c08;

  --uz-gold: #d4af37;
  --uz-gold-50: #fbf5e1;
  --uz-gold-800: #66520f;

  /* Cool slate neutrals in place of the shared warm ones. */
  --n-0: #ffffff;
  --n-50: #f4f6fb;
  --n-100: #eceff6;
  --n-200: #dfe4ee;
  --n-300: #cbd2e0;
  --n-400: #9ba5ba;
  --n-500: #6b7690;
  --n-600: #4a556e;
  --n-700: #343e56;
  --n-800: #1f283f;
  --n-900: #121a2e;
  --n-950: #0b1022;

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

  --primary: var(--uz-navy);
  --primary-hover: var(--uz-deep);
  --on-primary: #ffffff;
  --primary-soft: var(--uz-navy-50);

  /* The call to action: cyan with deep-navy words (chrome-uzaro.css). */
  --cta: var(--uz-cyan);
  --cta-hover: var(--uz-cyan-300);
  --on-cta: var(--uz-ink);
  --cta-glow: 0 2px 4px rgb(0 115 158 / 0.18), 0 10px 26px rgb(0 163 224 / 0.32);

  --accent: var(--uz-lime);              /* fills and marks only, never small text */
  --on-accent: var(--uz-ink);
  --accent-ink: var(--uz-lime-700);
  --accent-soft: var(--uz-lime-50);
  --figure: var(--uz-navy);

  --info-bg: var(--uz-cyan-50);
  --info-text: var(--uz-cyan-800);

  --focus: var(--uz-cyan-700);
  --focus-on-brand: var(--uz-cyan);

  --bar-bg: var(--uz-deep);
  --bar-text: #ffffff;
  --bar-muted: var(--uz-navy-200);
  --bar-hover: rgb(255 255 255 / 0.1);
  --bar-line: rgb(255 255 255 / 0.22);
  --bar-mark: var(--uz-cyan);
  --mark-bg: var(--uz-deep);
  /* The pill nav on the bar: glass, its current page a cyan pill. */
  --bar-glass: rgb(255 255 255 / 0.07);
  --bar-glass-line: rgb(255 255 255 / 0.16);
  --bar-glow: rgb(0 163 224 / 0.22);
  --bar-glow-2: rgb(111 210 37 / 0.08);

  --demo-bg: var(--uz-ink);
  --demo-text: var(--uz-navy-100);
  --demo-chip-bg: var(--uz-gold);
  --demo-chip-text: var(--uz-ink);

  --offline-bg: var(--n-900);
  --offline-text: #ffffff;
  --offline-dot: var(--uz-gold);
  --offline-soft: var(--uz-gold-50);
  --offline-soft-text: var(--uz-gold-800);

  --stage-bg: #e6eaf3;
  --motif: var(--uz-cyan-100);
  --hero-bg: var(--uz-deep);
  --hero-text: #ffffff;
  --hero-muted: var(--uz-navy-200);
  --hero-figure: var(--uz-cyan-300);
  --hero-motif: rgb(0 163 224 / 0.2);
  --backdrop: rgb(11 16 34 / 0.6);

  /* Soft depth: a card floats on two navy-tinted shadows. */
  --card-shadow: 0 1px 2px rgb(18 26 46 / 0.06), 0 8px 24px rgb(26 36 86 / 0.08);
  --card-shadow-lift: 0 2px 6px rgb(18 26 46 / 0.08), 0 18px 44px rgb(26 36 86 / 0.14);
  --card-line: rgb(26 36 86 / 0.06);

  /* ---- the sign-in and setup screens (auth-uzaro.css): a dark navy field
     with a circuit and a cyan glow, and one glass panel. The field is dark in
     both themes, so these are set once and repeated in dark. ---- */
  --auth-field: var(--uz-ink);
  --auth-field-text: #ffffff;
  --auth-field-muted: #b6c0de;
  --auth-pattern: rgb(0 163 224 / 0.14);    /* circuit traces, decoration only */
  --auth-glow: rgb(0 163 224 / 0.3);
  --auth-glow-2: rgb(0 48 135 / 0.55);
  --auth-glow-3: rgb(111 210 37 / 0.12);
  /* The glass: translucent white over the field. --auth-panel is what it
     comes to, opaque, for the contrast checks. */
  --auth-glass: rgb(255 255 255 / 0.06);
  --auth-glass-strong: rgb(255 255 255 / 0.1);
  --auth-glass-line: rgb(255 255 255 / 0.14);
  --auth-glass-shine: rgb(255 255 255 / 0.22);
  --auth-panel: #1b2134;
  --auth-panel-text: #ffffff;
  --auth-panel-muted: #b6c0de;
  --auth-rule: rgb(255 255 255 / 0.12);
  --auth-console: #1b2134;
  --auth-console-text: #ffffff;
  --auth-console-muted: #b6c0de;
  --auth-focus: var(--uz-cyan);
  --display-bg: #070b18;
  --display-text: var(--uz-cyan-300);
  --key-bg: #262c3e;
  --key-text: #ffffff;
  --key-edge: rgb(255 255 255 / 0.16);
  --key-hover: #333a4f;
  --key-fn-bg: #1b2134;
  --key-fn-text: #c9d1ea;
  --pick-bg: #10324f;
  --pick-text: #ffffff;
  --pick-mark: var(--uz-cyan);
  --submit-bg: var(--uz-cyan);
  --submit-text: var(--uz-ink);
  --submit-hover: var(--uz-cyan-300);
  --strip-bg: var(--uz-ink);
  --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. The pack
     loads after kiosk.css, so the kiosk's neutrals are cool slate too. ---- */
  --k-bg: var(--n-50);
  --k-surface: #ffffff;
  --k-surface-2: var(--n-100);
  --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(--uz-deep);
  --kiosk-brand: var(--uz-deep);
  --kiosk-brand-deep: var(--uz-ink);
  --kiosk-on-brand: #ffffff;
  --kiosk-brand-muted: var(--uz-navy-200);
  --kiosk-hero-figure: var(--uz-cyan-300);
  --kiosk-accent: var(--uz-cyan);
  --kiosk-accent-hover: var(--uz-cyan-300);
  --kiosk-on-accent: var(--uz-ink);
  --kiosk-plate: var(--uz-cyan-50);
  --kiosk-ink: var(--uz-navy);
  --kiosk-ink-soft: var(--uz-navy-50);
  --kiosk-figure: var(--uz-royal);
  --kiosk-focus: var(--uz-cyan-700);
  --kiosk-focus-on-brand: var(--uz-cyan);
  --kiosk-glow: rgb(0 163 224 / 0.35);
  --kiosk-glow-2: rgb(0 48 135 / 0.6);
  --kiosk-glass: rgb(255 255 255 / 0.08);
  --kiosk-glass-line: rgb(255 255 255 / 0.18);
  --kiosk-trace: rgb(0 163 224 / 0.16);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Deep navy surfaces, not the shared warm ink. Redeclared here because
       this file loads after app.css's dark block. */
    --bg: var(--n-950);
    --surface: #131a33;
    --surface-2: #1b2442;
    --surface-3: #263152;
    --text: #e9edf7;
    --muted: #a7b1c9;
    --border: #27315a;
    --border-strong: #64729a;

    --primary: var(--uz-cyan-300);
    --primary-hover: var(--uz-cyan-200);
    --on-primary: var(--uz-ink);
    --primary-soft: #11264a;

    --cta: var(--uz-cyan);
    --cta-hover: var(--uz-cyan-300);
    --on-cta: var(--uz-ink);
    --cta-glow: 0 0 0 1px rgb(92 202 242 / 0.35), 0 10px 30px rgb(0 163 224 / 0.25);

    --accent: var(--uz-lime);
    --on-accent: var(--uz-ink);
    --accent-ink: var(--uz-lime-300);
    --accent-soft: #17301a;
    --figure: var(--uz-cyan-300);

    --info-bg: #0f2a40;
    --info-text: var(--uz-cyan-200);

    --focus: var(--uz-cyan-300);
    --focus-on-brand: var(--uz-cyan);

    --bar-bg: #0e1531;
    --bar-text: #ffffff;
    --bar-muted: var(--uz-navy-200);
    --bar-hover: rgb(255 255 255 / 0.1);
    --bar-line: rgb(255 255 255 / 0.22);
    --bar-mark: var(--uz-cyan);
    --mark-bg: #0e1531;
    --bar-glass: rgb(255 255 255 / 0.06);
    --bar-glass-line: rgb(255 255 255 / 0.14);
    --bar-glow: rgb(0 163 224 / 0.18);
    --bar-glow-2: rgb(111 210 37 / 0.06);

    --demo-bg: var(--uz-ink);
    --demo-text: var(--uz-navy-100);
    --demo-chip-bg: var(--uz-gold);
    --demo-chip-text: var(--uz-ink);

    --offline-bg: var(--uz-gold-50);
    --offline-text: var(--uz-gold-800);
    --offline-dot: var(--uz-gold-800);
    --offline-soft: #2c2610;
    --offline-soft-text: #f1dc94;

    --stage-bg: #0e1430;
    --motif: #1d3358;
    --hero-bg: #16204a;
    --hero-text: #ffffff;
    --hero-muted: var(--uz-navy-200);
    --hero-figure: var(--uz-cyan-300);
    --hero-motif: rgb(0 163 224 / 0.18);
    --backdrop: rgb(4 7 18 / 0.7);

    --card-shadow: 0 0 0 1px #222c52, 0 10px 30px rgb(0 0 0 / 0.35);
    --card-shadow-lift: 0 0 0 1px #2e3a68, 0 18px 44px rgb(0 0 0 / 0.45);
    --card-line: rgb(255 255 255 / 0.04);

    --auth-field: var(--uz-ink);
    --auth-field-text: #ffffff;
    --auth-field-muted: #b6c0de;
    --auth-pattern: rgb(0 163 224 / 0.14);
    --auth-glow: rgb(0 163 224 / 0.3);
    --auth-glow-2: rgb(0 48 135 / 0.55);
    --auth-glow-3: rgb(111 210 37 / 0.12);
    --auth-glass: rgb(255 255 255 / 0.06);
    --auth-glass-strong: rgb(255 255 255 / 0.1);
    --auth-glass-line: rgb(255 255 255 / 0.14);
    --auth-glass-shine: rgb(255 255 255 / 0.22);
    --auth-panel: #1b2134;
    --auth-panel-text: #ffffff;
    --auth-panel-muted: #b6c0de;
    --auth-rule: rgb(255 255 255 / 0.12);
    --auth-console: #1b2134;
    --auth-console-text: #ffffff;
    --auth-console-muted: #b6c0de;
    --auth-focus: var(--uz-cyan);
    --display-bg: #070b18;
    --display-text: var(--uz-cyan-300);
    --key-bg: #262c3e;
    --key-text: #ffffff;
    --key-edge: rgb(255 255 255 / 0.16);
    --key-hover: #333a4f;
    --key-fn-bg: #1b2134;
    --key-fn-text: #c9d1ea;
    --pick-bg: #10324f;
    --pick-text: #ffffff;
    --pick-mark: var(--uz-cyan);
    --submit-bg: var(--uz-cyan);
    --submit-text: var(--uz-ink);
    --submit-hover: var(--uz-cyan-300);
    --strip-bg: var(--uz-ink);
    --strip-text: #ffffff;
  }
}
