/ *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
       O P T I M I Z E D   M O B I L E   C S S   
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * / 
 
 / *   C o r e   m o b i l e   s t y l e s   w i t h   p e r f o r m a n c e   o p t i m i z a t i o n s   * / 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
         / *   U s e   w i l l - c h a n g e   f o r   b e t t e r   p e r f o r m a n c e   o n   a n i m a t e d   e l e m e n t s   * / 
         . a p p - c o n t a i n e r , 
         . r e s u l t - s h o w c a s e , 
         . c o m p a r i s o n - c h a r t , 
         . b r e a k d o w n - g r i d , 
         . d e d u c t i o n - b r e a k d o w n , 
         . s i d e b a r , 
         . i n s i g h t s - p a n e l   { 
                 w i l l - c h a n g e :   t r a n s f o r m ,   o p a c i t y ; 
         } 
         
         / *   C o n s o l i d a t e d   e n t r a n c e   a n i m a t i o n s   * / 
         . a p p - c o n t a i n e r   {   a n i m a t i o n :   f a d e I n U p   0 . 6 s   e a s e - o u t ;   } 
         . h e a d e r   {   a n i m a t i o n :   f a d e I n D o w n   0 . 4 s   e a s e - o u t ;   } 
         . r e s u l t - s h o w c a s e   {   a n i m a t i o n :   f a d e I n U p   0 . 8 s   e a s e - o u t   0 . 2 s   b o t h ;   } 
         . c o m p a r i s o n - c h a r t   {   a n i m a t i o n :   f a d e I n U p   0 . 6 s   e a s e - o u t   0 . 4 s   b o t h ;   } 
         . b r e a k d o w n - g r i d   {   a n i m a t i o n :   f a d e I n U p   0 . 6 s   e a s e - o u t   0 . 5 s   b o t h ;   } 
         . d e d u c t i o n - b r e a k d o w n   {   a n i m a t i o n :   f a d e I n U p   0 . 6 s   e a s e - o u t   0 . 6 s   b o t h ;   } 
         . s i d e b a r   {   a n i m a t i o n :   f a d e I n U p   0 . 6 s   e a s e - o u t   0 . 3 s   b o t h ;   } 
         . i n s i g h t s - p a n e l   {   a n i m a t i o n :   f a d e I n U p   0 . 6 s   e a s e - o u t   0 . 4 s   b o t h ;   } 
         
         / *   U n i f i e d   k e y f r a m e   a n i m a t i o n s   * / 
         @ k e y f r a m e s   f a d e I n U p   { 
                 f r o m   { 
                         o p a c i t y :   0 ; 
                         t r a n s f o r m :   t r a n s l a t e Y ( 2 5 p x ) ; 
                 } 
                 t o   { 
                         o p a c i t y :   1 ; 
                         t r a n s f o r m :   t r a n s l a t e Y ( 0 ) ; 
                 } 
         } 
         
         @ k e y f r a m e s   f a d e I n D o w n   { 
                 f r o m   { 
                         o p a c i t y :   0 ; 
                         t r a n s f o r m :   t r a n s l a t e Y ( - 2 0 p x ) ; 
                 } 
                 t o   { 
                         o p a c i t y :   1 ; 
                         t r a n s f o r m :   t r a n s l a t e Y ( 0 ) ; 
                 } 
         } 
         
         / *   S t a g g e r e d   c a r d   a n i m a t i o n s   u s i n g   C S S   c u s t o m   p r o p e r t i e s   * / 
         . i n s i g h t s - c a r d   { 
                 a n i m a t i o n :   f a d e I n L e f t   0 . 5 s   e a s e - o u t   b o t h ; 
         } 
         
         . i n s i g h t s - c a r d : n t h - c h i l d ( 1 )   {   a n i m a t i o n - d e l a y :   0 . 6 s ;   } 
         . i n s i g h t s - c a r d : n t h - c h i l d ( 2 )   {   a n i m a t i o n - d e l a y :   0 . 7 s ;   } 
         . i n s i g h t s - c a r d : n t h - c h i l d ( 3 )   {   a n i m a t i o n - d e l a y :   0 . 8 s ;   } 
         . i n s i g h t s - c a r d : n t h - c h i l d ( 4 )   {   a n i m a t i o n - d e l a y :   0 . 9 s ;   } 
         . i n s i g h t s - c a r d : n t h - c h i l d ( 5 )   {   a n i m a t i o n - d e l a y :   1 . 0 s ;   } 
         
         @ k e y f r a m e s   f a d e I n L e f t   { 
                 f r o m   { 
                         o p a c i t y :   0 ; 
                         t r a n s f o r m :   t r a n s l a t e X ( - 2 0 p x ) ; 
                 } 
                 t o   { 
                         o p a c i t y :   1 ; 
                         t r a n s f o r m :   t r a n s l a t e X ( 0 ) ; 
                 } 
         } 
         
         / *   C h a r t   a n i m a t i o n s   * / 
         . c h a r t - b a r   { 
                 a n i m a t i o n :   b a r G r o w   0 . 8 s   e a s e - o u t   b o t h ; 
         } 
         
         . c h a r t - b a r : n t h - c h i l d ( 1 )   {   a n i m a t i o n - d e l a y :   0 . 8 s ;   } 
         . c h a r t - b a r : n t h - c h i l d ( 2 )   {   a n i m a t i o n - d e l a y :   0 . 9 s ;   } 
         . c h a r t - b a r : n t h - c h i l d ( 3 )   {   a n i m a t i o n - d e l a y :   1 . 0 s ;   } 
         . c h a r t - b a r : n t h - c h i l d ( 4 )   {   a n i m a t i o n - d e l a y :   1 . 1 s ;   } 
         
         @ k e y f r a m e s   b a r G r o w   { 
                 f r o m   { 
                         h e i g h t :   0 ; 
                         o p a c i t y :   0 ; 
                 } 
                 t o   { 
                         o p a c i t y :   1 ; 
                 } 
         } 
         
         / *   B r e a k d o w n   i t e m s   * / 
         . b r e a k d o w n - i t e m   { 
                 a n i m a t i o n :   p o p I n   0 . 4 s   e a s e - o u t   b o t h ; 
         } 
         
         . b r e a k d o w n - i t e m : n t h - c h i l d ( 1 )   {   a n i m a t i o n - d e l a y :   1 . 0 s ;   } 
         . b r e a k d o w n - i t e m : n t h - c h i l d ( 2 )   {   a n i m a t i o n - d e l a y :   1 . 1 s ;   } 
         . b r e a k d o w n - i t e m : n t h - c h i l d ( 3 )   {   a n i m a t i o n - d e l a y :   1 . 2 s ;   } 
         . b r e a k d o w n - i t e m : n t h - c h i l d ( 4 )   {   a n i m a t i o n - d e l a y :   1 . 3 s ;   } 
         
         @ k e y f r a m e s   p o p I n   { 
                 f r o m   { 
                         o p a c i t y :   0 ; 
                         t r a n s f o r m :   s c a l e ( 0 . 8 ) ; 
                 } 
                 t o   { 
                         o p a c i t y :   1 ; 
                         t r a n s f o r m :   s c a l e ( 1 ) ; 
                 } 
         } 
         
         / *   R e s u l t   a m o u n t   w i t h   o p t i m i z e d   a n i m a t i o n   * / 
         . r e s u l t - a m o u n t   { 
                 a n i m a t i o n :   r e s u l t E n t r a n c e   1 s   e a s e - o u t ,   r e s u l t P u l s e   3 s   e a s e - i n - o u t   i n f i n i t e ; 
         } 
         
         @ k e y f r a m e s   r e s u l t E n t r a n c e   { 
                 f r o m   { 
                         o p a c i t y :   0 ; 
                         t r a n s f o r m :   s c a l e ( 0 . 5 ) ; 
                         f i l t e r :   b l u r ( 1 0 p x ) ; 
                 } 
                 t o   { 
                         o p a c i t y :   1 ; 
                         t r a n s f o r m :   s c a l e ( 1 ) ; 
                         f i l t e r :   b l u r ( 0 ) ; 
                 } 
         } 
         
         @ k e y f r a m e s   r e s u l t P u l s e   { 
                 0 % ,   1 0 0 %   {   
                         t e x t - s h a d o w :   0   0   2 0 p x   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ; 
                         t r a n s f o r m :   s c a l e ( 1 ) ; 
                 } 
                 5 0 %   {   
                         t e x t - s h a d o w :   0   0   3 0 p x   r g b a ( 0 ,   1 2 2 ,   2 5 5 ,   0 . 3 ) ; 
                         t r a n s f o r m :   s c a l e ( 1 . 0 2 ) ; 
                 } 
         } 
         
         / *   I n t e r a c t i v e   f e e d b a c k   -   c o n s o l i d a t e d   * / 
         . s a l a r y - d i s p l a y : f o c u s , 
         . r e g i m e - b t n : a c t i v e , 
         . b a s i c - b t n : a c t i v e , 
         . t h e m e - t o g g l e : a c t i v e   { 
                 a n i m a t i o n :   q u i c k P u l s e   0 . 3 s   e a s e - o u t ; 
         } 
         
         . s a l a r y - s l i d e r : a c t i v e , 
         . b a s i c - s l i d e r : a c t i v e   { 
                 a n i m a t i o n :   s l i d e r P u l s e   0 . 2 s   e a s e - o u t ; 
         } 
         
         . c h a r t - b a r : a c t i v e   { 
                 a n i m a t i o n :   c h a r t P r e s s   0 . 2 s   e a s e - o u t ; 
         } 
         
         @ k e y f r a m e s   q u i c k P u l s e   { 
                 0 %   {   t r a n s f o r m :   s c a l e ( 1 ) ;   } 
                 5 0 %   {   t r a n s f o r m :   s c a l e ( 1 . 0 2 ) ;   } 
                 1 0 0 %   {   t r a n s f o r m :   s c a l e ( 1 ) ;   } 
         } 
         
         @ k e y f r a m e s   s l i d e r P u l s e   { 
                 0 %   {   t r a n s f o r m :   s c a l e Y ( 1 ) ;   } 
                 5 0 %   {   t r a n s f o r m :   s c a l e Y ( 1 . 2 ) ;   } 
                 1 0 0 %   {   t r a n s f o r m :   s c a l e Y ( 1 ) ;   } 
         } 
         
         @ k e y f r a m e s   c h a r t P r e s s   { 
                 0 %   {   t r a n s f o r m :   s c a l e ( 1 ) ;   } 
                 5 0 %   {   t r a n s f o r m :   s c a l e ( 1 . 1 )   t r a n s l a t e Y ( - 2 p x ) ;   } 
                 1 0 0 %   {   t r a n s f o r m :   s c a l e ( 1 . 0 5 ) ;   } 
         } 
         
         / *   O p t i m i z e d   f l o a t i n g   p a r t i c l e s   * / 
         . p a r t i c l e   { 
                 a n i m a t i o n :   f l o a t   8 s   e a s e - i n - o u t   i n f i n i t e ; 
                 w i l l - c h a n g e :   t r a n s f o r m ,   o p a c i t y ; 
         } 
         
         @ k e y f r a m e s   f l o a t   { 
                 0 % ,   1 0 0 %   {   
                         t r a n s f o r m :   t r a n s l a t e Y ( 0 p x )   t r a n s l a t e X ( 0 p x )   r o t a t e ( 0 d e g ) ;   
                         o p a c i t y :   0 ;   
                 } 
                 2 5 %   {   
                         t r a n s f o r m :   t r a n s l a t e Y ( - 3 0 p x )   t r a n s l a t e X ( 1 5 p x )   r o t a t e ( 9 0 d e g ) ;   
                         o p a c i t y :   0 . 4 ;   
                 } 
                 5 0 %   {   
                         t r a n s f o r m :   t r a n s l a t e Y ( - 6 0 p x )   t r a n s l a t e X ( 3 0 p x )   r o t a t e ( 1 8 0 d e g ) ;   
                         o p a c i t y :   0 . 8 ;   
                 } 
                 7 5 %   {   
                         t r a n s f o r m :   t r a n s l a t e Y ( - 4 0 p x )   t r a n s l a t e X ( 4 5 p x )   r o t a t e ( 2 7 0 d e g ) ;   
                         o p a c i t y :   0 . 6 ;   
                 } 
         } 
         
         / *   R e g i m e   t o g g l e   a n i m a t i o n   * / 
         . r e g i m e - t o g g l e   . r e g i m e - b t n . a c t i v e   { 
                 a n i m a t i o n :   r e g i m e A c t i v a t e   0 . 3 s   e a s e - o u t ; 
         } 
         
         @ k e y f r a m e s   r e g i m e A c t i v a t e   { 
                 0 %   {   
                         t r a n s f o r m :   s c a l e ( 0 . 9 ) ; 
                         b o x - s h a d o w :   0   0   0   0   r g b a ( 0 ,   1 2 2 ,   2 5 5 ,   0 . 7 ) ; 
                 } 
                 5 0 %   {   
                         t r a n s f o r m :   s c a l e ( 1 . 0 5 ) ; 
                         b o x - s h a d o w :   0   0   0   1 0 p x   r g b a ( 0 ,   1 2 2 ,   2 5 5 ,   0 ) ; 
                 } 
                 1 0 0 %   {   
                         t r a n s f o r m :   s c a l e ( 1 ) ; 
                         b o x - s h a d o w :   0   0   0   0   r g b a ( 0 ,   1 2 2 ,   2 5 5 ,   0 ) ; 
                 } 
         } 
         
         / *   C a l c u l a t i o n   s t a t e s   * / 
         . c a l c u l a t i n g   { 
                 a n i m a t i o n :   c a l c u l a t i n g P u l s e   1 . 5 s   e a s e - i n - o u t   i n f i n i t e ; 
         } 
         
         @ k e y f r a m e s   c a l c u l a t i n g P u l s e   { 
                 0 % ,   1 0 0 %   {   o p a c i t y :   0 . 7 ;   t r a n s f o r m :   s c a l e ( 1 ) ;   } 
                 5 0 %   {   o p a c i t y :   1 ;   t r a n s f o r m :   s c a l e ( 1 . 0 5 ) ;   } 
         } 
         
         . c a l c u l a t i o n - s u c c e s s   { 
                 a n i m a t i o n :   s u c c e s s F e e d b a c k   0 . 6 s   e a s e - o u t ; 
         } 
         
         @ k e y f r a m e s   s u c c e s s F e e d b a c k   { 
                 0 %   {   
                         t r a n s f o r m :   s c a l e ( 0 . 8 ) ; 
                         o p a c i t y :   0 ; 
                 } 
                 5 0 %   {   
                         t r a n s f o r m :   s c a l e ( 1 . 1 ) ; 
                         o p a c i t y :   1 ; 
                 } 
                 1 0 0 %   {   
                         t r a n s f o r m :   s c a l e ( 1 ) ; 
                         o p a c i t y :   1 ; 
                 } 
         } 
         
         / *   S c r o l l - t r i g g e r e d   a n i m a t i o n s   * / 
         . f a d e - i n - u p   { 
                 o p a c i t y :   0 ; 
                 t r a n s f o r m :   t r a n s l a t e Y ( 3 0 p x ) ; 
                 t r a n s i t i o n :   o p a c i t y   0 . 6 s   e a s e - o u t ,   t r a n s f o r m   0 . 6 s   e a s e - o u t ; 
         } 
         
         . f a d e - i n - u p . v i s i b l e   { 
                 o p a c i t y :   1 ; 
                 t r a n s f o r m :   t r a n s l a t e Y ( 0 ) ; 
         } 
         
         / *   T h e m e   t r a n s i t i o n s   * / 
         b o d y . l i g h t - m o d e   { 
                 t r a n s i t i o n :   b a c k g r o u n d - c o l o r   0 . 3 s   e a s e ,   c o l o r   0 . 3 s   e a s e ; 
         } 
         
         b o d y : n o t ( . l i g h t - m o d e )   { 
                 t r a n s i t i o n :   b a c k g r o u n d - c o l o r   0 . 3 s   e a s e ,   c o l o r   0 . 3 s   e a s e ; 
         } 
         
         / *   E r r o r   s t a t e s   * / 
         . i n p u t - e r r o r   { 
                 a n i m a t i o n :   i n p u t E r r o r   0 . 6 s   e a s e - o u t ; 
         } 
         
         @ k e y f r a m e s   i n p u t E r r o r   { 
                 0 % ,   1 0 0 %   {   t r a n s f o r m :   t r a n s l a t e X ( 0 ) ;   } 
                 2 5 %   {   t r a n s f o r m :   t r a n s l a t e X ( - 5 p x ) ;   } 
                 7 5 %   {   t r a n s f o r m :   t r a n s l a t e X ( 5 p x ) ;   } 
         } 
         
         / *   S e c t i o n   e x p a n d / c o l l a p s e   * / 
         . s e c t i o n - e x p a n d   { 
                 a n i m a t i o n :   s e c t i o n E x p a n d   0 . 3 s   e a s e - o u t ; 
         } 
         
         @ k e y f r a m e s   s e c t i o n E x p a n d   { 
                 f r o m   { 
                         m a x - h e i g h t :   0 ; 
                         o p a c i t y :   0 ; 
                 } 
                 t o   { 
                         m a x - h e i g h t :   5 0 0 p x ; 
                         o p a c i t y :   1 ; 
                 } 
         } 
         
         . s e c t i o n - c o l l a p s e   { 
                 a n i m a t i o n :   s e c t i o n C o l l a p s e   0 . 3 s   e a s e - o u t ; 
         } 
         
         @ k e y f r a m e s   s e c t i o n C o l l a p s e   { 
                 f r o m   { 
                         m a x - h e i g h t :   5 0 0 p x ; 
                         o p a c i t y :   1 ; 
                 } 
                 t o   { 
                         m a x - h e i g h t :   0 ; 
                         o p a c i t y :   0 ; 
                 } 
         } 
 } 
 
 / *   A c c e s s i b i l i t y   o p t i m i z a t i o n s   * / 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   a n d   ( p r e f e r s - r e d u c e d - m o t i o n :   r e d u c e )   { 
         . a p p - c o n t a i n e r , 
         . h e a d e r , 
         . r e s u l t - s h o w c a s e , 
         . c o m p a r i s o n - c h a r t , 
         . b r e a k d o w n - g r i d , 
         . d e d u c t i o n - b r e a k d o w n , 
         . s i d e b a r , 
         . i n s i g h t s - p a n e l , 
         . i n s i g h t s - c a r d , 
         . c h a r t - b a r , 
         . b r e a k d o w n - i t e m , 
         . r e s u l t - a m o u n t , 
         . p a r t i c l e , 
         . r e g i m e - t o g g l e   . r e g i m e - b t n . a c t i v e , 
         . c a l c u l a t i n g , 
         . c a l c u l a t i o n - s u c c e s s , 
         . f a d e - i n - u p , 
         . i n p u t - e r r o r , 
         . s e c t i o n - e x p a n d , 
         . s e c t i o n - c o l l a p s e   { 
                 a n i m a t i o n :   n o n e   ! i m p o r t a n t ; 
                 t r a n s i t i o n :   n o n e   ! i m p o r t a n t ; 
         } 
         
         . c h a r t - b a r : h o v e r , 
         . i n s i g h t s - c a r d : h o v e r   { 
                 t r a n s f o r m :   n o n e   ! i m p o r t a n t ; 
         } 
 } 
 
 / *   H i g h   c o n t r a s t   m o d e   s u p p o r t   * / 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   a n d   ( p r e f e r s - c o n t r a s t :   h i g h )   { 
         . r e s u l t - a m o u n t   { 
                 a n i m a t i o n :   h i g h C o n t r a s t P u l s e   3 s   e a s e - i n - o u t   i n f i n i t e ; 
         } 
         
         @ k e y f r a m e s   h i g h C o n t r a s t P u l s e   { 
                 0 % ,   1 0 0 %   {   
                         t e x t - s h a d o w :   0   0   3 0 p x   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 8 ) ; 
                         t r a n s f o r m :   s c a l e ( 1 ) ; 
                 } 
                 5 0 %   {   
                         t e x t - s h a d o w :   0   0   4 0 p x   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   1 ) ; 
                         t r a n s f o r m :   s c a l e ( 1 . 0 2 ) ; 
                 } 
         } 
 } 
 
 / *   P o w e r   s a v e   m o d e   * / 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
         . p o w e r - s a v e   . p a r t i c l e , 
         . p o w e r - s a v e   . r e s u l t - a m o u n t , 
         . p o w e r - s a v e   . c h a r t - b a r , 
         . p o w e r - s a v e   . i n s i g h t s - c a r d   { 
                 a n i m a t i o n :   n o n e   ! i m p o r t a n t ; 
         } 
 } 
 
 / *   T o u c h   d e v i c e   o p t i m i z a t i o n s   * / 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   a n d   ( p o i n t e r :   c o a r s e )   { 
         . s a l a r y - s l i d e r : a c t i v e : : - w e b k i t - s l i d e r - t h u m b , 
         . b a s i c - s l i d e r : a c t i v e : : - w e b k i t - s l i d e r - t h u m b   { 
                 a n i m a t i o n :   t h u m b P r e s s   0 . 2 s   e a s e - o u t ; 
         } 
         
         @ k e y f r a m e s   t h u m b P r e s s   { 
                 0 %   {   t r a n s f o r m :   s c a l e ( 1 ) ;   } 
                 5 0 %   {   t r a n s f o r m :   s c a l e ( 1 . 3 ) ;   } 
                 1 0 0 %   {   t r a n s f o r m :   s c a l e ( 1 . 1 ) ;   } 
         } 
         
         . r e g i m e - b t n : a c t i v e , 
         . b a s i c - b t n : a c t i v e , 
         . t h e m e - t o g g l e : a c t i v e   { 
                 a n i m a t i o n :   t o u c h B u t t o n P r e s s   0 . 2 s   e a s e - o u t ; 
         } 
         
         @ k e y f r a m e s   t o u c h B u t t o n P r e s s   { 
                 0 %   {   t r a n s f o r m :   s c a l e ( 1 ) ;   } 
                 5 0 %   {   t r a n s f o r m :   s c a l e ( 0 . 9 ) ;   } 
                 1 0 0 %   {   t r a n s f o r m :   s c a l e ( 1 ) ;   } 
         } 
 } 
 
 / *   P e r f o r m a n c e   o p t i m i z a t i o n s   f o r   o l d e r   d e v i c e s   * / 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   a n d   ( m a x - d e v i c e - w i d t h :   4 8 0 p x )   { 
         . p a r t i c l e   { 
                 d i s p l a y :   n o n e ;   / *   H i d e   p a r t i c l e s   o n   v e r y   s m a l l   s c r e e n s   f o r   p e r f o r m a n c e   * / 
         } 
         
         . r e s u l t - a m o u n t   { 
                 a n i m a t i o n :   r e s u l t E n t r a n c e   1 s   e a s e - o u t ;   / *   R e m o v e   i n f i n i t e   p u l s e   o n   o l d e r   d e v i c e s   * / 
         } 
         
         . c h a r t - b a r , 
         . i n s i g h t s - c a r d   { 
                 a n i m a t i o n - d u r a t i o n :   0 . 4 s ;   / *   F a s t e r   a n i m a t i o n s   * / 
         } 
 } 