/* ============================================================
   Classie — Spacing, radius, shadow, motion, layout tokens
   4px base grid. Radii/shadows INFERRED from the dark technical
   aesthetic (source not readable) — tune to match production.
   ============================================================ */

:root {
  /* ---- Spacing (4px grid) ---- */
  --space-0: 0;
  --space-1: 2px;
  --space-2: 4px;
  --space-3: 8px;
  --space-4: 12px;
  --space-5: 16px;
  --space-6: 20px;
  --space-7: 24px;
  --space-8: 32px;
  --space-9: 40px;
  --space-10: 48px;
  --space-11: 64px;
  --space-12: 80px;
  --space-13: 96px;

  /* ---- Radius ---- */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-panel: 6px; /* overlay panel corner (Menu, notifications) */
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-pill: 999px;
  --radius-round: 50%;

  /* ---- Borders ---- */
  --border-width: 1px;
  --border-width-strong: 1.5px;

  /* ---- Shadows (dark UI: rely on borders; soft ambient) ---- */
  /* Console card elevation — two hairline-soft layers, much lighter than the
     overlay shadows below (borders do the separation work on dark UI). */
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-container: 0 1px 2px rgba(0, 0, 0, 0.05); /* accordion/group container lift */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.55);
  --shadow-overlay: 0 24px 64px rgba(0, 0, 0, 0.62);
  /* Floating overlay panel (Menu, notifications) — soft two-layer lift */
  --shadow-panel: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --glow-accent: 0 0 0 3px var(--focus-ring);
  --glow-accent-soft: 0 0 24px rgba(0, 173, 255, 0.25);

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --ease-in: cubic-bezier(0.4, 0, 1, 1); /* @kind other */
  /* sliding indicators (tabs, segmented) */
  --ease-emphasized: cubic-bezier(0.35, 0, 0.25, 1); /* @kind other */
  --dur-fast: 120ms; /* @kind other */
  --dur-base: 180ms; /* @kind other */
  --dur-slow: 260ms; /* @kind other */
  /* indicator travel */
  --dur-emphasized: 250ms; /* @kind other */

  /* ---- Layout ---- */
  --sidebar-width: 248px;
  --sidebar-collapsed: 64px;
  --topbar-height: 56px;
  --control-min-width: 128px; /* compact dropdown / select floor */
  --content-max: 1440px;
  --z-base: 1; /* @kind other */
  --z-sticky: 100; /* @kind other */
  --z-overlay: 500; /* @kind other */
  --z-modal: 1000; /* @kind other */
  --z-toast: 1500; /* @kind other */
}
