@font-face{
    font-family: 'FontAwesome';
    src: url('../fonts/fa-solid-900.ttf');
    font-weight: normal;
    font-style: normal;
}

input, textarea{
	outline: none;
}
label{
	color: #686a6b;
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	font-size: 15px;
}
legend{
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	font-size: 16px;
	font-weight: bold;
	color: #535c69;
}
body{
	margin: 0;
	padding: 15px;
}
h3{
	font-size: 15px;
}

.hidden{
	opacity: 0;
}

.setting_note
{
	color: #686a6b;
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	font-size: 11px;   
}

.app_wrap.no_font_size{
	font-size: 0;
}

.table_container table{
	border-collapse: collapse;
	margin-bottom: 15px;
	
	border-bottom: medium none;
	table-layout: fixed;
	font: 12px -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Arial,Helvetica,sans-serif;
	border-spacing: 0px;
	text-align: left;
	color: #000;
}
.table_container table tr:nth-child(n+2){
	border-bottom: solid 1px #edeef0;
}
.table_container table tbody tr {
	border-bottom: solid 1px #edeef0;
}
.table_container table td:nth-child(n+2){
	border-left: solid 1px #edeef0;
}
.table_container table td{
	padding: 12px 3px 12px 7px;
}
.table_container table th{
	padding: 12px 7px 12px 7px;
	background-color: #D4EDF7;
	background-image: linear-gradient(to bottom, #D4EDF7, #B5E1F1);
	border: medium none;
	color: #41474F;
	font-size: 14px;
	text-shadow: 0px 1px #FFF;
	cursor: default;
	font-weight: normal;
	text-align: center;
	position: relative;
	cursor: pointer;
}
.table_container table th:nth-child(n+2)::before{
	content: "";
	display: inline-block;
	height: 23px;
	vertical-align: top;
	margin-left: -1px;
	width: 1px;
	background-color: #B4D7E3;
	box-shadow: 1px 0px 0px #DFF2F9;
	position: absolute;
	left: 0px;
	top: 9px;
}	
.table_container table th:first-child{
	border-radius: 3px 0px 0px 3px;
}
.table_container table th:last-child {
	border-radius: 0px 3px 3px 0px;
}

.table_container table td[class*=cell]{
	text-align: center;
}
.table_container td.print{
	padding-right: 2px;
	padding-left: 2px;
}
.table_container th.print{
	font-size: 8px;
}
.table_container table.print, .circlediag table.print{
	font-size: 7px;
}

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

fieldset{
	border-width: 0;
}

.facebook_btn {
	background: #4661b0;
    width: 40px;
    height: 40px;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    border-right: 10px solid #4661b0;
    border-bottom: 0;
    display: inline-block;
    box-sizing: border-box;
	vertical-align: middle;
}
.facebook_btn.facebook_btn__circle {
	border-right-width: 8px;
	border-radius: 50%;
    width: 33px;
    height: 33px;
}

.facebook_btn:before {
	content: "";
    position: absolute;
    background: #4661b0;
    width: 25px;
    height: 36px;
    top: 10px;
    left: 17px;
    border: 6px solid white;
    border-radius: 9px;
}
.facebook_btn.facebook_btn__circle:before {
	top: 9px;
    left: 12px;
}

.facebook_btn:after {
	content: "";
    position: absolute;
    width: 37px;
    top: 23px;
    height: 6px;
    background: white;
    right: -20px;
}
.facebook_btn.facebook_btn__circle:after {
	top: 20px;
    right: -20px;
}

.prints{
	display: none;
}
.prints .print{
	margin-top: 1px;
}
.print .print_icon{
	display: inline-block; 
	vertical-align: middle;
	background-image: url('../img/iconsprite.png'); 
	background-position: -189px 0px; 
	height: 17px; 
	width: 17px; 
	opacity: 0.9; 
	margin-right: 2px; 
	margin-bottom: 3px;
}
.print .print_text{
	display: inline-block;
}

.appframe{
	height: auto;
}

.main-wrap {
	color: #000;
	font-size: 14px;
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	box-sizing: border-box;
	max-width: 100%;
}
.report-menu {
	margin: 0px 0px 10px;
	padding: 5px 0px 0px;
}
/*.item-wrap {
	border-radius: 5px;
	color: #4F5D67;
	display: inline-block;
	height: 40px;
	line-height: 39px;
	font-size: 15px;
	margin: 2px 5px 6px 0px;
	min-width: 60px;
	text-align: center;
	text-decoration: none;
	outline: 0px none;	
	padding: 0px 10px 0px 8px;
	position: relative;
	vertical-align: top;
	cursor: pointer;
	transition: background-color 0.25s linear 0s;
}
.item-wrap:active, .item-wrap.item-wrap-active{
	background-color: #E3EBED;
	background-image: linear-gradient(to bottom, #DDE7E9, #E9EFF1);
	box-shadow: 1px 1px 1px #BBC3C4 inset;
	border-color: #ABB2B4 #CAD1D3 #E0E6E8;
	border-radius: 3px;
	color: #2F3941;
	height: 38px;
	margin-top: 3px;
	margin-bottom: 5px;
}
.item-wrap:hover{
	background-color: #E3EBED;
	background-image: linear-gradient(to bottom, #E9EFF1, #DDE7E9);
	box-shadow: 1px 1px 1px #BBC3C4 ;
	border-color: #ABB2B4 #CAD1D3 #E0E6E8;
	border-radius: 3px;
	color: #2F3941;
	height: 38px;
	transition: background-color 0.25s linear 0s;
}
.item-wrap.item-wrap-active:hover{
	background-color: #E3EBED;
	background-image: linear-gradient(to bottom, #DDE7E9, #E9EFF1);
	box-shadow: 2px 2px 1px #BBC3C4 inset;
	border-color: #ABB2B4 #CAD1D3 #E0E6E8;
	border-radius: 3px;
	color: #2F3941;
	height: 38px;
	margin-top: 3px;
	margin-bottom: 5px;
}*/

.reports {
	font-size: 0px;
}
.item-wrap {
	display: inline-block;
	line-height: 38px;
	font-size: 0;
	margin: 2px 0px 6px 0px;
	min-width: 60px;
	text-align: center;
	text-decoration: none;
	outline: 0px none;	
	padding: 0px 12px 0px 8px;
	position: relative;
	vertical-align: top;
	cursor: pointer;
	
	border-radius: 2px;
	color: #555;
	text-transform: uppercase;
	height: 40px;
}
.item-wrap:hover{
	background-color: #d6f1fb;
}
.item-wrap  .int_item_head{
	font-size: 12px;
	vertical-align: middle;
	line-height: 41px;
	font-weight: bold;
}
.item-wrap  .interface_item_icon{
	margin-right: 5px;
	display: inline-block; 
	vertical-align: middle;
}
.item-wrap  .interface_item_icon_wrap{
	height: 20px;
}
.item-wrap.item-wrap-active{
	background-color: #d6f1fb;
	border-radius: 2px;
	color: #555;
	text-transform: uppercase;
	height: 40px;
	margin-top: 2px;
	margin-bottom: 6px;
}


.item-wrap.vertical_btn{
	line-height: normal;
	height: auto;
	padding: 8px;
}
.item-wrap.vertical_btn:hover{
	background-color: #d6f1fb;
}
.item-wrap.vertical_btn  .int_item_head{
	margin-top: 8px;
	line-height: 12px;
}
.item-wrap.vertical_btn  .interface_item_icon{
	margin-right: 0;
}
.item-wrap.vertical_btn.item-wrap-active{
	background-color: #d6f1fb;
}


.rephead{
	display: inline-block;
}

.rephead_dur_green{
	color: #008000;
	/* color: #718c58; */
	display: block;
	margin-top: 5px;
}
.rephead_dur_red{
	color: #FF5D40;
	/* color: #f77565; */
	display: block;
	margin-top: 5px;
}

.rephead_dur_green_mobile{
	color: #008000;
	display: inline-block;
	margin-left: 5px;
}
.rephead_dur_red_mobile{
	color: #FF5D40;
	display: inline-block;
	margin-left: 5px;
}

/* start REPORTS */
.item-wrap .report_icon{
	display: inline-block; 
	vertical-align: middle;
	background-image: url('../img/iconsprite.png'); 
	margin-right: 2px; 
	margin-bottom: 1px;
}
.item-wrap.order .report_icon{
	background-image: none;
	height: 17px; 
	width: 17px;
	color: #000;
    font-size: 18px;
}
.item-wrap.report1 .report_icon{
	background-position: -59px 0px;
	height: 17px; 
	width: 17px; 
}
.item-wrap.report2 .report_icon{
	background-position: -96px 0px;
	height: 17px; 
	width: 17px; 
}
.item-wrap.report3 .report_icon{
	background-position: -135px 0px;
	height: 17px; 
	width: 17px; 
}
.item-wrap.report4 .report_icon{
	background-position: -208px 0px;
    height: 17px;
    width: 22px;
}
.item-wrap.report5 .report_icon{
	background-position: -253px 0px;
	height: 17px; 
	width: 17px; 
}
.item-wrap.report7 .report_icon{
	background-position: -314px 0px;
	height: 17px; 
	width: 18px; 
}
.item-wrap.report8 .report_icon{
	background-position: -359px 0px;
	height: 17px; 
	width: 18px; 
}
.item-wrap.report9 .report_icon {
    background-position: -233px 0px;
    height: 17px;
    width: 17px;
}
/* end REPORTS */


.item-date-wrap {
	border: solid 1px #a1a6ac;
	border-right-width: 0px;
	color: #4F5D67;
	display: inline-block;
	height: 30px;
	line-height: 30px;
	font-size: 15px;
	min-width: 60px;
	text-align: center;
	text-decoration: none;
	outline: 0px none;	
	padding: 0px 12px 0px 8px;
	position: relative;
	vertical-align: top;
	cursor: pointer;
	transition: background-color 0.25s linear 0s;
}
.item-date-wrap.last{
	border-radius: 0px 2px 2px 0px;
	border-right-width: 1px;
}
.item-date-wrap.first {
	border-radius: 2px 0px 0px 2px;
}
.item-date-wrap:active, .item-date-wrap.item-date-wrap-active{
	background-color: #E3EBED;
	background-image: linear-gradient(to bottom, #DDE7E9, #E9EFF1);
	color: #2F3941;
}
.item-date-wrap:hover{
	background-color: #E3EBED;
	background-image: linear-gradient(to bottom, #E9EFF1, #DDE7E9);
	color: #2F3941;
}
.item-date-wrap.item-date-wrap-active:hover{
	background-color: #E3EBED;
	background-image: linear-gradient(to bottom, #DDE7E9, #E9EFF1);
	color: #2F3941;
}

.main-interface{
	opacity: 0;
	/*transition: opacity 0.25s linear 0s;*/
	display: none;
}
.mobile_filter_wrap{
	display: block;
}
.main-interface .main_header{
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	color: #4F5D67;
	font-size: 18px;
	height: 21px;
}

.secthead{
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	color: #4F5D67;
	font-size: 18px;
	height: 21px;
}
.secthead.filter_title{
	display: inline-block; 
	width: 155px;
	vertical-align: middle;
	margin: 0;
	text-align: left;
}

.filter_field_wrap{
	margin-left: 43px;
	display: inline-block;
	font-size: 0;
}
.filter_field_wrap:first-child{
	margin-left: 0;
}
.filter_field_wrap.filter_field_wrap-blocked .filter_title, .filter_field_wrap.filter_field_wrap-blocked .mobile_field_section_r {
	opacity: 0.44;
	pointer-events: none;
	cursor: default;
}
.filter_field_wrap.filter_field_wrap-blocked .filter_title *, .filter_field_wrap.filter_field_wrap-blocked .mobile_field_section_r * {
	pointer-events: none;
	cursor: default;
}

.filter_field_wrap.filter_field_wrap-blocked .filter_title {
	padding-left: 25px;
}
.filter_field_wrap.filter_field_wrap-blocked .secthead.filter_title {
	width: calc(155px - 25px);
}

.filter_field_wrap .field_error_info {
	display: none;
	position: absolute;
	margin-left: 0px;
    margin-top: 6px;
	background-image: url(../img/iconsprite-red.png);
	z-index: 1;
}
.filter_field_wrap .field_error_info .field_error_info {
	z-index: 2;
}
.filter_field_wrap.filter_field_wrap-blocked .field_error_info {
	display: block;
}
	
.timegroups{
	display: inline-block; 
	vertical-align: middle;
}
.calltypes{
	display: inline-block; 
	vertical-align: middle;
}

.filter_line{
	margin: 20px 0px;
	font-size: 0;
}

.formreport.desctop{
	margin: 15px 0;
}
.formreport.mobile{
	display: none;
	width: 47.5%;
    height: 32px;
    line-height: 30px;
	box-sizing: border-box;
	text-align: center;
	margin: 0;
}
.formreport.mobile {
	margin: 10px 0;
}

.formreport_icon{
	display: inline-block; 
	vertical-align: middle;
	background-image: url('../img/iconsprite.png'); 
	background-position: -163px 0px; 
	height: 17px; 
	width: 17px; 
	opacity: 0.85; 
	margin-right: 2px;
}
.formreport_text{
	display: inline-block; 
	vertical-align: middle;
	margin-top: 1px;
}
.fakeformreport.desctop{
	margin: 15px 0; 
	display: none;
}
.fakeformreport.mobile{
	display: none;
	width: 47.5%;
    height: 32px;
    line-height: 30px;
	box-sizing: border-box;
	text-align: center;
	margin: 0;
}
		
a.settings{
	float: right;
}

.blue_link,
.blue_link:visited,
.blue_link:active{
	display: inline-block;
	color: #2067b0;
	font-size: 15px;
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	text-decoration: underline;
	cursor: pointer;
}

.feat-grey{
	height: 39px;
	line-height: 40px;
	margin: 0 12px 0 0;
	background: #ecedef;
	box-shadow: 0 0 0 1px #c6cdd3 inset;
	border-radius: 2px;
	cursor: pointer;
	color: #7a818a;
	display: inline-block;
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	font-size: 12px;
	font-weight: bold;
	outline: 0;
	padding: 0 18px;
	vertical-align: middle;
	text-transform: uppercase;
	text-shadow: none;
	white-space: nowrap;
	-webkit-font-smoothing: antialiased;
	transition: background-color .25s linear;
}
.feat-grey:active{
	background-color: #868d95;
}
.feat-grey:hover{
	background-color: #dddee1;
}
.feat-green{
	font-size: 12px;
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	font-weight: bold;
	line-height: 40px;
	height: 40px;
	margin: 0 12px 0 0;
	background: #bbed21;
	box-shadow: none;
	color: #535c69;
	border-radius: 2px;
	cursor: pointer;
	display: inline-block;
	outline: 0;
	padding: 0 18px;
	vertical-align: middle;
	text-decoration: none;
	text-transform: uppercase;
	text-shadow: none;
	white-space: nowrap;
	transition: background-color .25s linear;
}
.feat-green:active{
	background-color: #b2e233;
}
.feat-green:hover{
	background-color: #d2f95f;
}	
.feat-white{
	height: 39px;
	line-height: 40px;
	margin: 0 12px 0 0;
	background: #ecedef;
	box-shadow: 0 0 0 1px #c6cdd3 inset;
	border-radius: 2px;
	cursor: pointer;
	color: #7a818a;
	display: inline-block;
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	font-size: 12px;
	font-weight: bold;
	outline: 0;
	padding: 0 18px;
	vertical-align: middle;
	text-transform: uppercase;
	text-shadow: none;
	white-space: nowrap;
	-webkit-font-smoothing: antialiased;
	transition: background-color .25s linear;
}
.feat-white:active{
	background-color: #868d95;
}
.feat-white:hover{
	background-color: #dddee1;
}

.x-close{
	float: right; 
	width:9px; 
	height:9px; 
	background: transparent url('../img/x-close.png') no-repeat; 
	cursor: pointer;
}

.settings_btn_wrap{
	float: right;
}
.settings_btn_wrap .settings_btn_icon{
	display: inline-block; 
	vertical-align: middle;
	background-image: url('../img/iconsprite.png'); 
	background-position: -31px 1px; 
	height: 17px; 
	width: 17px; 
	opacity: 0.85;
	margin-right: 2px;
}
.settings_btn_wrap .settings_btn_text{
	display: inline-block; 
	vertical-align: middle;
	margin-top: 1px;
}
.settingsform{
	display: none;
	background-color: #fff;
	position: absolute;
	top: 20px;
	left: 50%;
	width: 790px;
	margin-left: -395px;
	padding: 10px;
	box-shadow: 0px 0px 21px 5px rgba(83, 92, 105, 0.15);
	
	z-index: 920;
}
.settingsform .settingsform_head{
	float: left; 
	font: bold 14px 'Roboto', 'Helvetica Neue', Helvetica, Arial; 
	margin-top:5px; 
	color: #80868e;
}
	
.tabscontent{
	border: 1px solid #c6cdd3;
	border-top: none;
	padding: 10px;
}

.tabscontent fieldset{
	padding: 0 10px 10px !important;
}
	
.tab{
	display: inline-block;
	position: relative;
	height: 30px;
	line-height: 30px;
	background-color: #eef2f4;
	padding: 5px 10px;
	border-radius: 2px 2px 0px 0px;
	cursor: pointer;
}
.tabs{
	position: relative;
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: #535c69;
	margin: 15px 0px 0px;
}
.tab.selected{
	background-color: #fff;
	border: 1px solid #c6cdd3;
	border-bottom: 1px solid #fff;
	cursor: default;
}
.tabs::before{
	display: block;
	border-bottom: 1px solid #c6cdd3;
	width: 100%;
	content: "";
	position: absolute;
	bottom: 0px;
}
	
.formfooter{
	margin-top: 10px;
	text-align: center;
}
.formfooter.detailformfooter{
	margin-bottom: 15px;
    text-align: left;
    padding-left: 20px;
}
.formfooter .save{
	margin: 1px 5px 0 0;
	text-transform: uppercase;
}
.formfooter .reset{
	margin-top: 1px;
	text-transform: uppercase;
}
.formcontent{
	display: none;
	padding: 15px;
	min-height: 345px;
}
.formcontent.selected{
	display: block;
}
.formcontent .set_ls{
	width: 500px;
	float: left;
	margin: 0;
	box-sizing: border-box;
}
.formcontent .set_rs{
	width: 370px;
	float: left;
	margin: 0 0 0 20px;
	box-sizing: border-box;
}
.formcontent .standrep_ls{
	width: 345px;
	float: left;
	display: inline-block;
}
.formcontent .standrep_rs{
	width: 345px;
	float: left;
	display: inline-block;
}
.formcontents fieldset{
	border: 0px solid #cfd5d7;
	border-top-width: 1px;
}
.formcontents fieldset:last-child{
	padding-bottom: 0px;
}
.formcontents fieldset:nth-child(1){
	margin: 0;
}
.formcontents input[type=text]{
	border: 1px solid #000;
	font-family: "Open Sans", sans-serif;
	color: #686a6b;	
	border-radius: 2px;
	border: solid 1px #a1a6ac;
	box-sizing: border-box;
	text-align: center;
}	
.formcontents input[type=checkbox]{
	color: #686a6b;
}

.formcontents label[for*=timestat], 
.formcontents label[for*=productivestat], 
.formcontents label[for*=successfulstat],
.formcontents label[for*=missedstat],
.formcontents label[for*=countstat],
.formcontents label[for*=failedstat],
.formcontents label[for*=uniqstat],
label.callstatinfolabel{
	color: #868e97;
	font-size: 15px;
}
.formcontents label[for*=productivedur], 
.formcontents label[for*=successfuldur]{
	color: #686a6b;
	font-size: 15px;
}
	
.daterange{
	height: 32px;
	border-radius: 2px;
	border: solid 1px #a1a6ac;
	box-sizing: border-box;	
	font-size: 14px;
	font-weight: bold;
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	color: #444;
	display: inline-block;
	vertical-align: middle;
	cursor: pointer;
	
	display: inline-block;
	position: relative;
	padding: 0 10px;
	margin-left: 20px;
	
	transition:  background-color 0.25s linear 0s;
}
.daterange:hover{
	background-color: #dddee1;
	transition:  background-color 0.25s linear 0s;
}
.daterange-selected{
	background-color: #dddee1;
}
.daterange:hover{
	background-color: #dddee1;
	transition:  background-color 0.25s linear 0s;
}
.daterange .daterange_icon{
	display: inline-block; 
	vertical-align: middle;
	background-image: url('../img/iconsprite.png'); 
	background-position: -233px 0px; 
	height: 17px; 
	width: 17px; 
	opacity: 0.7; 
	margin-right: 2px; 
	/*position: absolute;
	left: 5px; 
	top: 8px;*/
}
.daterange .daterange_range{
	display: inline-block;
    vertical-align: middle;
    line-height: 30px;
    box-sizing: border-box;
    padding-top: 1px;
}

.departments{
	display: inline-block; 
	vertical-align: middle;
}

.lines{
	display: inline-block; 
	vertical-align: middle;
}

.overlay {
	background-color: rgba(255, 255, 255, 0.9);
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	position: fixed;
	display: none;
	z-index: 915;
}
		
span.select2-dropdown.select2-dropdown--below{
	margin-top: 7px;
	border: 1px solid #E8E8E8;
	box-shadow: 2px 6px 21px rgba(83, 92, 105, 0.15);
	border-radius: 0px;	
	font-size: 14px;
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	color: #444;
	padding: 3px 6px;
	z-index: 925;
}
.select2_dropdown_wrap span.select2-dropdown.select2-dropdown--below{
	z-index: 905;
}
.select2-container, .select2-selection{
	outline: none;
}
.select2-selection{
	background-color: #fff;
	transition:  background-color 0.25s linear 0s;
}
.select2-selection:hover{
	background-color: #dddee1;
	transition:  background-color 0.25s linear 0s;
}
.select2-selection__rendered{
	font-weight: bold;
	font-size: 12px;
	text-shadow: none;
	text-transform: uppercase;
}
.select2-results__options{
	padding: 6px;
}
.select2-results__option:hover{
	background-color: #E3EBED;
	background-image: linear-gradient(to bottom, #DDE7E9, #E9EFF1);
	box-shadow: 1px 1px 1px #BBC3C4 inset;
	border-color: #ABB2B4 #CAD1D3 #E0E6E8;
	border-radius: 3px;
}
.select2-results__options .select2-results__option[aria-selected=true] {
	background-color: #FFF;
	color: #444;
}
.select2-results__options .select2-results__option.select2-results__option--highlighted{
	background-color: #FFF;
	color: #444;
}

/*progressbar*/
.progressbar{
	font-size: 0;
	display: none;
}
.progressbar .processband_wrap{
	height: 15px;
	width: 165px;
	border: solid 1px #a1a6ac;
	border-radius: 2px;
	display: inline-block;
	vertical-align: middle;
	text-align: left;
}
.progressbar .process{
	font-size: 14px;
	font-weight: bold;
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	color: #444;
	display: inline-block;
	vertical-align: middle;
	line-height: 17px;
	margin-left: 5px;
}
.progressbar .processband{
	background: #bbed21;
	height: 100%;
	display: inline-block;
}

.schedule .schedule_input{
	font-weight: bold;
    font-size: 12px;
    text-shadow: none;
    text-transform: uppercase;
	text-align: center;
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	color: #444;
	
	width: 78px;
    box-sizing: border-box;
    height: 38px;
    line-height: 38px;
    vertical-align: middle;
    border-radius: 2px;
    border: 1px solid #aaa;
    padding: 0 8px;
}
.diaghead{
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	color: #4F5D67;
	font-size: 18px;
	height: 21px;
	opacity: 0;
	transition: opacity 0.35s linear 0s;
}
.totaltablewrap{
	position: relative;
}
.totaltablewrap .totaltable th{
	cursor: default;
}
.table_container .int_table th{
	cursor: default;
}
.table_container .report_table .fio_link:link,
.table_container .report_table .fio_link:visited,
.table_container .report_table .fio_link:active
{
	color: #000;
	text-decoration: underline;
}
.table_container .report_table .fio_link:hover
{
	text-decoration: none;
}
.table_container .report_table .fio_disabled:link,
.table_container .report_table .fio_disabled:visited,
.table_container .report_table .fio_disabled:active
{
	color: #000;
	text-decoration: none;
	cursor: default;
}
.table_container .report_table .fio_disabled:hover
{
	text-decoration: none;
}

/* .table_container .report_table_total .fio_link:link, */
/* .table_container .report_table_total .fio_link:visited, */
/* .table_container .report_table_total .fio_link:active */
/* { */
	/* color: #000; */
	/* text-decoration: none; */
	/* cursor: default; */
/* } */
.table_container .report_table .fio_link_total:hover
{
	text-decoration: none;
}

.xls_download{
	display: none;
	margin-top: 1px;
}
.xls_download .xls_download_icon{
	display: inline-block; 
	vertical-align: middle;
	background-image: url('../img/iconsprite.png'); 
	background-position: -292px 1px; 
	height: 17px; 
	width: 17px; 
	opacity: 0.6; 
	margin-right: 2px; 
	margin-bottom: 3px;
}
.xls_download .xls_download_text{
	display: inline-block; 
	color: #009000;
}

/* install*/
.preset_form .preliminary{
	border: 1px solid #cfd5d7; 
	padding-bottom: 10px;
}
.preset_form .formcontents{
	background: #ecf2f3;
}

.report_info{
	height: 17px;
	width: 18px;
	background-image: url('../img/iconsprite.png');
    background-position: -337px 0px;
	display: inline-block;
	vertical-align: middle;
	transition: opacity 0.25s linear 0s;
	opacity: 0.7;
	cursor: pointer;
	margin-left: 7px;
	position: relative;
	z-index: 910;
}
.report_info:hover{
	transition: opacity 0.25s linear 0s;
	opacity: 1;
}

.report_popup {
	display: none;
	background-color: #fff;
	/* position:fixed (НЕ absolute): fixed-элемент не входит в documentElement.scrollHeight,
	   поэтому подсказка НЕ растит высоту фрейма и не создаёт петлю ресайза (absolute вылезал за
	   низ короткого фрейма → рос scrollHeight → фрейм рос → 100vh рос → рекурсия). Позицию у иконки
	   выставляет JS (initReportTooltips в frame-height.js); top/left ниже — фолбэк, если JS не отработал. */
	position: fixed;
	top: 80px;
	left: 40px;
	width: 525px;
	padding: 16px 20px;
	border: 1px solid #e6eaf0;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(31, 45, 61, 0.16);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', Helvetica, Arial, sans-serif;
	color: #384552;
	font-weight: normal;
	font-size: 15px;
	line-height: 1.55;
	z-index: 99901;
	/* fixed → 100vh = реальный вьюпорт (стабилен, без петли); длинный текст скроллится внутри. */
	max-height: calc(100vh - 24px);
	overflow-y: auto;
	overflow-x: hidden;
}
.report_popup::-webkit-scrollbar { width: 8px; }
.report_popup::-webkit-scrollbar-thumb { background: #cfd6e0; border-radius: 8px; }
.report_popup::-webkit-scrollbar-track { background: transparent; }
/* .report_popup.report2_popup{ */
	/* left: 285px; */
/* } */
/* .report_popup.report3_popup{ */
	/* left: 325px; */
/* } */
/* .report_popup.report4_popup{ */
	/* left: 250px; */
/* } */
/* .report_popup.report5_popup{ */
	/* left: 275px; */
/* } */
/* .report_popup.report7_popup{ */
	/* left: 230px; */
/* } */
/* .report_popup.report8_popup{ */
	/* left: 230px; */
/* } */

.detail_calls_popup{
	display: none;
	background-color: #fff;
	position: absolute;
	top: 20px;
	left: 50%;
	width: 90%;
	margin-left: -45%;
	padding: 10px;
	box-shadow: 0px 0px 21px 5px rgba(83, 92, 105, 0.15);
	
	z-index: 99901;
}
.detail_calls_popup .detail_table{
	border-collapse: collapse;
	border-bottom: medium none;
	table-layout: fixed;
	font: 12px -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Arial,Helvetica,sans-serif;
	border-spacing: 0px;
	text-align: left;
	color: #000;
	margin: 0 20px 25px 20px;
}
.detail_calls_popup .detail_table tr {
	border-bottom: solid 1px #edeef0;
}
.detail_calls_popup .detail_table td:nth-child(n+2){
	border-left: solid 1px #edeef0;
}
.detail_calls_popup .detail_table td{
	padding: 6px 7px 6px 7px;
	font-size: 10px;
	text-align: center;
}
.detail_calls_popup .detail_table th{
	padding: 12px 7px 12px 7px;
	background-image: linear-gradient(to bottom, #D4EDF7, #B5E1F1);
	border: medium none;
	color: #41474F;
	font-size: 12px;
	text-shadow: 0px 1px #FFF;
	cursor: default;
	font-weight: normal;
	text-align: center;
	position: relative;
	cursor: pointer;
}
.detail_calls_popup .detail_table th:nth-child(n+2)::before{
	content: "";
	display: inline-block;
	height: 23px;
	vertical-align: top;
	margin-left: -1px;
	width: 1px;
	background-color: #B4D7E3;
	box-shadow: 1px 0px 0px #DFF2F9;
	position: absolute;
	left: 0px;
}	
.detail_calls_popup .detail_table th:first-child{
	border-radius: 3px 0px 0px 3px;
}
.detail_calls_popup .detail_table th:last-child {
	border-radius: 0px 3px 3px 0px;
}
/*
.detail_calls_popup .detail_table td[class*=cell]{
	text-align: center;
}
*/

.detail_calls_popup .detail_table .detail_content_phone_cont {
	position: relative;
	padding-left: 25px;
}
.detail_calls_popup .detail_table .detail_content_phone_call {
	position: absolute;
    display: inline-block;
    background-image: url(../img/iconsprite.png);
    background-position: -383px 0px;
    width: 15px;
    height: 15px;
    top: calc(50% - 9px);
    left: 5px;
	cursor: pointer;
}
.detail_calls_popup .detail_table .detail_content_phone_call:hover {
	opacity: 0.5;
}


.detail_calls_popup .detail_calls_popup_content{
	width: 100%;
	overflow: auto;
	max-height: 500px;
}

.detail_calls_popup a:link,
.detail_calls_popup a:active,
.detail_calls_popup a:visited{
	color: #000;
    text-decoration: underline;
}

.detail_calls_popup a:hover{
	color: #000;
    text-decoration: none;
}

.detail_calls_popup .spot_all_clients_wrap{
	margin-top: 5px;
	font-size: 11px;
}
.detail_calls_popup .spot_all_clients{
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Arial,Helvetica,sans-serif;
    font-size: 10px;
}

.settings_title{
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
    font-size: 24px;
    text-align: center;
    font-weight: bold;
    color: #535c69;
	text-align: left;
}

.detail_calls_popup_loading{
	margin: 15px;
	display: none;
}
.detail_calls_popup_loading .detail_calls_popup_loading_icon{
	width: 220px;
	height: 19px;
	background-image: url('../img/content_loader.gif');
}

.loading{
	display: inline-block;
	background-position: 5px 8px;
    background-repeat: no-repeat;
	padding-left: 30px;
}

.set_loading{
	display: inline-block;
	vertical-align: middle;
	width: 16px;
	height: 16px;
}

.date-picker{
	height: 0;
}

.settingsform .manset{
	font-size: 0;
}
.settingsform .settingsform_input_field {
    font-weight: bold;
    font-size: 12px;
    text-shadow: none;
    text-transform: uppercase;
    font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
    width: 172px;
    height: 32px;
    line-height: 34px;
    vertical-align: middle;
    border-radius: 2px;
    border: 1px solid #aaa;
    padding: 2px 8px 0;
	box-sizing: border-box;
	text-overflow: ellipsis;
}

.colorpicker_wrap{
	position: relative;
}
.colorpicker_wrap .colorpicker_overlay{
	position: absolute;
	top: 0;
	left: 0;
	background-color: #aaa;
	border-radius: 2px;
	opacity: .5;
	height: 100%;
    width: 100%;
	display: block;
}

.settingsform .manset_blocks{
	text-align: center;
}
.settingsform .manset_block{
	display: inline-block;
	margin-right: 30px;
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	text-align: left;
}
.settingsform .manset_block:last-child{
	margin-right: 0;
}

.set_save{
	margin-top:10px; 
	text-align: center; 
	width: 75px; 
	line-height: 38px;
}

.dateitems_wrap{
	display: inline-block;
	vertical-align: middle;
}

.interface_mobile_wrap{
	display: none;
	font-size: 0;
}
.interface_mobile_wrap.with_offset{
	margin-top: 35px;
}

.int_header{
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif; 
	color: #4F5D67; 
	font-size: 18px; 
}

.mobile_show_hide_filter_wrap{
	display: none;
	margin: 10px auto;
	text-align: left;
}
.mobile_show_hide_filter{
	display: inline-block;
	text-align: left;
}

.reports_mobile_wrap{
	display: inline-block;
}

.message{
	display: none;
}

.mobile_field_section_l{
	display: inline-block;
}
.mobile_field_section_r{
	display: inline-block;
}

.daterangeitems_mobile_wrap{
	display: none;
}

.input_field{
	font-weight: bold;
    font-size: 12px;
    text-shadow: none;
    text-transform: uppercase;
	text-align: center;
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	color: #444;
	
    box-sizing: border-box;
    height: 30px;
    line-height: 32px;
    vertical-align: middle;
    border-radius: 2px;
    border: 1px solid #aaa;
    padding: 0 8px;
	
	transition:  background-color 0.25s linear 0s;
	margin: 0 !important;
}
.input_field:hover{
	background-color: #dddee1;
	transition:  background-color 0.25s linear 0s;
}

.settingsform .set_sched_input{
	width: 69px;
}

.settingsform .schedule_wrap{
	text-align: left;
	margin-top: 18px;
	font-size: 0;
}
.settingsform .selectcolor_wrap{
	text-align: left;
}
.settingsform .schedule_block{
	margin-top: 20px;
}

.dur_input{
	width: 65px;
	margin-bottom: 10px;
}

.datetime_delimiter{
	display: inline-block;
	width: 30px;
	text-align: center;
	vertical-align: middle;
}
.datetime_delimiter:after{
	content: "-";
	font-size: 12px;
}

.schedule_input{
	width: 70px;
}

.schedule_interval_filter_block{
	display: inline-block;
}

.ui-timepicker .periods{
	display: none;
}

.set_block_body{
	padding: 10px;
}
.settings_checkbox_label{
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
    color: #4F5D67;
    font-size: 17px;
    display: block;
	padding-left: 20px;
	position: relative;
	line-height: 20px;
}
.settings_checkbox{
	position: absolute;
	top: 0;
	left: 0;
}
/* .disregard_internal_calls_body{ */
	/* padding-left: 10px; */
	/* margin-top: 5px; */
	/* display: none; */
/* } */
.disregard_internal_calls_length_body{
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
    color: #4F5D67;
    font-size: 17px;
    display: none;
    padding-left: 10px;
	margin-top: 5px;
}
.disregard_internal_calls_length_input{
	font-family: "Open Sans", sans-serif;
    color: #686a6b;
    border-radius: 2px;
    border: solid 1px #a1a6ac;
    box-sizing: border-box;
	width: 50px;
    font-size: 12px;
    height: 25px;
	font-weight: bold;
	text-align: center;
}

.open_line_btn {
	cursor: pointer;
	display: inline-block;
	position: relative;
}
.open_line_btn .open_line_btn_icon {
	display: inline-block;
    vertical-align: middle;
    height: 19px;
    width: 19px;
    margin-right: 2px;
    opacity: 0.6;
    font-size: 14px;
    line-height: 20px;
}
.open_line_btn .open_line_btn_text{
	display: inline-block; 
	vertical-align: middle;
	margin-top: 1px;
}
	
/* print */
@media print {
	.table_container table td, .table_container table th{
		border: #000 1px solid;
		padding: 2px 3px;
		color: #000;
		border-radius: 0px;
		background-image: none;
		background-color: transparent;
	}
	.table_container table th:nth-child(n+2)::before{
		content: "";
		display: none;
	}
	.table_container table tr:nth-child(n+2){
		border-bottom: solid 0px #edeef0;
	}
	.table_container table td:nth-child(n+2){
		border-left: solid 0px #edeef0;
	}
	.table_container h2{
		color: #4f4f4f;
	}
	
	.table_wrap {
		overflow-x: visible;
	}
}

@media (min-width: 769px) {
    .filter_title.filter_title-small {
       display: none; 
    }
}

@media screen and (max-width: 768px){
	.ui-widget{
		font-size: 14px;
	}
	.datetime_delimiter.schedule_filter_delimiter{
		width: 15%;
	}
	
	.schedule_input{
		width: 40%;
	}
	
	.main-wrap{
		padding: 5px;
		box-sizing: border-box;
		margin: 0 auto;
		text-align: center;
	}
	.main_header{
		display: none;
	}
	
	.table_container{
		margin: 0;
	}
	
	.secthead.filter_title{
		width: auto;
		padding-left: 3px;
		box-sizing: border-box;
		float: left;
		font-size: 17px;
		line-height: 32px;
	}
	.secthead.period_choose{
		display: none !important;
	}
	
	.dateitems_wrap{
		display: none;
	}
	.reports{
		display: none;
	}
	.daterangeitems_mobile_wrap{
		display: inline-block;
	}
	.interface_mobile_wrap{
		display: block;
	}
	
	.settings_btn_wrap{
		display: none;
	}
	
	.daterange{
		font-size: 11px;
		margin-left: 0;
		width: 95%;
		box-sizing: border-box;
		text-align: left;
	}
	.daterange .daterange_icon{
		display: none;
	}
	
	.main-interface{
		display: block;
		opacity: 1;
	}
	.filter_field_wrap{
		display: block;
		margin: 20px 0;
	}
	
	.mobile_filter_wrap{
		display: none;
	}
	
	.prints{
		display: none !important;
	}
	
	.formreport_icon{
		display: none;
	}
	
	.diagram{
		position: static !important;
	}
	
	.int_header{
		text-align: left;
		font-size: 15px;
	}
	
	.formreport.desctop{
		display: none !important;
	}
	.formreport.mobile{
		display: inline-block;
	}
	.fakeformreport.desctop{
		display: none !important;
	}
	
	.mobile_show_hide_filter_wrap{
		display: block;
	}
	
	.interface_mobile_formreport_wrap{
		text-align: left;
		margin: 0 auto;
	}
	
	.table_wrap{
		position: relative;
		-webkit-overflow-scrolling: touch;
	}
	
	.mobile_field_section_wrap:after{
		content: "";
		display: block;
		clear: both;
	}
	.mobile_field_section_l{
		float: left;
		width: 50%;
		text-align: left;
	}
	.mobile_field_section_r{
		float: right;
		width: 50%;
		text-align: right;
	}
	
	.select2-selection__rendered{
		font-size: 11px;
		text-align: left;
	}
	
	/* .reports_mobile_dropdown{ */
		/* width: 70% !important; */
	/* } */
}



/* mobile install*/
@media screen and (max-width: 990px){
	.preset_form{
		text-align: center;
	}
	.preset_form .preliminary{
		float: none;
		display: inline-block;
		margin-top: 20px;
		width: 500px;
	}
}


.select2-container--default .select2-results__option {
    margin-top: 2px;
}

.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}
/*
.select2-container--default .select2-results__option[aria-selected=true] {
    background-image: linear-gradient(to bottom, #DDE7E9, #E9EFF1);
    border-radius: 3px;
}
*/
.select2-container--default .select2-selection.select2-selection--multiple {
    max-height: 100%;
    min-height: 28px;
    height: 28px;
}

.select2-container--default .select2-selection.select2-selection--multiple .select2-selection__choice {
    display: inline;
    background-color: transparent;
    border: none !important;
    padding: 0;
    margin: 0;
    color: #444;
    float: none;
}

.select2-container--default .select2-selection.select2-selection--multiple .select2-selection__choice ~ .select2-selection__choice:before {
    content: ', ';
    display: inline;
}

.select2-container--default .select2-selection.select2-selection--multiple .select2-selection__choice__remove {
    display: none;
}

.select2-container--default .select2-selection.select2-selection--multiple .select2-search--inline {
    display: none;
}

.select2-container--default .select2-selection.select2-selection--multiple .select2-selection__rendered {
    line-height: 30px;
    max-height: 100%;
    width: calc(100% - 20px);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    height: 100%;
}

.select2-container--default .select2-selection.select2-selection--multiple .select2-selection__rendered:after {
    content: ' ';
    position: absolute;
    width: 36px;
    height: 30px;
    top: 1px;
    right: 1px;
    cursor: pointer;
    line-height: 30px;
    background-color: transparent;
    background-image: url(../img/arrow.png);
    background-position: 50%;
    background-repeat: no-repeat;
    border-radius: 4px;
}


    
.select2-dropdown_multi .select2-results__option  {
    text-indent: 24px;
    position: relative;
}

.select2-container--default .select2-results__option .select2-results__checkbox {
    position: absolute;
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: solid 2px #c5ccd2;
    background-color: #fcfcfc;
    left: 5px;
    top: 3px;
    text-indent: 0;
}
.select2-container--default .select2-results__option:hover .select2-results__checkbox {
    border-color: #c6cdd3;
}
.select2-container--default .select2-results__option[aria-selected=true] .select2-results__checkbox:after {   
    content: "\f00c";
    position: absolute;
    font-family: FontAwesome;
    font-size: 10px;
    width: 14px;
    height: 14px;
    line-height: 14px;
    left: 0px;
    bottom: 0;
    text-align: center;
    color: #c5ccd2;
}

.select2-container--default .select2-dropdown .select2-close {
	position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 100000;
    top: 0px;
    right: -24px;
}
.select2-container--default .select2-dropdown .select2-close:after {
	content: "\f00d";
    position: absolute;
    font-family: FontAwesome;
    font-size: 14px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    left: 0px;
    bottom: 0;
    text-align: center;
    color: #c5ccd2;
}
.select2-container--default .select2-dropdown .select2-close:hover:after {
    color: #a8afb5;
}


@media (min-width: 769px) {  
    .filter_field_wrap-half .select2-container {
        width: 140px !important;
    }  
    .filter_field_wrap-half ~ .filter_field_wrap-half {
        margin-left: 10px;
    } 
    .filter_field_wrap-half ~ .filter_field_wrap-half .select2-container {
        width: 175px !important;
    }
}
@media (max-width: 768px) {   
    .filter_field_wrap-half .select2-container {
        width: 95% !important;
    }
	
	.filter_field_wrap .report_popup {
		max-width: 300px;
		width: 300px;
	}
}

.detail_calls_popup .detail_table .content_cell_comments,
.detail_calls_popup .detail_table .detail_content_cell_deal {
	text-align: left;
}
.content_cell_comments_other {
	margin-top: 4px;
}
.content_cell_comments_head {
	font-weight: bold;
}
.content_cell_comments_comm ~ .content_cell_comments_head {
	margin-top: 4px;
}
.content_cell_comments_comm {
	margin-top: 4px;
}

.trigger-link {
	display: inline-block;
    text-decoration: none;
    border-bottom: 1px dashed #2067b0;
    cursor: pointer;
    color: #2067b0;
}
.trigger-link:hover {
    border-bottom: 1px dashed #155291;
    color: #155291;
}
.formreport-trigger-link {
	text-align: left;
}

.detail_calls_popup .detail_table .content_cell_client  {
	white-space: nowrap;
    text-align: left;
}

.detail_content_group .detail_content_row ~ .detail_content_row .detail_content_cell_deal,
.detail_content_group .detail_content_row ~ .detail_content_row .content_cell_comments {
	display: none;
}


.detail_table.detail_table_without_phones td.detail_content_phone_cont,
.detail_table.detail_table_without_phones thead .fio:nth-child(2), 
.detail_table.detail_table_without_phones tfoot .fio:nth-child(2) {
	display: none !important;
}


.detail_table.detail_table_with_deals  th:not(.fio):not(.bold),
.detail_table.detail_table_with_deals  th:not(.fio):not(.bold):hover  {
	cursor: default;
}

.disabled {
    opacity: 0.44;
}
.disabled, .disabled * {
    pointer-events: none;
    cursor: default; 
}

.order-iframe {
	width: 100%;
	height: 600px;
	border: none;
}


.menu-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
    margin-right: 12px;
	border: solid 1px #c4cdd5;
    box-sizing: border-box;
    padding: 0;
    width: 33px;
    height: 33px;
    line-height: 33px;
    text-align: center;
    border-radius: 50%;
    background-color: #fafbfb;
	vertical-align: middle;
	transition: background-color .2s linear, border-color .2s linear;
	cursor: pointer;
	color: #000;
}

.menu-icon:hover {
    border: solid 1px #adb0b5;
    background-color: #f4f4f5;
}

.menu-icon .menu-icon__icon {
	vertical-align: middle;
    display: inline-block;
    font-size: 13px;
	color: #4a5062;
	line-height: 1;
    text-align: center;
	cursor: pointer;
}

/* ============================================================================
   Детализация звонков — современное оформление (Вариант A: плоская голубая шапка
   + кнопки: тёмная «Ок» + мягкая «Скачать»). Всё scoped под .detail_calls_popup,
   чтобы не задеть настройки/«Сформировать»/другие попапы. Переопределяет старые
   правила выше (та же/выше специфичность + позже в каскаде).
   ========================================================================== */
.detail_calls_popup{
	border-radius: 16px;
	border: 1px solid #e0e7f0;
	box-shadow: 0 20px 55px rgba(23,52,79,.16), 0 4px 12px rgba(23,52,79,.10);
	padding: 14px 18px 6px;
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	/* по контенту, центр по горизонтали. Широкая база (min-width) — чтобы не открываться
	   узким и не «скакать»; высокий потолок (max-width) — чтобы широкие таблицы влезали. */
	width: auto;
	min-width: min(820px, 92vw);
	max-width: min(1360px, 96vw);
	left: 50%;
	margin-left: 0;
	transform: translateX(-50%);
	transition: width .16s ease;
}
/* Заголовок + имя сотрудника */
.detail_calls_popup fieldset{ border: 0; margin: 0 0 4px; padding: 0; }
.detail_calls_popup legend{ padding: 0; }
.detail_calls_popup .settings_title{
	font: 650 16px/1.32 -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	color: #28333f; text-align: left; padding: 0 40px 0 0;
}
.detail_calls_popup #detail_calls_user{
	display: block; margin-top: 3px; color: #1e88c9; font-size: 12.5px; font-weight: 600;
}
.detail_calls_popup #detail_calls_type{ color: #51606f; font-weight: 500; }
/* Крестик закрытия — CSS вместо PNG, круглый ховер */
.detail_calls_popup .x-close{
	position: absolute; top: 14px; right: 16px; float: none;
	width: 32px; height: 32px; border-radius: 50%;
	background: none; cursor: pointer; transition: background .15s; z-index: 2;
}
.detail_calls_popup .x-close:hover{ background: #eef3f8; }
.detail_calls_popup .x-close::before,
.detail_calls_popup .x-close::after{
	content: ""; position: absolute; left: 50%; top: 50%;
	width: 15px; height: 2px; background: #8492a2; border-radius: 2px;
}
.detail_calls_popup .x-close::before{ transform: translate(-50%,-50%) rotate(45deg); }
.detail_calls_popup .x-close::after{ transform: translate(-50%,-50%) rotate(-45deg); }
.detail_calls_popup .x-close:hover::before,
.detail_calls_popup .x-close:hover::after{ background: #28333f; }

/* Таблица */
.detail_calls_popup .detail_table{
	margin: 4px 0 8px; width: 100%; color: #28333f;
	/* auto вместо fixed: колонки по контенту (как в мокапе). fixed при width:100% в узкой
	   карточке схлопывал числовые колонки → наложение текста. */
	table-layout: auto;
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
}
.detail_calls_popup .detail_table .detail_content_cell_deal{ max-width: 320px; white-space: normal; }
.detail_calls_popup .detail_table .content_cell_comments,
.detail_calls_popup .detail_table .cell-comments-head{ min-width: 220px; max-width: 440px; white-space: normal; }
.detail_calls_popup .detail_table tr{ border-bottom: 1px solid #eef3f8; }
.detail_calls_popup .detail_table td{
	padding: 8px 10px; font-size: 12.5px; color: #28333f;
}
.detail_calls_popup .detail_table td:nth-child(n+2){ border-left: 0; }   /* убрать вертикальные границы */
.detail_calls_popup .detail_table tr.detail_content_row:hover{ background: #f4f8fc; }
/* Шапка: плоский голубой вместо градиента + тиснения, без псевдо-разделителей */
.detail_calls_popup .detail_table th{
	background: #daecf8; background-image: none; color: #2f4c5e;
	text-shadow: none; font-weight: 600; font-size: 12.5px;
	padding: 9px 10px; border: 0; border-bottom: 1px solid #bfdcec;
}
.detail_calls_popup .detail_table th.fio{ text-align: left; }
.detail_calls_popup .detail_table th:first-child{ border-radius: 8px 0 0 0; }
.detail_calls_popup .detail_table th:last-child{ border-radius: 0 8px 0 0; }
.detail_calls_popup .detail_table th:nth-child(n+2)::before{ display: none; }
/* Итоговая строка */
.detail_calls_popup .detail_table .detail_content_row_total td{
	font-weight: 700; background: #f6fafd; border-top: 2px solid #cfe0ee; border-bottom: 0;
}
/* Ссылки — тёмно-синие, читаемые; подчёркивание на ховере */
.detail_calls_popup a:link,
.detail_calls_popup a:visited,
.detail_calls_popup a:active{ color: #0f5c92; text-decoration: none; }
.detail_calls_popup a:hover{ color: #0b466e; text-decoration: underline; }
/* ссылки сделки/клиента — это .bem-link (span), а не <a>: убираем подчёркивание, тёмно-синий */
.detail_calls_popup .bem-link{ color: #0f5c92; text-decoration: none; }
.detail_calls_popup .bem-link:hover{ color: #0b466e; text-decoration: underline; }

/* Загрузка — CSS-спиннер вместо GIF */
.detail_calls_popup .detail_calls_popup_loading{ margin: 0; padding: 22px; text-align: center; }
.detail_calls_popup .detail_calls_popup_loading .detail_calls_popup_loading_icon{
	width: 26px; height: 26px; background: none;
	border: 2.5px solid #dfe7f0; border-top-color: #1e88c9; border-radius: 50%;
	display: inline-block; animation: cr_detail_spin .8s linear infinite;
}
.detail_calls_popup .detail_calls_popup_loading::after{
	content: "Формируем детализацию…"; display: block; margin-top: 12px;
	color: #8492a2; font-size: 13px;
}
@keyframes cr_detail_spin{ to{ transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){
	.detail_calls_popup .detail_calls_popup_loading .detail_calls_popup_loading_icon{ animation-duration: 2.4s; }
}

/* Футер: тёмная «Ок» + мягкая голубая «Скачать» (пара №3) */
.detail_calls_popup .detailformfooter{
	padding-left: 0; margin: 12px 0 8px; display: flex; align-items: center; gap: 10px;
}
.detail_calls_popup .detailformfooter .reset.feat-green{
	background: #3a4655; background-image: none; color: #fff; box-shadow: none;
	border-radius: 8px; height: auto; line-height: 1.2; padding: 10px 24px; margin: 0;
	text-transform: none; transition: filter .15s;
	font: 600 13px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
}
.detail_calls_popup .detailformfooter .reset.feat-green:hover{ background: #3a4655; filter: brightness(1.16); }
.detail_calls_popup .xls_download.feat-grey{
	background: #e8f1fb; box-shadow: none; border: 0; border-radius: 8px; color: #166aa6;
	height: auto; line-height: 1.2; padding: 9px 18px; margin: 0; text-transform: none;
	vertical-align: middle;
	font: 600 13px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
}
.detail_calls_popup .xls_download.feat-grey:hover{ background: #dceaf8; }
.detail_calls_popup .xls_download .xls_download_text{ color: #166aa6; }
.detail_calls_popup .xls_download .xls_download_icon{ opacity: .85; margin: 0 6px 0 0; }

/* Даты в шапке детализации (группировка по дням) — две строки: ДД.ММ над годом → узкие колонки.
   Полная дата для Excel лежит в data-full у <th> (экспорт берёт её). */
.detail_calls_popup .detail_table th.detail-date{ padding:6px 7px; text-align:center; line-height:1.15; white-space:nowrap; }
.detail_calls_popup .detail_table th.detail-date .dd{ display:block; font-weight:700; font-size:12.5px; }
.detail_calls_popup .detail_table th.detail-date .yy{ display:block; font-weight:500; font-size:10.5px; color:#5b7488; margin-top:1px; }

/* Сплит-кнопка выгрузки детализации: XLSX по клику + каретка с меню (Excel/CSV) */
.detail_calls_popup .detail_dl{ position:relative; display:inline-flex; align-items:stretch; vertical-align:middle; }
.detail_calls_popup .detail_dl .xls_download.detail_dl__main{ display:inline-flex; align-items:center; border-radius:8px 0 0 8px; margin:0; }
.detail_calls_popup .detail_dl__caret{
	display:flex; align-items:center; justify-content:center; width:30px; cursor:pointer;
	background:#e8f1fb; color:#166aa6; border-radius:0 8px 8px 0; border-left:1px solid #cfe0f2; transition:background .15s;
}
.detail_calls_popup .detail_dl__caret:hover{ background:#dceaf8; }
.detail_calls_popup .detail_dl__caret svg{ width:15px; height:15px; }
.detail_calls_popup .detail_dl__menu{
	display:none; position:absolute; left:0; top:calc(100% + 6px); min-width:160px;
	background:#fff; border:1px solid #e0e7f0; border-radius:10px; box-shadow:0 10px 30px rgba(23,52,79,.16);
	padding:5px; z-index:5;
}
.detail_calls_popup .detail_dl__menu.is-open{ display:block; }
.detail_calls_popup .detail_dl__item{
	display:flex; align-items:center; justify-content:space-between; gap:18px;
	padding:8px 12px; border-radius:7px; cursor:pointer; font-size:13px; color:#28333f;
	font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
}
.detail_calls_popup .detail_dl__item:hover{ background:#eef4fb; }
.detail_calls_popup .detail_dl__fmt{ font-weight:600; }
.detail_calls_popup .detail_dl__ext{ color:#8492a2; font-size:12px; }

/* ============================================================================
   Основной отчёт — пролонгация флэт-стиля детализации: плоская голубая шапка без
   градиента/тиснения/псевдо-разделителей, без вертикальных границ ячеек, ховер строк,
   оформленная итоговая строка. Печать (@media print) не затрагивается — у неё свой блок.
   ========================================================================== */
.table_container table{
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	color: #28333f;
}
.table_container table th{
	background: #daecf8; background-image: none; color: #2f4c5e;
	text-shadow: none; font-weight: 600; font-size: 12.5px;
	border: 0; border-bottom: 1px solid #bfdcec;
}
.table_container table th:nth-child(n+2)::before{ display: none; }   /* убрать псевдо-разделители */
.table_container table th:first-child{ border-radius: 8px 0 0 0; }
.table_container table th:last-child{ border-radius: 0 8px 0 0; }
.table_container table td{ font-size: 12.5px; color: #28333f; }
.table_container table td:nth-child(n+2){ border-left: 0; }          /* убрать вертикальные границы */
.table_container table tr:nth-child(n+2),
.table_container table tbody tr{ border-bottom: 1px solid #eef3f8; }
.table_container table tbody tr:hover{ background: #f4f8fc; }
.table_container table tr.foot_row td{ font-weight: 700; background: #f6fafd; border-top: 2px solid #bfdcec; }

/* Заголовки над таблицами отчёта — тот же системный шрифт, что и в детализации (убираем OpenSans-Bold-фолбэк) */
.int_header{
	font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	color: #28333f; font-weight: 650;
}

/* «Класс!» вынесена в absolute (см. выше) → меню больше не переносит. Единственная причина спрятать —
   на узких экранах она визуально налезла бы на последний пункт меню («Уникальные»). Порог низкий,
   т.к. пункты фиксированной ширины кончаются раньше, чем начинается «Класс!» у правого края.
   Мобильный @media (<=768px) прячет весь тулбар отдельно. */
@media (max-width: 940px){
	#top_menu_wrap > .bem-btn-group:last-child{ display: none; }
}

/* На мобиле hover-подсказка отчёта бесполезна (нет hover), а position:fixed + z-index:99901 на тач
   может перекрыть кнопку «Сформировать» (tap => mouseover показывает её, mouseout на тач не срабатывает).
   Прячем её на мобильных, чтобы не блокировала клики. */
@media (max-width: 768px){
	.report_popup{ display: none !important; }
}


/* ═══ Кнопки общего отчёта — Вариант B (сине-голубая гамма) ═══ */
/* «Сформировать» — сплошной синий (scoped; глобальный .feat-green не трогаем — им пользуется «Ок» в детализации) */
.formreport.feat-green, .fakeformreport.feat-green{
	background:#166aa6; color:#fff; border-radius:10px; box-shadow:0 1px 2px rgba(22,106,166,.35);
	text-transform:none; font-weight:600; font-size:13px;
}
.formreport.feat-green:hover, .fakeformreport.feat-green:hover{ background:#125c92; }
.formreport.feat-green:active, .fakeformreport.feat-green:active{ background:#0f5080; }
/* центрируем контент флексом только на десктопе (мобайл-тоггл на display не трогаем) */
/* флекс-центрирование: display у реальной задаём в CSS, у fake — только выравнивание
   (display переключает JS через inline-flex/none; иначе 2 кнопки или срыв флекса inline-стилем) */
.formreport.desctop.feat-green, .fakeformreport.desctop.feat-green{ align-items:center; justify-content:center; gap:6px; line-height:1; vertical-align:middle; }
.formreport.desctop.feat-green{ display:inline-flex; }   /* display у fake ставит JS (inline-flex) */
/* иконка «play» как в мокапе B (белый SVG вместо старого спрайта) */
.formreport .formreport_icon, .fakeformreport .formreport_icon{
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M7 4v16l13-8z'/%3E%3C/svg%3E");
	background-position:center; background-size:14px 14px; background-repeat:no-repeat;
	width:15px; height:15px; margin-right:0; opacity:1; filter:none;
}
.formreport.desctop .formreport_text, .fakeformreport.desctop .formreport_text{ margin-top:0; }

/* «Печать отчёта» — голубой тинт */
.prints .print.feat-green{
	display:inline-flex; align-items:center; justify-content:center; gap:6px; line-height:1;
	background:#eaf3fb; color:#166aa6; border-radius:10px; box-shadow:0 0 0 1px #cfe1f1 inset;
	text-transform:none; font-weight:600; font-size:13px;
}
.prints .print.feat-green:hover{ background:#e0eefa; }
.prints .print .print_icon_svg{ width:16px; height:16px; margin:0; display:inline-block; }

/* «Скачать» — сплит-кнопка как в детализации (Excel .xls / CSV), меню открывается вниз */
.report_dl{ position:relative; display:none; align-items:stretch; vertical-align:middle; margin-top:1px; }
.report_dl .xls_download.report_dl__main{
	display:inline-flex; align-items:center; height:40px; padding:0 18px; margin:0;
	background:#e8f1fb; box-shadow:none; border:0; border-radius:8px 0 0 8px; color:#166aa6; text-transform:none;
	font:600 13px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
}
.report_dl .xls_download.report_dl__main:hover{ background:#dceaf8; }
.report_dl .xls_download .xls_download_text{ color:#166aa6; }
.report_dl .xls_download .xls_download_icon{ opacity:.85; margin:0 6px 0 0; }
.report_dl__caret{
	display:flex; align-items:center; justify-content:center; width:32px; cursor:pointer;
	background:#e8f1fb; color:#166aa6; border:0; border-left:1px solid #cfe0f2; border-radius:0 8px 8px 0;
	transition:background .15s;
}
.report_dl__caret:hover{ background:#dceaf8; }
.report_dl__caret svg{ width:15px; height:15px; transition:transform .15s; }
.report_dl__caret.is-open svg{ transform:rotate(180deg); }
.report_dl__menu{
	display:none; position:absolute; right:0; bottom:calc(100% + 6px); top:auto; min-width:172px;
	background:#fff; border:1px solid #e0e7f0; border-radius:10px; box-shadow:0 -12px 30px rgba(23,52,79,.16);
	padding:5px; z-index:60;
}
.report_dl__menu.is-open{ display:block; }
.report_dl__item{
	display:flex; align-items:center; justify-content:space-between; gap:18px;
	padding:9px 12px; border-radius:7px; cursor:pointer; font-size:13px; color:#28333f;
	font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
}
.report_dl__item:hover{ background:#eef4fb; }
.report_dl__fmt{ font-weight:600; }
.report_dl__ext{ color:#8492a2; font-size:12px; }

/* Сводный отчёт: цифры кликабельны -> детализация по сотруднику + метрике столбца */
#summaryTable .js-summary_cell_link{ cursor:pointer; transition:background .12s, box-shadow .12s; }
#summaryTable .js-summary_cell_link:hover{ background:#eaf3fb; color:#166aa6; box-shadow:inset 0 0 0 1px #cfe1f1; border-radius:6px; }

/* Тип отчёта (метрика) в шапке детализации из сводного */
#detail_calls_report{ color:#166aa6; font-weight:600; }

/* Тултип звонков по ячейке детализации: список звонков + прослушка */
.cell-calls-tip{ position:fixed; z-index:999999; display:none; min-width:210px; max-width:320px;
  background:#fff; border:1px solid #e0e7f0; border-radius:10px; box-shadow:0 12px 30px rgba(23,52,79,.18);
  padding:8px; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif; }
.cell-calls-tip.is-open{ display:block; }
.cct__head{ font-size:12px; font-weight:600; color:#546475; margin:0 4px 6px; }
.cct__list{ max-height:240px; overflow:auto; }
.cct__row{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:5px 6px; border-radius:7px; font-size:13px; color:#28333f; }
.cct__row:hover{ background:#f4f7fb; }
.cct__dir{ width:16px; text-align:center; font-weight:700; }
.cct__dir.in{ color:#1f8a4c; }
.cct__dir.out{ color:#166aa6; }
.cct__time{ font-variant-numeric:tabular-nums; }
.cct__dur{ margin-left:auto; color:#546475; font-variant-numeric:tabular-nums; }
.cct__play{ border:0; background:#e8f1fb; color:#166aa6; border-radius:6px; width:26px; height:22px; cursor:pointer; font-size:11px; line-height:1; }
.cct__play:hover{ background:#dceaf8; }
.cct__play:disabled{ opacity:.6; cursor:default; }
.cct__norec{ color:#b3bcc7; width:26px; text-align:center; }
.cct__audio{ flex-basis:100%; }
.cct__audio audio{ height:30px; width:100%; margin-top:4px; }
.cct__err{ color:#d54545; font-size:12px; }


/* ==========================================================================
   Настройки — оформление в стиле отчётов/окон (feature/settings-redesign, CSS 47a)
   Только визуал; id/name/классы контролов НЕ менялись. Всё scoped под .settingsform,
   чтобы не задеть detail_calls_popup и прочие окна.
   ========================================================================== */

/* — окно — */
.settingsform{
	padding:0;
	border:1px solid #e4e9f0;
	border-radius:14px;
	box-shadow:0 24px 60px rgba(23,52,79,.22), 0 4px 14px rgba(23,52,79,.10);
}
.settingsform .settingsform_topbar{
	display:flex; align-items:center; justify-content:space-between;
	padding:15px 20px; border-bottom:1px solid #e4e9f0; border-radius:13px 13px 0 0;
}
.settingsform .settingsform_head{
	float:none; margin:0;
	font:700 18px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	color:#26313f;
}
/* крестик — рисуем из псевдоэлементов (без PNG) */
.settingsform .settingsform_topbar .x-close{
	float:none; position:relative; width:30px; height:30px; border-radius:8px;
	background:transparent; transition:background .15s;
}
.settingsform .settingsform_topbar .x-close:hover{ background:#f0f3f7; }
.settingsform .settingsform_topbar .x-close::before,
.settingsform .settingsform_topbar .x-close::after{
	content:''; position:absolute; top:50%; left:50%; width:15px; height:2px;
	background:#8a95a3; border-radius:2px;
}
.settingsform .settingsform_topbar .x-close::before{ transform:translate(-50%,-50%) rotate(45deg); }
.settingsform .settingsform_topbar .x-close::after{ transform:translate(-50%,-50%) rotate(-45deg); }
.settingsform .settingsform_topbar .x-close:hover::before,
.settingsform .settingsform_topbar .x-close:hover::after{ background:#26313f; }

/* — вкладки: подчёркивание — */
.settingsform .tabs{
	margin:0; padding:0 12px; display:flex; flex-wrap:wrap; gap:2px;
	border-bottom:1px solid #e4e9f0; font-weight:600;
}
.settingsform .tabs::before{ display:none; }
.settingsform .tab{
	height:auto; line-height:1; background:transparent; border:0; border-radius:0;
	padding:12px 14px; margin-bottom:-1px; color:#54626f; font-size:13px;
	border-bottom:2px solid transparent;
}
.settingsform .tab:hover{ background:transparent; color:#26313f; }
.settingsform .tab.selected{
	background:transparent; border:0; border-bottom:2px solid #166aa6; color:#166aa6; cursor:pointer;
}

/* — тело — */
.settingsform .tabscontent{ border:0; padding:0; }
.settingsform .formcontents{ background:#fff !important; padding:18px 20px; }
.settingsform .formcontent{ padding:0; min-height:300px; }
.settingsform .formcontent.selected{ display:block; }

/* — баннер-подсказка вкладки — */
.settingsform .set_hint{
	font-size:12.5px; line-height:1.45; color:#54626f;
	padding:10px 13px; margin:0 0 14px;
	background:#eaf3fb; border:1px solid #cfe1f1; border-radius:10px;
}

/* — секции-карточки — */
.settingsform .tabscontent fieldset,
.settingsform .formcontents fieldset{
	border:1px solid #e4e9f0 !important; border-radius:12px; background:#f7f9fc;
	padding:14px 16px 16px !important; margin:0 0 14px !important;
}
.settingsform legend{
	float:left; width:100%; box-sizing:border-box; padding:0; margin:0 0 10px;
	font-size:14px; font-weight:650; color:#26313f;
}
/* содержимое после легенды встаёт ПОД неё (flex-блоки иначе прижимаются вбок к float) */
.settingsform fieldset legend ~ *{ clear:both; }
/* второй legend внутри одной карточки (вкладка «Прочее») — отделяем линией */
.settingsform .set_block_body ~ legend{
	margin-top:6px; padding-top:14px; border-top:1px solid #e9edf2;
}

/* — «Отчёты»: пары карточек в ряд, «Уникальные» — на всю ширину — */
.settingsform .formcontent[data-tab_id="standrep"] > div:not(.set_hint){
	display:flex; gap:14px; align-items:stretch;
}
.settingsform .formcontent[data-tab_id="standrep"] > div:not(.set_hint) > fieldset{
	flex:1 1 0; min-width:0; margin:0 0 14px !important;
}
.settingsform .formcontent[data-tab_id="standrep"] > div:not(.set_hint) > div{ display:none; } /* clearfix-заглушки */
.settingsform .formcontent[data-tab_id="standrep"] fieldset[title="Уникальные"]{ width:100%; }

/* подзаголовок «Статусы вызова» */
.settingsform .formcontent[data-tab_id="standrep"] fieldset > label:not([for]){
	display:block; margin:2px 0 8px;
	font-size:11px; font-weight:600; letter-spacing:.02em; text-transform:uppercase; color:#8a95a3;
}
/* убрать принудительные <br> (после подзаголовка и после 6-го статуса) — чипы ровной сеткой */
.settingsform .formcontent[data-tab_id="standrep"] fieldset > label:not([for]) + br,
.settingsform .formcontent[data-tab_id="standrep"] fieldset label:not(.settings_checkbox_label):has(> input[type="checkbox"]) + br{ display:none; }

/* — чипы статусов (CSS-only поверх label>input; тумблер «в сводном» исключён) — */
.settingsform .formcontent[data-tab_id="standrep"] fieldset label:not(.settings_checkbox_label):has(> input[type="checkbox"]){
	display:inline-flex; align-items:center; gap:6px; position:relative; white-space:nowrap;
	padding:6px 8px; margin:0 6px 8px 0; border-radius:8px;
	border:1px solid #d6dee7; background:#fff; color:#54626f;
	font-size:12.5px; font-weight:600; line-height:1; vertical-align:middle;
	cursor:pointer; user-select:none;
}
.settingsform .formcontent[data-tab_id="standrep"] fieldset label:not(.settings_checkbox_label):has(> input[type="checkbox"]) > input{
	position:absolute; opacity:0; width:0; height:0; margin:0;
}
.settingsform .formcontent[data-tab_id="standrep"] fieldset label:not(.settings_checkbox_label):has(> input[type="checkbox"])::before{
	content:''; flex:0 0 auto; width:13px; height:13px; border-radius:4px;
	border:1.5px solid #cfd6df; background:#fff;
}
.settingsform .formcontent[data-tab_id="standrep"] fieldset label:not(.settings_checkbox_label):has(> input:not(:disabled)):hover{
	border-color:#b9c6d3;
}
.settingsform .formcontent[data-tab_id="standrep"] fieldset label:not(.settings_checkbox_label):has(> input:checked){
	background:#eaf3fb; border-color:#cfe1f1; color:#166aa6;
}
.settingsform .formcontent[data-tab_id="standrep"] fieldset label:not(.settings_checkbox_label):has(> input:checked)::before{
	border-color:#166aa6;
	background:#166aa6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-11'/%3E%3C/svg%3E") center/9px no-repeat;
}
.settingsform .formcontent[data-tab_id="standrep"] fieldset label:not(.settings_checkbox_label):has(> input:disabled){
	opacity:.55; cursor:default;
}

/* — пороги длительности (dur/days) — */
.settingsform .formcontent[data-tab_id="standrep"] fieldset label[for$="dur"],
.settingsform .formcontent[data-tab_id="standrep"] fieldset label[for$="days"],
.settingsform .dur_unit{
	color:#54626f; font-size:13px;
}
/* «Уникальные»: 2-й параметр (Время последнего звонка) на той же строке — отступ от 1-го */
.settingsform .formcontent[data-tab_id="standrep"] fieldset label[for="uniqdays"]{ margin-left:24px; }
.settingsform .formcontents input[type=text].dur_input{
	height:30px; width:56px; margin:0 4px 8px; padding:0 8px;
	border:1px solid #d6dee7; border-radius:8px; text-align:center; font-weight:600; color:#26313f;
}
.settingsform .formcontents input[type=text]:focus{
	border-color:#166aa6; box-shadow:0 0 0 3px #eaf3fb;
}

/* — переключатель «Показывать в сводном» (разделитель СВЕРХУ) — */
.settingsform .uniq_summary_row{ margin-top:12px; padding-top:14px; border-top:1px solid #e9edf2; }
.settingsform .uniq_summary_row .setting_note{ display:block; margin-top:6px; }

/* — тумблеры (Внутренние звонки / Прочее / «в сводном») — */
.settingsform .set_block_body{ padding:0; }
.settingsform .settings_checkbox_label{
	display:flex; align-items:center; gap:8px; position:static;
	padding:11px 0; padding-left:0; line-height:1.35;
	font-size:13.5px; color:#26313f; border-bottom:1px solid #e9edf2;
}
.settingsform .set_block_body .settings_checkbox_label:last-child,
.settingsform .uniq_summary_toggle{ border-bottom:0; }
.settingsform .uniq_summary_toggle{ padding:0; }
.settingsform .settings_checkbox{
	position:relative; margin:0 0 0 auto; flex:0 0 auto;
	-webkit-appearance:none; appearance:none;
	width:38px; height:22px; border-radius:12px; background:#d6dee7;
	cursor:pointer; transition:background .15s;
}
.settingsform .settings_checkbox::after{
	content:''; position:absolute; top:2px; left:2px; width:18px; height:18px; border-radius:50%;
	background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.25); transition:left .15s;
}
.settingsform .settings_checkbox:checked{ background:#166aa6; }
.settingsform .settings_checkbox:checked::after{ left:18px; }
.settingsform .disregard_internal_calls_length_input{
	width:44px; height:28px; margin:0 2px; padding:0 6px;
	border:1px solid #d6dee7; border-radius:7px; text-align:center; font-weight:600; color:#26313f;
}

/* — «Менеджеры» — */
.settingsform .formcontent[data-tab_id="manset"] .manset_blocks.selectcolor_wrap{
	display:flex; flex-wrap:wrap; gap:14px; align-items:flex-end; text-align:left; font-size:14px;
}
.settingsform .formcontent[data-tab_id="manset"] .manset_block{ display:block; margin:0; flex:1 1 180px; }
.settingsform .formcontent[data-tab_id="manset"] .manset_colorpickerwrap{ flex:0 0 auto; }
.settingsform .manset_block .secthead{ font-size:12px; font-weight:600; color:#8a95a3; margin:0 0 6px; }
.settingsform .manset_departmentselect,
.settingsform .manset_employeeselect{
	-webkit-appearance:none; appearance:none; width:100%; min-width:150px; height:36px;
	border:1px solid #d6dee7; border-radius:8px; color:#26313f; font-size:13px; cursor:pointer;
	padding:0 32px 0 12px; box-sizing:border-box;
	background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a95a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
	background-size:14px;
}
.settingsform .settingsform_input_field{ height:36px; line-height:34px; border-radius:8px; border:1px solid #d6dee7; }
.settingsform .schedule_wrap{ display:flex; align-items:center; gap:10px; margin-top:8px; font-size:14px; text-align:left; }
.settingsform .set_sched_input{
	width:82px; height:36px; line-height:34px; border-radius:8px; border:1px solid #d6dee7;
	text-align:center; font-weight:600; color:#26313f;
}

/* — «Справка»: код-бейджи — */
.settingsform .callstatinfolabel{
	display:inline-block; min-width:34px; text-align:center; box-sizing:border-box;
	padding:2px 8px; margin:0 8px 0 0; border-radius:6px;
	background:#eaf3fb; color:#166aa6; font-size:12.5px; font-weight:600;
}
.settingsform .formcontent[data-tab_id="callstatinfo"] fieldset{ line-height:2.1; }
.settingsform .formcontent[data-tab_id="callstatinfo"] label:not(.callstatinfolabel){ color:#54626f; font-size:13px; }

/* — футер — */
.settingsform .formfooter{
	display:flex; justify-content:flex-end; align-items:center; gap:10px;
	margin:0; padding:14px 20px; text-align:right;
	border-top:1px solid #e4e9f0; background:#fbfcfe; border-radius:0 0 13px 13px;
}
.settingsform .formfooter .reset{ order:1; }
.settingsform .formfooter .save{ order:2; }
.settingsform .formfooter .save.feat-green{
	height:40px; line-height:40px; margin:0; padding:0 20px; font-size:13px;
	background:#166aa6; color:#fff; border-radius:10px; text-transform:none;
	box-shadow:0 1px 2px rgba(22,106,166,.35);
}
.settingsform .formfooter .save.feat-green:hover{ background:#125c92; }
.settingsform .formfooter .save.feat-green:active{ background:#0f5080; }
.settingsform .formfooter .reset.feat-white{
	height:40px; line-height:40px; margin:0; padding:0 20px; font-size:13px;
	background:#fff; color:#54626f; border-radius:10px; text-transform:none;
	box-shadow:0 0 0 1px #d6dee7 inset;
}
.settingsform .formfooter .reset.feat-white:hover{ background:#f4f7fb; color:#26313f; }


/* ============================================================================
   Верхний тулбар — единый «приподнятый» стиль (feature/settings-redesign, CSS 47h)
   Техподдержка / шестерёнка / меню (itees.phone) / «Класс!» — одной высоты (34px),
   ровный зазор 8px, обводка + тень, ховер = «подъём». Иконки/текст — серый #555 (как «меню отчётов»).
   «Класс!» — своей строкой снизу (розовый, тоже приподнятый), на своей чистой разметке .klass_btn.
   Scoped под #top_menu_wrap; переопределяет bem-btn (UI-кит B24), .menu-icon, .extras (itees.phone).
   ============================================================================ */

/* ряд 1: кнопки в линию, ровный зазор (гасит инлайновые margin-right) */
#top_menu_wrap #top_menu_btns{ display:flex; align-items:center; justify-content:flex-end; gap:8px; }
#top_menu_wrap #top_menu_btns > *{ margin:0 !important; }

/* общий «приподнятый» вид: пилюля Техподдержки + круглые иконки */
#top_menu_wrap .bem-btn_theme_extra,
#top_menu_wrap .menu-icon,
#top_menu_wrap .extras .extras__menu-btn{
	box-sizing:border-box; height:34px !important;
	background:#fff !important; border:0 !important;
	box-shadow:inset 0 0 0 1px #d6dee7, 0 2px 5px rgba(23,52,79,.12), 0 1px 2px rgba(23,52,79,.06) !important;
	transition:box-shadow .16s, transform .16s !important; cursor:pointer;
}
#top_menu_wrap .bem-btn_theme_extra:hover,
#top_menu_wrap .menu-icon:hover,
#top_menu_wrap .extras .extras__menu-btn:hover{
	background:#fff !important; transform:translateY(-1px);
	box-shadow:inset 0 0 0 1px #c4cdd5, 0 7px 16px rgba(23,52,79,.18), 0 2px 6px rgba(23,52,79,.10) !important;
}

/* круглые иконки: шестерёнка + меню-кебаб — 34×34 */
#top_menu_wrap .menu-icon,
#top_menu_wrap .extras .extras__menu-btn{
	width:34px !important; min-width:34px; padding:0 !important; border-radius:50% !important;
	display:inline-flex !important; align-items:center; justify-content:center;
}
#top_menu_wrap .menu-icon .menu-icon__icon,
#top_menu_wrap .menu-icon .menu-icon__icon i,
#top_menu_wrap .extras .extras__menu-btn .extras__menu-btn-icon,
#top_menu_wrap .extras .extras__menu-btn i{ color:#555 !important; font-size:15px !important; }

/* Техподдержка — пилюля */
#top_menu_wrap .bem-btn_theme_extra{
	display:inline-flex !important; align-items:center; gap:7px;
	padding:0 14px !important; border-radius:999px !important; font-weight:600;
}
#top_menu_wrap .bem-btn_theme_extra .bem-btn__icon,
#top_menu_wrap .bem-btn_theme_extra .bem-btn__icon i,
#top_menu_wrap .bem-btn_theme_extra .bem-btn__text{ color:#555 !important; margin:0 !important; }

/* ряд 2: «Класс!» — своей строкой, справа-снизу. ВЫНОСИМ ИЗ ПОТОКА (position:absolute):
   в потоке она делала прямоугольник float выше, а его ширина (=широкий 1-й ряд) на всю высоту
   ужимала строку меню отчётов → «Уникальные» переносилась. Абсолют не влияет на ширину меню —
   «Класс!» просто лежит в пустом углу. Прячем только на узких, где она налезла бы на пункт (@media ниже). */
#top_menu_wrap{ position:relative; }
#top_menu_wrap > .bem-btn-group:last-child{
	position:absolute; top:100%; right:0; margin:5px 0 0 !important; z-index:2;
}
#top_menu_wrap .klass_btn{
	box-sizing:border-box; height:34px;
	display:inline-flex; align-items:center; justify-content:center; gap:7px;
	padding:0 14px; border-radius:999px; cursor:pointer;
	background:#f0e9ff; color:#8a3ffc;
	box-shadow:inset 0 0 0 1px #d9c7ff, 0 2px 5px rgba(23,52,79,.10), 0 1px 2px rgba(23,52,79,.05);
	font:700 12.5px -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',Helvetica,Arial,sans-serif;
	transition:box-shadow .16s, transform .16s; white-space:nowrap;
}
#top_menu_wrap .klass_btn:hover{
	transform:translateY(-1px); background:#e7dbff;
	box-shadow:inset 0 0 0 1px #cbb2ff, 0 7px 16px rgba(138,63,252,.18), 0 2px 6px rgba(23,52,79,.08);
}
#top_menu_wrap .klass_btn__icon{ display:inline-flex; align-items:center; color:#8a3ffc; font-size:15px; line-height:1; }
#top_menu_wrap .klass_btn__icon i{ color:#8a3ffc; font-size:15px; }
#top_menu_wrap .klass_btn__text{ color:#8a3ffc; line-height:1; }
