.trumsok-fc {
	--trumsok-fc-primary: #0b3b70;
	--trumsok-fc-icon: #29b34a;
	--trumsok-fc-offset: 50%;
	--trumsok-fc-panel-width: 286px;
	--trumsok-fc-avatar-size: 64px;
	--trumsok-fc-title-size: 18px;
	--trumsok-fc-row-height: 46px;
	--trumsok-fc-header-min: 64px;
	--trumsok-fc-avatar-top: -16px;
	--trumsok-fc-radius: 14px;
	--trumsok-fc-launcher-size: 36px;
	position: fixed;
	z-index: 99990;
	font-family: Arial, Helvetica, sans-serif;
	color: #243447;
	/* The positioning wrapper itself must never block the page.
	 * Only visible interactive children opt back in below. */
	pointer-events: none;
}

.trumsok-fc--right {
	right: 18px;
}

.trumsok-fc--left {
	left: 18px;
}

.trumsok-fc--from-top {
	top: var(--trumsok-fc-offset);
	transform: translateY(-50%);
}

.trumsok-fc--from-bottom {
	bottom: var(--trumsok-fc-offset);
}

.trumsok-fc * {
	box-sizing: border-box;
}

.trumsok-fc svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.trumsok-fc__panel {
	position: relative;
	z-index: 1;
	width: min(var(--trumsok-fc-panel-width), 300px);
	max-width: calc(100vw - 32px);
	background: #fff;
	border: 1px solid var(--trumsok-fc-primary);
	border-radius: var(--trumsok-fc-radius);
	box-shadow: 0 12px 30px rgba(11, 59, 112, 0.14);
	overflow: visible;
	pointer-events: auto;
	transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease;
}

.trumsok-fc__header {
	position: relative;
	min-height: var(--trumsok-fc-header-min);
	padding: 12px 52px 10px calc(var(--trumsok-fc-avatar-size) + 22px);
	border-bottom: 1px solid #e8edf3;
	display: flex;
	align-items: center;
}

.trumsok-fc__avatar {
	position: absolute;
	top: var(--trumsok-fc-avatar-top);
	left: 10px;
	width: var(--trumsok-fc-avatar-size);
	height: var(--trumsok-fc-avatar-size);
	border: 1px solid var(--trumsok-fc-primary);
	border-radius: 50%;
	background: #fff;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--trumsok-fc-primary);
}

