/* Bonvoy design tokens — copied from the Dorby distributor app (app/lib/design/tokens.dart, type.dart)
   and the order-desk web doc (DESIGN-orderdesk-web.md). Light only, by design. */
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/EBGaramond-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/EBGaramond-MediumItalic.ttf") format("truetype"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "EB Garamond", Georgia, "Times New Roman", serif;

  /* colours (DColors) */
  --ink: #1c1c1c;        --ink2: #4f4f4f;      --muted: #727272;
  --hairline: #eeeeee;   --fill: #f2f2f2;      --bubble: #e8e8e8;
  --surface: #ffffff;    --canvas: #f9f6f4;
  --accent: #00a1c0;     --accent-deep: #007c94; --accent-tint: #d9f1f6; --accent-tint2: #b3e3ec;
  --ok: #2e8b57;         --ok-tint: #e3f2e9;
  --danger: #d14930;     --danger-tint: #fbe7e3;
  --warn: #e8892b;       --warn-tint: #fcEEDD;  --warn-ink: #8f4e0c;
  --tab-inactive: #c4c4c4; --outline: #d6d6d6;  --track: #e4e4e4;

  /* radius (DRadius) */
  --r-card: 16px; --r-input: 12px; --r-image: 14px; --r-sheet: 24px; --r-pill: 999px;
  /* spacing (DSpace) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px; --page: 20px; --gap: 12px; --touch: 48px;
  /* shadow (DShadow) */
  --shadow-card: 0 4px 16px rgba(0, 0, 0, .06);
  --shadow-float: 0 8px 24px rgba(0, 0, 0, .10);
  --shadow-button: 0 1px 2px rgba(0, 0, 0, .08);
  /* motion (DMotion) */
  --ease: cubic-bezier(.215, .61, .355, 1); --t-page: 280ms; --t-tab: 120ms; --t-press: 90ms; --t-gauge: 600ms;

  /* member-card tones (CardTone): one per person */
  --tone-top: #0b5566; --tone-bottom: #073c48;
}
/* Vansh = Distributor teal, Chetan = Dorby Sales slate, Shalini = Branch Manager bronze */
[data-tone="vansh"]   { --tone-top: #0b5566; --tone-bottom: #073c48; }
[data-tone="chetan"]  { --tone-top: #3d4b5c; --tone-bottom: #2a3542; }
[data-tone="shalini"] { --tone-top: #8b6d46; --tone-bottom: #6f4818; }
[data-tone="other"]   { --tone-top: #2b2a2d; --tone-bottom: #1c1c1c; }
