.tyc-calc {
	--tyc-navy: #012b5d;
	--tyc-blue: #0f4c81;
	--tyc-gold: #c7a56a;
	--tyc-ice: #f3f7fa;
	--tyc-line: #d8e1e8;
	font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--tyc-navy);
	background: #fff;
	border: 1px solid var(--tyc-line);
	border-radius: 18px;
	padding: clamp(24px, 4vw, 46px);
	box-shadow: 0 18px 50px rgba(1, 43, 93, .09);
}

.tyc-calc *,
.tyc-calc *::before,
.tyc-calc *::after {
	box-sizing: border-box;
}

.tyc-calc [hidden] {
	display: none !important;
}

.tyc-calc__intro {
	max-width: 720px;
	margin-bottom: 28px;
}

.tyc-calc__eyebrow {
	display: block;
	margin-bottom: 7px;
	color: var(--tyc-gold);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .15em;
}

.tyc-calc h3 {
	margin: 0 0 9px;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 500;
	line-height: 1.12;
	color: var(--tyc-navy);
}

.tyc-calc__intro p {
	margin: 0;
	color: #49627b;
	font-size: 16px;
	line-height: 1.6;
}

.tyc-calc__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.tyc-calc__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
}

.tyc-calc__field select,
.tyc-calc__field input {
	width: 100%;
	min-height: 50px;
	margin: 0;
	border: 1px solid #b8c8d6;
	border-radius: 9px;
	background: #fff;
	color: var(--tyc-navy);
	padding: 10px 13px;
	font: inherit;
	font-weight: 500;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
}

.tyc-calc__field select:focus,
.tyc-calc__field input:focus {
	border-color: var(--tyc-blue);
	box-shadow: 0 0 0 3px rgba(15, 76, 129, .14);
}

.tyc-calc__extras {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 18px;
	margin: 22px 0;
}

.tyc-calc__extra {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	min-height: 48px;
	margin: 0 !important;
	padding: 13px 15px !important;
	border: 1px solid var(--tyc-line) !important;
	border-radius: 9px !important;
	background: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.tyc-calc__extra input[type="checkbox"] {
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: 0 0 18px !important;
	accent-color: var(--tyc-navy);
}

.tyc-calc__extra span {
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.35;
}

.tyc-calc__extra small {
	display: block;
	margin: 3px 0 0;
	color: #60758a;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
}

.tyc-calc__message {
	margin: 18px 0 0;
	padding: 14px 16px;
	border-radius: 9px;
	background: var(--tyc-ice);
	color: #49627b;
	line-height: 1.5;
}

.tyc-calc__message.is-error {
	background: #fff2f0;
	color: #9b2c23;
}

.tyc-calc__result {
	margin-top: 22px;
	border-top: 1px solid var(--tyc-line);
	padding-top: 22px;
}

.tyc-calc__season {
	margin-bottom: 8px;
	color: #60758a;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.tyc-calc__season-explanation {
	margin: 0 0 5px;
	color: #334e68;
	font-size: 14px;
	line-height: 1.5;
}

.tyc-calc__breakdown {
	max-width: 100%;
	margin: 0 0 16px;
	padding: 0;
	background: transparent;
	color: #49627b;
	font-size: 14px;
	line-height: 1.45;
	white-space: normal;
	overflow-wrap: anywhere;
}

.tyc-calc__rows {
	display: grid;
	gap: 10px;
}

.tyc-calc__row {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 0 0 9px;
	border-bottom: 1px solid #edf1f4;
	color: #334e68;
}

.tyc-calc__row strong {
	white-space: nowrap;
	color: var(--tyc-navy);
}

.tyc-calc__row small {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	font-weight: 500;
	color: #60758a;
}

.tyc-calc__row--display-only {
	color: #334e68;
}

.tyc-calc__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 18px;
	min-height: 92px;
	padding: 20px 22px !important;
	border-radius: 11px;
	background: var(--tyc-navy);
	color: #fff;
}

.tyc-calc__total span {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
}

.tyc-calc__total small {
	display: block;
	margin: 5px 0 0 !important;
	padding: 0 !important;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
	opacity: .8;
}

.tyc-calc__total strong {
	margin: 0 !important;
	padding: 0 !important;
	color: #fff;
	font-size: clamp(27px, 4vw, 38px);
	line-height: 1.05;
	white-space: nowrap;
}

.tyc-calc__fineprint {
	margin: 14px 0 0;
	color: #60758a;
	font-size: 13px;
	line-height: 1.55;
}

.tyc-calc__footer {
	margin: 10px 0 0;
	color: #60758a;
	font-size: 12px;
	line-height: 1.55;
}

.tyc-calc-error {
	padding: 12px;
	border: 1px solid #b32d2e;
	background: #fcf0f1;
	color: #8a2424;
}

@media (max-width: 680px) {
	.tyc-calc__grid,
	.tyc-calc__extras {
		grid-template-columns: 1fr;
	}

	.tyc-calc__total {
		align-items: flex-start;
		flex-direction: column;
		padding: 18px !important;
	}

	.tyc-calc__row {
		gap: 14px;
	}
}
