.exlmt-stc {
	--exlmt-red: #c51f26;
	--exlmt-dark: #18202d;
	--exlmt-muted: #687386;
	--exlmt-border: #dfe3e8;
	--exlmt-light: #f7f8fa;

	width: 100%;
	max-width: 1150px;

	margin: 30px auto;

	font-family: inherit;

	color: var(--exlmt-dark);

	box-sizing: border-box;
}


.exlmt-stc *,
.exlmt-stc *::before,
.exlmt-stc *::after {
	box-sizing: border-box;
}


.exlmt-stc-wrapper {
	width: 100%;
}


.exlmt-stc-header {
	text-align: center;

	margin-bottom: 25px;
}


.exlmt-stc-label {
	color: var(--exlmt-red);

	font-size: 13px;

	font-weight: 700;

	text-transform: uppercase;

	letter-spacing: .06em;

	margin-bottom: 8px;
}


.exlmt-stc-header h2 {
	margin: 0 0 10px;

	font-size: 36px;

	line-height: 1.15;
}


.exlmt-stc-header p {
	margin: 0;

	color: var(--exlmt-muted);

	font-size: 16px;

	line-height: 1.6;
}


.exlmt-stc-form {
	display: grid;

	grid-template-columns: 1fr 1fr auto;

	gap: 15px;

	align-items: end;

	padding: 22px;

	border: 1px solid var(--exlmt-border);

	border-radius: 12px;

	background: #fff;

	box-shadow: 0 8px 25px rgba(0,0,0,.05);
}


.exlmt-stc-field label {
	display: block;

	font-size: 13px;

	font-weight: 700;

	margin-bottom: 7px;
}


.exlmt-stc-field select,
.exlmt-stc-field input {
	display: block;

	width: 100%;

	height: 48px;

	border: 1px solid #cdd3db;

	border-radius: 7px;

	padding: 0 13px;

	background: #fff;

	color: var(--exlmt-dark);

	font: inherit;
}


.exlmt-stc-field select:focus,
.exlmt-stc-field input:focus {
	outline: none;

	border-color: var(--exlmt-red);

	box-shadow: 0 0 0 2px rgba(197,31,38,.12);
}


.exlmt-stc-calculate {
	height: 48px;

	border: 0;

	border-radius: 7px;

	padding: 0 22px;

	background: var(--exlmt-red);

	color: #fff;

	font-weight: 700;

	cursor: pointer;

	font: inherit;
}


.exlmt-stc-calculate:hover {
	opacity: .92;
}


.exlmt-stc-quick {
	display: flex;

	align-items: center;

	flex-wrap: wrap;

	gap: 7px;

	margin-top: 12px;

	font-size: 13px;

	color: var(--exlmt-muted);
}


.exlmt-stc-quick button {
	border: 1px solid var(--exlmt-border);

	border-radius: 50px;

	background: #fff;

	padding: 6px 12px;

	cursor: pointer;

	font: inherit;

	font-size: 12px;
}


.exlmt-stc-result {
	margin-top: 25px;

	border: 1px solid var(--exlmt-border);

	border-radius: 12px;

	padding: 22px;

	background: #fff;
}


.exlmt-stc-result-top {
	display: flex;

	justify-content: space-between;

	align-items: center;

	gap: 15px;

	margin-bottom: 18px;
}


.exlmt-stc-result-label {
	font-size: 12px;

	color: var(--exlmt-muted);

	text-transform: uppercase;

	letter-spacing: .05em;
}


.exlmt-stc-result-title {
	margin: 4px 0 0;

	font-size: 23px;
}


.exlmt-stc-print {
	height: 44px;

	padding: 0 18px;

	border: 1px solid var(--exlmt-red);

	border-radius: 7px;

	background: #fff;

	color: var(--exlmt-red);

	font-weight: 700;

	cursor: pointer;

	font: inherit;
}


.exlmt-stc-summary {
	display: grid;

	grid-template-columns: repeat(3, 1fr);

	border: 1px solid var(--exlmt-border);

	border-radius: 9px;

	overflow: hidden;
}


.exlmt-stc-card {
	padding: 16px;

	border-right: 1px solid var(--exlmt-border);

	border-bottom: 1px solid var(--exlmt-border);
}


.exlmt-stc-card:nth-child(3n) {
	border-right: 0;
}


.exlmt-stc-card:nth-last-child(-n+3) {
	border-bottom: 0;
}


.exlmt-stc-card span {
	display: block;

	font-size: 12px;

	color: var(--exlmt-muted);

	margin-bottom: 7px;
}


.exlmt-stc-card strong {
	display: block;

	font-size: 19px;

	line-height: 1.3;
}


