.progress, .progress_na {
	height: 12px;
	border-radius: 4px;
	background: var(--costs-progbar-minor);
	margin-top: 4px;
	width: 140px;
	overflow: hidden;
}
.progress div, .progress a {
	height: 12px;
	background: var(--costs-task-minor);
}
.progress_hlt_over, .progress_hlt div {
	background: var(--base-hlt-b-invert-major)
}
.progress_time_over, .progress_time div {
	background: var(--costs-time-minor)
}
.progress_money_over, .progress_money div {
	background: var(--costs-money-minor)
}
.progress div.over, .progress a.over {
	height: 12px;
	background: var(--costs-progbar-overrun);
	float: right;
}
.progress a.over:hover {
	background: var(--lbl-overdue-major)
}

.progress_na div {
	height: 12px;
}
.progress_task_na div {
	background: var(--costs-task-highlight);
	background: linear-gradient(to right, var(--costs-task-highlight) 5%, var(--trans) 15%, var(--trans) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=var(--colors-interblue-400), endColor=0, GradientType=1);
}
.progress_time_na div {
	background: var(--costs-time-easy);
	background: linear-gradient(to right, var(--costs-time-easy) 5%, var(--trans) 15%, var(--trans) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=var(--colors-purple-400), endColor=0, GradientType=1);
}
.progress_money_na div {
	background: var(--costs-money-easy);
	background: linear-gradient(to right, var(--costs-money-easy) 5%, var(--trans) 15%, var(--trans) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=var(--colors-teal-400), endColor=0, GradientType=1);
}

span.over_cnt {
	color: var(--base-txt-btn-w);
	margin: 0 0 0 5px;
}
a.over_cnt {
	color: var(--base-txt-btn-w) !important;
	margin: 0 0 0 5px;
}
a.over_cnt:hover {
	color: var(--base-btn-alert-primary-major)
}

.sum_progress .td_name .limit {
	float: left;
	margin: 2px 10px;
	width: 50px;
	font: 11px/16px var(--font-base);
}
.sum_progress .td_name .limit a {
	color: var(--base-txt-tertiary);
	border-bottom: 1px dashed
}
.sum_progress .td_name .limit a:hover {
	color: var(--base-txt-link-minor)
}
body.desktop .sum_progress .td_name .limit {
	opacity: 0
}
body.desktop .sum_progress:hover .td_name .limit {
	opacity: 1
}

/*--------------------------------------------------------------------------------------------------------------------*/

.progress2 {
	height: 2px;
	display: none
}
.dataadd_out .limit .time_act .progress2 {
	display: block
}
.dataadd_out .limit .money_act .progress2 {
	display: block
}
.progress2 div {
	float: left;
	height: 1px;
	background: var(--base-btn-primary-major)
}
.progress2_over div, .progress2_over2 div {
	float: right
}
.progress2_over.progress2_time, .progress2_over2.progress2_time {
	box-shadow: 0 1px var(--costs-time-minor) inset
}
.progress2_over.progress2_hlt_b, .progress2_over2.progress2_hlt_b {
	box-shadow: 0 1px var(--base-hlt-b-invert-major) inset
}
.progress2_over.progress2_hlt_g, .progress2_over2.progress2_hlt_g {
	box-shadow: 0 1px var(--base-hlt-g-invert-major) inset
}
.progress2_over.progress2_money, .progress2_over2.progress2_money {
	box-shadow: 0 1px var(--costs-money-minor) inset
}
.progress2 div.p2 {
	height: 2px
}
.progress2 div:last-child {
	margin-right: -100%
}
.progress2_over div:last-child, .progress2_over2 div:last-child {
	margin-right: 0;
	margin-left: -100%
}
.progress2_time div.p1 {
	background: var(--costs-time-minor)
}
.progress2_hlt_b div.p1 {
	background: var(--base-hlt-b-invert);
}
.progress2_hlt_g div.p1 {
	background: var(--base-hlt-g-invert);
}
.progress2_money div.p1 {
	background: var(--costs-money-minor)
}
.progress2_over div.p1 {
	background: var(--base-btn-alert-primary-minor);
	height: 1px;
}
.progress2_over2 div.p1 {
	background: var(--base-txt-alert-minor);
	height: 2px;
}
.progress2_time div.p2 {
	background: var(--costs-time-major)
}
.progress2_hlt_b div.p2 {
	background: var(--colors-pine-700);
}
.progress2_hlt_g div.p2 {
	background: var(--costs-timer-play);
}
.progress2_money div.p2 {
	background: var(--costs-money-major)
}
.progress2_over div.p2 {
	background: var(--base-txt-alert-minor);
	height: 2px;
}
.progress2_nofill div {
	height: 2px !important
}
.progress2_over.progress2_time.progress2_nofill, .progress2_over2.progress2_time.progress2_nofill {
	box-shadow: 0 2px var(--costs-time-minor) inset
}
.progress2_over.progress2_hlt_b.progress2_nofill, .progress2_over2.progress2_hlt_b.progress2_nofill {
	box-shadow: 0 2px var(--base-hlt-b-invert-major) inset
}
.progress2_over.progress2_hlt_g.progress2_nofill, .progress2_over2.progress2_hlt_g.progress2_nofill {
	box-shadow: 0 2px var(--base-hlt-g-invert-major) inset;
}
.progress2_over.progress2_money.progress2_nofill, .progress2_over2.progress2_money.progress2_nofill {
	box-shadow: 0 2px var(--costs-money-minor) inset
}

