/*
 * Flora Fauna Fun goat feed calculator. Everything is scoped under .gfc.gfc-root: the doubled class (0,2,0) plus one
 * more beats ruki's `.the-post .entry-content p` (0,2,1) and its bare button / input / select / label / ul / table rules.
 * Only link colours use !important. Variables --gfc-*. No url() anywhere (Autoptimize rewrites it). No <p>, no <li> and
 * no ad markup live inside the tool.
 */

.gfc.gfc-root {
	--gfc-ink: #1f2d1c;
	--gfc-soft: #55644f;
	--gfc-line: #e6dcc3;
	--gfc-cream: #fffaf0;
	--gfc-paper: #f6f0e0;
	--gfc-green: #2e8540;
	--gfc-green-d: #1f6b34;
	--gfc-green-dd: #164d26;
	--gfc-green-l: #e4f2da;
	--gfc-gold: #e0a526;
	--gfc-gold-d: #8a5a00;
	--gfc-gold-l: #fdf1cf;
	--gfc-water: #2a7fa8;
	--gfc-water-l: #def0f8;
	--gfc-min: #7b64a8;
	--gfc-min-l: #ece6f6;
	--gfc-grain: #bf6f1c;
	--gfc-grain-l: #fbe6c8;
	--gfc-pasture: #62ad4a;
	--gfc-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--gfc-font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: 760px;
	margin: 0 auto 30px;
	padding: 0;
	font-family: var(--gfc-font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--gfc-ink);
	scroll-margin-top: 76px;
}
.gfc.gfc-root *,
.gfc.gfc-root *::before,
.gfc.gfc-root *::after {
	box-sizing: border-box;
}
.entry-content h2[id],
.entry-content h3[id] {
	scroll-margin-top: 76px;
}
.gfc.gfc-root [hidden] {
	display: none !important;
}
.gfc.gfc-root div,
.gfc.gfc-root span,
.gfc.gfc-root form,
.gfc.gfc-root details,
.gfc.gfc-root summary,
.gfc.gfc-root label {
	font-family: var(--gfc-font);
	color: inherit;
}
.gfc.gfc-root form,
.gfc.gfc-root details,
.gfc.gfc-root summary {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: 16px;
	line-height: 1.5;
}
.gfc.gfc-root svg {
	max-width: none;
}
.gfc.gfc-root .gfc-i {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.gfc.gfc-root .gfc-i .f {
	fill: currentColor;
	stroke: none;
}

/* focus ring */
.gfc.gfc-root button:focus-visible,
.gfc.gfc-root input:focus-visible,
.gfc.gfc-root select:focus-visible,
.gfc.gfc-root summary:focus-visible,
.gfc.gfc-root a:focus-visible,
.gfc.gfc-root .gfc-scroll:focus-visible {
	outline: 3px solid var(--gfc-gold);
	outline-offset: 2px;
}

/* the card */
.gfc.gfc-root .gfc-card {
	display: block;
	background: var(--gfc-cream);
	border: 1px solid #eadfc2;
	border-radius: 24px;
	box-shadow: 0 14px 34px -16px rgba(58, 72, 28, 0.35), 0 2px 0 rgba(224, 165, 38, 0.18);
}
.gfc.gfc-root .gfc-defbtn {
	all: unset;
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}
.gfc.gfc-root .gfc-sec {
	display: block;
	padding: 22px 22px 20px;
	border-top: 1px solid var(--gfc-line);
}
.gfc.gfc-root .gfc-sec--goats {
	border-top: 0;
}
.gfc.gfc-root [data-gfc-rv] {
	transition: opacity 0.55s var(--gfc-ease), transform 0.55s var(--gfc-ease);
}
.gfc.gfc-root.gfc-js .gfc-pre {
	opacity: 0;
	transform: translateY(18px);
}
.gfc.gfc-root .gfc-h {
	display: block;
	margin: 0 0 14px;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--gfc-ink);
}
.gfc.gfc-root .gfc-hrow {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}
.gfc.gfc-root .gfc-hrow .gfc-h {
	margin-bottom: 12px;
}
.gfc.gfc-root .gfc-label {
	display: block;
	margin: 0 0 7px;
	padding: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--gfc-ink);
}
.gfc.gfc-root .gfc-label--sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.gfc.gfc-root .gfc-hint {
	font-size: 13px;
	font-weight: 600;
	color: var(--gfc-soft);
}
.gfc.gfc-root .gfc-field {
	display: block;
	min-width: 0;
	margin: 0 0 16px;
}
.gfc.gfc-root .gfc-row2 {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 16px 18px;
	align-items: end;
}
.gfc.gfc-root .gfc-row2 .gfc-field {
	margin: 0;
}

