/* ============================================================
   BUSINESS OS DESIGN TOKENS: the one CSS custom-properties file
   (design_token_source; WSE frontend_product_ui_engineering.md section 5A).
   Color and font values live only here. Loaded before custom.css and futuristic.css.
   ============================================================ */

/* From static/css/custom.css. */
:root {
  /* Backgrounds */
  --bg-primary: #0B0B0D;
  --bg-secondary: #111215;
  --bg-tertiary: #111215;
  --bg-card: #17181C;
  --bg-card-hover: #1E2025;
  --bg-input: #111215;
  --bg-overlay: rgba(0, 0, 0, 0.65);

  /* Gold Palette */
  --gold: #C7A35A;
  --gold-hover: #B88933;
  --gold-champagne: #E4D3A2;
  --gold-bronze: #87652C;
  --gold-tint: rgba(199, 163, 90, 0.10);
  --gold-glow: rgba(199, 163, 90, 0.25);

  /* Text */
  --text-primary: #F5F0E8;
  --text-muted: #C8C0B4;
  --text-subtle: #9E978C;
  --text-inverse: #0B0B0D;

  /* Borders */
  --border: #31343C;
  --border-light: #24262C;
  --border-gold: rgba(199, 163, 90, 0.35);

  /* Status */
  --success: #22c55e;
  --success-bg: rgba(34, 197, 94, 0.10);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.10);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.10);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 0 20px rgba(199, 163, 90, 0.15);

  /* Layout */
  --sidebar-width: 200px;
  --sidebar-collapsed: 64px;
  --header-height: 64px;
  --chat-width: 320px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Z-index */
  --z-sidebar: 100;
  --z-header: 90;
  --z-dropdown: 200;
  --z-modal: 300;
  --z-toast: 400;
  --z-chat: 150;
}

/* From static/css/futuristic.css. */
:root {
    /* Surfaces */
    --fx-bg-0:        #05060E;
    --fx-bg-1:        #0A0D1E;
    --fx-bg-2:        #101530;
    --fx-glass:       rgba(13, 18, 40, 0.62);
    --fx-glass-2:     rgba(20, 26, 54, 0.55);

    /* Neon accents */
    --fx-cyan:        #22D3EE;
    --fx-cyan-soft:   #67E8F9;
    --fx-violet:      #A78BFA;
    --fx-violet-deep: #7C3AED;
    --fx-magenta:     #E879F9;
    --fx-green:       #34D399;
    --fx-red:         #FB7185;
    --fx-amber:       #FBBF24;

    /* Glows */
    --fx-cyan-glow:   rgba(34, 211, 238, 0.45);
    --fx-violet-glow: rgba(167, 139, 250, 0.45);

    /* Text */
    --fx-text:        #E6F1FF;
    --fx-text-mute:   #8B9BB4;
    --fx-text-dim:    #556075;

    /* Lines */
    --fx-line:        rgba(34, 211, 238, 0.14);
    --fx-line-soft:   rgba(34, 211, 238, 0.07);

    /* Type */
    --fx-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Menlo, monospace;
}

/* Literal tokens: each holds, verbatim, a color or font value that the stylesheets used
   inline before the design workflow adoption, so rendering is unchanged. Rationalize them
   into the semantic tokens above only through an owner-approved Design DNA change. */
