/* Yeap error help (error-help.js). Colors carry !important: yeap-core's Custom Design Pages add a
   `body * { color: … !important }` rule that would otherwise wash this text out (same fix as the global footer). */
.yeap-eh-link {
	display: inline;
	margin: 0 0 0 4px;
	padding: 0;
	border: 0;
	background: none !important;
	color: #1d4ed8 !important;
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}
.yeap-eh-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 16px;
	padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	background: rgba(15, 23, 42, 0.45) !important;
}
@media (min-width: 640px) {
	.yeap-eh-overlay { align-items: center; }
}
.yeap-eh-card {
	box-sizing: border-box;
	width: 100%;
	max-width: 440px;
	max-height: 85vh;
	overflow-y: auto;
	padding: 16px;
	border-radius: 12px;
	background: #ffffff !important;
	color: #334155 !important;
	font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	text-align: left;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
}
.yeap-eh-card * { box-sizing: border-box; }
.yeap-eh-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.yeap-eh-head h2 { margin: 0; font-size: 16px; font-weight: 700; color: #0f172a !important; }
.yeap-eh-close {
	border: 0;
	background: none !important;
	color: #64748b !important;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 2px 6px;
}
.yeap-eh-message {
	margin: 0 0 8px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #fef2f2 !important;
	color: #991b1b !important;
	font-weight: 600;
}
.yeap-eh-finding { margin: 0 0 8px; color: #64748b !important; font-size: 13px; }
.yeap-eh-cause { margin: 0 0 6px; color: #334155 !important; }
.yeap-eh-cause strong { color: #0f172a !important; }
.yeap-eh-steps { margin: 0 0 10px; padding-left: 20px; color: #334155 !important; }
.yeap-eh-steps li { margin: 2px 0; color: #334155 !important; }
.yeap-eh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.yeap-eh-action {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border: 1px solid rgba(29, 78, 216, 0.3);
	border-radius: 8px;
	background: #ffffff !important;
	color: #1d4ed8 !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
}
.yeap-eh-action:hover { background: #eff6ff !important; }
.yeap-eh-support {
	border: 0;
	padding: 0;
	background: none !important;
	color: #475569 !important;
	font-size: 12px;
	font-weight: 500;
	text-decoration: underline;
	cursor: pointer;
}