/* inputs */
.gfc.gfc-root .gfc-input {
	display: block;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 14px;
	font-family: var(--gfc-font);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--gfc-ink);
	background: #fff;
	border: 2px solid var(--gfc-line);
	border-radius: 14px;
	box-shadow: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.gfc.gfc-root .gfc-input:hover {
	border-color: #d4c79f;
}
.gfc.gfc-root .gfc-input:focus {
	border-color: var(--gfc-green);
	box-shadow: 0 0 0 4px rgba(46, 133, 64, 0.15);
	outline: 0;
}
.gfc.gfc-root .gfc-input.is-bad {
	border-color: #c4452d;
	background: #fff4f1;
}
.gfc.gfc-root .gfc-input::placeholder {
	color: var(--gfc-ink);
	font-weight: 700;
	opacity: 1;
}
.gfc.gfc-root .gfc-price::placeholder {
	color: #8a937f;
	font-weight: 600;
}
.gfc.gfc-root .gfc-selwrap {
	position: relative;
}
.gfc.gfc-root select.gfc-select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 44px;
	cursor: pointer;
	text-overflow: ellipsis;
}
.gfc.gfc-root .gfc-selchev {
	position: absolute;
	top: 50%;
	right: 14px;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	color: var(--gfc-green-d);
	pointer-events: none;
}

/* stepper */
.gfc.gfc-root .gfc-stepper {
	display: flex;
	align-items: center;
	gap: 8px;
}
.gfc.gfc-root .gfc-step {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	padding: 12px;
	color: var(--gfc-green-dd);
	background: var(--gfc-green-l);
	border-radius: 50%;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.2s, transform 0.12s;
}
.gfc.gfc-root .gfc-step:active {
	transform: scale(0.92);
}
.gfc.gfc-root .gfc-step .gfc-i {
	stroke-width: 2.6;
}
.gfc.gfc-root .gfc-nin {
	width: 68px;
	padding: 0 6px;
	font-size: 22px;
	font-weight: 800;
	text-align: center;
}
.gfc.gfc-root:not(.gfc-js) .gfc-step {
	display: none;
}

/* buttons: reset ruki's bare button style */
.gfc.gfc-root .gfc-btn {
	all: unset;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	min-width: 46px;
	padding: 0 20px;
	font-family: var(--gfc-font);
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	color: var(--gfc-ink);
	background: #fff;
	border: 2px solid var(--gfc-line);
	border-radius: 999px;
	cursor: pointer;
	text-align: center;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.2s, border-color 0.2s, transform 0.12s, color 0.2s;
}
.gfc.gfc-root .gfc-btn-lk,
.gfc.gfc-root .gfc-btn-ck {
	display: flex;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
}
.gfc.gfc-root .gfc-btn:active {
	transform: scale(0.97);
}
.gfc.gfc-root .gfc-btn--primary {
	display: flex;
	width: calc(100% - 44px);
	min-height: 56px;
	margin: 0 22px 22px;
	font-size: 18px;
	color: #fff;
	background: var(--gfc-green);
	border-color: var(--gfc-green);
}
.gfc.gfc-root.gfc-js .gfc-nojs {
	display: none;
}
.gfc.gfc-root .gfc-btn.is-done {
	color: #fff;
	background: var(--gfc-green);
	border-color: var(--gfc-green);
}
.gfc.gfc-root .gfc-btn .gfc-btn-ck {
	display: none;
}
.gfc.gfc-root .gfc-btn.is-done .gfc-btn-ck {
	display: flex;
	animation: gfc-pop 0.4s var(--gfc-ease);
}
.gfc.gfc-root .gfc-btn.is-done .gfc-btn-lk {
	display: none;
}
.gfc.gfc-root .gfc-lnk {
	all: unset;
	box-sizing: border-box;
	font-size: 14px;
	font-weight: 800;
	color: var(--gfc-green-d);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.gfc.gfc-root .gfc-lnk:focus-visible {
	outline: 3px solid var(--gfc-gold);
	outline-offset: 2px;
	border-radius: 4px;
}

/* stage tiles */
.gfc.gfc-root .gfc-seg.gfc-seg--stage {
	padding: 0;
	background: none;
	display: grid;
	grid-auto-flow: row;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}
.gfc.gfc-root .gfc-stg {
	all: unset;
	box-sizing: border-box;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	min-height: 112px;
	padding: 14px 8px 12px;
	text-align: center;
	color: var(--gfc-green-d);
	background: #fff;
	border: 2px solid var(--gfc-line);
	border-radius: 18px;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.18s var(--gfc-ease), box-shadow 0.25s;
}
.gfc.gfc-root .gfc-stg .gfc-sti {
	display: block;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
}
.gfc.gfc-root .gfc-stg .gfc-sl {
	display: block;
	font-size: 14.5px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--gfc-ink);
	transition: color 0.25s;
}
.gfc.gfc-root .gfc-stg:active {
	transform: scale(0.97);
}
.gfc.gfc-root .gfc-stg.is-on {
	color: #fff;
	background: var(--gfc-green);
	border-color: var(--gfc-green-d);
	box-shadow: 0 8px 18px -8px rgba(31, 107, 52, 0.7);
}
.gfc.gfc-root .gfc-stg.is-on .gfc-sl {
	color: #fff;
}
.gfc.gfc-root .gfc-chk {
	position: absolute;
	top: 7px;
	right: 7px;
	display: none;
	width: 22px;
	height: 22px;
	padding: 4px;
	color: var(--gfc-green-d);
	background: #fff;
	border-radius: 50%;
}
.gfc.gfc-root .gfc-chk .gfc-i {
	stroke-width: 3.4;
}
.gfc.gfc-root .gfc-stg.is-on .gfc-chk {
	display: block;
	animation: gfc-pop 0.45s var(--gfc-ease);
}