.trumsok-fc__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.trumsok-fc__title {
	margin: 0;
	color: var(--trumsok-fc-primary);
	font-size: var(--trumsok-fc-title-size);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.trumsok-fc__title span,
.trumsok-fc__title br {
	display: inline;
}

.trumsok-fc .trumsok-fc__close,
.trumsok-fc .trumsok-fc__launcher,
.trumsok-fc .trumsok-fc-modal__close {
	-webkit-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
	font-family: inherit !important;
	text-decoration: none !important;
	box-shadow: none;
}

.trumsok-fc .trumsok-fc__close {
	position: absolute !important;
	top: 12px !important;
	right: 12px !important;
	z-index: 4 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 32px !important;
	height: 32px !important;
	border: 1px solid #e33f67 !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: #e33f67 !important;
	cursor: pointer !important;
}

.trumsok-fc .trumsok-fc__close svg {
	width: 15px !important;
	height: 15px !important;
}

.trumsok-fc .trumsok-fc__close:hover,
.trumsok-fc .trumsok-fc__close:focus-visible {
	background: #fff3f6 !important;
	outline: 2px solid rgba(227, 63, 103, 0.2) !important;
	outline-offset: 2px !important;
}

.trumsok-fc__body {
	overflow: hidden;
	border-radius: 0 0 var(--trumsok-fc-radius) var(--trumsok-fc-radius);
}

.trumsok-fc__row {
	width: 100%;
	min-height: var(--trumsok-fc-row-height);
	border: 0;
	padding: 8px 14px;
	background: #fff;
	display: flex;
	align-items: center;
	gap: 12px;
	color: #74777d;
	font: inherit;
	font-size: 14px;
	line-height: 1.35;
	text-decoration: none;
	text-align: left;
	cursor: pointer;
	transition: background-color 160ms ease, transform 160ms ease, color 160ms ease;
}

.trumsok-fc__row:nth-child(even) {
	background: #f3f3f3;
}

.trumsok-fc__row:hover,
.trumsok-fc__row:focus-visible {
	background: #edf5fd;
	color: var(--trumsok-fc-primary);
	transform: translateX(-3px);
	outline: none;
}

.trumsok-fc--left .trumsok-fc__row:hover,
.trumsok-fc--left .trumsok-fc__row:focus-visible {
	transform: translateX(3px);
}

.trumsok-fc__row:disabled {
	cursor: not-allowed;
	opacity: 0.75;
}

.trumsok-fc__row-icon {
	flex: 0 0 23px;
	width: 23px;
	height: 23px;
	color: var(--trumsok-fc-icon);
	font-size: 23px;
}

.trumsok-fc__row-text {
	min-width: 0;
	word-break: break-word;
}

.trumsok-fc .trumsok-fc__inquiry,
.trumsok-fc .trumsok-fc-form__submit {
	-webkit-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box !important;
	width: calc(100% - 28px) !important;
	min-width: 0 !important;
	min-height: 40px !important;
	margin: 12px 14px 14px !important;
	padding: 9px 14px !important;
	border: 1px solid var(--trumsok-fc-primary) !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: var(--trumsok-fc-primary) !important;
	cursor: pointer !important;
	display: block !important;
	font: inherit !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-align: center !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: transform 160ms ease, background-color 160ms ease, color 160ms ease !important;
}

.trumsok-fc .trumsok-fc__inquiry:hover,
.trumsok-fc .trumsok-fc__inquiry:focus-visible,
.trumsok-fc .trumsok-fc-form__submit:hover,
.trumsok-fc .trumsok-fc-form__submit:focus-visible {
	background: var(--trumsok-fc-primary) !important;
	color: #fff !important;
	transform: translateY(-1px);
	outline: 2px solid rgba(11, 59, 112, 0.18) !important;
	outline-offset: 2px !important;
}

.trumsok-fc .trumsok-fc__launcher {
	position: absolute !important;
	top: 12px !important;
	right: 12px !important;
	z-index: 4 !important;
	width: var(--trumsok-fc-launcher-size) !important;
	height: var(--trumsok-fc-launcher-size) !important;
	border: 1px solid var(--trumsok-fc-primary) !important;
	border-radius: 9px !important;
	background: var(--trumsok-fc-primary) !important;
	color: #fff !important;
	cursor: pointer !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 18px !important;
	transform: none !important;
	pointer-events: auto !important;
}

.trumsok-fc .trumsok-fc__launcher svg {
	width: 17px !important;
	height: 17px !important;
}

.trumsok-fc:not(.is-collapsed) .trumsok-fc__launcher {
	display: none !important;
}

.trumsok-fc.is-collapsed .trumsok-fc__launcher {
	display: flex !important;
}

.trumsok-fc .trumsok-fc__launcher:hover,
.trumsok-fc .trumsok-fc__launcher:focus-visible {
	background: #0f4d8b !important;
	outline: 2px solid rgba(11, 59, 112, 0.2) !important;
	outline-offset: 2px !important;
}

.trumsok-fc.is-collapsed .trumsok-fc__panel {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translateX(18px);
}

.trumsok-fc--left.is-collapsed .trumsok-fc__panel {
	transform: translateX(-22px);
}

.trumsok-fc.is-collapsed .trumsok-fc__launcher {
	display: flex !important;
}

.trumsok-fc--left .trumsok-fc__launcher {
	right: auto !important;
	left: 12px !important;
}

.trumsok-fc--from-bottom .trumsok-fc__launcher {
	top: 12px !important;
	bottom: auto !important;
}

.trumsok-fc__overlay,
.trumsok-fc-modal {
	position: fixed;
	inset: 0;
	background: rgba(10, 22, 35, 0.42);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 160ms ease, visibility 160ms ease;
}

.trumsok-fc__overlay {
	z-index: 0;
	display: none;
}

.trumsok-fc-modal {
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 22px;
}

.trumsok-fc-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.trumsok-fc-modal__box {
	position: relative;
	width: min(420px, 100%);
	max-height: calc(100vh - 44px);
	overflow: auto;
	background: #fff;
	border: 1px solid var(--trumsok-fc-primary);
	border-radius: 12px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
	padding: 26px;
	text-align: center;
}

.trumsok-fc-modal__box--form {
	width: min(520px, 100%);
	text-align: left;
}

.trumsok-fc-modal__box h2 {
	margin: 0 36px 18px 0;
	color: var(--trumsok-fc-primary);
	font-size: 24px;
	line-height: 1.25;
}

.trumsok-fc .trumsok-fc-modal__close {
	position: absolute !important;
	top: 14px !important;
	right: 14px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 30px !important;
	height: 30px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--trumsok-fc-primary) !important;
	color: #fff !important;
	cursor: pointer !important;
	font-size: 18px !important;
}

