.madinvest-wrap h2 { margin-top: 30px; }

.madinvest-cards {
	display: flex;
	gap: 16px;
	margin: 20px 0;
}
.madinvest-card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 16px 20px;
	min-width: 180px;
}
.madinvest-card-label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #646970;
	margin-bottom: 6px;
}
.madinvest-card-value {
	display: block;
	font-size: 24px;
	font-weight: 600;
}
.madinvest-card-sub {
	display: block;
	font-size: 12px;
	color: #646970;
	margin-top: 4px;
}

.madinvest-health-score {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	padding: 14px 20px;
	border-radius: 8px;
	margin-bottom: 16px;
	color: #fff;
}
.madinvest-health-number { font-size: 28px; font-weight: 700; }
.madinvest-health-tag { font-size: 14px; opacity: 0.9; }
.madinvest-health-sain { background: #2a8a3e; }
.madinvest-health-à-surveiller { background: #b5860a; }
.madinvest-health-concentration-élevée { background: #b32d2e; }

.madinvest-report-box {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 24px;
	max-width: 900px;
}
.madinvest-report-box h2, .madinvest-report-box h3, .madinvest-report-box h4 {
	margin-top: 1.4em;
}

/* Front-end public */
.madinvest-public-dashboard, .madinvest-public-report {
	font-family: inherit;
	max-width: 800px;
	margin: 0 auto;
}
.madinvest-bars { margin: 12px 0 24px; }
.madinvest-bar-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}
.madinvest-bar-label { width: 180px; font-size: 14px; }
.madinvest-bar-track {
	flex: 1;
	background: #eee;
	border-radius: 4px;
	height: 10px;
	overflow: hidden;
}
.madinvest-bar-fill {
	background: #2271b1;
	height: 100%;
}
.madinvest-bar-pct { width: 50px; text-align: right; font-size: 13px; }

.madinvest-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}
.madinvest-table th, .madinvest-table td {
	text-align: left;
	padding: 8px 10px;
	border-bottom: 1px solid #eee;
}

.madinvest-report-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	border-bottom: 2px solid #222;
	padding-bottom: 10px;
	margin-bottom: 20px;
}
.madinvest-report-date { color: #666; font-size: 13px; }
.madinvest-report-body p { line-height: 1.6; }
