/*features-table features-table features-table*/ 
*, *::before, *::after { margin: 0; padding: 0; outline: 0; box-sizing: border-box; }

body, html { height: 100%; }


/* Responsive media guard */
img, video, iframe { max-width: 100%; height: auto; }
body {
    font-size: 11px;
    line-height: 19px;
    font-family: arial, sans-serif;
    color: #696969;
  	background: #fff;
    min-width: 942px;
}

a { color: #b0c5ff; text-decoration: none; cursor: pointer; }
a:hover { text-decoration: underline; }
a img { border: 0; }

article, aside, details, footer, header, menu, nav, section { display: block; }
input, textarea, select { font-size: 12px; font-family: arial, sans-serif; }
textarea { overflow: auto; }

.cl { display: block; height: 0; font-size: 0; line-height: 0; text-indent: -4000px; clear: both; }
.notext { font-size: 0; line-height: 0; text-indent: -4000px; }
.left, .alignleft { float: left; display: inline; }
.right, .alignright { float: right; display: inline; }

.shell { width: 942px; margin: 0 auto; }
header { height: 129px; background-color:#ECF0F1;}
header .shell { position: relative; }
#logo {
	position: absolute;
	top: 5px;
	left: 0;
	width: 300px;
	font-size: 0;
	line-height: 0;
	height: 101px;
}
#logo a { height: 140px; background: url(../img/logo-tta.svg) no-repeat 0 0; background-size: contain; display: block; text-indent: -4000px; }
#navigation { text-align: right; font-size: 16px; padding-top: 0px; }
#navigation ul { list-style: none; list-style-position: outside; }
#navigation ul li { display: inline; background: url(images/nav-border.png) no-repeat right 1px; padding: 0 16px 0 6px; }
#navigation ul li.last { background: transparent; padding-right: 0; }
#navigation li a { color: #6a579e; }
#navigation li a:hover ,
#navigation li.active a { color: #db844f; text-decoration: none; }
/*вывод пользователя*/
#id_pipe { text-align: right; font-size: 16px; padding: 0 0 10px 0; }
#id_pipe h1 { font-size:16px; color:#6a579e; margin:0; padding: 10px 0 0 0 ; }
#id_pipe p { font-size:10px; color: #FF090D; margin:0; padding: 0; }
/*верхняя строка статуса если не выбран пользователь*/
#no_id_pipe { text-align: right; font-size: 18px; padding: 25px 0 10px 0; }
#no_id_pipe h1 { font-size:70px; color:#6a579e; margin:0; padding: 10px 0 0 0 ; text-align:center; }
#no_id_pipe p { font-size:30px; color: #FF090D; margin:0; padding: 30px 0 0 0 ; text-align:center; }



/*кнопрка сохранить*/
 #submit_s {	
							padding: 3px 10px;
							background-color: #C6E6CB;
							cursor: pointer;
							font-size:16px;
							color: #000000;
							text-decoration:none;
							border: 1px solid #FA0004; 
							position: relative; 
							border-radius: 7px;
								 -moz-border-radius: 7px; 
								 -webkit-border-radius: 7px; 
								 -o-border-radius: 7px;
 }
#submit_s:hover {	
								text-decoration: none; 
 								color: #FDFDFD; 
								background-color: #FF0004 ; 
}
/*#submit_s:active {
								text-decoration: none; 
 								color: #FDFDFD; 
								background-color: #FF0004 ; 
}*/





/*кнопрка сохранить*/
 #submitStatus {
  background: -moz-linear-gradient(center top , #5A7994, #394D63) repeat scroll 0 0 transparent;
    border: 1px solid #394D63;
    border-radius: 0.1em 0.1em 0.5em 0.5em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    color: #000000;
    cursor: pointer;
    display: inline-block;
    font: 12px/100% Arial,Helvetica,sans-serif;
    margin: 0 2px;
    outline: medium none;
    padding: 0.2em 1em 0.2em;
    text-align: center;
    text-decoration: none;
    /*text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);*/
    vertical-align: baseline;
 }
#submitStatus:hover {
    background: -moz-linear-gradient(center top , #04F254 , #000) repeat scroll 0 0 transparent;
	color: #FFF;
	background-color: #E6324B;
	
    text-decoration: none;
}
#submitStatus:active {
    background: -moz-linear-gradient(center top , #394D63, #5A7994) repeat scroll 0 0 transparent;
    color: #000;
    position: relative;
    top: 1px;
}





/*Конец кнопки*/

/*Кнопка из простой ссылки*/
 a.buy-btn_f {  
					
					padding: 3px 5px; 
					vertical-align: middle;
					height: 10px; 
					border: 1px solid #E6324B; 
					line-height: 0px; 
					position: relative; 
					font-size: 12px; 
					color: #77777b; 
					border-radius: 4px;
					 -moz-border-radius: 4px; 
					 -webkit-border-radius: 4px; 
					 -o-border-radius: 4px;
					}

 a.buy-btn_f:hover { 
 								text-decoration: none; 
 								color: #FDFDFD; 
								background-color: #FF0004 ; 
								}
								
/*Кнопка 2*/
 a.buy-btn_f2 {  
					
					padding: 3px 5px; 
					vertical-align: middle;
					height: 10px; 
					border: 1px solid #feed01; 
					line-height: 0px; 
					position: relative; 
					font-size: 12px; 
					color: #FBFBFB; 
					border-radius: 4px;
					 -moz-border-radius: 4px; 
					 -webkit-border-radius: 4px; 
					 -o-border-radius: 4px;
					}

 a.buy-btn_f2:hover { 
 								text-decoration: none; 
 								color: #feed01; 
								background-color: #000000 ; 
								}


/*закрыть. кнопка из простой ссылки*/

/*Востановление пароля НАДПИСЬ*/
#pass_dua{ 
		margin: 5px;	
	}
#pass_dua a{ 
		font-size:14px;
		color:#FF0004;
		text-decoration:none;
	}
	#pass_dua a:hover{ 
		padding: 2px 4px;
		background-color: #57FC64;
		height: 5px;
		font-size:14px;
		color: #000000;
		text-decoration:none;
		border: 1px solid #FA0004; 
		position: relative; 
		border-radius: 5px;
					 -moz-border-radius: 6px; 
					 -webkit-border-radius: 6px; 
					 -o-border-radius: 6px;
	}


/*ЗАКРЫТЬ Востановление пароля НАДПИСЬ*/

.icon-plus{
	color: #000000;
	text-decoration: none;
	font-size:20px;
	}
		.icon-plus:hover{
			color: rgba(0,181,59,1.00);
			text-decoration: none;
			}	
			
			
			
.icon-action-undo{
	color: #000000;
	text-decoration: none;
	font-size:20px;
	}
		.icon-action-undo:hover{
			color: RED;
			text-decoration: none;
			}	




#post_left{
	 width:50%; 
	 float: left;
	 margin: 10px; 
	 padding: 10px ;  
	 overflow: hidden;
	 background: #aeeab0;
	 
	}

#post_0{
	
	width:98%; 
	float: left;
	text-align:left;
	position: relative; 
	margin: 0 0 10px 0;
	padding: 5px;
	}
#post_0:hover {
	background-color:#F4F2B4;
	}	
#post_1{
	width:10%; 
	float: left;
	text-align:left;
	position: relative;
	
	}
	#post_1 span{ margin: 2px 5px; }
#post_2{
	width:80%; 
	float: left;
	text-align:left;
	position: relative; 
	}
/*Размер и подсветка иконки*/
.icon-envelope-letter	{
	font-size:18px;
	}
#post_right{
		width:40%; 
		float: right; 
		margin: 10px; 
		padding: 10px ; 
		overflow: hidden;
		background: #fff;
		
}
	


/*Блоки*/
.block_s{
width:94%; 
float: left;
margin: 0px 10px 10px 10px;  
overflow: hidden;
background: #ccf ; 
padding: 10px 10px 10px 10px ; 
color: #000;  
font-size:16px; 
-moz-box-shadow: 5px 5px 7px rgba(33, 33, 33, 1); 
-webkit-box-shadow: 5px 5px 7px rgba(33, 33, 33, 7); 
-box-shadow: 5px 5px 7px rgba(33, 33, 33, 7);
-o-transform: rotate(0deg); 
}
/*Конец юлоков*/
/*Блоки*/
.block_red{
width:94%; 
float: left;
margin: 0px 10px 10px 10px;  
overflow: hidden;
background: #F76669 ; 
padding: 10px 10px 10px 10px ; 
color: #000;  
font-size:16px; 
-moz-box-shadow: 5px 5px 7px rgba(33, 33, 33, 1); 
-webkit-box-shadow: 5px 5px 7px rgba(33, 33, 33, 7); 
-box-shadow: 5px 5px 7px rgba(33, 33, 33, 7);
-o-transform: rotate(0deg); 
}

.block_reg{
		width:94%; float: 
		left;margin: 0px 0px 10px 10px;  
		overflow: hidden;
		background: #66ff66 ;
		 padding: 5px 10px 5px 10px ;
		  color: #000; 
		  -moz-box-shadow: 5px 5px 7px rgba(33, 33, 33, 1); 
		  -webkit-box-shadow: 5px 5px 7px rgba(33, 33, 33, 7); 
		  -box-shadow: 5px 5px 7px rgba(33, 33, 33, 7);
		  -o-transform: rotate(0deg);
}
.block_reg h1{ 
			margin: 0px 10px 0px 10px;
			font-size:18px;
	}
.block_reg:hover{
	background: #F59596;
	 color: #FFFFFF;
	}
/*Конец юлоков*/


.top-section { background: #f6f3f3 url(images/top-section.png) repeat-x center 0; }

.slider-holder { margin-bottom: 0px; position: relative; }
.slider-holder span.slider-shadow { background: url(images/slider-shadow.png) no-repeat 0 0; width: 976px; height: 25px; position: absolute; bottom: -25px; right: -20px; }
.slider-holder span.overlay { height:  291px; width:  930px; position: absolute; top: 4px; left: 5px; box-shadow: 0px 0px 3px rgba(0,0,0,0.2) inset; -moz-box-shadow: 0px 0px 3px rgba(0,0,0,0.2) inset; -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.2) inset; -o-box-shadow: 0px 0px 3px rgba(0,0,0,0.2) inset; border-radius: 7px; -moz-border-radius: 7px; -webkit-border-radius: 7px; -o-border-radius: 7px;  }

