/* GroupGPT brand tokens — https://branding.groupgpt.tech
   Mirrors ggpt-cortex/src/index.css. Monochrome, dark-first, no hue accent. */

@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Italiana&display=swap');

:root {
  /* Brand colors — monochrome lux accent */
  --rich-black: #0F1218;        /* base background */
  --accent: #1a1a1a;            /* filled buttons, active, focus, selection */
  --accent-soft: #525252;       /* links, icons, hover text */

  /* Legacy aliases — NOT purple. Kept for backwards-compat only. */
  --purple-mid: #1a1a1a;        /* -> primary accent */
  --purple-light: #525252;      /* -> secondary accent */
  --purple-border: rgba(0, 0, 0, 0.14);
  --purple-glow: 0 0 0 3px rgba(0, 0, 0, 0.12);

  /* Text */
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.55);
  --text-dim: rgba(255, 255, 255, 0.4);

  /* State — the only sanctioned hues in the system */
  --error-red: #ff4444;
  --e2ee-green: #10b981;

  /* Backgrounds & surfaces */
  --bg-gradient: linear-gradient(180deg, #161616 0%, #5c5c5c 28%, #9a9a9a 55%, #a0a0a0 100%);
  --glass-bg: rgba(0, 0, 0, 0.05);
  --glass-bg-hover: rgba(0, 0, 0, 0.09);
  --surface-dark: rgba(15, 18, 24, 0.8);
  --input-frost: rgba(225, 225, 225, 0.45);

  /* Neuron graph */
  --neuron-left: #dcdcdc;
  --neuron-right: #8d8d8d;

  /* Shape & layout */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --sidebar-width: 320px;
  --header-height: 70px;
  --chat-max: 1080px;

  font-family: 'League Spartan', Geneva, Verdana, sans-serif;
  line-height: 1.6;
  font-weight: 400;

  color-scheme: dark;
  background-color: var(--rich-black);
  color: var(--text-main);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(120, 120, 120, 0.2); border-radius: 10px; }