/*--------------------------------------------------------------------------------------------------------------------*/

.pie {
	width: 26px;
	height: 26px;
	float: right;
	position: relative
}
.pie:after {
	content: '';
	position: absolute;
	left: 5px;
	top: 5px;
	width: 16px;
	height: 16px;
	position: absolute;
	overflow: hidden;
	border-radius: 8px;
	background: var(--base-cont-low);
	display: block;
}
.pie div {
	position: absolute;
	left: 0;
	top: 0;
	width: 26px;
	height: 26px;
	position: relative;
	overflow: hidden;
	border-radius: 15px;
}
.pie u {
	position: absolute;
	left: 0;
	top: 0;
	border-left: 13px solid transparent;
	border-right: 13px solid transparent;
	height: 26px;
	display: block;
}
.pie .p1 {
	border-left-color: var(--costs-progbar-major);
	border-right-color: var(--costs-time-minor)
}
.pie .p2 {
	border-left-color: transparent;
	border-right-color: var(--costs-progbar-major);
}
.pie .p3 {
	border-left-color: var(--costs-time-minor);
	border-right-color: var(--costs-progbar-major)
}
.pie .p4 {
	border-left-color: var(--costs-progbar-major);
	border-right-color: transparent
}
.pie .p5 {
	border-left-color: transparent;
	border-right-color: var(--costs-time-minor)
}
.pie_over .p1 {
	border-left-color: var(--costs-progbar-overrun);
	border-right-color: var(--costs-time-minor)
}
.pie_over .p2 {
	border-left-color: transparent;
	border-right-color: var(--costs-progbar-overrun)
}
.pie_over .p3 {
	border-left-color: var(--costs-time-minor);
	border-right-color: var(--costs-progbar-overrun)
}
.pie_over .p4 {
	border-left-color: var(--costs-progbar-overrun);
	border-right-color: transparent
}
.pie_over .p5 {
	border-left-color: transparent;
	border-right-color: var(--costs-time-minor)
}
.pie_money .p1 {
	border-left-color: var(--costs-progbar-major);
	border-right-color: var(--costs-money-minor)
}
.pie_money .p2 {
	border-left-color: transparent;
	border-right-color: var(--costs-progbar-major)
}
.pie_money .p3 {
	border-left-color: var(--costs-money-minor);
	border-right-color: var(--costs-progbar-major)
}
.pie_money .p4 {
	border-left-color: var(--costs-progbar-major);
	border-right-color: transparent
}
.pie_money .p5 {
	border-left-color: transparent;
	border-right-color: var(--costs-money-minor)
}
.pie_money_over .p1 {
	border-left-color: var(--costs-progbar-overrun);
	border-right-color: var(--costs-money-minor)
}
.pie_money_over .p2 {
	border-left-color: transparent;
	border-right-color: var(--costs-progbar-overrun)
}
.pie_money_over .p3 {
	border-left-color: var(--costs-money-minor);
	border-right-color: var(--costs-progbar-overrun)
}
.pie_money_over .p4 {
	border-left-color: var(--costs-progbar-overrun);
	border-right-color: transparent
}
.pie_money_over .p5 {
	border-left-color: transparent;
	border-right-color: var(--costs-money-minor)
}
.pie_done .p1 {
	border-left-color: var(--costs-progbar-major);
	border-right-color: var(--costs-task-minor)
}
.pie_done .p2 {
	border-left-color: transparent;
	border-right-color: var(--costs-progbar-major)
}
.pie_done .p3 {
	border-left-color: var(--costs-task-minor);
	border-right-color: var(--costs-progbar-major)
}
.pie_done .p4 {
	border-left-color: var(--costs-progbar-major);
	border-right-color: transparent
}
.pie_done .p5 {
	border-left-color: transparent;
	border-right-color: var(--costs-task-minor)
}
.pie_done_over .p1 {
	border-left-color: var(--costs-progbar-overrun);
	border-right-color: var(--costs-task-minor)
}
.pie_done_over .p2 {
	border-left-color: transparent;
	border-right-color: var(--costs-progbar-overrun)
}
.pie_done_over .p3 {
	border-left-color: var(--costs-task-minor);
	border-right-color: var(--costs-progbar-overrun)
}
.pie_done_over .p4 {
	border-left-color: var(--costs-progbar-overrun);
	border-right-color: transparent
}
.pie_done_over .p5 {
	border-left-color: transparent;
	border-right-color: var(--costs-task-minor)
}
.pie i {
	position: absolute;
	left: -1px;
	top: -1px;
	width: 24px;
	height: 24px;
	overflow: hidden;
	border-radius: 16px;
	border: 2px solid var(--base-cont-low);
	display: block;
}
.pie_na {
	background: var(--costs-progbar-major);
	width: 24px;
	height: 24px;
	margin: 1px;
	float: right;
	position: relative;
	border-radius: 12px;
}
.pie_na div {
	position: absolute;
	background: var(--costs-time-minor);
	left: 6px;
	top: 6px;
	width: 12px;
	height: 12px;
	position: relative;
	overflow: hidden;
	border-radius: 15px;
}
.pie_money_na div {
	background: var(--costs-money-minor);
}

