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

.mkk-calculator {
	--mkk-accent: #f06423;
	--mkk-ink: #17211b;
	--mkk-muted: #667269;
	--mkk-line: #dfe5e1;
	width: 100%;
	max-width: 820px;
	margin: 32px auto;
	overflow: hidden;
	border: 1px solid var(--mkk-line);
	border-radius: 18px;
	background: #fff;
	color: var(--mkk-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.5;
	box-shadow: 0 18px 50px rgba(24, 38, 29, 0.09);
}

.mkk-header {
	display: grid;
	grid-template-columns: minmax(150px, 200px) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
	padding: 30px 38px;
	background:
		radial-gradient(circle at 12% 10%, rgba(48, 105, 190, 0.2), transparent 34%),
		var(--mkk-ink);
	color: #fff;
}

.mkk-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 92px;
	padding: 16px;
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mkk-brand img {
	display: block;
	width: 100%;
	max-width: 200px;
	height: auto;
}

.mkk-kicker {
	color: #70b94a;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.mkk-header h2 {
	margin: 5px 0 7px;
	color: #fff;
	font-size: clamp(28px, 5vw, 40px);
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.mkk-header-copy {
	min-width: 0;
}

.mkk-header p {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 16px;
}

.mkk-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	padding: 32px 38px;
}

.mkk-field > span:first-child {
	display: block;
	margin-bottom: 7px;
	color: var(--mkk-ink);
	font-size: 14px;
	font-weight: 750;
}

.mkk-calculator select,
.mkk-calculator input {
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 11px 14px;
	border: 1px solid #cbd4ce;
	border-radius: 10px;
	background: #fff;
	color: var(--mkk-ink);
	font: inherit;
	font-size: 16px;
	outline: none;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.mkk-calculator select:focus,
.mkk-calculator input:focus {
	border-color: var(--mkk-accent);
	box-shadow: 0 0 0 3px rgba(240, 100, 35, 0.16);
}

.mkk-hours-input {
	position: relative;
	display: block;
}

.mkk-hours-input input {
	padding-right: 58px;
}

.mkk-hours-input > small {
	position: absolute;
	top: 50%;
	right: 15px;
	color: var(--mkk-muted);
	font-size: 14px;
	font-weight: 700;
	transform: translateY(-50%);
	pointer-events: none;
}

.mkk-field .mkk-hint {
	display: block;
	margin-top: 6px;
	color: var(--mkk-muted);
	font-size: 12px;
}

.mkk-result {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 0.85fr);
	align-items: stretch;
	margin: 0 38px;
	overflow: hidden;
	border: 1px solid var(--mkk-line);
	border-radius: 13px;
}

.mkk-result-details {
	display: grid;
	align-content: center;
	gap: 16px;
	padding: 24px 26px;
	background: #f5f7f5;
}

.mkk-result-details > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
}

.mkk-travel-row[hidden] {
	display: none;
}

.mkk-result-details span,
.mkk-total span {
	color: var(--mkk-muted);
	font-size: 13px;
}

.mkk-result-details strong {
	font-size: 16px;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.mkk-total {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 24px 27px;
	background: var(--mkk-accent);
	color: #fff;
}

.mkk-total span {
	color: rgba(255, 255, 255, 0.8);
}

.mkk-total strong {
	color: #fff;
	font-size: clamp(30px, 5vw, 39px);
	line-height: 1.2;
	letter-spacing: -0.025em;
	font-variant-numeric: tabular-nums;
}

.mkk-note {
	margin: 0;
	padding: 18px 38px 24px;
	color: var(--mkk-muted);
	font-size: 12px;
	text-align: left;
}

.mkk-note strong {
	display: block;
	margin-bottom: 5px;
	color: var(--mkk-ink);
	font-size: 13px;
}

.mkk-note p {
	margin: 3px 0;
}

.mkk-note .mkk-whatsapp-note {
	margin-top: 9px;
}

.mkk-note a {
	color: var(--mkk-ink);
	font-weight: 750;
	text-decoration: underline;
	text-decoration-color: var(--mkk-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
}

.mkk-note a:hover,
.mkk-note a:focus {
	color: var(--mkk-accent);
}

.mkk-note small {
	display: block;
	margin-top: 7px;
	font-size: 11px;
}

@media (max-width: 640px) {
	.mkk-calculator {
		margin: 18px 0;
		border-right: 0;
		border-left: 0;
		border-radius: 0;
	}

	.mkk-header,
	.mkk-fields,
	.mkk-note {
		padding-right: 20px;
		padding-left: 20px;
	}

	.mkk-fields,
	.mkk-result,
	.mkk-header {
		grid-template-columns: 1fr;
	}

	.mkk-header {
		gap: 22px;
	}

	.mkk-brand {
		width: 168px;
		min-height: 76px;
		padding: 12px;
	}

	.mkk-result {
		margin-right: 20px;
		margin-left: 20px;
	}

	.mkk-result-details > div {
		align-items: flex-start;
		flex-direction: column;
		gap: 2px;
	}

	.mkk-result-details strong {
		text-align: left;
	}
}
