.asv-finance {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.asv-finance__card {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--lg);
	padding: 24px;
}

.asv-finance__head {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 16px;
}

.asv-finance__title {
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--geist);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.2;
	margin: 0;
}

.asv-finance__logo {
	flex: none;
	height: auto;
	max-height: 32px;
	max-width: 96px;
	object-fit: contain;
	width: auto;
}

.asv-finance__figure {
	align-items: baseline;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--primary-line);
	border-radius: var(--wp--custom--radius--md);
	display: flex;
	gap: 8px;
	margin: 0 0 16px;
	padding: 16px;
}

.asv-finance__figure[hidden],
.asv-finance__row[hidden] {
	display: none;
}

.asv-finance__amount {
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--geist);
	font-size: 28px;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.6;
}

.asv-finance__unit {
	color: var(--wp--preset--color--muted);
	font-size: 14px;
}

.asv-finance__control {
	margin-bottom: 16px;
}

.asv-finance__control--field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.asv-finance__control-head {
	align-items: baseline;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 8px;
}

.asv-finance__label {
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.asv-finance__value {
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--geist);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
}

.asv-finance__range {
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	cursor: pointer;
	display: block;
	height: 24px;
	margin: 0;
	width: 100%;
}

.asv-finance__range::-webkit-slider-runnable-track {
	background: var(--wp--preset--color--line-strong);
	border-radius: var(--wp--custom--radius--pill);
	height: 4px;
}

.asv-finance__range::-moz-range-track {
	background: var(--wp--preset--color--line-strong);
	border-radius: var(--wp--custom--radius--pill);
	height: 4px;
}

.asv-finance__range::-moz-range-progress {
	background: var(--wp--preset--color--primary);
	border-radius: var(--wp--custom--radius--pill);
	height: 4px;
}

.asv-finance__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	background: var(--wp--preset--color--primary);
	border: 2px solid var(--wp--preset--color--base);
	border-radius: var(--wp--custom--radius--pill);
	box-shadow: 0 1px 3px rgba(20, 22, 26, 0.25);
	cursor: grab;
	height: 20px;
	margin-top: -8px;
	width: 20px;
}

.asv-finance__range::-moz-range-thumb {
	background: var(--wp--preset--color--primary);
	border: 2px solid var(--wp--preset--color--base);
	border-radius: var(--wp--custom--radius--pill);
	box-shadow: 0 1px 3px rgba(20, 22, 26, 0.25);
	cursor: grab;
	height: 20px;
	width: 20px;
}

.asv-finance__range:active::-webkit-slider-thumb {
	background: var(--wp--preset--color--primary-deep);
	cursor: grabbing;
}

.asv-finance__range:active::-moz-range-thumb {
	background: var(--wp--preset--color--primary-deep);
	cursor: grabbing;
}

.asv-finance__range:focus-visible {
	border-radius: var(--wp--custom--radius--pill);
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 4px;
}

.asv-finance__amount-field {
	align-items: center;
	display: flex;
	gap: 8px;
	margin-top: 8px;
}

.asv-finance__input,
.asv-finance__select {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--faint);
	border-radius: var(--wp--custom--radius--md);
	box-sizing: border-box;
	color: var(--wp--preset--color--contrast);
	font: inherit;
	font-size: 15px;
	min-height: 44px;
	padding: 11px 13px;
	transition: border-color var(--wp--custom--duration--fast) var(--wp--custom--ease--out), box-shadow var(--wp--custom--duration--fast) var(--wp--custom--ease--out);
	width: 100%;
}

.asv-finance__input {
	flex: 1;
	font-variant-numeric: tabular-nums;
	min-width: 0;
	text-align: right;
}

.asv-finance__amount-field > .asv-finance__unit {
	flex: none;
}

.asv-finance__select {
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A6067' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 13px center;
	background-repeat: no-repeat;
	cursor: pointer;
	padding-right: 38px;
}

.asv-finance__input:hover,
.asv-finance__select:hover {
	border-color: var(--wp--preset--color--muted);
}

.asv-finance__input:focus,
.asv-finance__select:focus {
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--primary) 15%, transparent);
}

.asv-finance__rows {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.asv-finance__row {
	align-items: baseline;
	border-top: 1px solid var(--wp--preset--color--line);
	display: flex;
	font-size: 14px;
	gap: 12px;
	justify-content: space-between;
	line-height: 1.6;
	padding: 10px 0;
}

.asv-finance__row > dt {
	color: var(--wp--preset--color--muted);
}

.asv-finance__row > dd {
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--geist);
	font-variant-numeric: tabular-nums;
	font-weight: 500;
	margin: 0;
	text-align: right;
}

.asv-finance__note {
	color: var(--wp--preset--color--muted);
	font-size: 13px;
	line-height: 1.6;
	margin: 12px 0 0;
}

.asv-finance__disclaimer {
	color: var(--wp--preset--color--faint);
	font-size: 12px;
	line-height: 1.6;
	margin: 16px 0 0;
}

.asv-finance__disclaimer a {
	color: inherit;
}

.asv-credit-warning {
	background: var(--wp--custom--color--notice-wash);
	border: 1px solid #E7B5AC;
	border-radius: var(--wp--custom--radius--lg);
	padding: 24px;
}

.asv-credit-warning__head {
	align-items: center;
	display: flex;
	gap: 12px;
	margin-bottom: 12px;
}

.asv-credit-warning__head > svg {
	color: var(--wp--custom--color--notice);
	flex-shrink: 0;
	height: 20px;
	width: 20px;
}

.asv-credit-warning__title {
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--geist);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0;
}

.asv-credit-warning__text {
	color: var(--wp--preset--color--contrast-2);
	font-size: 14px;
	line-height: 1.7;
	margin: 0;
	max-width: 74ch;
}

.asv-credit-warning__text a {
	color: var(--wp--custom--color--notice);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (forced-colors: active) {
	.asv-finance__card,
	.asv-credit-warning {
		border: 1px solid CanvasText;
	}

	.asv-finance__range::-webkit-slider-runnable-track {
		border: 1px solid CanvasText;
	}

	.asv-finance__range::-moz-range-track {
		border: 1px solid CanvasText;
	}
}