/* reveals (kids expected, milk per day): smooth height and fade */
.gfc.gfc-root .gfc-reveal {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	visibility: hidden;
	transition: grid-template-rows 0.4s var(--gfc-ease), opacity 0.3s, visibility 0s 0.4s;
}
.gfc.gfc-root .gfc-reveal.is-open {
	grid-template-rows: 1fr;
	opacity: 1;
	visibility: visible;
	transition: grid-template-rows 0.4s var(--gfc-ease), opacity 0.35s 0.05s, visibility 0s;
}
.gfc.gfc-root .gfc-reveal-in {
	min-height: 0;
	overflow: hidden;
}
.gfc.gfc-root .gfc-sub {
	display: block;
	margin: 14px 0 2px;
	padding: 14px 16px 16px;
	background: var(--gfc-green-l);
	border-radius: 16px;
}
.gfc.gfc-root .gfc-sub .gfc-label {
	margin-bottom: 9px;
}
.gfc.gfc-root .gfc-eq {
	margin: 8px 0 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--gfc-green-dd);
}

/* segmented controls */
.gfc.gfc-root .gfc-seg {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 5px;
	padding: 5px;
	background: #eee6cf;
	border-radius: 16px;
}
.gfc.gfc-root .gfc-sb {
	all: unset;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 58px;
	padding: 8px 4px;
	text-align: center;
	color: var(--gfc-green-d);
	border-radius: 12px;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.25s, color 0.25s, transform 0.15s, box-shadow 0.25s;
}
.gfc.gfc-root .gfc-sb .gfc-i {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
}
.gfc.gfc-root .gfc-sb .gfc-sl {
	display: block;
	font-size: 13.5px;
	font-weight: 800;
	line-height: 1.15;
	color: var(--gfc-ink);
	transition: color 0.25s;
}
.gfc.gfc-root .gfc-sb:active {
	transform: scale(0.97);
}
.gfc.gfc-root .gfc-sb.is-on {
	color: #fff;
	background: var(--gfc-green);
	box-shadow: 0 6px 12px -6px rgba(31, 107, 52, 0.7);
}
.gfc.gfc-root .gfc-sb.is-on .gfc-sl {
	color: #fff;
}
.gfc.gfc-root .gfc-seg--kids .gfc-sb,
.gfc.gfc-root .gfc-sb--mini {
	min-height: 44px;
	padding: 0 14px;
}
.gfc.gfc-root .gfc-seg--unit {
	flex: 0 0 auto;
	padding: 4px;
	border-radius: 14px;
}
.gfc.gfc-root .gfc-sb--mini {
	min-width: 52px;
}
.gfc.gfc-root .gfc-seg--kids {
	max-width: 340px;
	background: #fff;
}
.gfc.gfc-root .gfc-seg--period {
	grid-auto-flow: row;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}
