/* Design tokens — RISE/Wymbe. Shared by the app (index.html) and the public pages. */
@font-face {
  font-family: "Manrope";
  src: url("/static/vendor/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --page: #EFEBE3; --sand: #F5F2EC; --surface: #FFFFFF;
  --hair: #ECE8DF; --hair-2: #D9D3C6;
  --ink: #1C1B18; --stone: #6E6A61;
  --accent: #F8A61A; --accent-text: #A65F00; --accent-soft: #FDECCA;
  --good: #3F7D5A; --danger: #D1495B;
  --moat-wide: #6E4500; --moat-narrow: #B06E00; --moat-low: #DFA03A;
  --moat-wide-fg: #FFFFFF; --moat-narrow-fg: #FFFFFF; --moat-low-fg: #1C1B18;
  /* heatmap poles — change here only (alternative blue discount pole: #2A78D6) */
  --heat-discount: #3F7D5A; --heat-premium: #D1495B; --heat-mid: #F0EEEA; --heat-strong-fg: #FFFFFF;
  --series-1: #F8A61A; --series-2: #6E6A61; --series-3: #2A78D6; --series-4: #8A4FD8; --trend-up: #2A78D6;
  /* categorical slots for part-to-whole (validated: dataviz validate_palette, adjacent + ring wrap) */
  --cat-1: #2a78d6; --cat-2: #eb6834; --cat-3: #1baf7a; --cat-4: #eda100; --cat-5: #e87ba4; --cat-other: #B9B3A6;
  --sma150: #1baf7a;
  --shadow: 0 1px 2px rgba(28,27,24,.06), 0 4px 14px rgba(28,27,24,.06);
  --chrome: #F8A61A; --chrome-ink: #1C1B18; --pill: rgba(255,255,255,.38);
  /* v2.2 master-detail: secondary text, neutral fills and the selected-row tint */
  --ink-2: #4A4740; --stone-2: #A39E92; --fill: rgba(28,27,24,.06); --sel: rgba(248,166,26,.16);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --page: #0F0E0C; --sand: #1A1915; --surface: #24231E;
  --hair: #33312A; --hair-2: #4A4740;
  --ink: #F5F2EC; --stone: #A39E92;
  --accent-text: #FFC466; --accent-soft: #3B2E14;
  --good: #7BBF95; --danger: #EF8F9B;
  --moat-wide: #F6D69B; --moat-narrow: #E8A83C; --moat-low: #A87415;
  --moat-wide-fg: #1C1B18; --moat-narrow-fg: #1C1B18; --moat-low-fg: #FFFFFF;
  --heat-discount: #7BBF95; --heat-premium: #E66767; --heat-mid: #383632; --heat-strong-fg: #0F0E0C;
  --series-2: #A39E92; --series-3: #6FA8F0; --series-4: #B892F2; --trend-up: #6FA8F0;
  --cat-1: #3987e5; --cat-2: #d95926; --cat-3: #199e70; --cat-4: #c98500; --cat-5: #d55181; --cat-other: #6B675E;
  --sma150: #3ccf8e;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.35);
  --chrome: #2A2113; --chrome-ink: #FFC466; --pill: rgba(255,255,255,.08);
  --ink-2: #D6D1C6; --stone-2: #6B675E; --fill: rgba(245,242,236,.07); --sel: rgba(248,166,26,.2);
  color-scheme: dark;
}
