/* Phase 4 — REDWALET business plan pages (wallet, team, plan) */
.mlm-balances { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.9rem; }
.mlm-bal { padding: 1rem 1.1rem; border-radius: 1rem; position: relative; overflow: hidden; }
.mlm-bal .lbl { font-size: 0.72rem; letter-spacing: 0.6px; text-transform: uppercase; opacity: 0.8; }
.mlm-bal .val { font-size: 1.7rem; font-weight: 800; letter-spacing: 0.3px; }
.mlm-bal .sub { font-size: 0.78rem; opacity: 0.75; }
.mlm-bal-game { background: linear-gradient(135deg, #16a34a, #15803d); color: #fff; }
.mlm-bal-income { background: linear-gradient(135deg, #0f766e, #14b8a6); color: #fff; }
.mlm-bal-stat { background: var(--cg-glass); border: 1px solid var(--cg-glass-border); }

.mlm-tabs .nav-link { color: #4b5563; border: 0; border-bottom: 2px solid transparent; border-radius: 0; }
.mlm-tabs .nav-link.active { color: #15803d; background: transparent; border-bottom-color: #16a34a; }

.mlm-address { font-family: "Courier New", monospace; word-break: break-all; background: #f0fdf4; border: 1px solid #bbf7d0; padding: 0.6rem 0.8rem; border-radius: 0.6rem; }
.mlm-code { font-family: "Courier New", monospace; font-size: 1.5rem; font-weight: 800; letter-spacing: 3px; }

.mlm-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.7rem; }
.mlm-kpi { padding: 0.8rem 0.9rem; border-radius: 0.8rem; background: #f0fdf4; border: 1px solid var(--cg-glass-border); }
.mlm-kpi .k { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.5px; color: #6b7280; }
.mlm-kpi .v { font-size: 1.25rem; font-weight: 700; }

.mlm-progress { height: 10px; background: #dcfce7; border-radius: 999px; overflow: hidden; }
.mlm-progress > div { height: 100%; background: linear-gradient(90deg, #16a34a, #0d9488); }

.mlm-rank-badge { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; background: linear-gradient(90deg, #f59e0b, #ef4444); color: #fff; font-weight: 700; }
.bg-purple { background: #0d9488 !important; }

.mlm-plan-table th { white-space: nowrap; }
.mlm-plan-table tr.me { outline: 2px solid #16a34a; }

@media (max-width: 575px) {
    .mlm-bal .val { font-size: 1.4rem; }
}