.exlmt-stc-breakdown {
	margin-top: 20px;

	border: 1px solid var(--exlmt-border);

	border-radius: 9px;

	overflow: hidden;
}


.exlmt-stc-breakdown h4 {
	margin: 0;

	padding: 14px 15px;

	background: var(--exlmt-light);

	font-size: 15px;
}


.exlmt-stc-breakdown > div {
	display: flex;

	justify-content: space-between;

	gap: 20px;

	padding: 11px 15px;

	border-top: 1px solid var(--exlmt-border);

	font-size: 14px;
}


.exlmt-stc-breakdown > div strong {
	text-align: right;
}


.exlmt-stc-breakdown .exlmt-stc-total {
	font-weight: 800;

	font-size: 16px;
}


.exlmt-stc-disclaimer {
	margin-top: 15px;

	color: var(--exlmt-muted);

	font-size: 12px;

	line-height: 1.65;
}


/*
 * Print-only statement.
 */
.exlmt-stc-print-area {
	display: none;
}


/*
 * Mobile.
 */
@media (max-width: 800px) {

	.exlmt-stc-header h2 {
		font-size: 30px;
	}


	.exlmt-stc-form {
		grid-template-columns: 1fr;
	}


	.exlmt-stc-calculate {
		width: 100%;
	}


	.exlmt-stc-summary {
		grid-template-columns: 1fr 1fr;
	}


	.exlmt-stc-card:nth-child(3n) {
		border-right: 1px solid var(--exlmt-border);
	}


	.exlmt-stc-card:nth-child(2n) {
		border-right: 0;
	}


	.exlmt-stc-card:nth-last-child(-n+3) {
		border-bottom: 1px solid var(--exlmt-border);
	}


	.exlmt-stc-card:nth-last-child(-n+2) {
		border-bottom: 0;
	}


	.exlmt-stc-result-top {
		align-items: stretch;

		flex-direction: column;
	}


	.exlmt-stc-print {
		width: 100%;
	}

}


/*
 * Browser print.
 */
@media print {

	body * {
		visibility: hidden !important;
	}


	.exlmt-stc,
	.exlmt-stc-print-area,
	.exlmt-stc-print-area * {
		visibility: visible !important;
	}


	.exlmt-stc {
		position: absolute;

		left: 0;

		top: 0;

		width: 100%;

		max-width: none;

		margin: 0;

		padding: 0;
	}


	.exlmt-stc-header,
	.exlmt-stc-form,
	.exlmt-stc-quick,
	.exlmt-stc-result-top,
	.exlmt-stc-summary,
	.exlmt-stc-breakdown,
	.exlmt-stc-disclaimer {
		display: none !important;
	}


	.exlmt-stc-result {
		display: block !important;

		border: 0 !important;

		padding: 0 !important;

		margin: 0 !important;
	}


	.exlmt-stc-print-area {
		display: block !important;

		position: relative;

		overflow: hidden;

		min-height: 700px;

		padding: 35px;

		border: 1px solid #222;

		background: #fff;
	}


	.exlmt-stc-watermark {
		position: absolute;

		top: 50%;

		left: 50%;

		transform:
			translate(-50%, -50%)
			rotate(-30deg);

		font-size: 75px;

		font-weight: 800;

		letter-spacing: .12em;

		opacity: .06;

		white-space: nowrap;
	}


	.exlmt-stc-print-heading {
		position: relative;

		display: flex;

		justify-content: space-between;

		align-items: center;

		padding-bottom: 15px;

		border-bottom: 2px solid #222;

		font-size: 18px;

		font-weight: 700;
	}


	.exlmt-stc-print-heading strong {
		font-size: 27px;
	}


	.exlmt-stc-print-details {
		position: relative;

		display: grid;

		grid-template-columns: 1fr 1fr;

		gap: 18px;

		margin: 30px 0;
	}


	.exlmt-stc-print-details span {
		display: block;

		font-size: 11px;

		color: #555;

		margin-bottom: 5px;
	}


	.exlmt-stc-print-details strong {
		font-size: 16px;
	}


	.exlmt-stc-print-area table {
		position: relative;

		width: 100%;

		border-collapse: collapse;

		margin-top: 15px;
	}


	.exlmt-stc-print-area td {
		padding: 14px;

		border: 1px solid #ccc;
	}


	.exlmt-stc-print-area td:last-child {
		text-align: right;

		font-weight: 700;
	}


	.exlmt-stc-print-footer {
		position: relative;

		margin-top: 45px;

		padding-top: 12px;

		border-top: 1px solid #ccc;

		font-size: 11px;

		color: #555;
	}


	@page {
		size: A4;

		margin: 15mm;
	}

}