.yeg-calc-wrap {
	font-family: 'Lato', Helvetica, Arial, sans-serif;
	color: #0a0a0a;
	-webkit-font-smoothing: antialiased;
	background: transparent;
}

.yeg-calc-wrap * {
	box-sizing: border-box;
}

.yeg-calc-wrap a {
	color: #315ae7;
	text-decoration: none;
}

.yeg-calc-wrap a:hover {
	color: #0a0a0a;
	text-decoration: underline;
}

.yeg-calc-inner {
	max-width: 1160px;
	margin: 0 auto;
}

/* layout */
.yeg-calc-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	align-items: flex-start;
}

.yeg-calc-main {
	flex: 1 1 460px;
	min-width: 0;
}

.yeg-calc-sections {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.yeg-q-label {
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #0a0a0a;
	margin-bottom: 14px;
}

.yeg-q-label-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 18px;
}

.yeg-q-value {
	font-family: 'JetBrains Mono', monospace;
	font-size: 15px;
	font-weight: 500;
	color: #315ae7;
}

/* option cards */
.yeg-opt-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.yeg-opt-grid.yeg-cols-2 {
	grid-template-columns: repeat(2, 1fr);
}

.yeg-opt-grid.yeg-cols-3 {
	grid-template-columns: repeat(3, 1fr);
}

.yeg-opt-card {
	position: relative;
	text-align: left;
	background: #fff;
	border: 1.5px solid #e2e2de;
	border-radius: 10px;
	padding: 16px;
	cursor: pointer;
	font-family: inherit;
	display: block;
	width: 100%;
	color: #0a0a0a !important;
}

.yeg-opt-card:hover,
.yeg-opt-card.is-selected {
	border-color: #315ae7;
	background: rgba(49, 90, 231, 0.05);
}

.yeg-opt-title {
	font-family: 'Poppins', sans-serif;
	display: block;
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 4px;
	color: #0a0a0a !important;
}

.yeg-opt-desc {
	display: block;
	font-size: 13px;
	line-height: 1.4;
	color: #6b6b68 !important;
}

.yeg-opt-card.yeg-opt-compact {
	padding: 14px 16px;
}

.yeg-opt-card.yeg-opt-compact .yeg-opt-title {
	margin-bottom: 0;
}

/* row-style option card (label + description on left, badge on right) */
.yeg-opt-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.yeg-opt-row .yeg-opt-title {
	margin-bottom: 3px;
}

.yeg-opt-row-badge {
	font-family: 'JetBrains Mono', monospace;
	font-size: 13px;
	color: #6b6b68 !important;
	flex-shrink: 0;
}

/* pills */
.yeg-pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.yeg-pill {
	position: relative;
	background: #fff;
	border: 1.5px solid #e2e2de;
	border-radius: 999px;
	padding: 9px 16px;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	color: #0a0a0a !important;
}

.yeg-pill:hover,
.yeg-pill.is-selected {
	border-color: #315ae7;
	background: rgba(49, 90, 231, 0.05);
	color: #0a0a0a !important;
}

/* slider */
.yeg-slider {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: block;
	width: 100%;
	height: 4px !important;
	padding: 0 !important;
	background: #e2e2de !important;
	background-image: none !important;
	border-radius: 2px !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	margin: 10px 0;
	vertical-align: middle;
	line-height: 1;
	accent-color: #315ae7;
}

.yeg-slider::-webkit-slider-runnable-track {
	-webkit-appearance: none !important;
	width: 100%;
	height: 4px !important;
	background: #e2e2de !important;
	background-image: none !important;
	border-radius: 2px !important;
	box-shadow: none !important;
	border: none !important;
}

.yeg-slider::-moz-range-track {
	width: 100%;
	height: 4px !important;
	background: #e2e2de !important;
	background-image: none !important;
	border-radius: 2px !important;
	box-shadow: none !important;
	border: none !important;
}

.yeg-slider::-moz-range-progress {
	height: 4px !important;
	background: #e2e2de !important;
	box-shadow: none !important;
	border: none !important;
}

.yeg-slider::-webkit-slider-thumb {
	-webkit-appearance: none !important;
	appearance: none !important;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #315ae7 !important;
	cursor: pointer;
	box-shadow: none !important;
	border: none !important;
	margin-top: -6px;
}

.yeg-slider::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #315ae7 !important;
	cursor: pointer;
	box-shadow: none !important;
	border: none !important;
}

.yeg-slider-scale {
	display: flex;
	justify-content: space-between;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: #9a9a96;
	margin-top: 8px;
}

