html {
	scroll-behavior: smooth;
}

@media (min-width: 767px) {
	body {
		background: radial-gradient( circle at 70% 30%, rgb(77 171 253 / 12%), transparent 40% ), #f5f7fb;
	}
}



.modal {
	padding-right: 0 !important;
}

.lk-hint {
	font-size: 12px;
	color: #5D657B;
	margin-top: 4px;
	font-weight: 400;
}

#exampleModal .modal-content {
	position: relative;
	overflow: hidden;
	background: #fff;
	border-radius: 12px;
}
#exampleModal .modal-content::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url('/assets/images/avatar-modal-bg.webp') center center / cover no-repeat;
	background-attachment: scroll;
	pointer-events: none;
	z-index: 0;
	opacity: 0.5;
}
#exampleModal .modal-content > * {
	position: relative;
	z-index: 1;
}
/* Для длинных модалок */
#exampleModal .modal-content.modal-bg-fixed::before {
	background-attachment: scroll;
	background-position: center bottom;
	background-size: auto 100vh;
}
#exampleModal .modal-dialog:not(.modal-lg):not(.modal-xl) .modal-content::before {
	background-position: 15% center;
}

.lk-secret {
	-webkit-text-security: disc;
}

.lk-secret-visible {
	-webkit-text-security: none;
}

.input-with-actions {
	display: flex;
	align-items: center;
}

.input-with-actions input {
	padding-right: 30px;
}

.input-with-actions .input-actions {
	position: absolute;
	right: 10px;
}

.modal-dialog.modal-sticky .modal-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: #fff;
}

.modal-dialog.modal-sticky .modal-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -8px;
	height: 8px;
	pointer-events: none;
	background: linear-gradient( to bottom, rgba(33, 37, 41, 0.08), transparent );
	opacity: 0;
	transition: opacity .2s ease;
}

.modal-dialog.modal-sticky .modal-header.scrolled::after {
	opacity: 1;
}

/* Единственный modal-md в проекте — выбор аватара бота; ~+32% к ширине от стандартных 500px */
#exampleModal .modal-dialog.modal-md {
	max-width: 940px;
}

:root {
	--5f62cffe-59b0-4815-b760-42af09e77326: gray;
	--ad27e195-6097-4af8-aec6-b58b081a873e: #4a6cf7;
	--cfeb9620-3ea3-41f9-a612-f55fba4aa06f: #42d29d;
	--e86a2683-c080-4e17-94b5-ab84ebb23f88: #fa5a78;
	--02ca0496-4bd9-4185-8a26-9c8ba0e918ea: #cbe1ff;
	--background: #f1f5f9;
}

/* Placeholder: светлее текста поля #5d657b */
input::placeholder,
textarea::placeholder,
.form-control::placeholder {
	color: rgba(93, 101, 123, 0.48);
	font-weight: 400;
}

.bbc_ad27e195-6097-4af8-aec6-b58b081a873e {
	border-bottom-color: var(--ad27e195-6097-4af8-aec6-b58b081a873e);
}

.b_ad27e195-6097-4af8-aec6-b58b081a873e {
	color: #fff;
	background: var(--ad27e195-6097-4af8-aec6-b58b081a873e);
}

.o_ad27e195-6097-4af8-aec6-b58b081a873e {
	background: transparent;
	color: var(--ad27e195-6097-4af8-aec6-b58b081a873e) !important;
	border-color: var(--ad27e195-6097-4af8-aec6-b58b081a873e);
}

.bbc_5f62cffe-59b0-4815-b760-42af09e77326 {
	border-bottom-color: var(--5f62cffe-59b0-4815-b760-42af09e77326);
}

.b_5f62cffe-59b0-4815-b760-42af09e77326 {
	color: #fff;
	background: var(--5f62cffe-59b0-4815-b760-42af09e77326);
}

.o_5f62cffe-59b0-4815-b760-42af09e77326 {
	background: transparent;
	color: var(--5f62cffe-59b0-4815-b760-42af09e77326) !important;
	border-color: var(--5f62cffe-59b0-4815-b760-42af09e77326);
}

.bbc_cfeb9620-3ea3-41f9-a612-f55fba4aa06f {
	background-color: #21965433;
	border-bottom-color: var(--cfeb9620-3ea3-41f9-a612-f55fba4aa06f);
}

.b_cfeb9620-3ea3-41f9-a612-f55fba4aa06f {
	color: #fff;
	background: var(--cfeb9620-3ea3-41f9-a612-f55fba4aa06f);
}

.o_cfeb9620-3ea3-41f9-a612-f55fba4aa06f {
	background: transparent;
	color: var(--cfeb9620-3ea3-41f9-a612-f55fba4aa06f) !important;
	border-color: var(--cfeb9620-3ea3-41f9-a612-f55fba4aa06f);
}

.bbc_e86a2683-c080-4e17-94b5-ab84ebb23f88 {
	background-color: #dc35450d;
	border-bottom-color: var(--e86a2683-c080-4e17-94b5-ab84ebb23f88);
}

.b_e86a2683-c080-4e17-94b5-ab84ebb23f88 {
	color: #fff;
	background: var(--e86a2683-c080-4e17-94b5-ab84ebb23f88);
}

.o_e86a2683-c080-4e17-94b5-ab84ebb23f88 {
	background: transparent;
	color: var(--e86a2683-c080-4e17-94b5-ab84ebb23f88) !important;
	border-color: var(--e86a2683-c080-4e17-94b5-ab84ebb23f88);
}

.bbc_02ca0496-4bd9-4185-8a26-9c8ba0e918ea {
	border-bottom-color: var(--02ca0496-4bd9-4185-8a26-9c8ba0e918ea);
}