.flexslider { width: 940px; position: relative; z-index: 2; height: 299px; border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px; -o-border-radius: 8px; border: 1px solid #dedede !important; }
.flexslider ul { list-style: none; list-style-position: outside; position: relative; }
.flexslider ul li { float: left; width: 940px; height: 299px; position: relative; }
.flexslider ul li img { width: 940px; height: 299px; }
.flexslider ul li .slide-cnt { width: 776px; position: absolute; top: 46px; left: 63px; }
.flexslider ul li .slide-cnt h2 { font-size: 44px; line-height: 55px; text-align: center; font-weight: normal; padding-bottom: 85px; }
.flexslider ul li .slide-cnt .btns { width: 360px; height: 30px; margin: 0 auto; background: url(images/slider-btns.png) no-repeat 0 0;}
.flexslider ul li .slide-cnt .btns a.left-btn { background: url(images/left-btn.png) no-repeat 0 0; padding: 0 0 0 12px; float: left; font-size: 15px; font-weight: bold; color: #fff; text-shadow: rgba(0,0,0,0.6) 0px 1px 2px; }
.flexslider ul li .slide-cnt .btns a.left-btn span { background: url(images/left-btn.png) no-repeat right 0; padding: 0 28px 0 0; float: left; position: relative; left: 20px; line-height: 30px; height: 30px; }
.flexslider ul li .slide-cnt .btns a.right-btn { float: right; font-size: 15px; color: #696969; font-weight: bold; line-height: 30px; margin-right: 28px; }
.flexslider ul li .slide-cnt .btns a.right-btn:hover { color: #333; }
.flexslider ul li .slide-cnt .btns a:hover { text-decoration: none; color: #ebe5f2; } 

.boxes { padding-bottom: 29px; }
.boxes .box { width: 268px; float: left; background: #fff url(images/box-bg.png) repeat-x 0 bottom; position: relative; border: 1px solid #e6e6e6; padding: 10px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -o-border-radius: 5px; margin: 0 0 0 120px ;}
.boxes .box h4 { font-size: 16px; color: #696969; text-align: center; text-transform: uppercase; }
.boxes .box h4 a { color: #696969; text-shadow: rgba(251,251,251,1) 1px 1px 0px; }
.boxes .box h4 a:hover { color: #333; text-decoration: none; }
.boxes .box .img-holder { position: relative; width: 268px; margin:  0 auto 5px auto; border: 1px solid #bababa; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; -o-border-radius: 6px; }
.boxes .box .img-holder:before { position: absolute; font-size: 0; line-height: 0; text-indent: -4000px; top: 0; left:  0; right:  0; bottom: 0;  box-shadow: 0px 0px 0px rgba(0,0,0,0.5) inset; -moz-box-shadow: 0px 0px 3px rgba(0,0,0,0.5) inset; -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.5) inset; -o-box-shadow: 0px 0px 3px rgba(0,0,0,0.5) inset;  border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; -o-border-radius: 3px; }
.boxes .box img { display: block; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; -o-border-radius: 3px; }
.boxes .box span.box-shadow { background: url(images/box-shadow.png) no-repeat 0 0; width: 298px; height: 9px; position: absolute; bottom: -9px; left: 0; }

.main {  padding-top: 60px; padding-bottom: 47px; }
.main section { padding-bottom: 50px; }
.main h2 { font-size: 20px; line-height: 20px; font-weight: normal; }
.main h3 { font-weight: normal; font-size: 18px; color: #696969; padding-bottom: 19px; }
.main h3 a { color: #696969; }


.main .cols .col_center { width: 240px; float: left; font-size: 14px; padding: 0 0px 0 80px; }
.main .cols .col_center ul { list-style: none; list-style-position: outside; }
.main .cols .col_center ul li { background: url(images/list-arr.png) no-repeat 0 6px; padding-left: 14px; color: #696969; font-size: 12px; padding-bottom: 4px; }
.main .cols .col_center ul li a { color: #696969; }

.main .cols .col { width: 300px; float: left; }
.main .cols .col + .col { padding-left: 20px; }
.main .cols .last-col { padding-right: 0; }
.main .cols .col ul { list-style: none; list-style-position: outside; }
.main .cols .col ul li { background: url(images/list-arr.png) no-repeat 0 6px; padding-left: 14px; color: #696969; font-size: 12px; padding-bottom: 4px; }
.main .cols .col ul li a { color: #696969; }

.section-bottom  { padding-top: 56px;  background: url(images/section-bottom.png) repeat-x center 0; }
.section-bottom .cols .col { width: 274px; float: left; }
.section-bottom .cols .col + .col { padding-left: 55px; }
.section-bottom .cols .col h2 { font-size: 20px; line-height: 20px; font-weight: normal; }
.section-bottom .cols .col h2 span.plus { color: #bebebe; }
.section-bottom .cols .col h3 { color: #696969; font-size: 18px; font-weight: normal; position: relative; padding-bottom: 25px; height: 100%; }
.section-bottom .cols .col h3 a { color: #696969; padding-left: 67px; }
.section-bottom .cols .col h3 span { width: 48px; height: 46px; position: absolute; top: -17px; left: 2px; display: block;  background: url(images/title-ico.png) no-repeat 0 0; }
.section-bottom .cols .col h3 span.about-ico { background-position: 0 0; }
.section-bottom .cols .col h3 span.news-ico { background-position: -48px 0; }
.section-bottom .cols .col h3 span.subscribe-ico { background-position: -97px 0; }
.section-bottom .cols .col p { color: #696969; padding-bottom: 18px; }
.section-bottom .cols .col a:hover { color: #696969; }
.section-bottom .cols .col a.more-btn { padding: 5px 24px 5px 24px; font-size: 12px; color: #fff; font-weight: bold;  background: url(images/more-btn.png) repeat-x 0 0; border-radius: 12px; -moz-border-radius: 12px; -webkit-border-radius: 12px; -o-border-radius: 12px; }
.section-bottom .cols .col a.more-btn:hover { text-decoration: none; background-position: 0 bottom; }
.section-bottom .cols .col ul { list-style: none; list-style-position: outside; }
.section-bottom .cols .col ul li { background: transparent; background-color: #f3eaea; margin-bottom: 2px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -o-border-radius: 5px; padding: 7px 9px 8px; }
.section-bottom .cols .col ul li.bg { background-color: #f8f4f4;  }
.section-bottom .cols .col ul li small { font-size: 11px; display: block; line-height: 16px; }
.section-bottom .cols .col ul li h5 { font-size: 14px; font-weight: bold; }

.section-bottom .cols .subscribe-col { padding-left: 44px  !important; }
.section-bottom .cols .subscribe-col .col-cnt { width: 234px; padding-left: 15px; }
.section-bottom .cols .subscribe-col p { padding-bottom: 14px; }

.section-bottom .cols .col form { position: relative; width: 235px; padding-bottom: 23px; height: 100%; }
.section-bottom .cols .col input.field { width: 143px; height: 15px; padding: 4px 24px 4px 15px; border: 0; background-color: #f4eef5;  border-radius: 11px; -moz-border-radius: 11px; -webkit-border-radius: 11px; -o-border-radius: 11px;
box-shadow: 3px 2px 2px #eae5eb inset; -moz-box-shadow: 3px 2px 2px #eae5eb inset; -webkit-box-shadow: 3px 2px 2px #eae5eb inset; -o-box-shadow: 3px 2px 2px #eae5eb inset; font-size: 12px; color: #b1aeb2; }
.section-bottom .cols .col input.submit-btn { width: 70px; height: 23px; background: url(images/submit-btn.png) repeat-x 0 0; text-align: center; line-height: px; cursor: pointer; border: 0;
border-radius: 12px; -moz-border-radius: 12px; -webkit-border-radius: 12px; -o-border-radius: 12px; color: #fff; font-size: 11px; font-weight: bold; position: absolute; top: 0; right: 0; }
.section-bottom .cols .col input.submit-btn:hover { background-position: 0 bottom;  }

#wrapper { min-height: 100%; height: auto !important; height: 100%; margin: 0 auto -80px; }
#footer, #footer-push { height: 80px; }
#footer { background-color: #29BB9C;  }
#footer p.copy { color: #6A579E; }
#footer p.copy a { color: #afafaf; text-decoration: underline; }
#footer p.copy a:hover { text-decoration: none; }

.footer-nav ul { list-style: none; list-style-position: outside; }
.footer-nav ul li { display: inline; background: url(images/nav-border.png) no-repeat right 0; padding: 0 10px; }
.footer-nav ul li.last { background: transparent; padding-right: 0; }
.footer-nav li a { color: #6A579E; }
.footer-nav li a:hover ,
.footer-nav li.active a { color: #696969; text-decoration: none; }


/*список котегорий */	
.couples
 {
	 width:210px; 
	 float: left; 
	 margin: 5px 0px 0px 0px;  
	 overflow: hidden;
	 background: #FFF ; 
	 padding: 10px 10px 10px 10px ;
	 border: 2px solid #CCF; 
	 color: #000; 
	 font-size:16px; 
	/* -moz-box-shadow: 5px 5px 7px rgba(33, 33, 33, 1); 
	 -webkit-box-shadow: 5px 5px 7px rgba(33, 33, 33, 7); 
	 -box-shadow: 5px 5px 7px rgba(33, 33, 33, 7);
	 -o-transform: rotate(0deg);  */
}

.couples:hover {
  /*box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);*/
   color: #000;
  background: #CCF ;
 
}
.couples a {text-decoration: none; color: #000; }

/* Таблица регистрации пар*/	
	
.features-table
{
width: 100%;
margin: 0 auto;
border-collapse: separate;
border-spacing: 0;
/*text-shadow: 0 1px 0 #fff;*/
color: #2a2a2a;
background: #fafafa;
background-image: -moz-linear-gradient(top, #fff, #eaeaea, #fff); /* Firefox 3.6 */
background-image: -webkit-gradient(linear,center bottom,center top,from(#fff),color-stop(0.5, #eaeaea),to(#fff));
}
 
.features-table td
{
height: 30px;
line-height: 20px;
padding: 0 10px;
border-bottom: 1px solid #cdcdcd;
box-shadow: 0 1px 0 white;
-moz-box-shadow: 0 1px 0 white;
-webkit-box-shadow: 0 1px 0 white;
white-space: nowrap;

}
 
/*Body Таблица регистрации пар*/
.features-table tbody td
{

font: normal 12px Verdana, Arial, Helvetica;

}
 
.features-table tbody td:first-child
{
width: auto;
text-align: left;
}
 
.features-table td:nth-child(2),.features-table td:nth-child(3), .features-table td:nth-child(4), .features-table td:nth-child(5)
{
background: #efefef;
background: rgba(144,144,144,0.15);
border-right: 1px solid white;
}

.features-table td:nth-child(6), .features-table td:nth-child(7), .features-table td:nth-child(8)
{
background: #f5f5dc;
width: auto;
text-align: left;
}

.features-table td:nth-child(9)
{
background: #e7f3d4;
background: rgba(184,243,85,0.3);
}
/*Header Таблица регистрации пар*/
.features-table thead td
{
font: bold 1.3em 'trebuchet MS', 'Lucida Sans', Arial;
-moz-border-radius-topright: 10px;
-moz-border-radius-topleft: 10px;
border-top-right-radius: 10px;
border-top-left-radius: 10px;
border-top: 1px solid #eaeaea;
}
 
.features-table thead td:first-child
{
border-top: none;  
}






/* Таблица регистрации пар*/	
	
.features-table-print
{
width: 100%;
margin: 0 auto;
border-collapse: separate;
border-spacing: 0;
/*text-shadow: 0 1px 0 #fff;*/
color: #2a2a2a;
background: #fafafa;
background-image: -moz-linear-gradient(top, #fff, #eaeaea, #fff); /* Firefox 3.6 */
/*background-image: -webkit-gradient(linear,center bottom,center top,from(#fff),color-stop(0.5, #eaeaea),to(#fff));*/
}
 
.features-table-print td
{
    height: 30px;
    line-height: 20px;
    padding: 0 10px;
    border-bottom: 1px solid #cdcdcd;
    /*box-shadow: 0 1px 0 white;*/
    /*-moz-box-shadow: 0 1px 0 white;*/
    /* -webkit-box-shadow: 0 1px 0 white;*/
    white-space: nowrap;

}
 
/*Body Таблица регистрации пар*/
.features-table-print tbody td
{

font: normal 12px Verdana, Arial, Helvetica;

}
 
.features-table-print tbody td:first-child
{
width: auto;
text-align: left;
}
 
.features-table-print td:nth-child(2),.features-table td:nth-child(3), .features-table td:nth-child(4), .features-table td:nth-child(5)
{
/*background: #efefef;*/
/*background: rgba(144,144,144,0.15);*/
border-right: 1px solid white;
}

.features-table-print td:nth-child(6), .features-table td:nth-child(7), .features-table td:nth-child(8)
{
/*background: #f5f5dc;*/
width: auto;
text-align: left;
}

.features-table-print td:nth-child(9)
{
/*background: #e7f3d4;
background: rgba(184,243,85,0.3);*/
}
/*Header Таблица регистрации пар*/
.features-table-print thead td
{
font: bold 1.3em 'trebuchet MS', 'Lucida Sans', Arial;
-moz-border-radius-topright: 10px;
-moz-border-radius-topleft: 10px;
border-top-right-radius: 10px;
border-top-left-radius: 10px;
border-top: 1px solid #eaeaea;
}
 
.features-table-print thead td:first-child
{
border-top: none;
}
 









	/*Body Таблица WDC регистрации пар*/
.features-table-wdc
{
width: 100%;
margin: 0 auto;
border-collapse: separate;
border-spacing: 0;
/*text-shadow: 0 1px 0 #fff;*/
color: #2a2a2a;
background: #fafafa;
background-image: -moz-linear-gradient(top, #fff, #eaeaea, #fff); /* Firefox 3.6 */
background-image: -webkit-gradient(linear,center bottom,center top,from(#fff),color-stop(0.5, #eaeaea),to(#fff));
}
 
.features-table-wdc td
{
height: 50px;
line-height: 50px;
padding: 0 20px;
border-bottom: 1px solid #cdcdcd;
box-shadow: 0 1px 0 white;
-moz-box-shadow: 0 1px 0 white;
-webkit-box-shadow: 0 1px 0 white;
white-space: nowrap;

}
	
.features-table-wdc tbody td
{

font: normal 12px Verdana, Arial, Helvetica;

}
 
.features-table-wdc tbody td:first-child
{

width: auto;
text-align: left;
}
 
.features-table-wdc td:nth-child(2)
{
background: #efefef;
background: rgba(144,144,144,0.15);
border-right: 1px solid white;
}

.features-table-wdc td:nth-child(3)
{
background: #e7f3d4;
background: rgba(184,243,85,0.3);
border-right: 1px solid white;
}
/*Header Таблица регистрации пар*/
.features-table-wdc thead td
{
font: bold 1.3em 'trebuchet MS', 'Lucida Sans', Arial;
-moz-border-radius-topright: 10px;
-moz-border-radius-topleft: 10px;
border-top-right-radius: 10px;
border-top-left-radius: 10px;
border-top: 1px solid #eaeaea;
}
 
.features-table-wdc thead td:first-child
{
border-top: none;
}
/*таблица регистрации пар*/


/*стиль таблицы*/
input, textarea, select {
    
    
    background:#efefef;
    border:1px solid #dedede;
	padding:5px;
    font-size: 12px;
	border-radius:5px;
    color:#3a3a3a;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    
}
form10, input {
	text-align:center;
	}

.error {
    color: #F00;
    font-weight: 400px;
}
/*Инструкция*/
.help_block_title{
	width:100%; 
	float: left;
	margin: 10px; 
	padding: 10px; 
	background: #61F66A ;
	}
	
.help_block{
	width:100%; 
	float: left;
	margin: 10px; 
	padding: 10px; 
	background: #fdeb34 ;
	}
.help_block img{
	align-content:center;
	width: 900px;
	border: #000 solid 2px;
	margin: 10px 0;
	}	
.help_block h1{
	color:#000000;
	font-size:16px;
	}
.help_block p{
	text-align:left;
	color:#000000;
	font-size:14px;
	}
	
	.help_block li{
		margin: 0 0 0 20px;
	text-align:left;
	color:#000000;
	font-size:14px;
	}
	
	
/*#button_yy 
{
font:  14px Verdana, Arial, sans-serif;
text-decoration: none;
color: #000000;
padding:0px 30px 0px 0px;
border-color:#ccccff;
border-style:solid;
border-width:2px;
background:white;
}*/
	
	
	/*Форма Регистрации*/

input, textarea {
	text-align:center;
    background:#efefef;
    border:1px solid #dedede;
	padding:5px;
    font-size: 12px;
	border-radius:5px;
    color:#3a3a3a;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;

   }

#ccv label:hover{
	/* background: #ffb300;*/
	}

#ccv  input:checked ~ k {
 		background: #38E156;
	
}
#k1{
	width:100%; 
	float: left;
	margin: 2px 0px 2px 0px;
	background-color: rgba(0, 120, 201, 0.15); 
	}
#k1:hover{
		background-color: #ffb300;
	}
	
#k2{
	width:100%; 
	float: left;
	margin: 2px 0px 2px 0px;
 	background-color: rgba(0, 120, 201, 0.15); 
	color: #000;
	}
#k2:hover{
		background-color: #ffb300;
	}
	
#ccv input:checked + #k2{
		background-color: #ffb300;
	}

#j1{
	width:25px; 
	float: left;
	margin: 0px 0px 0px 0px;
	text-align:center;
	}

	
	#j2{
	width:200px; 
	float: inherit;
	margin: 5px 11px 0px 0px;
	padding: 3px 0;
	text-align:center;
	background-color: rgba(0, 120, 201, 0.15); 
	color: #000;
	vertical-align: middle;
	display: inline-block;
	}
	
#j3{
	width:40px; 
	float: left;
	margin: 0px 0px 0px 0px;
	padding: 0 0;
	text-align:center;
	font-size: 12px;
	}
#j4{
	width:40px; 
	float: left;
	margin: 0px 0px 0px 0px;
	padding: 0 0;
	text-align:center;
	font-size: 12px;
	}


/*кнопка переаода танцора в другой клуб */

#colorAnd
	{
		/*background: #333 url(/images/classy_fabric.png);*/
		
		/*background-color: #D1F3D4; 
		color: #fff;*/
	}

#colorAnd:hover{
		background-color: #ffb300;
		color: #fff;
		
		
	}

#vivodDanser thead tr
	{
		background-color: #D1F3D4; /* Цвет фона при наведении */
		color: #4B4B4D; /* Цвет текста при наведении */
    }

#vivodDanser tbody tr
	{
		background-color: #E9F8EB; /* Цвет фона при наведении */
		color: #4B4B4D; /* Цвет текста при наведении */
    }

#vivodDanser tbody tr:hover 
	{
		background-color: #D1F3D4; /* Цвет фона при наведении */
		color: #000000; /* Цвет текста при наведении */
    }

	/*Фиксация заголовка таблицы*/
#vivodDanser thead {
  		position: sticky;
 		top: 0px;
	}


/*#vivodDanser tbody td, tr:hover 
	{
		
		
		
	}*/



/*#colorAnd a:hover 
	{
		background-color: #0078BF; 
		color: #fff;
	}*/

/* Dancers page: main list readability */
.dancersListToolbar {
    margin: 0 0 0 0;
    overflow: visible;
    background: #ccf;
    padding: 6px 10px;
    color: #000;
    font-size: 14px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
}

.dancersListSearch {
    width: 220px;
    max-width: 100%;
    margin: 0;
    position: relative;
    flex: 0 1 240px;
    order: 1;
}

.dancersListSearch .who {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 34px 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(11, 31, 27, 0.2);
    background: #f8fbfa;
    text-align: left;
    font-size: 14px;
    line-height: 1.2;
}

.dancersSearchClear {
    display: none;
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 1px solid #111;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 17px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.dancersSearchClear.is-visible {
    display: inline-flex;
}

.dancersSearchClear:hover {
    background: #000;
    color: #fff;
}

.dancersListAdd {
    margin: 0;
    padding: 0;
    overflow: visible;
    flex: 0 0 auto;
    order: 2;
}

.dancersAddCardBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(11, 31, 27, 0.2);
    background: #ffffff;
    color: #14332d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
}

.dancersAddCardBtn:hover {
    text-decoration: none;
    background: #eef8f5;
    border-color: rgba(26, 188, 156, 0.46);
}

.dancersAddCardBtn img {
    width: 20px;
    height: 20px;
    display: block;
}

.dancersAddCardBtn span {
    display: inline-block;
    white-space: nowrap;
}

.dancersSearchResult {
    width: 100%;
    overflow: hidden;
    display: none !important;
    order: 3;
}

@media (max-width: 767px) {
    .dancersListToolbar {
        padding: 8px 10px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .dancersListAdd {
        width: 100%;
        order: 1;
        display: flex;
        justify-content: flex-start;
    }

    .dancersListSearch {
        width: 100%;
        flex: 1 1 100%;
        order: 2;
    }
}

.dancersFilterEmpty {
    margin: 8px 0 0;
    padding: 12px 14px;
    border: 1px solid rgba(11, 31, 27, 0.14);
    border-radius: 12px;
    background: #ffffff;
    color: #395650;
    font-size: 13px;
    font-weight: 600;
}

.dancersMasterTableWrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    margin: 8px 0 0;
    border: 1px solid rgba(11, 31, 27, 0.12);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(11, 31, 27, 0.08);
}

.dancersMasterTable {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
}

.dancersMasterTable thead {
    position: sticky !important;
    top: 0;
    z-index: 8;
}

.dancersMasterTable thead td {
    position: sticky;
    top: 0;
    z-index: 9;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(11, 31, 27, 0.16) !important;
    background: linear-gradient(180deg, rgba(231, 244, 240, 0.95) 0%, rgba(217, 240, 233, 0.98) 100%);
    color: #173d36;
    font-weight: 700;
    text-align: center;
}

.dancersMasterTable thead td div {
    font-size: 12px !important;
    line-height: 1.3 !important;
    color: #173d36 !important;
}

.dancersMasterTable tbody td {
    padding: 9px 8px;
    border-bottom: 1px solid rgba(11, 31, 27, 0.1) !important;
    vertical-align: top;
    color: #132d28;
    background: #ffffff;
}

.dancersMasterTable tbody tr:nth-child(even) td {
    background: #f8fcfb;
}

.dancersMasterTable tbody tr:hover td {
    background: #eef8f5;
}

.dancersPersonCardTable {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px solid rgba(11, 31, 27, 0.16);
    border-radius: 10px;
    overflow: hidden;
    background: #f9fdfb;
}

.dancersPersonCardTable thead td {
    background: #dff5e4;
    color: #123a33;
    font-weight: 700;
}

.dancersPersonCardTable tbody td {
    padding: 7px 8px;
    vertical-align: middle;
}

.dancersPersonCardTable thead td:nth-child(2),
.dancersPersonCardTable tbody td:nth-child(2) {
    width: 128px !important;
    text-align: center;
    white-space: nowrap;
}

.dancersPersonCardTable thead td:nth-child(3),
.dancersPersonCardTable tbody td:nth-child(3) {
    width: 48px !important;
    text-align: center;
}

.dancersMasterTable .dancersCol-split {
    width: 4px !important;
    min-width: 4px !important;
    padding: 0 !important;
    background: rgba(11, 31, 27, 0.14) !important;
}

.dancersMasterTable tbody tr:hover .dancersCol-split {
    background: rgba(11, 31, 27, 0.2) !important;
}

.legacyDancers .dancersBirthRowWrap {
    display: block;
}

.legacyDancers .dancersBirthRow {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 8px;
}

.legacyDancers .dancersBirthRow > .dancersBirthField {
    float: none !important;
    margin: 0 0 10px 0 !important;
}

.legacyDancers .dancersBirthRow > .dancersBirthField--day {
    width: 68px !important;
    min-width: 68px;
}

.legacyDancers .dancersBirthRow > .dancersBirthField--month {
    width: auto !important;
    min-width: 0;
    flex: 1 1 auto;
}

.legacyDancers .dancersBirthRow > .dancersBirthField--year {
    width: 84px !important;
    min-width: 84px;
}

.legacyDancers .dancersBirthRow input[type="text"],
.legacyDancers .dancersBirthRow select {
    width: 100% !important;
    box-sizing: border-box;
}

.legacyDancers .dancersAddCoachTable {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse;
}

.legacyDancers .dancersAddCoachTable thead td,
.legacyDancers .dancersAddCoachTable tbody td {
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.legacyDancers .dancersAddCoachTable thead td:first-child,
.legacyDancers .dancersAddCoachTable tbody td:first-child {
    width: auto !important;
}

.legacyDancers .dancersAddCoachTable thead td:nth-child(2),
.legacyDancers .dancersAddCoachTable thead td:nth-child(3),
.legacyDancers .dancersAddCoachTable tbody td:nth-child(2),
.legacyDancers .dancersAddCoachTable tbody td:nth-child(3) {
    width: 44px !important;
    text-align: center !important;
}

.legacyDancers .dancersAddBookTable {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse;
}

.legacyDancers .dancersAddBookTable thead td,
.legacyDancers .dancersAddBookTable tbody td {
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.legacyDancers .dancersAddBookTable td[width="50"] {
    width: 36% !important;
}

.legacyDancers .dancersAddBookTable td[width="200"] {
    width: 64% !important;
}

.legacyDancers .dancersAddBookTable input[type="text"],
.legacyDancers .dancersAddBookTable select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.legacyDancers .dancersAddBookTable div[style*="width:150px"],
.legacyDancers .dancersAddBookTable div[style*="width:100px"] {
    width: 100% !important;
    float: none !important;
    margin: 0 0 6px 0 !important;
}

.dancersBook {
    margin: 0;
    padding: 2px 4px;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
}

.dancersName {
    padding: 2px 4px;
    line-height: 1.25;
}

.dancersName__full {
    font-size: 15px;
    font-weight: 700;
    color: #0f2722;
}

.dancersName__birth {
    margin-top: 3px;
    font-size: 12px;
    color: #54706a;
}

.dancersGender {
    font-size: 13px;
    font-weight: 700;
}

.dancersClass {
    font-size: 12px;
    line-height: 1.35;
    color: #1d3732;
}

.dancersClass b {
    font-size: 13px;
}

.dancersFee {
    display: inline-block;
    border-radius: 10px;
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 600;
    text-transform: none;
}

.dancersFee.is-paid {
    background: #e7f8ed;
    color: #145f3b;
    border: 1px solid rgba(20, 95, 59, 0.2);
}

.dancersFee.is-unpaid {
    background: #fff1f1;
    color: #a12a2a;
    border: 1px solid rgba(161, 42, 42, 0.2);
}

.dancersAge {
    font-size: 14px;
    font-weight: 700;
    color: #132d28;
    line-height: 1.2;
}

.dancersAge small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 500;
    color: #54706a;
}

.dancersAction {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dancersActionLink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(11, 31, 27, 0.16);
    background: rgba(255, 255, 255, 0.9);
    transition: background-color 0.14s ease, border-color 0.14s ease;
}

.dancersActionLink:hover {
    text-decoration: none;
    background: rgba(26, 188, 156, 0.12);
    border-color: rgba(26, 188, 156, 0.32);
}

.dancersActionLink--static {
    cursor: default;
}

.dancersActionLink img {
    width: 16px;
    height: 16px;
    display: block;
}

.dancersTableEmpty {
    margin: 8px 0 0;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(11, 31, 27, 0.14);
    background: #ffffff;
    color: #27453f;
    font-size: 14px;
    font-weight: 600;
}

.cabinetSectionHeader {
    position: relative;
    margin: 0 0 10px;
    padding: 10px;
    overflow: hidden;
    background: #ccf;
    color: #000;
    font-size: 12px;
    border-radius: 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cabinetSectionHeaderBack {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.cabinetSectionHeaderTitle {
    margin: 0;
    padding: 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    color: #102b26;
    text-align: center;
}

.dancerArchiveAction {
    width: 100%;
    float: left;
    margin: 10px 0 0;
}

.dancerArchiveAction__link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(162, 45, 45, 0.28);
    background: linear-gradient(180deg, #fff3f3 0%, #ffe8e8 100%);
    box-shadow: 0 8px 18px rgba(162, 45, 45, 0.12);
    color: #7e2626;
    text-align: left;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.dancerArchiveAction__link:hover {
    text-decoration: none;
    border-color: rgba(162, 45, 45, 0.4);
    background: linear-gradient(180deg, #ffecec 0%, #ffdede 100%);
    transform: translateY(-1px);
}

.dancerArchiveAction__title {
    display: block;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
    color: #8f2525;
}

.dancerArchiveAction__desc {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.35;
    color: #6b3838;
}

@media (max-width: 1024px) {
    .dancersMasterTable {
        min-width: 900px;
    }
}

/* Dancers: tournament extracts block */
.tourneyExtractForm {
    margin: 12px 0 18px;
    clear: both;
}

.tourneyExtractHead {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0 0 12px;
    padding: 14px 16px;
    background: #eef4ff;
    border: 1px solid rgba(11, 31, 27, 0.12);
    border-radius: 14px;
}

.tourneyExtractTitle {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    color: #102b26;
    text-align: left;
}

.tourneyExtractAction {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.printButton.tourneyExtractPrint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 18px;
    background: linear-gradient(180deg, #20c7a7 0%, #169f85 100%);
    border: 1px solid rgba(10, 78, 67, 0.28);
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(22, 159, 133, 0.22);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    text-align: center;
    appearance: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.printButton.tourneyExtractPrint:hover {
    background: linear-gradient(180deg, #23d1b0 0%, #17ab8f 100%);
    box-shadow: 0 10px 20px rgba(22, 159, 133, 0.28);
    transform: translateY(-1px);
}

.printButton.tourneyExtractPrint:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(22, 159, 133, 0.24);
}

.printButton.tourneyExtractPrint:focus-visible {
    outline: 2px solid rgba(11, 31, 27, 0.34);
    outline-offset: 2px;
}

.printButton.tourneyExtractPrint img {
    display: block;
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.printButton.tourneyExtractPrint span {
    display: inline-block;
}

.tourneyExtractHint {
    margin: 0;
    font-size: 12px;
    line-height: 1.25;
    color: #46615b;
    text-align: right;
}

.tourneyExtractEmpty {
    margin: 0;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(11, 31, 27, 0.14);
    background: #ffffff;
    color: #26423d;
    font-size: 14px;
    font-weight: 600;
}

.tourneyExtractSeason {
    margin: 0 0 14px;
    border: 1px solid rgba(11, 31, 27, 0.14);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(11, 31, 27, 0.08);
    overflow: hidden;
}

.tourneyExtractSeasonHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(11, 31, 27, 0.1);
    background: linear-gradient(180deg, rgba(26, 188, 156, 0.16) 0%, rgba(26, 188, 156, 0.08) 100%);
}

.tourneyExtractSeasonLabel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #125247;
}

.tourneyExtractSeasonLabel input {
    width: 16px;
    height: 16px;
}

.tourneyExtractSeasonCount {
    font-size: 12px;
    color: #4f6a64;
}

.tourneyExtractTableWrap {
    width: 100%;
    overflow-x: auto;
}

.tourneyExtractTable {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 0;
}

.tourneyExtractTable thead th {
    padding: 8px 8px;
    background: #f4f8fb;
    border-bottom: 1px solid rgba(11, 31, 27, 0.14);
    color: #36504a;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
}

.tourneyExtractTable tbody td {
    padding: 8px 8px;
    border-bottom: 1px solid rgba(11, 31, 27, 0.08);
    font-size: 12px;
    line-height: 1.35;
    color: #122a25;
    vertical-align: top;
    background: #ffffff;
}

.tourneyExtractTable tbody tr:nth-child(even) td {
    background: #f9fcfb;
}

.tourneyExtractTable tbody tr:hover td {
    background: #eef8f5;
}

.tourneyExtractCheckCell {
    text-align: center;
}

.tourneyExtractCheckCell input {
    width: 15px;
    height: 15px;
}

.tourneyExtractTournament b {
    display: block;
    font-size: 13px;
}

.tourneyExtractTournament small {
    display: block;
    margin-top: 2px;
    color: #5a726d;
    font-size: 11px;
}

.tourneyExtractParticipants span {
    color: #5c746f;
    font-size: 11px;
}

.tourneyExtractCenter {
    text-align: center;
    white-space: nowrap;
}

.tourneyExtractProtocol img {
    width: 22px;
    height: 22px;
    display: inline-block;
}

@media (max-width: 900px) {
    .cabinetSectionHeaderTitle {
        font-size: 18px;
    }

    .dancerArchiveAction__link {
        text-align: center;
    }

    .dancerArchiveAction__desc {
        text-align: center;
    }

    .tourneyExtractHead {
        justify-content: center;
        align-items: center;
    }

    .tourneyExtractTitle {
        font-size: 18px;
        text-align: center;
        width: 100%;
    }

    .tourneyExtractAction {
        width: 100%;
        align-items: center;
    }

    .printButton.tourneyExtractPrint {
        width: 100%;
        max-width: 360px;
    }

    .tourneyExtractHint {
        text-align: center;
    }

    .tourneyExtractSeasonLabel {
        font-size: 14px;
    }
}


/* =============================
   TTA Cabinet Design (Unified)
   ============================= */

:root {
    --tta-accent: #1abc9c;
    --tta-accent-2: #159a80;
    --tta-ink: #0b1f1b;
    --tta-muted: rgba(11, 31, 27, 0.72);
    --tta-border: rgba(11, 31, 27, 0.14);
    --tta-bg: #f3f5f8;
    --tta-table-gray: rgba(144, 144, 144, 0.15);
}

body {
    min-width: 0 !important;
    font-size: 14px;
    line-height: 1.45;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    color: var(--tta-ink);
    background:
        radial-gradient(1200px 620px at 14% 12%, rgba(26, 188, 156, 0.14) 0%, rgba(26, 188, 156, 0) 58%),
        radial-gradient(950px 560px at 86% 10%, rgba(21, 154, 128, 0.1) 0%, rgba(21, 154, 128, 0) 60%),
        linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
}

a {
    color: var(--tta-ink);
}

a:hover {
    color: var(--tta-accent-2);
}

.shell {
    width: min(1160px, calc(100% - 32px));
}

#wrapper {
    overflow: visible;
}

header {
    height: auto;
    min-height: 86px;
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid var(--tta-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 14px 36px rgba(11, 31, 27, 0.1);
    position: sticky;
    top: 0;
    z-index: 1100;
}

header .shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

#logo {
    position: static;
    width: 320px;
    height: auto;
    margin: 0;
}

#logo a {
    height: 84px;
    background: url(../img/logo-tta.svg) no-repeat left center !important;
    background-size: contain !important;
    display: block;
}

#navigation {
    text-align: right;
    font-size: 14px;
    padding-top: 0;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

#navigation ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

#navigation ul li {
    display: block;
    background: none;
    padding: 0;
}

#navigation li a {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--tta-ink);
    text-decoration: none;
    transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}

#navigation li a:hover,
#navigation li.active a {
    color: var(--tta-ink);
    text-decoration: none;
    background: rgba(26, 188, 156, 0.1);
    border-color: var(--tta-border);
    transform: translateY(-1px);
}

#id_pipe {
    text-align: right;
    font-size: 14px;
    padding: 0;
}

#id_pipe h1 {
    font-size: 14px;
    color: var(--tta-ink);
    margin: 0;
    padding: 0;
    font-weight: 700;
}

#id_pipe p {
    font-size: 12px;
    color: var(--tta-muted);
    margin: 4px 0 0 0;
    padding: 0;
}

#no_id_pipe {
    text-align: right;
    font-size: 18px;
    padding: 0;
}

#no_id_pipe h1 {
    font-size: clamp(42px, 8vw, 70px);
    color: var(--tta-ink);
    margin: 0;
    padding: 0;
}

#no_id_pipe p {
    font-size: clamp(16px, 2.3vw, 30px);
    color: var(--tta-muted);
    margin: 0;
    padding: 10px 0 0 0;
}

#submit_s,
#submitStatus,
input[type="submit"],
input[type="button"],
button,
a.buy-btn_f,
a.buy-btn_f2 {
    border-radius: 12px !important;
    border: 1px solid rgba(26, 188, 156, 0.35) !important;
    background: linear-gradient(180deg, #1abc9c 0%, #159a80 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
    transition: transform 0.12s ease, box-shadow 0.16s ease, filter 0.16s ease !important;
}

#submit_s:hover,
#submitStatus:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
button:hover,
a.buy-btn_f:hover,
a.buy-btn_f2:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(11, 31, 27, 0.12);
    filter: saturate(1.05);
}

input,
textarea,
select {
    font-size: 14px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif !important;
    color: var(--tta-ink) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(11, 31, 27, 0.18) !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
    box-sizing: border-box;
    text-align: left !important;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--tta-accent) !important;
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.2);
}

.main {
    padding-top: 28px;
    padding-bottom: 36px;
}

.main h2 {
    font-weight: 900;
    letter-spacing: 0.02em;
    font-size: clamp(20px, 4.2vw, 30px);
    line-height: 1.12;
    color: var(--tta-ink);
}

.main h3 {
    color: var(--tta-ink);
}

.block_s,
.block_red,
.block_reg {
    width: 100%;
    margin: 0 0 14px 0;
    padding: 14px 16px;
    box-sizing: border-box;
    border-radius: 22px;
    border: 1px solid var(--tta-border);
    box-shadow: 0 18px 38px rgba(11, 31, 27, 0.1);
}

.block_s {
    background: rgba(255, 255, 255, 0.94);
}

.block_red {
    background: rgba(255, 238, 238, 0.92);
}

.block_reg {
    background: linear-gradient(180deg, rgba(26, 188, 156, 0.14) 0%, rgba(21, 154, 128, 0.12) 100%);
}

.block_reg:hover {
    color: var(--tta-ink);
    background: linear-gradient(180deg, rgba(26, 188, 156, 0.2) 0%, rgba(21, 154, 128, 0.18) 100%);
}

.ttaPage .lkAuthForm {
    max-width: 920px;
    margin: 6px auto 18px;
}

.ttaPage .lkAuthCard {
    float: none !important;
    margin: 0 auto !important;
    padding: 24px 24px 20px !important;
    border-radius: 24px;
}

.ttaPage .lkAuthTitle {
    margin: 0;
    text-align: center;
    font-size: clamp(28px, 3.3vw, 38px);
    line-height: 1.1;
}

.ttaPage .lkAuthSubtitle {
    margin: 8px 0 18px;
    text-align: center;
    color: var(--tta-muted);
    font-size: 14px;
    font-weight: 600;
}

.ttaPage .lkAuthRow {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr);
    gap: 12px;
    align-items: end;
}

.ttaPage .lkAuthField {
    display: block;
}

.ttaPage .lkAuthLabel {
    display: block;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(11, 31, 27, 0.84);
}

.ttaPage .lkAuthField input {
    width: 100%;
    min-height: 44px;
}

.ttaPage .lkAuthAction {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.ttaPage .lkAuthSubmit {
    height: 44px;
    min-width: 180px;
    padding: 0 24px !important;
    line-height: 44px !important;
    text-align: center !important;
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    background: linear-gradient(180deg, #dff7e6 0%, #c4efcf 100%) !important;
    border: 1px solid rgba(74, 161, 92, 0.35) !important;
    color: #1f5b2b !important;
    box-shadow: 0 10px 20px rgba(58, 143, 79, 0.16) !important;
}

.ttaPage .lkAuthSubmit:hover {
    background: linear-gradient(180deg, #c7efcf 0%, #99e0aa 100%) !important;
    border-color: rgba(54, 148, 78, 0.5) !important;
    color: #174a22 !important;
    box-shadow: 0 12px 24px rgba(46, 134, 67, 0.22) !important;
}

.ttaPage .lkAuthError {
    max-width: 920px;
    margin: 0 auto 10px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(186, 24, 27, 0.22);
    background: rgba(255, 236, 236, 0.94);
    color: #9f1014;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 10px 22px rgba(159, 16, 20, 0.08);
}

.lkLoginPage #wrapper {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto !important;
    justify-content: center;
}

.lkLoginPage .main {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
}

.lkLoginPage .main .shell {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.lkLoginPage .main section.cols {
    width: 100%;
    padding-bottom: 0;
}

.lkLoginPage .main section {
    padding-bottom: 0;
}

.lkLoginPage .lkAuthForm {
    margin-top: 0;
    margin-bottom: 0;
}

.lkLoginPage .site-footer {
    margin-top: 0;
    padding-top: 12px;
    padding-bottom: 12px;
}

/* =============================
   Event Picker + Upcoming List
   ============================= */

.ttaEventStatus,
.ttaEventChooser,
.ttaEventsSchedule {
    width: min(1140px, calc(100% - 20px));
    margin: 14px auto;
}

.ttaEventStatus {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(11, 31, 27, 0.14);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(11, 31, 27, 0.1);
}

.ttaEventStatus__head {
    margin: 0;
    padding: 12px 18px;
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 900;
    letter-spacing: 0.01em;
}

.ttaEventStatus__body {
    padding: 16px 18px 18px;
}

.ttaEventStatus__title {
    font-size: 18px;
    font-weight: 800;
    color: rgba(11, 31, 27, 0.92);
}

.ttaEventStatus__meta {
    margin-top: 6px;
    color: rgba(11, 31, 27, 0.66);
    font-size: 14px;
}

.ttaEventStatus__action {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(11, 31, 27, 0.2);
    text-decoration: none !important;
    font-weight: 700;
    color: rgba(11, 31, 27, 0.86);
    background: rgba(255, 255, 255, 0.9);
}

.ttaEventStatus__action:hover {
    background: rgba(245, 248, 251, 0.98);
    color: rgba(11, 31, 27, 0.96);
}

.ttaEventStatus--selected .ttaEventStatus__head {
    background: linear-gradient(180deg, rgba(214, 245, 234, 0.9) 0%, rgba(189, 235, 220, 0.95) 100%);
    color: #125247;
}

.ttaEventStatus--selected {
    border-radius: 14px;
    padding: 8px 12px;
}

.ttaEventStatus--selected .ttaEventStatus__line {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 30px;
    white-space: nowrap;
}

.ttaEventStatus--selected .ttaEventStatus__label {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(18, 82, 71, 0.24);
    background: linear-gradient(180deg, rgba(214, 245, 234, 0.9) 0%, rgba(189, 235, 220, 0.95) 100%);
    color: #125247;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
    flex: 0 0 auto;
}

.ttaEventStatus--selected .ttaEventStatus__title {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.15;
    flex: 0 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ttaEventStatus--selected .ttaEventStatus__meta {
    margin: 0;
    font-size: 14px;
    color: rgba(11, 31, 27, 0.7);
    flex: 0 0 auto;
}

.ttaEventStatus--selected .ttaEventStatus__action {
    margin-top: 0;
    margin-left: auto;
    min-height: 30px;
    padding: 0 12px;
    font-size: 13px;
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    .ttaEventStatus--selected {
        padding: 8px 10px;
    }

    .ttaEventStatus--selected .ttaEventStatus__line {
        gap: 8px;
    }

    .ttaEventStatus--selected .ttaEventStatus__label {
        display: none;
    }

    .ttaEventStatus--selected .ttaEventStatus__title {
        font-size: 15px;
    }

    .ttaEventStatus--selected .ttaEventStatus__meta {
        font-size: 12px;
    }

    .ttaEventStatus--selected .ttaEventStatus__action {
        min-height: 28px;
        padding: 0 10px;
        font-size: 12px;
    }
}

.ttaEventStatus--warning .ttaEventStatus__head {
    background: linear-gradient(180deg, rgba(255, 244, 205, 0.9) 0%, rgba(255, 236, 176, 0.94) 100%);
    color: #5a4300;
}

.ttaEventStatus--empty .ttaEventStatus__head {
    background: linear-gradient(180deg, rgba(236, 241, 246, 0.9) 0%, rgba(228, 235, 242, 0.96) 100%);
    color: rgba(30, 48, 67, 0.9);
}

.ttaEventChooser__card {
    border-radius: 20px;
    border: 1px solid rgba(11, 31, 27, 0.12);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(11, 31, 27, 0.08);
    padding: 16px 18px 18px;
}

.ttaEventChooser__label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(11, 31, 27, 0.86);
}

.ttaEventChooser__controls {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}

.ttaEventChooser__select {
    width: 100%;
    min-height: 46px;
}

.ttaEventChooser__submit {
    min-width: 150px;
    height: 44px;
    padding: 0 18px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(26, 188, 156, 0.36) !important;
    background: linear-gradient(180deg, #1abc9c 0%, #159a80 100%) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

.ttaEventChooser__error {
    margin-top: 10px;
    color: #c1302b;
    font-size: 13px;
    font-weight: 700;
}

.ttaEventsSchedule {
    border-radius: 24px;
    border: 1px solid rgba(11, 31, 27, 0.12);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(11, 31, 27, 0.1);
    overflow: hidden;
}

.ttaEventsSchedule__titleWrap {
    text-align: center;
    padding: 24px 18px 12px;
}

.ttaEventsSchedule__title {
    margin: 0;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.08;
    font-weight: 900;
    color: rgba(11, 31, 27, 0.95);
}

.ttaEventsSchedule__subtitle {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 20px;
    color: rgba(11, 31, 27, 0.74);
}

.ttaEventsSchedule__table {
    padding: 0 14px 16px;
}

.ttaEventsSchedule__head {
    display: grid;
    grid-template-columns: 120px minmax(230px, 1.4fr) minmax(220px, 1.2fr) 180px 170px;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(241, 244, 247, 0.92);
    color: rgba(11, 31, 27, 0.56);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ttaEventsSchedule__month {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(239, 243, 247, 0.86);
    color: rgba(11, 31, 27, 0.9);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.ttaEventsSchedule__row {
    position: relative;
    display: grid;
    grid-template-columns: 120px minmax(230px, 1.4fr) minmax(220px, 1.2fr) 180px 170px;
    gap: 12px;
    align-items: center;
    padding: 14px 14px 14px 18px;
    border-bottom: 1px solid rgba(11, 31, 27, 0.1);
    background: rgba(255, 255, 255, 0.74);
}

.ttaEventsSchedule__row:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, #24c1a0 0%, #159a80 100%);
}

.ttaEventsSchedule__date {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: rgba(11, 31, 27, 0.92);
}

.ttaEventsSchedule__dateMain {
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.ttaEventsSchedule__dateYear {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.ttaEventsSchedule__eventTitle {
    font-size: 24px;
    line-height: 1.06;
    font-weight: 900;
    color: rgba(11, 31, 27, 0.95);
}

.ttaEventsSchedule__more {
    display: inline-block;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #0f8f79 !important;
    text-decoration: none;
}

.ttaEventsSchedule__more:hover {
    color: #0c7866 !important;
    text-decoration: underline;
}

.ttaEventsSchedule__org {
    font-size: 16px;
    line-height: 1.2;
    color: rgba(11, 31, 27, 0.68);
}

.ttaEventsSchedule__docs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.ttaEventsSchedule__docBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(11, 31, 27, 0.14);
    background: rgba(255, 255, 255, 0.92);
    color: rgba(11, 31, 27, 0.84) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
}

.ttaEventsSchedule__docBtn--invite {
    border-color: rgba(11, 31, 27, 0.16);
    background: rgba(248, 250, 252, 0.95);
}

.ttaEventsSchedule__docBtn--apply {
    border-color: rgba(26, 188, 156, 0.34);
    background: rgba(226, 246, 240, 0.95);
    color: #0f7464 !important;
}

.ttaEventsSchedule__docBtn--apply:hover {
    background: rgba(206, 240, 231, 0.98);
    border-color: rgba(21, 154, 128, 0.46);
}

.ttaEventsSchedule__dash {
    color: rgba(11, 31, 27, 0.35);
    font-size: 26px;
    line-height: 1;
}

.ttaEventsSchedule__class {
    display: flex;
    justify-content: flex-end;
}

.ttaEventsSchedule__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(11, 31, 27, 0.14);
    background: rgba(248, 250, 252, 0.9);
    color: rgba(11, 31, 27, 0.86);
    font-size: 14px;
    font-weight: 700;
}

.ttaEventsSchedule__empty {
    padding: 8px 18px 22px;
    text-align: center;
    color: rgba(11, 31, 27, 0.72);
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .ttaEventsSchedule__head,
    .ttaEventsSchedule__row {
        grid-template-columns: 100px minmax(180px, 1.2fr) minmax(180px, 1fr) 150px 140px;
    }

    .ttaEventsSchedule__month {
        font-size: 20px;
    }

    .ttaEventsSchedule__dateMain {
        font-size: 22px;
    }

    .ttaEventsSchedule__dateYear {
        font-size: 16px;
    }

    .ttaEventsSchedule__eventTitle {
        font-size: 20px;
    }

    .ttaEventsSchedule__more,
    .ttaEventsSchedule__org,
    .ttaEventsSchedule__docBtn,
    .ttaEventsSchedule__badge {
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .ttaEventChooser__controls {
        grid-template-columns: 1fr;
    }

    .ttaEventChooser__submit {
        width: 100%;
    }

    .ttaEventsSchedule__table {
        padding: 0 8px 10px;
    }

    .ttaEventsSchedule__head {
        display: none;
    }

    .ttaEventsSchedule__row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 12px 10px 12px 16px;
    }

    .ttaEventsSchedule__date {
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
    }

    .ttaEventsSchedule__dateMain {
        font-size: 20px;
    }

    .ttaEventsSchedule__dateYear {
        font-size: 16px;
    }

    .ttaEventsSchedule__eventTitle {
        font-size: 20px;
    }

    .ttaEventsSchedule__org {
        font-size: 15px;
    }

    .ttaEventsSchedule__docs {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .ttaEventsSchedule__class {
        justify-content: flex-start;
    }

    .ttaEventsSchedule__docBtn,
    .ttaEventsSchedule__badge {
        font-size: 14px;
        min-height: 30px;
    }
}

.lkLoginPage header.ttaMenu {
    position: relative !important;
    top: auto;
    left: auto;
    right: auto;
    border-bottom: 1px solid var(--tta-border) !important;
    box-shadow: 0 8px 20px rgba(11, 31, 27, 0.06);
}

.lkLoginPage header.ttaMenu.is-top,
.lkLoginPage header.ttaMenu.is-scrolled {
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom-color: rgba(11, 31, 27, 0.12) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 8px 20px rgba(11, 31, 27, 0.06);
}

.couples {
    width: 210px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--tta-border);
    border-radius: 14px;
    transition: transform 0.12s ease, background-color 0.12s ease, box-shadow 0.16s ease;
}

.couples:hover {
    background: rgba(26, 188, 156, 0.12);
    box-shadow: 0 12px 24px rgba(11, 31, 27, 0.1);
    transform: translateY(-1px);
}

.features-table,
.features-table-am,
.features-table-print,
.features-table-wdc {
    width: 100% !important;
    max-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(11, 31, 27, 0.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(11, 31, 27, 0.08);
}

.features-table td,
.features-table-am td,
.features-table-print td,
.features-table-wdc td {
    height: auto !important;
    line-height: 1.35 !important;
    padding: 9px 10px !important;
    border-bottom: 1px solid rgba(11, 31, 27, 0.1) !important;
    border-right: 0 !important;
    box-shadow: none !important;
    white-space: normal !important;
    color: #102521;
    vertical-align: top;
}

.features-table tr:last-child td,
.features-table-am tr:last-child td,
.features-table-print tr:last-child td,
.features-table-wdc tr:last-child td {
    border-bottom: 0 !important;
}

.features-table td:nth-child(2),
.features-table td:nth-child(3),
.features-table td:nth-child(4),
.features-table-am td:nth-child(2),
.features-table-am td:nth-child(3),
.features-table-wdc td:nth-child(2),
.features-table-wdc td:nth-child(3) {
    background: var(--tta-table-gray) !important;
}

.features-table tr + tr td:first-child div,
.features-table-am tr + tr td:first-child div {
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.features-table thead td,
.features-table-print thead td,
.features-table-wdc thead td {
    border-radius: 0 !important;
    border-top: 0 !important;
}

.features-table-am {
    table-layout: fixed;
}

.features-table-am td:nth-child(1) {
    width: 10%;
}

.features-table-am td:nth-child(2),
.features-table-am td:nth-child(3) {
    width: 45%;
}

div[style*="background: #65cbf8"],
div[style*="background:#65cbf8"],
div[style*="background: #ff4646"],
div[style*="background:#ff4646"] {
    background: linear-gradient(180deg, #1abc9c 0%, #159a80 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(26, 188, 156, 0.3);
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(11, 31, 27, 0.1);
}

div[style*="background: #ccf"],
div[style*="background:#ccf"] {
    background: rgba(231, 244, 240, 0.98) !important;
    border: 1px solid rgba(11, 31, 27, 0.12);
    border-radius: 14px;
}

div[style*="background: #cecece"],
div[style*="background:#cecece"] {
    background: rgba(236, 241, 246, 0.95) !important;
    border: 1px solid rgba(11, 31, 27, 0.12);
    border-radius: 0 0 12px 12px;
}

div[style*="background: #FFC"],
div[style*="background:#FFC"] {
    background: rgba(255, 248, 221, 0.95) !important;
    border: 1px solid rgba(67, 48, 0, 0.15);
    border-radius: 12px;
}

@media (max-width: 1024px) {
    .shell {
        width: calc(100% - 24px);
    }

    #navigation {
        gap: 6px;
    }
}

@media (max-width: 860px) {
    header .shell {
        flex-direction: column;
        align-items: flex-start;
    }

    #navigation {
        width: 100%;
        margin-left: 0;
        align-items: flex-start;
    }

    #navigation ul {
        justify-content: flex-start;
    }

    #id_pipe,
    #no_id_pipe {
        text-align: left;
    }

    .ttaPage .lkAuthRow {
        grid-template-columns: 1fr;
    }

    .ttaPage .lkAuthAction {
        display: block;
    }

    .ttaPage .lkAuthSubmit {
        width: 100%;
    }

    .lkLoginPage .main {
        flex: 0 0 auto;
        align-items: flex-start;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .lkLoginPage .main .shell {
        width: calc(100% - 16px);
    }
}

@media (max-width: 760px) {
    .shell {
        width: calc(100% - 16px);
    }

    #logo {
        width: 100%;
    }

    #logo a {
        height: 50px;
    }

    #navigation li a {
        padding: 8px 10px;
        border-radius: 12px;
        font-size: 13px;
    }

    .main {
        padding-top: 20px;
    }

    .features-table,
    .features-table-am,
    .features-table-print {
        table-layout: fixed;
    }

    .features-table td,
    .features-table-am td,
    .features-table-print td {
        padding: 7px 6px !important;
        font-size: 12px;
    }

    .features-table-am td:nth-child(1) {
        width: 14% !important;
    }

    .features-table-am td:nth-child(2),
    .features-table-am td:nth-child(3) {
        width: 43% !important;
    }
}

/* =============================
   TTA Archive Menu + Footer
   ============================= */

.ttaPage {
    padding-top: 78px;
}

.lkLoginPage.ttaPage {
    min-height: 100vh;
    padding-top: 0;
    padding-bottom: 0;
}

/* Global sticky footer baseline for all pages */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#wrapper {
    min-height: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
    flex: 1 0 auto;
    width: 100%;
}

#footer-push {
    display: none !important;
}

#footer,
.site-footer {
    margin-top: auto;
    width: 100%;
    flex-shrink: 0;
}

.ttaPage,
.legacyCabinet {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.ttaPage #wrapper {
    min-height: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
    flex: 1 0 auto;
    width: 100%;
}

.legacyCabinet #wrapper {
    min-height: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
    flex: 1 0 auto;
    width: 100%;
}

.ttaPage #footer-push {
    display: none;
}

.legacyCabinet #footer-push {
    display: none;
}

.ttaPage .site-footer,
.legacyCabinet .site-footer,
.ttaPage #footer,
.legacyCabinet #footer {
    margin-top: auto;
    width: 100%;
    flex-shrink: 0;
}

.ttaPage .container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.ttaPage .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.ttaPage .col-md-5,
.ttaPage .col-md-7 {
    padding: 0 15px;
    box-sizing: border-box;
}

.ttaPage .col-md-5 {
    flex: 0 0 41.6666667%;
    max-width: 41.6666667%;
}

.ttaPage .col-md-7 {
    flex: 0 0 58.3333333%;
    max-width: 58.3333333%;
}

header.ttaMenu {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 12000;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    border-bottom: 1px solid transparent !important;
    height: auto !important;
    min-height: 0 !important;
    box-shadow: none;
}

header.ttaMenu.is-top {
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header.ttaMenu.is-scrolled {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(11, 31, 27, 0.1) !important;
    box-shadow: 0 14px 36px rgba(11, 31, 27, 0.1);
}

.ttaMenu__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    height: 78px;
}

.ttaMenu__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.ttaMenu__logo {
    display: block;
    width: auto;
    height: 50px;
}

.ttaMenu__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.ttaMenu__link {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.01em;
    color: rgba(11, 31, 27, 0.84);
    text-decoration: none !important;
    padding: 10px 12px;
    border-radius: 14px;
    transition: background-color 0.12s ease, color 0.12s ease, transform 0.12s ease;
}

.ttaMenu__link:hover,
.ttaMenu__link:focus {
    background: rgba(26, 188, 156, 0.1);
    color: var(--tta-ink);
    transform: translateY(-1px);
    outline: none;
}

.ttaMenu__link--active {
    background: rgba(26, 188, 156, 0.12);
    color: var(--tta-ink);
}

.ttaMenu__link--cta {
    background: linear-gradient(180deg, var(--tta-accent) 0%, var(--tta-accent-2) 100%);
    color: #fff !important;
    padding: 10px 14px;
    border: 1px solid rgba(26, 188, 156, 0.35);
    box-shadow: 0 12px 26px rgba(11, 31, 27, 0.12);
}

.ttaMenu__link--cta:hover,
.ttaMenu__link--cta:focus {
    background: linear-gradient(180deg, var(--tta-accent) 0%, #0f846f 100%);
    border-color: rgba(26, 188, 156, 0.55);
}

.ttaMenu__toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(11, 31, 27, 0.14);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 22px rgba(11, 31, 27, 0.08);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ttaMenu__toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.18), 0 10px 22px rgba(11, 31, 27, 0.1);
}

.ttaMenu__burger {
    position: relative;
    width: 18px;
    height: 2px;
    background: var(--tta-ink);
    border-radius: 999px;
}

.ttaMenu__burger:before,
.ttaMenu__burger:after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: var(--tta-ink);
    border-radius: 999px;
}

.ttaMenu__burger:before {
    top: -6px;
}

.ttaMenu__burger:after {
    top: 6px;
}

.ttaMenuOverlay {
    position: fixed;
    inset: 0;
    z-index: 13000;
    display: none;
}

.ttaMenuOverlay.is-open {
    display: block;
}

.ttaMenuOverlay__scrim {
    position: absolute;
    inset: 0;
    background: rgba(11, 31, 27, 0.46);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.ttaMenuOverlay__panel {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 247, 249, 0.98) 100%);
    padding: 18px 18px 22px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.ttaMenuOverlay__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 2px 16px;
}

.ttaMenuOverlay__logo {
    height: 52px;
    width: auto;
}

.ttaMenuOverlay__close {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(11, 31, 27, 0.14);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 22px rgba(11, 31, 27, 0.08);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.ttaMenuOverlay__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
}

.ttaMenuOverlay__link {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.01em;
    color: var(--tta-ink);
    text-decoration: none !important;
    padding: 16px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(11, 31, 27, 0.1);
    box-shadow: 0 12px 24px rgba(11, 31, 27, 0.08);
}

.ttaMenuOverlay__link--cta {
    background: linear-gradient(180deg, var(--tta-accent) 0%, var(--tta-accent-2) 100%);
    color: #fff !important;
    border-color: rgba(26, 188, 156, 0.35);
}

body.ttaMenu--locked {
    overflow: hidden;
}

.site-footer {
    background:
        radial-gradient(60% 170% at 50% 50%, rgba(26, 188, 156, 0.28) 0%, rgba(26, 188, 156, 0) 68%),
        #0b1f1b;
    color: rgba(255, 255, 255, 0.86);
    padding: 26px 0;
    border-top: 1px solid rgba(41, 187, 156, 0.35);
}

.site-footer .footer-brand,
#footer .footer-brand {
    font-weight: 800;
    letter-spacing: 0.02em;
    font-size: 16px;
    color: #ffffff;
}

.site-footer .footer-meta,
#footer .footer-meta {
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.75;
}

.site-footer .footer-rights,
#footer .footer-rights {
    text-align: right;
    font-size: 12px;
    line-height: 1.55;
}

.site-footer .footer-line,
#footer .footer-line {
    margin-top: 2px;
}

.site-footer .footer-note,
#footer .footer-note {
    opacity: 0.8;
}

/* Shared footer layout for both guest and logged pages */
.site-footer .container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.site-footer .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.site-footer .col-md-5,
.site-footer .col-md-7 {
    padding: 0 15px;
    box-sizing: border-box;
}

.site-footer .col-md-5 {
    flex: 0 0 41.6666667%;
    max-width: 41.6666667%;
}

.site-footer .col-md-7 {
    flex: 0 0 58.3333333%;
    max-width: 58.3333333%;
}

/* Legacy footer (#footer) styled like the new footer */
#footer {
    height: auto !important;
    background:
        radial-gradient(60% 170% at 50% 50%, rgba(26, 188, 156, 0.28) 0%, rgba(26, 188, 156, 0) 68%),
        #0b1f1b;
    color: rgba(255, 255, 255, 0.86);
    border-top: 1px solid rgba(41, 187, 156, 0.35);
}

#footer .footer-bottom {
    padding: 26px 0;
}

