/* Empower Africa — Business Integration UI
   Scoped under .ea-biz-* ; safe to load anywhere. Brand: navy #0F1E2E, accent
   #FA3C00. */

.ea-biz-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin: 12px 0;
}

.ea-biz-card {
	background: #fff;
	border: 1px solid #e6e9ee;
	border-left: 4px solid #fa3c00;
	border-radius: 12px;
	padding: 16px 18px;
	box-shadow: 0 1px 3px rgba(15, 30, 46, .06);
	color: #0f1e2e;
	font-size: 14px;
	line-height: 1.5;
}

.ea-biz-eyebrow {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	color: #fa3c00;
	margin-bottom: 2px;
}

.ea-biz-card__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	color: #0f1e2e;
}

.ea-biz-score {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 6px 0;
}
.ea-biz-score__pct {
	font-size: 28px;
	font-weight: 800;
	color: #0f1e2e;
	line-height: 1;
}

.ea-biz-badge {
	font-size: 11px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 999px;
	white-space: nowrap;
}
.ea-biz-badge.is-ok   { background: #e7f6ec; color: #1a7f37; }
.ea-biz-badge.is-warn { background: #fdeee9; color: #c2410c; }

.ea-biz-progress {
	height: 8px;
	background: #eef1f4;
	border-radius: 999px;
	overflow: hidden;
	margin: 8px 0 10px;
}
.ea-biz-progress__bar {
	display: block;
	height: 100%;
	background: #fa3c00;
	border-radius: 999px;
}

.ea-biz-card__msg   { margin: 6px 0; color: #516072; }
.ea-biz-card__state { margin: 6px 0; font-weight: 600; }
.ea-biz-card__label { margin: 8px 0 4px; font-size: 12px; font-weight: 700; color: #516072; }

.ea-biz-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ea-biz-chip {
	font-size: 12px;
	background: #f4f6f8;
	border: 1px solid #e6e9ee;
	color: #334;
	border-radius: 999px;
	padding: 3px 10px;
}

.ea-biz-card__foot { margin-top: 12px; }

.ea-biz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	padding: 9px 16px;
	border-radius: 8px;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
}
.ea-biz-btn--primary { background: #fa3c00; color: #fff; border-color: #fa3c00; }
.ea-biz-btn--primary:hover { background: #e23600; color: #fff; }
.ea-biz-btn--ghost { background: #fff; color: #0f1e2e; border-color: #e6e9ee; }
.ea-biz-btn--ghost:hover { border-color: #fa3c00; color: #fa3c00; }

/* Notices (My Tenders / feature gates) */
.ea-biz-notice {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 14px;
	margin: 10px 0;
	border: 1px solid #e6e9ee;
}
.ea-biz-notice__text { flex: 1 1 auto; min-width: 0; }
.ea-biz-notice--ok     { background: #f1faf4; border-color: #cdeed7; color: #14532d; }
.ea-biz-notice--warn   { background: #fff8f4; border-color: #fbd9c9; color: #7c2d12; }
.ea-biz-notice--upsell { background: #0f1e2e; border-color: #0f1e2e; color: #fff; }
.ea-biz-notice--upsell .ea-biz-btn--primary { background: #fa3c00; border-color: #fa3c00; }

@media (max-width: 480px) {
	.ea-biz-card__title { font-size: 16px; }
	.ea-biz-score__pct  { font-size: 24px; }
}

/* ---- v1.0.2 auto-injection wrappers --------------------------------- */

/* Cards injected next to the Business credibility card. */
.ea-biz-dashboard-integration {
	margin: 16px 0 0;
}

/* When injected inside the dashboard's paired credibility row, give the
   cards room to breathe and align with the surrounding zone grid. */
.ea-dashboard-pair .ea-biz-dashboard-integration,
.ea-dashboard-zone--credibility + .ea-biz-dashboard-integration {
	margin-top: 16px;
}

/* My Tenders notice injected at the top of the dashboard. */
.ea-biz-my-tenders-notice {
	margin: 0 0 18px;
}

/* Keep the notice readable on the My Tenders cream/navy surface. */
.emt-dash > .ea-biz-my-tenders-notice:first-child {
	margin-top: 4px;
}
