/*
 * Taxobotic light theme v1.3 - 2026-11-12
 * Canonical values. Read docs/retheme/PALETTE.md before using or changing these.
 * Definitions only: application documents opt in by loading this file.
 * Add stylesheet links in the relevant rollout part; no component rules here.
 */
:root {
  /* Brand */
  --tb-brand: #103D34;
  --tb-brand-deep: #082F29;
  --tb-brand-hover: #195649;
  --tb-logo-bg: #14947D;
  --tb-logo-mark: var(--tb-surface);
  --tb-gold: #C48A2A;
  --tb-gold-indicator: #94651E;
  --tb-gold-text: #875B19;

  /* Surfaces */
  --tb-canvas: #FBF7F1;
  --tb-surface: #FFFFFF;
  --tb-surface-soft: #FDFCFA;
  --tb-nav-bg: #F9F5EF;
  --tb-sidebar-bg: #F2EDE4;
  --tb-table-head-bg: #F1EBE2;

  /* Text and boundaries */
  --tb-heading: var(--tb-brand);
  --tb-text: #273F39;
  --tb-text-muted: #526773;
  --tb-on-brand: var(--tb-surface);
  --tb-on-brand-muted: #DDE9E2;
  --tb-border-subtle: #E5DCD0;
  --tb-border-control: #74867B;

  /* Actions and interaction states */
  --tb-action-bg: var(--tb-brand);
  --tb-action-hover: var(--tb-brand-hover);
  --tb-action-pressed: var(--tb-brand-deep);
  --tb-link: var(--tb-brand);
  --tb-link-hover: var(--tb-brand-hover);
  --tb-selection-bg: #E5EFE9;
  --tb-selection-fg: var(--tb-brand);
  --tb-selection-indicator: var(--tb-gold-indicator);
  --tb-focus: var(--tb-brand);
  --tb-focus-inverse: var(--tb-surface);
  --tb-disabled-bg: #E8E4DD;
  --tb-disabled-text: #52635A;

  /* Status: success is independent of the primary brand action. */
  --tb-success: #16803C;
  --tb-success-text: #146C33;
  --tb-success-bg: #EAF5ED;
  --tb-danger: #B4232C;
  --tb-danger-hover: #911C24;
  --tb-danger-pressed: #73161D;
  --tb-danger-bg: #FDEEF0;
  --tb-warning-text: var(--tb-gold-text);
  --tb-warning-bg: #FFF3DC;
  --tb-info-text: var(--tb-brand-hover);
  --tb-info-bg: #EDF4F0;

  /* Chart categories: consistent meaning across the site and previews. */
  --tb-chart-tax: #103D34;
  --tb-chart-surcharge: #94651E;
  --tb-chart-super-tax: #8F4E63;
  --tb-chart-net: #7488B4;
  --tb-chart-separator: var(--tb-surface);

  /* Effects: component styles consume these without inventing new tints. */
  --tb-shadow-card: 0 6px 18px rgb(8 47 41 / 0.06);
  --tb-shadow-raised: 0 14px 36px rgb(8 47 41 / 0.12);
  --tb-shadow-hero: 0 28px 64px rgb(8 47 41 / 0.16);
  --tb-overlay: rgb(8 47 41 / 0.48);
  --tb-overlay-neutral: rgb(0 0 0 / 0.48);
}