.trumsok-fc-modal__qr {
	display: block;
	width: min(260px, 100%);
	height: auto;
	margin: 0 auto 14px;
	border: 1px solid #e4e7eb;
	border-radius: 8px;
}

.trumsok-fc-form {
	display: grid;
	gap: 12px;
}

.trumsok-fc-form label {
	display: grid;
	gap: 5px;
	color: #253142;
	font-size: 14px;
	font-weight: 700;
}

.trumsok-fc-form input,
.trumsok-fc-form textarea {
	width: 100%;
	border: 1px solid #cfd7df;
	border-radius: 8px;
	padding: 10px 12px;
	color: #182536;
	background: #fff;
	font: inherit;
	font-size: 15px;
}

.trumsok-fc-form input:focus,
.trumsok-fc-form textarea:focus {
	border-color: var(--trumsok-fc-primary);
	outline: 2px solid rgba(11, 59, 112, 0.18);
}

.trumsok-fc-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.trumsok-fc-form__notice {
	min-height: 20px;
	font-size: 14px;
	color: #0d6b2f;
}

.trumsok-fc-form__notice.is-error {
	color: #b42318;
}

.trumsok-fc-form__submit {
	width: 100%;
	margin: 4px 0 0;
}

@media (max-width: 767px) {
	.trumsok-fc,
	.trumsok-fc--right,
	.trumsok-fc--left,
	.trumsok-fc--from-top,
	.trumsok-fc--from-bottom {
		right: 16px;
		left: auto;
		top: auto;
		bottom: max(18px, env(safe-area-inset-bottom));
		transform: none;
	}

	.trumsok-fc .trumsok-fc__launcher {
		position: fixed !important;
		right: 16px !important;
		left: auto !important;
		top: auto !important;
		bottom: max(18px, env(safe-area-inset-bottom)) !important;
		border-radius: 12px !important;
	}

	.trumsok-fc:not(.is-collapsed) .trumsok-fc__launcher,
	.trumsok-fc.is-open-mobile .trumsok-fc__launcher {
		display: none !important;
	}

	.trumsok-fc.is-collapsed:not(.is-open-mobile) .trumsok-fc__launcher {
		display: flex !important;
	}


	.trumsok-fc__overlay {
		display: block;
	}

	.trumsok-fc__panel {
		position: fixed;
		right: 12px;
		left: 12px;
		bottom: calc(84px + env(safe-area-inset-bottom));
		width: auto;
		max-width: none;
		max-height: calc(100vh - 110px);
		overflow-y: auto;
		transform: translateY(18px);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}

	.trumsok-fc.is-open-mobile .trumsok-fc__panel {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.trumsok-fc.is-open-mobile .trumsok-fc__overlay {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.trumsok-fc.is-collapsed .trumsok-fc__panel,
	.trumsok-fc--left.is-collapsed .trumsok-fc__panel {
		transform: translateY(18px);
	}

	.trumsok-fc__header {
		min-height: 66px;
		padding: 12px 44px 10px 82px;
	}

	.trumsok-fc__avatar {
		width: 60px;
		height: 60px;
		top: -14px;
		left: 10px;
	}

	.trumsok-fc__title {
		font-size: min(var(--trumsok-fc-title-size), 19px);
	}

	.trumsok-fc__row {
		min-height: min(var(--trumsok-fc-row-height), 48px);
		font-size: 15px;
	}

	.trumsok-fc-modal {
		padding: 14px;
		align-items: flex-end;
	}

	.trumsok-fc-modal__box {
		max-height: calc(100vh - 28px);
		padding: 22px 18px;
	}
}