#footer .shell {
    width: min(1170px, calc(100% - 30px));
    margin: 0 auto;
}

#footer .footer-nav {
    width: 100%;
}

#footer .footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: flex-start;
    justify-content: space-between;
}

#footer .footer-col--brand {
    flex: 1 1 360px;
    min-width: 260px;
}

#footer .footer-col--rights {
    flex: 1 1 420px;
    min-width: 280px;
}

#footer .footer-rights {
    text-align: right;
}

#footer .cl {
    display: none;
}

@media (max-width: 991px) {
    .ttaPage .col-md-5,
    .ttaPage .col-md-7,
    .site-footer .col-md-5,
    .site-footer .col-md-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .ttaMenu__logo {
        height: 46px;
    }

    .site-footer .footer-rights {
        text-align: left;
        margin-top: 14px;
    }

    #footer .footer-rights {
        text-align: left;
    }

    #footer .footer-col--brand,
    #footer .footer-col--rights {
        flex: 0 0 100%;
        min-width: 0;
    }
}

@media (max-width: 767px) {
    .ttaPage {
        padding-top: 64px;
    }

    .lkLoginPage.ttaPage {
        min-height: 100vh;
        padding-top: 0;
        padding-bottom: 0;
    }

    .ttaMenu__nav {
        display: none;
    }

    .ttaMenu__toggle {
        display: inline-flex;
    }
}