:root {
  /* --card-bg was used (custom.css, templates/help/index.html) but never defined, so it resolved to
     the initial value; transparent keeps that rendering. --bg-card was probably meant: an owner
     design decision, not changed here. */
  --card-bg: transparent;
  --c-rgba-199-163-90-0_25: rgba(199, 163, 90, 0.25);
  --c-rgba-199-163-90-0_4: rgba(199, 163, 90, 0.4);
  --c-rgba-199-163-90-0_35: rgba(199, 163, 90, 0.35);
  --c-hex-2a2520: #2A2520;
  --c-hex-342e27: #342E27;
  --c-rgba-199-163-90-0_15: rgba(199, 163, 90, 0.15);
  --c-hex-fff: #fff;
  --c-hex-dc2626: #dc2626;
  --c-rgba-239-68-68-0_3: rgba(239, 68, 68, 0.3);
  --c-hex-16a34a: #16a34a;
  --c-rgba-34-197-94-0_3: rgba(34, 197, 94, 0.3);
  --c-hex-3e414a: #3E414A;
  --c-rgba-199-163-90-0_1: rgba(199, 163, 90, 0.1);
  --c-rgba-17-18-21-0_5: rgba(17, 18, 21, 0.5);
  --c-rgba-34-197-94-0_25: rgba(34, 197, 94, 0.25);
  --c-rgba-199-163-90-0_3: rgba(199, 163, 90, 0.3);
  --c-rgba-158-151-140-0_1: rgba(158, 151, 140, 0.1);
  --c-rgba-158-151-140-0_2: rgba(158, 151, 140, 0.2);
  --c-rgba-199-163-90-0_2: rgba(199, 163, 90, 0.2);
  --c-rgba-245-158-11-0_2: rgba(245, 158, 11, 0.2);
  --c-rgba-199-163-90-0_08: rgba(199, 163, 90, 0.08);
  --c-rgba-199-163-90-0_45: rgba(199, 163, 90, 0.45);
  --c-rgba-11-11-13-0_7: rgba(11, 11, 13, 0.7);
  --c-rgba-199-163-90-0_04: rgba(199, 163, 90, 0.04);
  --c-rgba-199-163-90-0_03: rgba(199, 163, 90, 0.03);
  --c-rgba-199-163-90-0_06: rgba(199, 163, 90, 0.06);
  --c-hex-000: #000;
  --c-rgba-156-163-175-0_2: rgba(156, 163, 175, 0.2);
  --c-hex-9ca3af: #9ca3af;
  --c-rgba-59-130-246-0_2: rgba(59, 130, 246, 0.2);
  --c-hex-60a5fa: #60a5fa;
  --c-rgba-139-92-246-0_2: rgba(139, 92, 246, 0.2);
  --c-hex-a78bfa: #a78bfa;
  --c-hex-fbbf24: #fbbf24;
  --c-rgba-16-185-129-0_2: rgba(16, 185, 129, 0.2);
  --c-hex-34d399: #34d399;
  --c-rgba-239-68-68-0_2: rgba(239, 68, 68, 0.2);
  --c-hex-f87171: #f87171;
  --c-rgba-199-163-90-0: rgba(199, 163, 90, 0);
  --font-inherit: inherit;
  --font-georgia-serif: Georgia, serif;
  --font-courier-new-monospace: 'Courier New', monospace;
  --c-rgba-34-211-238-0_08: rgba(34, 211, 238, 0.08);
  --c-rgba-124-58-237-0_10: rgba(124, 58, 237, 0.10);
  --c-rgba-34-211-238-0_055: rgba(34, 211, 238, 0.055);
  --c-rgba-230-241-255-0_55: rgba(230, 241, 255, 0.55);
  --c-rgba-103-232-249-0_45: rgba(103, 232, 249, 0.45);
  --c-rgba-230-241-255-0_4: rgba(230, 241, 255, 0.4);
  --c-rgba-167-139-250-0_5: rgba(167, 139, 250, 0.5);
  --c-rgba-230-241-255-0_45: rgba(230, 241, 255, 0.45);
  --c-rgba-103-232-249-0_35: rgba(103, 232, 249, 0.35);
  --c-rgba-230-241-255-0_5: rgba(230, 241, 255, 0.5);
  --c-rgba-255-255-255-0_04: rgba(255, 255, 255, 0.04);
  --c-rgba-0-0-0-0_5: rgba(0, 0, 0, 0.5);
  --c-rgba-34-211-238-0_45: rgba(34, 211, 238, 0.45);
  --c-rgba-34-211-238-0_18: rgba(34, 211, 238, 0.18);
  --c-rgba-0-0-0-0_6: rgba(0, 0, 0, 0.6);
  --c-rgba-34-211-238-0_14: rgba(34, 211, 238, 0.14);
  --c-rgba-34-211-238-0_4: rgba(34, 211, 238, 0.4);
  --c-rgba-34-211-238-0_16: rgba(34, 211, 238, 0.16);
  --c-rgba-167-139-250-0_4: rgba(167, 139, 250, 0.4);
  --c-rgba-167-139-250-0_16: rgba(167, 139, 250, 0.16);
  --c-rgba-167-139-250-0_18: rgba(167, 139, 250, 0.18);
  --c-rgba-103-232-249-0_18: rgba(103, 232, 249, 0.18);
  --c-rgba-52-211-153-0_45: rgba(52, 211, 153, 0.45);
  --c-rgba-251-113-133-0_45: rgba(251, 113, 133, 0.45);
  --c-rgba-52-211-153-0_4: rgba(52, 211, 153, 0.4);
  --c-rgba-52-211-153-0_08: rgba(52, 211, 153, 0.08);
  --c-rgba-3-6-14-0_85: rgba(3, 6, 14, 0.85);
  --c-rgba-34-211-238-0_02: rgba(34, 211, 238, 0.02);
  --c-rgba-34-211-238-0_12: rgba(34, 211, 238, 0.12);
}