.b_02ca0496-4bd9-4185-8a26-9c8ba0e918ea {
	color: #fff;
	background: var(--02ca0496-4bd9-4185-8a26-9c8ba0e918ea);
}

.o_02ca0496-4bd9-4185-8a26-9c8ba0e918ea {
	background: transparent;
	color: var(--02ca0496-4bd9-4185-8a26-9c8ba0e918ea) !important;
	border-color: var(--02ca0496-4bd9-4185-8a26-9c8ba0e918ea);
}

/* скрыть на маленьких */
@media (max-width: 700px) {
	.hide-small {
		display: none !important;
	}
}
/* показывать только на маленьких */
.show-small {
	display: none;
}

@media (max-width: 700px) {
	.show-small {
		display: table-cell !important;
	}
}


.main-wrapper {
	position: relative;
	min-height: 100vh;
	background-color: #f7f9fd;
	background-image: url('/assets/images/main-bg.webp');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	background-attachment: fixed;
}

	.main-wrapper .section {
		min-height: calc(100vh - 84px);
		position: relative;
		isolation: isolate;
	}

		.main-wrapper .section::before {
			content: "";
			position: absolute;
			inset: 0;
			//background-image: url("../../bb.svg");
			background-repeat: repeat;
			background-position: top left;
			background-size: 640px 640px;
			opacity: 0.05;
			pointer-events: none;
			z-index: 0;
		}

		.main-wrapper .section > * {
			position: relative;
			z-index: 1;
		}

.container-fluid {
	max-width: 1320px;
	margin: 0 auto;
	width: 100%;
}

.ml-1 {
	margin-left: 5px;
}

#mapDiv {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 10000;
}

input[type="file"] {
	height: 0;
	width: 0;
	overflow: 'hidden';
}

.vh50 {
	min-height: 50vh;
	box-sizing: border-box;
}

.vr-button {
	position: absolute;
	right: -26px;
	top: 30%;
	margin-top: -10px;
	transform: rotate(-90deg);
	border-radius: 5px 5px 0px 0px;
	border: none;
	padding: 4px 20px;
	font-size: 10px;
}

.vert {
	writing-mode: vertical-rl;
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);
}

.sidebar-nav-wrapper .navbar-logo {
	display: flex;
	justify-content: center;
	padding: 8px 0 0;
}

.navbar-logo a {
	width: 100%;
	text-align-last: center;
}

.navbar-logo a img {
	width: 150px;
	max-width: none;
	height: auto;
	margin-bottom: 12px;
}

.sidebar-nav-wrapper .sidebar-nav ul .nav-title {
	padding: 0 24px;
	margin: 28px 0 14px;
	font-size: 11px;
	font-weight: 500;
	color: #8b95aa;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

a {
	cursor: pointer;
}

.reqfield {
	border: 1px solid #d50100;
}

	.reqfield:focus {
		border: 1px solid #d50100;
	}


.project-card {
	border-bottom-width: 3px;
}

.field .lni {
	color: #d50100 !important;
}

.project-card p {
	font-size: 14px;
	line-height: 22px;
}

.project-card .sum {
	font-size: 10px;
	font-weight: 100;
}

.number {
	cursor: pointer;
	text-decoration-style: dotted;
	text-decoration-line: underline;
	text-decoration-thickness: 1px;
}

.row {
	margin-right: 0px;
	margin-left: 0px;
}


.status-btn {
	padding: 0px 15px;
	//border-radius: 3px;
}

.mark, mark {
	background-color: #f7c800;
}

.sidebar-nav-wrapper .sidebar-nav ul .nav-item.active > a {
	background: rgba(54, 92, 245, 0.08);
	color: #262d3f;
	font-weight: 600;
	border-radius: 12px;
}

.sidebar-nav-wrapper .sidebar-nav ul .nav-item {
	margin: 4px 0;
}

.sidebar-nav-wrapper .sidebar-nav ul .nav-item a .icon-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	min-width: 28px;
	margin-right: 12px;
}

.sidebar-nav-wrapper .sidebar-nav ul .nav-item a .icon {
	margin-right: 0;
	font-size: 24px;
	line-height: 1;
}

.sidebar-nav-wrapper a .pic {
	padding-left: 10px;
}

@media screen and (max-width: 992px) {
	.hide-sm {
		position: fixed;
		display: none;
		width: 50px;
		height: 50px;
	}
}

@media screen and (min-width: 992px) {
	.show-mx {
		position: fixed;
		display: none;
		width: 50px;
		height: 50px;
	}
}

.help {
	font-size: 12px !important;
}

.cen {
	text-align: center;
}

.rig {
	text-align: right;
}

.hide {
	display: none;
}

.sticky {
	position: sticky;
	top: 0;
	min-height: 2em;
}

.wcur {
	cursor: progress;
}

.dcur {
	cursor: default;
}

.form-control:disabled, .form-control[readonly] {
	cursor: default;
}

.input-style-1-w {
	position: relative;
	margin-bottom: 30px;
}

	.input-style-1-w label {
		font-size: 14px;
		font-weight: 500;
		color: #262d3f;
		display: block;
		margin-bottom: 8px;
	}

	.input-style-1-w input, .input-style-1-w textarea {
		width: 100%;
		background: #fff;
		;
		border: 1px solid #e5e5e5;
		border-radius: 12px;
		padding: 16px;
		color: #5d657b;
		resize: none;
		transition: all 0.3s;
	}

		.input-style-1-w input:focus, .input-style-1-w textarea:focus {
			border-color: #4a6cf7;
			background: #fff;
		}

		.input-style-1-w input[type="date"], .input-style-1-w input[type="time"], .input-style-1-w textarea[type="date"], .input-style-1-w textarea[type="time"] {
			background: transparent;
		}


