@layer tokens{:root {
  
  --space-3xs: 2px;   
  --space-2xs: 4px;   
  --space-xs: 8px;    
  --space-sm: 12px;   
  --space-md: 16px;   
  --space-lg: 24px;   
  --space-xl: 32px;   
  --space-2xl: 48px;  
  --space-3xl: 64px;  
  
  
  --bp-mobile: 1024px;
  --bp-tablet: 768px;
  --bp-desktop: 1280px;
  
  
  --tool-input-height: 44px;          
  --tool-input-height-mobile: 52px;   
  --tool-button-height: 44px;         
  --tool-button-height-mobile: 52px;  
  --tool-gap: var(--space-md);        
  --tool-gap-mobile: var(--space-sm); 
  
  
  --text-xs: 0.75rem;    
  --text-sm: 0.875rem;   
  --text-base: 1rem;     
  --text-lg: 1.125rem;   
  --text-xl: 1.25rem;    
  --text-2xl: 1.5rem;    
  --text-3xl: 1.875rem;  
  
  
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;
  
  
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  
  --radius-sm: 4px;     
  --radius-md: 8px;     
  --radius-lg: 12px;    
  --radius-xl: 16px;    
  --radius-full: 9999px; 
  
  --border-width: 1px;
  --border-width-thick: 2px;
  
  
  
  --color-primary: #3b82f6;        
  --color-primary-hover: #2563eb;  
  --color-primary-active: #1d4ed8; 
  
  
  --color-success: #10b981;        
  --color-warning: #f59e0b;        
  --color-error: #ef4444;          
  --color-info: #06b6d4;           
  
  
  --color-hover: rgba(59, 130, 246, 0.1);    
  --color-active: rgba(59, 130, 246, 0.2);   
  --color-disabled: rgba(0, 0, 0, 0.3);      
  --color-disabled-bg: rgba(0, 0, 0, 0.05);  
  
  
  --color-focus-ring: #3b82f6;               
  --color-focus-shadow: rgba(59, 130, 246, 0.1); 
  --color-border-focus: #3b82f6;             
  
  
  --hub-pdf-primary: #3b82f6;      
  --hub-pdf-secondary: #8b5cf6;    
  --hub-image-primary: #ec4899;    
  --hub-image-secondary: #8b5cf6;  
  
  
  --z-base: 0;           
  --z-content: 1;        
  --z-dropdown: 100;     
  --z-sticky: 200;       
  --z-fixed: 300;        
  --z-modal-backdrop: 400; 
  --z-modal: 500;        
  --z-popover: 600;      
  --z-tooltip: 700;      
  --z-toast: 800;        
  
  
  --transition-fast: 150ms;
  --transition-base: 200ms;
  --transition-slow: 300ms;
  --transition-slower: 500ms;
  
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  
  --shadow-focus: 0 0 0 3px var(--color-focus-shadow);
  --shadow-focus-error: 0 0 0 3px rgba(239, 68, 68, 0.1);
  
  
  --mobile-min-touch-target: 44px; 
  --mobile-recommended-touch: 48px; 
}


[data-theme="dark"] {
  
  --color-primary: #60a5fa;        
  --color-primary-hover: #3b82f6;
  --color-primary-active: #2563eb;
  
  
  --color-success: #34d399;        
  --color-warning: #fbbf24;        
  --color-error: #f87171;          
  --color-info: #22d3ee;           
  
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}




}