.ng-safety-block {
	border-radius: 10px;
	padding: 16px 18px;
	margin: 0 0 24px;
	border: 1px solid;
}
.ng-safety-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}
.ng-safety-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	font-weight: 700;
	font-size: 13px;
	flex-shrink: 0;
}
.ng-safety-title {
	font-weight: 700;
	font-size: 15px;
}
.ng-safety-message {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.55;
}
.ng-safety-chips {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0;
	margin: 0 0 8px;
}
.ng-safety-chip a {
	display: inline-block;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	text-decoration: none;
	background: rgba(0, 0, 0, 0.06);
}
.ng-safety-not-exhaustive {
	font-size: 12px;
	font-style: italic;
	margin: 0 0 8px;
	opacity: 0.85;
}
.ng-safety-link {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	margin-bottom: 10px;
}
.ng-safety-footer {
	font-size: 11px;
	margin: 8px 0 0;
	padding-top: 8px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	opacity: 0.75;
}

/* Estado 1b e 1 - toxicidade da propria planta (mais severo, nunca verde). */
.ng-safety-state-1b,
.ng-safety-state-1 {
	background: #fdf1e8;
	border-color: #e8a768;
}
.ng-safety-state-1b .ng-safety-icon,
.ng-safety-state-1 .ng-safety-icon {
	background: #c9701f;
	color: #fff;
}
.ng-safety-state-1b .ng-safety-title,
.ng-safety-state-1 .ng-safety-title,
.ng-safety-state-1b .ng-safety-message,
.ng-safety-state-1 .ng-safety-message {
	color: #7a4512;
}

/* Estado lookalike - risco de confusao, severidade proxima do estado 1. */
.ng-safety-state-lookalike {
	background: #fdf1e8;
	border-color: #e8a768;
}
.ng-safety-state-lookalike .ng-safety-icon {
	background: #c9701f;
	color: #fff;
}
.ng-safety-state-lookalike .ng-safety-title,
.ng-safety-state-lookalike .ng-safety-message {
	color: #7a4512;
}

/* Estado 2 - contraindicacoes citadas, ambar mais claro. */
.ng-safety-state-2 {
	background: #fdf8e3;
	border-color: #e0c158;
}
.ng-safety-state-2 .ng-safety-icon {
	background: #b4921f;
	color: #fff;
}
.ng-safety-state-2 .ng-safety-title,
.ng-safety-state-2 .ng-safety-message {
	color: #6b5712;
}

/* Estado 3 - sem secao, neutro cinza, NUNCA verde (ausencia de info != ausencia de risco). */
.ng-safety-state-3 {
	background: #f3f3f1;
	border-color: #c7c5bf;
}
.ng-safety-state-3 .ng-safety-icon {
	background: #6b6b63;
	color: #fff;
}
.ng-safety-state-3 .ng-safety-title,
.ng-safety-state-3 .ng-safety-message {
	color: #46453f;
}

.ng-safety-link {
	color: #3a4a2e;
}
.ng-safety-chip a {
	color: inherit;
}

@media (prefers-color-scheme: dark) {
	.ng-safety-state-1b,
	.ng-safety-state-1,
	.ng-safety-state-lookalike {
		background: #3a2714;
		border-color: #7a4e1f;
	}
	.ng-safety-state-1b .ng-safety-title,
	.ng-safety-state-1 .ng-safety-title,
	.ng-safety-state-lookalike .ng-safety-title,
	.ng-safety-state-1b .ng-safety-message,
	.ng-safety-state-1 .ng-safety-message,
	.ng-safety-state-lookalike .ng-safety-message {
		color: #f0cda0;
	}
	.ng-safety-state-2 {
		background: #332c10;
		border-color: #6b5718;
	}
	.ng-safety-state-2 .ng-safety-title,
	.ng-safety-state-2 .ng-safety-message {
		color: #e8d58a;
	}
	.ng-safety-state-3 {
		background: #2a2a26;
		border-color: #4a4942;
	}
	.ng-safety-state-3 .ng-safety-title,
	.ng-safety-state-3 .ng-safety-message {
		color: #cfcec6;
	}
	.ng-safety-footer {
		border-top-color: rgba(255, 255, 255, 0.1);
	}
	.ng-safety-chip a {
		background: rgba(255, 255, 255, 0.1);
	}
	.ng-safety-link {
		color: #8fc98f;
	}
}
