/* =====================================================================
   REGULARS — THEME FILE
   This is the ONE place that controls how Regulars looks: colours,
   corner roundness, shadows, spacing and the type scale.

   SAFE TO CHANGE: every value below. Change a value, save, and
   redeploy — the whole app follows. Nothing else needs editing.
   DO NOT remove the variable names (the "--" words on the left): the
   rest of the app looks them up by name.

   Colour guide:
     --accent        main brand colour (buttons, filled stamps, tabs)
     --accent-deep   darkest teal — the top bar / app chrome
     --accent-tint   pale teal wash (icon tiles, progress track)
     --reward        the ONE warm amber accent (rewards, codes, stars)
     --bg            warm cream page background
     --card          card / surface colour
     --ink           main text colour (keep it dark for readability)
     --muted         secondary text, micro-labels and hints
   Green (--ok), grey and red (--bad) are used ONLY for meaning:
   success / inactive / destructive — never as decoration.
   A business can also set its OWN brand colour in the Business app
   (Settings -> Brand colour). That overrides --accent for that
   business's customers only.
   ===================================================================== */
:root{
  /* --- Colour --- */
  --accent:#0c6656;           /* deep teal — primary brand colour */
  --accent-dark:#084f43;      /* pressed-state shade of the accent */
  --accent-deep:#063f36;      /* top bar / darkest chrome */
  --accent-tint:#e4f0ec;      /* pale teal wash: icon tiles, tracks */
  --reward:#e9a319;           /* warm amber — rewards, stars, codes */
  --reward-dark:#8a6108;      /* amber text on pale backgrounds */
  --reward-bg:#fdf3d7;        /* pale amber wash for reward highlights */
  --bg:#f7f4ee;               /* warm cream page background */
  --card:#ffffff;             /* white surfaces */
  --ink:#1a2220;              /* near-black text, high contrast */
  --muted:#6d7773;            /* secondary text / micro-labels */
  --line:#e3e6e2;             /* hairline borders */
  --line-strong:#cfd6d2;      /* borders on ghost buttons / inputs */
  --ok:#177245;               /* success green (semantic only) */
  --ok-bg:#e2f2e7;            /* pale success wash */
  --bad:#b3261e;              /* destructive / error red (semantic only) */
  --bad-bg:#fbeae8;           /* pale error wash */
  --warn-bg:#fef6e0;          /* soft amber notice background */
  /* Pale tints for icon tiles (settings rows, dashboard tiles).
     Muted only — one tint per row, never decoration for its own sake. */
  --tint-blue:#e4ecf8;        /* pale blue tile wash */
  --tint-rose:#f9e9e4;        /* pale rose tile wash */
  --tint-lav:#eceaf7;         /* pale lavender tile wash */
  --tint-pink:#f9e8ef;        /* pale pink tile wash */

  /* --- Shape & depth --- */
  --radius:18px;              /* card corner roundness (16–20px range) */
  --radius-small:12px;        /* small elements: tiles, notices */
  --radius-input:14px;        /* text inputs */
  --radius-pill:999px;        /* buttons, tags, search, toggles */
  --shadow:0 1px 2px rgba(10,45,40,.05), 0 10px 30px rgba(10,45,40,.05);

  /* --- Type scale (change sizes here, nowhere else) --- */
  --base-font:14px;           /* body text */
  --fs-title:21px;            /* page titles */
  --fs-card-title:16px;       /* card headings */
  --fs-small:13px;            /* secondary lines */
  --fs-micro:11px;            /* UPPERCASE micro-labels */
  --fs-number:24px;           /* big stat numbers */
  --fs-stat:34px;             /* dashboard stat-tile numbers */

  /* --- Spacing scale --- */
  --page-max:460px;           /* centred column width on desktop */
  --page-pad:16px;            /* page side padding */
  --card-gap:14px;            /* gap between cards */
  --card-pad:20px;            /* inside padding of a card */

  /* --- Entry / login screens (the front door only) --- */
  --entry-max:1080px;         /* split layout width on desktop */
  --ink-soft:#4f5b56;         /* softer text for the brand panel */
}
