:root {
  --mustang-black: #0b0b0b;
  --mustang-black-soft: #171717;
  --mustang-red: #ff2800;
  --mustang-red-hover: #d92100;
  --mustang-red-dark: #8f1d0b;
  --mustang-white: #ffffff;
  --mustang-canvas: #f5f5f4;
  --mustang-surface: #ffffff;
  --mustang-surface-subtle: #fafafa;
  --mustang-surface-muted: #f0f0ef;
  --mustang-text: #171717;
  --mustang-text-muted: #606060;
  --mustang-border: #dededb;
  --mustang-border-strong: #b8b8b3;
  --mustang-success: #16733c;
  --mustang-warning: #a55708;
  --mustang-danger: #8f1d0b;
  --mustang-info: #3f3f3f;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.125rem;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 11, 11, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 11, 11, 0.1);
  --shadow-lg: 0 24px 64px rgba(11, 11, 11, 0.22);
  --focus-ring: 0 0 0 3px rgba(255, 40, 0, 0.28);

  --font-sans: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.375rem;

  --sidebar-width: 18rem;
  --sidebar-collapsed-width: 4.75rem;
  --topbar-height: 4.5rem;
  --content-max: 112rem;
  --touch-target: 2.75rem;

  --layer-content: 1;
  --layer-sticky: 20;
  --layer-drawer: 60;
  --layer-modal: 100;

  --motion-fast: 140ms;
  --motion-base: 220ms;
  --motion-ease: cubic-bezier(0.2, 0, 0, 1);

  --color-primary: var(--mustang-red);
  --color-primary-hover: var(--mustang-red-hover);
  --color-black: var(--mustang-black);
  --color-white: var(--mustang-white);
  --color-background: var(--mustang-canvas);
  --color-surface: var(--mustang-surface);
  --color-border: var(--mustang-border);
  --color-text: var(--mustang-text);
  --color-text-muted: var(--mustang-text-muted);
  --color-success: var(--mustang-success);
  --color-warning: var(--mustang-warning);
  --color-danger: var(--mustang-danger);
  --color-focus: var(--mustang-red);

  /* Mustang authenticated ecosystem. These tokens are deliberately additive:
     the production login keeps consuming the immutable identity tokens above. */
  --auth-canvas: #070809;
  --auth-canvas-deep: #040505;
  --auth-graphite: #0d0f11;
  --auth-surface: rgba(19, 21, 24, 0.94);
  --auth-surface-raised: rgba(26, 29, 33, 0.96);
  --auth-surface-soft: rgba(255, 255, 255, 0.035);
  --auth-surface-hover: rgba(255, 255, 255, 0.065);
  --auth-line: rgba(216, 220, 225, 0.14);
  --auth-line-strong: rgba(216, 220, 225, 0.24);
  --auth-text: #f4f5f6;
  --auth-text-secondary: #aeb2b8;
  --auth-text-tertiary: #7f858d;
  --auth-ferrari: #ff2800;
  --auth-ferrari-hover: #e92300;
  --auth-ferrari-pressed: #bd1d00;
  --auth-ferrari-soft: rgba(255, 40, 0, 0.12);
  --auth-ferrari-glow: rgba(255, 40, 0, 0.2);
  --auth-success: #45c97a;
  --auth-success-soft: rgba(69, 201, 122, 0.11);
  --auth-warning: #efb350;
  --auth-warning-soft: rgba(239, 179, 80, 0.11);
  --auth-danger: #ff655a;
  --auth-danger-soft: rgba(255, 101, 90, 0.11);
  --auth-info: #70a9ff;
  --auth-info-soft: rgba(112, 169, 255, 0.11);
  --auth-radius-sm: 0.4rem;
  --auth-radius-md: 0.65rem;
  --auth-radius-lg: 0.9rem;
  --auth-radius-xl: 1.15rem;
  --auth-shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.22);
  --auth-shadow-md: 0 18px 44px rgba(0, 0, 0, 0.34);
  --auth-shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.52);
  --auth-inset-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  --auth-focus-ring: 0 0 0 3px rgba(255, 40, 0, 0.3);
  --auth-transition: 150ms cubic-bezier(0.2, 0, 0, 1);
}