.gfc.gfc-root .gfc-seg--period .gfc-sb {
	min-height: 48px;
	padding: 6px 4px;
}

/* weight and milk: slider + number */
.gfc.gfc-root .gfc-slide {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 96px auto;
	gap: 14px;
	align-items: center;
}
.gfc.gfc-root .gfc-num {
	padding: 0 10px;
	text-align: center;
	font-size: 19px;
	font-weight: 800;
}
.gfc.gfc-root .gfc-unit {
	min-width: 22px;
	font-size: 15px;
	font-weight: 800;
	color: var(--gfc-soft);
}
.gfc.gfc-root .gfc-range {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 32px;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
	cursor: pointer;
	--gfc-f: 20%;
}
.gfc.gfc-root .gfc-range::-webkit-slider-runnable-track {
	height: 12px;
	background: linear-gradient(to right, var(--gfc-green) var(--gfc-f), #e6dcc3 var(--gfc-f));
	border-radius: 999px;
}
.gfc.gfc-root .gfc-range::-moz-range-track {
	height: 12px;
	background: linear-gradient(to right, var(--gfc-green) var(--gfc-f), #e6dcc3 var(--gfc-f));
	border-radius: 999px;
}
.gfc.gfc-root .gfc-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 30px;
	height: 30px;
	margin-top: -9px;
	background: #fff;
	border: 5px solid var(--gfc-green);
	border-radius: 50%;
	box-shadow: 0 3px 8px rgba(31, 77, 38, 0.35);
	transition: transform 0.15s;
}
.gfc.gfc-root .gfc-range::-moz-range-thumb {
	width: 20px;
	height: 20px;
	background: #fff;
	border: 5px solid var(--gfc-green);
	border-radius: 50%;
	box-shadow: 0 3px 8px rgba(31, 77, 38, 0.35);
}
.gfc.gfc-root .gfc-range:active::-webkit-slider-thumb {
	transform: scale(1.12);
}
.gfc.gfc-root .gfc-typ {
	margin: 10px 0 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--gfc-soft);
}
.gfc.gfc-root .gfc-using {
	font-weight: 800;
	color: var(--gfc-green-d);
}

/* what do they eat */
.gfc.gfc-root .gfc-eatgrid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 18px;
}
.gfc.gfc-root .gfc-eatgrid .gfc-field {
	margin: 0 0 14px;
}

