/* Colour and theme tokens for Beerculator (Hop Green Canvas & Beer Labels).
 * Layout, typography, radii, spacing, and control height live in sites/shared/base.css.
 * Enforced by scripts/check_tokens.py --all.
 */

:root {
  /* Surfaces */
  --bg-page: #132a1c;
  --bg-header: #0b1c12;
  --bg-surface: #f6efe2;
  --bg-surface-bright: #ffffff;
  --bg-subtle: #ebe2d2;
  --bg-hover: #efe6d6;
  --bg-selected: #e5dcc9;

  /* Outer green controls */
  --outer-chip-bg: #1c3b28;
  --outer-chip-border: #2e593e;
  --outer-chip-hover: #244a33;
  --outer-ink: #fbf5ea;
  --outer-ink-bright: #ffffff;
  --outer-muted: #b5ceb9;
  --header-input-bg: #132a1c;
  --header-input-border: #2e593e;

  /* Card inks */
  --ink: #122117;
  --ink-secondary: #3f5747;
  --ink-muted: #62786a;

  /* Rules */
  --card-border: #0a1810;
  --line: #e4dbc9;
  --line-strong: #c3b7a4;

  /* Semantic beer accent (overridden per drink tab on body[data-beer-tab]) */
  --accent: #1b5e38;
  --accent-hover: #134629;
  --tab-accent: #3ea86b;
  --accent-ink: #ffffff;

  /* Aliases consumed by shared/base.css */
  --wine: #1b5e38;
  --wine-hover: #134629;
  --wine-tab-accent: #3ea86b;
  --wine-ink: #ffffff;

  /* Fixed drink-tab dot colours */
  --dot-beer: #3ea86b;
  --dot-cider: #d99b38;
  --dot-na: #58a6bd;

  /* Neutral window / chart chrome */
  --handle: #102418;
  --dot-below: #b9c2bc;
  --grid: #e4dbc9;
  --axis-line: #c3b7a4;
  --axis-text: #576d5f;
  --chart-window-fill: rgba(19, 42, 28, 0.065);
  --bottle-placeholder: #cbbba8;

  /* Offer / Bonus orange */
  --bonus: #ff7900;
  --bonus-hover: #e56a00;
  --bonus-ink: #ffffff;
  --bonus-tint: #fff4e5;
  --bonus-tint-border: #f0c080;

  /* Overlays & elevation */
  --scrim: rgba(10, 24, 16, 0.56);
  --shadow-sm: 0 1px 2px rgba(18, 33, 23, 0.14);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.30);
  --shadow-lg: 0 14px 36px rgba(0, 0, 0, 0.40);
  --shadow-sheet: 0 -10px 32px rgba(0, 0, 0, 0.45);
}

body[data-beer-tab="cider_radler"] {
  --accent: #8c5a18;
  --accent-hover: #6e4511;
  --tab-accent: #d99b38;
  --wine: #8c5a18;
  --wine-hover: #6e4511;
  --wine-tab-accent: #d99b38;
}

body[data-beer-tab="na"] {
  --accent: #225c6e;
  --accent-hover: #184452;
  --tab-accent: #58a6bd;
  --wine: #225c6e;
  --wine-hover: #184452;
  --wine-tab-accent: #58a6bd;
}

/* Beer-specific header mark and tab dots */
.brand-beer-fill { fill: var(--bonus); }
.brand-beer-stroke { stroke: var(--bg-header); }
.brand-beer-foam { fill: var(--bg-surface); stroke: var(--bg-header); }
.tab-dot-beer { background: var(--dot-beer); }
.tab-dot-cider { background: var(--dot-cider); }
.tab-dot-na { background: var(--dot-na); }
