/* BW3 P2P Market — generated from tokens.json. Do not edit the token values by hand.
   In the app, map body[data-theme="dark"] (and no attribute) to the midnight block and body[data-theme="light"] to the sand block.
   S2a-R3: the selectors of the two theme blocks were edited by hand, with Claude chat's permission as design owner, so that
   they need no :has selector (the markup's body carries the class bw3). No token value was changed. */
:root, body:not([data-theme]), body.bw3[data-theme="dark"] {
  --bg: #070b14;
  --surface: #0c1220;
  --raised: #151d2e;
  --hover: #1c2740;
  --line: #1e2a40;
  --line-strong: #6f81a6;
  --text: #edf1f7;
  --muted: #9ba8bf;
  --gold: #e9b949;
  --gold-fill: #e9b949;
  --on-gold: #1b1403;
  --gold-bg: rgba(233,185,73,0.12);
  --buy: #2bd4b4;
  --buy-solid: #0b7a68;
  --on-buy: #ffffff;
  --buy-bg: rgba(43,212,180,0.14);
  --sell: #ff6b81;
  --sell-solid: #b8294a;
  --on-sell: #ffffff;
  --sell-bg: rgba(255,107,129,0.14);
  --warn: #ff9838;
  --warn-bg: rgba(255,152,56,0.14);
  --info: #7fb2ff;
  --info-bg: rgba(127,178,255,0.14);
  --focus: var(--gold);
  --venue-bin: #f0b90b;
  --on-venue-bin: #1b1403;
  --venue-byb: #c2cad8;
  --on-venue-byb: #0b1220;
  --scrim: rgba(3,6,12,0.66);
  --shadow-overlay: 0 16px 40px rgba(0,0,0,0.55);
}
body.bw3[data-theme="light"] {
  --bg: #e4dccb;
  --surface: #f1eadb;
  --raised: #e9e1d0;
  --hover: #dcd3bf;
  --line: #d0c5ae;
  --line-strong: #7a6e58;
  --text: #1e1810;
  --muted: #554b3a;
  --gold: #6b4500;
  --gold-fill: #e9b949;
  --on-gold: #1b1403;
  --gold-bg: rgba(107,69,0,0.12);
  --buy: #005a4b;
  --buy-solid: #0b7a68;
  --on-buy: #ffffff;
  --buy-bg: rgba(0,90,75,0.12);
  --sell: #9a1c33;
  --sell-solid: #b8294a;
  --on-sell: #ffffff;
  --sell-bg: rgba(154,28,51,0.12);
  --warn: #7c3a00;
  --warn-bg: rgba(124,58,0,0.12);
  --info: #1a4f9f;
  --info-bg: rgba(26,79,159,0.12);
  --focus: var(--gold);
  --venue-bin: #f0b90b;
  --on-venue-bin: #1b1403;
  --venue-byb: #1c1f27;
  --on-venue-byb: #ffffff;
  --scrim: rgba(30,24,16,0.45);
  --shadow-overlay: 0 16px 40px rgba(30,24,16,0.22);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --radius-sm: 6px;
  --radius-control: 8px;
  --radius-card: 12px;
  --radius-pill: 999px;
  --control-sm: 32px;
  --control-md: 36px;
  --control-lg: 44px;
  --row: 24px;
  --row-touch: 36px;
  --topbar: 56px;
  --ticker: 56px;
  --statusline: 32px;
  --font-sans: "IBM Plex Sans", "Noto Sans Myanmar", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}
.caption { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 13px; line-height: 20px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 13px; line-height: 20px; font-weight: 600; }
.heading { font-family: var(--font-sans); font-size: 16px; line-height: 22px; font-weight: 600; }
.title { font-family: var(--font-sans); font-size: 20px; line-height: 28px; font-weight: 600; }
.num { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 500; }
.price { font-family: var(--font-mono); font-size: 28px; line-height: 32px; font-weight: 600; }
.hero { font-family: var(--font-mono); font-size: 40px; line-height: 44px; font-weight: 600; }

:root {
  --type-caption: 12px; --leading-caption: 16px;
  --type-body: 13px; --leading-body: 20px;
  --type-label: 13px; --leading-label: 20px;
  --type-heading: 16px; --leading-heading: 22px;
  --type-title: 20px; --leading-title: 28px;
  --type-num: 13px; --leading-num: 20px;
  --type-price: 28px; --leading-price: 32px;
  --type-hero: 40px; --leading-hero: 44px;
}
