/* ==========================================================================
   Code Fixer — Shared Design Tokens & Cascade Layers
   Centralne warstwy CSS (@layer) oraz tokeny powierzchni, szkła i akcentów.
   ========================================================================== */
@layer tokens, base, components, theme, pages;

@layer tokens {
:root {
  --cf-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  --cf-font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', Menlo, Consolas, monospace;

  --cf-radius-xs: 8px;
  --cf-radius-sm: 12px;
  --cf-radius-md: 16px;
  --cf-radius-lg: 22px;
  --cf-radius-pill: 999px;

  --cf-blur-glass: blur(18px);
  --cf-blur-header: blur(22px);

  --cf-accent: #67e8c2;
  --cf-accent-strong: #38bdf8;
  --cf-accent-ink: #041d17;
  --cf-accent-soft: rgba(103, 232, 194, 0.14);
  --cf-accent-border: rgba(103, 232, 194, 0.36);

  --cf-surface-canvas: #070d18;
  --cf-surface-panel: rgba(14, 24, 42, 0.84);
  --cf-surface-elevated: rgba(19, 32, 54, 0.92);
  --cf-surface-subtle: rgba(255, 255, 255, 0.04);
  --color-surface: var(--cf-surface-panel);

  --cf-border-subtle: rgba(255, 255, 255, 0.09);
  --cf-border-strong: rgba(255, 255, 255, 0.18);

  --cf-text-primary: #eef4ff;
  --cf-text-secondary: #a5b4cc;
  --cf-text-muted: #94a3b8;

  --cf-success: #4ec9b0;
  --cf-warning: #fbbf24;
  --cf-danger: #f87171;

  --cf-shadow-card: 0 12px 34px rgba(2, 6, 16, 0.42);
  --cf-shadow-elevated: 0 22px 54px rgba(0, 0, 0, 0.56);

  --cf-transition-fast: 0.18s cubic-bezier(0.22, 1, 0.36, 1);
  --cf-transition-smooth: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="classic"] {
  --cf-accent: #4ec9b0;
  --cf-accent-strong: #3794ff;
  --cf-surface-canvas: #14171c;
  --cf-surface-panel: rgba(30, 33, 40, 0.92);
  --cf-surface-elevated: rgba(37, 41, 49, 0.96);
}
}