/* ----------- SVG BAGEL ---------- */
.pie_svg {
	position: absolute
}
#pay_history .pie_svg {
	width: 80px;
	height: 80px;
	left: 50%;
	top: 0;
	margin: 0 0 0 -40px
}
.pie_svg circle.fill {
	stroke: var(--costs-progbar-major)
}
.pie_svg circle.draw, .path_svg {
	animation: piesvg 1s ease-out forwards
}
.pie_svg.pie_time circle.draw, .pie_svg.pie_time_over circle.draw {
	stroke: var(--costs-time-major)
}
.pie_svg.pie_done circle.draw, .pie_svg.pie_done_over circle.draw {
	stroke: var(--costs-task-minor)
}
.pie_svg.pie_money circle.draw, .pie_svg.pie_money_over circle.draw {
	stroke: var(--costs-money-major)
}
.pie_svg.pie_over circle.draw_over {
	stroke: var(--costs-progbar-overrun);
	animation: piesvg 1s;
	animation-delay: 1s;
	animation-fill-mode: both;
}
@keyframes piesvg {
	0% {
		stroke-dasharray: var(--dasharray-start)
	}
}


.pie_svg.pie_task circle.draw {
	stroke: var(--costs-task-minor)
}

.pie_time circle.fill {
	stroke: var(--costs-time-easy);
}
.pie_money circle.fill {
	stroke: var(--costs-money-easy);
}
/* ----------- SVG BAGEL ---------- */

/*--------------------------------------------------------------------------------------------------------------------*/
/* ----------- NEW CLASSES ------------- */

.inputBlock__costs.inputBlock__task-reopen {
	padding-bottom: 4px;
}
.inputBlock__task-reopen .inputBlock__label {
	border-radius: 8px;
}
.inputBlock__task-reopen .inputBlock__label.has-textarea textarea {
	font: 15px / 20px var(--font-base);
}

.inputBlock__costs {
	padding: 20px 28px 28px 28px;
	.inputBlock {
		padding: 0;
	}
	.inputBlock__item {
		height: 60px;
		overflow: hidden;
		padding: 8px;
		display: grid;
		align-items: center;
		background: unset;
		border: 1px dashed var(--base-txt-muted);
		border-radius: 12px;
		box-sizing: border-box;
		ws-icon {
			--icon-color: var(--base-txt-muted);
		}
		.inputBlock__item__text {
			display: flex;
			gap: 4px;
			font: var(--font-ui-16-title-3-reg);
			padding: 0 4px 0 8px;
			grid-area: 1 / 1;
			transition-property: opacity;
			transition-duration: .3s;
			transition-timing-function:  ease;
			color: var(--base-txt-muted);
		}
		.inputBlock__item__text-hidden {
			opacity: 0;
		}
		&:hover {
			.inputBlock__item__text:has(~ .inputBlock__item__text-hidden) {
				opacity: 0;
			}
			.inputBlock__item__text-hidden {
				color: var(--base-txt-primary);
				opacity: 1;
				ws-icon {
					--icon-color: var(--base-txt-btn-a);
				}
			}
		}
	}
}

.inputBlock__special-rate:not(:focus-within) .label-icons-top {
	display: flex;
	align-items: center;
	justify-content: center;
}

.inputBlock__special-rate .label ws-icon svg {
	fill: var(--base-txt-tertiary);
	width: 16px;
	height: 16px;
}

.inputBlock__label.inputBlock__special-rate input[type=text] {
	padding: 25.5px 12px 10.5px 12px;
}

.inputBlock__special-rate:not(:focus-within) input:not(:placeholder-shown) + .label {
	display: none;
}

.inputBlock__special-rate:focus-within .label {
	display: inline-flex;
	width: calc(100% + 24px);
	max-width: calc(100% + 24px);
	left: 2px;
	right: 0;
	flex-grow: 1;
	align-items: center;
	justify-content: center;
	pointer-events: all;
	gap: 2px;
}

.inputBlock__special-rate .input {
	text-align: center;
}

.inputBlock__special-rate:not(:focus-within) .input {
	color: var(--base-txt-tertiary) !important;
}

.inputBlock__special-rate:not(:focus-within) .label ws-icon {
	display: none;
}

.inputBlock__special-rate .label-icons-top {
	top: 3px !important;
	left: 0 !important;
	right: 0 !important;
	display: none;
}

.inputBlock .inputBlock__special-rate .text-label-left {
	position: absolute;
	top: 28.5px;
	left: 0;
	right: 0;
	text-align: center;
	padding: 0 12px 10.5px 14px;
	color: transparent;
	pointer-events: none;
}

.inputBlock .inputBlock__special-rate .text-label-left::before {
	content: '×';
	display: none;
	margin-left: -20px;
	font: var(--font-ui-16-title-3-reg);
	color: var(--base-txt-tertiary);
}

.inputBlock .inputBlock__special-rate:not(:focus-within) input:not([type="hidden"]):not(:placeholder-shown) ~ .text-label-left::before {
	display: inline-block;
}

.inputBlock__costs:not(.inputBlock__costs-timeListHide) .inputBlock-hideByTimeList {
	display: none;
}

.inputBlock__costs-warning {
	display: none;
}

