.hls-wrap {
	max-width: 980px;
	margin: 0 auto;
	padding: 24px 16px;
	box-sizing: border-box;
}

.hls-card {
	background: #ffffff;
	border: 1px solid #D8E7C4;
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 6px 18px rgba(79, 80, 76, 0.08);
	box-sizing: border-box;
}

.hls-title {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.4;
	color: #4f504c;
	font-weight: 700;
}

.hls-lead {
	margin: 0 0 24px;
	color: #4f504c;
	font-size: 15px;
	line-height: 1.8;
}

.hls-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 20px;
}

.hls-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.hls-field-full {
	grid-column: 1 / -1;
}

.hls-field label,
.hls-label {
	font-weight: 700;
	color: #4f504c;
	font-size: 14px;
}

.hls-field input[type="number"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #D8E7C4;
	border-radius: 12px;
	font-size: 16px;
	box-sizing: border-box;
	background: #ffffff;
	color: #4f504c;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hls-field input[type="number"]:focus {
	outline: none;
	border-color: #E58E60;
	box-shadow: 0 0 0 4px rgba(229, 142, 96, 0.18);
}

.hls-field small {
	color: #4f504c;
	font-size: 12px;
	line-height: 1.6;
	opacity: 0.85;
}

.hls-radio-group {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	padding: 8px 0;
}

.hls-radio-group label {
	font-weight: 400;
	font-size: 15px;
	color: #4f504c;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	background: #FFFFD0;
	border: 1px solid #D8E7C4;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.hls-radio-group label:hover {
	border-color: #E58E60;
}

.hls-radio-group input[type="radio"] {
	accent-color: #E58E60;
}

.hls-actions {
	margin: 8px 0 16px;
}

.hls-calc-btn {
	background: #E58E60;
	color: #ffffff;
	border: none;
	border-radius: 12px;
	padding: 14px 20px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	width: auto;
	max-width: 100%;
	box-shadow: 0 4px 10px rgba(229, 142, 96, 0.25);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hls-calc-btn:hover {
	background: #d97f50;
	transform: translateY(-1px);
	box-shadow: 0 6px 14px rgba(229, 142, 96, 0.3);
}

.hls-calc-btn:active {
	transform: translateY(0);
}

.hls-error {
	color: #b85c38;
	font-weight: 700;
	margin-bottom: 16px;
	min-height: 24px;
	line-height: 1.6;
}

.hls-results {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 12px;
}

.hls-result-box {
	background: #FFFFD0;
	border: 1px solid #D8E7C4;
	border-radius: 16px;
	padding: 18px;
	min-width: 0;
	box-sizing: border-box;
}

.hls-result-label {
	font-size: 13px;
	color: #4f504c;
	margin-bottom: 8px;
	line-height: 1.6;
	opacity: 0.9;
}

.hls-result-value {
	font-size: 24px;
	font-weight: 700;
	color: #E58E60;
	word-break: break-word;
	overflow-wrap: anywhere;
	line-height: 1.4;
}

.hls-note-box {
	margin-top: 20px;
	padding: 16px;
	background: #ffffff;
	border: 1px solid #D8E7C4;
	border-left: 6px solid #E58E60;
	border-radius: 12px;
	color: #4f504c;
	line-height: 1.8;
	font-size: 14px;
}

.hls-note-box p {
	margin: 0 0 8px;
}

.hls-note-box p:last-child {
	margin-bottom: 0;
}

.hls-disclaimer {
	margin-top: 24px;
	padding: 20px;
	background: #FFFFD0;
	border: 1px solid #E58E60;
	border-radius: 16px;
	box-sizing: border-box;
}

.hls-disclaimer h3 {
	margin: 0 0 12px;
	font-size: 18px;
	color: #4f504c;
}

.hls-disclaimer ul {
	margin: 0;
	padding-left: 20px;
}

.hls-disclaimer li {
	margin-bottom: 8px;
	line-height: 1.8;
	color: #4f504c;
}

@media (max-width: 767px) {
	.hls-wrap {
		padding: 16px 12px;
	}

	.hls-card {
		padding: 16px;
		border-radius: 16px;
	}

	.hls-title {
		font-size: 22px;
	}

	.hls-grid,
	.hls-results {
		grid-template-columns: 1fr;
	}

	.hls-result-value {
		font-size: 20px;
	}

	.hls-calc-btn {
		width: 100%;
	}

	.hls-radio-group {
		flex-direction: column;
		align-items: stretch;
	}

	.hls-radio-group label {
		width: 100%;
		justify-content: flex-start;
		box-sizing: border-box;
	}
}