.fly-panel a {
	padding: 12px 16px;
}

.fly-panel {
	position: fixed;
	bottom: 24px;
	right: 24px;
	height: 48px;
	z-index: 80;
	//-webkit-box-shadow: 0px 21px 25px rgb(218 223 227 / 80%);
	//-moz-box-shadow: 0px 21px 25px rgba(218, 223, 227, 0.8);
	//box-shadow: 0px 21px 25px rgb(218 223 227 / 80%);
}

.alert .lni {
	font-size: 18px;
}

.mand {
	border: 1px solid #d50100 !important;
}


#toast-container > div {
	opacity: 0.95;
}

.datepicker table tr td, .datepicker table tr th {
	width: 40px;
}

@media (max-width: 500px) {
	.datepicker {
		width: 100%;
	}

		.datepicker table {
			width: 100%;
		}
}


.row-out-8 {
	margin-left: -8px;
	margin-right: -8px;
}

.row-out-12 {
	margin-left: -12px;
	margin-right: -12px;
}


/*идикатор загрузки*/
#loader {
	-webkit-animation: rotate-infinite .8s linear infinite;
	border-width: 12px;
	border-color: #3c8dbc9e;
	border-style: solid;
	border-right-color: transparent;
	border-radius: 50%;
	display: inline-block;
	height: 100px;
	width: 100px;
	margin: -53px 0 0 -53px;
	z-index: 100000;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

@-webkit-keyframes rotate-infinite {
	0% {
		-webkit-transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
	}
}



/*
.loader {
    width: 10em;
    height: 10em;
    font-size: 25px;
    box-sizing: border-box;
    border-top: 0.3em solid hotpink;
    border-radius: 50%;
    position: fixed;
    animation: rotating 2s ease-in-out infinite;
    --direction: 1;
}
.loader::before,
.loader::after {
    content: '';
    position: absolute;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    box-sizing: border-box;
    top: -0.2em;
}
.loader::before {
    border-top: 0.3em solid dodgerblue;
    transform: rotate(120deg);
}
.loader::after {
    border-top: 0.3em solid gold;
    transform: rotate(240deg);
}
.loader span {
    position: absolute;
    color: white;
    width: inherit;
    height: inherit;
    text-align: center;
    line-height: 10em;
    font-family: sans-serif;
    animation: rotating 2s linear infinite;
    --direction: -1;
}
@keyframes rotating {
    50% {
        transform: rotate(calc(180deg * var(--direction)));
    }

    100% {
        transform: rotate(calc(360deg * var(--direction)));
    }
}
*/








.lk-bots-scope .lk-icon-btn,
.lk-bots-scope .btn.lk-icon-btn,
.lk-bots-scope a.lk-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
}

	.lk-bots-scope .lk-icon-btn i,
	.lk-bots-scope .lk-icon-btn svg {
		display: block;
		line-height: 1;
		margin-right: 0 !important;
	}

.lk-bots-scope .lk-count-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 12px;
	min-width: 36px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 13px;
	line-height: 1;
	background: rgba(54, 92, 245, 0.1);
	color: #365cf5;
}

.lk-bots-scope .title-wrapper {
	padding-top: 16px;
}

.lk-bots-scope .lk-page-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.lk-bots-scope .lk-page-title {
	margin: 0;
	text-align: left;
}

.lk-bots-scope .lk-page-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	flex-wrap: nowrap;
}

.lk-bots-scope .lk-actions {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.lk-bots-scope .lk-td-center {
	text-align: center;
}

.lk-bots-scope .lk-dash {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 12px;
}

.lk-bots-scope .lk-bool-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 12px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 13px;
	line-height: 1;
	background: rgba(38, 191, 148, 0.12);
	color: #26bf94;
	border: 1px solid rgba(38, 191, 148, 0.22);
}

	.lk-bots-scope .lk-bool-badge.is-false {
		background: #f3f5f9;
		color: #5d657b;
		border: 1px solid #dfe5ef;
	}

.lk-bots-scope .lk-page-actions .btn,
.lk-bots-scope .lk-page-actions .main-btn,
.lk-bots-scope .lk-page-actions a.main-btn {
	height: 46px;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

.lk-bots-scope .lk-page-actions .dropdown {
	display: flex;
	align-items: center;
}

@media (max-width: 768px) {
	.lk-bots-scope .lk-page-head {
		flex-wrap: wrap;
	}

	.lk-bots-scope .lk-page-actions {
		justify-content: flex-start;
		flex-wrap: wrap;
	}
}


.lk-open-link {
	color: #365CF5;
	font-size: 14px;
	text-decoration: none;
}

	.lk-open-link:hover {
		text-decoration: underline;
	}


/* filter bar */
.lk-channel-filterbar {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	min-height: 44px;
}

.lk-filter-label {
	color: #5d657b;
	font-size: 13px;
	margin-right: 2px;
	white-space: nowrap;
}

.lk-filter-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	padding: 0;
	border: 1px solid #dfe5ef;
	background: #fff;
	color: #5d657b;
	box-shadow: none;
	cursor: pointer;
	line-height: 1;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

	.lk-filter-chip:hover {
		border-color: #c3ccda;
	}

	.lk-filter-chip:focus {
		outline: none;
	}

	.lk-filter-chip:focus-visible {
		border-color: #365cf5;
		box-shadow: 0 0 0 3px rgba(54, 92, 245, 0.12);
	}

	.lk-filter-chip i {
		font-size: 16px;
		line-height: 1;
		color: #365cf5;
	}

	.lk-filter-chip.is-active {
		border-color: #365cf5;
		background: #fff;
		box-shadow: 0px 6px 14px rgba(54, 92, 245, 0.15);
	}

.lk-filter-reset-link {
	border: 0;
	background: transparent;
	padding: 0;
	color: #365CF5;
	font-size: 14px;
	cursor: pointer;
}

.lk-bots-search .form-control {
	height: 46px;
	border-radius: 12px;
	min-width: 0;
}

.lk-bots-search {
	min-width: 0;
}




.lk-bots-filters .row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	--bs-gutter-x: 0;
	--bs-gutter-y: 12px;
	margin-left: 0;
	margin-right: 0;
}

	.lk-bots-filters .row > [class*="col-"] {
		padding-left: 0;
		padding-right: 0;
	}

	.lk-bots-filters .row > :first-child {
		flex: 0 0 auto;
		width: auto;
	}

	.lk-bots-filters .row > :nth-child(2) {
		flex: 1 1 320px;
		min-width: 240px;
		max-width: 100%;
		width: auto;
	}

	.lk-bots-filters .row > :last-child {
		flex: 0 0 auto;
		width: auto;
		margin-left: auto;
	}

