/**
 * Envelark Design Tokens
 * Warm editorial luxury meets modern productivity software.
 * 100% configuration/tenant-driven via CSS Custom Properties.
 */

:root {
  /* Brand Core Palette */
  --brand-primary: #152E22;     /* Deep Forest */
  --brand-primary-hover: #0F2319;
  --brand-primary-light: #EBF2EC;
  --brand-secondary: #D7C3A5;   /* Sand */
  --brand-secondary-hover: #C9B290;
  --brand-accent: #9c4d30;      /* Terracotta (WCAG AA Compliant >= 4.88:1) */
  --brand-accent-hover: #863f25;
  --brand-accent-light: #FCEEE9;
  --brand-background: #FAF7F2;  /* Warm Ivory / Parchment */
  --brand-surface: #FFFFFF;
  --brand-surface-subtle: #FDFBF8;
  --brand-text: #19241E;        /* Deep Forest Ink */
  --brand-muted: #555C56;       /* Muted Earth (WCAG AA Compliant > 5.5:1) */
  --brand-earth: #5A4636;       /* Earth */
  --brand-border: #E8E2D6;      /* Sand Border */
  --brand-border-subtle: #F0ECE4;
  
  /* Status & Semantic Signals */
  --brand-success: #2D6A4F;
  --brand-success-bg: #E8F3EE;
  --brand-warning: #B45309;
  --brand-warning-bg: #FEF3C7;
  --brand-danger: #BE123C;
  --brand-danger-bg: #FFE4E6;
  --brand-info: #3B6B78;
  --brand-info-bg: #EAF2F5;

  /* Semantic Inbox Chips matching Demo */
  --chip-proposal-bg: #E8EFEA;
  --chip-proposal-text: #2A6747;
  --chip-riverside-bg: #F6EDE0;
  --chip-riverside-text: #6D4917;
  --chip-calendar-bg: #FCEEE9;
  --chip-calendar-text: #7A2E0F;
  --chip-invoice-bg: #E8EFEA;
  --chip-invoice-text: #2A6747;
  --chip-assets-bg: #FCEEE9;
  --chip-assets-text: #7A2E0F;
  --chip-construction-bg: #FCEEE9;
  --chip-construction-text: #7A2E0F;
  --chip-partnership-bg: #FCEEE9;
  --chip-partnership-text: #7A2E0F;
  --chip-team-bg: #E8F3F8;
  --chip-team-text: #2B6B88;
  --chip-legal-bg: #EDF2EE;
  --chip-legal-text: #41634F;
  --chip-notes-bg: #F6EDE0;
  --chip-notes-text: #6D4917;
  --chip-needsreply-bg: #FCEEE9;
  --chip-needsreply-text: #7A2E0F;
  --chip-file-bg: #EAF0F6;
  --chip-file-text: #2C5282;
  --chip-meeting-bg: #F3EAF8;
  --chip-meeting-text: #6B347A;
  --chip-waiting-bg: #F9F1DC;
  --chip-waiting-text: #594105;
  --chip-campaign-bg: #EBF5F0;
  --chip-campaign-text: #22543D;
  --chip-important-bg: #FCE8E6;
  --chip-important-text: #9B2C2C;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Shadows (Natural sun-cast, calm editorial depth) */
  --shadow-sm: 0 1px 2px rgba(31, 61, 46, 0.04);
  --shadow-md: 0 4px 12px rgba(31, 61, 46, 0.06), 0 1px 3px rgba(31, 61, 46, 0.03);
  --shadow-lg: 0 12px 32px rgba(31, 61, 46, 0.08), 0 2px 6px rgba(31, 61, 46, 0.04);
  --shadow-modal: 0 24px 50px rgba(31, 61, 46, 0.16), 0 4px 12px rgba(31, 61, 46, 0.08);

  /* Border Radii (Restrained, architectural, not bubbly) */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 9px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Layout Dimensions */
  --sidebar-width: 250px;
  --list-width: 360px;
  --intel-width: 320px;
  --topbar-height: 58px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
