/* CRM — Customer Master, 360°, Intelligence */

.cust-health-ring {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 4px solid var(--portal-accent, #6c3a36);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 58, 54, 0.08);
}

.cust-health-ring.health-excellent { border-color: #0ab39c; background: rgba(10, 179, 156, 0.08); }
.cust-health-ring.health-good { border-color: #6c3a36; }
.cust-health-ring.health-fair { border-color: #f7b84b; background: rgba(247, 184, 75, 0.08); }
.cust-health-ring.health-risk { border-color: #f06548; background: rgba(240, 101, 72, 0.08); }

.profile-section-nav .nav-link {
    text-align: left;
    border-radius: 8px;
    padding: 0.5rem 0.85rem;
    color: var(--bs-body-color);
    font-size: 0.875rem;
}

.profile-section-nav .nav-link.active {
    background: var(--portal-accent-soft, rgba(108, 58, 54, 0.12));
    color: var(--portal-accent, #6c3a36);
    font-weight: 600;
}

.competitor-threat-high { color: #f06548; font-weight: 600; }
.competitor-threat-medium { color: #f7b84b; font-weight: 600; }
.competitor-threat-low { color: #0ab39c; }

#customer-table-body .cust-segment-platinum { color: #6c3a36; }
#customer-table-body .cust-segment-gold { color: #f7b84b; }

.intel-stat-card {
    border-left: 3px solid var(--portal-accent, #6c3a36);
}

.intel-activity-item {
    border-left: 3px solid var(--portal-accent, #6c3a36);
    padding: 0.65rem 1rem;
    margin-bottom: 0.5rem;
    background: var(--bs-body-bg);
    border-radius: 0 8px 8px 0;
}