@media (max-width: 576px) {
	.lk-bots-filters .row {
		align-items: stretch;
	}

		.lk-bots-filters .row > :nth-child(2),
		.lk-bots-filters .row > :last-child {
			flex-basis: 100%;
			width: 100%;
			margin-left: 0;
		}

	#lkBotsResetBtn {
		width: 100%;
	}
}


.divider2 {
	display: flex;
	align-items: center;
	gap: 16px;
	color: #9aa3b2;
	font-size: 14px;
}

	.divider2::before,
	.divider2::after {
		content: "";
		flex: 1;
		height: 1px;
		background: #e5e9f2;
	}

.sidebar-nav-wrapper {
	overflow-y: hidden;
	position: fixed;
	overflow: hidden;
	background: #f7f9ff !important;
}

.sidebar-nav-wrapper::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient( to bottom, rgba(247, 249, 255, 1) 0%, rgba(247, 249, 255, 0.98) 25%, rgba(247, 249, 255, 0.88) 45%, rgba(247, 249, 255, 0.35) 68%, rgba(247, 249, 255, 0.05) 100% );
	background-position: center, center bottom;
	background-repeat: no-repeat;
	pointer-events: none;
	z-index: 0;
}

.sidebar-nav-wrapper > * {
	position: relative;
	z-index: 1;
}

