.bhwt-advanced-check__score {
	align-items: center;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 14px;
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	justify-content: center;
	min-height: 96px;
	min-width: 130px;
	padding: 13px;
}

.bhwt-advanced-check__score-value {
	color: var(--bhwt-brand);
	font-size: 37px;
	font-weight: 850;
	line-height: 1;
}

.bhwt-advanced-check__score-label {
	color: var(--bhwt-muted);
	font-size: 10px;
	font-weight: 700;
	margin-top: 7px;
	text-align: center;
}

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

.bhwt-advanced-check__summary-card {
	background: var(--bhwt-surface);
	border: 1px solid var(--bhwt-border);
	border-radius: 11px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 15px;
}

.bhwt-advanced-check__summary-card span {
	font-size: 26px;
	font-weight: 800;
}

.bhwt-advanced-check__summary-card strong {
	font-size: 12px;
}

.bhwt-advanced-check__summary-card--ok span { color: var(--bhwt-ok); }
.bhwt-advanced-check__summary-card--warning span { color: var(--bhwt-warning); }
.bhwt-advanced-check__summary-card--error span { color: var(--bhwt-error); }
.bhwt-advanced-check__summary-card--info span { color: #475467; }

.bhwt-advanced-check__table-wrap {
	border: 1px solid var(--bhwt-border);
	border-radius: 12px;
	overflow: hidden;
	width: 100%;
}

.bhwt-advanced-check__table {
	table-layout: fixed;
	width: 100%;
}

.bhwt-advanced-check__table th:nth-child(1) { width: 12%; }
.bhwt-advanced-check__table th:nth-child(2) { width: 16%; }
.bhwt-advanced-check__table th:nth-child(3) { width: 13%; }
.bhwt-advanced-check__table th:nth-child(4) { width: 25%; }
.bhwt-advanced-check__table th:nth-child(5) { width: 34%; }

.bhwt-advanced-check__table th,
.bhwt-advanced-check__table td {
	overflow-wrap: anywhere;
	text-align: left;
	vertical-align: top;
}

.bhwt-advanced-check__category,
.bhwt-advanced-check__name {
	font-weight: 700;
}

.bhwt-advanced-check__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bhwt-advanced-check__chip {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 999px;
	color: #1d4ed8;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 10px;
}

.bhwt-ai-preview__notice {
	background: #f8fafc;
	border-left: 4px solid var(--bhwt-brand);
	color: #475467;
	font-size: 13px;
	line-height: 1.6;
	margin: 0 0 18px;
	padding: 12px 14px;
}

.bhwt-ai-preview__meta {
	display: grid;
	grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
	margin: 0 0 20px;
}

.bhwt-ai-preview__meta dt,
.bhwt-ai-preview__meta dd {
	border-bottom: 1px solid var(--bhwt-border);
	margin: 0;
	overflow-wrap: anywhere;
	padding: 9px 10px;
}

.bhwt-ai-preview__meta dt { color: #475467; font-weight: 750; }
.bhwt-ai-preview__headings { margin: 0 0 20px; padding-left: 21px; }
.bhwt-ai-preview__headings li { margin-bottom: 5px; }
.bhwt-ai-preview__excerpt {
	background: #f8fafc;
	border: 1px solid var(--bhwt-border);
	border-radius: 10px;
	line-height: 1.65;
	margin: 0;
	max-height: 310px;
	overflow: auto;
	padding: 15px;
}

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

	.bhwt-advanced-check__table-wrap { border: 0; overflow: visible; }
	.bhwt-advanced-check__table,
	.bhwt-advanced-check__table tbody,
	.bhwt-advanced-check__table tr,
	.bhwt-advanced-check__table td { display: block; width: 100%; }
	.bhwt-advanced-check__table thead { display: none; }
	.bhwt-advanced-check__table tr { border: 1px solid var(--bhwt-border); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
	.bhwt-advanced-check__table td { border-bottom: 1px solid var(--bhwt-border); padding-left: 44%; position: relative; }
	.bhwt-advanced-check__table td::before { color: #475467; content: attr(data-label); font-size: 10px; font-weight: 750; left: 11px; position: absolute; top: 13px; width: 37%; }
}

@media (max-width: 560px) {
	.bhwt-title-check__report-head { align-items: stretch; flex-direction: column; }
	.bhwt-advanced-check__score { width: 100%; }
	.bhwt-advanced-check__summary { grid-template-columns: 1fr; }
	.bhwt-ai-preview__meta { grid-template-columns: 1fr; }
	.bhwt-ai-preview__meta dt { border-bottom: 0; padding-bottom: 2px; }
	.bhwt-ai-preview__meta dd { padding-top: 2px; }
	.bhwt-advanced-check__table td { padding-left: 12px; padding-top: 35px; }
	.bhwt-advanced-check__table td::before { top: 9px; width: calc(100% - 24px); }
}
