.alc-calculator {
	box-sizing: border-box;
	width: 100%;
	padding: 12px;
	color: #102044;
	font-size: clamp(12px, calc(4px + 0.65vw), 16px);
}

.alc-calculator *,
.alc-calculator *::before,
.alc-calculator *::after {
	box-sizing: border-box;
}

.alc-row {
	margin: 0 0 16px;
}

.alc-row label,
.alc-result {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	font-size: inherit;
	line-height: 1.3;
	white-space: nowrap;
}

.alc-row label {
	margin-bottom: 8px;
	font-weight: 600;
}

.alc-row label > span,
.alc-result > span {
	min-width: 0;
	white-space: nowrap;
}

.alc-fixed-price {
	font-size: inherit;
	white-space: nowrap;
}

.alc-calculator .alc-number {
	display: inline-block !important;
	width: 9ch !important;
	max-width: 9ch !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 2px 4px !important;
	border: 1px solid transparent !important;
	border-radius: 3px !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: inherit !important;
	font: inherit !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	text-align: right;
	white-space: nowrap;
}

.alc-calculator .alc-number:hover {
	background: rgba(255, 255, 255, 0.55) !important;
}

.alc-calculator .alc-number:focus {
	border-color: #1478f2 !important;
	background: #fff !important;
	box-shadow: 0 0 0 2px rgba(20, 120, 242, 0.12) !important;
}

.alc-fixed-price-line {
	display: block;
	width: 100%;
	height: 3px;
	margin: 9px 0;
	border-radius: 999px;
	background: #1478f2;
}

.alc-slider {
	display: block;
	width: 100% !important;
	height: 3px !important;
	margin: 9px 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	outline: 0 !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	background: linear-gradient(to right, #1478f2 0, #1478f2 var(--alc-position, 0%), #b8c3d3 var(--alc-position, 0%), #b8c3d3 100%) !important;
	box-shadow: none !important;
	cursor: pointer;
}

.alc-slider::-webkit-slider-runnable-track {
	width: 100%;
	height: 3px;
	border: 0;
	border-radius: 999px;
	background: transparent;
}

.alc-slider::-webkit-slider-thumb {
	width: 18px;
	height: 18px;
	margin-top: -7.5px;
	border: 0;
	border-radius: 50%;
	-webkit-appearance: none;
	appearance: none;
	background: #1478f2;
	box-shadow: 0 1px 4px rgba(20, 120, 242, 0.28);
	cursor: grab;
}

.alc-slider::-moz-range-track {
	width: 100%;
	height: 3px;
	border: 0;
	border-radius: 999px;
	background: #b8c3d3;
}

.alc-slider::-moz-range-progress {
	height: 3px;
	border: 0;
	border-radius: 999px;
	background: #1478f2;
}

.alc-slider::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border: 0;
	border-radius: 50%;
	background: #1478f2;
	box-shadow: 0 1px 4px rgba(20, 120, 242, 0.28);
	cursor: grab;
}

.alc-result {
	padding-top: 12px;
	border-top: 1px solid #d9e0ea;
}

.alc-result strong {
	color: #1478f2;
	white-space: nowrap;
}

@media (min-width: 651px) and (max-width: 1190px) {
	.alc-calculator {
		padding: 12px;
		font-size: clamp(13px, 1.52vw, 18px);
	}

	.alc-row label,
	.alc-result {
		gap: 8px;
	}

	.alc-calculator .alc-number {
		width: 9ch !important;
		max-width: 9ch !important;
	}
}

@media (max-width: 650px) {
	.alc-calculator {
		padding: 10px;
		font-size: clamp(14px, 4vw, 18px);
	}

	.alc-row label,
	.alc-result {
		gap: 8px;
	}

	.alc-calculator .alc-number {
		width: 9ch !important;
		max-width: 9ch !important;
	}
}
