/* 00 - Tokens: CSS custom properties for explain-ink */
[data-theme="explain-ink"] {
  /* Text colors */
  --color-text-primary: #f1ede4;
  --color-text-secondary: rgba(241, 237, 228, 0.64);
  --color-text-tertiary: rgba(245, 242, 236, 0.64);
  --color-text-disabled: rgba(248, 246, 242, 0.64);
  --color-text-contrast: #000000;
  --color-text-accent: #e9573f;
  --color-text-on-accent: #ffffff;
  --color-text-success: #22c55e;
  --color-text-on-success: #ffffff;
  --color-text-warning: #f59e0b;
  --color-text-error: #ef4444;
  --color-text-info: #3b82f6;

  /* Background colors */
  --color-bg-primary: #1e1d22;
  --color-bg-secondary: #26242c;
  --color-bg-tertiary: #353438;
  --color-bg-surface: #26242c;
  --color-bg-hover: rgba(255, 255, 255, 0.05);
  --color-bg-disabled: #353438;

  /* Accent backgrounds */
  --color-bg-accent: #461a13;
  --color-bg-accent-solid: #e9573f;
  --color-bg-accent-light: #461a13;
  --color-bg-accent-hover: #eb6852;
  --color-bg-accent-glow: rgba(233, 87, 63, 0.15);

  /* Semantic backgrounds */
  --color-bg-success: #22c55e;
  --color-bg-success-light: #0a3b1c;
  --color-bg-success-hover: #38cb6e;
  --color-bg-warning: #f59e0b;
  --color-bg-warning-light: #4a2f03;
  --color-bg-warning-hover: #f6a823;
  --color-bg-error: #ef4444;
  --color-bg-error-light: #481414;
  --color-bg-error-hover: #f15757;
  --color-bg-info: #3b82f6;
  --color-bg-info-light: #12274a;
  --color-bg-info-hover: #4f8ff7;

  /* Border colors */
  --color-border-primary: rgba(241, 237, 228, 0.14);
  --color-border-secondary: rgba(193, 190, 182, 0.14);
  --color-border-tertiary: rgba(145, 142, 137, 0.14);
  --color-border-disabled: rgba(169, 166, 160, 0.14);
  --color-border-focus: rgba(241, 237, 228, 0.14);
  --color-border-error: #ef4444;
  --color-border-info: #3b82f6;
  --color-border-success: #22c55e;
  --color-border-warning: #f59e0b;

  /* Ring colors */
  --color-ring-focus: rgba(233, 87, 63, 0.5);
  --color-ring-error: rgba(239, 68, 68, 0.5);
  --color-ring-offset: #1e1d22;

  /* Accent colors */
  --color-accent-primary: #e9573f;
  --color-accent-secondary: #ed7965;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  --spacing-5xl: 8rem;

  /* Component spacing */
  --input-padding: 0.5rem 0.75rem;
  --button-padding: 0.625rem 1rem;
  --card-padding: 1.5rem;

  /* Border radius */
  --radius-sm: calc(0.6rem * 0.5);
  --radius-md: 0.6rem;
  --radius-lg: calc(0.6rem * 1.5);
  --radius-xl: calc(0.6rem * 2);
  --radius-full: 9999px;
  --radius-button: 0.6rem;
  --radius-card: 0.9rem;

  /* Shadows */
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-xl: none;
  --shadow-accent: 0 6px 20px rgba(233, 87, 63, 0.25);

  /* Typography */
  --font-family-base: 'Nunito', system-ui, sans-serif;
  --font-family-heading: 'Cabin Sketch', 'Nunito', cursive;
  --font-family-mono: 'JetBrains Mono', monospace;
  --font-size-base: 1rem;
  --line-height-base: 1.5;
  --font-weight-heading: 700;

  /* Component settings */
  --focus-ring-width: 2px;
  --card-border-width: 1px;
  --input-border-width: 1px;
  --component-outline-text: #f1ede4;
  --component-outline-bg: #26242c;
  --component-outline-border: rgba(241, 237, 228, 0.14);
  --component-outline-hover-bg: #461a13;
  --component-outline-hover-border: #e9573f;
  --component-checkbox-border: rgba(193, 190, 182, 0.14);
  --component-checkbox-border-checked: #e9573f;
  --component-checkbox-fill: transparent;
  --component-checkbox-fill-checked: #e9573f;
  --component-input-background: #26242c;
  --component-input-border: rgba(193, 190, 182, 0.14);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Interaction effects */
  --hover-scale: 1;
  --hover-brightness: 1;
  --hover-translate-y: 0;

  /* Gradient controls */
  --button-primary-fill: #e9573f;
  --button-secondary-fill: #26242c;
  --button-gradient-active: 0;
  --card-surface-fill: #26242c;
  --card-gradient-active: 0;
  --app-background-fill: #1e1d22;
  --app-background-gradient-active: 0;
  --button-gradient-intensity: 1;
  --card-gradient-intensity: 1;
  --button-gloss-gradient: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45), transparent 55%), radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.15), transparent 65%), linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.05));
  --button-gloss-opacity: 0.35;
  --button-gloss-hover-opacity: 0.55;
  --button-gloss-active-opacity: 0.25;
  --button-gloss-enabled: 1;

  /* Glassmorphism - computed CSS values */
  --glass-blur: 0px;
  --glass-opacity: 1;
  --glass-gradient: none;
  --glass-gradient-strength: 0;
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: none;
  --glass-card-overlay: linear-gradient(150deg, rgba(58, 56, 64, 0.08), rgba(78, 76, 84, 0.02));
  --card-backdrop: none;
  --card-bg-opacity: 1;
  --glow-intensity: 0;
  --glass-apply-to-cards: 0;
  --glass-apply-to-shell: 0;
  --color-bg-secondary-glass: rgba(38, 36, 44, 1);
  --color-bg-primary-glass: rgba(30, 29, 34, 1);

  /* Effect flags (0 = disabled, 1 = enabled) */
  --effect-neon: 0;
  --effect-shimmer: 0;
  --effect-tilt: 0;
  --effect-magnetic: 0;
  --effect-glow-badges: 0;
  --effect-neon-scrollbar: 0;
  --effect-link-glow: 0;
  --effect-table-glow: 0;
  --effect-progress-glow: 0;
  --effect-input-glow: 0;
  --effect-modal-glass: 0;
  --effect-dropdown-glass: 0;
  --effect-checkbox-glow: 0;
  --effect-heading-glow: 0;
  --effect-button-glow: 0;

  /* Effect colors */
  --neon-primary: rgba(96, 165, 250, 0.5);
  --neon-secondary: rgba(167, 139, 250, 0.5);
}
