.ghe-heater-calc-wrap {
	margin: 0 auto;
}

.ghe-heater-calc {
	background: #f5f5f5;
	box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
	border-radius: 30px 0 30px 0;
	overflow: hidden;
}

.ghe-heater-calc__body {
	padding: 40px;
}

/* General spacing */
.ghe-heater-calc .ghe-field + .ghe-field,
.ghe-heater-calc .ghe-field-group,
.ghe-heater-calc .ghe-inline-note,
.ghe-heater-calc .ghe-heater-divider {
	margin-top: 24px;
}

/* Labels */
.ghe-heater-calc .ghe-field label {
	display: block;
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--dark-green);
}

/* Field wrapper */
.ghe-heater-calc .ghe-field {
	width: 100%;
	max-width: none;
}

/* Inputs */
.ghe-heater-calc .ghe-field input {
	display: block;
	width: 100% !important;
	min-width: 0;
	max-width: none !important;
	box-sizing: border-box;
	background: #ffffff;
	border: 2px solid #e2e2e2 !important;
	border-radius: 3px !important;
	padding: 12px 14px;
	font-size: 16px;
	line-height: 1.2;
}

.ghe-heater-calc .ghe-field input:focus {
	outline: none;
	border-color: var(--dark-green) !important;
}

/* Explicit widths for single-row inputs */
.ghe-heater-calc #ghe-heater-surface-area {
	width: 420px !important;
	max-width: 100% !important;
}

.ghe-heater-calc #ghe-heater-zone {
	width: 300px !important;
	max-width: 100% !important;
}

/* Help text */
.ghe-heater-calc .ghe-field__help,
.ghe-heater-calc .ghe-inline-note {
	font-size: 15px;
	line-height: 1.5;
	color: #4d4d4d;
	margin: 8px 0 0;
}

.ghe-heater-calc .ghe-field__help {
	max-width: 760px;
}

/* Two-column field groups */
.ghe-heater-calc .ghe-field-group {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	width: 100%;
	max-width: 100%;
}

.ghe-heater-calc .ghe-field-group .ghe-field {
	max-width: none;
}

/* Make grouped inputs stretch fully */
.ghe-heater-calc .ghe-field-group .ghe-field input {
	width: 100% !important;
	max-width: 100% !important;
}

/* Note box */
.ghe-heater-calc .ghe-inline-note {
	padding: 14px 16px;
	background: #ffffff;
	border-left: 4px solid var(--dark-green);
}

/* Divider */
.ghe-heater-calc .ghe-heater-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-top: 22px;
	margin-bottom: 8px;
}

.ghe-heater-calc .ghe-heater-divider::before,
.ghe-heater-calc .ghe-heater-divider::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: #d7d7d7;
}

.ghe-heater-calc .ghe-heater-divider span {
	padding: 0 14px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #666666;
}

/* Button */
.ghe-heater-calc__button {
	display: block;
	width: 100%;
	text-align: center;
	border: none;
	border-radius: 0 0 30px 0;
	padding: 30px 20px;
	cursor: pointer;
	background: var(--dark-green);
	color: #ffffff;
	font-size: 24px;
	font-weight: 900;
	line-height: 1.1;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ghe-heater-calc__button:hover,
.ghe-heater-calc__button:focus {
	background: #f2cb05;
	color: var(--dark-green);
	outline: none;
}

/* Result area */
.ghe-heater-result {
	padding: 26px 40px 36px;
	text-align: center;
}

.ghe-heater-result--hidden {
	display: none;
}

.ghe-heater-result__label {
	display: block;
	margin: 0 0 14px;
	font-size: 24px;
	font-weight: 900;
	line-height: 1.25;
	color: var(--dark-green);
}

.ghe-heater-result__value {
	display: inline-block;
	padding: 20px 24px;
	background: #f29f05;
	color: #ffffff;
	font-size: 30px;
	font-weight: 900;
	line-height: 1;
	border-radius: 30px 0 30px 0;
}

.ghe-heater-result__subtext {
	max-width: 720px;
	margin: 16px auto 0;
	font-size: 15px;
	line-height: 1.6;
	color: #4d4d4d;
}

.ghe-heater-result__error {
	display: block;
	padding: 18px 20px;
	background: #ffe6e6;
	border-radius: 10px;
	color: #b42318;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
}

/* Desktop */
@media (min-width: 768px) {
	.ghe-heater-calc .ghe-field-group--2 {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: end;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.ghe-heater-calc__body {
		padding: 24px 20px;
	}

	.ghe-heater-calc .ghe-field label {
		font-size: 18px;
	}

	.ghe-heater-calc #ghe-heater-surface-area,
	.ghe-heater-calc #ghe-heater-zone,
	.ghe-heater-calc .ghe-field input,
	.ghe-heater-calc .ghe-field-group .ghe-field input {
		width: 100% !important;
		max-width: 100% !important;
	}

	.ghe-heater-calc__button {
		padding: 24px 16px;
		font-size: 22px;
	}

	.ghe-heater-result {
		padding: 24px 20px 30px;
	}

	.ghe-heater-result__label {
		font-size: 22px;
	}

	.ghe-heater-result__value {
		font-size: 26px;
		padding: 18px 20px;
	}
}