@media (min-width: 768px) {
    .ttaMenu__toggle {
        display: none !important;
    }
}

/* Logged-in legacy top panel (as before edits) */
.legacyCabinet {
    padding-top: 0 !important;
}

.legacyCabinet header:not(.ttaMenu) {
    height: auto;
    background: rgba(255, 255, 255, 0.88) !important;
    position: static;
    min-height: 92px;
    border-bottom: 1px solid rgba(11, 31, 27, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 8px 20px rgba(11, 31, 27, 0.06);
}

.legacyCabinet header:not(.ttaMenu) .shell {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 6px 0;
}

.legacyCabinet #logo {
    position: static;
    top: auto;
    left: 0;
    width: 280px;
    height: auto;
    margin: 0;
    flex: 0 0 auto;
}

.legacyCabinet #logo a {
    height: 72px;
    background: url(../img/logo-tta.svg) no-repeat left center !important;
    background-size: auto;
    background-size: contain !important;
    display: block;
}

.legacyCabinet #navigation {
    text-align: right;
    font-size: 13px;
    padding-top: 0;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.legacyCabinet #navigation ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(38, 56, 80, 0.14);
    background: rgba(248, 250, 252, 0.95);
}

.legacyCabinet #navigation ul li {
    display: flex;
    align-items: center;
    background: none;
    padding: 0;
}

