.ui-hint {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 26px;
	height: 26px;
	transition: opacity .3s;
	opacity: .4;
	text-align: center;
	cursor: pointer;
	line-height: 26px;
}

.ui-hint:hover {
	opacity: 1;
}

.ui-hint-icon {
	display: inline-block;
	--ui-icon-set__icon-size: 17px;
	--ui-icon-set__icon-color: var(--ui-color-design-plain-content-icon);
}

.ui-hint-icon.ui-icon-set.--o-question,
.ui-hint-icon .ui-icon-set.--o-question {
	--ui-icon-set__icon-size: 16px;
}

.ui-hint-content {
	display: block;
	margin: 7px;
	min-width: 45px;
	max-width: 400px;
	word-wrap: break-word;
}

.ui-hint-popup {
	pointer-events: none;
}

.ui-hint-popup-interactivity {
	pointer-events: auto;
}

.ui-hint-popup.popup-window-dark .popup-window-content a {
	color: var(--ui-color-on-primary-alt);
	text-decoration: underline;
	transition: -webkit-text-decoration .15s linear;
	transition: text-decoration .15s linear;
	transition: text-decoration .15s linear, -webkit-text-decoration .15s linear;
}

.ui-hint-popup.popup-window-dark .popup-window-content a:hover {
	text-decoration: none;
}

/* region THEMES */

.ui-hint-popup.popup-window-dark {
	--ui-hint-color: var(--ui-color-accent-soft-element-blue);

	background: var(--ui-hint-color);
	color: var(--ui-color-on-primary-alt);
}

.ui-hint-popup.popup-window-dark .popup-window-angly {
	width: 34px;
}

.ui-hint-popup.popup-window-dark .popup-window-angly.popup-window-angly-top .popup-window-angly--arrow {
	top: 0;
	left: 0;
	width: 34px;
	height: 12px;
	background: var(--ui-hint-color);
	-webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='12' fill='none' viewBox='0 0 34 12'%3E%3Cpath fill='%230056bf' d='M.571 12C6.687 12 12.393 0 16.994 0s10.239 12 16.423 12z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='12' fill='none' viewBox='0 0 34 12'%3E%3Cpath fill='%230056bf' d='M.571 12C6.687 12 12.393 0 16.994 0s10.239 12 16.423 12z'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	transform: none;
}

.ui-hint-popup.popup-window.popup-window-dark .popup-window-angly.popup-window-angly-top {
	top: -12px;
}

.ui-hint-popup.popup-window-dark .popup-window-angly.popup-window-angly-bottom .popup-window-angly--arrow {
	top: 10px;
	left: 0;
	width: 34px;
	height: 10px;
	background: var(--ui-hint-color);
	-webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='12' fill='none' viewBox='0 0 34 12'%3E%3Cpath fill='%230056bf' d='M.571 12C6.687 12 12.393 0 16.994 0s10.239 12 16.423 12z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='12' fill='none' viewBox='0 0 34 12'%3E%3Cpath fill='%230056bf' d='M.571 12C6.687 12 12.393 0 16.994 0s10.239 12 16.423 12z'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	transform: none;
}

.ui-hint-popup.popup-window.popup-window-dark .popup-window-angly.popup-window-angly-bottom {
	top: 49px;
	transform: rotate(180deg);
}

/* endregion */

/* region SIZE */

.ui-hint.--ui-hint-size-l .ui-hint-icon {
	--ui-icon-set__icon-size: 21px;
}

.ui-hint.--ui-hint-size-l .ui-hint-icon.ui-icon-set.--o-question,
.ui-hint.--ui-hint-size-l .ui-hint-icon .ui-icon-set.--o-question {
	--ui-icon-set__icon-size: 19px;
}

.ui-hint.--ui-hint-size-xl .ui-hint-icon {
	--ui-icon-set__icon-size: 26px;
}

.ui-hint.--ui-hint-size-xl .ui-hint-icon.ui-icon-set.--o-question,
.ui-hint.--ui-hint-size-xl .ui-hint-icon .ui-icon-set.--o-question {
	--ui-icon-set__icon-size: 24px;
}

/* endregion */

.bitrix24-light-theme .bizproc-automation-status-help .ui-hint-icon,
.bitrix24-dark-theme .bizproc-automation-status-help .ui-hint-icon {
	margin-top: 2px!important;
	background-image: none!important;
}