/* Composants de progression isolés — même langage visuel qu’Agòra 0.12.0. */
.alb-progress-rank,
.alb-progress-card,
.alb-progress-quest {
	padding: clamp(18px,2.6vw,30px);
	border: 1px solid var(--agora-line);
	background: #fff;
	box-shadow: none;
}
.alb-progress-rank { display: flex; align-items: center; gap: 18px; }
.alb-progress-rank > div { display: flex; flex-direction: column; }
.alb-progress-icon { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--agora-line); background: #fff; }
.alb-progress-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.alb-progress-card { display: flex; gap: 14px; }
.alb-progress-card p { margin: .4rem 0; color: var(--agora-muted); }
.alb-progress-placeholder { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid var(--agora-line); background: var(--agora-paper-2); font-size: 2rem; }
.alb-progress-quantity { margin-left: .5rem; }
.alb-progress-objectives { list-style: none; padding: 0; margin: 1rem 0 0; }
.alb-progress-objectives li { display: flex; gap: .75rem; padding: .75rem 0; border-top: 1px solid var(--agora-line); }
.alb-progress-objectives li > span { font-size: 1.25rem; }
.alb-progress-objectives li.is-complete strong { color: var(--agora-muted); text-decoration: line-through; }
.alb-progress-objectives p { margin: .25rem 0; }
.alb-progress-action { margin: 1rem 0; }
.alb-progress-action.is-done { padding: 18px; border: 1px solid var(--agora-line); border-left: 5px solid var(--agora-success); background: #fff; }
.alb-progress-empty { color: var(--agora-muted); font-style: italic; }
@media(max-width:1080px){.alb-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.alb-progress-grid{grid-template-columns:1fr}.alb-progress-rank,.alb-progress-card{align-items:flex-start;flex-direction:column}}

.alb-progress-historical { display:inline-block; margin-left:8px; padding:2px 6px; border:1px solid currentColor; font-size:11px; font-weight:700; text-transform:uppercase; opacity:.75; }

/* 0.9.2 — aperçu complet des rangs et badges. */
.alb-progress-rank-list {
	display:grid;
	grid-template-columns:repeat(5,minmax(0,1fr));
	gap:10px;
	margin-top:14px;
}
.alb-progress-rank-step {
	display:flex;
	min-width:0;
	flex-direction:column;
	gap:4px;
	padding:12px;
	border:1px solid var(--agora-line);
	background:#fff;
}
.alb-progress-rank-step.is-current { border-top:4px solid var(--agora-primary); }
.alb-progress-rank-step.is-reached { background:var(--agora-paper-2); }
.alb-progress-rank-step.is-locked { opacity:.6; }
.alb-progress-card.is-earned { border-top:4px solid var(--agora-success); }
.alb-progress-card.is-locked { opacity:.62; }
.alb-progress-placeholder.is-emoji { line-height:1; }
@media(max-width:1080px){.alb-progress-rank-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.alb-progress-rank-list{grid-template-columns:1fr}}

/* Material Symbols — rangs 0.9.15 */
.alb-rank-admin-identity{display:flex;align-items:center;gap:10px}.alb-rank-admin-icon{flex:0 0 auto}.alb-progress-advanced-visual{margin:12px 0}.alb-progress-advanced-visual>summary{cursor:pointer;font-weight:600}.alb-progress-advanced-visual .alb-field-row{margin-top:12px}.alb-progress-placeholder.alb-material-symbol,.alb-eco-rank__symbol.alb-material-symbol,.alb-eco-rank-step__media.alb-material-symbol{display:inline-flex;align-items:center;justify-content:center}

/* 0.9.17 — synthèse monétaire */
.alb-eco-money-balance{padding:22px 24px;border:1px solid rgba(9,75,77,.14);border-radius:18px;background:rgba(9,75,77,.045);margin-bottom:16px}.alb-eco-money-balance strong{display:block;font-size:clamp(2rem,5vw,3.6rem);line-height:1.05;margin:.2rem 0}.alb-eco-money-balance p{margin:.5rem 0 0}.alb-eco-tax-alert{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:16px 18px;margin-top:16px;border-radius:14px;background:rgba(181,112,0,.08);border:1px solid rgba(181,112,0,.18)}.alb-eco-tax-alert.is-clear{background:rgba(20,112,82,.06);border-color:rgba(20,112,82,.16)}@media(max-width:700px){.alb-eco-tax-alert{align-items:flex-start;flex-direction:column}}

/* 1.2.0 — investissements vivants et décisions sur les bénéfices */
.alb-eco-investor-alert{border-left:4px solid var(--agora-primary,#08777b);background:linear-gradient(135deg,rgba(8,119,123,.07),#fff 58%)}
.alb-eco-investment-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.alb-eco-investment-kpis>div{min-width:0;padding:11px 12px;border:1px solid rgba(9,75,77,.13);background:#f8fbfa}.alb-eco-investment-kpis span,.alb-eco-investment-kpis strong{display:block}.alb-eco-investment-kpis span{color:var(--agora-muted,#67777b);font-size:.72rem}.alb-eco-investment-kpis strong{margin-top:3px;color:var(--agora-navy,#173f4b);font-size:.96rem}.alb-eco-investment-help{margin:10px 0 0;color:var(--agora-muted,#67777b);font-size:.8rem;line-height:1.45}
.alb-investor-decision{margin-top:16px;padding:16px;border:1px solid rgba(8,119,123,.24);background:#f6fbfa}.alb-investor-decision__head h4{margin:6px 0 4px;color:var(--agora-navy,#173f4b);font-size:1rem}.alb-investor-decision__head p{margin:0 0 5px;line-height:1.5}.alb-investor-decision__head small{color:var(--agora-muted,#67777b)}.alb-investor-decision__choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.alb-investor-choice{display:flex;min-width:0;flex-direction:column;justify-content:space-between;gap:12px;padding:13px;border:1px solid rgba(9,75,77,.16);background:#fff}.alb-investor-choice.is-selected{outline:2px solid var(--agora-primary,#08777b);outline-offset:-2px}.alb-investor-choice strong{display:block;color:var(--agora-navy,#173f4b);font-size:.86rem}.alb-investor-choice p{margin:5px 0;color:var(--agora-muted,#67777b);font-size:.75rem;line-height:1.4}.alb-investor-choice small{display:block;color:#0a6f72;font-size:.7rem;font-weight:700;line-height:1.35}.alb-investor-choice form{margin:0}.alb-investor-choice .scenario-cta{width:100%;padding:9px 10px;border:0;background:var(--agora-primary,#08777b);color:#fff;font-weight:800;cursor:pointer}
@media(max-width:900px){.alb-eco-investment-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.alb-investor-decision__choices{grid-template-columns:1fr}}
@media(max-width:560px){.alb-eco-investment-kpis{grid-template-columns:1fr}}