.legacyCabinet #navigation ul li + li {
    margin-left: 10px;
    padding-left: 10px;
    position: relative;
}

.legacyCabinet #navigation ul li + li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 14px;
    background: rgba(38, 56, 80, 0.22);
    transform: translateY(-50%);
}

.legacyCabinet #navigation ul li.last {
    background: transparent;
    padding-right: 0;
}

.legacyCabinet #navigation li a {
    color: rgba(38, 56, 80, 0.82);
    display: inline-block;
    min-height: 0;
    padding: 3px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.01em;
}

.legacyCabinet #navigation li a:hover {
    color: #1f5f56;
    text-decoration: none;
    background: transparent;
    border-color: transparent;
    transform: none;
}

.legacyCabinet #navigation li.active a {
    color: #115f56;
    font-weight: 700;
    text-decoration: none;
}

.legacyCabinet #id_pipe {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 13px;
    padding: 3px 8px 3px 12px;
    border: 1px solid rgba(26, 140, 118, 0.26);
    border-radius: 999px;
    background: rgba(225, 247, 239, 0.95);
}

.legacyCabinet #id_pipe h1 {
    font-size: 14px;
    color: rgba(38, 56, 80, 0.9);
    margin: 0;
    padding: 0;
    font-weight: 600;
    white-space: nowrap;
}

.legacyCabinet #id_pipe p {
    display: none;
}

.legacyCabinet #id_pipe #submit_s {
    margin-top: 0;
    min-width: 76px;
    height: 24px;
    padding: 0 9px !important;
    line-height: 22px !important;
    background: rgba(230, 235, 240, 0.9) !important;
    border: 1px solid rgba(38, 56, 80, 0.18) !important;
    border-radius: 999px !important;
    color: rgba(38, 56, 80, 0.78) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: none;
    transform: none;
    filter: none;
}

.legacyCabinet #id_pipe #submit_s:hover {
    background: rgba(216, 224, 232, 0.98) !important;
    border-color: rgba(38, 56, 80, 0.24) !important;
    color: rgba(26, 41, 59, 0.95) !important;
    box-shadow: none !important;
}

.legacyCabinet #id_pipe .user-name {
    color: rgba(15, 30, 47, 0.95);
    text-decoration: none;
    font-weight: 700;
}