.sum_progress {
	margin: 0;
	padding: 12px 20px;
	height: 36px;
}
.sum_progress + p.graysmall {
	border-top: 1px dashed var(--base-line-primary);
}
/*.sum_progress_w {background:var(--base-cont-top); border-top:none;margin:-15px -15px 0; }*/
.sum_progress_b {
	margin: 0;
	border-bottom: none;
}
.sum_progress .r {
	float: right;
	text-align: center;
	margin: 7px 0 0 0
}
.sum_progress .ico_summ {
	float: left;
	font: 30px/30px var(--font-serif);
	color: var(--base-txt-tertiary);
	width: 20px
}
.sum_progress .bar {
	float: left;
	margin: 4px 0 0 15px
}
.sum_progress_bm .bar {
	margin: 0
}
.sum_progress .td_name {
	float: left;
	width: 200px;
	height: 36px
}
.sum_progress_b .bar {
	float: none;
	height: 12px;
	margin: 4px 0
}
.sum_progress .bar .progress {
	margin: 4px 0 0 0
}
.sum_progress_b .bar .progress {
	margin: 0 0 0 15px
}
.sum_progress_bm .bar .progress {
	margin: 0 0 0 50px
}
.sum_progress_b .bar .b_br {
	color: var(--base-txt-secondary);
	font: 500 12px/12px var(--font-base);
	margin: 0 0 5px 15px;
}
.sum_progress_bm .bar .b_br {
	float: left;
	width: 40px;
	text-align: right;
	margin: 0 5px 0 0
}
.sum_progress .bar .b_fl {
	font: 11px/12px var(--font-base);
	color: var(--base-txt-secondary)
}
.sum_progress_b .bar .b_fl {
	display: none
}
.sum_progress .bar .b_fl b {
	font-weight: normal;
	color: var(--base-txt-primary)
}
.sum_progress_b:hover .bar .b_fl {
	margin: 0 0 0 15px;
	display: block;
	color: var(--base-txt-tertiary)
}
.sum_progress_b.sum_progress--bar-visible .bar .b_fl {
	display: none !important
}
.sum_progress_b.sum_progress--bar-visible:hover .bar .progress {
	display: block
}
.sum_progress_bm:hover .bar .b_fl {
	margin: 0 0 0 50px
}
.sum_progress_b:hover .bar .progress {
	display: none
}
.sum_progress input.button {
	float: right;
	margin: 3px 0 -3px 0 !important;
	font: 16px var(--font-base)
}
.sum_progress .td_time, .sum_progress .td_money {
	min-width: 86px;
	font: 24px/20px var(--font-base);
	color: var(--base-txt-secondary);
	text-align: right;
	position: relative;
	box-sizing: border-box;
	padding: 0 8px;
	font-variant-numeric: proportional-nums;
}
.sum_progress .td_money {
	width: auto;
	color: var(--costs-money-text);
}
.sum_progress .td_rate ~ .td_money {
	min-width: 142px;
}
.sum_progress .td_time {
	color: var(--costs-time-text);
}
.sum_progress .td_time i, .sum_progress .td_money i {
	position: absolute;
	color: var(--base-txt-tertiary);
	font: 14px/16px var(--font-base);
	right: -35px;
	top: 5px;
	width: 30px;
	text-align: left
}
.modal__content .sum_progress .td_time i, .sum_progress .td_money i {
	position: relative;
	right: 0;
	top: 0;
	padding-left: 5px
}
.sum_progress .bar a.onch {
	color: inherit;
	border-bottom: 1px dashed
}
.sum_progress .bar a.onch:hover {
	color: var(--base-txt-btn-a);
}

@media (max-width: 640px) {
	.modal__dataTable__summary.sum_progress_b .td_name > * {
		display: none;
	}
}
@media (max-width: 480px) {
	.sum_progress .r {
		display: none
	}
}
@media (max-width: 360px) {
	.sum_progress {
		height: auto;
		padding-bottom: 5px;
		min-height: 46px;
	}
	.sum_progress .bar {
		float: none;
		margin: 0 0 10px 40px;
	}
}

.inputBlock__costs.inputBlock__costs-timeListHide ~ .buttons ws-btn.time_list_btn {
	display: none;
}
.inputBlock__costs ~ .buttons ws-btn.time_list_btn {
	float: left;
	display: inline-block;
	margin: 0 !important
}
.inputBlock__costs ~ .buttons ws-btn.time_list_btn .progress_block {
	display: inline-block;
	margin: -4px 0 0 4px;
}
.inputBlock__costs ~ .buttons ws-btn.time_list_btn .progress,
.inputBlock__costs ~ .buttons ws-btn.time_list_btn .progress_na {
	width: 50px;
	height: 3px;
	border-radius: 10px;
	margin-top: 5px
}
.inputBlock__costs ~ .buttons ws-btn.time_list_btn .ico_summ {
	transform: scale(0.78)
}

.inputBlock__costs.inputBlock__costs-timeListHide ws-btn.time_list_btn {
	display: none;
}
.inputBlock__costs ws-btn.time_list_btn {
	float: left;
	display: inline-block;
	margin: 0 !important
}
.inputBlock__costs ws-btn.time_list_btn .progress_block {
	display: inline-block;
	margin: -4px 0 0 4px;
}
.inputBlock__costs ws-btn.time_list_btn .progress,
.inputBlock__costs ws-btn.time_list_btn .progress_na {
	width: 50px;
	height: 3px;
	border-radius: 10px;
	margin-top: 5px
}
.inputBlock__costs.time_or_money ws-btn.time_list_btn {
	padding: 7px 10px 7px 3px
}
.inputBlock__costs.time_or_money ws-btn.time_list_btn .progress_block {
	vertical-align: top
}
.inputBlock__costs.time_or_money ws-btn.time_list_btn .progress,
.inputBlock__costs.time_or_money ws-btn.time_list_btn .progress_na {
	margin-top: 8px
}
.inputBlock__costs ws-btn.time_list_btn .ico_summ {
	transform: scale(0.78)
}

