.tis-tool {
	--tis-blue: #1268e8;
	--tis-blue-dark: #0b4fbe;
	--tis-ink: #14243d;
	--tis-muted: #64748b;
	--tis-line: #dbe5f1;
	--tis-soft: #f5f8fc;
	--tis-green: #0f9f74;
	color: var(--tis-ink);
	font-family: inherit;
	margin: 24px 0 32px;
}

.tis-tool *,
.tis-tool *::before,
.tis-tool *::after {
	box-sizing: border-box;
}

.tis-privacy {
	align-items: center;
	background: #ecfdf7;
	border: 1px solid #bcebdc;
	border-radius: 14px;
	color: #176c54;
	display: flex;
	font-size: 14px;
	gap: 10px;
	margin-bottom: 18px;
	padding: 13px 16px;
}

.tis-privacy span {
	color: var(--tis-green);
	font-size: 10px;
}

.tis-layout {
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
}

.tis-card,
.tis-comparison {
	background: #fff;
	border: 1px solid var(--tis-line);
	border-radius: 20px;
	box-shadow: 0 12px 34px rgba(20, 36, 61, .06);
}

.tis-card {
	padding: 24px;
}

.tis-card-head,
.tis-comparison-head,
.tis-card-head > div,
.tis-comparison-head > div {
	align-items: center;
	display: flex;
}

.tis-card-head,
.tis-comparison-head {
	justify-content: space-between;
	margin-bottom: 22px;
}

.tis-card-head > div,
.tis-comparison-head > div {
	gap: 10px;
}

.tis-card h3,
.tis-comparison h3 {
	font-size: 20px;
	line-height: 1.3;
	margin: 0;
}

.tis-step {
	align-items: center;
	background: #e8f1ff;
	border-radius: 9px;
	color: var(--tis-blue);
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	height: 30px;
	justify-content: center;
	width: 30px;
}

.tis-reset {
	background: #fff5f5;
	border: 1px solid #f6caca;
	border-radius: 10px;
	color: #bf3030;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	padding: 8px 12px;
}

.tis-reset:hover {
	background: #ffeaea;
}

.tis-field {
	margin-top: 18px;
}

.tis-field > label,
.tis-efficiency label {
	display: block;
	font-size: 14px;
	font-weight: 750;
	margin-bottom: 8px;
}

.tis-input-group {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 110px;
}

.tis-input-group input,
.tis-input-group select {
	appearance: none;
	background: #fff;
	border: 1px solid #cbd8e8;
	color: var(--tis-ink);
	font: inherit;
	font-size: 18px;
	height: 52px;
	margin: 0;
	outline: none;
	padding: 0 15px;
	width: 100%;
}

.tis-input-group input {
	border-radius: 12px 0 0 12px;
}

.tis-input-group select {
	background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);
	background-position: calc(100% - 17px) 22px, calc(100% - 12px) 22px;
	background-repeat: no-repeat;
	background-size: 5px 5px;
	border-left: 0;
	border-radius: 0 12px 12px 0;
	font-size: 15px;
	font-weight: 700;
	padding-right: 31px;
}

.tis-input-group input:focus,
.tis-input-group select:focus {
	border-color: var(--tis-blue);
	box-shadow: 0 0 0 3px rgba(18, 104, 232, .12);
	position: relative;
	z-index: 1;
}

.tis-field small,
.tis-efficiency small {
	color: var(--tis-muted);
	display: block;
	font-size: 12.5px;
	line-height: 1.5;
	margin-top: 7px;
}

.tis-presets {
	border-top: 1px solid #edf1f6;
	margin-top: 20px;
	padding-top: 18px;
}

.tis-presets > span {
	display: block;
	font-size: 13px;
	font-weight: 750;
	margin-bottom: 9px;
}

