.bhwt-image-check__progress {
	background: #f8fafc;
	border-bottom: 1px solid var(--bhwt-border);
	padding: 16px clamp(22px, 4vw, 38px);
}

.bhwt-image-check__progress-bar {
	background: #e6ebf2;
	border-radius: 999px;
	height: 8px;
	overflow: hidden;
}

.bhwt-image-check__progress-bar span {
	background: linear-gradient(90deg, var(--bhwt-brand), #60a5fa);
	border-radius: inherit;
	display: block;
	height: 100%;
	transition: width 180ms ease;
	width: 0;
}

.bhwt-image-check__progress p,
.bhwt-image-check__check-count {
	color: var(--bhwt-muted);
	font-size: 12px;
	font-weight: 650;
	line-height: 1.5;
	margin: 7px 0 0;
}

.bhwt-image-check__total {
	align-items: center;
	background: #eef4ff;
	border: 1px solid #c7d7fe;
	border-radius: 14px;
	color: #1d4ed8;
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	justify-content: center;
	min-height: 92px;
	padding: 12px 20px;
	text-align: center;
}

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

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

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

.bhwt-image-check__summary-card {
	background: var(--bhwt-surface);
	border: 1px solid var(--bhwt-border);
	border-radius: 11px;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 14px;
}

.bhwt-image-check__summary-value {
	color: var(--bhwt-brand);
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
}

.bhwt-image-check__summary-name {
	color: var(--bhwt-text);
	font-size: 13px;
	margin-top: 7px;
}

.bhwt-image-check__summary-description {
	color: var(--bhwt-muted);
	font-size: 11px;
	line-height: 1.4;
	margin-top: 3px;
}

.bhwt-image-check__probe-summary {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bhwt-image-check__probe-card {
	align-items: center;
	border: 1px solid;
	border-radius: 11px;
	display: flex;
	gap: 10px;
	padding: 13px 15px;
}

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

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

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

.bhwt-image-check__probe-value {
	font-size: 23px;
	font-weight: 800;
	line-height: 1;
}

.bhwt-image-check__probe-label {
	font-size: 12px;
	font-weight: 700;
}

.bhwt-image-check__table {
	min-width: 0;
}

.bhwt-image-check__table th:nth-child(1) { width: 4%; }
.bhwt-image-check__table th:nth-child(2) { width: 20%; }
.bhwt-image-check__table th:nth-child(3) { width: 16%; }
.bhwt-image-check__table th:nth-child(4) { width: 14%; }
.bhwt-image-check__table th:nth-child(5) { width: 10%; }
.bhwt-image-check__table th:nth-child(6) { width: 18%; }
.bhwt-image-check__table th:nth-child(7) { width: 18%; }

.bhwt-image-check__source,
.bhwt-image-check__source-url,
.bhwt-image-check__alt-text,
.bhwt-image-check__meta-line {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.bhwt-image-check__source {
	color: var(--bhwt-brand);
	display: block;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.bhwt-image-check__source:hover,
.bhwt-image-check__source:focus-visible {
	text-decoration: underline;
}

.bhwt-image-check__source-url {
	color: var(--bhwt-muted);
	display: block;
	font-size: 10px;
	line-height: 1.4;
	margin: 5px 0 7px;
}

.bhwt-image-check__chip {
	background: #eef2f6;
	border-radius: 999px;
	color: #475467;
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	margin: 2px 4px 0 0;
	padding: 4px 7px;
}

.bhwt-image-check__alt-cell .bhwt-title-check__badge,
.bhwt-image-check__probe .bhwt-title-check__badge {
	margin-bottom: 7px;
}

.bhwt-image-check__alt-text,
.bhwt-image-check__meta-line,
.bhwt-image-check__probe-message,
.bhwt-image-check__probe-solution,
.bhwt-image-check__help-cell p {
	color: var(--bhwt-muted);
	font-size: 11px;
	line-height: 1.5;
	margin: 0;
}

.bhwt-image-check__meta-line + .bhwt-image-check__meta-line,
.bhwt-image-check__help-cell p + p,
.bhwt-image-check__probe-solution {
	margin-top: 5px;
}

.bhwt-image-check__declared-size,
.bhwt-image-check__actual-size {
	color: var(--bhwt-text);
	font-size: 12px;
	font-weight: 750;
}

.bhwt-image-check__actual-size,
.bhwt-image-check__technical {
	display: block;
	margin-bottom: 5px;
}

.bhwt-image-check__technical {
	color: var(--bhwt-muted);
	font-size: 10px;
}

.bhwt-image-check__probe--error {
	background: #fffafa;
}

.bhwt-image-check__probe--warning {
	background: #fffdf7;
}

[hidden].bhwt-image-check__progress {
	display: none !important;
}

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

@media (max-width: 900px) {
	.bhwt-image-check .bhwt-title-check__table-wrap {
		border: 0;
		overflow: visible;
	}

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

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

	.bhwt-image-check__table 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-image-check__table tr + tr {
		margin-top: 12px;
	}

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

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

	.bhwt-image-check__table td:last-child {
		border-bottom: 0;
		grid-column: 1 / -1;
	}

	.bhwt-image-check__table 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-image-check__table tr {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.bhwt-image-check__summary-grid,
	.bhwt-image-check__probe-summary {
		grid-template-columns: 1fr;
	}

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

@media (prefers-reduced-motion: reduce) {
	.bhwt-image-check__progress-bar span {
		transition-duration: .01ms;
	}
}
