/*
 * Gate brand tokens — edit this file (and public/brand.js) to swap a chosen brand later.
 * Colors, radii, and type used by the UI all resolve through these variables.
 * Do not scatter new brand hex values through styles.css or app.js.
 */
:root {
  /* Identity (name/tagline/logo path are in /brand.js) */
  --brand-font-display: "Space Grotesk", system-ui, sans-serif;
  --brand-font-ui: "Inter", system-ui, sans-serif;

  /* Colors — default palette from the approved mockup */
  --accent: #0F766E;
  --accent-hover: #0B5A54;
  --page: #F3F5F4;
  --card: #FFFFFF;
  --sidebar: #0E2421;
  --text: #0F1C1A;
  --muted: #5B6B67;
  --secondary: #3F4F4B;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C9D8D4;
  --on-dark-dim: #9DB3AD;
  --line: #E1E6E4;
  --line-soft: #EDF1EF;
  --muted-fill: #D5DDDA;
  --table-head: #F8FAF9;
  --row-hover: #F6F9F8;
  --track: #E4EAE8;
  --ok-bg: #E3F5EA;
  --ok-fg: #166A3F;
  --watch-bg: #FEF1DC;
  --watch-fg: #8A4405;
  --risk-bg: #FDE8E6;
  --risk-fg: #B42318;
  --bar-invoiced: #0B5A54;
  --bar-committed: #4FA79B;
  --bar-etc: #B8D9D4;
  --bar-pending: #E9A23B;
  --shadow: 0 1px 2px rgba(15, 28, 26, 0.04);
  --badge: #F2B14C;
  --badge-fg: #2A1A00;
  --avatar: #1D4A43;
  --avatar-fg: #CFF5EE;
  --icon: #5EEAD4;

  --radius-card: 14px;
  --radius-banner: 12px;
  --radius-control: 10px;
  --radius-button: 8px;
  --radius-chip: 999px;
}

/* Placeholder wordmark (used when brand.js leaves logoSrc empty). */
.brand-wordmark {
  font-family: var(--brand-font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--on-dark);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.brand-logo {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
}
