.tcl-question-type-glyph {
	display: inline-grid;
	box-sizing: border-box;
	width: 24px;
	height: 24px;
	padding: 5px;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(3, 1fr);
	gap: 2px;
	border-radius: 6px;
	background: #0f766e;
	vertical-align: middle;
}

.tcl-question-type-glyph i {
	display: block;
	min-width: 0;
	border: 1px solid #ccfbf1;
	border-radius: 1px;
}

.tcl-question-type-glyph i:nth-child(4),
.tcl-question-type-glyph i:nth-child(6) {
	background: #fff;
}

.tcl-matrix,
.tcl-review-matrix {
	--tcl-border: #e5e7eb;
	--tcl-text: #202124;
	--tcl-muted: #667085;
	--tcl-primary: #3e64de;
	margin: 28px 0;
	color: var(--tcl-text);
}

.tcl-matrix-scroll,
.tcl-review-matrix {
	overflow-x: auto;
}

.tcl-matrix table,
.tcl-review-matrix table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: transparent;
}

.tcl-matrix th,
.tcl-matrix td,
.tcl-review-matrix th,
.tcl-review-matrix td {
	padding: 14px 12px;
	border: 0;
	border-bottom: 1px solid var(--tcl-border);
	vertical-align: middle;
	text-align: left;
}

.tcl-matrix thead th,
.tcl-review-matrix thead th {
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

.tcl-matrix thead th:first-child,
.tcl-review-matrix thead th:first-child {
	width: 70%;
}

.tcl-matrix thead th:not(:first-child),
.tcl-matrix tbody td {
	width: 15%;
	text-align: center;
}

.tcl-matrix tbody th,
.tcl-review-matrix tbody th {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
}

.tcl-statement-number {
	font-weight: 700;
}

.tcl-choice {
	width: 19px !important;
	height: 19px !important;
	margin: 0 !important;
	border: 1.5px solid #98a2b3 !important;
	border-radius: 3px !important;
	appearance: none;
	-webkit-appearance: none;
	background: #fff;
	cursor: pointer;
	vertical-align: middle;
}

.tcl-choice:checked {
	border-color: var(--tcl-primary) !important;
	background-color: var(--tcl-primary) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m3.5 8 3 3 6-7'/%3E%3C/svg%3E") !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: 15px !important;
}

.tcl-choice:focus-visible {
	outline: 3px solid rgba(62, 100, 222, .25);
	outline-offset: 2px;
}

.tcl-matrix-error {
	display: none;
	margin-top: 10px;
	color: #b42318;
	font-size: 14px;
}

.tcl-matrix-error:not(:empty) {
	display: block;
}

.tcl-review-matrix {
	margin: 12px 0;
}

.tcl-review-matrix table {
	min-width: 620px;
}

.tcl-review-matrix thead th:first-child {
	width: 58%;
}

.tcl-review-value {
	display: inline-block;
	padding: 4px 9px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.tcl-review-value.is-correct,
.tcl-review-value.is-key {
	background: #ecfdf3;
	color: #027a48;
}

.tcl-review-value.is-incorrect {
	background: #fef3f2;
	color: #b42318;
}

.tcl-legacy-review-row > td {
	background: #fafafa;
}

@media (max-width: 640px) {
	.tcl-matrix thead {
		display: none;
	}

	.tcl-matrix,
	.tcl-matrix tbody,
	.tcl-matrix tr,
	.tcl-matrix th,
	.tcl-matrix td {
		display: block;
		width: 100% !important;
	}

	.tcl-matrix tr {
		display: grid;
		grid-template-columns: 1fr 1fr;
		border-bottom: 1px solid var(--tcl-border);
	}

	.tcl-matrix tbody th {
		grid-column: 1 / -1;
		border-bottom: 0;
	}

	.tcl-matrix tbody td {
		position: relative;
		padding-top: 34px;
		border-bottom: 0;
	}

	.tcl-matrix tbody td::before {
		position: absolute;
		top: 8px;
		left: 0;
		width: 100%;
		content: attr(data-label);
		color: var(--tcl-muted);
		font-size: 12px;
		font-weight: 600;
	}
}
