/*!
 * WP Calorie Calculator Pro: the Soft style (since 4.9.0).
 *
 * Opt-in per calculator (post meta wpcc_skin = soft). The plugin enqueues this file only for Soft calculators,
 * after the layout CSS, and every rule below is scoped under .wp-calorie-calculator.wpcc-skin-soft, so Classic
 * calculators never see it. It restyles the existing markup of all layouts; it adds no markup.
 *
 * Colors come from the calculator's own --wpcc-* variables (r,g,b triplets set by the public JS), so the
 * calculator's color scheme still drives the look. Tints are those colors with alpha.
 *
 * House rule: an element with a border-radius gets a border or ring on all four sides or on none. Selected and
 * active states use a fill, a text color, a dot or a full ring.
 */

/* ------------------------------------------------------------------------------------------------------------------
 * Roles, card, type
 * ------------------------------------------------------------------------------------------------------------------ */

.wp-calorie-calculator.wpcc-skin-soft {
	--wpcc-soft-fs: var(--wpcc-font-size, 16px);
	--wpcc-soft-ink: var(--wpcc-text-color, 28, 31, 35);
	--wpcc-soft-label: var(--wpcc-labels-color, var(--wpcc-soft-ink));
	--wpcc-soft-heading: var(--wpcc-main-title-color, var(--wpcc-soft-ink));
	--wpcc-soft-accent: var(--wpcc-button-background-color, 0, 181, 173);
	--wpcc-soft-accent-hover: var(--wpcc-button-background-color-hover, var(--wpcc-soft-accent));
	--wpcc-soft-on-accent: var(--wpcc-button-text-color, 255, 255, 255);
	--wpcc-soft-select: var(--wpcc-soft-accent);
	--wpcc-soft-on-select: var(--wpcc-soft-on-accent);
	--wpcc-soft-focus: var(--wpcc-border-color, var(--wpcc-soft-accent));
	--wpcc-soft-switch: var(--wpcc-switcher-background-color, var(--wpcc-soft-accent));
	--wpcc-soft-knob: var(--wpcc-switcher-circle-color, 255, 255, 255);
	--wpcc-soft-result-ink: var(--wpcc-result-text-color, var(--wpcc-soft-ink));
	--wpcc-soft-result-title: var(--wpcc-result-title-color, var(--wpcc-soft-accent));
	--wpcc-soft-check: var(--wpcc-form-checkbox-color, var(--wpcc-soft-accent));
	--wpcc-soft-link: var(--wpcc-form-link-color, var(--wpcc-soft-accent));
	--wpcc-soft-link-hover: var(--wpcc-form-link-color-hover, var(--wpcc-soft-link));
	--wpcc-soft-step: var(--wpcc-soft-label);
	--wpcc-soft-arrow: var(--wpcc-soft-ink);
	--wpcc-soft-error: 179, 38, 30;
	--wpcc-soft-success-bg: 227, 244, 236;
	--wpcc-soft-success: 28, 94, 67;
	--wpcc-soft-field-h: 50px;
	--wpcc-soft-field-fs: max(16px, var(--wpcc-soft-fs));

	container: wpcc-soft / inline-size;
	position: relative;
	overflow: visible;
	margin-top: 0;
	margin-bottom: 0;
	padding: clamp(20px, 4vw, 36px);
	background: #fff;
	border-radius: 28px;
	box-shadow: 0 0 0 1px rgba(var(--wpcc-soft-ink), 0.06), 0 40px 80px -40px rgba(var(--wpcc-soft-ink), 0.38);
	color: rgba(var(--wpcc-soft-ink), 1);
	font-family: inherit;
	font-size: var(--wpcc-soft-fs);
	line-height: 1.5;
	text-align: start;
}