.tis-presets > div {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tis-presets button {
	background: #f4f8fd;
	border: 1px solid #d5e1ef;
	border-radius: 9px;
	color: #304764;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	padding: 8px 10px;
}

.tis-presets button:hover {
	background: #e8f1ff;
	border-color: #9fc2f3;
	color: var(--tis-blue-dark);
}

.tis-efficiency {
	background: var(--tis-soft);
	border-radius: 14px;
	margin-top: 18px;
	padding: 16px;
}

.tis-efficiency > div {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.tis-efficiency label {
	margin: 0;
}

.tis-efficiency strong {
	color: var(--tis-blue);
}

.tis-efficiency input[type="range"] {
	accent-color: var(--tis-blue);
	cursor: ew-resize;
	margin: 12px 0 0;
	width: 100%;
}

.tis-result-card {
	background: linear-gradient(160deg, #fff 45%, #f3f8ff 100%);
}

.tis-result {
	align-items: center;
	background: linear-gradient(135deg, var(--tis-blue), #0755bd);
	border-radius: 18px;
	color: #fff;
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	padding: 21px;
}

.tis-result-icon {
	align-items: center;
	background: rgba(255, 255, 255, .16);
	border-radius: 15px;
	display: flex;
	font-size: 30px;
	grid-row: 1 / 3;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.tis-result strong {
	font-size: clamp(28px, 4vw, 42px);
	letter-spacing: -.03em;
	line-height: 1.05;
}

.tis-result p {
	color: rgba(255, 255, 255, .8);
	font-size: 13px;
	margin: 7px 0 0;
}

.tis-details {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 14px;
}

.tis-details > div {
	background: #fff;
	border: 1px solid #e3eaf3;
	border-radius: 12px;
	padding: 12px;
}

.tis-details span,
.tis-details strong {
	display: block;
}

.tis-details span {
	color: var(--tis-muted);
	font-size: 11px;
	margin-bottom: 5px;
}

.tis-details strong {
	font-size: 14px;
}

.tis-note {
	align-items: flex-start;
	background: #fff9e8;
	border: 1px solid #f1dfab;
	border-radius: 12px;
	display: flex;
	gap: 10px;
	margin-top: 14px;
	padding: 12px;
}

.tis-note > span {
	align-items: center;
	background: #f7c948;
	border-radius: 50%;
	color: #664b00;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 800;
	height: 20px;
	justify-content: center;
	width: 20px;
}

.tis-note p {
	color: #715b20;
	font-size: 12px;
	line-height: 1.5;
	margin: 0;
}

.tis-copy {
	background: #fff;
	border: 1px solid #b8cce6;
	border-radius: 12px;
	color: var(--tis-blue-dark);
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 750;
	margin-top: 15px;
	padding: 11px 16px;
	width: 100%;
}

.tis-copy:hover {
	background: #edf5ff;
	border-color: #8eb7ec;
}

.tis-status {
	color: var(--tis-green);
	font-size: 12px;
	font-weight: 700;
	min-height: 18px;
	margin: 7px 0 -6px;
	text-align: center;
}

.tis-comparison {
	margin-top: 18px;
	overflow: hidden;
}

.tis-comparison-head {
	margin: 0;
	padding: 20px 24px;
}

.tis-comparison-head p {
	color: var(--tis-muted);
	font-size: 13px;
	margin: 0;
}

.tis-table-wrap {
	overflow-x: auto;
}

.tis-comparison table {
	border-collapse: collapse;
	margin: 0;
	min-width: 560px;
	width: 100%;
}

.tis-comparison th,
.tis-comparison td {
	border: 0;
	border-top: 1px solid #e7edf5;
	font-size: 14px;
	padding: 13px 24px;
	text-align: left;
}

.tis-comparison thead th {
	background: #f6f9fd;
	color: var(--tis-muted);
	font-size: 11px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.tis-comparison tbody th {
	color: var(--tis-ink);
	font-weight: 750;
}

.tis-comparison tbody td {
	color: #52647a;
}

.tis-comparison tbody td strong {
	color: var(--tis-blue-dark);
}

.tis-tool.has-error .tis-result strong,
.tis-tool.has-error .tis-details strong {
	opacity: .6;
}

@media (max-width: 820px) {
	.tis-layout {
		grid-template-columns: 1fr;
	}

	.tis-comparison-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 9px;
	}
}

@media (max-width: 520px) {
	.tis-tool {
		margin-top: 16px;
	}

	.tis-card {
		border-radius: 16px;
		padding: 18px;
	}

	.tis-card h3,
	.tis-comparison h3 {
		font-size: 17px;
	}

	.tis-card-head {
		align-items: flex-start;
	}

	.tis-input-group {
		grid-template-columns: minmax(0, 1fr) 92px;
	}

	.tis-details {
		grid-template-columns: 1fr;
	}

	.tis-result {
		grid-template-columns: 45px minmax(0, 1fr);
		padding: 17px;
	}

	.tis-result-icon {
		border-radius: 12px;
		font-size: 24px;
		height: 39px;
		width: 39px;
	}

	.tis-comparison-head {
		padding: 18px;
	}

	.tis-comparison th,
	.tis-comparison td {
		padding-left: 18px;
		padding-right: 18px;
	}
}