.legacyCabinet #id_pipe .lkExitForm {
    margin: 0;
}

@media (max-width: 1024px) {
    .legacyCabinet header:not(.ttaMenu) {
        height: auto;
        min-height: 0;
    }

    .legacyCabinet header:not(.ttaMenu) .shell {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 12px 0;
    }

    .legacyCabinet #logo {
        position: static;
        /* In flex header, logo needs explicit width (background-only link has no intrinsic width). */
        width: 160px;
        min-width: 120px;
        height: auto;
        flex: 0 0 auto;
        max-width: 52vw;
        display: block;
    }

    .legacyCabinet #logo a {
        height: 56px;
        width: 100%;
        display: block;
        background-size: contain !important;
        background-position: left center !important;
    }

    /*
     * Greeting + exit button (id_pipe)
     * Mobile: opposite the logo; left-aligned inside; 2 lines (greeting + button).
     */
    /*
     * Greeting + exit button (id_pipe)
     * Mobile: opposite the logo; left-aligned inside; 2 lines (greeting + button).
     *
     * Important: #id_pipe lives inside #navigation, so we make #navigation a flex-wrap container:
     * - first line: #id_pipe (right side of header, next to logo)
     * - second line: menu <ul> centered
     */
    .legacyCabinet #navigation {
        flex: 1 1 auto;
        width: auto;
        text-align: right;
        margin-left: auto;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 10px;
        padding-top: 0;
        min-width: 0;
    }

    .legacyCabinet #id_pipe {
        position: static;
        order: 1;
        margin-left: auto;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 14px;
        max-width: calc(100% - 10px);
        min-width: 0;
    }

    .legacyCabinet #id_pipe h1 {
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: left;
    }

    .legacyCabinet #id_pipe .lkExitForm {
        margin: 0;
    }

    .legacyCabinet #id_pipe #submit_s {
        min-width: 0;
        width: auto;
        height: 22px;
        padding: 0 10px !important;
        line-height: 20px !important;
        font-size: 14px !important;
        letter-spacing: normal;
        text-transform: none;
    }

    /* Menu below (full width), centered */
    .legacyCabinet #navigation ul {
        order: 2;
        flex: 1 1 100%;
        width: 100%;
        justify-content: center;
        margin-top: 6px;
    }

    /* =============================
       Mobile header (as per mock):
       - logo on the left
       - greeting + exit inside a pill on the right
       - menu inside a rounded pill below, centered, wraps to 2 lines
       ============================= */

    .legacyCabinet header:not(.ttaMenu) .shell {
        padding: 12px 0 0;
        align-items: flex-start;
        gap: 12px;
    }

    .legacyCabinet #logo {
        width: 140px;
        min-width: 110px;
        max-width: 44vw;
        margin: 0 auto;
    }

    .legacyCabinet #logo a {
        height: 72px;
        background-position: center center !important;
    }

    .legacyCabinet #navigation {
        width: 100%;
        margin-left: 0;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    .legacyCabinet #id_pipe {
        display: none !important;
    }

    .legacyCabinet #id_pipe h1 {
        font-size: 18px;
        line-height: 1.2;
        padding: 0;
        text-align: right;
    }

    .legacyCabinet #id_pipe #submit_s {
        height: 34px;
        line-height: 32px !important;
        padding: 0 18px !important;
        font-size: 18px !important;
        border-radius: 18px !important;
        background: rgba(216, 224, 232, 0.98) !important;
        border-color: rgba(123, 141, 162, 0.42) !important;
        color: rgba(34, 58, 76, 0.92) !important;
        box-shadow: none !important;
    }

    .legacyCabinet #id_pipe #submit_s:hover {
        background: rgba(203, 212, 221, 0.98) !important;
        color: rgba(22, 40, 54, 0.95) !important;
    }

    .legacyCabinet #navigation ul {
        margin: 10px auto 0;
        padding: 10px 12px;
        background: rgba(240, 244, 248, 0.92);
        border: 2px solid rgba(178, 188, 199, 0.55);
        border-radius: 60px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        row-gap: 10px;
        max-width: 100%;
    }

    .legacyCabinet #navigation ul li {
        background: none !important;
        padding: 0 10px;
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
    }

    .legacyCabinet #navigation ul li::before {
        content: "|";
        margin-right: 10px;
        color: rgba(120, 136, 152, 0.7);
    }

    .legacyCabinet #navigation ul li:first-child::before {
        content: "";
        margin-right: 0;
    }

    .legacyCabinet #navigation li a {
        font-size: 18px;
        line-height: 1.15;
        color: rgba(46, 68, 86, 0.92);
        text-decoration: none;
    }

    .legacyCabinet #navigation li.active a {
        color: rgba(18, 130, 110, 0.98);
        font-weight: 700;
    }

    /* Registered list: readable mobile cards */
    .legacyCabinet .registeredListTable {
        border: 0;
        border-collapse: separate;
        background: transparent;
    }

    .legacyCabinet .registeredListTable thead {
        display: none;
    }

    .legacyCabinet .registeredListTable tbody {
        display: block;
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        gap: 0 12px;
        margin: 0 0 14px;
        padding: 14px 14px 12px;
        border-radius: 18px;
        border: 1px solid rgba(11, 31, 27, 0.12);
        background: rgba(245, 248, 249, 0.98);
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td {
        width: 100% !important;
        box-sizing: border-box;
        border: 0 !important;
        background: transparent !important;
        padding: 7px 0 !important;
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(1) {
        position: absolute;
        top: 12px;
        right: 12px;
        width: auto !important;
        padding: 0 !important;
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(1) > div {
        min-width: 40px;
        min-height: 40px;
        padding: 0 8px !important;
        margin: 0 !important;
        border-radius: 999px;
        border: 1px solid rgba(136, 196, 143, 0.65);
        background: rgba(248, 255, 248, 0.95);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 26px !important;
        font-weight: 800;
        color: #122232;
        line-height: 1;
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(2) {
        order: 1;
        padding-right: 78px !important;
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(3) {
        order: 2;
        border-top: 1px solid rgba(11, 31, 27, 0.1) !important;
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(4) {
        order: 3;
        border-top: 1px solid rgba(11, 31, 27, 0.1) !important;
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(5) {
        order: 4;
        border-top: 1px solid rgba(11, 31, 27, 0.1) !important;
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(3)::before,
    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(4)::before,
    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(5)::before {
        display: block;
        margin: 0 0 6px;
        color: rgba(68, 79, 97, 0.86);
        font-size: 14px;
        font-weight: 700;
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(3)::before {
        content: "Тренер";
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(4)::before {
        content: "Категория";
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(5)::before {
        content: "К оплате";
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(7) {
        display: none !important;
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(8) {
        order: 5;
        width: calc(50% - 6px) !important;
        padding-top: 10px !important;
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(6) {
        order: 6;
        width: calc(50% - 6px) !important;
        padding-top: 10px !important;
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(6) a,
    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(8) a {
        width: 100%;
        min-height: 44px;
        padding: 0 10px;
        border-radius: 22px;
        border: 1px solid rgba(11, 31, 27, 0.14);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        box-sizing: border-box;
        gap: 8px;
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(6) a {
        background: rgba(220, 239, 219, 0.95);
        border-color: rgba(166, 212, 166, 0.9);
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(8) a {
        background: rgba(247, 225, 225, 0.95);
        border-color: rgba(236, 169, 169, 0.95);
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(6) img,
    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(8) img {
        width: 18px;
        height: 18px;
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(6) a::after,
    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(8) a::after {
        font-size: 19px;
        font-weight: 700;
        line-height: 1;
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(6) a::after {
        content: "Редактировать";
        color: #123120;
    }

    .legacyCabinet .registeredListTable tbody tr.registeredListRow > td:nth-child(8) a::after {
        content: "Удалить";
        color: #4a1d1d;
    }

    .legacyCabinet .registeredListTable tbody tr.registeredFilterEmpty {
        display: block;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .legacyCabinet .registeredListTable tbody tr.registeredFilterEmpty td {
        width: 100% !important;
        border: 1px solid rgba(11, 31, 27, 0.12) !important;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.95) !important;
    }

    /*
     * Check-in dancer list (Solo / Pair): on mobile show only FIO + Age + action (icon/checkbox)
     */
    .checkInSoloList #vivodDanser,
    .checkInPairList #vivodDanser {
        table-layout: fixed;
        width: 100% !important;
    }

    /* Hide columns: book and classes */
    .checkInSoloList #vivodDanser thead td:nth-child(1),
    .checkInSoloList #vivodDanser tbody td:nth-child(1),
    .checkInSoloList #vivodDanser thead td:nth-child(3),
    .checkInSoloList #vivodDanser tbody td:nth-child(3),
    .checkInSoloList #vivodDanser thead td:nth-child(4),
    .checkInSoloList #vivodDanser tbody td:nth-child(4),
    .checkInPairList #vivodDanser thead td:nth-child(1),
    .checkInPairList #vivodDanser tbody td:nth-child(1),
    .checkInPairList #vivodDanser thead td:nth-child(3),
    .checkInPairList #vivodDanser tbody td:nth-child(3),
    .checkInPairList #vivodDanser thead td:nth-child(4),
    .checkInPairList #vivodDanser tbody td:nth-child(4) {
        display: none;
    }

    /* FIO column becomes 70%, age 22%, action 8% (approx) */
    .checkInSoloList #vivodDanser thead td:nth-child(2),
    .checkInSoloList #vivodDanser tbody td:nth-child(2),
    .checkInPairList #vivodDanser thead td:nth-child(2),
    .checkInPairList #vivodDanser tbody td:nth-child(2) {
        width: 70% !important;
    }

    .checkInSoloList #vivodDanser thead td:nth-child(5),
    .checkInSoloList #vivodDanser tbody td:nth-child(5),
    .checkInPairList #vivodDanser thead td:nth-child(5),
    .checkInPairList #vivodDanser tbody td:nth-child(5) {
        width: 22% !important;
        white-space: nowrap;
    }

    .checkInSoloList #vivodDanser thead td:nth-child(6),
    .checkInSoloList #vivodDanser tbody td:nth-child(6),
    .checkInPairList #vivodDanser thead td:nth-child(6),
    .checkInPairList #vivodDanser tbody td:nth-child(6) {
        width: 8% !important;
        white-space: nowrap;
    }

    /* Make checkbox easier to tap */
    .checkInPairList #vivodDanser input[type="checkbox"] {
        width: 20px;
        height: 20px;
        transform: none;
    }
}

/* Profile section forms */
.legacyCabinet .profileContent {
    width: 666px;
    float: right;
}

.legacyCabinet .profileCard {
    background: #f9fbfd;
    border: 1px solid rgba(11, 31, 27, 0.14);
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(11, 31, 27, 0.08);
    padding: 16px 18px;
    margin: 0 0 14px 0;
}

.legacyCabinet .profileCard h1,
.legacyCabinet .profileCard h2 {
    margin: 0 0 8px 0;
    color: #0b1f1b;
}

.legacyCabinet .profileCard p {
    margin: 0;
    color: rgba(11, 31, 27, 0.72);
    font-size: 14px;
}

.legacyCabinet .profileNotice {
    font-size: 16px;
}

.legacyCabinet .profileChoice {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legacyCabinet .profileChoice img {
    flex: 0 0 auto;
}

.legacyCabinet .profileChoiceText {
    margin: 0;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.14;
    color: #0b1f1b;
}

.legacyCabinet .profileMsg {
    border-radius: 12px;
    padding: 10px 14px;
    margin: 0 0 12px 0;
    font-size: 15px;
    line-height: 1.35;
    border: 1px solid transparent;
}

.legacyCabinet .profileMsg p {
    margin: 0;
}

.legacyCabinet .profileMsg ul {
    margin: 6px 0 0 0;
    padding-left: 18px;
}

.legacyCabinet .profileMsg--ok {
    background: rgba(26, 188, 156, 0.12);
    border-color: rgba(26, 188, 156, 0.35);
    color: #0f5f51;
}

.legacyCabinet .profileMsg--error {
    background: rgba(234, 82, 111, 0.11);
    border-color: rgba(234, 82, 111, 0.35);
    color: #7d1e34;
}

.legacyCabinet .profileForm {
    display: block;
}

.legacyCabinet .profileFormTitle {
    margin: 0 0 14px 0;
    font-size: 30px;
    line-height: 1.16;
}

.legacyCabinet .profileFormRow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.legacyCabinet .profileFormField {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.legacyCabinet .profileFormField label {
    font-size: 14px;
    font-weight: 700;
    color: rgba(11, 31, 27, 0.82);
}

.legacyCabinet .profileFormField input[type="text"],
.legacyCabinet .profileFormField input[type="email"] {
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(11, 31, 27, 0.2);
    background: #fff;
    padding: 0 12px;
    font-size: 16px;
    color: #0b1f1b;
}

.legacyCabinet .profileFormField input:focus {
    outline: none;
    border-color: rgba(26, 188, 156, 0.65);
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.16);
}

.legacyCabinet .profileCheckboxBlock {
    background: rgba(230, 244, 240, 0.95);
    border: 1px solid rgba(26, 188, 156, 0.28);
    border-radius: 12px;
    padding: 10px 12px;
    margin: 0 0 12px 0;
    color: rgba(11, 31, 27, 0.88);
    font-size: 15px;
    line-height: 1.34;
}

.legacyCabinet .profileCheckboxLine {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-weight: 600;
}

.legacyCabinet .profileActions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 6px;
}

.legacyCabinet .profileSubmit,
.legacyCabinet .profileLinkBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 164px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(21, 154, 128, 0.38) !important;
    background: linear-gradient(180deg, #74ddc8 0%, #3dc2a9 100%) !important;
    color: #07342c !important;
    font-size: 16px;
    font-weight: 700 !important;
    cursor: pointer;
    text-decoration: none !important;
    transition: background-color 0.16s ease, transform 0.12s ease, box-shadow 0.16s ease;
}

.legacyCabinet .profileSubmit:hover,
.legacyCabinet .profileLinkBtn:hover {
    background: linear-gradient(180deg, #52cfb7 0%, #1fb69a 100%) !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 16px rgba(21, 154, 128, 0.16);
}

.legacyCabinet .profileListAction {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.legacyCabinet .profileRows {
    margin-top: 8px;
}

.legacyCabinet .profileRows table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 8px 0;
    border: 1px solid rgba(11, 31, 27, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

.legacyCabinet .profileRows tr {
    background: #f7f9fb;
}

.legacyCabinet .profileRows td {
    border-top: 1px solid rgba(11, 31, 27, 0.12);
    padding: 8px 10px;
    color: #0b1f1b;
}

.legacyCabinet .profileRows td:first-child {
    border-top: 0;
}

.legacyCabinet .profileRows .nameCell {
    font-size: 16px;
    font-weight: 600;
    background: #edf6f4;
    border-right: 1px solid rgba(11, 31, 27, 0.08);
}

.legacyCabinet .profileRows .iconCell {
    width: 42px;
    text-align: center;
}

.legacyCabinet .profileRows .iconCell--separator {
    width: 4px;
    padding: 0;
    background: rgba(11, 31, 27, 0.22);
}

.legacyCabinet .profileRows .iconCell--danger {
    background: #fce7e8;
}

.legacyCabinet .profileDeleteCard {
    margin-top: 12px;
}

.legacyCabinet .profileDeleteActions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.legacyCabinet .profileDeleteActions button {
    min-width: 88px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(11, 31, 27, 0.2);
    background: #f3f6f9;
    cursor: pointer;
}

.legacyCabinet .profileDeleteActions button:hover {
    background: #e7eef4;
}

/* Check-in page layout */
.checkInPage {
    min-width: 0 !important;
}

.checkInPage .main {
    padding-top: 34px;
}

.checkInPage .main .shell {
    width: min(1240px, calc(100% - 28px));
}

.checkInPage .main section.cols {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.checkInPage .main section.cols > div[align="center"][style*="background: #ccf"],
.checkInPage .main section.cols > div[align="center"][style*="background:#ccf"] {
    flex: 0 0 100%;
    width: 100% !important;
}

.checkInPage .checkinMenuColumn {
    flex: 0 0 220px;
    margin: 0 !important;
    padding: 0 !important;
}

.checkInPage .checkinMenuColumn ul {
    list-style: none;
    margin: 0;
    padding: 0 !important;
}

.checkInPage .checkinMenuColumn a {
    display: block;
    margin: 0 0 10px 0;
    text-decoration: none;
}

.checkInPage .checkinMenuColumn .couples {
    width: 100%;
    float: none;
    margin: 0;
    box-sizing: border-box;
}

.checkInPage .checkinContentColumn {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
}

.checkInPage .checkinHeaderActions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 10px 6px 10px;
}

.checkInPage .checkinHeaderActions__btn {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 999px;
    border: 1px solid rgba(11, 31, 27, 0.14);
    background: rgba(255, 255, 255, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}

.checkInPage .checkinHeaderActions__btn:hover {
    background: #f3faf8;
    border-color: rgba(26, 188, 156, 0.32);
    transform: translateY(-1px);
}

.checkInPage .checkinHeaderActions__btn img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.checkInPage .checkinChoosePrompt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 2px auto;
}

.checkInPage .checkinChoosePrompt__icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 auto;
}

.checkInPage .checkinChoosePrompt__text {
    margin: 0;
    color: #0b1f1b;
    font-weight: 700;
    font-size: clamp(17px, 2.3vw, 22px);
    line-height: 1.1;
}

.checkInPage .checkinNoticeModal {
    position: fixed;
    inset: 0;
    z-index: 70000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.checkInPage .checkinNoticeModal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 31, 27, 0.36);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.checkInPage .checkinNoticeModal__dialog {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100% - 12px));
    border-radius: 18px;
    border: 1px solid rgba(11, 31, 27, 0.14);
    background: #fff;
    box-shadow: 0 24px 60px rgba(11, 31, 27, 0.22);
    overflow: hidden;
}

.checkInPage .checkinNoticeModal__title {
    padding: 16px 18px 10px 18px;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 900;
    color: #0b1f1b;
    text-align: center;
}

.checkInPage .checkinNoticeModal__body {
    padding: 4px 18px 14px 18px;
    color: rgba(11, 31, 27, 0.9);
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
}

.checkInPage .checkinNoticeModal__body h1,
.checkInPage .checkinNoticeModal__body h2,
.checkInPage .checkinNoticeModal__body p {
    margin: 0 0 8px 0;
    font-size: inherit;
    line-height: inherit;
}

.checkInPage .checkinNoticeModal__body h1,
.checkInPage .checkinNoticeModal__body h2 {
    font-weight: 800;
}

.checkInPage .checkinNoticeModal__footer {
    padding: 12px 18px 16px 18px;
    border-top: 1px solid rgba(11, 31, 27, 0.08);
    display: flex;
    justify-content: center;
}

.checkInPage .checkinNoticeModal__closeBtn {
    min-width: 180px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(11, 31, 27, 0.18);
    border-radius: 12px;
    background: #e4e8ea;
    color: #0b1f1b;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.checkInPage .checkinNoticeModal__closeBtn:hover {
    background: #b8dcc5;
    border-color: rgba(26, 188, 156, 0.35);
}

.checkInPage .checkinNoticeModal--success .checkinNoticeModal__dialog {
    border-color: rgba(26, 188, 156, 0.25);
}

.checkInPage .checkinNoticeModal--success .checkinNoticeModal__title {
    color: #0f7a65;
}

.checkInPage .checkinNoticeModal--error .checkinNoticeModal__dialog {
    border-color: rgba(207, 73, 73, 0.25);
}

.checkInPage .checkinNoticeModal--error .checkinNoticeModal__title {
    color: #b53b3b;
}

.registeredPage .registeredNoticeModal {
    position: fixed;
    inset: 0;
    z-index: 70000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.registeredPage .registeredNoticeModal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 31, 27, 0.36);
}

.registeredPage .registeredNoticeModal__dialog {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100% - 12px));
    border-radius: 18px;
    border: 1px solid rgba(11, 31, 27, 0.14);
    background: #fff;
    box-shadow: 0 24px 60px rgba(11, 31, 27, 0.22);
    overflow: hidden;
}

.registeredPage .registeredNoticeModal__title {
    padding: 16px 18px 10px 18px;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 900;
    color: #0b1f1b;
    text-align: center;
}

.registeredPage .registeredNoticeModal__body {
    padding: 4px 18px 14px 18px;
    color: rgba(11, 31, 27, 0.9);
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
}

.registeredPage .registeredNoticeModal__body h1,
.registeredPage .registeredNoticeModal__body h2,
.registeredPage .registeredNoticeModal__body p {
    margin: 0 0 8px 0;
    font-size: inherit;
    line-height: inherit;
}

.registeredPage .registeredNoticeModal__footer {
    padding: 12px 18px 16px 18px;
    border-top: 1px solid rgba(11, 31, 27, 0.08);
    display: flex;
    justify-content: center;
}

.registeredPage .registeredNoticeModal__closeBtn {
    min-width: 180px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(11, 31, 27, 0.18);
    border-radius: 12px;
    background: #e4e8ea;
    color: #0b1f1b;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.registeredPage .registeredNoticeModal__closeBtn:hover {
    background: #b8dcc5;
    border-color: rgba(26, 188, 156, 0.35);
}

.registeredPage .registeredNoticeModal--success .registeredNoticeModal__dialog {
    border-color: rgba(26, 188, 156, 0.25);
}

.registeredPage .registeredNoticeModal--success .registeredNoticeModal__title {
    color: #0f7a65;
}

.registeredPage .registeredNoticeModal--error .registeredNoticeModal__dialog {
    border-color: rgba(180, 35, 24, 0.25);
}

.registeredPage .registeredNoticeModal--error .registeredNoticeModal__title {
    color: #b42318;
}

@media (max-width: 1024px) {
    .registeredPage .registeredEditHeader {
        width: 100% !important;
        padding: 10px 8px !important;
        box-sizing: border-box;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
    }

    .registeredPage .registeredEditHeader__back {
        position: absolute;
        left: 8px;
        top: 50%;
        transform: translateY(-50%);
        float: none !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 2;
    }

    .registeredPage .registeredEditHeader__titleWrap {
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .registeredPage .registeredEditHeader__title {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 19px !important;
        line-height: 1.2;
        text-align: center !important;
    }

    .registeredPage .VCpodcdtnrf1 {
        width: 100% !important;
        float: none !important;
        margin: 0 0 10px 0 !important;
        padding: 10px 12px !important;
        border: 1px solid rgba(11, 31, 27, 0.14);
        border-radius: 12px;
        background: #f7fcfa;
        box-sizing: border-box;
    }

    .registeredPage .VCpodcdtnrf1 > label {
        display: block;
        width: 100%;
    }

    .registeredPage .VCpodcdtnrf1 > label > div {
        width: 100% !important;
        float: none !important;
        margin: 0 0 6px 0 !important;
        box-sizing: border-box;
        font-size: 13px !important;
        line-height: 1.35;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .registeredPage .VCpodcdtnrf1 > label > div:nth-child(1) {
        font-size: 14px !important;
        font-weight: 700;
        margin-bottom: 8px !important;
    }

    .registeredPage .VCpodcdtnrf1 > label > div:nth-child(2)::before {
        content: "Программа: ";
        font-weight: 700;
        color: #294a42;
    }

    .registeredPage .VCpodcdtnrf1 > label > div:nth-child(3)::before {
        content: "Возраст: ";
        font-weight: 700;
        color: #294a42;
    }

    .registeredPage .VCpodcdtnrf1 > label > div:nth-child(4)::before {
        content: "Отделение: ";
        font-weight: 700;
        color: #294a42;
    }

    .registeredPage .VCpodcdtnrf1 input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-right: 6px;
        vertical-align: middle;
    }
}

.checkInPage .checkinStepActions {
    width: 100%;
    margin: 0 0 10px 0;
    padding: 8px 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(11, 31, 27, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
}

.checkInPage .checkinStepActions__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(11, 31, 27, 0.14);
    background: #fff;
    color: #0b1f1b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    box-sizing: border-box;
}

.checkInPage .checkinStepActions__btn:hover {
    background: #f3faf8;
    border-color: rgba(26, 188, 156, 0.32);
}

.checkInPage .checkinStepActions__btn--back {
    padding-right: 14px;
}

.checkInPage .checkinStepActions__btn--close {
    width: 36px;
    min-width: 36px;
    padding: 0;
    color: rgba(11, 31, 27, 0.8);
    font-size: 16px;
}

.checkInPage .checkinContentColumn table {
    width: 100% !important;
    max-width: 100%;
}

.checkInPage .checkinTableScroll {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.checkInPage .checkinTableScroll > table {
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
}

.checkInPage .checkinPairBottomBar {
    position: fixed;
    bottom: 12px;
    z-index: 1300;
    left: 8px;
    right: 8px;
}

.checkInPage .checkinPairBottomBar__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(11, 31, 27, 0.16);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 28px rgba(11, 31, 27, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.checkInPage .checkinPairBottomBar__info {
    flex: 1 1 auto;
    min-width: 0;
    color: rgba(11, 31, 27, 0.88);
    font-size: 14px;
    line-height: 1.3;
    text-align: left;
}

.checkInPage .checkinPairBottomBar__info b {
    color: #0b1f1b;
}

.checkInPage .checkinPairBottomBar__hint {
    display: block;
    margin-top: 4px;
    color: rgba(11, 31, 27, 0.72);
    font-size: 12px;
}

.checkInPage .checkinPairBottomBar__chips {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: 6px;
    vertical-align: middle;
}

.checkInPage .checkinPairBottomBar__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(11, 31, 27, 0.10);
    background: #f2f5f7;
    color: #0b1f1b;
    font-size: 12px;
    line-height: 1.1;
}

.checkInPage .checkinPairBottomBar__chip--male {
    background: #e7f2ff;
    border-color: rgba(67, 143, 230, 0.30);
}

.checkInPage .checkinPairBottomBar__chip--female {
    background: #ffe9f3;
    border-color: rgba(230, 112, 168, 0.30);
}

.checkInPage .checkinPairBottomBar__chip--unknown {
    background: #f2f5f7;
}

.checkInPage .checkinPairBottomBar__chipRole {
    font-weight: 700;
    opacity: .82;
}

.checkInPage .checkinPairBottomBar__chipName {
    font-weight: 700;
}

.checkInPage .checkinPairBottomBar.is-ready .checkinPairBottomBar__inner {
    border-color: rgba(26, 188, 156, 0.28);
    background: rgba(236, 250, 246, 0.97);
}

.checkInPage .checkinPairBottomBar.is-error .checkinPairBottomBar__inner {
    border-color: rgba(207, 73, 73, 0.28);
    background: rgba(255, 242, 242, 0.97);
}

.checkInPage .checkinPairBottomBar__submit {
    flex: 0 0 auto;
    min-width: 132px;
    min-height: 42px;
    padding: 0 18px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

.checkInPage .checkinPairBottomSpacer {
    height: 96px;
    width: 100%;
}

@media (max-width: 1100px) {
    .checkInPage .main .shell {
        width: calc(100% - 18px);
    }

    .checkInPage .checkinMenuColumn {
        flex-basis: 210px;
    }
}

@media (max-width: 980px) {
    .checkInPage .top-section {
        display: none;
    }

    .checkInPage .main .shell {
        width: calc(100% - 16px);
    }

    .checkInPage .main section.cols {
        flex-direction: column;
        gap: 12px;
    }

    .checkInPage .checkinMenuColumn,
    .checkInPage .checkinContentColumn {
        width: 100%;
        flex: 0 0 auto;
    }

    .checkInPage .checkinMenuColumn {
        position: static;
    }

    .checkInPage .checkinMenuColumn ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        display: grid;
    }

    .checkInPage .checkinMenuColumn .couples {
        max-width: none;
        font-size: 22px;
        min-height: 46px;
        padding: 10px 12px;
        font-weight: 800;
        line-height: 1.1;
    }

    .checkInPage .cols > div[align="center"][style*="background: #ccf"],
    .checkInPage .cols > div[align="center"][style*="background:#ccf"],
    .checkInPage .checkinContentColumn > div[align="center"][style*="background: #ccf"],
    .checkInPage .checkinContentColumn > div[align="center"][style*="background:#ccf"] {
        padding: 12px 10px !important;
        border-radius: 14px !important;
    }

    .checkInPage #soloInput,
    .checkInPage #paraInput {
        width: 100% !important;
        min-height: 44px;
    }

    .checkInPage .checkinHeaderActions {
        margin: 0 4px 8px 4px;
    }

    .checkInPage .checkinHeaderActions__btn {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .checkInPage .checkinHeaderActions__btn img {
        width: 24px;
        height: 24px;
    }

    .checkInPage .checkinChoosePrompt {
        gap: 10px;
    }

    .checkInPage .checkinChoosePrompt__icon {
        width: 34px;
        height: 34px;
    }

    .checkInPage .checkinChoosePrompt__text {
        font-size: 16px;
    }

    .checkInPage .checkinNoticeModal {
        padding: 10px;
        align-items: flex-end;
    }

    .checkInPage .checkinNoticeModal__dialog {
        width: 100%;
        border-radius: 16px 16px 14px 14px;
    }

    .checkInPage .checkinNoticeModal__title {
        font-size: 19px;
        padding: 14px 14px 8px 14px;
    }

    .checkInPage .checkinNoticeModal__body {
        padding: 4px 14px 12px 14px;
        font-size: 14px;
    }

    .checkInPage .checkinNoticeModal__footer {
        padding: 10px 14px 14px 14px;
    }

    .checkInPage .checkinNoticeModal__closeBtn {
        width: 100%;
        min-width: 0;
        min-height: 44px;
    }

    .checkInPage .checkinStepActions {
        margin-bottom: 12px;
        padding: 8px;
        border-radius: 12px;
    }

    .checkInPage .checkinStepActions__btn {
        min-height: 40px;
        font-size: 14px;
    }

    .checkInPage .checkinStepActions__btn--back {
        flex: 1 1 auto;
        justify-content: flex-start;
        padding-left: 12px;
    }

    .checkInPage .checkinStepActions__btn--close {
        flex: 0 0 40px;
        width: 40px;
        min-width: 40px;
    }

    .checkInPage #soloResetBtn,
    .checkInPage #paraResetBtn {
        width: 100%;
        margin: 8px 0 0 0 !important;
        min-height: 44px;
        padding: 0 16px !important;
        border-radius: 12px !important;
        border: 1px solid rgba(11, 31, 27, 0.22) !important;
        background: rgba(245, 248, 251, 0.98) !important;
        color: #233a36 !important;
        font-size: 14px;
        font-weight: 700;
    }

    .checkInPage #searchResultPara {
        float: none !important;
        width: 100%;
        margin-top: 10px;
    }

    .checkInPage #infirmNewOk {
        border-radius: 12px !important;
        border: 1px solid rgba(26, 151, 114, 0.35) !important;
        background: rgba(221, 247, 231, 0.96) !important;
        box-shadow: 0 8px 18px rgba(11, 31, 27, 0.08);
    }

    .checkInPage .checkinTableScroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 8px 0;
        border: 1px solid rgba(11, 31, 27, 0.12);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 10px 22px rgba(11, 31, 27, 0.08);
    }

    .checkInPage .checkinTableScroll > table {
        min-width: 660px;
    }

    .checkInPage table.checkinCoachTable {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        table-layout: fixed !important;
        padding: 0 !important;
    }

    .checkInPage table.checkinCoachTable thead td:first-child,
    .checkInPage table.checkinCoachTable tbody td:first-child {
        width: auto !important;
    }

    .checkInPage table.checkinCoachTable thead td:nth-child(2),
    .checkInPage table.checkinCoachTable thead td:nth-child(3),
    .checkInPage table.checkinCoachTable tbody td:nth-child(2),
    .checkInPage table.checkinCoachTable tbody td:nth-child(3) {
        width: 44px !important;
        text-align: center !important;
    }

    .checkInPage table.checkinCoachTable td {
        box-sizing: border-box;
        word-break: break-word;
        overflow-wrap: anywhere;
        padding: 4px 3px !important;
    }

    .checkInPage #vivodDanser thead {
        position: sticky;
        top: 0;
        z-index: 5;
    }

    .checkInPage #vivodDanser thead tr {
        background: linear-gradient(180deg, rgba(217, 240, 233, 0.98) 0%, rgba(206, 235, 227, 0.98) 100%);
    }

    .checkInPage #vivodDanser thead td {
        color: #143d36;
        font-weight: 800;
    }

    .checkInPage #vivodDanser tbody tr:nth-child(even) {
        background: rgba(247, 252, 250, 0.95);
    }

    .checkInPage .sposok_kat_table {
        border-collapse: separate;
        border-spacing: 0;
        border: 1px solid rgba(11, 31, 27, 0.14);
        border-radius: 12px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.92);
    }

    .checkInPage .sposok_kat_table td {
        padding: 8px 10px !important;
        border-bottom: 1px solid rgba(11, 31, 27, 0.1);
    }

    .checkInPage .VCpodcdtnrf {
        width: 100% !important;
        float: none !important;
        margin: 4px 0 !important;
        padding: 10px 12px !important;
        border-radius: 12px;
        border: 1px solid rgba(11, 31, 27, 0.12);
        background: rgba(232, 247, 239, 0.95) !important;
        box-sizing: border-box;
    }

    .checkInPage #submit_s {
        min-height: 42px;
        padding: 0 22px !important;
        font-size: 16px !important;
    }

    .checkInPage .checkinPairBottomBar {
        left: 8px !important;
        right: 8px !important;
        width: auto !important;
        bottom: 8px;
    }

    .checkInPage .checkinPairBottomBar__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px;
        border-radius: 14px;
    }

    .checkInPage .checkinPairBottomBar__info {
        text-align: center;
        font-size: 13px;
    }

    .checkInPage .checkinPairBottomBar__chips {
        display: flex;
        margin: 6px 0 0 0;
        gap: 6px;
        justify-content: center;
    }

    .checkInPage .checkinPairBottomBar__chip {
        width: 100%;
        justify-content: flex-start;
        border-radius: 12px;
    }

    .checkInPage .checkinPairBottomBar__hint {
        margin-top: 6px;
    }

    .checkInPage .checkinPairBottomBar__submit {
        width: 100%;
        min-width: 0;
    }

    .checkInPage .checkinPairBottomSpacer {
        height: 126px;
    }
}

@media (max-width: 640px) {
    .checkInPage .main .shell {
        width: calc(100% - 10px);
    }

    .checkInPage .checkinMenuColumn ul {
        grid-template-columns: 1fr;
    }

    .checkInPage .checkinMenuColumn .couples {
        font-size: 20px;
    }

    .checkInPage .checkinTableScroll > table {
        min-width: 560px;
    }
}

@media (max-width: 980px) {
    .legacyCabinet .profileContent {
        width: 100%;
        float: none;
        clear: both;
        margin-top: 10px;
    }

    .legacyCabinet .profileFormRow {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .legacyCabinet .profileActions,
    .legacyCabinet .profileListAction {
        justify-content: stretch;
    }

    .legacyCabinet .profileSubmit,
    .legacyCabinet .profileLinkBtn {
        width: 100%;
        min-width: 0;
    }

    .legacyCabinet .profileChoiceText {
        font-size: 24px;
    }
}


/* ==========================================================
 * Check-in (mobile): dancer list compact view
 * For /check_in.php?add=1 and /check_in.php?add=2 show only:
 *   - ФИО
 *   - Возраст
 *   - action (tick / checkbox)
 * ========================================================== */
@media (max-width: 760px) {
    .legacyCabinet .profileCard.profileChoice {
        display: none !important;
    }

    .checkInPage.checkInSoloList .checkinTableScroll,
    .checkInPage.checkInPairList .checkinTableScroll {
        overflow-x: hidden !important;
    }

    .checkInPage.checkInSoloList .checkinTableScroll > table,
    .checkInPage.checkInPairList .checkinTableScroll > table {
        min-width: 100% !important;
        width: 100% !important;
    }

    /* Keep only FIO (2), Age (5), Action (6). Hide: book number (1), St (3), La (4). */
    .checkInPage.checkInSoloList table#vivodDanser thead td:nth-child(1),
    .checkInPage.checkInSoloList table#vivodDanser tbody td:nth-child(1),
    .checkInPage.checkInSoloList table#vivodDanser thead td:nth-child(3),
    .checkInPage.checkInSoloList table#vivodDanser tbody td:nth-child(3),
    .checkInPage.checkInSoloList table#vivodDanser thead td:nth-child(4),
    .checkInPage.checkInSoloList table#vivodDanser tbody td:nth-child(4),

    .checkInPage.checkInPairList table#vivodDanser thead td:nth-child(1),
    .checkInPage.checkInPairList table#vivodDanser tbody td:nth-child(1),
    .checkInPage.checkInPairList table#vivodDanser thead td:nth-child(3),
    .checkInPage.checkInPairList table#vivodDanser tbody td:nth-child(3),
    .checkInPage.checkInPairList table#vivodDanser thead td:nth-child(4),
    .checkInPage.checkInPairList table#vivodDanser tbody td:nth-child(4) {
        display: none !important;
    }

    .checkInPage.checkInSoloList table#vivodDanser,
    .checkInPage.checkInPairList table#vivodDanser {
        width: 100% !important;
        table-layout: fixed !important;
    }

    /* Let the name wrap if needed; keep age/action compact. */
    .checkInPage.checkInSoloList table#vivodDanser td:nth-child(2),
    .checkInPage.checkInPairList table#vivodDanser td:nth-child(2) {
        width: auto !important;
        white-space: normal !important;
        word-break: break-word;
    }

    .checkInPage.checkInSoloList table#vivodDanser td:nth-child(5),
    .checkInPage.checkInPairList table#vivodDanser td:nth-child(5) {
        width: 68px !important;
        white-space: nowrap !important;
        font-size: 12px !important;
    }

    .checkInPage.checkInSoloList table#vivodDanser td:nth-child(6),
    .checkInPage.checkInPairList table#vivodDanser td:nth-child(6) {
        width: 42px !important;
        text-align: center !important;
    }

    /* Make action targets finger-friendly */
    .checkInPage.checkInPairList table#vivodDanser input[type="checkbox"] {
        width: 22px;
        height: 22px;
        transform: translateY(2px);
    }

    .checkInPage.checkInSoloList table#vivodDanser td:nth-child(6) a img {
        width: 20px !important;
        height: 20px !important;
    }

    /* Dancers list: mobile cards */
    .legacyCabinet .dancersMasterTableWrap {
        overflow: visible;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .legacyCabinet .dancersMasterTable {
        min-width: 0 !important;
        width: 100% !important;
        border-collapse: separate;
        border-spacing: 0;
        background: transparent;
    }

    .legacyCabinet .dancersMasterTable thead {
        display: none;
    }

    .legacyCabinet .dancersMasterTable tbody,
    .legacyCabinet .dancersMasterTable tr.dancersRow {
        display: block;
        width: 100%;
    }

    .legacyCabinet .dancersMasterTable tr.dancersRow {
        position: relative;
        margin: 0 0 12px;
        padding: 12px;
        border: 1px solid rgba(11, 31, 27, 0.13);
        border-radius: 14px;
        background: #f8fcfb;
    }

    .legacyCabinet .dancersMasterTable tr.dancersRow > td {
        display: block;
        width: 100% !important;
        border: 0 !important;
        background: transparent !important;
        padding: 6px 0 !important;
        text-align: left !important;
    }

    .legacyCabinet .dancersMasterTable tr.dancersRow > td.dancersCol-split {
        display: none !important;
    }

    .legacyCabinet .dancersMasterTable tr.dancersRow > td.dancersCol-gender {
        position: absolute;
        top: 10px;
        right: 10px;
        width: auto !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .legacyCabinet .dancersMasterTable tr.dancersRow > td.dancersCol-book {
        padding-right: 54px !important;
    }

    .legacyCabinet .dancersMasterTable tr.dancersRow > td.dancersCol-book::before,
    .legacyCabinet .dancersMasterTable tr.dancersRow > td.dancersCol-fee::before,
    .legacyCabinet .dancersMasterTable tr.dancersRow > td.dancersCol-class::before,
    .legacyCabinet .dancersMasterTable tr.dancersRow > td.dancersCol-age::before {
        display: block;
        margin: 0 0 4px;
        font-size: 12px;
        font-weight: 700;
        color: rgba(70, 84, 102, 0.9);
    }

    .legacyCabinet .dancersMasterTable tr.dancersRow > td.dancersCol-book::before {
        content: "Книжка / РТС";
    }

    .legacyCabinet .dancersMasterTable tr.dancersRow > td.dancersCol-fee::before {
        content: "Взнос";
    }

    .legacyCabinet .dancersMasterTable tr.dancersRow > td.dancersCol-class:nth-child(5)::before {
        content: "Класс пары";
    }

    .legacyCabinet .dancersMasterTable tr.dancersRow > td.dancersCol-class:nth-child(6)::before {
        content: "Класс соло";
    }

    .legacyCabinet .dancersMasterTable tr.dancersRow > td.dancersCol-age::before {
        content: "Возраст";
    }

    .legacyCabinet .dancersMasterTable tr.dancersRow > td.dancersCol-action {
        width: calc(50% - 6px) !important;
        display: inline-block;
        vertical-align: top;
        padding-top: 10px !important;
    }

    .legacyCabinet .dancersMasterTable tr.dancersRow > td.dancersCol-action .dancersAction {
        width: 100%;
    }

    .legacyCabinet .dancersMasterTable tr.dancersRow > td.dancersCol-action .dancersActionLink,
    .legacyCabinet .dancersMasterTable tr.dancersRow > td.dancersCol-action .dancersActionLink--static {
        width: 100%;
        min-height: 40px;
        border-radius: 14px;
        border: 1px solid rgba(11, 31, 27, 0.15);
        background: #ffffff;
    }

    .legacyCabinet .dancersMasterTable tr.dancersRow > td.dancersCol-action:last-child .dancersActionLink,
    .legacyCabinet .dancersMasterTable tr.dancersRow > td.dancersCol-action:last-child .dancersActionLink--static {
        background: rgba(255, 241, 241, 0.95);
        border-color: rgba(210, 130, 130, 0.4);
    }

    /* Dancers: edit/new card forms must fit mobile width */
    .legacyDancers .dancersFormHeader {
        width: 100% !important;
        box-sizing: border-box;
        padding: 10px 8px !important;
    }

    .legacyDancers .dancersFormHeader > div {
        width: auto !important;
    }

    .legacyDancers .dancersFormHeader > div[style*="width:800px"] {
        float: none !important;
        display: block;
        margin: 0 auto;
    }

    .legacyDancers .dancersFormHeaderTitle {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 17px !important;
        line-height: 1.25;
        text-align: center;
    }

    .legacyDancers .dancersEditFormHeaderTitle {
        width: 100%;
        max-width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .legacyDancers form[name="form1"] > div > div[style*="width:400px"][style*="float: left"],
    .legacyDancers form[name="form1"] > div > div[style*="width:490px"][style*="float: right"],
    .legacyDancers form[name="form10"] > div > div[style*="width:400px"][style*="float: left"],
    .legacyDancers form[name="form10"] > div > div[style*="width:490px"][style*="float: right"] {
        width: 100% !important;
        float: none !important;
        margin: 0 0 10px 0 !important;
        box-sizing: border-box;
    }

    .legacyDancers form[name="form10"] .dancersBirthRowWrap {
        margin-right: 0 !important;
    }

    .legacyDancers form[name="form10"] .dancersGenderRow {
        margin: 6px 0 10px 0 !important;
        width: 100% !important;
        float: none !important;
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
    }

    .legacyDancers form[name="form10"] .dancersGenderRow .dancersGenderOption {
        width: calc(50% - 3px) !important;
        float: none !important;
        margin: 0 !important;
    }

    .legacyDancers form[name="form10"] .dancersGenderRow .dancersGenderOption img {
        width: 54px !important;
        height: auto !important;
    }

    .legacyDancers div[style*="width:98%; float: right"] {
        width: 100% !important;
        float: none !important;
        box-sizing: border-box;
    }

    .legacyDancers table#vivodDanser:not(.dancersMasterTable) {
        width: 100% !important;
        max-width: 100% !important;
        table-layout: fixed !important;
        border-collapse: collapse;
        padding: 0 !important;
    }

    .legacyDancers table#vivodDanser:not(.dancersMasterTable) thead td,
    .legacyDancers table#vivodDanser:not(.dancersMasterTable) tbody td {
        box-sizing: border-box;
        padding: 4px 3px !important;
        font-size: 12px !important;
        line-height: 1.25;
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .legacyDancers table#vivodDanser:not(.dancersMasterTable) td[width="200"] {
        width: auto !important;
    }

    .legacyDancers table#vivodDanser:not(.dancersMasterTable) td[width="20"] {
        width: 34px !important;
    }

    .legacyDancers table#vivodDanser.dancersEditBookTable {
        table-layout: fixed !important;
    }

    .legacyDancers table#vivodDanser.dancersEditBookTable td[width="120"] {
        width: 33.333% !important;
    }

    .legacyDancers table#vivodDanser.dancersEditBookTable td > div {
        width: 100% !important;
        margin: 0 !important;
        float: none !important;
    }

    .legacyDancers table#vivodDanser.dancersEditBookTable input[type="text"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .legacyDancers table#vivodDanser:not(.dancersMasterTable) input[type="text"],
    .legacyDancers table#vivodDanser:not(.dancersMasterTable) select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .legacyDancers table#vivodDanser:not(.dancersMasterTable) div[style*="width:150px"],
    .legacyDancers table#vivodDanser:not(.dancersMasterTable) div[style*="width:100px"],
    .legacyDancers table#vivodDanser:not(.dancersMasterTable) div[style*="width:200px"] {
        width: 100% !important;
        float: none !important;
        margin: 0 0 6px 0 !important;
    }

    .legacyDancers table#vivodDanser:not(.dancersMasterTable) input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

    /* "Класс" block in two rows: (St, St Solo) then (La, La Solo) */
    .legacyDancers #vivodDanser.dancersClassGrid tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .legacyDancers #vivodDanser.dancersClassGrid td {
        width: 100% !important;
        min-width: 0 !important;
        text-align: center;
    }
}