/* the answer: the hero of the card */
.gfc.gfc-root .gfc-sec--result {
	margin: 4px 12px 12px;
	padding: 22px 18px 18px;
	color: #fff;
	background: linear-gradient(155deg, #1f6b34 0%, #2a7d3b 55%, #2e8540 100%);
	border: 0;
	border-radius: 22px;
	box-shadow: 0 16px 30px -18px rgba(22, 77, 38, 0.8);
}
.gfc.gfc-root .gfc-rh {
	margin: 0 0 4px;
}
.gfc.gfc-root .gfc-h--big {
	margin: 0;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
}
.gfc.gfc-root .gfc-out {
	display: block;
}
.gfc.gfc-root .gfc-sum {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: #fff;
	opacity: 0.94;
}
.gfc.gfc-root .gfc-tiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}
.gfc.gfc-root .gfc-rt {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	grid-template-areas: "ti tl" "tv tv" "ts ts";
	align-content: start;
	align-items: center;
	gap: 6px 8px;
	min-height: 138px;
	padding: 12px 12px 12px;
	color: var(--gfc-ink);
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
	transition: transform 0.2s var(--gfc-ease), box-shadow 0.2s;
}
.gfc.gfc-root .gfc-ti {
	grid-area: ti;
	display: block;
	width: 38px;
	height: 38px;
	padding: 6px;
	border-radius: 50%;
}
.gfc.gfc-root .gfc-ti:empty {
	display: none;
}
.gfc.gfc-root .gfc-rt--hay .gfc-ti { color: var(--gfc-gold-d); background: var(--gfc-gold-l); }
.gfc.gfc-root .gfc-rt--grain .gfc-ti { color: var(--gfc-grain); background: var(--gfc-grain-l); }
.gfc.gfc-root .gfc-rt--water .gfc-ti { color: var(--gfc-water); background: var(--gfc-water-l); }
.gfc.gfc-root .gfc-rt--min .gfc-ti { color: var(--gfc-min); background: var(--gfc-min-l); }
.gfc.gfc-root .gfc-tl {
	grid-area: tl;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gfc-soft);
}
.gfc.gfc-root .gfc-ti:empty + .gfc-tl {
	grid-column: 1 / -1;
}
.gfc.gfc-root .gfc-tv {
	grid-area: tv;
	display: block;
	margin-top: 4px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--gfc-ink);
	font-variant-numeric: tabular-nums;
}
.gfc.gfc-root .gfc-n {
	font-size: 36px;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.gfc.gfc-root .gfc-u {
	font-size: 16px;
	font-weight: 800;
	color: var(--gfc-soft);
}
.gfc.gfc-root .gfc-txt {
	display: block;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.15;
	padding: 3px 0 5px;
}
.gfc.gfc-root .gfc-ok {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.15;
	color: var(--gfc-green-d);
}
.gfc.gfc-root .gfc-ck {
	display: block;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	padding: 4px;
	color: #fff;
	background: var(--gfc-green);
	border-radius: 50%;
}
.gfc.gfc-root .gfc-ck .gfc-i {
	stroke-width: 3.6;
}
.gfc.gfc-root .gfc-ts {
	grid-area: ts;
	display: block;
	min-height: 2.5em;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--gfc-soft);
}
.gfc.gfc-root .gfc-mnote {
	margin: 12px 0 0;
	padding: 10px 14px;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
	border-radius: 12px;
}
.gfc.gfc-root .gfc-diet,
.gfc.gfc-root .gfc-nut {
	display: block;
	margin: 12px 0 0;
	padding: 14px 16px 16px;
	color: var(--gfc-ink);
	background: #fff;
	border-radius: 18px;
}
.gfc.gfc-root .gfc-sh {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 2px 12px;
	margin: 0 0 10px;
}
.gfc.gfc-root .gfc-sh-t {
	font-size: 16px;
	font-weight: 800;
	color: var(--gfc-ink);
}
.gfc.gfc-root .gfc-sh-n {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--gfc-soft);
}
.gfc.gfc-root .gfc-bar {
	display: flex;
	height: 20px;
	overflow: hidden;
	background: #eee6cf;
	border-radius: 999px;
}
.gfc.gfc-root .gfc-bseg {
	display: block;
	height: 100%;
	transition: width 0.6s var(--gfc-ease);
}
.gfc.gfc-root .gfc-bseg--hay { background: var(--gfc-gold); }
.gfc.gfc-root .gfc-bseg--past { background: var(--gfc-pasture); }
.gfc.gfc-root .gfc-bseg--grain { background: var(--gfc-grain); }
.gfc.gfc-root .gfc-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 10px 0 0;
}
.gfc.gfc-root .gfc-lg {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gfc-ink);
}
.gfc.gfc-root .gfc-lg b {
	font-weight: 800;
}
.gfc.gfc-root .gfc-lg--off {
	display: none;
}
.gfc.gfc-root .gfc-sw {
	display: block;
	width: 12px;
	height: 12px;
	border-radius: 4px;
}
.gfc.gfc-root .gfc-lg--hay .gfc-sw { background: var(--gfc-gold); }
.gfc.gfc-root .gfc-lg--past .gfc-sw { background: var(--gfc-pasture); }
.gfc.gfc-root .gfc-lg--grain .gfc-sw { background: var(--gfc-grain); }

