/* UHY Calculators frontend 0.4.2 */
.uhy-calculator {
	--uhy-primary: var(--uhy-mt-accent, var(--e-global-color-primary, #2f7d32));
	--uhy-primary-contrast: var(--uhy-mt-button-text, #fff);
	--uhy-primary-hover: var(--uhy-mt-accent-hover, color-mix(in srgb, var(--uhy-primary) 82%, #000));
	--uhy-primary-hover-contrast: var(--uhy-mt-button-hover-text, #fff);
	--uhy-text: var(--uhy-mt-text, var(--e-global-color-text, #26342d));
	--uhy-muted: var(--uhy-mt-muted, var(--e-global-color-secondary, #66736c));
	--uhy-surface: var(--uhy-mt-surface, var(--e-global-color-fb55c0a, #fff));
	--uhy-border: var(--uhy-mt-border, color-mix(in srgb, var(--uhy-text) 16%, transparent));
	--uhy-focus: var(--uhy-mt-focus, color-mix(in srgb, var(--uhy-primary) 30%, transparent));
	width: 100%;
	max-width: 850px;
	margin-inline: auto;
	padding: clamp(24px, 5vw, 54px);
	border: 1px solid var(--uhy-border);
	border-radius: 0;
	background: var(--uhy-surface);
	color: var(--uhy-text);
	font-family: var(--e-global-typography-text-font-family, inherit);
	box-shadow: 0 18px 50px rgba(24, 45, 33, .08);
}
.uhy-calculator, .uhy-calculator *, .uhy-calculator *::before, .uhy-calculator *::after { box-sizing: border-box; }
.uhy-calculator[hidden], .uhy-calculator [hidden] { display: none !important; }
.uhy-calculator h3, .uhy-calculator legend { color: inherit; font-family: var(--e-global-typography-primary-font-family, inherit); }
.uhy-calculator__intro-text { max-width: 65ch; margin-bottom: 24px; font-size: 1.08em; }
.uhy-calculator__progress { margin-bottom: clamp(24px, 4vw, 42px); }
.uhy-calculator__progress-label { margin-bottom: 8px; color: var(--uhy-muted); font-size: .875em; font-weight: 600; }
.uhy-calculator__progress-track { overflow: hidden; height: 6px; border-radius: 0; background: color-mix(in srgb, var(--uhy-primary) 14%, transparent); }
.uhy-calculator__progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--uhy-primary); transition: width .25s ease; }
.uhy-calculator__question { min-width: 0; margin: 0; padding: 0; border: 0; }
.uhy-calculator__question legend { max-width: 760px; margin: 0 0 10px; padding: 0; font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 700; line-height: 1.25; }
.uhy-calculator__help { margin: 0 0 22px; color: var(--uhy-muted); }
.uhy-calculator__options { display: grid; gap: 12px; margin-block: 22px; }
.uhy-calculator__option { position: relative; display: block; cursor: pointer; }
.uhy-calculator__option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.uhy-calculator__option span { display: flex; min-height: 56px; align-items: center; padding: 14px 18px 14px 52px; border: 1px solid var(--uhy-border); border-radius: 0; transition: border-color .15s, background .15s, box-shadow .15s; }
.uhy-calculator__option span::before { position: absolute; left: 19px; width: 18px; height: 18px; border: 2px solid var(--uhy-muted); border-radius: 50%; content: ''; }
.uhy-calculator__option input:checked + span { border-color: var(--uhy-primary); background: color-mix(in srgb, var(--uhy-primary) 7%, transparent); box-shadow: inset 4px 0 0 var(--uhy-primary); }
.uhy-calculator__option input:checked + span::before { border: 5px solid var(--uhy-primary); }
.uhy-calculator__option input:focus-visible + span { outline: 3px solid var(--uhy-focus); outline-offset: 2px; }
.uhy-calculator__navigation { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.uhy-calculator__button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 24px; border: 1px solid transparent; border-radius: 0; font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: opacity .15s, transform .15s; }
.uhy-calculator__button:hover { transform: translateY(-1px); }
.uhy-calculator__button:focus-visible { outline: 3px solid var(--uhy-focus); outline-offset: 3px; }
.uhy-calculator .uhy-calculator__button--primary { border-color: var(--uhy-primary) !important; background-color: var(--uhy-primary) !important; color: var(--uhy-primary-contrast) !important; }
.uhy-calculator .uhy-calculator__button--primary:hover, .uhy-calculator .uhy-calculator__button--primary:focus { border-color: var(--uhy-primary-hover) !important; background-color: var(--uhy-primary-hover) !important; color: var(--uhy-primary-hover-contrast) !important; }
.uhy-calculator .uhy-calculator__button--secondary { border-color: var(--uhy-border) !important; background: transparent !important; color: var(--uhy-text) !important; }
.uhy-calculator__button:disabled { opacity: .55; cursor: wait; }
.uhy-calculator__error { color: #a12626; font-weight: 600; }
.uhy-calculator__result-error { color: #a12626; font-weight: 600; }
.uhy-calculator__configuration-warning { margin-top: 28px; padding: 14px; border-left: 4px solid #dba617; background: #fff8df; color: #614b00; }
.uhy-calculator__result-hero { margin-bottom: clamp(26px, 5vw, 46px); padding: clamp(22px, 4vw, 38px); border: 1px solid var(--uhy-border); border-radius: 0; background: color-mix(in srgb, var(--uhy-surface) 92%, var(--uhy-primary)); text-align: center; }
.uhy-calculator__result-hero .uhy-calculator__gauge-label { margin: 0 0 18px; color: var(--uhy-text); }
.uhy-calculator__gauge { position: relative; width: min(100%, 440px); margin-inline: auto; }
.uhy-calculator__gauge-svg { display: block; width: 100%; height: auto; overflow: visible; }
.uhy-calculator__gauge-track, .uhy-calculator__gauge-segment { fill: none; stroke-width: 16; }
.uhy-calculator__gauge-track { stroke: color-mix(in srgb, var(--uhy-text) 10%, transparent); }
.uhy-calculator__gauge-segment { stroke-linecap: butt; }
.uhy-calculator__gauge-needle { transform: rotate(-90deg); transform-box: view-box; transform-origin: 100px 100px; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.uhy-calculator__gauge-needle line { stroke: var(--uhy-text); stroke-linecap: round; stroke-width: 3; }
.uhy-calculator__gauge-needle circle { fill: var(--uhy-text); }
.uhy-calculator__gauge-readout { position: absolute; right: 0; bottom: -10px; left: 0; display: grid; justify-items: center; line-height: 1.1; pointer-events: none; }
.uhy-calculator__gauge-percent { display: none; }
.uhy-calculator__gauge-points { margin: 0; color: var(--uhy-text); font-size: 1em; font-weight: 700; }
.uhy-calculator__gauge-label { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 700; }
.uhy-calculator__result-card { padding-inline: clamp(0px, 2vw, 14px); }
.uhy-calculator__result-card h3 { margin: 0 0 16px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.uhy-calculator__result-card h3, .uhy-calculator__button { overflow-wrap: anywhere; }
.uhy-calculator__result-card .uhy-calculator__button { margin-top: 14px; }
.uhy-calculator__capture { margin-top: clamp(42px, 6vw, 64px); padding: clamp(24px, 4vw, 40px); border: 1px solid color-mix(in srgb, var(--uhy-primary) 26%, var(--uhy-border)); border-radius: 0; background: color-mix(in srgb, var(--uhy-surface) 94%, var(--uhy-primary)); }
.uhy-calculator__capture h3 { margin: 0 0 10px; }
.uhy-calculator__capture > p { max-width: 65ch; margin: 0 0 26px; }
.uhy-calculator__field { margin-bottom: 18px; }
.uhy-calculator__field label { display: grid; gap: 7px; font-weight: 600; }
.uhy-calculator__field input { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid var(--uhy-border); border-radius: 0; background: #fff; color: var(--uhy-text); font: inherit; }
.uhy-calculator__field input:focus { border-color: var(--uhy-primary); outline: 2px solid var(--uhy-focus); }
.uhy-calculator__field-help { display: block; margin-top: 6px; color: var(--uhy-muted); font-size: .8em; }
.uhy-calculator__consent { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0; font-size: .9em; }
.uhy-calculator__consent + .uhy-calculator__consent { margin-top: 12px; }
.uhy-calculator__consent input { margin-top: 4px; accent-color: var(--uhy-primary); }
.uhy-calculator__consent strong { color: #a12626; }
.uhy-calculator__privacy { margin: 18px 0 20px; color: var(--uhy-muted); font-size: .78em; }
.uhy-calculator__capture-status { min-height: 1.5em; font-weight: 600; }
.uhy-calculator__capture.is-sent > :not(.uhy-calculator__capture-status) { display: none; }
.uhy-calculator__restart { margin-top: 25px; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--uhy-muted); font: inherit; cursor: pointer; }
.uhy-calculator__honeypot { position: absolute !important; left: -9999px !important; }
@media (max-width: 600px) {
	.uhy-calculator { padding: 22px 18px; }
	.uhy-calculator__navigation { flex-wrap: wrap-reverse; }
	.uhy-calculator__button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.uhy-calculator *, .uhy-calculator *::before, .uhy-calculator *::after { scroll-behavior: auto !important; transition: none !important; }
}