/* sticky results panel */
.yeg-calc-side {
	position: sticky;
	top: 32px;
	flex: 1 1 340px;
	min-width: 0;
	max-width: 396px;
}

.yeg-result-card {
	background: #fff;
	border: 1px solid #e2e2de;
	border-radius: 14px;
	overflow: hidden;
}

.yeg-result-headline {
	padding: 28px 26px 26px;
	border-bottom: 1px solid #e2e2de;
}

.yeg-result-label {
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b6b68;
	margin-bottom: 16px;
}

.yeg-result-value {
	font-family: 'JetBrains Mono', monospace;
	font-size: 34px;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: #0a0a0a;
}

.yeg-result-note {
	font-size: 13px;
	color: #6b6b68;
	margin-top: 8px;
}

.yeg-result-duo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-bottom: 1px solid #e2e2de;
}

.yeg-result-duo-cell {
	padding: 20px 26px;
}

.yeg-result-duo-cell.has-border {
	border-right: 1px solid #e2e2de;
}

.yeg-result-duo-label {
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b6b68;
	margin-bottom: 8px;
}

.yeg-result-duo-value {
	font-family: 'JetBrains Mono', monospace;
	font-size: 17px;
	font-weight: 500;
}

.yeg-result-total {
	padding: 20px 26px;
	border-bottom: 1px solid #e2e2de;
	background: #fafaf9;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

.yeg-result-total-label {
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 600;
}

.yeg-result-total-value {
	font-family: 'JetBrains Mono', monospace;
	font-size: 15px;
	font-weight: 500;
	color: #315ae7;
}

.yeg-breakdown {
	padding: 22px 26px;
	border-bottom: 1px solid #e2e2de;
}

.yeg-breakdown-label {
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b6b68;
	margin-bottom: 14px;
}

.yeg-breakdown-lines {
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.yeg-breakdown-line {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

.yeg-breakdown-line-label {
	font-size: 14px;
	color: #0a0a0a;
}

.yeg-breakdown-line-label.is-strong {
	font-weight: 600;
}

.yeg-breakdown-line-value {
	font-family: 'JetBrains Mono', monospace;
	font-size: 13px;
	color: #6b6b68;
	text-align: right;
	flex-shrink: 0;
	white-space: nowrap;
}

.yeg-breakdown-line-value.is-strong {
	color: #0a0a0a;
	font-weight: 500;
}

.yeg-result-cta-wrap {
	padding: 22px 26px 26px;
}

.yeg-result-cta {
	display: block;
	width: 100%;
	text-align: center;
	background: #315ae7;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	padding: 14px;
	border-radius: 10px;
	border: none;
	cursor: pointer;
	font-family: inherit;
}

.yeg-result-cta:hover {
	background: #0a0a0a;
	color: #fff;
	text-decoration: none;
}

.yeg-result-disclaimer {
	font-size: 12px;
	line-height: 1.55;
	color: #9a9a96;
	margin: 14px 0 0;
}

.yeg-also-look {
	margin-top: 18px;
	font-size: 13px;
	color: #6b6b68;
	line-height: 1.6;
}

/* contact form */
.yeg-contact-card {
	margin-top: 18px;
	background: #fff;
	border: 1px solid #e2e2de;
	border-radius: 14px;
	padding: 22px 26px 26px;
	display: none;
}

.yeg-contact-card.is-visible {
	display: block;
}

.yeg-contact-title {
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 4px;
}

.yeg-contact-intro {
	font-size: 13px;
	color: #6b6b68;
	margin: 0 0 16px;
}

.yeg-contact-field {
	width: 100%;
	padding: 12px 14px;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	border: 1px solid #e2e2de;
	border-radius: 8px;
	margin-bottom: 10px;
}

.yeg-contact-field:focus {
	outline: none;
	border-color: #315ae7;
}

textarea.yeg-contact-field {
	min-height: 72px;
	resize: vertical;
}

.yeg-contact-submit {
	width: 100%;
	padding: 13px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: #315ae7;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	margin-top: 4px;
}

.yeg-contact-submit:hover {
	background: #0a0a0a;
}

.yeg-contact-status {
	font-size: 13px;
	color: #6b6b68;
	margin-top: 8px;
}

.yeg-contact-thanks {
	text-align: center;
	font-size: 15px;
	color: #0a0a0a;
	margin: 0;
	padding: 6px 0;
}

@media (max-width: 640px) {
	.yeg-result-value {
		font-size: 28px;
	}
	.yeg-opt-grid,
	.yeg-opt-grid.yeg-cols-3 {
		grid-template-columns: 1fr 1fr;
	}
}