.inputBlock__costs .inputBlock-tdPlan {
	cursor: pointer;
}
.inputBlock__costs .inputBlock-tdPlan .setupBlock__text ws-icon {
	float: right;
}
.modal .time_list_body {
	padding-bottom: 8px;
}
.modal .time_list_body .modal__dataTable.modal__dataTable-costs {
	padding: 0;
}
.modal .time_list_body .modal__dataTable__head {
	padding: 0 20px;
}
.modal .time_list_body .modal__dataTable-costs .modal__dataTable__item {
	padding: 0 20px 0 28px;
}
.modal .time_list_body .modal__dataTable-costs .modal__dataTable__item:hover {
	.td_time:not(:focus-within) {
		background: var(--costs-time-highlight);
		&:last-child {
			box-shadow: 20px 20px 0 20px var(--costs-time-highlight);
		}
		.input {
			background: unset;
		}
	}
	.td_money:not(:focus-within) {
		background: var(--costs-money-highlight);
		&:last-child {
			box-shadow: 20px 20px 0 20px var(--costs-money-highlight);
		}
		.input {
			background: unset;
		}
	}

}

body.mobile .modal .time_list_body .modal__dataTable-costs .modal__dataTable__item,
.modal .time_list_body .modal__dataTable-costs .modal__dataTable__item:nth-last-child(3) /* skip ps__rail-x/ps_-y */ {
	height: auto;
	align-items: stretch;
	.td_name {
		textarea {
			position: static;
		}
	}
	.td_date,
	.td_name,
	.td_prior,
	.td_term,
	.td_stage,
	.td_time,
	.td_money,
	.td_rate,
	.td_stage,
	.td_user {
		height: auto;
		min-height: 40px;
	}
}

.modal .time_list_body .modal__dataTable-costs .modal__dataTable__item:first-child {
	box-shadow: 0 -0.5px 0 var(--base-line-tertiary) inset;
}
.modal .time_list_body .scrollZone-top {
	box-shadow: none;
}
.modal .time_list_body .scrollZone-bottom.scrollZone-top {
	box-shadow: 0 var(--screen-px) var(--base-line-tertiary);
}
.modal .time_list_body .scrollZone {
	margin-top: 0;
}
.modal__dataTable.modal__dataTable-costs {
	max-height: 600px;
	padding: 0 20px 0 20px;
}
.modal__dataTable-costs .modal__dataTable__item.subtask_costs .td_time, .modal__dataTable-costs .modal__dataTable__item.subtask_costs .td_money {
	font-weight: 600;
	justify-content: end;
}
.modal__dataTable-costs .modal__dataTable__item.subtask_costs .td_name {
	display: flex;
	align-items: center;
	font: var(--font-ui-13-small-semi);
}
.modal__dataTable-costs .modal__dataTable__item.subtask_costs .td_ico {
	--icon-color: var(--base-txt-btn-a);
}
.modal__dataTable-costs .modal__dataTable__item .td_ico_vs .button-delete {
	display: none;
	width: 24px;
}

.modal__dataTable-costs .td_name textarea {
	width: 100%;
	height: 40px;
	padding: 12px 9px;
	min-height: 16px;
	max-height: 150px;
	font: var(--font-ui-14-regular-reg);
	line-height: 16px;
	background-color: transparent;
	resize: none;
	outline: none;
	border: none;
	border-radius: 0;
	box-sizing: border-box;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
}
.modal__dataTable-costs .td_name.editing textarea {
	box-shadow: 0 0 0 2px var(--base-txt-btn-a) inset;
	background: var(--base-cont-mod-top)
}

