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

.hls-card {
	background: #ffffff;
	border: 1px solid #dbe5f1;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	box-sizing: border-box;
}

.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: #0f172a;
	font-size: 14px;
}

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

.hls-field input[type="number"]:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.hls-field small {
	color: #64748b;
	font-size: 12px;
	line-height: 1.6;
}

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

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

.hls-radio-group label:hover {
	border-color: #2563eb;
	background: #eff6ff;
}

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

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

.hls-calc-btn {
	background: #2563eb;
	color: #ffffff;
	border: none;
	border-radius: 10px;
	padding: 14px 20px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	width: auto;
	max-width: 100%;
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hls-calc-btn:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

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

.hls-error {
	color: #dc2626;
	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: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
	border: 1px solid #dbe5f1;
	border-radius: 14px;
	padding: 18px;
	min-width: 0;
	box-sizing: border-box;
}

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

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

.hls-note-box {
	margin-top: 20px;
	padding: 16px;
	background: #f8fafc;
	border: 1px solid #dbe5f1;
	border-left: 5px solid #2563eb;
	border-radius: 10px;
	color: #334155;
	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: 20px;
	padding: 16px 18px;
	background: #f8fafc;
	border: 1px solid #dbe5f1;
	border-radius: 14px;
	box-sizing: border-box;
}

.hls-disclaimer h3 {
	margin: 0 0 10px;
	font-size: 16px;
	color: #0f172a;
	line-height: 1.5;
}

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

.hls-disclaimer li {
	margin-bottom: 6px;
	line-height: 1.6;
	color: #334155;
	font-size: 13px;
}

.hls-disclaimer li:last-child {
	margin-bottom: 0;
}

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

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

	.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;
	}

	.hls-disclaimer {
		padding: 14px 14px;
	}

	.hls-disclaimer li {
		font-size: 12px;
		line-height: 1.55;
	}
}