/* nutrition check */
.gfc.gfc-root .gfc-meters {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 22px;
}
.gfc.gfc-root .gfc-meter {
	display: block;
	min-width: 0;
}
.gfc.gfc-root .gfc-mh {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 0 0 8px;
}
.gfc.gfc-root .gfc-mn {
	font-size: 15px;
	font-weight: 800;
}
.gfc.gfc-root .gfc-chip {
	display: inline-block;
	padding: 3px 12px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.4;
	border-radius: 999px;
	transition: background 0.3s, color 0.3s;
}
.gfc.gfc-root .gfc-chip--ok { color: #1a5a2a; background: #d9f0cb; }
.gfc.gfc-root .gfc-chip--low { color: #7a4d00; background: #fde3a8; }
.gfc.gfc-root .gfc-chip--high { color: #8a3300; background: #fbd3b8; }
.gfc.gfc-root .gfc-mt {
	position: relative;
	height: 12px;
	margin: 0 0 4px;
	background: #eee6cf;
	border-radius: 999px;
}
.gfc.gfc-root .gfc-mf {
	display: block;
	height: 100%;
	background: var(--gfc-green);
	border-radius: 999px;
	transition: width 0.6s var(--gfc-ease), background 0.3s;
}
.gfc.gfc-root .gfc-meter--low .gfc-mf { background: var(--gfc-gold); }
.gfc.gfc-root .gfc-meter--high .gfc-mf { background: #d9772b; }
.gfc.gfc-root .gfc-mk {
	position: absolute;
	top: -5px;
	width: 4px;
	height: 22px;
	margin-left: -2px;
	background: var(--gfc-ink);
	border: 1px solid #fff;
	border-radius: 3px;
	transition: left 0.6s var(--gfc-ease);
}
.gfc.gfc-root .gfc-ml {
	margin: 8px 0 2px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}
.gfc.gfc-root .gfc-mm {
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--gfc-soft);
}

/* notes */
.gfc.gfc-root .gfc-notes {
	display: grid;
	gap: 8px;
	margin: 12px 0 0;
}
.gfc.gfc-root .gfc-notes:empty {
	display: none;
}
.gfc.gfc-root .gfc-note {
	position: relative;
	padding: 11px 14px 11px 44px;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--gfc-ink);
	border-radius: 14px;
}
.gfc.gfc-root .gfc-note::before {
	content: '';
	position: absolute;
	top: 11px;
	left: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
	color: #fff;
	border-radius: 50%;
}
.gfc.gfc-root .gfc-note--tip { background: #effae6; }
.gfc.gfc-root .gfc-note--tip::before { background: #4c9a3a; }
.gfc.gfc-root .gfc-note--tip::after {
	content: '';
	position: absolute;
	top: 15px;
	left: 22px;
	width: 5px;
	height: 9px;
	border-right: 2.5px solid #fff;
	border-bottom: 2.5px solid #fff;
	transform: rotate(45deg);
}
.gfc.gfc-root .gfc-note--warn { background: #fff4d6; }
.gfc.gfc-root .gfc-note--warn::before { content: '!'; background: #b97a00; }
.gfc.gfc-root .gfc-enter {
	animation: gfc-in 0.45s var(--gfc-ease) both;
}

/* herd */
.gfc.gfc-root .gfc-herd {
	display: block;
	margin: 4px 0 18px;
}
.gfc.gfc-root .gfc-hsum {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 800;
	color: var(--gfc-green-d);
}
.gfc.gfc-root .gfc-tiles--herd .gfc-rt,
.gfc.gfc-root .gfc-tiles--cost .gfc-rt {
	min-height: 126px;
	border: 2px solid var(--gfc-line);
	box-shadow: none;
}
.gfc.gfc-root .gfc-tiles--herd .gfc-n {
	font-size: 30px;
}
.gfc.gfc-root .gfc-tiles--cost {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 10px 0 0;
}
.gfc.gfc-root .gfc-tiles--cost .gfc-rt {
	min-height: 0;
	background: var(--gfc-gold-l);
	border-color: #f0d890;
}
.gfc.gfc-root .gfc-tiles--cost .gfc-txt {
	font-size: 30px;
}
.gfc.gfc-root .gfc-tiles--cost .gfc-ts {
	min-height: 0;
}
.gfc.gfc-root .gfc-field--bale {
	margin: 0 0 14px;
}
.gfc.gfc-root .gfc-prices {
	display: block;
	background: #fff;
	border: 2px solid var(--gfc-line);
	border-radius: 16px;
}
.gfc.gfc-root .gfc-sum-b {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 14px;
	font-size: 16px;
	font-weight: 800;
	color: var(--gfc-ink);
	list-style: none;
	cursor: pointer;
}
.gfc.gfc-root .gfc-sum-b::-webkit-details-marker {
	display: none;
}
.gfc.gfc-root .gfc-sum-b::marker {
	content: '';
}
.gfc.gfc-root .gfc-sum-b > .gfc-i,
.gfc.gfc-root .gfc-sumchev {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	color: var(--gfc-green-d);
}
.gfc.gfc-root .gfc-sum-b > span:not(.gfc-sumchev) {
	flex: 1 1 auto;
}
.gfc.gfc-root .gfc-sumchev {
	display: block;
	transition: transform 0.3s var(--gfc-ease);
}
.gfc.gfc-root .gfc-prices[open] .gfc-sumchev {
	transform: rotate(180deg);
}
.gfc.gfc-root .gfc-pgrid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	padding: 4px 14px 16px;
}
.gfc.gfc-root .gfc-pgrid .gfc-field {
	margin: 0;
}
.gfc.gfc-root .gfc-pgrid .gfc-label {
	min-height: 2.6em;
	font-size: 14px;
}

/* footer row */
.gfc.gfc-root .gfc-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 4px 22px 22px;
}
.gfc.gfc-root .gfc-how {
	margin-left: auto;
	padding: 8px 2px;
	font-size: 14px;
	font-weight: 700;
	color: var(--gfc-green-d) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* the chart shortcode */
.gfc.gfc-root .gfc-scroll {
	overflow-x: auto;
	background: #fff;
	border: 2px solid var(--gfc-line);
	border-radius: 16px;
	-webkit-overflow-scrolling: touch;
}
.gfc.gfc-root table.gfc-tbl {
	width: 100%;
	min-width: 640px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: #fff;
}
.gfc.gfc-root table.gfc-tbl caption {
	padding: 12px 14px;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
	text-align: left;
	color: var(--gfc-ink);
	background: var(--gfc-paper);
	caption-side: top;
	position: sticky;
	left: 0;
	width: min(100%, calc(100vw - 60px));
}
.gfc.gfc-root table.gfc-tbl th,
.gfc.gfc-root table.gfc-tbl td {
	display: table-cell;
	padding: 10px 12px;
	font-family: var(--gfc-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
	vertical-align: top;
	color: var(--gfc-ink);
	background: none;
	border: 0;
	border-bottom: 1px solid var(--gfc-line);
}
.gfc.gfc-root table.gfc-tbl thead th {
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--gfc-green-dd);
	background: var(--gfc-green-l);
	vertical-align: bottom;
}
.gfc.gfc-root table.gfc-tbl tbody tr:nth-child(even) {
	background: #fbf8ee;
}
.gfc.gfc-root table.gfc-tbl tbody tr:last-child th,
.gfc.gfc-root table.gfc-tbl tbody tr:last-child td {
	border-bottom: 0;
}
.gfc.gfc-root .gfc-sub2 {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--gfc-soft);
}
.gfc.gfc-root .gfc-c-h {
	display: block;
}
.gfc.gfc-root .gfc-c-g {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--gfc-grain);
}
.gfc.gfc-root td.gfc-na {
	font-weight: 600;
	color: #9aa28f;
}
.gfc.gfc-root .gfc-note-s {
	margin: 8px 2px 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--gfc-soft);
}

/* motion */
@keyframes gfc-pop {
	0% { transform: scale(0); }
	60% { transform: scale(1.3); }
	100% { transform: scale(1); }
}
@keyframes gfc-in {
	0% { opacity: 0; transform: translateY(10px) scale(0.98); }
	100% { opacity: 1; transform: none; }
}
@media (hover: hover) {
	.gfc.gfc-root .gfc-stg:hover:not(.is-on) {
		border-color: var(--gfc-green);
		box-shadow: 0 10px 20px -12px rgba(31, 107, 52, 0.5);
		transform: translateY(-3px);
	}
	.gfc.gfc-root .gfc-stg.is-on:hover {
		transform: translateY(-2px);
	}
	.gfc.gfc-root .gfc-sb:hover:not(.is-on) {
		background: rgba(255, 255, 255, 0.7);
	}
	.gfc.gfc-root .gfc-rt:hover {
		transform: translateY(-3px);
		box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.4);
	}
	.gfc.gfc-root .gfc-btn:hover {
		background: var(--gfc-green-l);
		border-color: var(--gfc-green);
	}
	.gfc.gfc-root .gfc-btn.is-done:hover {
		background: var(--gfc-green);
	}
	.gfc.gfc-root .gfc-step:hover {
		background: #cfe8c0;
	}
	.gfc.gfc-root .gfc-sum-b:hover {
		background: var(--gfc-green-l);
		border-radius: 14px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.gfc.gfc-root *,
	.gfc.gfc-root *::before,
	.gfc.gfc-root *::after {
		animation: none !important;
		transition: none !important;
		transform: none !important;
	}
	.gfc.gfc-root.gfc-js .gfc-pre {
		opacity: 1;
	}
}

/* phones: the root bleeds the 30px content padding */
@media (max-width: 700px) {
	.entry-content .gfc.gfc-root {
		margin-left: -30px;
		margin-right: -30px;
		width: auto;
		max-width: none;
		padding: 0 6px;
	}
	.gfc.gfc-root .gfc-card {
		border-radius: 20px;
	}
	.gfc.gfc-root .gfc-sec {
		padding: 18px 14px 16px;
	}
	.gfc.gfc-root .gfc-btn--primary {
		width: calc(100% - 28px);
		margin: 0 14px 16px;
	}
	.gfc.gfc-root .gfc-foot {
		padding: 2px 14px 18px;
	}
	.gfc.gfc-root .gfc-seg.gfc-seg--stage {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
	.gfc.gfc-root .gfc-stg {
		min-height: 104px;
	}
	.gfc.gfc-root .gfc-sec--result {
		margin: 4px 6px 8px;
		padding: 18px 12px 14px;
	}
	.gfc.gfc-root .gfc-h--big {
		font-size: 23px;
	}
	.gfc.gfc-root .gfc-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
	.gfc.gfc-root .gfc-meters {
		grid-template-columns: minmax(0, 1fr);
	}
	.gfc.gfc-root .gfc-eatgrid {
		grid-template-columns: minmax(0, 1fr);
	}
	.gfc.gfc-root .gfc-row2 {
		grid-template-columns: minmax(0, 1fr);
	}
	.gfc.gfc-root .gfc-stepper {
		max-width: 220px;
	}
	.gfc.gfc-root .gfc-seg--period {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
	.gfc.gfc-root .gfc-seg--period .gfc-sb {
		grid-column: span 2;
	}
	.gfc.gfc-root .gfc-seg--period .gfc-sb:nth-of-type(4) {
		grid-column: 1 / span 3;
	}
	.gfc.gfc-root .gfc-seg--period .gfc-sb:nth-of-type(5) {
		grid-column: span 3;
	}
	.gfc.gfc-root .gfc-tiles--cost {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.gfc.gfc-root .gfc-pgrid {
		grid-template-columns: minmax(0, 1fr);
	}
	.gfc.gfc-root .gfc-pgrid .gfc-label {
		min-height: 0;
	}
	.gfc.gfc-root .gfc-slide {
		grid-template-columns: minmax(0, 1fr) 84px auto;
		gap: 10px;
	}
	.gfc.gfc-root table.gfc-tbl th,
	.gfc.gfc-root table.gfc-tbl td {
		padding: 8px 8px;
		font-size: 14px;
	}
}
@media (max-width: 380px) {
	.gfc.gfc-root .gfc-n {
		font-size: 31px;
	}
	.gfc.gfc-root .gfc-tiles--herd .gfc-n {
		font-size: 27px;
	}
	.gfc.gfc-root .gfc-rt {
		padding: 11px 10px;
	}
}

/* print: only the card, no motion */
@media print {
	body * {
		visibility: hidden !important;
	}
	.gfc.gfc-root,
	.gfc.gfc-root * {
		visibility: visible !important;
		animation: none !important;
		transition: none !important;
	}
	.gfc.gfc-root {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		max-width: none;
		margin: 0 !important;
		padding: 0 !important;
	}
	.gfc.gfc-root .gfc-card {
		box-shadow: none;
		border: 1px solid #999;
	}
	.gfc.gfc-root .gfc-pre {
		opacity: 1 !important;
		transform: none !important;
	}
	.gfc.gfc-root .gfc-foot,
	.gfc.gfc-root .gfc-step,
	.gfc.gfc-root .gfc-range,
	.gfc.gfc-root .gfc-nojs,
	.gfc.gfc-root .gfc-chk {
		display: none !important;
	}
	.gfc.gfc-root .gfc-sec--result {
		color: #000;
		background: #fff;
		border: 1px solid #999;
		box-shadow: none;
	}
	.gfc.gfc-root .gfc-h--big,
	.gfc.gfc-root .gfc-sum,
	.gfc.gfc-root .gfc-mnote {
		color: #000;
		opacity: 1;
		background: none;
	}
	.gfc.gfc-root .gfc-out,
	.gfc.gfc-root .gfc-herd {
		min-height: 0;
	}
	.gfc.gfc-root .gfc-stg:not(.is-on) {
		display: none;
	}
	.gfc.gfc-root * {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}
