.sahcfwc-setup-health {
	max-width: 1320px;
	padding: 16px;
	color: #1d2327;
	line-height: 1.6;

	h3 { font-size: 16px; line-height: 1.5; margin: 0 0 8px; }
	p { margin: 8px 0 16px; }
	a { text-decoration: underline; text-underline-offset: 2px; }
	button { white-space: normal; height: auto; min-height: 34px; }
	code { overflow-wrap: anywhere; }

	// Keep small status text and controls legible without changing the global theme.
	.sahcfwc-typography-secondary { color: #595959; }
	.sahcfwc-tag-success { color: #237804; }
	.sahcfwc-tag-warning { color: #874d00; }
	.sahcfwc-tag-error { color: #a8071a; }
	button.sahcfwc-btn-primary:not(:disabled):not(.sahcfwc-btn-disabled) {
		color: #fff;
		background-color: #0958d9;
		border-color: #0958d9;
		&:hover, &:active { color: #fff; background-color: #003eb3; border-color: #003eb3; }
	}
	button:disabled, button.sahcfwc-btn-disabled {
		color: #595959;
		background-color: #f0f0f0;
		border-color: #bfbfbf;
	}
	button:focus-visible, a:focus-visible, summary:focus-visible {
		outline: 3px solid #0958d9;
		outline-offset: 3px;
	}

	.sahcfwc-setup-health-steps {
		list-style: none;
		padding: 0;
		margin: 24px 0;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;

		> li { padding: 20px; border: 1px solid #dcdcde; border-radius: 8px; background: #f9f9fc; }
	}
	.sahcfwc-setup-health-actions { margin-bottom: 12px; }
	.sahcfwc-setup-health-status { font-weight: 600; margin: 8px 0; min-height: 26px; }
	.sahcfwc-setup-health-context { margin: 16px 0; }
	.sahcfwc-setup-health-results {
		list-style: none;
		padding: 0;
		margin: 0 0 20px;
		> li { border-top: 1px solid #dcdcde; padding: 16px 0; }
		p { margin: 0; overflow-wrap: anywhere; }
	}
	.sahcfwc-setup-health-result-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
	.sahcfwc-setup-health-report {
		margin-top: 12px;
		label { display: block; font-weight: 600; margin-bottom: 4px; }
		textarea { display: block; width: 100%; max-width: 100%; font-family: monospace; }
	}
	.sahcfwc-setup-health-guides {
		margin-top: 24px;
		details { border: 1px solid #dcdcde; border-radius: 6px; padding: 16px 20px; margin: 12px 0; }
		summary { cursor: pointer; font-weight: 600; }
		summary:focus-visible { outline: 2px solid #2271b1; outline-offset: 4px; }
		ol, ul { margin: 12px 0; padding-inline-start: 24px; }
		ul { list-style: disc; }
	}
	@media (max-width: 1100px) {
		.sahcfwc-setup-health-steps { grid-template-columns: 1fr; }
	}
	@media (max-width: 600px) {
		padding: 4px;
		.sahcfwc-setup-health-checks > .sahcfwc-card-body { padding: 14px; }
		.sahcfwc-setup-health-steps > li { padding: 16px; }
	}
}