/* Extended has its own selection, field and step colors. */
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended {
	--wpcc-soft-select: var(--wpcc-selection-background-color, var(--wpcc-soft-accent));
	--wpcc-soft-on-select: var(--wpcc-selection-text-color, var(--wpcc-soft-on-accent));
	--wpcc-soft-focus: var(--wpcc-field-border-color, var(--wpcc-soft-accent));
	--wpcc-soft-step: var(--wpcc-steps-title-color, var(--wpcc-soft-label));
	--wpcc-soft-arrow: var(--wpcc-slider-arrow-color, var(--wpcc-soft-ink));
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-title {
	margin: 0 0 calc(var(--wpcc-soft-fs) * 1.25);
	padding: 0;
	border: 0;
	font-size: calc(var(--wpcc-soft-fs) * 1.5);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.015em;
	text-transform: none;
	color: rgba(var(--wpcc-soft-heading), 1);
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-title.left {
	text-align: start;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-title.center {
	text-align: center;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-title.right {
	text-align: end;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-calculator-form {
	margin: 0;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-group {
	margin: 0 0 calc(var(--wpcc-soft-fs) * 1.375);
	padding: 0;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-group.hidden,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-switch.hidden {
	display: none;
}

/* Section labels: "Basic information", "Goal", "Activity level"… */
.wp-calorie-calculator.wpcc-skin-soft .wpcc-group-title {
	display: block;
	margin: 0 0 10px;
	padding: 0;
	font-size: calc(var(--wpcc-soft-fs) * 0.875);
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: 0;
	text-align: start;
	text-transform: none;
	color: rgba(var(--wpcc-soft-label), 1);
}

/* Field labels: "Age", "Weight"… */
.wp-calorie-calculator.wpcc-skin-soft .wpcc-input-wrapper > label,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-select-wrapper > label,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-basic-information-card-title {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	font-size: calc(var(--wpcc-soft-fs) * 0.8125);
	line-height: 1.35;
	font-weight: 600;
	letter-spacing: 0;
	text-align: start;
	text-transform: none;
	color: rgba(var(--wpcc-soft-ink), 0.78);
}

/* ------------------------------------------------------------------------------------------------------------------
 * Units switch (Compact, Extended): a toggle with both labels, the current one in full ink
 * ------------------------------------------------------------------------------------------------------------------ */

.wp-calorie-calculator.wpcc-skin-soft .wpcc-switch-wrapper {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	margin: 0 0 calc(var(--wpcc-soft-fs) * 0.75);
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-switch {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	margin: 0;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-switch-option {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 6px;
	font-size: calc(var(--wpcc-soft-fs) * 0.875);
	line-height: 1.2;
	font-weight: 700;
	color: rgba(var(--wpcc-soft-ink), 0.68);
	-webkit-user-select: none;
	user-select: none;
}

.wp-calorie-calculator.wpcc-skin-soft[data-unit="imperial"] .wpcc-switch-option[data-position="left"],
.wp-calorie-calculator.wpcc-skin-soft[data-unit="metric"] .wpcc-switch-option[data-position="right"] {
	color: rgba(var(--wpcc-soft-ink), 1);
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-switch-toggle {
	flex: none;
	margin: 0 4px;
}

/* A 44px hit area around the 30px toggle. */
.wp-calorie-calculator.wpcc-skin-soft .wpcc-switch-toggle::after {
	content: "";
	position: absolute;
	inset: -7px -4px;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-switch-toggle-background {
	border-radius: 999px;
}

/* The track in the switcher color, with a fallback for when the color variables are missing (the block editor
   preview). Specific enough to outrank Classic's checked and hover rules. */
.wp-calorie-calculator.wpcc-skin-soft .wpcc-switch .wpcc-switch-toggle input ~ .wpcc-switch-toggle-background.wpcc-switch-toggle-background--two-sided {
	background: rgba(var(--wpcc-soft-switch), 0.9);
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-switch .wpcc-switch-toggle:hover input ~ .wpcc-switch-toggle-background.wpcc-switch-toggle-background--two-sided {
	background: rgba(var(--wpcc-soft-switch), 1);
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-switch-toggle-circle {
	background: rgba(var(--wpcc-soft-knob), 1);
	box-shadow: 0 2px 6px rgba(var(--wpcc-soft-ink), 0.3);
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-switch-toggle input:focus-visible ~ .wpcc-switch-toggle-background {
	outline: 2px solid rgba(var(--wpcc-soft-switch), 1);
	outline-offset: 2px;
}

/* ------------------------------------------------------------------------------------------------------------------
 * Fields: 50px, radius 16, 1.5px light border, the unit inside on the right
 * ------------------------------------------------------------------------------------------------------------------ */

.wp-calorie-calculator.wpcc-skin-soft .wpcc-input-wrapper,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-select-wrapper {
	position: relative;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow: visible;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-input {
	position: relative;
	display: block;
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	background: transparent;
	border-radius: 16px;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-input input[type="number"],
.wp-calorie-calculator.wpcc-skin-soft .wpcc-input input[type="number"]:focus,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-input input[type="number"]:not(:placeholder-shown) {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	height: var(--wpcc-soft-field-h);
	min-height: var(--wpcc-soft-field-h);
	margin: 0;
	padding: 0 48px 0 16px;
	padding-inline: 16px 48px;
	background: #fff;
	border: 1.5px solid rgba(var(--wpcc-soft-ink), 0.16);
	border-radius: 16px;
	box-shadow: none;
	outline: 0;
	color: rgba(var(--wpcc-soft-ink), 1);
	font-family: inherit;
	font-size: var(--wpcc-soft-field-fs);
	line-height: 1.2;
	font-weight: 600;
	text-align: start;
	-webkit-appearance: none;
	-moz-appearance: textfield;
	appearance: textfield;
	transition: border-color 0.15s ease, outline-color 0.15s ease;
}

/* "years" and its translations are longer than kg, cm, ft or in. */
.wp-calorie-calculator.wpcc-skin-soft .wpcc-input input[name="wpcc_age"],
.wp-calorie-calculator.wpcc-skin-soft .wpcc-input input[name="wpcc_age"]:focus,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-input input[name="wpcc_age"]:not(:placeholder-shown) {
	padding-inline-end: 64px;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-input input[type="number"]:hover {
	border-color: rgba(var(--wpcc-soft-ink), 0.3);
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-input input[type="number"]:focus {
	border-color: rgba(var(--wpcc-soft-focus), 1);
	outline: 4px solid rgba(var(--wpcc-soft-focus), 0.16);
	outline-offset: 0;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-input input[type="number"]::-webkit-outer-spin-button,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-input input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-input input[type="number"].wpcc-empty,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-input input[type="number"].wpcc-wrong {
	border-color: rgb(var(--wpcc-soft-error)) !important;
	outline: 4px solid rgba(var(--wpcc-soft-error), 0.14);
}

/* Imperial height is two fields (ft and in) side by side: short units, so tighter padding. */
.wp-calorie-calculator.wpcc-skin-soft[data-unit="imperial"] .wpcc-input input[name="wpcc_height"],
.wp-calorie-calculator.wpcc-skin-soft[data-unit="imperial"] .wpcc-input input[name="wpcc_height"]:focus,
.wp-calorie-calculator.wpcc-skin-soft[data-unit="imperial"] .wpcc-input input[name="wpcc_height"]:not(:placeholder-shown),
.wp-calorie-calculator.wpcc-skin-soft .wpcc-input input[name="wpcc_height_2"],
.wp-calorie-calculator.wpcc-skin-soft .wpcc-input input[name="wpcc_height_2"]:focus,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-input input[name="wpcc_height_2"]:not(:placeholder-shown) {
	padding-inline: 12px 30px;
}

.wp-calorie-calculator.wpcc-skin-soft[data-unit="imperial"] .wpcc-input input[name="wpcc_height"] ~ .wpcc-input-placeholder,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-input input[name="wpcc_height_2"] ~ .wpcc-input-placeholder {
	left: auto;
	right: 12px;
	inset-inline-start: auto;
	inset-inline-end: 12px;
}

/* The unit sits inside the field, on the right. The Classic floating-label motion is switched off. */
.wp-calorie-calculator.wpcc-skin-soft .wpcc-input span.wpcc-input-placeholder,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-input label.wpcc-input-placeholder {
	position: absolute;
	top: 0;
	bottom: 0;
	left: auto;
	right: 16px;
	inset-inline-start: auto;
	inset-inline-end: 16px;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	font-size: calc(var(--wpcc-soft-fs) * 0.875);
	line-height: 1;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: rgba(var(--wpcc-soft-ink), 0.68);
	white-space: nowrap;
	transform: none !important;
	opacity: 1 !important;
	transition: none;
	pointer-events: none;
}

/* ------------------------------------------------------------------------------------------------------------------
 * Custom select (jquery.custom-select): the closed select looks like a field, the list is a floating card
 * ------------------------------------------------------------------------------------------------------------------ */

.wp-calorie-calculator.wpcc-skin-soft div.wpcc-select {
	position: relative;
	width: 100%;
	min-width: 0;
	background: transparent;
	border-radius: 16px;
	box-shadow: none;
}

.wp-calorie-calculator.wpcc-skin-soft div.wpcc-select button[type="button"].wpcc-select__option.wpcc-select__option--value {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: var(--wpcc-soft-field-h);
	min-height: var(--wpcc-soft-field-h);
	margin: 0;
	padding: 0 44px 0 16px;
	padding-inline: 16px 44px;
	background-color: #fff;
	border: 1.5px solid rgba(var(--wpcc-soft-ink), 0.16);
	border-radius: 16px;
	box-shadow: none;
	outline: 0;
	color: rgba(var(--wpcc-soft-ink), 1);
	font-family: inherit;
	font-size: var(--wpcc-soft-field-fs);
	line-height: 1.2;
	font-weight: 600;
	text-align: start;
	text-transform: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: border-color 0.15s ease, outline-color 0.15s ease;
}

.wp-calorie-calculator.wpcc-skin-soft div.wpcc-select button[type="button"].wpcc-select__option.wpcc-select__option--value:hover {
	border-color: rgba(var(--wpcc-soft-ink), 0.3);
}

.wp-calorie-calculator.wpcc-skin-soft div.wpcc-select button[type="button"].wpcc-select__option.wpcc-select__option--value:focus-visible,
.wp-calorie-calculator.wpcc-skin-soft div.wpcc-select.wpcc-select--active button[type="button"].wpcc-select__option.wpcc-select__option--value {
	border-color: rgba(var(--wpcc-soft-focus), 1);
	outline: 4px solid rgba(var(--wpcc-soft-focus), 0.16);
	outline-offset: 0;
}

.wp-calorie-calculator.wpcc-skin-soft div.wpcc-select button[type="button"].wpcc-select__option.wpcc-select__option--value.wpcc-empty {
	border-color: rgb(var(--wpcc-soft-error));
	outline: 4px solid rgba(var(--wpcc-soft-error), 0.14);
}

/* Chevron, drawn with a mask so it takes the text color. */
.wp-calorie-calculator.wpcc-skin-soft div.wpcc-select button[type="button"].wpcc-select__option.wpcc-select__option--value::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 16px;
	left: auto;
	inset-inline-end: 16px;
	inset-inline-start: auto;
	width: 16px;
	height: 16px;
	background: currentColor;
	opacity: 0.7;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
	transform: translateY(-50%);
	transition: transform 0.2s ease;
}

.wp-calorie-calculator.wpcc-skin-soft div.wpcc-select.wpcc-select--active button[type="button"].wpcc-select__option.wpcc-select__option--value::after {
	transform: translateY(-50%) rotate(180deg);
}

.wp-calorie-calculator.wpcc-skin-soft div.wpcc-select .wpcc-select__placeholder {
	font-weight: 500;
	color: rgba(var(--wpcc-soft-ink), 0.68);
}

.wp-calorie-calculator.wpcc-skin-soft div.wpcc-select .wpcc-select__dropdown {
	position: absolute;
	top: calc(100% + 6px);
	bottom: auto;
	left: 0;
	z-index: 20;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 6px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(var(--wpcc-soft-ink), 0.08);
	border-radius: 16px;
	box-shadow: 0 18px 40px -12px rgba(var(--wpcc-soft-ink), 0.3), 0 2px 6px rgba(var(--wpcc-soft-ink), 0.06);
}

.wp-calorie-calculator.wpcc-skin-soft div.wpcc-select.wpcc-select--dropup .wpcc-select__dropdown {
	top: auto;
	bottom: calc(100% + 6px);
}

.wp-calorie-calculator.wpcc-skin-soft div.wpcc-select .wpcc-select__dropdown button[type="button"].wpcc-select__option {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 10px 12px;
	border: 0;
	border-radius: 10px;
	box-shadow: none;
	outline: 0;
	color: rgba(var(--wpcc-soft-ink), 0.9);
	font-family: inherit;
	font-size: calc(var(--wpcc-soft-fs) * 0.9375);
	line-height: 1.3;
	font-weight: 500;
	text-align: start;
	text-transform: none;
	white-space: normal;
}

.wp-calorie-calculator.wpcc-skin-soft div.wpcc-select .wpcc-select__dropdown button[type="button"].wpcc-select__option:hover,
.wp-calorie-calculator.wpcc-skin-soft div.wpcc-select .wpcc-select__dropdown button[type="button"].wpcc-select__option:focus {
	background-color: rgba(var(--wpcc-soft-ink), 0.05);
}

/* The current choice: a tint (painted as an image, over the plugin's white background) and bold text. */
.wp-calorie-calculator.wpcc-skin-soft div.wpcc-select .wpcc-select__dropdown button[type="button"].wpcc-select__option.wpcc-select__option--selected {
	background-image: linear-gradient(rgba(var(--wpcc-soft-select), 0.1), rgba(var(--wpcc-soft-select), 0.1));
	color: rgba(var(--wpcc-soft-ink), 1);
	font-weight: 700;
}

.wp-calorie-calculator.wpcc-skin-soft div.wpcc-select .wpcc-select__dropdown button[type="button"].wpcc-select__option:focus-visible {
	outline: 2px solid rgba(var(--wpcc-soft-focus), 1);
	outline-offset: -2px;
}

/* Without JavaScript the native select shows: give it the same field look. */
.wp-calorie-calculator.wpcc-skin-soft select.wpcc-select {
	width: 100%;
	height: var(--wpcc-soft-field-h);
	padding: 0 16px;
	background-color: #fff;
	border: 1.5px solid rgba(var(--wpcc-soft-ink), 0.16);
	border-radius: 16px;
	color: rgba(var(--wpcc-soft-ink), 1);
	font-family: inherit;
	font-size: var(--wpcc-soft-field-fs);
	font-weight: 600;
}

/* ------------------------------------------------------------------------------------------------------------------
 * Options as pill chips (Simple, Compact). The native radio stays in the page, invisible but focusable.
 * ------------------------------------------------------------------------------------------------------------------ */

.wp-calorie-calculator.wpcc-skin-soft .wpcc-radio input,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-checkbox input,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-formula-grid-item input,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-card input,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-gender-wrapper label input {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	pointer-events: none;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-radio,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-row .wpcc-radio {
	position: relative;
	display: flex;
	width: auto;
	min-width: 0;
	max-width: none;
	margin: 0;
	padding: 0;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-radio input + span {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 0;
	min-height: 44px;
	margin: 0;
	padding: 10px 16px;
	background: rgba(var(--wpcc-soft-ink), 0.045);
	border: 0;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px rgba(var(--wpcc-soft-ink), 0.1);
	color: rgba(var(--wpcc-soft-ink), 0.9);
	font-family: inherit;
	font-size: calc(var(--wpcc-soft-fs) * 0.875);
	line-height: 1.25;
	font-weight: 600;
	text-align: center;
	white-space: normal;
	cursor: pointer;
	transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-radio input + span::before {
	content: none;
	display: none;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-radio:hover input + span {
	background: rgba(var(--wpcc-soft-select), 0.08);
	box-shadow: inset 0 0 0 1px rgba(var(--wpcc-soft-select), 0.35);
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-radio input:checked + span,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-radio:hover input:checked + span {
	background: rgba(var(--wpcc-soft-select), 1);
	box-shadow: 0 4px 10px -6px rgba(var(--wpcc-soft-select), 0.85);
	color: rgba(var(--wpcc-soft-on-select), 1);
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-radio input:focus-visible + span {
	outline: 2px solid rgba(var(--wpcc-soft-select), 1);
	outline-offset: 2px;
}

/* Chip grids. */
.wp-calorie-calculator.wpcc-skin-soft .wpcc-group-formula .wpcc-row,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group:not(.wpcc-row):not(.hidden),
.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-goal {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(12em, 100%), 1fr));
	gap: 8px;
	flex-direction: row;
	width: auto;
	margin-left: 0;
	margin-right: 0;
}

/* Five goals: two columns on phones, three on wider cards, one row when there is room. */
.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-goal {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group > .wpcc-group-title,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-goal > .wpcc-group-title {
	grid-column: 1 / -1;
	margin-bottom: 2px;
}

/* Activity level: a chip grid with the description of the chosen level under it (shown for the hovered or
   focused level while the pointer or focus is there). The descriptions are the plugin's tooltip texts; they
   share one grid cell, so the line is as tall as the longest one and nothing jumps. */
.wp-calorie-calculator.wpcc-skin-soft .wpcc-group-activity > .wpcc-row,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-activity {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: auto;
	column-gap: 8px;
	row-gap: 0;
	flex-direction: row;
	width: auto;
	margin: 0;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-activity > .wpcc-group-title {
	grid-column: 1 / -1;
	grid-row: 1;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-group-activity > .wpcc-row > .wpcc-radio,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-activity > .wpcc-radio,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-group-activity > .wpcc-row > .wpcc-radio .wpcc-tooltip,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-activity > .wpcc-radio .wpcc-tooltip {
	display: contents;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-group-activity > .wpcc-row > .wpcc-radio input + span,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-activity > .wpcc-radio input + span {
	margin-bottom: 8px;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-group-activity .wpcc-tooltip-icon,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-activity .wpcc-tooltip-icon {
	display: none;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-group-activity .wpcc-tooltip .wpcc-tooltip-text,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-activity .wpcc-tooltip .wpcc-tooltip-text {
	position: relative;
	top: auto;
	bottom: auto;
	left: auto;
	right: auto;
	z-index: 0;
	grid-column: 1 / -1;
	grid-row: 99;
	width: auto;
	margin: 2px 0 0;
	padding: 0 4px;
	background: #fff;
	border-radius: 0;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	color: rgba(var(--wpcc-soft-ink), 0.72);
	font-size: calc(var(--wpcc-soft-fs) * 0.8125);
	line-height: 1.45;
	font-weight: 500;
	text-align: start;
	visibility: hidden;
	opacity: 0;
	transform: none;
	transition: none;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-group-activity .wpcc-tooltip .wpcc-tooltip-text::after,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-activity .wpcc-tooltip .wpcc-tooltip-text::after {
	content: none;
	display: none;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-group-activity .wpcc-radio input:checked ~ .wpcc-tooltip .wpcc-tooltip-text,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-activity .wpcc-radio input:checked ~ .wpcc-tooltip .wpcc-tooltip-text {
	visibility: visible;
	opacity: 1;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-group-activity .wpcc-radio:hover .wpcc-tooltip .wpcc-tooltip-text,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-group-activity .wpcc-radio input:focus-visible ~ .wpcc-tooltip .wpcc-tooltip-text,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-activity .wpcc-radio:hover .wpcc-tooltip .wpcc-tooltip-text,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-activity .wpcc-radio input:focus-visible ~ .wpcc-tooltip .wpcc-tooltip-text {
	z-index: 1;
	visibility: visible;
	opacity: 1;
}

/* Units and gender (Simple) are two-option choices: a segmented pill switch. */
.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group:first-child:not(.hidden) {
	position: relative;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 22em;
	gap: 0;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group:first-child::before {
	content: "";
	grid-column: 1 / -1;
	grid-row: 2;
	background: rgba(var(--wpcc-soft-ink), 0.06);
	border-radius: 999px;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group:first-child > .wpcc-group-title {
	margin-bottom: 10px;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group:first-child > .wpcc-radio {
	grid-row: 2;
	grid-column: 1;
	margin: 4px;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group:first-child > .wpcc-radio ~ .wpcc-radio {
	grid-column: 2;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group:first-child > .wpcc-radio input + span {
	background: transparent;
	box-shadow: none;
	color: rgba(var(--wpcc-soft-ink), 0.68);
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group:first-child > .wpcc-radio:hover input + span {
	color: rgba(var(--wpcc-soft-ink), 1);
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group:first-child > .wpcc-radio input:checked + span {
	background: #fff;
	box-shadow: 0 1px 2px rgba(var(--wpcc-soft-ink), 0.12), 0 6px 14px -6px rgba(var(--wpcc-soft-ink), 0.28);
	color: rgba(var(--wpcc-soft-ink), 1);
}

@supports selector(:has(*)) {
	.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group:has(> .wpcc-radio > input[name="wpcc_gender"]) {
		position: relative;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 22em;
		gap: 0;
	}

	.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group:has(> .wpcc-radio > input[name="wpcc_gender"])::before {
		content: "";
		grid-column: 1 / -1;
		grid-row: 2;
		background: rgba(var(--wpcc-soft-ink), 0.06);
		border-radius: 999px;
	}

	.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group:has(> .wpcc-radio > input[name="wpcc_gender"]) > .wpcc-group-title {
		margin-bottom: 10px;
	}

	.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group:has(> .wpcc-radio > input[name="wpcc_gender"]) > .wpcc-radio {
		grid-row: 2;
		grid-column: 1;
		margin: 4px;
	}

	.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group:has(> .wpcc-radio > input[name="wpcc_gender"]) > .wpcc-radio ~ .wpcc-radio {
		grid-column: 2;
	}

	.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group:has(> .wpcc-radio > input[name="wpcc_gender"]) > .wpcc-radio input + span {
		background: transparent;
		box-shadow: none;
		color: rgba(var(--wpcc-soft-ink), 0.68);
	}

	.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group:has(> .wpcc-radio > input[name="wpcc_gender"]) > .wpcc-radio:hover input + span {
		color: rgba(var(--wpcc-soft-ink), 1);
	}

	.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group:has(> .wpcc-radio > input[name="wpcc_gender"]) > .wpcc-radio input:checked + span {
		background: #fff;
		box-shadow: 0 1px 2px rgba(var(--wpcc-soft-ink), 0.12), 0 6px 14px -6px rgba(var(--wpcc-soft-ink), 0.28);
		color: rgba(var(--wpcc-soft-ink), 1);
	}
}

/* ------------------------------------------------------------------------------------------------------------------
 * Simple layout
 * ------------------------------------------------------------------------------------------------------------------ */

.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-row.wpcc-metric {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 12px;
	max-width: none;
	margin: 0;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-row.wpcc-metric > .wpcc-input-wrapper {
	width: auto;
	min-width: 0;
	margin: 0;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-row.wpcc-metric > .wpcc-height {
	grid-column: 1 / -1;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-row.wpcc-metric .wpcc-input-wrapper.wpcc-height .wpcc-row {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
}

/* The doubled class outranks Classic's RTL margin rule for the inch field. */
.wp-calorie-calculator.wpcc-skin-soft .wpcc-row.wpcc-metric .wpcc-input-wrapper.wpcc-height .wpcc-row > .wpcc-input.wpcc-input {
	margin: 0;
}

/* Activity and goal stack: each is a full-width chip grid. */
.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-calculator-form > .wpcc-group.wpcc-row {
	display: block;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-group .wpcc-activity {
	margin: 0 0 calc(var(--wpcc-soft-fs) * 1.375);
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-group .wpcc-goal {
	margin: 0;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-group .wpcc-activity .wpcc-radio-title {
	white-space: normal;
}

/* ------------------------------------------------------------------------------------------------------------------
 * Compact Pretty
 * ------------------------------------------------------------------------------------------------------------------ */

.wp-calorie-calculator.wpcc-skin-soft.wpcc-two-compact-pretty .wpcc-row.wpcc-row-basic {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 12px;
	margin: 0;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-two-compact-pretty .wpcc-row.wpcc-row-basic > .wpcc-select-wrapper,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-two-compact-pretty .wpcc-row.wpcc-row-basic > .wpcc-input-wrapper {
	flex: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}

/* Goal, then activity level, both full width. */
.wp-calorie-calculator.wpcc-skin-soft.wpcc-two-compact-pretty .wpcc-calculator-form > .wpcc-row.wpcc-group {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: calc(var(--wpcc-soft-fs) * 1.375);
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-two-compact-pretty .wpcc-group .wpcc-group-goal,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-two-compact-pretty .wpcc-row .wpcc-group.wpcc-group-activity {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-two-compact-pretty .wpcc-group .wpcc-group-goal .wpcc-select {
	min-width: 0;
}

/* ------------------------------------------------------------------------------------------------------------------
 * Extended (one-screen and multi-step)
 * ------------------------------------------------------------------------------------------------------------------ */

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-steps {
	margin: 0;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-step {
	margin: 0 0 calc(var(--wpcc-soft-fs) * 1.75);
	padding: 0;
	text-align: start;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-step.wpcc-step-result {
	margin-bottom: 0;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-step-title,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-step-title-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	width: auto;
	margin: 0;
	font-size: calc(var(--wpcc-soft-fs) * 1.125);
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-transform: none;
	color: rgba(var(--wpcc-soft-step), 1);
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-step-title {
	margin: 0 0 14px;
}

/* "Step 2" as a small tinted pill before the step name. */
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-step-title span {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 4px 10px;
	background: rgba(var(--wpcc-soft-select), 0.13);
	border-radius: 999px;
	color: rgba(var(--wpcc-soft-ink), 0.82);
	font-size: calc(var(--wpcc-soft-fs) * 0.6875);
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 1;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-switch-wrapper {
	margin: 0 0 calc(var(--wpcc-soft-fs) * 0.75);
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended.multistep .wpcc-step-title.with-switch {
	justify-content: space-between;
	margin: 0 0 14px;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended.multistep .wpcc-step-title.with-switch .wpcc-step-title-wrapper {
	flex: 0 1 auto;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended.multistep .wpcc-step-title.with-switch .wpcc-switch-wrapper {
	flex: 0 0 auto;
	width: auto;
	margin: 0 0 0 auto;
	margin-inline-start: auto;
	margin-inline-end: 0;
	font-size: var(--wpcc-soft-fs);
	letter-spacing: 0;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended.multistep .wpcc-switch {
	justify-content: flex-end;
	margin: 0;
}

/* Formula: three pills. */
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-formula-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
	margin: 0 !important;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-formula-grid-item {
	position: relative;
	display: block;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0 !important;
	cursor: pointer;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-formula-grid-item-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 48px;
	padding: 10px 18px;
	background: rgba(var(--wpcc-soft-ink), 0.045);
	border: 0;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px rgba(var(--wpcc-soft-ink), 0.1);
	color: rgba(var(--wpcc-soft-ink), 0.9);
	font-size: calc(var(--wpcc-soft-fs) * 0.9375);
	line-height: 1.25;
	font-weight: 600;
	letter-spacing: 0;
	text-align: center;
	text-transform: none;
	overflow: visible;
	transform: none;
	transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-formula-grid-item-wrapper:hover {
	background: rgba(var(--wpcc-soft-select), 0.08);
	box-shadow: inset 0 0 0 1px rgba(var(--wpcc-soft-select), 0.35);
	transform: none;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-formula-grid-item input:checked + div,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-formula-grid-item input:checked + div:hover {
	background: rgba(var(--wpcc-soft-select), 1);
	box-shadow: 0 8px 18px -10px rgba(var(--wpcc-soft-select), 0.9);
	color: rgba(var(--wpcc-soft-on-select), 1);
	transform: none;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-formula-grid-item input:focus-visible + div {
	outline: 2px solid rgba(var(--wpcc-soft-select), 1);
	outline-offset: 2px;
}

/* Basic information: four soft cards. */
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-basic-information-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	margin: 0 !important;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-basic-information-grid-item {
	width: auto;
	min-width: 0;
	padding: 0 !important;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-basic-information-card,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-basic-information-card:hover {
	height: 100%;
	padding: 16px;
	background: rgba(var(--wpcc-soft-ink), 0.035);
	border: 0;
	border-radius: 20px;
	box-shadow: inset 0 0 0 1px rgba(var(--wpcc-soft-ink), 0.06);
	text-align: start;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-basic-information-card-wrapper {
	align-items: stretch;
	justify-content: flex-start;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-basic-information-card-title {
	margin-bottom: 8px;
	font-weight: 700;
	color: rgba(var(--wpcc-soft-label), 1);
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-inputs-row,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-basic-information-card .wpcc-row {
	display: flex;
	justify-content: flex-start;
	gap: 8px;
	width: 100%;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-inputs-row > div,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-inputs-row > div + div {
	width: auto;
	margin: 0;
}

/* The input rules above, with the Extended card selectors that Classic uses (it also forces box-shadow: none). */
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-basic-information-card .wpcc-input input[type="number"] {
	height: var(--wpcc-soft-field-h);
	background: #fff;
	border: 1.5px solid rgba(var(--wpcc-soft-ink), 0.16);
	border-radius: 16px;
	text-align: start;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-basic-information-card .wpcc-input input[type="number"]:hover {
	border-color: rgba(var(--wpcc-soft-ink), 0.3);
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-basic-information-card .wpcc-input input[type="number"]:focus {
	border-color: rgba(var(--wpcc-soft-focus), 1);
	background: #fff;
	box-shadow: none !important;
}

/* Gender: two figure tiles. */
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-gender-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-gender-wrapper label {
	position: relative;
	display: inline-flex;
	padding: 0;
	cursor: pointer;
	transform: none;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-gender-wrapper label svg {
	display: block;
	box-sizing: content-box;
	padding: 10px 16px;
	background: #fff;
	border-radius: 16px;
	box-shadow: inset 0 0 0 1.5px rgba(var(--wpcc-soft-ink), 0.12);
	color: rgba(var(--wpcc-soft-ink), 0.32);
	fill: currentColor;
	filter: none;
	transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-gender-wrapper label .wpcc-male-icon {
	padding-left: 19px;
	padding-right: 19px;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-gender-wrapper label:hover svg {
	box-shadow: inset 0 0 0 1.5px rgba(var(--wpcc-soft-select), 0.4);
	color: rgba(var(--wpcc-soft-select), 0.7);
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-gender-wrapper label input:checked + svg,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-gender-wrapper label:hover input:checked + svg {
	background: rgba(var(--wpcc-soft-select), 1);
	box-shadow: 0 8px 18px -10px rgba(var(--wpcc-soft-select), 0.9);
	color: rgba(var(--wpcc-soft-on-select), 1);
	filter: none;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-gender-wrapper label input:focus-visible + svg {
	outline: 2px solid rgba(var(--wpcc-soft-select), 1);
	outline-offset: 2px;
}

/* Activity and goal cards (grid and slider). */
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-card {
	position: relative;
	display: block;
	cursor: pointer;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-card .wpcc-card-wrapper {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	min-height: 0;
	padding: 16px 18px;
	background: rgba(var(--wpcc-soft-ink), 0.035);
	border: 0;
	border-radius: 20px;
	box-shadow: inset 0 0 0 1px rgba(var(--wpcc-soft-ink), 0.07);
	color: rgba(var(--wpcc-soft-ink), 1);
	text-align: start;
	transform: none;
	transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-card .wpcc-card-wrapper:hover {
	background: rgba(var(--wpcc-soft-select), 0.07);
	box-shadow: inset 0 0 0 1px rgba(var(--wpcc-soft-select), 0.35);
	transform: none;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-card input:checked + .wpcc-card-wrapper,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-card input:checked + .wpcc-card-wrapper:hover {
	background: rgba(var(--wpcc-soft-select), 1);
	box-shadow: 0 10px 22px -12px rgba(var(--wpcc-soft-select), 0.9);
	color: rgba(var(--wpcc-soft-on-select), 1);
	transform: none;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-card input:focus-visible + .wpcc-card-wrapper {
	outline: 2px solid rgba(var(--wpcc-soft-select), 1);
	outline-offset: 2px;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-card .wpcc-card-title {
	margin: 0 0 4px;
	font-size: var(--wpcc-soft-fs);
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-card .wpcc-card-description {
	font-size: calc(var(--wpcc-soft-fs) * 0.875);
	line-height: 1.45;
	font-weight: 500;
	opacity: 0.72;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-card input:checked + .wpcc-card-wrapper .wpcc-card-description {
	opacity: 0.9;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-card.goals .wpcc-card-wrapper {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 56px;
	padding: 12px 18px;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-card.goals .wpcc-card-title {
	margin: 0;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	margin: 0 !important;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-grid .wpcc-card {
	width: auto;
	margin: 0;
	padding: 0 !important;
}

/* Slider: cards with room for their shadow and focus ring, round arrow buttons under it. */
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-slider {
	margin: 0 0 64px;
	padding: 0;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-slider .slick-list {
	margin: 0 -6px;
	padding: 6px 6px 12px;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-slider .slick-slide {
	margin: 0 6px;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-slider .wpcc-card-wrapper {
	width: 15em;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-slider-prev,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-slider-next {
	top: calc(100% + 4px);
	width: 44px;
	height: 44px;
	background: #fff !important;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1.5px rgba(var(--wpcc-soft-ink), 0.12);
	color: rgba(var(--wpcc-soft-arrow), 1);
	cursor: pointer;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-slider-prev {
	left: calc(50% - 50px);
	right: auto;
	inset-inline-start: calc(50% - 50px);
	inset-inline-end: auto;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-slider-next {
	right: calc(50% - 50px);
	left: auto;
	inset-inline-end: calc(50% - 50px);
	inset-inline-start: auto;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-slider-prev:hover,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-slider-next:hover {
	background: rgba(var(--wpcc-soft-select), 0.08) !important;
	box-shadow: inset 0 0 0 1.5px rgba(var(--wpcc-soft-select), 0.4);
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-slider-prev:focus-visible,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-slider-next:focus-visible {
	outline: 2px solid rgba(var(--wpcc-soft-select), 1);
	outline-offset: 2px;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-slider-prev svg,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-slider-next svg {
	width: 18px;
	height: 16px;
	color: currentColor;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-slider .slick-disabled {
	opacity: 0.4;
	cursor: default;
}

/* Multi-step navigation: back as a tinted pill, next as the main button. */
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended.multistep .wpcc-step {
	margin-bottom: calc(var(--wpcc-soft-fs) * 1.25);
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended.multistep .wpcc-step-switching {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin: calc(var(--wpcc-soft-fs) * 1.25) 0 0;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended.multistep .wpcc-step-switching button[type="button"].wpcc-step-switching-prev,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended.multistep .wpcc-step-switching button[type="button"].wpcc-step-switching-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto;
	min-width: 8.5em;
	height: auto;
	min-height: 50px;
	margin: 0;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	outline: 0;
	font-family: inherit;
	font-size: var(--wpcc-soft-fs);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	transform: none;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended.multistep .wpcc-step-switching button[type="button"].wpcc-step-switching-prev {
	margin-right: auto;
	margin-inline-end: auto;
	margin-inline-start: 0;
	background: rgba(var(--wpcc-soft-accent), 0.1);
	color: rgba(var(--wpcc-soft-ink), 1);
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended.multistep .wpcc-step-switching button[type="button"].wpcc-step-switching-prev:hover {
	background: rgba(var(--wpcc-soft-accent), 0.17);
	box-shadow: none;
	transform: none;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended.multistep .wpcc-step-switching button[type="button"].wpcc-step-switching-next {
	background: rgba(var(--wpcc-soft-accent), 1);
	color: rgba(var(--wpcc-soft-on-accent), 1);
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended.multistep .wpcc-step-switching button[type="button"].wpcc-step-switching-next:hover {
	background: rgba(var(--wpcc-soft-accent-hover), 1);
	box-shadow: 0 8px 18px -10px rgba(var(--wpcc-soft-accent), 0.9);
	transform: none;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended.multistep .wpcc-step-switching button[type="button"]:focus-visible {
	outline: 2px solid rgba(var(--wpcc-soft-accent), 1);
	outline-offset: 2px;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended.multistep .wpcc-step-switching-prev svg,
.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended.multistep .wpcc-step-switching-next svg {
	width: 14px;
	height: 14px;
	color: currentColor;
}

/* ------------------------------------------------------------------------------------------------------------------
 * Result panel: soft tint of the main color, big target-calories number, white BMR/BMI tiles
 * ------------------------------------------------------------------------------------------------------------------ */

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	margin: calc(var(--wpcc-soft-fs) * 0.5) 0 0;
	padding: 20px;
	background: rgba(var(--wpcc-soft-accent), 0.07);
	border: 0;
	border-radius: 22px;
	box-shadow: none;
	color: rgba(var(--wpcc-soft-result-ink), 1);
	text-align: start;
}

.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-step-result .wpcc-result {
	margin-top: 0;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-icon {
	display: none;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-title {
	margin: 0 0 12px;
	padding: 0;
	font-size: calc(var(--wpcc-soft-fs) * 0.75);
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-align: start;
	text-transform: uppercase;
	color: rgba(var(--wpcc-soft-result-title), 1);
	color: color-mix(in srgb, rgb(var(--wpcc-soft-result-title)) 62%, rgb(var(--wpcc-soft-result-ink)));
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-instant {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding: 0;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-result-instant > .wpcc-row.wpcc-result-row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: flex-start;
	gap: 10px;
	width: auto;
	margin: 0;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-result-instant > .wpcc-row > .wpcc-row-group {
	display: flex;
	flex: 1 1 120px;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	order: 0;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 12px 16px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(var(--wpcc-soft-ink), 0.06);
}

/* Target calories lead, and take the whole first line when there is no room beside them. */
.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-result-instant > .wpcc-row > .wpcc-row-group.wpcc-result-calorie {
	flex: 2 1 15em;
	order: -1;
	justify-content: flex-end;
	padding: 0 0 4px;
	background: transparent;
	box-shadow: none;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-row-group .wpcc-result-subtitle {
	margin: 0 0 4px;
	padding: 0;
	font-size: calc(var(--wpcc-soft-fs) * 0.8125);
	line-height: 1.3;
	font-weight: 600;
	text-align: start;
	color: rgba(var(--wpcc-soft-ink), 0.7);
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-row-group.wpcc-result-calorie .wpcc-result-subtitle {
	margin-bottom: 6px;
	font-size: calc(var(--wpcc-soft-fs) * 0.875);
	color: rgba(var(--wpcc-soft-result-ink), 0.75);
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-row .wpcc-row-group .wpcc-result-data {
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: rgba(var(--wpcc-soft-ink), 1);
	font-size: calc(var(--wpcc-soft-fs) * 1.375);
	line-height: 1.15;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	text-align: start;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-row .wpcc-row-group.wpcc-result-calorie .wpcc-result-data {
	color: rgba(var(--wpcc-soft-result-ink), 1);
	font-size: calc(var(--wpcc-soft-fs) * 2.75);
	font-size: clamp(calc(var(--wpcc-soft-fs) * 2.5), 9cqi, calc(var(--wpcc-soft-fs) * 3.75));
	line-height: 1;
	letter-spacing: -0.02em;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-row-group .wpcc-result-data-count {
	margin: 0;
	font-weight: inherit;
}

/* BMI category: a pill tinted with the category color the plugin sets inline, plus a dot of that color. */
.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-result-data.wpcc-result-bmi-type {
	align-self: flex-end;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: auto;
	max-width: 100%;
	margin: 10px 0 0;
	padding: 6px 12px;
	border: 0;
	border-radius: 999px;
	background-image: linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.84));
	box-shadow: none;
	color: rgba(var(--wpcc-soft-ink), 0.92) !important;
	font-size: calc(var(--wpcc-soft-fs) * 0.8125);
	line-height: 1.3;
	font-weight: 700;
	text-align: start;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-result-data.wpcc-result-bmi-type::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	background-color: inherit;
	border-radius: 999px;
}

/* Macronutrients: three white tiles with a colored dot each. */
.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-result-instant > .wpcc-result-subtitle {
	margin: 18px 0 8px;
	padding: 0;
	font-size: calc(var(--wpcc-soft-fs) * 0.875);
	line-height: 1.35;
	font-weight: 700;
	text-align: start;
	color: rgba(var(--wpcc-soft-result-ink), 0.92);
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-result-instant > .wpcc-row.wpcc-result-macronutrients {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-row.wpcc-result-macronutrients .wpcc-result-data {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: flex-start;
	gap: 2px 3px;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 10px 12px;
	background: #fff;
	border: 0;
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(var(--wpcc-soft-ink), 0.06);
	color: rgba(var(--wpcc-soft-ink), 1);
	font-size: var(--wpcc-soft-fs);
	line-height: 1.2;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-result-macronutrients .wpcc-result-data-type {
	display: flex;
	flex: 1 0 100%;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: calc(var(--wpcc-soft-fs) * 0.8125);
	font-weight: 600;
	color: rgba(var(--wpcc-soft-ink), 0.7);
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-result-macronutrients .wpcc-result-data-type::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	background: #ffc23d;
	border-radius: 999px;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-result-macronutrients .wpcc-result-data:nth-child(2) .wpcc-result-data-type::before {
	background: rgba(var(--wpcc-soft-accent), 1);
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-result-macronutrients .wpcc-result-data:nth-child(3) .wpcc-result-data-type::before {
	background: #5db065;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-result-macronutrients .wpcc-result-data-count {
	margin: 0;
	font-size: calc(var(--wpcc-soft-fs) * 1.25);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-result-macronutrients .wpcc-result-data-unit {
	font-size: calc(var(--wpcc-soft-fs) * 0.875);
	font-weight: 700;
	color: rgba(var(--wpcc-soft-ink), 0.7);
}

/* ------------------------------------------------------------------------------------------------------------------
 * Email form, privacy checkbox, buttons, notices, success message
 * ------------------------------------------------------------------------------------------------------------------ */

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-block {
	align-items: stretch;
	width: 100%;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result .wpcc-result-title.wpcc-result-title--form {
	margin: 0 0 14px;
	font-size: calc(var(--wpcc-soft-fs) * 1.0625);
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: rgba(var(--wpcc-soft-result-ink), 1);
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form {
	align-items: stretch;
	width: 100%;
	margin: 0;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-wrapper {
	align-items: flex-start;
	width: 100%;
	margin: 0;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	max-width: 100%;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form .wpcc-result-form-fields input.wpcc-result-form-field,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form .wpcc-result-form-fields textarea.wpcc-result-form-field {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	height: var(--wpcc-soft-field-h);
	min-height: var(--wpcc-soft-field-h);
	margin: 0;
	padding: 0 16px;
	background: #fff;
	border: 1.5px solid rgba(var(--wpcc-soft-ink), 0.16);
	border-radius: 16px;
	box-shadow: none;
	outline: 0;
	color: rgba(var(--wpcc-soft-ink), 1);
	font-family: inherit;
	font-size: var(--wpcc-soft-field-fs);
	line-height: 1.3;
	font-weight: 500;
	transition: border-color 0.15s ease, outline-color 0.15s ease;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form .wpcc-result-form-fields textarea.wpcc-result-form-field {
	grid-column: 1 / -1;
	height: auto;
	min-height: 112px;
	padding: 13px 16px;
	resize: vertical;
}

/* The user form has no labels, only placeholders, so they keep text contrast (4.5:1 or more). */
.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form .wpcc-result-form-fields .wpcc-result-form-field::placeholder {
	color: rgba(var(--wpcc-soft-ink), 0.68);
	opacity: 1;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form .wpcc-result-form-fields .wpcc-result-form-field:hover {
	border-color: rgba(var(--wpcc-soft-ink), 0.3);
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form .wpcc-result-form-fields .wpcc-result-form-field:focus {
	border-color: rgba(var(--wpcc-soft-focus), 1);
	outline: 4px solid rgba(var(--wpcc-soft-focus), 0.16);
	outline-offset: 0;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form .wpcc-result-form-fields .wpcc-result-form-field.wpcc-result-form-field--error {
	border-color: rgb(var(--wpcc-soft-error));
	box-shadow: none;
	outline: 4px solid rgba(var(--wpcc-soft-error), 0.14);
}

/* Privacy checkbox: a 22px rounded box, filled with the checkbox color when checked. */
.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-user-agreement {
	width: 100%;
	margin: 10px 0 0;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-user-agreement label.wpcc-checkbox {
	position: relative;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	min-height: 44px;
	margin: 0;
	cursor: pointer;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-checkbox input + span,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-checkbox.wpcc-checkbox--privacy input + span {
	position: relative;
	display: block;
	padding: 11px 0 11px 34px;
	padding-inline: 34px 0;
	color: rgba(var(--wpcc-soft-result-ink), 0.85);
	font-size: calc(var(--wpcc-soft-fs) * 0.875);
	line-height: 1.5;
	font-weight: 500;
	text-align: start;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-checkbox input + span::before {
	top: 11px;
	left: 0;
	right: auto;
	inset-inline-start: 0;
	inset-inline-end: auto;
	width: 22px;
	height: 22px;
	margin: 0;
	background: #fff;
	border: 1.5px solid rgba(var(--wpcc-soft-ink), 0.3);
	border-radius: 7px;
	box-shadow: none;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-checkbox input + span:hover::before {
	background: #fff;
	border-color: rgba(var(--wpcc-soft-check), 1);
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-checkbox input:checked + span::before {
	background: rgba(var(--wpcc-soft-check), 1);
	border-color: rgba(var(--wpcc-soft-check), 1);
	box-shadow: none;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-checkbox input:focus-visible + span::before {
	outline: 2px solid rgba(var(--wpcc-soft-check), 1);
	outline-offset: 2px;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-checkbox input:checked + span .wpcc-checkbox-check {
	top: 11px;
	left: 0;
	right: auto;
	inset-inline-start: 0;
	inset-inline-end: auto;
	width: 22px;
	height: 22px;
	color: #fff;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-checkbox input:checked + span .wpcc-checkbox-check svg {
	width: 12px;
	height: 9px;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-checkbox.wpcc-empty input + span::before {
	border: 1.5px solid rgb(var(--wpcc-soft-error)) !important;
	outline: 4px solid rgba(var(--wpcc-soft-error), 0.14);
	animation: wpcc-shake 0.4s ease;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-link {
	color: rgba(var(--wpcc-soft-link), 1);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-link:hover,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-link:focus {
	color: rgba(var(--wpcc-soft-link-hover), 1);
	text-decoration-thickness: 2px;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-link:focus-visible,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-recaptcha-policy a:focus-visible,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-edit-link:focus-visible {
	outline: 2px solid rgba(var(--wpcc-soft-link), 1);
	outline-offset: 2px;
	border-radius: 4px;
}

/* Buttons: pills. Send is the main color, the PDF one is ink. On narrow cards they take the full width. */
.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-submit-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 10px;
	margin: 14px 0 0;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-submit-wrapper button[type="submit"] {
	position: relative;
	display: inline-flex;
	flex: 1 1 100%;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	max-width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	outline: 0;
	font-family: inherit;
	font-size: var(--wpcc-soft-fs);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	transform: none;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-submit-wrapper button[type="submit"].wpcc-result-form-submit {
	background: rgba(var(--wpcc-soft-accent), 1);
	color: rgba(var(--wpcc-soft-on-accent), 1);
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-submit-wrapper button[type="submit"].wpcc-result-form-submit:hover {
	background: rgba(var(--wpcc-soft-accent-hover), 1);
	box-shadow: 0 8px 18px -10px rgba(var(--wpcc-soft-accent), 0.9);
	transform: none;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-submit-wrapper button[type="submit"].wpcc-result-form-pdf {
	background: rgba(var(--wpcc-soft-ink), 1);
	color: #fff;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-submit-wrapper button[type="submit"].wpcc-result-form-pdf:hover {
	background: rgba(var(--wpcc-soft-ink), 0.86);
	box-shadow: 0 8px 18px -10px rgba(var(--wpcc-soft-ink), 0.8);
	transform: none;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-submit-wrapper button[type="submit"]:active {
	box-shadow: none;
	transform: none;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-submit-wrapper button[type="submit"]:focus-visible {
	outline: 2px solid rgba(var(--wpcc-soft-accent), 1);
	outline-offset: 2px;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-submit-wrapper button[type="submit"].wpcc-result-form-pdf:focus-visible {
	outline-color: rgba(var(--wpcc-soft-ink), 1);
}

/* Sending: room for the spinner inside the pill. */
.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-submit-wrapper button[type="submit"].wpcc-loading {
	padding-inline-end: 52px;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-loading::after {
	right: 20px;
	left: auto;
	inset-inline-end: 20px;
	inset-inline-start: auto;
	border-color: currentColor transparent currentColor transparent;
}

/* Notices: rounded boxes with an icon that takes the text color. */
.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-notices {
	margin: 0;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-notice {
	width: 100%;
	margin: 0 0 10px;
	padding: 12px 16px;
	border: 0;
	border-radius: 16px;
	font-size: calc(var(--wpcc-soft-fs) * 0.9375);
	line-height: 1.45;
	font-weight: 600;
	text-align: start;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-notice span {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 10px;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-notice span::before {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	background: currentColor;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-notice--error {
	background: rgba(var(--wpcc-soft-error), 0.08);
	color: rgb(var(--wpcc-soft-error));
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-notice--error span::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5h.01'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5h.01'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-notice--success {
	background: rgb(var(--wpcc-soft-success-bg));
	color: rgb(var(--wpcc-soft-success));
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-notice--success span::before,
.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-submission::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.7 2.7L16 9.8'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.7 2.7L16 9.8'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* "Sent to your email" / "PDF is ready": a green status box inside the result panel. */
.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-submission {
	position: relative;
	max-width: none;
	margin: 0;
	padding: 14px 16px 14px 48px;
	padding-inline: 48px 16px;
	background: rgb(var(--wpcc-soft-success-bg));
	border-radius: 16px;
	color: rgb(var(--wpcc-soft-success));
	font-size: var(--wpcc-soft-fs);
	line-height: 1.5;
	font-weight: 600;
	text-align: start;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-submission::before {
	content: "";
	position: absolute;
	top: 15px;
	left: 16px;
	inset-inline-start: 16px;
	inset-inline-end: auto;
	width: 22px;
	height: 22px;
	background: currentColor;
}

/* ------------------------------------------------------------------------------------------------------------------
 * Small print
 * ------------------------------------------------------------------------------------------------------------------ */

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-recaptcha-policy {
	margin: 12px 0 0;
	padding: 0;
	color: rgba(var(--wpcc-soft-ink), 0.7);
	font-size: calc(var(--wpcc-soft-fs) * 0.75);
	line-height: 1.5;
	text-align: center;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-recaptcha-policy a {
	color: inherit;
	font-weight: 700;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-edit-link-wrapper {
	margin-top: 12px;
}

.wp-calorie-calculator.wpcc-skin-soft .wpcc-edit-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0;
	color: rgba(var(--wpcc-soft-ink), 0.7);
	font-size: calc(var(--wpcc-soft-fs) * 0.8125);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ------------------------------------------------------------------------------------------------------------------
 * Wider cards (the calculator's own width, not the window's)
 * ------------------------------------------------------------------------------------------------------------------ */

@container wpcc-soft (min-width: 400px) {
	.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-basic-information-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@container wpcc-soft (min-width: 520px) {
	.wp-calorie-calculator.wpcc-skin-soft .wpcc-result {
		padding: 26px;
	}

	.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-row.wpcc-metric {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-row.wpcc-metric.imperial {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr);
	}

	.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-row.wpcc-metric > .wpcc-height {
		grid-column: auto;
	}

	.wp-calorie-calculator.wpcc-skin-soft.wpcc-two-compact-pretty .wpcc-row.wpcc-row-basic {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.wp-calorie-calculator.wpcc-skin-soft .wpcc-group-activity > .wpcc-row,
	.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-activity {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-formula-grid,
	.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-goal {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-fields.form-style-twocolumns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wp-calorie-calculator.wpcc-skin-soft .wpcc-result-form-submit-wrapper button[type="submit"] {
		flex: 0 0 auto;
	}
}

@container wpcc-soft (min-width: 760px) {
	.wp-calorie-calculator.wpcc-skin-soft .wpcc-group-activity > .wpcc-row,
	.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-activity,
	.wp-calorie-calculator.wpcc-skin-soft.wpcc-one-simple-plain .wpcc-goal {
		grid-template-columns: repeat(auto-fit, minmax(8em, 1fr));
	}

	.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-basic-information-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Below 576px of window width Slick shows one slide at the list's width and ignores slide margins. The gap
   between slides is padding inside each slide instead, and the list is widened by the same amount so the card
   still lines up with the content edge. */
@media (max-width: 575.98px) {
	.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-slider .slick-list {
		margin: 0 -10px;
		padding: 6px 0 12px;
	}

	.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-slider .slick-slide {
		margin: 0;
		padding: 0 10px;
	}

	.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended .wpcc-slider .slick-slide .wpcc-card-wrapper {
		width: 100%;
	}

	.wp-calorie-calculator.wpcc-skin-soft.wpcc-three-extended.multistep .wpcc-step {
		min-height: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wp-calorie-calculator.wpcc-skin-soft *,
	.wp-calorie-calculator.wpcc-skin-soft *::before,
	.wp-calorie-calculator.wpcc-skin-soft *::after {
		transition: none !important;
	}
}