.modal__dataTable-costs .td_name textarea.hide {
	display: none
}
.modal__dataTable-costs .td_name a.costs_comment {
	white-space: nowrap;
	text-overflow: ellipsis;
	line-height: 16px;
	color: var(--base-txt-secondary);
	cursor: default
}
.modal__dataTable-costs .td_name div.costs_comment_block {
	padding: 4px 0 4px 5px
}
.modal__dataTable-costs .td_name div.costs_comment_block.hide {
	padding: 0
}
.modal__dataTable-costs .td_name a.costs_comment.onch {
	cursor: pointer
}
.modal__dataTable-costs .modal__dataTable__item:hover .td_name a.costs_comment.onch {
	border-bottom: 1px dashed var(--base-txt-tertiary)
}
.modal__dataTable-costs .td_name a.hide {
	display: none
}
.modal__dataTable-costs .timer_place {
	--icon-color: var(--costs-time-text);
	--icon-size: 16px;
	text-align: right;
	position: absolute;
	left: 0;
	top: 10px;
}
body.desktop .modal__dataTable-costs .modal__dataTable__item:hover .td_ico_vs .av_sm {
	display: none
}
body.desktop .modal__dataTable-costs .modal__dataTable__item:hover .td_ico_vs .button-delete {
	display: block;
}
body.mobile .modal__dataTable-costs .modal__dataTable__item .td_ico_vs .button-delete {
	display: none
}
body.mobile .modal__dataTable-costs .modal__dataTable__item .td_time .rate {
	display: none
}
.modal__dataTable-costs .modal__dataTable__item .td_name {
	font: var(--font-ui-13-small-reg);
	color: var(--base-txt-primary);
	position: relative;
	height: 40px;
}
.modal__dataTable-costs .modal__dataTable__item .td_name:has(:focus) {
	overflow: visible;
}
.modal__dataTable-costs .modal__dataTable__item .td_name a {
	color: var(--base-txt-primary)
}
.modal__dataTable-costs .modal__dataTable__item .td_name i {
	color: var(--base-txt-tertiary)
}
.modal__dataTable-costs .modal__dataTable__item .td_name form {
	padding: 0 40px 0 0;
	position: relative;
	margin: -4px 0 -4px 0;
}
.modal__dataTable-costs .modal__dataTable__item .td_time, .modal__dataTable-costs .modal__dataTable__item .td_money {
	font: var(--font-ui-13-small-reg);
	text-align: right;
}
.modal__dataTable-costs .modal__dataTable__item .td_time {
	color: var(--costs-time-text);
}
.modal__dataTable-costs .modal__dataTable__item .td_money {
	color: var(--costs-money-text);
}
.modal__dataTable-costs .modal__dataTable__item .td_date {
	cursor: pointer;
	width: 60px;
	font: 11px/20px var(--font-base);
	color: var(--base-txt-tertiary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: flex;
	justify-content: flex-end;
	padding: 0 8px;
}
.modal__dataTable-costs .modal__dataTable__item .td_date span.date1 {
	display: inline-block;
	position: relative;
	padding: 1px 3px;
	box-shadow: 0 0 0 1px var(--lbl-today-minor);
	border-radius: 3px;
}
.modal__dataTable-costs .modal__dataTable__item .td_date span.date2 {
	display: inline-block;
	position: relative;
	padding: 0 3px;
	box-shadow: 0 0 0 1px var(--lbl-yesterday-minor);
	border-radius: 3px
}
.modal__dataTable-costs .modal__dataTable__item .td_date span.detailed_date_day {
	display: inline-block;
	width: 12px;
	text-align: right
}
.modal__dataTable-costs .modal__dataTable__item .td_date span {
	font: var(--font-ui-11-micro-reg);
}
.modal__dataTable-costs .modal__dataTable__item .td_date span.detailed_date_month {
	display: inline-block
}
.modal__dataTable-costs .modal__dataTable__item .td_user {
	display: none !important;
	position: absolute;
	top: 5px;
	right: 200px;
	width: 110px;
	font: 11px/20px var(--font-base);
	color: var(--base-txt-tertiary);
	text-align: right;
	white-space: nowrap;
	overflow: hidden
}
.modal__dataTable-costs .td_time .input, .modal__dataTable-costs .td_money .input {
	text-align: right;
	width: 100%;
	padding: 0 8px;
	margin: 0 -8px;
	font: inherit;
	border: none;
	background: transparent;
	color: inherit;
	height: 40px;
	box-sizing: border-box;
	flex-grow: 1;
	border-radius: 0;
}
body.desktop .modal__dataTable-costs .modal__dataTable__item:hover .td_time .input, body.mobile .modal__dataTable-costs .modal__dataTable__item .td_time .input {
	background: var(--costs-time-highlight)
}
body.desktop .modal__dataTable-costs .modal__dataTable__item.subtask_costs:hover .td_time .input, body.desktop .modal__dataTable-costs .modal__dataTable__item.subtask_costs:hover .td_money .input {
	background: none
}
body.desktop .modal__dataTable-costs .modal__dataTable__item:hover .td_money .input, body.mobile .modal__dataTable-costs .modal__dataTable__item .td_money .input {
	background: var(--costs-money-highlight)
}
body.desktop .modal__dataTable-costs .td_time .input:focus {
	box-shadow: 0 0 0 2px var(--costs-time-text) inset !important;
	background: var(--menu-inp-cont) !important;
	position: relative;
}
body.desktop .modal__dataTable-costs .td_time .input::selection {
	background: var(--costs-time-easy);
}
body.desktop .modal__dataTable-costs .td_money .input:focus {
	box-shadow: 0 0 0 2px var(--costs-money-text) inset !important;
	background: var(--menu-inp-cont) !important;
	position: relative;
}
body.desktop .modal__dataTable-costs .td_money .input::selection {
	background: var(--costs-money-easy);
}

body.desktop .modal__dataTable-costs .modal__dataTable__item:hover .td_rate:has(.sw_pre) {
	background: var(--costs-money-highlight);
}
body.desktop .modal__dataTable-costs .modal__dataTable__item:has(.sw_act):hover .td_rate {
	background: linear-gradient(90deg, var(--costs-time-highlight), var(--costs-money-highlight));
}
body.mobile .modal__dataTable-costs .modal__dataTable__item .td_rate:has(.sw_pre) {
	background: var(--costs-money-highlight);
}
body.mobile .modal__dataTable-costs .modal__dataTable__item:has(.sw_act) .td_rate {
	background: linear-gradient(90deg, var(--costs-time-highlight), var(--costs-money-highlight));
}

.modal__dataTable-costs .modal__dataTable__item:hover .td_date_vs span, .modal__dataTable-costs .modal__dataTable__item.modal__dataTable__item-joinPossible .td_date span {
	display: none
}
.modal__dataTable-costs a.join_but {
	display: none;
	background: var(--flt-act-bg);
	color: var(--base-txt-primary);
	padding: 0 3px;
	border-radius: 3px;
	font: 11px/18px var(--font-base)
}
.modal__dataTable-costs .modal__dataTable__item-joinPossible a.join_but {
	display: none;
}
.modal__dataTable-costs .modal__dataTable__item:hover a.join_but {
	display: inline-block;
	background: var(--base-txt-link-major);
	color: var(--white-accent)
}

.modal__dataTable-costs span.ico_timer {
	background: url(/assets/img/iconset.svg) no-repeat -80px -242px;
	opacity: 0.8;
}
.modal__dataTable-costs span.ico_time {
	background: none; /*url(/img/iconset.svg) no-repeat -40px -20px; opacity:0.7*/
}


.modal__dataTable-costs .td_time {
	position: relative
}
body.desktop .modal__dataTable-costs .modal__dataTable__item:hover .td_time .rate {
	display: inline
}
.modal__dataTable-costs .modal__dataTable__item_edited .td_time .rate {
	display: none !important
}

.modal[data-group=time] {
	.modal__content { overflow: unset; }
	.sum_progress .td_time, .sum_progress .td_money { font: var(--font-ui-22-title-1-semi); }
	.sum_progress .td_money .cents {
		color: var(--costs-money-minor);
		font: var(--font-ui-18-title-2-reg);
	}
}

@media (max-width: 640px) {
	.modal__dataTable-costs.modal__dataTable-costsWithMoney .td_user {
		display: none
	}
}
@media (max-width: 560px) {
}
@media (max-width: 480px) {
	.modal__dataTable__summary-costsWithMoney .td_money {
		min-width: 60px;
		box-sizing: content-box;
	}
	.modal__dataTable__head.modal__dataTable__head-costsWithMoney .td_money,
	.modal__dataTable-costsWithMoney .modal__dataTable__item .td_money {
		width: 60px;
	}
	.modal__dataTable__summary-costsWithMoney .td_time {
		min-width: 46px;
		box-sizing: content-box;
	}
	.modal__dataTable__head.modal__dataTable__head-costsWithMoney .td_time,
	.modal__dataTable-costsWithMoney .modal__dataTable__item .td_time {
		width: 46px;
	}
	.modal__dataTable-costsWithMoney .modal__dataTable__item .td_time .td_ico {
		width: 20px;
	}
	.modal__dataTable__summary-costsWithMoney .td_rate ~ .td_money {
		min-width: 116px;
		box-sizing: content-box;
	}
	.modal__dataTable__head.modal__dataTable__head-costsWithMoney .td_rate ~ .td_money {
		width: 116px;
	}
	.sum_progress_b,
	.sum_progress_b {
		padding-left: 8px;
		padding-right: 4px;
	}
	.modal .time_list_body .modal__dataTable__head {
		padding: 0 4px 0 8px;
	}
	.modal .time_list_body .modal__dataTable-costs .modal__dataTable__item {
		padding: 0 4px 0 8px;
	}
	.modal__dataTable-costs .td_user {
		display: none
	}
	.modal[data-group=time] {
		background-color: var(--base-cont-mod-low);
	}
	.modal[data-group=time] .modal__header {
		background-color: var(--base-cont-mod-low)
	}
	.modal__content .modal__taskClose .sum_progress_bm .td_name, .modal__content .modal__taskClose .sum_progress_b .td_name {
		display: none
	}
	.modal__content .modal__taskClose .sum_progress_bm {
		height: auto;
		padding-bottom: 5px;
		min-height: 46px;
	}
	.sum_progress_bm .ico_summ {
		display: none
	}
	.modal__content .modal__taskClose .sum_progress_bm .td_time,
	.modal__content .modal__taskClose .sum_progress_bm .td_money {
		margin: 10px 10px 0 0;
		width: auto
	}
	.sum_progress_b {
		/* padding-bottom: calc(5px + var(--sa-bot)) */
	}
}

/*--------------------------------------------------------------------------------------------------------------------*/

.setLimits.editBlock .editBlock__text svg {
	fill: var(--base-txt-alt-info);
}

.setLimits.editBlock .editBlock__text {
	color: var(--base-txt-alt-info);
}
.setLimits.editBlock .editBlock__text {
	padding: 6px 0;
}

/* new grid styles */
.modal__dataTable-costs .modal__dataTable__item {
}
.modal__dataTable-costs .modal__dataTable__item .td_time {
	display: flex;
	position: relative;
}
.modal__dataTable-costs .modal__dataTable__item .td_ico {
	width: 30px;
}
.modal__dataTable-costs .modal__dataTable__item .td_time .input {
	width: 60px;
}
.modal__dataTable-costs .modal__dataTable__item .td_money .input {
	width: 70px;
}
.modal__dataTable-costs .modal__dataTable__item .td_ico_vs {
	position: relative;
}
.modal__dataTable-costs .td_time .rate {
	position: relative;
	display: block;
	opacity: 0;
	inset: 0;
	margin-right: 16px;
}
.modal__dataTable-costs .modal__dataTable__item:hover .td_time .rate {
	opacity: 1;
}
.modal__dataTable-costs .modal__dataTable__item .td_name {}
.modal__dataTable-costs .modal__dataTable__item .td_name.editing .costs_comment_block,
.modal__dataTable-costs .modal__dataTable__item .td_name.editing .costs_comment.onch {
	display: none;
}
.modal__dataTable-costs .modal__dataTable__item .td_name.editing textarea {
	display: inline-block;
}
.modal__dataTable-costs .td_name textarea {
}
.modal__dataTable-costs .td_name a {
	display: block;
}
.modal__dataTable-costs .td_time .rate:before {
	pointer-events: none;
}
.modal__dataTable-costs .td_time .rate:before,
.modal__dataTable-costs .td_time .rate:after {
}
.modal__dataTable-costs .modal__dataTable__item > *:not(:is(.td_name, .td_user)) {
	display: flex;
	align-items: center;
}
.modal__dataTable-costs .modal__dataTable__item .td_date {
	gap: 2px;
	height: 40px;
}
.modal__dataTable-costs .modal__dataTable__item .td_date a {
	color: inherit
}
.modal__dataTable-costs .modal__dataTable__item .timer_place {
	justify-content: center;
}
.modal__dataTable-costs .modal__dataTable__item .td_date .detailed_date_wrapper {
	border-bottom: 1px dashed transparent;
	line-height: 1;
}
.modal__dataTable-costs .modal__dataTable__item .td_date:hover .detailed_date_wrapper {
	border-bottom-color: var(--base-txt-tertiary);
}
body.mobile .modal__dataTable-costs .modal__dataTable__item .td_name a.costs_comment.onch:not(:has(i)),
.modal__dataTable-costs .modal__dataTable__item:hover .td_name a.costs_comment.onch:not(:has(i)) {
}
.modal__dataTable__inlineDlete {
	position: absolute;
	display: none;
	left: 0;
}
.modal__dataTable-costs .but_cancel2,
.modal__dataTable-costs .but_delete2 {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 20px;
	box-sizing: border-box;
	padding-inline: 10px;
	font: 11px/16px var(--font-base);
	border-radius: 10px;
}
.modal__dataTable-costs .but_cancel2 {
	/* border: 1px solid var(--base-txt-tertiary); */
	color: var(--base-txt-tertiary);
}
.modal__dataTable-costs .but_delete2 {
	background: var(--base-btn-alert-primary-minor);
	color: var(--white-accent);
}
.modal__dataTable-costs .but_delete2:hover {
	background: var(--base-btn-alert-primary-major);
}
.modal__dataTable-costs .pre_delete .modal__dataTable__inlineDlete {
	display: flex;
	gap: 4px;
	z-index: 1;
}
.modal__dataTable-costs .pre_delete .button-delete,
.modal__dataTable-costs .pre_delete .av_sm {
	display: none !important;
}
.modal__dataTable-costs .pre_delete .td_name {
	opacity: 0;
}
@media (max-width: 640px) {
	.modal__dataTable-costs .modal__dataTable__item:has(.td_name.editing textarea) .td_ico,
	.modal__dataTable-costs .modal__dataTable__item:has(.td_name.editing textarea) .td_date,
	.modal__dataTable-costs .modal__dataTable__item:has(.td_name.editing textarea) .td_time,
	.modal__dataTable-costs .modal__dataTable__item:has(.td_name.editing textarea) .td_rate,
	.modal__dataTable-costs .modal__dataTable__item:has(.td_name.editing textarea) .td_money {
		display: none;
	}
	.modal__dataTable-costs .modal__dataTable__item:not(.subtask_costs) .td_name {
		grid-column: 2 / span 4;
		grid-row: 2;
		padding-top: 0;
		padding-right: 0;
	}
	.modal__dataTable-costs .td_name > * {
		width: 100%;
	}
	.modal__dataTable-costs .td_name textarea {
		margin: 0 0 -2px -5px;
	}
	.modal__dataTable-costs .td_name div.costs_comment_block {
		padding-left: 0;
	}
	.modal__dataTable-costs .modal__dataTable__item .td_date {
		width: unset;
	}
	.modal__dataTable-costs .pre_delete .td_date {
		opacity: 0;
	}
	.modal__dataTable-costs .modal__dataTable__item.subtask_costs .td_date {
		display: none;
	}
}

.modal__dataTable-costs .modal__dataTable__item:hover {
}

.modal__dataTable-costs .modal__dataTable__item .td_rate {
	justify-content: start;
}
.modal__dataTable-costs .modal__dataTable__item .td_rate a {
	color: var(--base-txt-secondary);
	display: flex;
	flex-direction: row-reverse;
	gap: 4px;
	align-items: center;
}
.modal__dataTable-costs .modal__dataTable__item .td_rate .sw {
	/* float:left; */
	margin: -1px;
	transform: scale(0.8);
}
.modal__dataTable-costs .modal__dataTable__item .td_rate .sw_pre font:before {
	content: '×';
	margin-right: 2px;
}
.modal__dataTable-costs .modal__dataTable__item:not(:hover) .td_rate .sw_pre .sw {
	display: none
}
.modal__dataTable-costs .modal__dataTable__item:not(:hover) .td_rate .sw_pre:not(.sw_act) font {
	color: var(--base-txt-tertiary);
	text-decoration: line-through var(--base-txt-alert-major);
	display: none
}
.modal__dataTable-costs .td_rate .sw_act .sw {
	background: var(--costs-money-text); /* var(--costs-money-text);*/
}
