.bhwt-security-check {
	--bhwt-info: #315f8a;
	--bhwt-info-bg: #eef5fb;
}

.bhwt-security-check__encoder-note {
	background: #fff;
	border: 1px solid #cbd9eb;
	border-radius: 10px;
	color: var(--bhwt-muted);
	font-size: 13px;
	line-height: 1.55;
	margin-top: 14px;
	padding: 11px 14px;
}

.bhwt-security-check__encoder-note strong {
	color: var(--bhwt-text);
}

.bhwt-security-check__encoder-note a,
.bhwt-security-check__help-link {
	color: var(--bhwt-brand);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bhwt-security-check__total {
	align-items: center;
	background: var(--bhwt-info-bg);
	border: 1px solid #bdd5e9;
	border-radius: 14px;
	color: var(--bhwt-info);
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	justify-content: center;
	min-height: 92px;
	padding: 12px 20px;
	text-align: center;
}

.bhwt-security-check__total-value {
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
}

.bhwt-security-check__total-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .035em;
	margin-top: 6px;
	text-transform: uppercase;
}

.bhwt-security-check__summary {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bhwt-security-check__summary-card {
	align-items: center;
	border: 1px solid;
	border-radius: 11px;
	display: flex;
	gap: 11px;
	min-width: 0;
	padding: 13px 15px;
}

.bhwt-security-check__summary-card--ok {
	background: var(--bhwt-ok-bg);
	border-color: #a7dfcb;
	color: var(--bhwt-ok);
}

.bhwt-security-check__summary-card--warning {
	background: var(--bhwt-warning-bg);
	border-color: #efd48c;
	color: var(--bhwt-warning);
}

.bhwt-security-check__summary-card--error {
	background: var(--bhwt-error-bg);
	border-color: #f3b8b2;
	color: var(--bhwt-error);
}

.bhwt-security-check__summary-card--info {
	background: var(--bhwt-info-bg);
	border-color: #bdd5e9;
	color: var(--bhwt-info);
}

.bhwt-security-check__summary-value {
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
}

.bhwt-security-check__summary-label {
	font-size: 12px;
	font-weight: 750;
}

.bhwt-title-check__badge--info {
	background: var(--bhwt-info-bg);
	color: var(--bhwt-info);
}

.bhwt-security-check__table,
.bhwt-security-check__contacts {
	min-width: 0;
	table-layout: fixed;
	width: 100%;
}

.bhwt-security-check__table th:nth-child(1) { width: 12%; }
.bhwt-security-check__table th:nth-child(2) { width: 17%; }
.bhwt-security-check__table th:nth-child(3) { width: 12%; }
.bhwt-security-check__table th:nth-child(4) { width: 27%; }
.bhwt-security-check__table th:nth-child(5) { width: 32%; }

.bhwt-security-check__contacts th:nth-child(1) { width: 12%; }
.bhwt-security-check__contacts th:nth-child(2) { width: 25%; }
.bhwt-security-check__contacts th:nth-child(3) { width: 25%; }
.bhwt-security-check__contacts th:nth-child(4) { width: 38%; }

.bhwt-security-check__table td,
.bhwt-security-check__contacts td {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.bhwt-security-check__category,
.bhwt-security-check__check-name,
.bhwt-security-check__masked {
	color: var(--bhwt-text);
	font-weight: 700;
}

.bhwt-security-check__category {
	font-size: 12px;
}

.bhwt-security-check__message,
.bhwt-security-check__solution,
.bhwt-security-check__contacts td {
	color: var(--bhwt-muted);
	font-size: 12px;
	line-height: 1.5;
}

.bhwt-security-check__status .bhwt-title-check__badge {
	text-align: center;
	white-space: normal;
}

.bhwt-security-check__help-link {
	display: block;
	font-size: 12px;
	margin-top: 8px;
}

.bhwt-security-check__row--error td {
	background: #fffafa;
}

.bhwt-security-check__row--warning td {
	background: #fffdf7;
}

.bhwt-security-check__encoding .bhwt-title-check__badge {
	margin: 0 7px 6px 0;
}

.bhwt-security-check__encoding-text {
	display: inline-block;
}

.bhwt-security-check__domains {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.bhwt-security-check__domain {
	background: var(--bhwt-surface);
	border: 1px solid var(--bhwt-border);
	border-radius: 999px;
	color: #475467;
	font-size: 12px;
	font-weight: 700;
	max-width: 100%;
	overflow-wrap: anywhere;
	padding: 6px 10px;
}

@media (max-width: 900px) {
	.bhwt-security-check__summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bhwt-security-check__table-wrap,
	.bhwt-security-check__contacts-wrap {
		border: 0;
		overflow: visible;
	}

	.bhwt-security-check__table,
	.bhwt-security-check__table tbody,
	.bhwt-security-check__table tr,
	.bhwt-security-check__contacts,
	.bhwt-security-check__contacts tbody,
	.bhwt-security-check__contacts tr {
		display: block;
		width: 100%;
	}

	.bhwt-security-check__table thead,
	.bhwt-security-check__contacts thead {
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		height: 1px;
		overflow: hidden;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	.bhwt-security-check__table tr,
	.bhwt-security-check__contacts tr {
		background: #fff;
		border: 1px solid var(--bhwt-border);
		border-radius: 12px;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		overflow: hidden;
	}

	.bhwt-security-check__table tr + tr,
	.bhwt-security-check__contacts tr + tr {
		margin-top: 12px;
	}

	.bhwt-security-check__table td,
	.bhwt-security-check__contacts td {
		border-bottom: 1px solid var(--bhwt-border);
		display: block;
		min-width: 0;
		width: auto;
	}

	.bhwt-security-check__table tr:last-child td,
	.bhwt-security-check__contacts tr:last-child td {
		border-bottom: 1px solid var(--bhwt-border);
	}

	.bhwt-security-check__table td:nth-child(4),
	.bhwt-security-check__table td:nth-child(5) {
		grid-column: 1 / -1;
	}

	.bhwt-security-check__table td:last-child,
	.bhwt-security-check__contacts td:nth-last-child(-n+2) {
		border-bottom: 0;
	}

	.bhwt-security-check__table td::before,
	.bhwt-security-check__contacts td::before {
		color: #667085;
		content: attr(data-label);
		display: block;
		font-size: 10px;
		font-weight: 750;
		letter-spacing: .05em;
		margin-bottom: 7px;
		text-transform: uppercase;
	}
}

@media (max-width: 560px) {
	.bhwt-security-check__table tr,
	.bhwt-security-check__contacts tr,
	.bhwt-security-check__summary {
		grid-template-columns: 1fr;
	}

	.bhwt-security-check__table td,
	.bhwt-security-check__contacts td {
		border-bottom: 1px solid var(--bhwt-border);
		grid-column: 1 / -1;
	}

	.bhwt-security-check__table td:last-child,
	.bhwt-security-check__contacts td:last-child {
		border-bottom: 0;
	}

	.bhwt-security-check__total {
		align-self: flex-start;
		min-height: 78px;
	}
}