.profile-avatar-image {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/*aside {
	background:
		radial-gradient(circle at 20% 20%, rgb(123 97 255 / 1%), transparent 50%),
		radial-gradient(circle at 80% 40%, rgba(91, 140, 255, 0.12), transparent 50%),
		linear-gradient(180deg, #ffffff, #f7f9ff) !important;
}*/

.sidebar-bottom {
	margin-top: auto;
	padding: 16px;
}

.promo-card {
	position: relative;
	padding: 20px;
	border-radius: 16px;
	overflow: hidden;
	color: white;
	background: linear-gradient(135deg, #7b61ff, #5b8cff);
}

	.promo-card::before {
		content: "";
		position: absolute;
		width: 180px;
		height: 190px;
		right: -80px;
		bottom: -80px;
		border-radius: 50%;
		background: radial-gradient( circle at 30% 30%, rgba(255,255,255,0.4), transparent 60% );
		filter: blur(30px);
	}

	.promo-card::after {
		content: "";
		position: absolute;
		width: 200px;
		height: 200px;
		right: -60px;
		bottom: -60px;
		border-radius: 50%;
		/* сама сетка */
		background: radial-gradient(rgba(255,255,255,0.3) 1px, transparent 1px);
		background-size: 12px 12px;
		/* создаёт форму сферы */
		mask-image: radial-gradient(circle at center, white 40%, rgba(255,255,255,0.6) 60%, transparent 80% );
		-webkit-mask-image: radial-gradient(circle at center, white 40%, rgba(255,255,255,0.6) 60%, transparent 80% );
		opacity: 0.5;
	}

.promo-title {
	font-weight: 600;
	font-size: 16px;
	margin-bottom: 8px;
}

.promo-text {
	font-size: 13px;
	opacity: 0.85;
	line-height: 1.4;
	margin-bottom: 16px;
}

.promo-btn {
	border: none;
	border-radius: 12px;
	padding: 12px 16px;
	background: rgba(255,255,255,0.15);
	color: white;
	cursor: pointer;
	transition: 0.2s;
}

	.promo-btn:hover {
		background: rgba(255,255,255,0.25);
	}

.promo-card {
	background: linear-gradient( 135deg, #7b61ff 0%, #5b8cff 50%, #6ee7ff 100% );
	background-size: 200% 200%;
	transition: background-position 0.4s;
}

	.promo-card:hover {
		background-position: right center;
	}

.art1 {
	display: none;
	position: absolute;
	width: 100px;
	top: -70px;
	left: 10px;
	z-index: 10;
}

.drag-handle {
	cursor: grab;
}

/* Иконка «?»: светло-голубая круглая подложка, тёмно-синий глиф */
.lk-label i.lni.lni-question-circle,
label i.lni.lni-question-circle,
h6 i.lni.lni-question-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 27px;
	height: 27px;
	margin-left: 6px;
	box-sizing: border-box;
	border-radius: 50%;
	vertical-align: middle;
	position: relative;
	top: -1px;
	flex-shrink: 0;
	padding: 0;
	font-size: 17px;
	line-height: 1;
	color: #1e3a8a;
	background: #eaf2ff;
	border: none;
	cursor: pointer;
}

/* SIP голос: обёртка для SVG-квадрата «Стоп», не даём flex её съесть */
.voice-select a.main-btn .sip-play-btn-stop-icon {
	flex: 0 0 auto;
	position: relative;
	z-index: 1;
	vertical-align: middle;
	margin-top: -1px;
}

	.voice-select a.main-btn .sip-play-btn-stop-icon svg {
		display: block;
	}

.tooltip.lk-help-bs-tooltip {
	--bs-tooltip-bg: #334155;
	--bs-tooltip-color: #fff;
}

	.tooltip.lk-help-bs-tooltip .tooltip-inner {
		max-width: min(320px, 92vw);
		text-align: left;
		font-weight: 400;
		border-radius: 10px;
		padding: 8px 12px;
		font-size: 13px;
	}




.lk-nav-note {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 78px;
	padding: 16px;
	border: 1px dashed #DFE5EF;
	border-radius: 8px;
}

	.lk-nav-note .lk-stat-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
		flex: 0 0 32px;
		border: 1px solid #DCE6FF;
		border-radius: 8px;
		background: #F3F7FF;
		color: #365CF5;
		font-size: 15px;
	}

.lk-nav-note-title {
	color: var(--lk-strong-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
}

.lk-nav-note-sub {
	color: #5D657B;
	font-size: 12px;
	line-height: 1.4;
	margin-top: 6px;
}





.hint-arrow-left {
	--hint-color-1: #b3b9d0;
	--hint-color-2: #4a6cf7;
	--hint-width: 96px;
	--hint-height: 28px;
	--hint-gap: 16px;
	position: relative;
	overflow: visible !important;
}

	.hint-arrow-left::before {
		content: "";
		position: absolute;
		top: 50%;
		right: calc(90% + var(--hint-gap));
		width: var(--hint-width);
		height: var(--hint-height);
		pointer-events: none;
		z-index: 20;
		background: linear-gradient(90deg, var(--hint-color-1) 0%, var(--hint-color-2) 100%);
		filter: drop-shadow(0 3px 8px rgba(255, 77, 94, 0.28));
		-webkit-mask: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 28' fill='none'>\
<path d='M4 14H70' stroke='black' stroke-width='4' stroke-linecap='round'/>\
<path d='M58 5L74 14L58 23' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/>\
</svg>") center / contain no-repeat;
		mask: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 28' fill='none'>\
<path d='M4 14H70' stroke='black' stroke-width='4' stroke-linecap='round'/>\
<path d='M58 5L74 14L58 23' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/>\
</svg>") center / contain no-repeat;
		animation: hintArrowSlideLeft 1.25s cubic-bezier(.22,.61,.36,1) infinite;
	}

@keyframes hintArrowSlideLeft {
	0% {
		transform: translate(-14px, -50%);
		opacity: 0;
	}

	18% {
		opacity: 1;
	}

	55% {
		transform: translate(0, -50%);
		opacity: 1;
	}

	68% {
		transform: translate(4px, -50%);
		opacity: 1;
	}

	100% {
		transform: translate(-14px, -50%);
		opacity: 0;
	}
}

@keyframes hintArrowImpactLeft {
	0%, 40% {
		transform: translate(50%, -50%) scale(0.6);
		box-shadow: 0 0 0 0 rgba(255, 77, 94, 0);
		opacity: 0;
	}

	55% {
		transform: translate(50%, -50%) scale(1);
		box-shadow: 0 0 0 0 rgba(255, 77, 94, 0.30);
		opacity: 1;
	}

	75% {
		transform: translate(50%, -50%) scale(1);
		box-shadow: 0 0 0 12px rgba(255, 77, 94, 0);
		opacity: 1;
	}

	100% {
		transform: translate(50%, -50%) scale(0.6);
		box-shadow: 0 0 0 0 rgba(255, 77, 94, 0);
		opacity: 0;
	}
}






/*
	Стили списка ботов
*/
.lk-bots-page .title-wrapper {
	margin-bottom: 10px;
}

.lk-bots-page .lk-page-head {
	margin-bottom: 0;
}

.lk-bots-page .lk-bots-table tbody td.lk-bots-col-drag {
	width: 24px;
	padding: 28px 0 20px 8px;
}

.lk-bots-page .lk-bots-toolbar {
	padding: 16px 20px;
	margin-bottom: 24px !important;
}

.lk-bots-page .lk-bots-toolbar-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.lk-bots-page .lk-channel-filterbar {
	gap: 12px;
	min-height: 46px;
}

.lk-bots-page .lk-table {
	padding: 0;
	font-size: 14px;
	width: 100%;
}

.lk-bots-page .lk-bots-table tbody tr > * {
	vertical-align: top;
}

.lk-bots-page .lk-bots-table tbody td.lk-bots-col-avatar {
	padding-right: 28px;
	padding-top: 8px;
	padding-bottom: 8px;
}

.lk-bots-page .lk-bots-table tbody td.lk-bots-col-action {
	padding-right: 24px;
	width: 148px;
}

.lk-bots-page .lk-bots-table tbody td.lk-bots-col-info {
	width: 28%;
	padding-left: 0;
}
.lk-bot-name-row {
	display: flex;
	align-items: center;
	gap: 7px;
}
.lk-bot-name-row .lk-bot-name {
	margin: 0;
}
.lk-bots-page .lk-bots-table tbody td.lk-bots-col-channels {
	width: 20%;
}

.lk-bots-page .lk-bots-table tbody td.lk-bots-col-dialogs {
	width: 10%;
	padding-right: 0;
}

.lk-bots-page .lk-bots-table tbody td.lk-bots-col-activity {
	padding-left: 0;
	margin-left: -12px;
}

.lk-bots-page .lk-filter-label {
	font-weight: 500;
}

.lk-bots-page .lk-bots-search .form-control {
	width: 100% !important;
	height: 46px;
}

.lk-bots-page #lkBotsResetBtn {
	min-width: 112px;
}

.lk-bots-page .lk-bots-list-card {
	padding: 12px 0 8px;
	overflow: hidden;
}

.lk-bots-page .lk-bots-list {
	display: flex;
	flex-direction: column;
}

.lk-bots-page .lk-bot-row {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px 24px;
	cursor: pointer;
	transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

	.lk-bots-page .lk-bot-row + .lk-bot-row {
		border-top: 1px solid #DFE5EF;
	}

	.lk-bots-page .lk-bot-row:hover {
		background: #F8FAFC;
		box-shadow: inset 0 1px 0 rgba(54, 92, 245, 0.04), inset 0 -1px 0 rgba(54, 92, 245, 0.04);
	}

	.lk-bots-page .lk-bot-row:focus-visible {
		outline: none;
		background: #F8FAFC;
		box-shadow: inset 0 0 0 1px rgba(54, 92, 245, 0.16);
	}

.lk-bots-page .lk-bot-row-main {
	flex: 1 1 auto;
	min-width: 0;
}

.lk-bots-page .lk-bot-row-heading {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	min-width: 0;
}

.lk-bots-page .lk-bot-name {
	font-weight: 600;
	margin: 0;
	color: var(--lk-strong-text);
	font-size: 18px;
	line-height: 1.3;
}

.lk-bots-page .lk-bot-channels {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}

.lk-bots-page .lk-channel-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	border: 1px solid #DFE5EF;
	background: #F8FAFC;
	color: #5D657B;
	font-size: 16px;
	position: relative;
}

	.lk-bots-page .lk-channel-badge i {
		font-size: 16px;
		line-height: 1;
	}

.lk-bots-page .lk-channel-badge--tg {
	background: #365CF5;
	color: #fff;
	border-color: #365CF5;
}

.lk-bots-page .lk-channel-badge--sip {
	background: #EAF2FF;
	color: #365CF5;
}

.lk-bots-page .lk-channel-badge--api {
	background: #F8FAFC;
	color: #5D657B;
}

.lk-bots-page .lk-bot-row-date {
	flex: 0 0 148px;
	min-width: 132px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.lk-bots-page .lk-bot-date {
	color: var(--lk-strong-text);
	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;
}

.lk-bots-page .lk-bot-time {
	color: #5D657BA6;
	font-size: 13px;
	line-height: 1.4;
}

.lk-bots-page .lk-bot-row-action {
	flex: 0 0 auto;
	min-width: 96px;
	margin-left: auto;
	display: flex;
	justify-content: flex-end;
}

	.lk-bots-page .lk-bot-row-action .lk-open-link {
		font-weight: 600;
	}

.lk-bots-page .lk-empty {
	padding: 40px 24px;
}

.lk-bots-page .lk-empty-inner {
	display: flex;
	gap: 16px;
	align-items: center;
	flex-wrap: wrap;
}

.lk-bots-page .lk-empty-icon {
	width: 48px;
	height: 48px;
	border-radius: 16px;
	border: 1px solid #DFE5EF;
	background: #EAF2FF;
	color: #365CF5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}

.lk-bots-page .lk-empty-title {
	font-weight: 800;
	color: var(--lk-strong-text);
}

.lk-bots-page .lk-empty-sub {
	color: #5D657B;
	font-size: 13px;
	margin-top: 4px;
	max-width: 520px;
}

.lk-bots-page .lk-empty-actions {
	margin-left: auto;
}


@media (max-width: 991px) {
	.lk-bots-page .lk-bot-row {
		padding: 20px 24px;
	}
}

.lk-bots-page .lk-table img {
	padding-right: 0;
	object-fit: contain;
	display: block;
}

@media (max-width: 768px) {

	.lk-bots-page .lk-table img {
		height: 70px;
		width: 70px;
		padding-right: 0;
	}

	.lk-bots-page .title-wrapper {
		margin-bottom: 12px;
	}

	.lk-bots-page .lk-page-head {
		align-items: flex-start;
		gap: 16px;
	}

	.lk-bots-page .lk-page-actions {
		width: 100%;
	}

		.lk-bots-page .lk-page-actions .main-btn {
			width: 100%;
		}

	.lk-bots-page .lk-bots-toolbar {
		padding: 16px;
	}

	.lk-bots-page .lk-bots-toolbar-right {
		width: 100%;
	}

	.lk-bots-page .lk-bots-toolbar-right {
		justify-content: flex-start;
	}

	.lk-bots-page .lk-bots-search {
		flex: 1 1 auto;
		width: auto;
	}

	.lk-bots-page .lk-bot-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 16px;
	}

	.lk-bots-page .lk-bot-row-date,
	.lk-bots-page .lk-bot-row-action {
		width: 100%;
		min-width: 0;
		margin-left: 0;
	}

	.lk-bots-page .lk-bot-row-action {
		justify-content: flex-start;
	}

	.lk-bots-page .lk-bots-search {
		width: 100%;
	}

	.lk-bots-page .lk-empty {
		padding: 24px 20px;
	}

	.lk-bots-page .lk-empty-actions {
		margin-left: 0;
		width: 100%;
	}

		.lk-bots-page .lk-empty-actions .main-btn {
			width: 100%;
		}
}

@media (max-width: 700px) {
	.lk-bots-page .lk-bots-table,
	.lk-bots-page .lk-bots-table tbody {
		display: block;
		width: 100%;
	}

		.lk-bots-page .lk-bots-table tbody td.lk-bots-col-drag {
			display: none;
		}

		.lk-bots-page .lk-bots-table tbody td.drag-handle {
			display: none !important;
			width: 0 !important;
			min-width: 0 !important;
			max-width: 0 !important;
			padding: 0 !important;
			margin: 0 !important;
		}

		.lk-bots-page .lk-bots-table tbody tr {
			display: flex;
			align-items: center;
			gap: 8px;
			width: 100%;
			border-bottom: 1px solid #DFE5EF;
		}

			.lk-bots-page .lk-bots-table tbody tr > * {
				display: block;
				border: 0;
				padding-top: 12px;
				padding-bottom: 12px;
			}

		.lk-bots-page .lk-bots-table tbody td.lk-bots-col-avatar {
			flex: 0 0 120px;
			width: 60px;
			max-width: 60px;
			white-space: normal;
			padding: 12px 8px 12px 12px;
			box-sizing: border-box;
		}

		.lk-bots-page .lk-bots-table tbody td.lk-bots-col-drag {
			display: none;
		}

		.lk-bots-page .lk-bots-table tbody td.lk-bots-col-info {
			flex: 1 1 auto;
			width: auto;
			min-width: 0;
			display: flex;
			align-items: center;
			justify-content: flex-start;
			gap: 12px;
			padding: 12px 10px 12px 28px;
		}

			.lk-bots-page .lk-bots-table tbody td.lk-bots-col-info > div:first-child {
				flex: 0 1 auto;
				min-width: 0;
			}

			.lk-bots-page .lk-bots-table tbody td.lk-bots-col-info .show-small {
				display: block !important;
				flex: 0 0 auto;
				padding: 0;
				margin: 0 0 0 auto;
			}

			.lk-bots-page .lk-bots-table tbody td.lk-bots-col-info .lk-bot-channels {
				display: flex;
				grid-template-columns: repeat(2, 36px);
				gap: 8px;
				justify-content: start;
				margin: 0;
			}

			.lk-bots-page .lk-bots-table tbody td.lk-bots-col-info .text-sm {
				margin-top: 2px;
				color: #5D657B;
				font-size: 13px;
			}

		.lk-bots-page .lk-bots-table .lk-bot-name {
			color: #4a6cf7;
			font-size: 16px;
			font-weight: 600;
			margin: 0;
		}

		.lk-bots-page .lk-bots-table .lk-open-link {
			display: block;
			color: #4a6cf7;
			text-decoration: none;
		}

		.lk-bots-page .lk-bots-table .lk-channel-badge {
			background: #fff;
			color: #5D657B;
			border-color: #DFE5EF;
		}
}

.channel-stat {
	position: absolute;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	bottom: -2px;
	right: -2px;
}

.channel-stat-dis {
	background: #FF737E;
}


.lk-bots-page .drag-handle {
	opacity: 0;
	transition: opacity .15s;
	padding: 10px;
	vertical-align: middle !important;
	width: 16px;
	color: #5D657BA6;
}

.lk-bots-page tbody tr:hover .drag-handle {
	opacity: 1;
}

.lk-bots-page .avatar-disabled {
	filter: grayscale(100%);
	opacity: 0.6;
}

.lk-bots-page td .drag-handle {
	padding: 10px;
}

.lk-bots-page tbody tr:first-child td {
	padding-top: 20px;
}

.new-bot {
	background: rgba(247, 200, 0, 0.2);
}


#chatsApp {
	.bots-empty

{
	position: relative;
	display: flex;
	align-items: center;
	gap: 60px;
	margin-top: 24px;
	padding: 55px 70px;
	overflow: hidden;
}

.bots-empty img {
	width: 300px;
	height: 300px;
	object-fit: contain;
	flex-shrink: 0;
}

.bots-empty-info {
	position: relative;
	z-index: 1;
}

.bots-empty-title {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 18px;
}

	.bots-empty-title h3 {
		margin: 0;
		font-size: 32px;
		font-weight: 700;
		color: #262d3f;
	}

.bots-empty-title-icon {
	width: 54px;
	height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: rgba(74, 108, 247, 0.08);
	color: #4a6cf7;
	font-size: 26px;
	flex-shrink: 0;
}

.bots-empty p {
	max-width: 620px;
	margin-bottom: 28px;
	font-size: 17px;
	line-height: 1.7;
	color: #34405f;
}

.bots-empty-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 26px;
}

	.bots-empty-tags span {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		height: 38px;
		padding: 0 16px;
		border: 1px solid #e2e8f0;
		border-radius: 30px;
		color: #262d3f;
		font-size: 14px;
		font-weight: 500;
	}

	.bots-empty-tags i {
		color: #4a6cf7;
		font-size: 18px;
	}

.bots-empty .main-btn {
	min-width: 300px;
	height: 56px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 10px;
}

.bots-empty-note {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	color: rgba(93, 101, 123, 0.62);
	font-size: 15px;
	font-weight: 500;
}

	.bots-empty-note i {
		color: rgba(74, 108, 247, 0.55);
		font-size: 18px;
	}

.bots-empty-dots {
	position: absolute;
	top: 42px;
	right: 48px;
	width: 86px;
	height: 86px;
	opacity: 0.35;
	background-image: radial-gradient(#4a6cf7 1.5px, transparent 1.5px);
	background-size: 16px 16px;
}

@media (max-width: 900px) {
	.bots-empty {
		flex-direction: column;
		align-items: flex-start;
		padding: 30px;
		gap: 24px;
	}

		.bots-empty img {
			width: 220px;
			height: 220px;
		}

		.bots-empty .main-btn {
			width: 100%;
			min-width: 0;
		}

	.bots-empty-title h3 {
		font-size: 24px;
	}

	.bots-empty-dots {
		display: none;
	}
}

}

/*
.bot-avatar {
	display: block;
	width: 112px;
	height: 112px;
	border-radius: 50%;
	overflow: hidden;
	line-height: 0;
	text-align: center;
	background: #F6F8FC;
	border: 1px solid #E6EAF2;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

td .bot-avatar {
	height: 80px;
	width: 80px;
}

.bot-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
	-webkit-user-drag: none;
}

.bot-avatar-hover:hover {
	transform: scale(1.06);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
}

@media (max-width: 768px) {
	.bot-avatar {
		width: 64px;
		height: 64px;
	}
}*/

.bot-avatar {
	display: block;
	width: 112px;
	height: 112px;
	border-radius: 50%;
	overflow: hidden;
	line-height: 0;
	text-align: center;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(116, 139, 190, 0.28);
	box-shadow: 0 5px 16px rgba(39, 58, 105, 0.08), 0 1px 3px rgba(39, 58, 105, 0.06);
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

td .bot-avatar {
	width: 100px;
	height: 100px;
}

.bot-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
	border-radius: 50%;
	background: #F6F8FC;
	-webkit-user-drag: none;
}

.bot-avatar-hover:hover {
	transform: translateY(-2px) scale(1.035);
	border-color: rgba(67, 103, 220, 0.42);
	box-shadow: 0 9px 24px rgba(39, 58, 105, 0.14), 0 0 0 3px rgba(67, 103, 220, 0.05);
}

.bot-avatar.active,
.bot-avatar.selected {
	border-color: #4668E5;
	box-shadow: 0 0 0 3px rgba(70, 104, 229, 0.12), 0 8px 22px rgba(39, 58, 105, 0.14);
}

@media (max-width: 768px) {
	.bot-avatar {
		width: 64px;
		height: 64px;
	}
}


@media (max-width: 700px) {

	/* сама строка */
	.lk-bots-page .lk-bots-table tbody tr {
		display: flex;
		align-items: center;
		gap: 14px;
		min-height: 108px;
		padding: 14px 16px;
		border-bottom: 1px solid #e5eaf2;
		background: transparent;
	}

	/* убираем padding у td — теперь им управляет сама строка */
	.lk-bots-page .lk-bots-table tbody tr > * {
		padding: 0 !important;
	}


	/* -----------------------
	   Аватар
	   ----------------------- */

	.lk-bots-page .lk-bots-table tbody td.lk-bots-col-avatar {
		flex: 0 0 72px;
		width: 72px;
		max-width: 72px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.lk-bots-page .bot-avatar {
		width: 72px;
		height: 72px;
		min-width: 72px;
		border-radius: 50%;
		overflow: hidden;
		background: #fff;
		border: 1px solid #e1e7f0;
		box-shadow: 0 5px 14px rgba(51, 72, 119, .09);
	}

	.lk-bots-page .bot-avatar img,
	.lk-bots-page .lk-table img {
		display: block;
		width: 100% !important;
		height: 100% !important;
		object-fit: cover;
		padding: 0 !important;
	}


	/* -----------------------
	   Информация
	   ----------------------- */

	.lk-bots-page .lk-bots-table tbody td.lk-bots-col-info {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
		display: block;
		padding: 0 !important;
	}

	.lk-bots-page .lk-bots-table tbody td.lk-bots-col-info > div:first-child {
		width: 100%;
		min-width: 0;
	}


	/* имя + ошибка */
	.lk-bots-page .lk-bot-name-row {
		display: flex;
		align-items: center;
		gap: 6px;
		min-width: 0;
	}

	.lk-bots-page .lk-bots-table .lk-bot-name {
		margin: 0;
		font-size: 16px;
		line-height: 1.25;
		font-weight: 600;
		color: #4a6cf7;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.lk-bots-page .lk-bot-name-row .lk-open-link {
		min-width: 0;
		max-width: 100%;
	}


	/* описание */
	.lk-bots-page .lk-bots-col-info .text-sm {
		margin-top: 4px !important;
		font-size: 13px;
		line-height: 1.35;
		color: #6d768c;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}


	/* -----------------------
	   Каналы
	   ----------------------- */

	.lk-bots-page .lk-bots-col-info .show-small {
		display: block !important;
		margin-top: 11px !important;
		padding: 0 !important;
	}

	.lk-bots-page .lk-bots-col-info .lk-bot-channels {
		display: flex;
		align-items: center;
		gap: 7px;
		margin: 0 !important;
	}

	.lk-bots-page .lk-bots-col-info .lk-channel-badge {
		width: 34px;
		height: 34px;
		flex: 0 0 34px;
		border-radius: 8px;
		background: #fff;
		border: 1px solid #dce3ed;
		box-shadow: none;
	}

	.lk-bots-page .lk-bots-col-info .lk-channel-badge i {
		font-size: 15px;
		color: #71809a;
	}


	/* выбранный канал */
	.lk-bots-page .lk-bots-col-info .lk-channel-badge.lk-filter-chip {
		border-color: #cdd8ff;
		background: #f5f7ff;
	}

	.lk-bots-page .lk-bots-col-info .lk-channel-badge.lk-filter-chip i {
		color: #4a6cf7;
	}


	/* drag на мобильнике точно не нужен */
	.lk-bots-page .drag-handle {
		display: none !important;
	}


	/* первая строка не должна получать отдельный отступ */
	.lk-bots-page tbody tr:first-child td {
		padding-top: 0 !important;
	}
}