.wf-biochar-calculator {
	--wf-calc-carbon: var(--wp--preset--color--carbon, #1a1a1c);
	--wf-calc-carbon-2: var(--wp--preset--color--carbon-2, #2a2a2c);
	--wf-calc-ink: var(--wp--preset--color--ink, #121212);
	--wf-calc-paper: var(--wp--preset--color--paper, #f6f6f9);
	--wf-calc-paper-2: var(--wp--preset--color--paper-2, #f0f0f3);
	--wf-calc-border: var(--wp--preset--color--gray-100, #eaeaec);
	--wf-calc-muted: var(--wp--preset--color--gray-700, #626a73);
	--wf-calc-green: var(--wp--preset--color--green, #63a243);
	--wf-calc-yellow: var(--wp--preset--color--yellow, #ffcc0b);
	--wf-calc-yellow-hover: var(--wp--preset--color--yellow-hover, #ffdd5b);
	color: var(--wf-calc-ink);
	width: min(1120px, calc(100vw - 40px));
	max-width: 100%;
	margin: var(--wp--preset--spacing--xl, 3rem) auto;
	padding-top: 1rem;
	overflow-wrap: break-word;
}

.wf-biochar-calculator--embedded {
	margin-block: 0;
	padding-top: 0;
}

.wp-site-blocks .is-style-wakefield-section-dark:has(.wf-biochar-calculator--embedded) {
	overflow: visible;
}

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

.wf-biochar-calculator__intro {
	max-width: 1120px;
	margin-inline: auto;
	margin-bottom: var(--wp--preset--spacing--lg, 2rem);
	text-align: center;
}

.wf-biochar-calculator__intro h1 {
	max-width: 54rem;
	margin: 0 0 0.75rem;
	margin-inline: auto;
	font-size: 3rem;
	line-height: 1.05;
}

.wf-biochar-calculator__intro p {
	margin: 0;
	margin-inline: auto;
	max-width: 47rem;
}

.wf-biochar-calculator__eyebrow,
.wf-biochar-calculator__result-label {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	color: var(--wf-calc-green);
	font-size: 0.8rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: uppercase;
}

.wf-biochar-calculator__eyebrow .fa-kit,
.wf-biochar-calculator__result-label .fa-kit {
	color: currentColor;
	display: inline-block;
	font-size: 1em;
	line-height: 1;
	transform: translateY(-0.1em);
}

.wf-biochar-calculator__layout {
	display: grid;
	align-items: start;
	grid-template-columns: minmax(0, 3fr) minmax(20rem, 2fr);
	gap: var(--wp--preset--spacing--lg, 2rem);
	width: 100%;
	max-width: 1120px;
	margin-inline: auto;
}

.wf-biochar-calculator__form,
.wf-biochar-calculator__results {
	min-width: 0;
	border: 1px solid var(--wf-calc-border);
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1rem 2.5rem rgba(18, 18, 18, 0.08);
}

.wf-biochar-calculator__form {
	padding: clamp(1rem, 3vw, 1.5rem);
}

.wf-biochar-calculator__results {
	align-self: start;
	padding: clamp(1rem, 3vw, 1.5rem);
	position: sticky;
	top: calc(var(--wf-sticky-header-height, 6rem) + var(--wp--preset--spacing--md, 1.5rem));
}

.wf-biochar-calculator__step + .wf-biochar-calculator__step {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--wf-calc-border);
}

.wf-biochar-calculator__step-heading {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.65rem;
}

.wf-biochar-calculator__step-heading span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 1.75rem;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 999px;
	background: var(--wf-calc-carbon);
	color: #fff;
	font-weight: 800;
	line-height: 1;
}

.wf-biochar-calculator__step-heading h3 {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.15;
}

.wf-biochar-calculator__application-grid,
.wf-biochar-calculator__product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.wf-biochar-calculator__choice {
	display: block;
	min-width: 0;
	cursor: pointer;
}

.wf-biochar-calculator .wf-biochar-calculator__choice input {
	position: absolute;
	width: 1px;
	height: 1px;
	min-height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	opacity: 0;
	pointer-events: none;
}

.wf-biochar-calculator__choice-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 4.25rem;
	padding: 0.7rem;
	border: 1px solid var(--wf-calc-border);
	border-radius: 8px;
	background: var(--wf-calc-paper);
	transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.wf-biochar-calculator__choice-heading {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	min-width: 0;
}

.wf-biochar-calculator__choice-icon {
	flex: 0 0 auto;
	color: var(--wf-calc-green);
	font-size: 0.95rem;
	line-height: 1;
	opacity: 0.75;
}

.wf-biochar-calculator__choice-body strong {
	color: var(--wf-calc-ink);
	font-size: 0.98rem;
	line-height: 1.15;
}

.wf-biochar-calculator__choice-description {
	color: var(--wf-calc-muted);
	font-size: 0.9rem;
	line-height: 1.25;
	margin-top: 0.25rem;
}

.wf-biochar-calculator__choice input:checked + .wf-biochar-calculator__choice-body {
	border-color: var(--wf-calc-green);
	background: #fff;
	box-shadow: inset 0 0 0 2px var(--wf-calc-green);
}

.wf-biochar-calculator__choice input:focus-visible + .wf-biochar-calculator__choice-body {
	outline: 3px solid rgba(99, 162, 67, 0.35);
	outline-offset: 3px;
}

.wf-biochar-calculator__field-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.wf-biochar-calculator__bed-fields {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wf-biochar-calculator__use-method {
	margin-top: 1rem;
}

.wf-biochar-calculator label:not(.wf-biochar-calculator__choice) > span {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--wf-calc-muted);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.1;
	text-transform: uppercase;
}

.wf-biochar-calculator select,
.wf-biochar-calculator input {
	width: 100%;
	min-height: 2.75rem;
	border: 1px solid var(--wf-calc-border);
	border-radius: 8px;
	background: #fff;
	color: var(--wf-calc-ink);
	font: inherit;
	padding: 0.55rem 0.7rem;
}

.wf-biochar-calculator select:focus,
.wf-biochar-calculator input:focus {
	border-color: var(--wf-calc-green);
	outline: 3px solid rgba(99, 162, 67, 0.25);
	outline-offset: 0;
}

.wf-biochar-calculator__helper,
.wf-biochar-calculator__note,
.wf-biochar-calculator__fallback {
	margin: 0.75rem 0 0;
	color: var(--wf-calc-muted);
	font-size: 0.95rem;
	line-height: 1.35;
}

.wf-biochar-calculator__support {
	max-width: 58rem;
	margin: 2rem auto 0;
	padding-top: 0.5rem;
	text-align: left;
}

.wf-biochar-calculator__support-label {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	margin: 0 0 0.5rem;
	color: var(--wf-calc-green);
	font-size: 0.8rem;
	font-weight: 800;
	line-height: 1.1;
	text-transform: uppercase;
}

.wf-biochar-calculator__support-label .fa-kit {
	color: currentColor;
	display: inline-block;
	font-size: 1em;
	line-height: 1;
	transform: translateY(-0.1em);
}

.wf-biochar-calculator__support .wf-biochar-calculator__note,
.wf-biochar-calculator__support .wf-biochar-calculator__fallback {
	margin: 0;
	margin-inline: auto;
	color: var(--wf-calc-muted);
	font-size: 1rem;
	line-height: 1.5;
}

.wf-biochar-calculator__support .wf-biochar-calculator__fallback {
	margin-top: 0.65rem;
	color: var(--wf-calc-carbon-2);
	font-weight: 600;
}

.wf-biochar-calculator__support a {
	color: var(--wf-calc-green);
	font-weight: 800;
	text-underline-offset: 0.14em;
}

.wf-biochar-calculator__button,
.wf-biochar-calculator__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	border: 1px solid var(--wf-calc-carbon);
	border-radius: 8px;
	font-weight: 800;
	line-height: 1.1;
	text-decoration: none;
}

.wf-biochar-calculator__button {
	width: 100%;
	margin-top: 1rem;
	padding: 0.75rem 1rem;
	border-color: var(--wf-calc-yellow);
	background: var(--wf-calc-yellow);
	color: var(--wf-calc-carbon);
	cursor: pointer;
}

.wf-biochar-calculator__button:hover,
.wf-biochar-calculator__button:focus-visible {
	background: var(--wf-calc-yellow-hover);
	border-color: var(--wf-calc-yellow-hover);
}

.wf-biochar-calculator__empty h3,
.wf-biochar-calculator__result-card h3,
.wf-biochar-calculator__error h3 {
	margin: 0 0 0.75rem;
	line-height: 1.08;
}

.wf-biochar-calculator__empty p,
.wf-biochar-calculator__result-card p,
.wf-biochar-calculator__error p {
	margin: 0;
	line-height: 1.4;
}

.wf-biochar-calculator__result-card h3 {
	font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.wf-biochar-calculator__result-detail {
	padding: 0.7rem;
	background: var(--wf-calc-paper-2);
	border-radius: 8px;
	color: var(--wf-calc-carbon-2);
	font-weight: 600;
}

.wf-biochar-calculator__product-guidance {
	margin-top: 1rem !important;
}

.wf-biochar-calculator__also {
	margin-top: 1rem;
	padding-left: 1rem;
	border-left: 3px solid var(--wf-calc-green);
}

.wf-biochar-calculator__also h4 {
	margin: 0 0 0.35rem;
	font-size: 0.95rem;
}

.wf-biochar-calculator__also p + p {
	margin-top: 0.5rem;
}

.wf-biochar-calculator__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1.25rem;
}

.wf-biochar-calculator__cta {
	appearance: none;
	padding: 0.7rem 0.9rem;
	color: var(--wf-calc-carbon);
	background: #fff;
	cursor: pointer;
	font: inherit;
}

.wp-site-blocks .is-style-wakefield-section-dark .wf-biochar-calculator .wf-biochar-calculator__cta {
	color: var(--wf-calc-carbon);
}

.wf-biochar-calculator__cta:hover,
.wf-biochar-calculator__cta:focus-visible {
	background: var(--wf-calc-paper);
}

.wf-biochar-calculator__cta--primary {
	background: var(--wf-calc-yellow);
	border-color: var(--wf-calc-yellow);
}

.wf-biochar-calculator__cta--primary:hover,
.wf-biochar-calculator__cta--primary:focus-visible {
	background: var(--wf-calc-yellow-hover);
	border-color: var(--wf-calc-yellow-hover);
}

.wf-biochar-calculator__error {
	padding: 1rem;
	border-radius: 8px;
	background: #fff4f0;
	border: 1px solid #ffd1c2;
}

@media (max-width: 980px) {
	.wf-biochar-calculator__layout {
		grid-template-columns: 1fr;
	}

	.wf-biochar-calculator__results {
		position: static;
	}
}

@media (max-width: 640px) {
	.wf-biochar-calculator {
		margin-block: var(--wp--preset--spacing--lg, 2rem);
		width: min(390px, calc(100vw - 32px));
	}

	.wf-biochar-calculator__intro h1 {
		font-size: 2rem;
	}

	.wf-biochar-calculator__intro-break {
		display: none;
	}

	.wf-biochar-calculator__result-card h3 {
		font-size: 1.6rem;
	}

	.wf-biochar-calculator__field-row {
		grid-template-columns: 1fr;
	}

	.wf-biochar-calculator__bed-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wf-biochar-calculator__bed-fields > label:last-child {
		grid-column: 1 / -1;
	}

	.wf-biochar-calculator__choice-body strong {
		font-size: 0.9rem;
	}

	.wf-biochar-calculator__choice-description {
		font-size: 0.8rem;
	}

	.wf-biochar-calculator--embedded {
		margin-block: 0;
	}

	.wf-biochar-calculator__choice-body {
		min-height: 0;
	}

	.wf-biochar-calculator__ctas {
		display: grid;
	}

	.wf-biochar-calculator__cta {
		width: 100%;
	}
}

/* The page-selected illustration belongs only to the empty results state. */
.wf-biochar-calculator__empty-image {
	display: block;
	width: min(20rem, 70%);
	height: auto;
	margin: 1.5rem auto 0;
}

/* Keep a newly calculated result visible below the sticky site header. */
.wf-biochar-calculator__result-card,
.wf-biochar-calculator__error {
	scroll-margin-block-start: calc(var(--wf-sticky-header-height, 6rem) + 1rem);
}

.wf-biochar-calculator__result-card:focus-visible,
.wf-biochar-calculator__error:focus-visible {
	outline: 2px solid var(--wf-calc-green);
	outline-offset: 0.5rem;
}

.wf-biochar-calculator__result-card .wf-biochar-calculator__selected-product {
	margin-block: 0 0.75rem;
	font-weight: 700;
}

/* Keep supporting math and mixing instructions available without crowding the estimate. */
.wf-biochar-calculator__calculation-details {
	margin-top: 1.25rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--wf-calc-border);
}
.wf-biochar-calculator__calculation-details > summary {
	padding-block: 0.5rem;
	color: var(--wf-calc-muted);
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
}
.wf-biochar-calculator__calculation-details > summary:focus-visible {
	outline: 2px solid var(--wf-calc-green);
	outline-offset: 0.2rem;
}
.wf-biochar-calculator__calculation-details[open] > summary {
	margin-bottom: 0.5rem;
}

.wf-biochar-calculator__field-row[hidden] {
	display: none;
}
.wf-biochar-calculator__input-toggle {
	display: inline-block;
	min-height: 2.75rem;
	margin-top: 0.25rem;
	padding: 0.5rem 0;
	border: 0;
	background: transparent;
	color: var(--wf-calc-ink);
	font: inherit;
	font-size: 0.9rem;
	text-decoration: underline;
	text-underline-offset: 0.15em;
	cursor: pointer;
}
.wf-biochar-calculator__input-toggle:focus-visible {
	outline: 2px solid var(--wf-calc-green);
	outline-offset: 0.2rem;
}

.wf-biochar-calculator__application-grid[hidden],
.wf-biochar-calculator__product-grid[hidden],
.wf-biochar-calculator__selection-summary[hidden] {
	display: none;
}
.wf-biochar-calculator__selection-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.wf-biochar-calculator__selection-summary > span {
	min-width: 0;
	font-weight: 700;
}
.wf-biochar-calculator__change {
	flex: 0 0 auto;
	min-height: 2.75rem;
	padding: 0.5rem 0.25rem;
	border: 0;
	background: transparent;
	color: var(--wf-calc-green);
	font: inherit;
	font-size: 0.9rem;
	text-decoration: underline;
	text-underline-offset: 0.15em;
	cursor: pointer;
}
.wf-biochar-calculator__change:focus-visible {
	outline: 2px solid var(--wf-calc-green);
	outline-offset: 0.2rem;
}

/* Yellow calculator panel trial: remove this block to restore the white panel. */
.wf-biochar-calculator__form {
	background: #ffe477;
	border-color: #ffe477;
}
.wf-biochar-calculator__form .wf-biochar-calculator__choice-body {
	background: #fff;
}
.wf-biochar-calculator__form .wf-biochar-calculator__step + .wf-biochar-calculator__step {
	border-top-color: rgba(18, 18, 18, 0.2);
}
.wf-biochar-calculator__form label:not(.wf-biochar-calculator__choice) > span,
.wf-biochar-calculator__form .wf-biochar-calculator__helper,
.wf-biochar-calculator__form .wf-biochar-calculator__change,
.wf-biochar-calculator__form .wf-biochar-calculator__input-toggle {
	color: var(--wf-calc-ink);
}
.wf-biochar-calculator__form .wf-biochar-calculator__button {
	background: var(--wf-calc-carbon);
	border-color: #a68400;
	color: #fff;
}
.wf-biochar-calculator__form .wf-biochar-calculator__button:hover {
	background: var(--wf-calc-carbon-2);
	border-color: #8c7000;
}
.wf-biochar-calculator__form .wf-biochar-calculator__button:focus-visible {
	outline: 2px solid var(--wf-calc-ink);
	outline-offset: 3px;
}
.wf-biochar-calculator__form .wf-biochar-calculator__change:focus-visible,
.wf-biochar-calculator__form .wf-biochar-calculator__input-toggle:focus-visible {
	outline-color: var(--wf-calc-ink);
}
/* End yellow calculator panel trial. */

/* A focused yellow/charcoal/white palette inside the input panel. */
.wf-biochar-calculator__panel-title {
	margin: 0 0 1.25rem;
	color: var(--wf-calc-ink);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	line-height: 1.1;
}
.wf-biochar-calculator__form .wf-biochar-calculator__choice-icon {
	color: var(--wf-calc-carbon);
	opacity: 1;
}
.wf-biochar-calculator__form .wf-biochar-calculator__choice input:checked + .wf-biochar-calculator__choice-body {
	border-color: #a68400;
	box-shadow: inset 0 0 0 2px #a68400;
}
.wf-biochar-calculator__form .wf-biochar-calculator__choice input:focus-visible + .wf-biochar-calculator__choice-body {
	outline: 2px solid var(--wf-calc-ink);
}
.wf-biochar-calculator__form select:focus,
.wf-biochar-calculator__form input:focus {
	border-color: var(--wf-calc-carbon);
	outline-color: var(--wf-calc-carbon);
}
/* Keep the decorative empty-state image outside the white message card. */
.wf-biochar-calculator__results:has(.wf-biochar-calculator__empty) {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}
.wf-biochar-calculator__empty-copy {
	padding: clamp(1rem, 3vw, 1.5rem);
	border: 1px solid var(--wf-calc-border);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1rem 2.5rem rgba(18, 18, 18, 0.08);
}

.wf-biochar-calculator__panel-title .fa-kit {
	color: currentColor;
	font-size: 1.1em;
	line-height: 1;
	margin-inline-end: 0.15em;
}

/* A modest casing bevel frames the controls without styling them as physical keys. */
.wf-biochar-calculator__form {
	--wf-calc-panel-padding: var(--wp--preset--spacing--lg, 2rem);
	padding: var(--wf-calc-panel-padding);
	border-radius: 12px;
	border-color: #fff0ae #dbc363 #cdb453 #fff0ae;
	box-shadow:
		inset 2px 2px 0 rgba(255, 255, 255, 0.4),
		inset -2px -2px 0 rgba(100, 72, 0, 0.12),
		0 4px 0 #cdb453,
		0 0.75rem 1.5rem rgba(18, 18, 18, 0.12);
}
@media (max-width: 640px) {
	.wf-biochar-calculator__form {
		--wf-calc-panel-padding: 1.25rem;
	}
}

/* A darker gold title band spans the casing's top and rounded corners. */
.wf-biochar-calculator__form .wf-biochar-calculator__panel-title {
	margin: calc(-1 * var(--wf-calc-panel-padding)) calc(-1 * var(--wf-calc-panel-padding)) 1.25rem;
	padding: 1.25rem var(--wf-calc-panel-padding);
	border-radius: 11px 11px 0 0;
	background: #edbb06;
	border-bottom: 1px solid rgba(100, 72, 0, 0.25);
	box-shadow:
		inset 0 2px 0 rgba(255, 255, 255, 0.35),
		0 1px 0 rgba(255, 255, 255, 0.3);
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
