/* ===================================
   CRO Coach Manager - Frontend Styles
   Auteur: FWOptimisation
   Version: 2.0.0 - Refonte complète
   =================================== */

:root {
    --ccm-primary: #028D6A;
    --ccm-primary-dark: #015A44;
    --ccm-primary-light: #ecfdf5;
    --ccm-primary-50: #f0fdf4;
    --ccm-primary-100: #dcfce7;
    --ccm-primary-200: #bbf7d0;
    --ccm-vertical: #028D6A;
    --ccm-horizontal: #ec4899;
    --ccm-success: #10b981;
    --ccm-success-text: #047857;
    --ccm-warning: #f59e0b;
    --ccm-warning-text: #B45309;
    --ccm-danger: #ef4444;
    --ccm-gray-50: #f8fafc;
    --ccm-gray-100: #f1f5f9;
    --ccm-gray-200: #e2e8f0;
    --ccm-gray-300: #cbd5e1;
    --ccm-gray-400: #94a3b8;
    --ccm-gray-500: #64748b;
    --ccm-gray-600: #475569;
    --ccm-gray-700: #334155;
    --ccm-gray-800: #1e293b;
    --ccm-gray-900: #0f172a;
    --ccm-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --ccm-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --ccm-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    --ccm-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --ccm-radius: 12px;
    --ccm-radius-lg: 16px;
    --ccm-radius-sm: 8px;
    /* Zone colors V3 */
    --ccm-zone-architecte: #028D6A;
    --ccm-zone-expert: #3b82f6;
    --ccm-zone-coordinateur: #f59e0b;
    --ccm-zone-operateur: #94a3b8;
    --ccm-zone-architecte-bg: #ecfdf5;
    --ccm-zone-expert-bg: #eff6ff;
    --ccm-zone-coordinateur-bg: #fffbeb;
    --ccm-zone-operateur-bg: #f8fafc;
    /* ── Design System V7c tokens ── */
    --ds-bg: #FAFBFC;
    --ds-bg-subtle: #F2F4F7;
    --ds-white: #FFFFFF;
    --ds-dark: #17243A;
    --ds-dark-mid: #1E3050;
    --ds-teal: #1B9B7A;
    --ds-teal-light: #28B38E;
    --ds-teal-pale: #E8F7F3;
    --ds-teal-border: #A8DDD1;
    --ds-blue: #2D72C8;
    --ds-blue-pale: #EAF1FB;
    --ds-blue-border: #B3CFEF;
    --ds-text: #17243A;
    --ds-text-muted: #4A5568;
    --ds-text-light: #6B7580;
    --ds-border: #DCE3EC;
    --ds-border-light: #EDF1F7;
    --ds-red: #C8392B;
    --ds-red-pale: #FEF2F0;
    --ds-red-border: #F5B8B0;
    --ds-coral: #E05A47;
    --ds-amber: #D97706;
    --ds-amber-pale: #FFFBEB;
    --ds-amber-border: #FDE68A;
    --ds-r: 14px;
}

/* Override WordPress theme button borders (e.g. [type=button]{border:1px solid #c36}) */
#ccm-evaluation-form button,
#ccm-evaluation-form [type="button"],
#ccm-evaluation-form [type="submit"],
.ccm-evaluation-container button,
.ccm-evaluation-container [type="button"],
.ccm-evaluation-container [type="submit"] {
    border: none !important;
}

/* ============================================================
   ACCESSIBILITÉ GLOBALE (v2.8.0)
   ============================================================ */

/* Skip link */
.ccm-skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--ccm-primary);
    color: #fff;
    padding: 10px 20px;
    z-index: 100;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0 0 var(--ccm-radius-sm) 0;
    transition: top 0.2s ease;
    text-decoration: none;
}

.ccm-skip-link:focus {
    top: 0;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Screen reader only */
.ccm-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus-visible on all interactive elements (WCAG 2.4.7) */
.ccm-btn-pdf:focus-visible,
.ccm-cta-col-btn:focus-visible,
.ccm-btn-evaluate:focus-visible,
.ccm-btn-next:focus-visible,
.ccm-btn-back:focus-visible,
.ccm-btn-validate:focus-visible,
.ccm-card-back-link:focus-visible,
.ccm-card-option:focus-visible,
.ccm-collapsible-toggle:focus-visible,
.ccm-friction-read-more:focus-visible,
.ccm-friction-cta-btn:focus-visible,
.ccm-friction-card-header:focus-visible,
.ccm-friction-summary:focus-visible,
.ccm-friction-expand-btn:focus-visible,
.ccm-comments-toggle:focus-visible,
.ccm-accordion-header:focus-visible,
.ccm-accordion-formation-link:focus-visible,
.ccm-dev-plan-formation-link:focus-visible,
.ccm-cta-col-btn:focus-visible,
#ccm-eval-selector:focus-visible,
.ccm-breadcrumb a:focus-visible {
    outline: 2px solid var(--ccm-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Wrapper général */
.ccm-evaluation-wrapper,
.ccm-results-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px;
    background: #f8fafc;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ccm-gray-800);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* En-têtes */
.ccm-evaluation-header,
.ccm-results-header {
    text-align: center;
    margin-bottom: 48px;
}

.ccm-evaluation-header h1,
.ccm-results-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--ccm-gray-900);
    margin: 0 0 8px 0;
    letter-spacing: -0.025em;
}

.ccm-subtitle {
    font-size: 16px;
    color: var(--ccm-gray-500);
    margin: 0;
    font-weight: 400;
}

/* Breadcrumb */
.ccm-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--ccm-gray-600);
}

.ccm-breadcrumb a {
    color: var(--ccm-primary);
    text-decoration: none;
    padding: 8px 4px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.ccm-breadcrumb a:hover {
    text-decoration: underline;
}

.ccm-separator {
    color: var(--ccm-gray-500);
}

/* Sections */
.ccm-section {
    background: white;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

.ccm-section-header {
    padding: 20px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.ccm-vertical-header {
    background: linear-gradient(135deg, var(--ccm-vertical) 0%, #015A44 100%);
    color: white;
}

.ccm-horizontal-header {
    background: linear-gradient(135deg, var(--ccm-horizontal) 0%, #db2777 100%);
    color: white;
}

/* Section horizontale dépliable */
.ccm-collapsible-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.ccm-collapsible-header:hover {
    opacity: 0.9;
}

.ccm-collapsible-header .header-content {
    flex: 1;
}

.ccm-collapsible-header .toggle-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.ccm-horizontal-content {
    margin-top: 20px;
    transition: all 0.3s ease;
}

.ccm-section-header h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
}

.ccm-section-header p {
    margin: 0;
    opacity: 0.9;
}

/* === CARTES DE COMPÉTENCES === */

.ccm-competence-card {
    background: white;
    border: 1px solid var(--ccm-gray-200);
    border-radius: var(--ccm-radius);
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.25s ease;
    box-shadow: var(--ccm-shadow-sm);
}

.ccm-competence-card:hover {
    border-color: var(--ccm-primary);
    box-shadow: var(--ccm-shadow-md);
    transform: translateY(-1px);
}

.ccm-competence-card.completed {
    background: var(--ccm-primary-50);
    border-color: var(--ccm-success);
}

.competence-card-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #1e293b;
}

.competence-card-header h3 .status-badge {
    margin-left: 20px;
    font-size: 13px;
    font-weight: 500;
}

.competence-icon {
    font-size: 24px;
}

.competence-description {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.competence-card-status {
    margin-bottom: 16px;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.status-badge.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.status-completed {
    background: #d1fae5;
    color: #065f46;
}

/* Legacy .ccm-btn-evaluate kept as alias for backwards compat */
.ccm-btn-evaluate {
    background: var(--ds-teal);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    min-height: 44px;
    transition: all 0.2s;
}

/* === COMPÉTENCE EN COURS DE CALIBRATION === */

.ccm-step1-competence-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ds-text-muted, #4A5568);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ccm-competence-calibration {
    background: transparent;
    border: none;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
}

/* Jauge de progression */
.ccm-progress-bar-container {
    margin: 30px 0 40px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border: 2px solid #0ea5e9;
}

.ccm-progress-bar {
    width: 100%;
    height: 24px;
    background: #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.ccm-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0ea5e9 0%, #06b6d4 100%);
    border-radius: 12px;
    transition: width 0.5s ease;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.4);
}

.ccm-progress-text {
    margin: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #0c4a6e;
}

.ccm-progress-details {
    font-size: 12px;
    font-weight: 400;
    color: #0369a1;
    margin-left: 8px;
}

/* ============================================ */
/* Module Progress Bar (v3.21.0)               */
/* ============================================ */
.ccm-module-progress {
    margin: 0 auto 24px;
    max-width: 600px;
}

.ccm-module-progress-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.ccm-module-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 80px;
}

.ccm-module-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: var(--ds-bg, #f1f5f9);
    color: var(--ds-text-light, #6B7580);
    border: 2px solid var(--ds-border-light, #e2e8f0);
    transition: all 0.3s ease;
}

.ccm-module-step--active .ccm-module-step-dot {
    background: var(--ccm-primary, #028D6A);
    color: #fff;
    border-color: var(--ccm-primary, #028D6A);
    box-shadow: 0 0 0 4px rgba(2, 141, 106, 0.15);
}

.ccm-module-step--done .ccm-module-step-dot {
    background: var(--ccm-primary, #028D6A);
    color: #fff;
    border-color: var(--ccm-primary, #028D6A);
}

.ccm-module-step--done .ccm-module-step-dot::after {
    content: '✓';
    font-size: 14px;
}

/* Hide number when done, show checkmark */
.ccm-module-step--done .ccm-module-step-dot {
    font-size: 0;
}

.ccm-module-step-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--ds-text-light, #6B7580);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ccm-module-step--active .ccm-module-step-label {
    color: var(--ccm-primary, #028D6A);
    font-weight: 700;
}

.ccm-module-step--done .ccm-module-step-label {
    color: var(--ccm-primary, #028D6A);
}

.ccm-module-step-line {
    flex: 1;
    height: 2px;
    min-width: 30px;
    max-width: 60px;
    background: var(--ds-border-light, #e2e8f0);
    margin: 0 4px;
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

.ccm-module-step-line--done {
    background: var(--ccm-primary, #028D6A);
}

/* ============================================ */
/* Resume Banner (v3.21.0)                     */
/* ============================================ */
.ccm-resume-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(2, 141, 106, 0.06);
    border: 1px solid rgba(2, 141, 106, 0.15);
    border-radius: 8px;
    padding: 10px 16px;
    margin: 0 auto 16px;
    max-width: 700px;
    font-size: 13px;
    flex-wrap: wrap;
}

.ccm-resume-banner-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.ccm-resume-banner-text {
    color: var(--ds-text-muted, #475569);
    flex: 1;
    min-width: 200px;
}

.ccm-resume-banner-link {
    font-family: monospace;
    font-size: 11px;
    color: var(--ccm-primary, #028D6A);
    background: rgba(2, 141, 106, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    word-break: break-all;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ccm-resume-banner-copy {
    background: var(--ccm-primary, #028D6A);
    color: #fff;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    min-height: 32px;
    flex-shrink: 0;
}

.ccm-resume-banner-copy:hover {
    background: var(--ccm-primary-dark, #027d5e);
}

@media (max-width: 768px) {
    .ccm-module-progress-inner {
        gap: 0;
    }

    .ccm-module-step {
        min-width: 60px;
    }

    .ccm-module-step-dot {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .ccm-module-step-label {
        font-size: 9px;
    }

    .ccm-module-step-line {
        min-width: 16px;
        max-width: 40px;
    }

    .ccm-resume-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .ccm-resume-banner-link {
        max-width: 100%;
    }
}

/* Informations personnelles — card style */
.ccm-personal-info .ccm-card-screen {
    max-width: 520px;
}

.ccm-profile-intro {
    font-size: 15px;
    color: var(--ccm-gray-500);
    margin: 4px 0 28px 0;
    line-height: 1.5;
}

.ccm-profile-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.ccm-form-group {
    display: flex;
    flex-direction: column;
}

.ccm-form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ccm-gray-700);
    font-size: 14px;
}

.ccm-input {
    padding: 12px 16px;
    border: 1px solid var(--ccm-gray-300);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.2s;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.ccm-input:focus {
    outline: none;
    border-color: var(--ccm-primary);
    box-shadow: 0 0 0 3px rgba(2, 141, 106, 0.4);
}

.ccm-input::placeholder {
    color: var(--ccm-gray-500);
}

.ccm-profile-validation {
    text-align: center;
    margin-top: 8px;
}

.ccm-profile-validation .validation-hint {
    color: var(--ccm-gray-500);
    font-size: 13px;
    margin-top: 10px;
}

/* Salary info block (v3.32.0) */
.ccm-salary-info {
    display: flex;
    gap: 12px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 8px;
    padding: 14px 16px;
    margin-top: 12px;
    margin-bottom: 4px;
}
.ccm-salary-info-icon { font-size: 1.4rem; flex-shrink: 0; }
.ccm-salary-info-content { font-size: 0.85rem; color: #1E40AF; line-height: 1.5; }
.ccm-salary-info-content strong { display: block; margin-bottom: 6px; font-size: 0.9rem; }
.ccm-salary-info-content p { margin: 0 0 8px; }
.ccm-salary-info-content ul { margin: 0; padding-left: 18px; }
.ccm-salary-info-content li { margin-bottom: 3px; }

/* Salary / optional fields (v3.30.0) */
.ccm-optional-group {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--ccm-gray-300, #d1d5db);
}
.ccm-optional-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: #6B7280;
    background: #E5E7EB;
    border: 1px solid #D1D5DB;
    padding: 2px 7px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}
.ccm-field-hint {
    font-size: 0.75rem;
    color: #9CA3AF;
    font-style: italic;
    margin: 4px 0 10px;
    line-height: 1.4;
}
.ccm-salary-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ccm-salary-amount {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ccm-salary-amount .ccm-input {
    max-width: 180px;
}
.ccm-input-suffix {
    font-size: 0.8rem;
    color: #6B7280;
    white-space: nowrap;
}
.ccm-label-sm {
    font-size: 0.8rem;
    font-weight: 500;
    color: #374151;
    display: block;
    margin-bottom: 6px;
}
.ccm-radio-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    color: #374151;
}
.ccm-radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.ccm-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #374151;
    cursor: pointer;
}

/* Salary step (v3.34.0) */
#ccm-salary-step .ccm-card-screen { max-width: 520px; }
.ccm-salary-step-intro {
    font-size: 0.88rem;
    color: #374151;
    line-height: 1.55;
    margin: 0 0 8px;
}
.ccm-salary-step-gains {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.ccm-salary-step-gains li {
    position: relative;
    padding: 5px 0 5px 24px;
    font-size: 0.88rem;
    color: #374151;
    line-height: 1.5;
}
.ccm-salary-step-gains li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 5px;
    color: #16a34a;
    font-weight: 700;
    font-size: 0.9rem;
}
.ccm-salary-step-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}
.ccm-salary-step-confidential {
    font-size: 0.82rem;
    color: #374151;
    line-height: 1.5;
    margin: 0 0 20px;
    padding: 10px 14px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
}
.ccm-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background: white;
    appearance: auto;
    cursor: pointer;
}
.ccm-select:focus {
    outline: none;
    border-color: var(--ccm-primary, #028D6A);
    box-shadow: 0 0 0 3px rgba(2, 141, 106, 0.15);
}

.ccm-form-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

/* Catégories */
.ccm-category {
    margin-bottom: 40px;
}

.ccm-category-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ccm-gray-900);
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ccm-gray-200);
}

/* Critères */
.ccm-criterion {
    background: var(--ccm-gray-50);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.2s;
}

.ccm-criterion:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ccm-criterion-header {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.ccm-criterion-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--ccm-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.ccm-criterion-content {
    flex: 1;
}

.ccm-criterion-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--ccm-gray-900);
    margin: 0 0 8px 0;
}

.ccm-criterion-description {
    font-size: 14px;
    color: var(--ccm-gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Options de notation */
.ccm-rating-options {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.ccm-rating-option {
    flex: 1;
    min-width: 140px;
}

.ccm-rating-option input[type="radio"] {
    display: none;
}

.ccm-rating-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    background: white;
    border: 2px solid var(--ccm-gray-300);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.ccm-rating-label:hover {
    border-color: var(--ccm-primary);
    transform: translateY(-2px);
}

.ccm-rating-option input[type="radio"]:checked + .ccm-rating-label {
    background: var(--ccm-primary);
    border-color: var(--ccm-primary);
    color: white;
}

.ccm-rating-number {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ccm-rating-text {
    font-size: 13px;
    font-weight: 500;
}

/* Section commentaires */
.ccm-comments-section {
    margin-top: 16px;
}

/* CRITIQUE : Style du lien commentaire */
.ccm-comments-toggle {
    color: var(--ccm-gray-500);
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 8px;
    padding: 8px 0;
    min-height: 44px;
    box-sizing: border-box;
}

.ccm-comments-toggle:hover {
    color: var(--ccm-primary);
}

.ccm-comments-content {
    display: none;
    margin-top: 8px;
}

.ccm-comments-content.show {
    display: block;
}

.ccm-comment-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--ccm-gray-300);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

.ccm-comment-textarea:focus {
    outline: none;
    border-color: var(--ccm-primary);
    box-shadow: 0 0 0 3px rgba(2, 141, 106, 0.4);
}

/* Bouton de soumission */
.ccm-submit-section {
    text-align: center;
    margin-top: 50px;
}

/* Submit button — inherits .ccm-cta-col-btn + --primary, adds larger sizing */
.ccm-submit-button {
    padding: 16px 48px;
    font-size: 18px;
}

.ccm-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 141, 106, 0.3);
}

.ccm-submit-note {
    margin-top: 16px;
    color: var(--ccm-gray-600);
    font-size: 14px;
}

/* Messages */
.ccm-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 500;
}

.ccm-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.ccm-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* ===================================
   PAGE DE RÉSULTATS
   =================================== */

/* Profil Info */
.ccm-profile-info {
    text-align: center;
    margin-bottom: 40px;
}

.ccm-profile-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.ccm-company {
    font-size: 16px;
    color: var(--ccm-gray-600);
    margin: 0 0 8px 0;
}

.ccm-meta {
    font-size: 14px;
    color: var(--ccm-gray-500);
}

.ccm-level {
    font-weight: 600;
    color: var(--ccm-primary);
}

/* Score Global */
.ccm-global-score {
    text-align: center;
    margin-bottom: 50px;
}

.ccm-score-card {
    background: linear-gradient(135deg, var(--ccm-primary) 0%, var(--ccm-primary-dark) 100%);
    color: white;
    padding: 32px;
    border-radius: 16px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(2, 141, 106, 0.25);
}

.ccm-score-card h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    opacity: 0.9;
}

.ccm-score-value {
    font-size: 72px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.ccm-score-average {
    font-size: 24px;
    margin: 0 0 16px 0;
    opacity: 0.9;
}

.ccm-score-meta {
    font-size: 14px;
    opacity: 0.8;
}

/* Graphique Radar */
.ccm-chart-section {
    background: white;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

.ccm-chart-section h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0 0 8px 0;
    text-align: center;
}

.ccm-chart-description {
    text-align: center;
    color: var(--ccm-gray-600);
    margin: 0 0 30px 0;
}

.ccm-chart-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

/* Résultats Grid */
.ccm-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.ccm-result-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

.ccm-card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.ccm-result-card h3 {
    font-size: 20px;
    margin: 0 0 8px 0;
}

.ccm-card-subtitle {
    font-size: 14px;
    color: var(--ccm-gray-600);
    margin: 0 0 20px 0;
}

.ccm-result-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ccm-result-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--ccm-gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ccm-result-list li:last-child {
    border-bottom: none;
}

.ccm-result-list .ccm-score {
    font-weight: 700;
    color: var(--ccm-primary);
}

.ccm-strengths {
    border-top: 4px solid var(--ccm-success);
}

.ccm-improvements {
    border-top: 4px solid var(--ccm-warning);
}

/* Tableau détaillé */
.ccm-detailed-results {
    background: white;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 50px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ccm-detailed-results h3 {
    font-size: 24px;
    margin: 0 0 8px 0;
}

.ccm-table-description {
    color: var(--ccm-gray-600);
    margin: 0 0 30px 0;
}

.ccm-table-wrapper {
    overflow-x: auto;
}

.ccm-results-table {
    width: 100%;
    border-collapse: collapse;
}

.ccm-results-table thead {
    background: var(--ccm-gray-100);
}

.ccm-results-table th,
.ccm-results-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--ccm-gray-200);
}

.ccm-results-table th {
    font-weight: 600;
    color: var(--ccm-gray-700);
    font-size: 14px;
}

.ccm-vertical-row {
    background: rgba(2, 141, 106, 0.05);
}

.ccm-horizontal-row {
    background: rgba(236, 72, 153, 0.05);
}

.ccm-type-icon {
    margin-right: 8px;
}

.ccm-score-cell {
    font-weight: 600;
    color: var(--ccm-primary);
}

.ccm-progress-bar {
    height: 8px;
    background: var(--ccm-gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 4px;
}

.ccm-progress-fill {
    height: 100%;
    background: var(--ccm-primary);
    transition: width 0.3s;
}

.ccm-percentage {
    font-size: 12px;
    color: var(--ccm-gray-600);
}

/* Action Plan Section (v3.13.3) */
.ccm-action-plan-section {
    margin-bottom: 48px;
}

.ccm-action-plan-recs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 2rem;
}

.ccm-action-plan-rec {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--ds-white);
    border: 1px solid var(--ds-border-light);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.ccm-action-plan-rec-rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ds-teal);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ccm-action-plan-rec-content {
    flex: 1;
    min-width: 0;
}

.ccm-action-plan-rec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ccm-action-plan-rec-cat {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ds-text);
}

.ccm-action-plan-rec-scores {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
}

.ccm-action-plan-rec-arrow {
    color: var(--ds-text-light);
    font-size: 0.75rem;
}

.ccm-action-plan-rec-bar {
    height: 4px;
    background: var(--ds-border-light);
    border-radius: 2px;
    position: relative;
    margin-bottom: 8px;
}

.ccm-action-plan-rec-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.ccm-action-plan-rec-bar-target {
    position: absolute;
    top: -3px;
    width: 2px;
    height: 10px;
    background: var(--ds-teal);
    border-radius: 1px;
    transform: translateX(-50%);
}

.ccm-action-plan-rec-formations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.ccm-action-plan-rec-formation {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: var(--ds-teal);
    text-decoration: none;
    padding: 3px 8px;
    background: var(--ds-teal-pale, rgba(2, 141, 106, 0.06));
    border-radius: 6px;
    transition: background 0.15s;
}

.ccm-action-plan-rec-formation:hover {
    background: rgba(2, 141, 106, 0.12);
}

.ccm-action-plan-rec-formation-duration {
    color: var(--ds-text-light);
    font-size: 0.65rem;
}

/* Coach action plans */
.ccm-action-plan-coach {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ds-border-light);
}

.ccm-action-plan-coach-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ds-text);
    margin: 0 0 1rem 0;
}

.ccm-action-plan-coach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.ccm-action-plan-coach-card {
    background: var(--ds-white);
    border: 1px solid var(--ds-border-light);
    border-left: 3px solid;
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.ccm-action-plan-coach-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ccm-action-plan-coach-card-header h5 {
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0;
    color: var(--ds-text);
}

.ccm-plan-status-badge {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.ccm-action-plan-coach-card-desc {
    font-size: 0.82rem;
    color: var(--ds-text-muted);
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.ccm-action-plan-coach-card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--ds-text-light);
}

.ccm-overdue {
    color: var(--ds-red);
    font-weight: 600;
}

.ccm-due-soon {
    color: var(--ds-amber);
    font-weight: 600;
}

@media (max-width: 768px) {
    .ccm-action-plan-rec {
        padding: 0.75rem 1rem;
    }

    .ccm-action-plan-rec-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .ccm-action-plan-coach-grid {
        grid-template-columns: 1fr;
    }
}

/* Coach debrief block — profil privé */
.ccm-coach-debrief {
    background: var(--ds-white, #fff);
    border: 1px solid var(--ds-border, #DCE3EC);
    border-radius: var(--ds-r, 14px);
    padding: 2rem 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ccm-coach-debrief-icon {
    font-size: 48px;
    margin-bottom: 1rem;
}

.ccm-coach-debrief-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ds-text, #17243A);
    margin: 0 0 1rem 0;
}

.ccm-coach-debrief-text {
    font-size: 14px;
    color: var(--ds-text-muted, #4A5568);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.ccm-coach-debrief-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
    display: inline-block;
}

.ccm-coach-debrief-list li {
    font-size: 14px;
    color: var(--ds-text-muted, #4A5568);
    padding: 6px 0;
    position: relative;
    padding-left: 24px;
}

.ccm-coach-debrief-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--ds-teal, #1B9B7A);
    font-weight: 700;
}

.ccm-coach-debrief-note {
    font-size: 13px;
    color: var(--ds-text-light, #6B7580);
    margin: 0;
    font-style: italic;
}

/* Coach notes display for candidate view */
.ccm-coach-debrief-notes {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    text-align: left;
}

.ccm-coach-debrief-note-card {
    background: var(--ds-bg, #F7F9FB);
    border: 1px solid var(--ds-border-light, #E2E8F0);
    border-radius: 8px;
    padding: 16px 20px;
}

.ccm-coach-debrief-note-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ds-dark, #0F2B3C);
    margin: 0 0 12px 0;
}

.ccm-coach-debrief-note-section {
    margin-bottom: 10px;
}

.ccm-coach-debrief-note-section:last-child {
    margin-bottom: 0;
}

.ccm-coach-debrief-note-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ds-teal, #028D6A);
    margin-bottom: 4px;
}

.ccm-coach-debrief-note-section p {
    font-size: 14px;
    color: var(--ds-text-muted, #4A5568);
    line-height: 1.5;
    margin: 0;
}

/* CTA Stratégique 3 colonnes (v7c) */
.ccm-cta-strategic {
    margin-bottom: 48px;
}

.ccm-cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 1rem 0 24px;
}

.ccm-cta-grid--duo {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ccm-cta-col {
    background: var(--ds-white);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-r, 14px);
    padding: 28px 24px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ccm-cta-col:hover {
    border-color: var(--ds-teal-border);
    box-shadow: 0 4px 16px rgba(27, 155, 122, 0.08);
}

.ccm-cta-col--featured {
    border: 2px solid var(--ds-teal);
}

.ccm-cta-col-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ds-teal);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.ccm-cta-col-icon {
    font-size: 32px;
    margin-bottom: 14px;
    line-height: 1;
}

.ccm-cta-col-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--ds-text);
    margin: 0 0 8px 0;
}

.ccm-cta-col-desc {
    font-size: 13px;
    color: var(--ds-text-muted);
    margin: 0 0 14px 0;
    line-height: 1.5;
}

.ccm-cta-col-features {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    text-align: left;
    width: 100%;
}

.ccm-cta-col-features li {
    font-size: 13px;
    color: var(--ds-text-muted);
    padding: 5px 0;
    border-bottom: 1px solid var(--ds-border-light);
    position: relative;
    padding-left: 22px;
}

.ccm-cta-col-features li:last-child {
    border-bottom: none;
}

.ccm-cta-col-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--ds-teal);
    font-weight: 700;
    font-size: 12px;
}

.ccm-cta-col-btn {
    display: inline-block;
    padding: 11px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    border: none !important;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: auto;
    min-width: 170px;
    min-height: 44px;
    text-align: center;
    cursor: pointer;
    line-height: 1.4;
}

.ccm-cta-col-btn:disabled {
    background: var(--ccm-gray-400) !important;
    color: #fff;
    cursor: not-allowed;
    transform: none;
}

.ccm-cta-col-btn--primary {
    background: var(--ds-teal);
    color: #fff;
}

.ccm-cta-col-btn--primary:hover {
    background: var(--ds-teal-light);
}

.ccm-cta-col-btn--outline {
    background: var(--ds-white);
    color: var(--ds-teal);
    border: 1.5px solid var(--ds-teal) !important;
}

.ccm-cta-col-btn--outline:hover {
    background: var(--ds-teal-pale);
}

.ccm-cta-col-price {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ds-text-light);
}

.ccm-cta-strategic-footer {
    font-size: 12px;
    color: var(--ds-text-light);
    margin: 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .ccm-evaluation-wrapper,
    .ccm-results-wrapper {
        padding: 20px 15px;
    }

    .ccm-evaluation-header h1,
    .ccm-results-title {
        font-size: 28px;
    }

    .ccm-section {
        padding: 20px;
    }

    .ccm-rating-options {
        flex-direction: column;
    }

    .ccm-rating-option {
        min-width: 100%;
    }

    .ccm-score-value {
        font-size: 56px;
    }

    .ccm-results-grid {
        grid-template-columns: 1fr;
    }

    .ccm-cta-grid {
        grid-template-columns: 1fr;
    }

    .ccm-cta-col--featured {
        order: -1;
    }

    .ccm-cta-strategic-title {
        font-size: 22px;
    }

    .ccm-chart-section,
    .ccm-calibration-results,
    .ccm-comparison-section,
    .ccm-history-section,
    .ccm-quadrant-section {
        padding: 20px;
    }

    .ccm-score-card {
        padding: 24px 20px;
    }
}

/* ===================================
   SYSTÈME DE CALIBRATION
   Version: 1.5.0.3
   =================================== */

/* Introduction calibration */
.ccm-calibration-intro {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ccm-gray-700);
    margin-bottom: 25px;
    padding: 20px;
    background: #ecfdf5;
    border-left: 4px solid var(--ccm-vertical);
    border-radius: 6px;
}

.ccm-calibration-steps-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    border: 2px solid var(--ccm-gray-200);
}

.step-preview {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ccm-vertical);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
}

.step-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ccm-gray-700);
}

.step-arrow {
    color: var(--ccm-gray-500);
    font-size: 20px;
}

/* Conteneur de compétence calibration */
.ccm-competence-calibration {
    margin-bottom: 40px;
    padding: 35px;
    background: transparent;
    border-radius: 16px;
    border: none;
    transition: all 0.3s ease;
}

.ccm-competence-calibration.completed {
    border: none;
    background: transparent;
}

/* Étapes calibration */
.calibration-step {
    min-height: 200px;
}

.calibration-step h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--ccm-gray-900);
}

/* Icône de compétence */
.calibration-step h3 .competence-icon {
    margin-right: 10px;
    font-size: 32px;
}

/* Description de compétence */
.competence-description {
    font-size: 15px;
    color: var(--ccm-gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.step-instruction {
    font-size: 16px;
    color: var(--ccm-gray-600);
    margin-bottom: 25px;
}

/* Options de rating calibration (Étape 1) - Utilise .ccm-card-* */

/* Checklist (Étape 2) */
.checklist-container {
    margin: 20px 0;
}

.checklist-level {
    margin-bottom: 30px;
}

.level-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ccm-vertical);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--ccm-vertical);
}

.items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.checklist-item:hover {
    background: #ecfdf5;
    border-color: var(--ccm-vertical);
}

.checklist-item input[type="checkbox"] {
    margin-right: 15px;
    margin-top: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.item-number {
    display: inline-block;
    min-width: 50px;
    padding: 4px 10px;
    margin-right: 15px;
    background: linear-gradient(135deg, var(--ccm-vertical) 0%, #015A44 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    text-align: center;
}

.item-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ccm-gray-800);
}

/* Questions (Étape 3) */
.question-container {
    margin: 30px 0;
}

.question-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    padding: 25px;
    background: white;
    border-left: 5px solid var(--ccm-vertical);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.answer-option {
    display: flex;
    align-items: flex-start;
    padding: 18px;
    background: white;
    border: 3px solid var(--ccm-gray-200);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.answer-option:hover {
    border-color: #9AACA4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.answer-option input[type="radio"] {
    margin-right: 15px;
    margin-top: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.answer-option input[type="radio"]:checked + .answer-text {
    font-weight: 700;
    color: var(--ccm-vertical);
}

.answer-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ccm-gray-800);
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* Résultat calibration (Étape 5) */
.calibration-result {
    padding: 35px;
    background: white;
    border-radius: 16px;
    border: 4px solid var(--ccm-gray-200);
}

.calibration-result.good {
    border-color: var(--ccm-success);
}

.calibration-result.warning {
    border-color: var(--ccm-warning);
}

.calibration-result.alert {
    border-color: var(--ccm-danger);
}

.score-display {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.score-main {
    flex: 1;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--ccm-vertical), #a78bfa);
    border-radius: 16px;
    color: white;
}

.score-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0.9;
}

.score-value {
    display: block;
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
}

.score-max {
    font-size: 28px;
    opacity: 0.8;
}

.score-comparison {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.score-item {
    padding: 18px;
    background: var(--ccm-gray-50);
    border-radius: 10px;
    border: 2px solid var(--ccm-gray-200);
}

.score-label-small {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ccm-gray-600);
    margin-bottom: 5px;
}

.score-value-small {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--ccm-gray-900);
}

.coherence-message {
    padding: 25px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.8;
    margin: 25px 0;
}

.coherence-message.good {
    background: #d1fae5;
    color: #065f46;
    border: 3px solid var(--ccm-success);
}

.coherence-message.warning {
    background: #fef3c7;
    color: #92400e;
    border: 3px solid var(--ccm-warning);
}

.coherence-message.alert {
    background: #fee2e2;
    color: #991b1b;
    border: 3px solid var(--ccm-danger);
}

/* Badge de complétion */
.calibration-completed-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, var(--ccm-success), #34d399);
    border-radius: 12px;
    color: white;
}

.badge-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--ccm-success);
    border-radius: 50%;
    font-size: 32px;
    font-weight: 700;
}

.badge-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.badge-content p {
    margin: 0;
    opacity: 0.95;
    font-size: 15px;
}

/* Message de complétion */
.ccm-calibration-completion-message {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-radius: 16px;
    margin: 40px 0;
}

.completion-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.ccm-calibration-completion-message h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--ccm-gray-900);
    margin-bottom: 10px;
}

.ccm-calibration-completion-message p {
    font-size: 16px;
    color: var(--ccm-gray-700);
}

/* Navigation entre étapes */
.step-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 35px;
}

.ccm-btn-next,
.ccm-btn-back,
.ccm-btn-validate {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.ccm-btn-next,
.ccm-btn-validate {
    background: linear-gradient(135deg, #028D6A, #015A44);
    color: white;
    box-shadow: 0 4px 12px rgba(2, 141, 106, 0.25);
}

.ccm-btn-next:hover,
.ccm-btn-validate:hover {
    background: linear-gradient(135deg, #015A44, #004d35);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 141, 106, 0.35);
}

.ccm-btn-back {
    background: white;
    color: #3A8C9B;
    border: 1px solid #3A8C9B;
}

.ccm-btn-back:hover {
    background: #3A8C9B;
    color: #FFF;
}

/* Loading spinner */
.loading-spinner {
    text-align: center;
    padding: 80px 20px;
    font-size: 24px;
    color: var(--ccm-vertical);
    font-weight: 600;
}

/* Message de pause (inactivité) */
.ccm-pause-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ccm-pause-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.ccm-pause-card h3 {
    color: #1f2937;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
}

.ccm-pause-card p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.ccm-pause-card button {
    margin-top: 20px;
}

/* Écran d'accueil évaluation (Phase 2) */
.welcome-intro {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 30px;
    text-align: center;
}

.ccm-competences-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .ccm-competences-overview {
        grid-template-columns: 1fr;
    }
}

/* Welcome cards — friction-card style (v3.34.0) */
.ccm-welcome-card {
    background: white;
    border: 1px solid var(--ds-border-light, #e5e7eb);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.ccm-welcome-card:hover {
    border-color: var(--ccm-primary, #028D6A);
    box-shadow: 0 6px 20px rgba(2, 141, 106, 0.08);
}
.ccm-welcome-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
}
.ccm-welcome-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1.5px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.ccm-welcome-card-info { flex: 1; min-width: 0; }
.ccm-welcome-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ds-text, #1e293b);
    margin: 0;
}
.ccm-welcome-card-sub {
    font-size: 0.78rem;
    color: var(--ds-text-muted, #64748b);
    margin-top: 2px;
}
.ccm-welcome-card-body {
    padding: 20px 24px 24px;
}
.ccm-welcome-card-desc {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0 0 16px;
}
.ccm-welcome-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.ccm-welcome-card-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #f8fafc;
    font-size: 14px;
    color: #374151;
}
.ccm-welcome-card-list li:last-child { border-bottom: none; }
.ccm-welcome-comp-name { font-weight: 500; }

/* Unified badge styles for V and H (v3.34.0) */
.badge-pending,
.competence-status-badge.badge-pending {
    background: #f3f4f6;
    color: #6b7280;
    font-weight: 600;
}

.badge-completed,
.competence-status-badge.badge-completed {
    background: #d1fae5;
    color: #065f46;
    font-weight: 600;
}

.badge-in-progress,
.competence-status-badge.badge-in-progress {
    background: #dbeafe;
    color: #2563eb;
    font-weight: 600;
}

.competence-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ccm-welcome-card-header .status-badge {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
}

/* Legacy card classes kept for backward compat */
.ccm-competence-group-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.card-description {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 15px;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.card-list li {
    padding: 8px 0;
    color: #374151;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ccm-evaluation-explanation {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
}

.ccm-evaluation-explanation h3 {
    margin-top: 0;
    color: #1f2937;
}

.ccm-evaluation-explanation ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.ccm-evaluation-explanation li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.ccm-evaluation-explanation li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #028D6A;
    font-weight: bold;
    font-size: 16px;
}

/* Progression et navigation horizontale (Phase 3) */
.ccm-horizontal-progress {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 30px;
    text-align: center;
}

.ccm-horizontal-progress .progress-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    color: #374151;
}

.ccm-horizontal-progress .current-group {
    font-weight: 600;
    color: #028D6A;
}

.ccm-horizontal-progress .total-groups {
    color: #6b7280;
}

.ccm-horizontal-progress .group-size {
    color: #6b7280;
    font-size: 14px;
}

.ccm-horizontal-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    padding: 20px 0;
}

.ccm-horizontal-nav button {
    min-width: 150px;
}

/* Responsive pour calibration */
@media (max-width: 768px) {
    .ccm-calibration-steps-preview {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .rating-number-big {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .score-display {
        flex-direction: column;
    }
    
    .score-value {
        font-size: 56px;
    }
    
    .calibration-completed-badge {
        flex-direction: column;
        text-align: center;
    }

    /* Navigation horizontale responsive */
    .ccm-horizontal-nav {
        flex-direction: column;
        gap: 10px;
    }

    .ccm-horizontal-nav button {
        width: 100%;
    }

    .ccm-competences-overview {
        grid-template-columns: 1fr;
    }
}

/* Fin styles calibration */

/* ===================================
   Results Page - Inline Styles Extracted
   Version: 1.5.0.3
   =================================== */

/* View Selector (360°) */
.ccm-view-selector {
    background: #f0f9ff;
    border: 2px solid #0ea5e9;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.ccm-view-selector h3 {
    margin: 0 0 15px 0;
    color: #0369a1;
}

.ccm-view-selector-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.ccm-view-selector-controls label {
    font-weight: 600;
    color: #0369a1;
}

.ccm-view-selector-controls select {
    padding: 10px 15px;
    border: 2px solid #0ea5e9;
    border-radius: 8px;
    font-size: 14px;
    min-width: 300px;
}

.ccm-view-selector-hint {
    margin: 10px 0 0 0;
    color: #666;
    font-size: 13px;
}

/* Calibration Results Section */
.ccm-calibration-results {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 30px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.ccm-calibration-results-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.ccm-calibration-results-icon {
    width: 48px;
    height: 48px;
    background: var(--ccm-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.ccm-calibration-results-title {
    margin: 0;
    color: #1e293b;
    font-size: 20px;
    font-weight: 700;
}

.ccm-calibration-results-subtitle {
    margin: 4px 0 0 0;
    color: #64748b;
    font-size: 14px;
}

.ccm-calibration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

/* Calibration Card */
.ccm-calibration-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: box-shadow 0.2s;
}

.ccm-calibration-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ccm-calibration-card--good {
    border-left: 4px solid #10b981;
}

.ccm-calibration-card--warning {
    border-left: 4px solid #f59e0b;
}

.ccm-calibration-card--alert {
    border-left: 4px solid #ef4444;
}

.ccm-calibration-card-title {
    margin: 0;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
}

.ccm-calibration-card-title .icon {
    font-size: 24px;
}

.ccm-calibration-scores {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ccm-calibration-score-item {
    text-align: center;
    flex: 1;
}

.ccm-calibration-score-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 5px;
}

.ccm-calibration-score-value {
    font-size: 28px;
    font-weight: 700;
}

.ccm-calibration-score-value--muted {
    color: #6b7280;
}

.ccm-calibration-score-value--good {
    color: var(--ccm-success-text);
}

.ccm-calibration-score-value--warning {
    color: var(--ccm-warning-text);
}

.ccm-calibration-score-value--alert {
    color: #ef4444;
}

.ccm-calibration-arrow {
    font-size: 24px;
    color: #94a3b8;
}

/* Coherence Badge */
.ccm-coherence-badge {
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

.ccm-coherence-badge--good {
    background: #d1fae5;
}

.ccm-coherence-badge--warning {
    background: #fef3c7;
}

.ccm-coherence-badge--alert {
    background: #fee2e2;
}

.ccm-coherence-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ccm-coherence-badge-status {
    font-size: 13px;
    font-weight: 600;
}

.ccm-coherence-badge-status--good {
    color: var(--ccm-success-text);
}

.ccm-coherence-badge-status--warning {
    color: var(--ccm-warning-text);
}

.ccm-coherence-badge-status--alert {
    color: #ef4444;
}

.ccm-coherence-direction {
    font-size: 12px;
    color: #374151;
    font-weight: 500;
}

/* Calibration Details */
.ccm-calibration-details {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.5;
}

.ccm-calibration-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}

.ccm-calibration-detail-row + .ccm-calibration-detail-row {
    border-top: 1px solid #e5e7eb;
}

.ccm-calibration-detail-value {
    font-weight: 600;
}

.ccm-calibration-detail-value--success {
    color: var(--ccm-success-text);
}

.ccm-calibration-detail-value--warning {
    color: var(--ccm-warning-text);
}

/* Coach Insights */
.ccm-coach-insights {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border-left: 5px solid #028D6A;
}

.ccm-coach-insights-title {
    margin: 0 0 15px 0;
    color: #013D2E;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ccm-coach-insights-title .icon {
    font-size: 20px;
}

.ccm-insight-box {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 6px;
}

.ccm-insight-box--danger {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
}

.ccm-insight-box--info {
    background: #dbeafe;
    border-left: 4px solid #3b82f6;
}

.ccm-insight-box--success {
    background: #d1fae5;
    border-left: 4px solid #10b981;
}

.ccm-insight-box-title {
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.ccm-insight-box--danger .ccm-insight-box-title {
    color: #991b1b;
}

.ccm-insight-box--info .ccm-insight-box-title {
    color: #1e40af;
}

.ccm-insight-box--success .ccm-insight-box-title {
    color: #065f46;
}

.ccm-insight-box ul {
    margin: 0;
    padding-left: 20px;
}

.ccm-insight-box--danger ul,
.ccm-insight-box--danger p {
    color: #7f1d1d;
}

.ccm-insight-box--info ul,
.ccm-insight-box--info p {
    color: #1e3a8a;
}

.ccm-insight-box--success p {
    color: #065f46;
}

.ccm-insight-recommendation {
    margin: 10px 0 0 0;
    font-size: 13px;
}

/* Calibration Info Box */
.ccm-calibration-info {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 2px solid #ddd6fe;
}

.ccm-calibration-info p {
    margin: 0;
    font-size: 13px;
    color: #5b21b6;
    line-height: 1.6;
}

/* Comparison Table */
.ccm-comparison-section {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

.ccm-comparison-section h3 {
    margin: 0 0 20px 0;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.ccm-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ccm-comparison-table thead tr {
    background: #f8fafc;
}

.ccm-comparison-table th {
    padding: 12px;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
}

.ccm-comparison-table th:first-child {
    text-align: left;
}

.ccm-comparison-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.ccm-comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.ccm-comparison-hint {
    margin: 15px 0 0 0;
    color: #666;
    font-size: 12px;
}

/* History Section */
.ccm-history-section {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

.ccm-history-section > h3 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.ccm-history-section > p {
    margin: 0 0 20px 0;
    color: #64748b;
    font-size: 14px;
}

/* Score Cards Row */
.ccm-score-cards-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.ccm-score-card-mini {
    background: white;
    border-radius: 10px;
    padding: 20px;
    flex: 1;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ccm-score-card-mini-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.ccm-score-card-mini-value {
    font-size: 32px;
    font-weight: bold;
}

.ccm-score-card-mini-value--muted {
    color: #6b7280;
}

.ccm-score-card-mini-value--success {
    color: var(--ccm-success-text);
}

.ccm-score-card-mini-value--danger {
    color: #ef4444;
}

.ccm-score-card-mini-date {
    font-size: 12px;
    color: #6b7280;
}

/* Chart Box */
.ccm-chart-box {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ccm-chart-box h4 {
    margin: 0 0 15px 0;
    color: #065f46;
}

.ccm-chart-box .chart-container {
    height: 250px;
}

/* History Table */
.ccm-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ccm-history-table thead tr {
    background: #f0fdf4;
}

.ccm-history-table th {
    padding: 10px;
    border-bottom: 2px solid #d1fae5;
}

.ccm-history-table th:first-child {
    text-align: left;
}

.ccm-history-table td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.ccm-history-table td:first-child {
    text-align: left;
    font-weight: 500;
}

/* Progression Boxes */
.ccm-progression-boxes {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.ccm-progression-box {
    background: white;
    border-radius: 10px;
    padding: 15px;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ccm-progression-box h4 {
    margin: 0 0 10px 0;
}

.ccm-progression-box--good h4 {
    color: var(--ccm-success-text);
}

.ccm-progression-box--warning h4 {
    color: var(--ccm-warning-text);
}

.ccm-progression-box ul {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
}

.ccm-progression-box li {
    margin-bottom: 5px;
}

/* Action Plans on Results Page */
.ccm-results-plans-section {
    margin-top: 40px;
}

.ccm-results-plans-section > h2 {
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ccm-results-plans-section > h2 .icon {
    font-size: 1.4em;
}

.ccm-results-plans-grid {
    display: grid;
    gap: 20px;
}

.ccm-results-plan-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid;
}

.ccm-results-plan-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.ccm-results-plan-card-title {
    margin: 0;
    color: #1e293b;
    font-size: 18px;
}

.ccm-plan-status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.ccm-plan-status-badge--pending {
    background: #fef3c7;
    color: #92400e;
}

.ccm-plan-status-badge--in_progress {
    background: #dbeafe;
    color: #1e40af;
}

.ccm-plan-status-badge--completed {
    background: #dcfce7;
    color: #166534;
}

.ccm-results-plan-description {
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.6;
    white-space: pre-wrap;
}

.ccm-results-plan-description--empty {
    color: #64748b;
    font-style: italic;
}

.ccm-results-plan-footer {
    display: flex;
    gap: 20px;
    color: #64748b;
    font-size: 14px;
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
}

.ccm-overdue {
    color: #dc2626;
    margin-left: 8px;
}

.ccm-due-soon {
    color: #d97706;
    margin-left: 8px;
}

/* Export PDF Button */
.ccm-export-actions {
    margin-top: 20px;
}

/* #ccm-download-pdf + #ccm-share-btn — forced CTA outline (v3.26.32) */
#ccm-download-pdf,
#ccm-share-btn {
    background: #FFFFFF !important;
    color: #1B9B7A !important;
    border: 1.5px solid #1B9B7A !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 20px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}
#ccm-download-pdf:hover,
#ccm-share-btn:hover {
    background: #E8F7F3 !important;
}

#ccm-pdf-status {
    margin-left: 15px;
    color: #666;
    font-size: 13px;
}

/* Chart Legend */
.ccm-chart-legend {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.ccm-chart-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ccm-chart-legend-color {
    width: 20px;
    height: 3px;
}

.ccm-chart-legend-label {
    font-size: 13px;
}

/* Légende type de compétence (vertical/horizontal) */
.ccm-competence-type-legend {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ccm-competence-type-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
}

.ccm-competence-type-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ccm-competence-type-item--vertical .ccm-competence-type-dot {
    background: #028D6A;
    box-shadow: 0 0 0 3px rgba(2, 141, 106, 0.15);
}

.ccm-competence-type-item--horizontal .ccm-competence-type-dot {
    background: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
}

/* Ecart column colors */
.ccm-ecart--high {
    color: #ef4444;
    font-weight: bold;
}

.ccm-ecart--medium {
    color: var(--ccm-warning-text);
}

.ccm-ecart--low {
    color: var(--ccm-success-text);
}

/* ===================================
   Badges de statut individuels
   =================================== */

.card-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.competence-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.competence-status-badge.badge-pending {
    background: #f3f4f6;
    color: #6b7280;
}

.competence-status-badge.badge-in-progress {
    background: #dbeafe;
    color: #2563eb;
}

.competence-status-badge.badge-completed {
    background: #d1fae5;
    color: #059669;
}

/* Boutons désactivés pour navigation horizontale */
.ccm-horizontal-nav button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ccm-horizontal-nav button:disabled:hover {
    background: var(--ccm-primary);
    transform: none;
}

/* ===================================
   v1.5.0.4 - Carte Profil (now integrated in .ccm-hero-v3 identity bar)
   =================================== */

.ccm-btn-pdf {
    background: var(--ds-teal, #028D6A);
    color: #fff;
    border: none;
    padding: 6px 16px;
    min-height: 44px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.ccm-btn-pdf:hover {
    background: var(--ds-teal-dark, #027d5e);
    box-shadow: 0 2px 8px rgba(2, 141, 106, 0.25);
}

.ccm-btn-pdf:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===================================
   v1.5.0.4 - Score Global Verticales
   =================================== */
.ccm-vertical-global-score {
    text-align: center;
    background: linear-gradient(135deg, #028D6A 0%, #015A44 100%);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.ccm-vertical-global-value {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.ccm-vertical-global-value span {
    font-size: 24px;
    font-weight: 400;
    opacity: 0.7;
}

.ccm-vertical-global-label {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 6px;
}

/* ===================================
   v1.5.0.4 - Bloc Pedagogique Collapsible
   =================================== */
.ccm-calibration-info-collapsible {
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.ccm-collapsible-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: #f8fafc;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: background 0.2s;
}

.ccm-collapsible-toggle:hover {
    background: #f1f5f9;
}

.ccm-collapsible-icon {
    font-size: 18px;
    font-weight: 700;
    color: #028D6A;
    transition: transform 0.2s;
}

.ccm-collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ccm-collapsible-open .ccm-collapsible-content {
    max-height: 200px;
}

.ccm-collapsible-open .ccm-collapsible-icon {
    transform: rotate(45deg);
}

.ccm-collapsible-content p {
    padding: 16px;
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    border-top: 1px solid #e2e8f0;
}

/* ===================================
   v1.5.0.4 - Cartes Competences Simplifiees
   =================================== */
.ccm-calibration-main-score {
    font-size: 42px;
    font-weight: 800;
    color: #028D6A;
    text-align: center;
    margin: 12px 0 8px;
    line-height: 1;
}

.ccm-calibration-main-score-max {
    font-size: 20px;
    font-weight: 400;
    color: #64748b;
}

.ccm-calibration-adjustment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    padding: 8px 0 4px;
}

.ccm-adjustment-from {
    color: #64748b;
    text-decoration: line-through;
}

.ccm-adjustment-arrow {
    color: #64748b;
}

.ccm-adjustment-to {
    font-weight: 600;
    color: #028D6A;
}

.ccm-adjustment-label {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.ccm-adjustment-label--good {
    background: #ecfdf5;
    color: #065f46;
}

.ccm-adjustment-label--warning {
    background: #fef3c7;
    color: #92400e;
}

.ccm-adjustment-label--alert {
    background: #fee2e2;
    color: #991b1b;
}

/* ===================================
   v1.5.0.4 - Graphique Cadrant
   =================================== */
.ccm-quadrant-section {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

.ccm-quadrant-section h3 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.ccm-quadrant-subtitle {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 20px 0;
}

.ccm-quadrant-container {
    text-align: center;
    margin-bottom: 20px;
}

.ccm-quadrant-container canvas {
    max-width: 100%;
    height: auto;
}

.ccm-quadrant-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 13px;
}

.ccm-quadrant-legend-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ccm-quadrant-legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ccm-quadrant-legend-item span:last-child {
    color: #475569;
    line-height: 1.4;
}

/* (Work style section removed in v1.5.0.5) */

@media (max-width: 768px) {
    .ccm-quadrant-legend {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   v1.5.0.5 - Card-Style Questionnaire System
   Inspire du style FWOptimisation Feature Impact Calculator
   =================================== */

/* Radios caches (step 1 calibration + step 3 quiz) */
.ccm-card-radio-hidden {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
    pointer-events: none;
}

/* Conteneur ecran question (step 3 quiz) */
.ccm-card-screen {
    max-width: 640px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Progress dots (step 3 quiz) */
.ccm-card-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
}

.ccm-card-progress-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--ccm-gray-600);
    min-width: 24px;
}

.ccm-card-progress-dots {
    display: flex;
    gap: 6px;
}

.ccm-progress-dot {
    height: 6px;
    width: 12px;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.ccm-progress-dot.dot-completed {
    background-color: #2D6A4F;
}

.ccm-progress-dot.dot-current {
    background-color: #1A1A1A;
    width: 32px;
}

.ccm-progress-dot.dot-pending {
    background-color: #C8D6D0;
}

/* Question heading - h2. prefix to override theme h2 rules */
h2.ccm-card-question,
.ccm-card-question {
    font-size: 20px !important;
    font-weight: 700;
    color: var(--ccm-gray-900);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

/* Category label (small, above the question) */
.ccm-card-category-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ccm-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 8px 0;
}

/* Subtitle */
.ccm-card-subtitle {
    font-size: 16px;
    color: var(--ccm-gray-600);
    margin: 0 0 32px 0;
    line-height: 1.5;
}

/* Options container */
.ccm-card-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

/* Individual option card */
.ccm-card-option {
    display: block;
    padding: 10px 16px;
    background: #fff;
    border: 2px solid #D8E2DE;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ccm-card-option:hover {
    border-color: #9AACA4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Selected state : bordure noire + fond sage */
.ccm-card-option--selected {
    border-color: #1A1A1A;
    background: #F0F5F3;
}

.ccm-card-option--selected:hover {
    border-color: #1A1A1A;
    background: #F0F5F3;
    transform: none;
    box-shadow: none;
}

/* Option content wrapper */
.ccm-card-option-content {
    display: block;
    width: 100%;
}

/* Option label (primary text) */
.ccm-card-option-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ccm-gray-900);
    line-height: 1.4;
}

/* Inline description within option label */
.ccm-card-option-desc-inline {
    font-weight: 400;
    color: var(--ccm-gray-500);
    font-size: 12px;
}

/* Option description (legacy block-level — hidden, replaced by inline) */
.ccm-card-option-desc {
    display: none;
}

/* Navigation link (retour + commentaire) */
.ccm-card-nav {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ccm-card-back-link {
    font-size: 16px;
    color: #666;
    text-decoration: none;
    cursor: pointer;
    padding: 12px 4px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.ccm-card-back-link:hover {
    color: #1A1A1A;
}

/* Override : Step 1 calibration cards - Utilise .ccm-card-option--selected natif */

/* Override : Horizontal criteria selection */
.ccm-rating-option input[type="radio"]:checked + .ccm-rating-label {
    background: #F0F5F3;
    border-color: #1A1A1A;
    color: var(--ccm-gray-900);
}

/* Scroll offset for scrollIntoView - shows breadcrumb above */
.ccm-horizontal-card-view,
.ccm-competence-calibration,
.ccm-calibration-section,
.ccm-competencies-section,
.ccm-horizontal-content {
    scroll-margin-top: 20px;
}

/* Category intro screen between competencies */
.ccm-category-intro {
    text-align: center;
    padding: 40px 20px;
}

.ccm-category-intro-icon {
    font-size: 52px;
    margin-bottom: 16px;
    line-height: 1;
}

.ccm-category-intro-title {
    font-size: 24px !important;
    font-weight: 700;
    color: var(--ccm-gray-900);
    margin: 0 0 12px 0;
}

.ccm-category-intro-description {
    font-size: 16px;
    color: var(--ccm-gray-600);
    line-height: 1.5;
    max-width: 480px;
    margin: 0 auto 24px auto;
}

.ccm-category-intro-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
    font-size: 14px;
    color: var(--ccm-gray-500);
}

.ccm-category-intro-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Category intro button — inherits .ccm-cta-col-btn + --primary */
.ccm-category-intro-btn {
    padding: 14px 36px;
    font-size: 16px;
    margin-bottom: 20px;
}

.ccm-category-intro .ccm-card-back-link {
    display: block;
    margin-top: 12px;
}

/* Responsive card-style */
@media (max-width: 768px) {
    h2.ccm-card-question,
    .ccm-card-question {
        font-size: 16px !important;
    }

    .ccm-category-intro {
        padding: 28px 16px;
    }

    .ccm-category-intro-icon {
        font-size: 40px;
    }

    .ccm-category-intro-title {
        font-size: 20px !important;
    }

    .ccm-category-intro-description {
        font-size: 14px;
    }

    .ccm-card-category-label {
        font-size: 12px;
    }

    .ccm-card-option {
        padding: 10px 14px;
    }
}

/* Horizontal card view extras */
.ccm-horizontal-card-view {
    min-height: 200px;
}

.ccm-comments-toggle-inline {
    font-size: 14px;
    color: var(--ccm-gray-500);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ccm-comments-toggle-inline:hover {
    color: var(--ccm-gray-700);
}

.ccm-horizontal-comment-zone {
    margin-top: 16px;
}

.ccm-horizontal-comment-zone .ccm-comment-textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px 16px;
    border: 2px solid #D8E2DE;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.ccm-horizontal-comment-zone .ccm-comment-textarea:focus {
    outline: none;
    border-color: var(--ccm-primary);
    box-shadow: 0 0 0 3px rgba(2, 141, 106, 0.4);
}

.ccm-card-global-progress {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.ccm-card-global-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.ccm-card-global-fill {
    height: 100%;
    background: linear-gradient(90deg, #2A5C4E, #4A8B7A);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.ccm-card-global-text {
    font-size: 13px;
    color: var(--ccm-gray-500);
}

/* ===================================
   v1.6.0 - Checklist Groups
   =================================== */
.checklist-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.checklist-group {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.checklist-group-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.checklist-group-level,
.checklist-group-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.checklist-group-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    flex: 1;
}

.checklist-group-count {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    background: #e2e8f0;
    padding: 2px 10px;
    border-radius: 20px;
}

.checklist-group-items {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 20px;
    cursor: pointer;
    background: #fff;
    border: 2px solid #D8E2DE;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.checklist-item:hover {
    border-color: #9AACA4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.checklist-item .checkbox-input {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    flex-shrink: 0;
    accent-color: var(--ccm-primary);
    cursor: pointer;
}

.checklist-item .checkmark {
    display: none;
}

.checklist-item .item-text {
    font-size: 15px;
    color: #334155;
    line-height: 1.5;
    font-weight: 500;
}

/* Checklist item checked state - card style */
.checklist-item:has(.checkbox-input:checked) {
    border-color: #1A1A1A;
    background: #F0F5F3;
}

.checklist-item .checkbox-input:checked ~ .item-text {
    color: #1e293b;
    font-weight: 600;
}

/* ===================================
   v1.6.0 - Calibration Detail Items
   =================================== */
.ccm-calibration-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.ccm-calibration-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    padding: 3px 0;
}

.ccm-detail-label {
    color: #64748b;
    font-weight: 500;
}

.ccm-detail-value {
    font-weight: 600;
    color: #475569;
}

.ccm-detail-success {
    color: #059669;
}

.ccm-detail-partial {
    color: #d97706;
}

.ccm-detail-fail {
    color: #dc2626;
}

.ccm-detail-good {
    color: #059669;
}

.ccm-detail-warning {
    color: #d97706;
}

.ccm-detail-alert {
    color: #dc2626;
}

/* ===================================
   v1.6.0 - Synthèse du Profil
   =================================== */
.ccm-synthesis-section {
    background: #fff;
    border-radius: var(--ccm-radius-lg);
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: var(--ccm-shadow);
    border: 1px solid var(--ccm-gray-100);
}

.ccm-synthesis-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 24px 0;
    letter-spacing: -0.02em;
}

.ccm-synthesis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .ccm-synthesis-grid {
        grid-template-columns: 1fr;
    }
}

.ccm-synthesis-card {
    border-radius: 12px;
    padding: 24px;
    border: 1px solid transparent;
}

.ccm-synthesis-card--strengths {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.ccm-synthesis-card--weaknesses {
    background: #fefce8;
    border-color: #fef08a;
}

.ccm-synthesis-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.ccm-synthesis-card-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.ccm-synthesis-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ccm-synthesis-icon--strengths {
    background: #dcfce7;
}

.ccm-synthesis-icon--strengths::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border: 3px solid #16a34a;
    border-radius: 50%;
    border-top-color: transparent;
    transform: rotate(45deg);
}

.ccm-synthesis-icon--weaknesses {
    background: #fef9c3;
}

.ccm-synthesis-icon--weaknesses::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 12px solid #ca8a04;
}

.ccm-synthesis-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.ccm-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.ccm-tag--strength {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.ccm-tag--weakness {
    background: #fef9c3;
    color: #854d0e;
    border: 1px solid #fef08a;
}

.ccm-synthesis-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.ccm-synthesis-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ccm-synthesis-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 13px;
}

.ccm-synthesis-cat {
    color: #334155;
    font-weight: 500;
}

.ccm-synthesis-score {
    font-weight: 700;
    font-size: 14px;
}

.ccm-synthesis-score--good {
    color: #059669;
}

.ccm-synthesis-score--weak {
    color: #d97706;
}

/* ===================================
   v1.6.0 - Style Professionnel FWO
   Refonte globale page résultats
   =================================== */

/* Override score card */
.ccm-score-card {
    background: linear-gradient(145deg, #028D6A 0%, #015A44 50%, #004d35 100%);
    border-radius: var(--ccm-radius-lg);
    padding: 36px 32px;
    color: white;
    text-align: center;
    box-shadow: 0 8px 24px rgba(2, 141, 106, 0.2), 0 2px 8px rgba(0, 0, 0, 0.06);
    max-width: 450px;
    margin: 0 auto;
}

.ccm-score-card h3 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 12px 0;
}

.ccm-score-value {
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.ccm-score-average {
    font-size: 16px;
    opacity: 0.85;
    margin: 0 0 4px 0;
    font-weight: 500;
}

.ccm-score-meta {
    font-size: 13px;
    opacity: 0.65;
    margin: 0;
    font-weight: 400;
}

/* Progression boxes */
.ccm-progression-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ccm-progression-box {
    border-radius: 12px;
    padding: 20px;
}

.ccm-progression-box--good {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.ccm-progression-box--warning {
    background: #fefce8;
    border: 1px solid #fef08a;
}

.ccm-progression-box h4 {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.ccm-progression-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ccm-progression-box li {
    padding: 6px 0;
    font-size: 14px;
    color: #334155;
}

/* Coach insights */
.ccm-coach-insights {
    margin-top: 24px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.ccm-coach-insights-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.ccm-insight-box {
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 12px;
}

.ccm-insight-box:last-child {
    margin-bottom: 0;
}

.ccm-insight-box--danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.ccm-insight-box--info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.ccm-insight-box--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.ccm-insight-box-title {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.ccm-insight-box ul {
    margin: 0 0 12px 0;
    padding-left: 20px;
}

.ccm-insight-box li {
    font-size: 14px;
    color: #334155;
    padding: 4px 0;
}

.ccm-insight-recommendation {
    font-size: 13px;
    color: #475569;
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Action plans section on results */
.ccm-results-plans-section {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 30px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

.ccm-results-plans-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px 0;
}

.ccm-results-plans-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ccm-results-plan-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #028D6A;
    border-radius: 10px;
    padding: 20px;
}

@media (max-width: 768px) {
    .ccm-score-cards-row {
        grid-template-columns: 1fr;
    }
    .ccm-progression-boxes {
        grid-template-columns: 1fr;
    }
    .ccm-calibration-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================ */
/* SECTIONS D'ANALYSE DYNAMIQUE               */
/* ============================================ */

.ccm-analysis-section {
    background: #fff;
    border-radius: var(--ccm-radius-lg);
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: var(--ccm-shadow);
    border: 1px solid var(--ccm-gray-100);
}

.ccm-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.ccm-section-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 28px 0;
    line-height: 1.5;
}

.ccm-analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ccm-analysis-grid--horizontal {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ccm-analysis-card {
    border-radius: 12px;
    padding: 24px;
    border: 1px solid transparent;
    transition: box-shadow 0.2s, transform 0.2s;
}

.ccm-analysis-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

/* Fonds colores par niveau d'analyse (high/good/developing/beginner) */
.ccm-analysis-card--level-high {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.ccm-analysis-card--level-good {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.ccm-analysis-card--level-developing {
    background: #fffbeb;
    border-color: #fef08a;
}

.ccm-analysis-card--level-beginner {
    background: #f5f3ff;
    border-color: #ddd6fe;
}

.ccm-analysis-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}

.ccm-analysis-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ccm-analysis-card-icon {
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.04);
}

.ccm-analysis-card-title h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.ccm-analysis-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.ccm-analysis-card-scores {
    display: flex;
    gap: 20px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 16px;
}

.ccm-analysis-score-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ccm-analysis-score-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ccm-analysis-score-value {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.ccm-coherence-ok {
    color: #059669 !important;
}

.ccm-coherence-alert {
    color: #d97706 !important;
}

.ccm-analysis-card-body p {
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 8px 0;
}

.ccm-analysis-coherence-note {
    font-size: 13px;
    color: #64748b;
    padding: 10px 14px;
    background: #fffbeb;
    border-radius: 8px;
    border-left: 3px solid #fbbf24;
    margin-top: 12px;
}

.ccm-analysis-card--horizontal {
    padding: 24px;
}

.ccm-analysis-card--horizontal .ccm-analysis-card-body p {
    font-size: 14px;
    line-height: 1.65;
}

/* Plan d'action - état inactif */
.ccm-action-plan-placeholder {
    margin: 40px 0;
    padding: 40px;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    text-align: center;
}

.ccm-action-plan-placeholder-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.ccm-action-plan-placeholder h3 {
    font-size: 20px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
}

.ccm-action-plan-placeholder p {
    font-size: 14px;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .ccm-analysis-section {
        padding: 20px;
    }
    .ccm-analysis-grid,
    .ccm-analysis-grid--horizontal {
        grid-template-columns: 1fr;
    }
    .ccm-analysis-card-scores {
        flex-wrap: wrap;
        gap: 12px;
    }
    .ccm-analysis-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   COUCHE 1 — Hero V3 : Quadrant + Info Panel (v3.1.0)
   ============================================================ */

/* Scroll Progress Bar */
.ccm-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--ccm-primary);
    z-index: 10000;
    width: 0;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* Hero V3 — Unified card (v7c) */
.ccm-hero-v3 {
    background: var(--ds-white);
    border-radius: var(--ds-r, 14px);
    border: 1px solid var(--ds-border-light);
    padding: 0;
    margin-bottom: 2rem;
    overflow: hidden;
}

/* Identity bar (top) */
.ccm-hero-identity {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.ccm-hero-identity-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ccm-profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ds-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.ccm-profile-name {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--ds-text);
}

.ccm-profile-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ds-text-light);
}

.ccm-meta-dot {
    color: var(--ds-border);
}

.ccm-hero-identity-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ccm-profile-tags {
    display: flex;
    gap: 6px;
}

.ccm-profile-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    background: var(--ds-bg-subtle);
    color: var(--ds-text-muted);
    white-space: nowrap;
}

/* Divider within hero */
.ccm-hero-divider {
    height: 1px;
    background: var(--ds-border-light);
}

/* Hero content grid */
.ccm-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    align-items: start;
}

/* Quadrant SVG container — no background */
.ccm-quadrant-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.ccm-quadrant-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 6px;
}

.ccm-quadrant-container svg {
    width: 100%;
    height: auto;
    max-width: 440px;
}

/* Info Panel */
.ccm-hero-info-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Hero block (Position / Objectif / Axes) */
.ccm-hero-block {
    padding: 0;
}

.ccm-hero-block-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 12px;
    color: var(--ds-text-light);
    margin-bottom: 6px;
}

.ccm-hero-block-separator {
    height: 1px;
    background: var(--ds-border-light);
    margin: 1.5rem 0;
}

/* Zone title — big bold, not a pill badge */
.ccm-hero-zone-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ds-text);
    margin: 0 0 10px;
    line-height: 1.3;
}

.ccm-hero-zone-title--target {
    color: var(--ds-teal);
}

.ccm-hero-zone-desc {
    font-size: 0.875rem;
    color: var(--ds-text-muted);
    line-height: 1.5;
    margin: 0;
}

.ccm-hero-position-description {
    font-size: 0.875rem;
    color: var(--ds-text-secondary);
    line-height: 1.6;
    margin: 0.25rem 0 0;
}

/* Ligne progression dans Position actuelle (v3.31.0, restauré v3.33.0) */
.ccm-position-progression {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 12px;
    background: #F0FDF4;
    border-radius: 6px;
    font-size: 0.78rem;
    color: #166534;
}
.ccm-pos-prog-arrow { font-size: 1rem; color: #16A34A; }
.ccm-pos-prog-score { font-weight: 700; color: #15803D; }
.ccm-pos-prog-sep { color: #9CA3AF; }
.ccm-pos-prog-lucid,
.ccm-pos-prog-label { color: #4B5563; font-style: italic; }

/* Axis bars — thin, with header row */
.ccm-axis-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.25rem;
}

.ccm-axis-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ccm-axis-header {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.ccm-axis-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ds-text);
    flex-shrink: 0;
}

.ccm-axis-desc {
    font-size: 0.72rem;
    color: var(--ds-text-light);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ccm-axis-value {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--ds-text);
    flex-shrink: 0;
    margin-left: auto;
}

.ccm-axis-value small {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--ds-text-light);
}

.ccm-axis-track {
    height: 4px;
    background: var(--ds-border-light);
    border-radius: 2px;
    overflow: hidden;
}

.ccm-axis-fill {
    height: 100%;
    background: var(--ds-teal);
    border-radius: 2px;
    transition: width 0.5s ease;
}

/* Lucidity — same bar style but amber for low */
.ccm-axis-track--lucidity {
    background: var(--ds-border-light);
}

.ccm-axis-fill--lucidity {
    background: var(--ds-amber);
}

.ccm-lucidity-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.62rem;
    color: var(--ds-text-light);
    margin-top: 1px;
}

/* Bell Curve Section (v7c, restored v3.13.3) */
.ccm-bell-curve-section {
    background: var(--ds-white);
    border-radius: var(--ds-r, 14px);
    border: 1px solid var(--ds-border-light);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.ccm-bell-curve-section h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ds-text);
    margin: 0 0 1rem 0;
}

.ccm-bell-curve-section svg {
    width: 100%;
    height: auto;
}

.ccm-bell-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    padding: 1rem 0 0;
    border-top: 1px solid var(--ds-border-light);
}

.ccm-bell-stat {
    text-align: center;
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ccm-bell-stat + .ccm-bell-stat {
    border-left: 1px solid var(--ds-border-light);
}

.ccm-bell-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ds-text);
    line-height: 1.2;
}

.ccm-bell-stat-value small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--ds-text-light);
}

.ccm-bell-stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ds-text-light);
    margin-top: 4px;
}

.ccm-bell-stat-sub {
    display: block;
    font-size: 0.65rem;
    color: var(--ds-text-light);
    margin-top: 2px;
}

.ccm-bell-cohort-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--ds-text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Cohort progression (v3.33.2) */
/* Executive summary (v3.26.15) */
.ccm-executive-summary {
    background: var(--ds-bg, #f8f9fa);
    border: 1px solid var(--ds-border-light, #e2e8f0);
    border-left: 3px solid var(--ds-teal, #1B9B7A);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0;
}
.ccm-executive-summary-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ds-text-dark, #1a2332);
}

/* Sticky navigation (v3.26.15) */
.ccm-results-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--ds-white, #ffffff);
    border-bottom: 1px solid var(--ds-border-light, #e2e8f0);
    margin: 0 -24px 24px;
    padding: 0 24px;
}
.ccm-results-nav-inner {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.ccm-results-nav-inner::-webkit-scrollbar {
    display: none;
}
.ccm-results-nav-link {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.ccm-results-nav-link:hover {
    color: var(--ds-text-dark, #1a2332);
}
.ccm-results-nav-link--active {
    color: var(--ds-teal, #1B9B7A);
    border-bottom-color: var(--ds-teal, #1B9B7A);
}
.ccm-results-nav-link:focus-visible {
    outline: 2px solid var(--ds-teal, #1B9B7A);
    outline-offset: -2px;
    border-radius: 4px;
}
@media (max-width: 768px) {
    .ccm-results-nav-link { padding: 10px 12px; font-size: 12px; }
    .ccm-results-nav { margin: 0 -16px 16px; padding: 0 16px; }
}

/* Bell curve score global hierarchy (v3.26.15) */
.ccm-bell-stat:first-child .ccm-bell-stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--ds-teal, #1B9B7A);
}

/* Hero V3 responsive */
@media (max-width: 900px) {
    .ccm-hero-content {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .ccm-quadrant-container {
        max-width: 340px;
        margin: 0 auto;
        width: 100%;
    }

    .ccm-bell-curve-section {
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .ccm-hero-identity {
        padding: 0.75rem 1.25rem;
    }

    .ccm-hero-content {
        padding: 1.25rem;
        gap: 1.25rem;
    }

    .ccm-hero-zone-title {
        font-size: 1.05rem;
    }

    .ccm-axis-desc {
        display: none;
    }

    .ccm-hero-identity-right {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ==========================================================================
   COUCHE V3-1b — AsymetrieBlock (v7c)
   ========================================================================== */

.ccm-asymetrie-block {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--ds-blue-pale);
    border: 1px solid var(--ds-blue-border);
    border-radius: var(--ds-r, 14px);
    margin-bottom: 2rem;
}

.ccm-asymetrie-icon {
    flex-shrink: 0;
    color: var(--ds-blue);
    margin-top: 2px;
}

.ccm-asymetrie-content {
    flex: 1;
    min-width: 0;
}

.ccm-asymetrie-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ds-blue);
    margin-bottom: 0.3rem;
}

.ccm-asymetrie-text {
    font-size: 0.85rem;
    color: var(--ds-text-muted);
    line-height: 1.55;
    margin: 0;
}

.ccm-asymetrie-text strong {
    color: var(--ds-text);
    font-weight: 700;
}

/* Delta chip in gauge chips area (v3.32.0, updated v3.33.1) */
.ccm-friction-chip--delta {
    background: #F0FDF4;
    border-radius: 3px;
    padding: 1px 5px;
}
.ccm-friction-chip--delta.ccm-delta-negative {
    background: #FEF2F2;
}
.ccm-friction-chip--delta.ccm-delta-positive strong { color: #16A34A; }
.ccm-friction-chip--delta.ccm-delta-negative strong { color: #DC2626; }

/* Tier pivot notice */
/* ÉVOL-3: Checklist pivots de tier */
.ccm-pivot-list {
    background: #F0FDF4;
    border-left: 3px solid #16A34A;
    border-radius: 0 6px 6px 0;
    padding: 12px 16px;
    margin-top: 14px;
}
.ccm-pivot-intro {
    font-size: 0.78rem;
    color: #374151;
    margin: 0 0 8px;
    font-weight: 500;
}
.ccm-pivot-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.ccm-pivot-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
}
.ccm-pivot-check { font-size: 0.85rem; }
.ccm-pivot-comp-name {
    font-weight: 600;
    color: #1E293B;
    min-width: 180px;
}
.ccm-pivot-transition {
    color: #6B7280;
    font-size: 0.75rem;
}
.ccm-pivot-transition strong {
    color: #15803D;
}

/* Salary section (v3.34.0, 2-column layout) */
.ccm-salary-section {
    background: var(--ds-white);
    border-radius: var(--ds-r, 14px);
    border: 1px solid var(--ds-border-light);
    padding: 1.5rem 2rem;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
}
.ccm-salary-section .ccm-sh { margin-bottom: 1.5rem; }
.ccm-salary-section .ccm-sh-tag { margin-top: 0; }
/* 2-column grid layout */
.ccm-salary-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: start;
}
.ccm-salary-stats-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}
.ccm-salary-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ccm-salary-stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.2;
}
.ccm-salary-stat-value small { font-size: 0.75rem; font-weight: 400; color: var(--ds-text-light); }
.ccm-salary-stat-value.ccm-salary-you { color: var(--ccm-primary); }
.ccm-salary-stat:first-child .ccm-salary-stat-value { font-size: 1.4rem; }
.ccm-salary-stat-label {
    font-size: 0.75rem;
    color: var(--ds-text-light);
    margin-top: 4px;
}
.ccm-salary-bar-wrapper {
    max-width: 90%;
    margin: 20px auto 28px;
    padding: 0 8px;
}
.ccm-salary-bar {
    position: relative;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    margin-bottom: 70px;
}
.ccm-salary-bar-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
    border-radius: 4px;
    transition: width 0.6s ease;
}
.ccm-salary-marker {
    position: absolute;
    transform: translateX(-50%);
    top: -4px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ccm-marker-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.ccm-dot-user { background: #6366f1; }
.ccm-marker-line {
    width: 2px;
    height: 16px;
    background: #9ca3af;
}
.ccm-marker-label {
    margin-top: 6px;
    font-size: 0.75rem;
    text-align: center;
    color: #374151;
    line-height: 1.3;
    white-space: nowrap;
}
.ccm-marker-label--user {
    font-weight: 600;
    color: #4f46e5;
}
.ccm-marker-label--you-top {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    color: #4f46e5;
    white-space: nowrap;
}
/* Stagger ref marker labels to avoid overlap */
.ccm-marker-ref .ccm-marker-label {
    margin-top: 8px;
}
.ccm-marker-ref + .ccm-marker-ref .ccm-marker-label {
    margin-top: 28px;
}
/* Right column: analysis + gain */
.ccm-salary-grid-right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.ccm-salary-analysis-title,
.ccm-salary-gain-title,
.ccm-salary-projection-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ds-text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 6px;
}
.ccm-salary-analysis-text {
    font-size: 0.88rem;
    color: #374151;
    line-height: 1.55;
    margin: 0;
}
.ccm-salary-gain {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 14px 16px;
}
.ccm-salary-gain-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #16a34a;
    line-height: 1.2;
    margin-bottom: 4px;
}
.ccm-salary-gain-desc {
    font-size: 0.82rem;
    color: #374151;
    margin: 0;
    line-height: 1.45;
}
.ccm-salary-projection {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 14px 16px;
}
.ccm-salary-projection-amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2563eb;
    line-height: 1.2;
    margin-bottom: 4px;
}
.ccm-salary-projection-desc {
    font-size: 0.82rem;
    color: #374151;
    margin: 0;
    line-height: 1.45;
}
/* Benchmark info / warning */
.ccm-salary-benchmark-info {
    margin-top: 12px;
    padding: 8px 12px;
    background: #fffbeb;
    border: 1px dashed #fbbf24;
    border-radius: 8px;
}
.ccm-salary-benchmark-info-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.ccm-salary-benchmark-info-detail {
    font-size: 0.78rem;
    color: #374151;
}
.ccm-salary-benchmark-info-warn {
    font-size: 0.78rem;
    color: #92400e;
    font-style: italic;
}
.ccm-salary-pending {
    font-size: 0.82rem;
    color: var(--ds-text-light);
    font-style: italic;
    margin: 0;
    line-height: 1.5;
    text-align: center;
}
@media (max-width: 768px) {
    .ccm-salary-section { padding: 1.25rem; }
    .ccm-salary-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .ccm-salary-stats-row { gap: 1.5rem; }
    .ccm-salary-stat-value { font-size: 1.1rem; }
    .ccm-salary-stat:first-child .ccm-salary-stat-value { font-size: 1.3rem; }
    .ccm-salary-bar-wrapper { max-width: 100%; padding: 0; }
    .ccm-marker-label { font-size: 0.65rem; }
}
@media (max-width: 480px) {
    .ccm-salary-stats-row { flex-direction: column; gap: 1rem; }
    .ccm-salary-bar-wrapper { max-width: 100%; }
    .ccm-salary-bar { margin-bottom: 44px; }
}

/* ==========================================================================
   COUCHE V3-2 — TierOverview : Fondations vs Multiplicateurs (v7c)
   ========================================================================== */
.ccm-tiers-section { margin-bottom: 2rem; }

/* Tiers top grid : radar + synthèse (v3.26.16) */
.ccm-tiers-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 32px;
}
.ccm-tiers-radar-col {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ccm-tiers-radar-col canvas {
    max-width: 100%;
    height: auto;
}
.ccm-tiers-synthesis-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}
/* Synthèse profil unifiée (v3.26.17) */
.ccm-tiers-synthesis {
    background: var(--ds-bg-subtle, #f8f9fa);
    border-radius: 12px;
    padding: 20px 24px;
    border: 1px solid var(--ds-border-light, #e5e7eb);
}
.ccm-tiers-synthesis-main {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ds-text-dark, #1a2332);
    margin: 0;
}
.ccm-tiers-synthesis-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ds-text-dark, #1a2332);
    margin: 0 0 8px;
}
.ccm-tiers-synthesis-detail {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ds-text-dark, #1a2332);
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--ds-border-light, #e5e7eb);
}
@media (max-width: 768px) {
    .ccm-tiers-top-grid { grid-template-columns: 1fr; }
}

.ccm-tiers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ccm-tiers-block {
    background: var(--ds-white);
    border-radius: var(--ds-r);
    overflow: hidden;
}

.ccm-tiers-block--foundation { border: 1px solid rgba(200, 57, 43, 0.314); }
.ccm-tiers-block--multiplier { border: 1px solid rgba(27, 155, 122, 0.314); }

.ccm-tiers-block-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--ds-border-light);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.ccm-tiers-block-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ds-dark);
    margin-bottom: 4px;
}

.ccm-tiers-block-desc {
    font-size: 11px;
    color: var(--ds-text-muted);
    line-height: 1.5;
}

.ccm-tiers-badge {
    font-size: 11px;
    font-weight: 700;
    border: 1px solid var(--ds-border-light);
    padding: 3px 10px;
    border-radius: 10px;
    flex-shrink: 0;
    margin-left: 14px;
    white-space: nowrap;
}

.ccm-tiers-badge--foundation {
    color: var(--ds-red);
    background: rgba(200, 57, 43, 0.05);
}

.ccm-tiers-badge--multiplier {
    color: var(--ds-teal);
    background: rgba(168, 221, 209, 0.1);
}

/* J1 atypique : bandeau info */
.ccm-tiers-j1-atypical {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    border: 1px solid #C7D2FE;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #3730A3;
}
.ccm-tiers-j1-atypical-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Secondaires masquées */
.ccm-tiers-secondary-collapsed {
    padding: 10px 20px;
    border-top: 1px solid var(--ds-border-light);
    text-align: center;
}
.ccm-tiers-secondary-collapsed-text {
    font-size: 11px;
    color: var(--ds-text-muted);
    font-style: italic;
}

.ccm-tiers-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
}

.ccm-tiers-item-icon {
    font-size: 15px;
    flex-shrink: 0;
}

.ccm-tiers-item-body {
    flex: 1;
}

.ccm-tiers-item-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.ccm-tiers-item-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--ds-text);
}

.ccm-tiers-item-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ccm-tiers-bench-pct {
    font-size: 9px;
    font-weight: 700;
}

.ccm-tiers-item-score {
    font-size: 14px;
    font-weight: 800;
}

.ccm-tiers-item-tier-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 8px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ccm-tiers-item-bar {
    position: relative;
    height: 3px;
    background: var(--ds-border-light);
    border-radius: 2px;
}

.ccm-tiers-item-bar-fill {
    height: 100%;
    border-radius: 2px;
    opacity: 0.85;
}

.ccm-tiers-item-bar-tick {
    position: absolute;
    top: -1px;
    width: 1.5px;
    height: 5px;
    background: #A0AABB;
    border-radius: 1px;
}

.ccm-tiers-item-benefice {
    font-size: 12px;
    line-height: 1.5;
    color: var(--ds-text-light, #6B7580);
    margin: 4px 0 0 0;
}
/* ÉVOL-1: Delta badges dans les tier chips */
.ccm-tier-delta {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 1px 6px;
    border-radius: 8px;
}
.ccm-tier-delta-positive { color: #16A34A; background: rgba(22,163,74,0.08); }
.ccm-tier-delta-negative { color: #DC2626; background: rgba(220,38,38,0.08); }

@media (max-width: 768px) {
    .ccm-tiers-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   COUCHE V3-2b — All Competencies Grid (v7c)
   ========================================================================== */

.ccm-allcomp-section {
    margin-bottom: 2rem;
}

/* Accordion mode */
.ccm-allcomp-accordion {
    background: var(--ds-white);
    border-radius: var(--ds-r, 14px);
    border: 1px solid var(--ds-text);
    overflow: hidden;
}

.ccm-allcomp-accordion-header {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 1rem 1.5rem !important;
    margin: 0 !important;
    background: var(--ds-white) !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    text-align: left;
    color: var(--ds-text) !important;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-shadow: none !important;
    text-transform: none !important;
    text-decoration: none !important;
    letter-spacing: normal !important;
}

.ccm-allcomp-accordion-header:hover,
.ccm-allcomp-accordion-header:focus,
.ccm-allcomp-accordion-header:active {
    background: var(--ds-bg-subtle) !important;
    color: var(--ds-text) !important;
    border: none !important;
    box-shadow: none !important;
    outline: none;
}

.ccm-allcomp-accordion-header:focus-visible {
    outline: 2px solid var(--ds-teal) !important;
    outline-offset: -2px;
}

.ccm-allcomp-accordion-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ds-text);
}

.ccm-allcomp-accordion-sub {
    font-size: 0.75rem;
    color: var(--ds-text-light);
    flex: 1;
}

.ccm-allcomp-accordion-chevron {
    font-size: 0.75rem;
    color: var(--ds-text-light);
    transition: transform 0.2s;
}

.ccm-allcomp-accordion-header[aria-expanded="true"] .ccm-allcomp-accordion-chevron {
    transform: rotate(180deg);
}

.ccm-allcomp-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ccm-allcomp-accordion-body.ccm-allcomp-open {
    max-height: 2000px;
}

.ccm-allcomp-grid--single {
    grid-template-columns: 1fr;
    padding: 0 1rem 1rem;
}

.ccm-allcomp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 1rem;
}

.ccm-allcomp-item {
    display: grid;
    grid-template-columns: 1.2rem 180px 1.4rem 5.5rem 1fr 2.2rem;
    align-items: center;
    gap: 0.5rem;
    background: var(--ds-white);
    border: 1px solid var(--ds-border-light);
    border-radius: 10px;
    padding: 0.5rem 1rem;
}

.ccm-allcomp-item--foundation {
    border-color: var(--ds-border-light);
}

.ccm-allcomp-item--multiplier {
    border-color: var(--ds-border-light);
}

.ccm-allcomp-item-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.ccm-allcomp-item-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ds-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ccm-allcomp-item-type {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--ds-text-light);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.ccm-allcomp-item-tier {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ccm-allcomp-tier--foundation {
    color: var(--ds-red);
    background: var(--ds-red-pale);
}

.ccm-allcomp-tier--multiplier {
    color: var(--ds-teal);
    background: var(--ds-teal-pale);
}

.ccm-allcomp-tier--accelerator {
    color: #2D72C8;
    background: #EAF1FB;
    border-color: #B3CFEF;
}

.ccm-allcomp-tier--watch {
    color: #D97706;
    background: #FFFBEB;
    border-color: #FDE68A;
}

.ccm-allcomp-tier--neutral {
    color: var(--ds-text-light);
    background: var(--ds-bg-subtle);
}

.ccm-allcomp-item-bar {
    min-width: 0;
    width: 50%;
    height: 3px;
    background: var(--ds-border-light);
    border-radius: 2px;
    position: relative;
    overflow: visible;
    justify-self: center;
}

.ccm-allcomp-item-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.ccm-allcomp-item-bar-bench {
    position: absolute;
    top: -3px;
    width: 2px;
    height: 10px;
    background: var(--ds-text-light);
    border-radius: 1px;
    transform: translateX(-50%);
    opacity: 0.5;
}

.ccm-allcomp-item-score {
    font-size: 0.8rem;
    font-weight: 800;
    text-align: right;
}

@media (max-width: 768px) {
    .ccm-allcomp-grid {
        grid-template-columns: 1fr;
    }

    .ccm-allcomp-item {
        grid-template-columns: 1.2rem 120px 1.4rem 4rem 1fr 1.8rem;
        gap: 0.35rem;
        padding: 0.4rem 0.75rem;
    }

    .ccm-allcomp-item-name {
        font-size: 0.72rem;
    }

    .ccm-allcomp-item-tier {
        font-size: 0.55rem;
        padding: 1px 5px;
    }
}

/* ==========================================================================
   COUCHE V3-3 — Friction Cards : Compétences à développer (v3.2.0)
   ========================================================================== */

/* ── Section Header pattern (v7c) ── */
.ccm-sh { margin-bottom: 0; }
.ccm-sh-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; color: var(--ds-teal); text-transform: uppercase; margin: 60px 0px 6px; }
.ccm-sh-title { font-size: 28px; font-weight: 800; letter-spacing: -0.022em; margin: 0 0 7px; color: var(--ds-text); line-height: 2.5rem; }
.ccm-sh-sub { font-size: 16px; color: var(--ds-text-muted); margin: 0 0 40px; line-height: 1.65; }

/* ── Divider gradient (v7c) ── */
.ccm-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--ds-border) 15%, var(--ds-border) 85%, transparent); margin: 52px 0; }

/* ==========================================================================
   COUCHE V3-3 — Friction Cards : Structure C collapsible (v7c)
   ========================================================================== */
.ccm-friction-section { margin-bottom: 2rem; }

.ccm-friction-cards {
    display: grid;
    gap: 20px;
}

.ccm-friction-card {
    border-radius: var(--ds-r);
    border: 1px solid var(--ds-border);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(23,36,58,0.06);
    background: var(--ds-white);
}

/* ── HEADER — 3 colonnes : titre | jauge | score ── */
.ccm-friction-card-header {
    display: grid;
    grid-template-columns: 250px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    cursor: pointer;
}

.ccm-friction-col-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ccm-friction-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.ccm-friction-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--ds-dark);
    line-height: 1.2;
}

.ccm-friction-card-sublabel {
    font-size: 9px;
    color: var(--ds-text-light);
    margin-top: 2px;
}

/* ── GAUGE — barre + chips en ligne ── */
.ccm-friction-gauge-zone {
    padding: 0 12px;
    display: flex;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
}

.ccm-friction-gauge-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.ccm-friction-gauge-bar {
    position: relative;
    flex: 1;
    min-width: 250px;
    height: 3px;
    background: var(--ds-border-light);
    border-radius: 2px;
}

.ccm-friction-gauge-fill {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    border-radius: 2px;
    opacity: 0.85;
}

.ccm-friction-gauge-bias {
    position: absolute;
    top: -1px; bottom: -1px;
    background: var(--ds-amber);
    opacity: 0.2;
    border-radius: 2px;
}

.ccm-friction-gauge-tick {
    position: absolute;
    top: -2px;
    width: 1.5px;
    height: 7px;
    background: #A0AABB;
    opacity: 0.7;
    transform: translateX(-50%);
}

.ccm-friction-gauge-dot-self {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ds-white);
    border: 1.5px solid var(--ds-amber);
}

.ccm-friction-gauge-dot-score {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px; height: 8px;
    border-radius: 50%;
    border: 1.5px solid var(--ds-white);
}

.ccm-friction-gauge-chips {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.ccm-friction-chip {
    display: flex;
    align-items: center;
    gap: 3px;
}

.ccm-friction-chip strong {
    font-size: 10.5px;
    font-weight: 800;
}

.ccm-friction-chip-label {
    font-size: 8.5px;
    color: var(--ds-text-light);
}

.ccm-friction-chip-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ccm-friction-chip-dot--self {
    background: var(--ds-white);
    border: 1.5px solid var(--ds-amber);
}

.ccm-friction-chip-diamond {
    width: 5px; height: 5px;
    background: #EEF1F6;
    border: 1px solid #A0AABB;
    transform: rotate(45deg);
    flex-shrink: 0;
}

.ccm-friction-chip-sep {
    width: 1px; height: 9px;
    background: var(--ds-border-light);
}

/* ── Score badge ── */
.ccm-friction-score-badge {
    text-align: center;
    flex-shrink: 0;
    padding-left: 4px;
}

.ccm-friction-score-value {
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
}

.ccm-friction-score-label {
    font-size: 8.5px;
    color: var(--ds-text-light);
    margin-top: 3px;
    font-weight: 500;
}
.ccm-percentile-badge {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 4px;
}
.ccm-bench-note {
    font-size: 0.68rem;
    color: #9CA3AF;
    font-weight: 400;
}

/* ── SUMMARY ROW ── */
.ccm-friction-summary {
    border-top: 1px solid var(--ds-border-light);
    padding: 9px 20px;
    background: var(--ds-bg);
    display: flex;
    align-items: center;
    cursor: pointer;
}

.ccm-friction-summary-stats {
    display: flex;
    gap: 20px;
    flex: 1;
}

.ccm-friction-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--ds-text-muted);
}

.ccm-friction-stat-icon {
    font-size: 9px;
    font-weight: 800;
}

.ccm-friction-stat strong {
    color: var(--ds-text);
}

.ccm-friction-expand-btn {
    background: var(--ds-white) !important;
    background-image: none !important;
    border: 1px solid #333 !important;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #666 !important;
    flex-shrink: 0;
    padding: 4px 16px;
    min-height: 32px;
    border-radius: 6px;
    font-family: inherit;
    box-shadow: none !important;
    text-transform: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: all 0.2s;
    white-space: nowrap;
}

.ccm-friction-expand-btn:hover,
.ccm-friction-expand-btn:focus,
.ccm-friction-expand-btn:active {
    background: #f5f5f5 !important;
    background-image: none !important;
    color: #666 !important;
    border: 1px solid #333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    text-decoration: none;
}

.ccm-friction-expand-btn:focus-visible {
    outline: 2px solid var(--ds-teal) !important;
    outline-offset: 2px;
}

/* ── BODY (collapsible) ── */
.ccm-friction-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ccm-friction-card-body.ccm-friction-open {
    max-height: 4000px;
}

/* ── Diagnostic zone ── */
.ccm-friction-diag-zone {
    padding: 16px 0;
    background: none;
    border-top: none;
}

.ccm-friction-diag-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--ds-text-muted);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 10px;
}

.ccm-friction-diag-text p {
    font-size: 14px;
    color: var(--ds-text-muted);
    margin: 0;
    line-height: 1.68;
}

.ccm-friction-diag-text[data-truncated="true"] p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ccm-friction-diag-text[data-truncated="false"] p {
    display: block;
}

.ccm-friction-read-more {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--ds-teal);
    font-family: inherit;
}

.ccm-friction-topics {
    margin-top: 0;
    padding: 0;
}

.ccm-friction-topics-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--ds-text-muted);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.ccm-friction-topics-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ccm-friction-topic-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--ds-text-muted);
    background: var(--ds-white);
    border: 1px solid var(--ds-border);
    padding: 4px 11px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
}
.ccm-friction-topic-tag.ccm-has-context {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 10px;
    padding: 6px 11px;
}
.ccm-blind-spot-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.ccm-blind-spot-context {
    font-size: 0.72rem;
    color: #6B7280;
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
}
.ccm-friction-topic-tag.ccm-has-tooltip {
    cursor: help;
}

.ccm-friction-topic-diamond {
    font-size: 8px;
    font-weight: 900;
}

/* Tooltip custom JS positionné */
.ccm-concept-tooltip {
    position: fixed;
    z-index: 10000;
    max-width: 320px;
    padding: 10px 14px;
    background: var(--ds-dark, #1A2332);
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.ccm-concept-tooltip.ccm-tooltip-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Two columns: Conséquences | Plan ── */
.ccm-friction-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--ds-border-light);
}

.ccm-friction-consequences {
    padding: 18px 22px 20px;
    border-right: 1px solid var(--ds-border-light);
}

.ccm-friction-plan {
    padding: 18px 22px 20px;
    background: rgba(27, 155, 122, 0.02);
}

.ccm-friction-col-label {
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 10px;
}

.ccm-friction-col-intro {
    font-size: 14px;
    color: var(--ds-text-muted);
    margin: 0 0 10px;
    line-height: 1.65;
}

.ccm-friction-impact-cards {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ccm-friction-impact-card {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: #7F1D1D;
    line-height: 1.55;
    background: var(--ds-red-pale);
    padding: 7px 10px;
    border-radius: 7px;
    border: 1px solid var(--ds-red-border);
}

.ccm-friction-impact-arrow {
    color: var(--ds-red);
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.ccm-friction-objective-box {
    padding: 11px 13px;
    border-radius: 9px;
    background: var(--ds-teal-pale);
    border: 1px solid var(--ds-teal-border);
    margin-bottom: 12px;
}

.ccm-friction-objective-label {
    font-size: 8.5px;
    font-weight: 700;
    color: var(--ds-teal);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.ccm-friction-objective-box p {
    margin: 0;
    font-size: 14px;
    color: #0F3D2E;
    line-height: 1.65;
}

.ccm-friction-checklist {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ccm-friction-step {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--ds-white);
    border: 1px solid var(--ds-border-light);
    transition: all 0.15s;
}

.ccm-friction-step:has(.ccm-friction-step-check:checked) {
    background: var(--ds-teal-pale);
    border-color: var(--ds-teal-border);
}

.ccm-friction-step-check {
    margin-top: 2px;
    accent-color: var(--ds-teal);
    flex-shrink: 0;
    width: 13px; height: 13px;
    cursor: pointer;
}

.ccm-friction-step-text {
    font-size: 14px;
    color: var(--ds-text-muted);
    line-height: 1.55;
}

.ccm-friction-step:has(.ccm-friction-step-check:checked) .ccm-friction-step-text {
    color: var(--ds-teal);
    text-decoration: line-through;
    text-decoration-color: var(--ds-teal);
}

/* ── CTA bar ── */
.ccm-friction-diag-opener {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ds-text-primary);
    margin-bottom: 8px;
}

.ccm-friction-obj3m {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 24px;
    background: var(--ds-teal-pale, #E8F7F3);
    border-left: 3px solid var(--ds-teal);
}

.ccm-friction-obj3m-icon {
    flex-shrink: 0;
    font-size: 14px;
    line-height: 1.5;
}

.ccm-friction-obj3m-text {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--ds-text-primary);
    margin: 0;
    font-style: italic;
}

.ccm-friction-cta-bar {
    border-top: 1px solid var(--ds-teal-border);
    padding: 14px 24px;
    background: var(--ds-teal);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.ccm-friction-cta-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2px;
}

.ccm-friction-cta-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
}

.ccm-friction-cta-btn {
    flex-shrink: 0;
    padding: 10px 18px;
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
    font-size: 11.5px;
    font-weight: 700;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-family: inherit;
    transition: background 0.15s;
}

.ccm-friction-cta-btn:hover {
    background: rgba(255,255,255,0.28);
}

/* ── Friction responsive ── */
@media (max-width: 1024px) {
    .ccm-friction-card-header {
        grid-template-columns: 1fr auto;
    }
    .ccm-friction-gauge-zone {
        display: none;
    }
}

@media (max-width: 768px) {
    .ccm-friction-card-header {
        grid-template-columns: 1fr auto;
        padding: 12px 16px;
    }
    .ccm-friction-gauge-zone {
        display: none;
    }
    .ccm-friction-summary {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    .ccm-friction-summary-stats {
        flex-wrap: wrap;
        gap: 10px;
    }
    .ccm-friction-two-col {
        grid-template-columns: 1fr;
    }
    .ccm-friction-consequences {
        border-right: none;
        border-bottom: 1px solid var(--ds-border-light);
    }
    .ccm-friction-diag-zone {
        padding: 12px 0;
    }
}

/* ==========================================================================
   COUCHE V3-4 — Multiplier Cards : Compétences levier (v3.2.0)
   ========================================================================== */

.ccm-multiplier-section {
    margin-bottom: 2rem;
}

.ccm-multiplier-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.ccm-multiplier-card {
    background: var(--ds-white);
    border-radius: var(--ds-r, 14px);
    border: 1px solid rgba(27, 155, 122, 0.2);
    padding: 1.25rem;
}

.ccm-multiplier-card-top {
    margin-bottom: 0.75rem;
}

.ccm-multiplier-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 4px;
}

.ccm-multiplier-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ds-text);
    margin: 0;
}

.ccm-multiplier-card-tier-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--ds-teal);
    background: rgba(27, 155, 122, 0.08);
    border: 1px solid rgba(27, 155, 122, 0.2);
    white-space: nowrap;
}

.ccm-multiplier-card-bench-diff {
    font-size: 0.75rem;
    color: var(--ds-teal);
    font-weight: 600;
}

.ccm-multiplier-card-gauge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
}

.ccm-multiplier-card-gauge {
    flex: 1;
    height: 6px;
    background: var(--ds-border-light);
    border-radius: 3px;
    position: relative;
}

.ccm-multiplier-card-gauge-fill {
    height: 100%;
    background: var(--ds-teal);
    border-radius: 3px;
}

.ccm-multiplier-card-gauge-tick {
    position: absolute;
    top: -2px;
    width: 2px;
    height: 10px;
    background: var(--ds-text-light);
    border-radius: 1px;
}

.ccm-multiplier-card-score-val {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ds-teal);
    flex-shrink: 0;
    min-width: 28px;
    text-align: right;
}

.ccm-multiplier-card-role-line {
    font-size: 0.82rem;
    color: var(--ds-text-muted);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--ds-border-light);
}

.ccm-multiplier-card-role-prefix {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ds-teal);
    display: block;
    margin-bottom: 2px;
}

.ccm-multiplier-card-insight-text {
    font-size: 0.82rem;
    color: var(--ds-text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .ccm-multiplier-cards {
        grid-template-columns: 1fr;
    }

    .ccm-multiplier-card {
        padding: 1rem;
    }
}

/* ==========================================================================
   COUCHE V3-5 — Roadmap : Plan de progression (v3.3.0)
   ========================================================================== */

.ccm-roadmap-section {
    margin-bottom: 2rem;
}

/* Timeline dots (v7c) */
.ccm-roadmap-timeline {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
    padding: 0 2rem;
    margin: 1.25rem 0 0.75rem;
}

.ccm-roadmap-timeline-line {
    position: absolute;
    top: 50%;
    left: 2rem;
    right: 2rem;
    height: 3px;
    background: linear-gradient(90deg, var(--ds-red), var(--ds-amber), var(--ds-blue), var(--ds-teal));
    border-radius: 2px;
    transform: translateY(-50%);
}

.ccm-roadmap-timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid var(--ds-white);
    box-shadow: 0 0 0 1px var(--ds-border);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

/* Roadmap 4-column card grid (v7c) */
.ccm-roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.ccm-roadmap-card {
    background: var(--ds-white);
    border-radius: var(--ds-r, 14px);
    border: 1px solid var(--ds-border-light);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ccm-roadmap-card-period {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ds-text-light);
}

.ccm-roadmap-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ds-text);
    margin: 0;
    line-height: 1.3;
}

.ccm-roadmap-card-causality {
    font-size: 0.8rem;
    color: var(--ds-text);
    font-style: normal;
    line-height: 1.4;
    margin: 0;
}

.ccm-roadmap-card-focus {
    font-size: 0.82rem;
    color: var(--ds-teal);
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    background: var(--ds-teal-pale);
    border-radius: 6px;
    line-height: 1.4;
}

.ccm-roadmap-card-actions {
    margin: 0.25rem 0 0;
    padding-left: 1.1rem;
}

.ccm-roadmap-card-actions li {
    font-size: 0.8rem;
    color: var(--ds-text-muted);
    line-height: 1.5;
    margin-bottom: 0.2rem;
}

.ccm-roadmap-card-unlock {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.5rem 0.6rem;
    background: var(--ds-bg-subtle);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--ds-text-muted);
    font-weight: 600;
    margin-top: auto;
}

.ccm-roadmap-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ccm-roadmap-card-quarter {
    font-size: 0.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 6px;
}

.ccm-roadmap-card-checklist {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0.25rem 0;
}

.ccm-roadmap-check-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--ds-text-muted);
    line-height: 1.4;
    padding: 4px 6px;
    border-radius: 4px;
    cursor: pointer;
}

.ccm-roadmap-check-item:has(.ccm-roadmap-check-input:checked) {
    background: var(--ds-teal-pale, #E8F7F3);
}

.ccm-roadmap-check-item:has(.ccm-roadmap-check-input:checked) .ccm-roadmap-check-text {
    text-decoration: line-through;
    color: var(--ds-teal);
}

.ccm-roadmap-check-input {
    margin-top: 2px;
    accent-color: var(--ds-teal);
    cursor: pointer;
    flex-shrink: 0;
}

.ccm-roadmap-card-unlock-v2 {
    padding: 10px 12px;
    background: var(--ds-bg-subtle);
    border-radius: 8px;
    border: 1px solid var(--ds-border-light);
    margin-top: auto;
}

.ccm-roadmap-unlock-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ds-teal);
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.ccm-roadmap-unlock-text {
    font-size: 0.78rem;
    color: var(--ds-text);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1024px) {
    .ccm-roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ccm-roadmap-timeline {
        display: none;
    }
}

@media (max-width: 768px) {
    .ccm-roadmap-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   COUCHE V3-6 — Trajectoires Divergentes (v7c)
   ========================================================================== */

.ccm-diverging-section {
    margin-bottom: 2rem;
}

.ccm-diverging-date-badge {
    text-align: center;
    margin: 1.25rem 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ds-text-muted);
    letter-spacing: 0.02em;
}

.ccm-diverging-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.ccm-diverging-card {
    background: var(--ds-white);
    border-radius: var(--ds-r, 14px);
    overflow: hidden;
    border: 1px solid var(--ds-border-light);
    display: flex;
    flex-direction: column;
}

.ccm-diverging-card--stagnation {
    border-color: rgba(200, 57, 43, 0.25);
}

.ccm-diverging-card--growth {
    border-color: rgba(27, 155, 122, 0.25);
}

.ccm-diverging-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--ds-border-light);
}

.ccm-diverging-card--stagnation .ccm-diverging-card-header {
    background: var(--ds-red-pale);
}

.ccm-diverging-card--growth .ccm-diverging-card-header {
    background: var(--ds-teal-pale);
}

.ccm-diverging-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ds-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ccm-diverging-card-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ccm-diverging-card-badge--stagnation {
    background: var(--ds-white);
    color: var(--ds-red);
    border: 1px solid var(--ds-red);
}

.ccm-diverging-card-badge--growth {
    background: var(--ds-white);
    color: var(--ds-teal);
    border: 1px solid var(--ds-teal);
}

.ccm-diverging-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ccm-diverging-footer {
    margin-top: auto;
}

.ccm-diverging-intro {
    font-size: 16px;
    color: var(--ds-text-muted);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.ccm-diverging-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.ccm-diverging-bullets--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.ccm-diverging-bullet {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 14px;
    color: var(--ds-text-muted);
    line-height: 1.3;
}

.ccm-diverging-bullet-icon {
    flex-shrink: 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
}

.ccm-diverging-bullet--red .ccm-diverging-bullet-icon {
    color: var(--ds-red);
}

.ccm-diverging-bullet--green .ccm-diverging-bullet-icon {
    color: var(--ds-teal);
}

.ccm-diverging-footer {
    padding-top: 0.75rem;
    border-top: 1px solid var(--ds-border-light);
    text-align: center;
}

.ccm-diverging-footer-text {
    font-size: 0.82rem;
    font-weight: 700;
}

.ccm-diverging-section {
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .ccm-diverging-grid {
        grid-template-columns: 1fr;
    }

    .ccm-diverging-bullets--grid {
        grid-template-columns: 1fr;
    }

    .ccm-diverging-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ==========================================================================
   COUCHE V3-7 — Focus Semaine (v3.3.0)
   ========================================================================== */

.ccm-focus-section {
    margin-bottom: 2rem;
}

.ccm-focus-card {
    background: linear-gradient(135deg, var(--ds-teal-pale, #f0fdf4) 0%, #e6f7f1 100%);
    border-radius: var(--ds-r, 14px);
    padding: 1.75rem 2rem;
    border: 1px solid rgba(2, 141, 106, 0.15);
    box-shadow: var(--ccm-shadow-lg);
    color: var(--ds-text-dark, #1a2332);
}

.ccm-focus-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ccm-focus-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 141, 106, 0.12);
    border-radius: 12px;
    color: var(--ds-teal);
}

.ccm-focus-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ds-text-dark, #1a2332);
    margin: 0 0 2px;
}

.ccm-focus-competence {
    font-size: 0.85rem;
    color: var(--ds-teal);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ccm-focus-action {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ds-text-dark, #1a2332);
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--ccm-radius-sm);
    border-left: 3px solid var(--ds-teal);
}

.ccm-focus-description {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--ds-text-muted, #6b7280);
    margin: 0 0 1rem;
    font-style: italic;
}

.ccm-focus-cta-hint {
    font-size: 0.8rem;
    color: var(--ds-text-muted, #6b7280);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

@media (max-width: 768px) {
    .ccm-focus-card {
        padding: 1.25rem 1.5rem;
    }

    .ccm-focus-title {
        font-size: 0.95rem;
    }

    .ccm-focus-action {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   V3 RESPONSIVE ENHANCEMENTS (v3.5.0)
   Tablet (1024px) + Mobile (768px) + Small (480px)
   ========================================================================== */

/* Tablet breakpoint */
@media (max-width: 1024px) {
    .ccm-cta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .ccm-cta-col--featured {
        grid-column: 1 / -1;
        order: -1;
    }
}

/* Mobile: font-size + spacing reductions for V3 sections */
@media (max-width: 768px) {
    /* Hero V3 */
    .ccm-quadrant-container svg {
        max-width: 280px;
    }

    .ccm-bell-curve-section svg {
        max-height: 160px;
    }

    /* Tiers */
    .ccm-tiers-grid {
        gap: 1rem;
    }

    .ccm-tiers-item-name {
        font-size: 0.8rem;
    }

    .ccm-tiers-section-title {
        font-size: 0.85rem;
    }

    /* Friction cards */
    .ccm-friction-card-title {
        font-size: 0.9rem;
    }

    .ccm-friction-card-subtitle {
        font-size: 0.78rem;
    }

    .ccm-friction-card-toggle {
        width: 44px;
        height: 44px;
    }

    .ccm-friction-section-title {
        font-size: 1.1rem;
    }

    /* Multiplier cards */
    .ccm-multiplier-card-title {
        font-size: 0.9rem;
    }

    /* Roadmap */
    .ccm-roadmap-quarter-title {
        font-size: 0.9rem;
    }

    .ccm-roadmap-quarter-period {
        font-size: 0.7rem;
    }

    .ccm-roadmap-section-title {
        font-size: 1.1rem;
    }

    /* Diverging Paths */
    .ccm-diverging-card-title {
        font-size: 0.9rem;
    }

    .ccm-diverging-bullet {
        font-size: 0.8rem;
    }

    /* CTA Strategic */
    .ccm-cta-col {
        padding: 24px 20px;
    }

    .ccm-cta-col-title {
        font-size: 16px;
    }

    .ccm-cta-col-desc {
        font-size: 13px;
    }

    .ccm-cta-col-btn {
        min-width: 160px;
        padding: 10px 24px;
        font-size: 13px;
    }
}

/* Small screens */
@media (max-width: 480px) {
    .ccm-quadrant-container svg {
        max-width: 240px;
    }

    .ccm-bell-curve-section svg {
        max-height: 120px;
    }

    .ccm-roadmap-quarter-marker {
        width: 20px;
        height: 20px;
    }

    .ccm-friction-card-diagnostic {
        font-size: 0.82rem;
    }
}

/* ==========================================================================
   COUCHE 4 — Accordéons : Analyse détaillée par compétence (v2.6.0)
   ========================================================================== */

.ccm-accordions-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.ccm-accordion {
    border-bottom: 1px solid #e5e7eb;
    scroll-margin-top: 20px;
}

.ccm-accordion:last-child {
    border-bottom: none;
}

.ccm-accordion-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    min-height: 56px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    text-align: left;
    color: #1e293b;
    transition: background-color 0.15s ease;
    border-radius: 8px;
}

.ccm-accordion-header:hover {
    background-color: #f8fafc;
}

.ccm-accordion-header:focus-visible {
    outline: 2px solid var(--ccm-primary, #028D6A);
    outline-offset: -2px;
    border-radius: 8px;
}

.ccm-accordion-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.ccm-accordion-title {
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
}

.ccm-accordion-score {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
    flex-shrink: 0;
}

.ccm-accordion-score small {
    font-weight: 400;
    font-size: 0.8rem;
    color: #6b7280;
}

.ccm-accordion-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.ccm-accordion-chevron {
    font-size: 1.4rem;
    font-weight: 300;
    color: #6b7280;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
}

.ccm-accordion--open .ccm-accordion-chevron {
    transform: rotate(90deg);
}

.ccm-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.ccm-accordion-inner {
    padding: 0 1rem 1.25rem;
}

.ccm-accordion-analysis {
    line-height: 1.65;
    color: #374151;
    margin: 0 0 1rem;
    font-size: 0.92rem;
}

.ccm-accordion-coherence-note {
    font-style: italic;
    color: #6b7280;
    font-size: 0.88rem;
    border-left: 3px solid #d1d5db;
    padding-left: 0.75rem;
    margin: 0 0 1rem;
    line-height: 1.5;
}

.ccm-accordion-calibration {
    display: flex;
    gap: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.ccm-accordion-calibration-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ccm-accordion-calibration-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ccm-accordion-calibration-value {
    font-size: 1rem;
    font-weight: 700;
}

/* Recommandations enrichies dans les accordéons (v2.9.0) */
.ccm-accordion-recommendation--rich {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: var(--ccm-radius-sm, 8px);
    padding: 1rem 1.25rem;
    margin-top: 0.5rem;
}

.ccm-accordion-rec-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.75rem;
}

.ccm-accordion-rec-progress {
    margin-bottom: 0.75rem;
}

.ccm-accordion-rec-scores {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.6rem;
}

.ccm-accordion-rec-current,
.ccm-accordion-rec-target {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.ccm-accordion-rec-label {
    font-size: 0.7rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.ccm-accordion-rec-value {
    font-size: 1.4rem;
    font-weight: 800;
}

.ccm-accordion-rec-level {
    font-size: 0.75rem;
    color: #6b7280;
}

.ccm-accordion-rec-arrow {
    font-size: 1.3rem;
    color: #d1d5db;
    font-weight: 300;
}

.ccm-accordion-rec-bar {
    position: relative;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: visible;
}

.ccm-accordion-rec-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.ccm-accordion-rec-bar-target {
    position: absolute;
    top: -3px;
    width: 2px;
    height: 12px;
    background: #374151;
    border-radius: 1px;
    transform: translateX(-50%);
}

.ccm-accordion-formations {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
}

.ccm-accordion-formations-label {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.ccm-accordion-formation-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    min-height: 44px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ccm-accordion-formation-link:hover {
    background: #d1fae5;
    border-color: #6ee7b7;
    text-decoration: none;
}

.ccm-accordion-formation-duration {
    font-size: 0.72rem;
    color: #6b7280;
    white-space: nowrap;
}

/* Bordure latérale par type de compétence */
.ccm-accordion--vertical {
    border-left: 3px solid var(--ccm-primary, #028D6A);
}

.ccm-accordion--horizontal {
    border-left: 3px solid #ec4899;
}

/* Accordéons — Responsive */
@media (max-width: 768px) {
    .ccm-accordions-section {
        padding: 1rem;
    }

    .ccm-accordion-header {
        padding: 0.75rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .ccm-accordion-title {
        font-size: 0.88rem;
    }

    .ccm-accordion-badge {
        font-size: 0.7rem;
        padding: 0.15rem 0.5rem;
    }

    .ccm-accordion-inner {
        padding: 0 0.75rem 1rem;
    }

    .ccm-accordion-calibration {
        gap: 1rem;
    }

    .ccm-accordion-rec-scores {
        gap: 1rem;
    }

    .ccm-accordion-rec-value {
        font-size: 1.2rem;
    }

    .ccm-accordion-formation-link {
        flex-wrap: wrap;
    }

    .ccm-accordion-formation-duration {
        width: 100%;
    }
}

/* ============================================================
   COUCHE 5 — GAP ANALYSIS (v2.7.0)
   ============================================================ */

.ccm-gap-analysis-section {
    background: #fff;
    border-radius: var(--ccm-radius, 12px);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--ccm-shadow, 0 1px 3px rgba(0, 0, 0, 0.08));
}

.ccm-gap-chart-container {
    height: 220px;
    margin: 1.5rem 0;
    position: relative;
}

.ccm-gap-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.ccm-gap-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #4b5563;
}

.ccm-gap-legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    display: inline-block;
}

.ccm-gap-legend-dot--auto {
    background-color: rgba(59, 130, 246, 0.7);
    border: 1px solid rgba(59, 130, 246, 1);
}

.ccm-gap-legend-dot--calibrated {
    background-color: rgba(2, 141, 106, 0.7);
    border: 1px solid rgba(2, 141, 106, 1);
}

.ccm-gap-indicators {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ccm-gap-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--ccm-radius-sm, 8px);
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.ccm-gap-indicator--aligned {
    border-color: #a7f3d0;
    background: #f0fdf4;
}

.ccm-gap-indicator--over {
    border-color: #fed7aa;
    background: #fff7ed;
}

.ccm-gap-indicator--over-high {
    border-color: #fecaca;
    background: #fef2f2;
}

.ccm-gap-indicator--under {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.ccm-gap-indicator-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.ccm-gap-indicator-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ccm-gap-indicator-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: #1f2937;
}

.ccm-gap-indicator-delta {
    font-size: 0.82rem;
    color: #6b7280;
}

.ccm-gap-note {
    font-size: 0.82rem;
    color: #6b7280;
    font-style: italic;
    margin: 0;
    padding: 0.75rem;
    background: #f3f4f6;
    border-radius: var(--ccm-radius-sm, 8px);
}

/* Gap Analysis — Responsive */
@media (max-width: 768px) {
    .ccm-gap-analysis-section {
        padding: 1rem;
    }

    .ccm-gap-chart-container {
        height: 200px;
    }

    .ccm-gap-indicators {
        grid-template-columns: 1fr;
    }

    .ccm-gap-legend {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/* ============================================================
   COUCHE 6 — PLAN DE DÉVELOPPEMENT (v2.7.0)
   ============================================================ */

.ccm-dev-plan-section {
    background: #fff;
    border-radius: var(--ccm-radius, 12px);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--ccm-shadow, 0 1px 3px rgba(0, 0, 0, 0.08));
}

/* Plans coach */
.ccm-dev-plan-coach {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.ccm-dev-plan-coach-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ccm-dev-plan-coach-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.ccm-dev-plan-coach-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.ccm-dev-plan-coach-subtitle {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0.15rem 0 0;
}

.ccm-dev-plan-coach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 0.75rem;
}

.ccm-dev-plan-coach-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #6b7280;
    border-radius: var(--ccm-radius-sm, 8px);
    padding: 1rem 1.25rem;
}

.ccm-dev-plan-coach-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.ccm-dev-plan-coach-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.ccm-plan-status-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ccm-dev-plan-coach-card-desc {
    font-size: 0.85rem;
    color: #4b5563;
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.ccm-dev-plan-coach-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: #6b7280;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ccm-overdue {
    color: #ef4444;
    font-weight: 600;
}

.ccm-due-soon {
    color: var(--ccm-warning-text);
    font-weight: 600;
}

/* Recommandations auto-générées supprimées en v2.9.0 — intégrées dans les accordéons */

.ccm-dev-plan-formation-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: var(--ccm-radius-sm, 8px);
    text-decoration: none;
    color: #065f46;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ccm-dev-plan-formation-link:hover {
    background: #d1fae5;
    border-color: #6ee7b7;
    text-decoration: none;
}

.ccm-dev-plan-formation-title {
    font-size: 0.88rem;
    font-weight: 600;
    flex: 1;
}

.ccm-dev-plan-formation-duration {
    font-size: 0.75rem;
    color: #6b7280;
    white-space: nowrap;
}

.ccm-dev-plan-formation-arrow {
    font-size: 1rem;
    color: var(--ccm-primary, #028D6A);
    flex-shrink: 0;
}

/* Plan de développement — Responsive */
@media (max-width: 768px) {
    .ccm-dev-plan-section {
        padding: 1rem;
    }

    .ccm-dev-plan-coach-grid {
        grid-template-columns: 1fr;
    }

    .ccm-dev-plan-formation-link {
        flex-wrap: wrap;
    }

    .ccm-dev-plan-formation-duration {
        width: 100%;
    }
}

/* ========================================
   SJT (Situational Judgment Test) — Styles
   ======================================== */

/* Context questions section */
#ccm-context-questions {
    max-width: 700px;
    margin: 0 auto;
}

.ccm-context-intro {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    text-align: center;
}

.ccm-context-question-title {
    font-size: 20px !important;
    font-weight: 700;
    color: var(--ccm-gray-900, #1f2937);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.ccm-context-progress {
    text-align: center;
    margin-top: 1.5rem;
    color: #6b7280;
    font-size: 0.85rem;
}


/* SJT instruction text in category intro */
.ccm-sjt-instruction {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 1rem 0 1.5rem;
    padding: 1rem;
    background: #f0fdf4;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
}

/* SJT horizontal frequency scale */
.ccm-sjt-freq-row {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.ccm-sjt-freq {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 6px;
    background: #fff;
    border: 2px solid #D8E2DE;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    min-height: 44px;
}

.ccm-sjt-freq:hover {
    border-color: #9AACA4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.ccm-sjt-freq--selected {
    border-color: #1A1A1A;
    background: #F0F5F3;
}

.ccm-sjt-freq--selected:hover {
    border-color: #1A1A1A;
    background: #F0F5F3;
    transform: none;
    box-shadow: none;
}

.ccm-sjt-freq:focus-visible {
    outline: 2px solid var(--ccm-primary);
    outline-offset: 2px;
}

.ccm-sjt-freq-main {
    font-size: 14px;
    font-weight: 700;
    color: var(--ds-text, #17243A);
    line-height: 1.2;
    letter-spacing: 0.03em;
}

.ccm-sjt-freq-detail {
    font-size: 11px;
    color: var(--ds-text-muted, #4A5568);
    line-height: 1.3;
    font-weight: 400;
}

@media (max-width: 768px) {
    .ccm-sjt-freq-row {
        gap: 4px;
    }

    .ccm-sjt-freq {
        padding: 10px 4px;
        border-radius: 8px;
    }

    .ccm-sjt-freq-main {
        font-size: 12px;
    }

    .ccm-sjt-freq-detail {
        font-size: 9px;
    }

    .ccm-sjt-instruction {
        font-size: 0.85rem;
        padding: 0.75rem;
    }
}

/* === COACH GAP INDICATORS (v3.18.0) === */

.ccm-friction-gauge-dot-coach {
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7c3aed;
    transform: translate(-50%, -50%);
    z-index: 3;
    box-shadow: 0 0 0 2px #fff;
}

.ccm-friction-chip-dot--coach {
    background: #7c3aed;
}

.ccm-coach-gap-insight {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 10px;
    margin-bottom: 6px;
}

.ccm-coach-gap-insight--aligned {
    background: #f0fdf4;
    border-left: 3px solid #22c55e;
    color: #166534;
}

.ccm-coach-gap-insight--overestimation_moderate {
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    color: #92400e;
}

.ccm-coach-gap-insight--overestimation_high {
    background: #fef2f2;
    border-left: 3px solid #ef4444;
    color: #991b1b;
}

.ccm-coach-gap-insight--underestimation_moderate {
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
    color: #1e40af;
}

.ccm-coach-gap-insight--underestimation_high {
    background: #f5f3ff;
    border-left: 3px solid #7c3aed;
    color: #5b21b6;
}

.ccm-coach-gap-icon {
    flex-shrink: 0;
    font-size: 14px;
    line-height: 1.5;
}

.ccm-coach-gap-text {
    flex: 1;
}

.ccm-coach-gap-text strong {
    font-weight: 700;
}

/* === COACH INLINE EDITING (v3.17.0) === */

.ccm-coach-toolbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--ds-dark, #0F2B3C);
    color: #fff;
    padding: 12px 24px;
    border-bottom: 3px solid var(--ds-teal, #028D6A);
}

.ccm-coach-toolbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 16px;
    flex-wrap: wrap;
}

.ccm-coach-toolbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.ccm-coach-toolbar-icon {
    font-size: 18px;
}

.ccm-coach-toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ccm-coach-toolbar-status {
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s;
}

.ccm-coach-save-btn {
    font-size: 13px !important;
    padding: 8px 20px !important;
    min-width: auto !important;
}

/* Coach note blocks inside friction/multiplier cards */
.ccm-coach-note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 2px dashed var(--ds-teal, #028D6A);
}

.ccm-coach-note-header {
    font-size: 13px;
    font-weight: 700;
    color: var(--ds-teal, #028D6A);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ccm-coach-note-icon {
    font-size: 16px;
}

.ccm-coach-note-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ccm-coach-note-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--ds-text-muted, #6B7580);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 6px;
}

.ccm-coach-textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px 12px;
    border: 1.5px solid var(--ds-border-light, #E2E8F0);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.ccm-coach-textarea:focus {
    outline: none;
    border-color: var(--ds-teal, #028D6A);
    box-shadow: 0 0 0 3px rgba(2, 141, 106, 0.15);
}

.ccm-coach-textarea::placeholder {
    color: #9CA3AF;
}

@media (max-width: 768px) {
    .ccm-coach-toolbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ccm-coach-note-fields {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   COMPETENCE CARDS — v3.26.0
   ============================================================ */
.ccm-comp-cards-section {
    margin: 32px 0;
}

.ccm-comp-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
}

.ccm-comp-card {
    background: var(--ds-white, #fff);
    border: 1px solid var(--ds-border-light, #e5e7eb);
    border-radius: 12px;
    padding: 20px;
}

.ccm-comp-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.ccm-comp-card-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.ccm-comp-card-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--ds-text-dark, #1a2332);
    margin: 0;
    line-height: 1.3;
}

.ccm-comp-card-tier {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

.ccm-comp-card-score {
    margin-left: auto;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.ccm-comp-card-gauge {
    height: 4px;
    background: var(--ds-border-light, #e5e7eb);
    border-radius: 2px;
    position: relative;
    margin-bottom: 8px;
}

.ccm-comp-card-gauge-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.5s ease;
}

.ccm-comp-card-gauge-tick {
    position: absolute;
    top: -3px;
    width: 2px;
    height: 10px;
    background: var(--ds-text-light, #6B7580);
    transform: translateX(-50%);
}

.ccm-comp-card-level {
    font-size: 12px;
    color: var(--ds-text-light, #6B7580);
    margin-bottom: 8px;
}

/* Accordion details */
.ccm-comp-card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.ccm-comp-card-details--open {
    max-height: 800px;
}
.ccm-comp-card-toggle {
    display: block;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--ds-teal, #1B9B7A);
    font-family: inherit;
    text-align: center;
}
.ccm-comp-card-toggle:hover {
    opacity: 0.8;
}
.ccm-comp-card-toggle:focus-visible {
    outline: 2px solid var(--ds-teal, #1B9B7A);
    outline-offset: 2px;
    border-radius: 4px;
}
.ccm-comp-card-diagnostic--ref {
    font-style: italic;
    color: var(--ds-text-light, #6B7580);
}

.ccm-comp-card-diagnostic {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ds-text-dark, #1a2332);
    margin-bottom: 12px;
}

.ccm-comp-card-diagnostic p {
    margin: 0;
}

.ccm-comp-card-reco {
    padding: 12px;
    background: var(--ds-teal-pale, #f0fdf4);
    border-radius: 8px;
    border-left: 3px solid var(--ds-teal, #1B9B7A);
    font-size: 14px;
    line-height: 1.5;
}

.ccm-comp-card-reco-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.ccm-comp-card-reco p {
    margin: 0;
}

/* Friction v3.26 styles */
.ccm-friction-frein-title {
    font-size: 15px;
    line-height: 1.4;
    margin: 8px 0;
}

.ccm-friction-frein-impact {
    font-size: 14px;
    line-height: 1.5;
    margin: 8px 0;
}

.ccm-friction-frein-quadrant {
    font-size: 14px;
    line-height: 1.5;
    margin: 8px 0;
}

.ccm-friction-frein-source {
    margin: 8px 0;
}

@media (max-width: 768px) {
    .ccm-comp-cards-grid {
        grid-template-columns: 1fr;
    }

    .ccm-comp-card-score {
        font-size: 22px;
    }
}


/* UX-02: Section callout statement (v3.26.28) */
.ccm-section-statement {
    display: flex;
    margin-bottom: 24px;
    background: #FAFAFA;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #F1F5F9;
}
.ccm-statement-bar {
    width: 4px;
    flex-shrink: 0;
}
.ccm-statement-red .ccm-statement-bar { background: #EF4444; }
.ccm-statement-amber .ccm-statement-bar { background: #F59E0B; }
.ccm-statement-gold .ccm-statement-bar { background: #C5963A; }
.ccm-statement-blue .ccm-statement-bar { background: #3B82F6; }
.ccm-statement-content {
    padding: 13px 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.ccm-statement-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.ccm-statement-content p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #374151;
    margin: 0;
    font-style: italic;
}

/* COPY-01: Friction card anchor link to competence card */
.ccm-friction-cta {
    display: inline-block;
    font-size: 0.78rem;
    color: #6B7280;
    text-decoration: none;
    margin-top: 8px;
    border-bottom: 1px dashed #D1D5DB;
    transition: color 0.15s;
}
.ccm-friction-cta:hover {
    color: #374151;
    border-bottom-color: #9CA3AF;
}

/* NEW-02: Target zone justification (v3.26.29) */
.ccm-target-zone-justification {
    font-size: 0.875rem;
    color: var(--ds-text-muted);
    line-height: 1.5;
    margin: 6px 0 0 0;
}

/* SJT gradient label — inline in summary stats (C5 v3.26.25) */
.ccm-sjt-gradient-inline {
    font-size: 14px;
    color: var(--ds-text-secondary, #6B7580);
}
.ccm-sjt-icon { font-size: 11px; }

/* Behavioural module line (C6 v3.26.24) */
.ccm-behavioural-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #475569;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 5px 10px;
    margin-top: 8px;
    margin-bottom: 4px;
}
.ccm-behavioural-note {
    color: #94A3B8;
    font-style: italic;
}

/* Competence card two-col layout: diag left, plan right (v3.26.31) */
.ccm-comp-body-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--ds-border-light);
}
.ccm-comp-body-left {
    padding: 18px 22px 20px;
    border-right: 1px solid var(--ds-border-light);
}
.ccm-comp-body-right {
    padding: 18px 22px 20px;
}
@media (max-width: 768px) {
    .ccm-comp-body-grid { grid-template-columns: 1fr; }
    .ccm-comp-body-left { border-right: none; border-bottom: 1px solid var(--ds-border-light); }
}

/* Plan d'action zone-aware (C4 v3.26.24) */
.ccm-plan-action-zone {
    margin-top: 0;
    padding-top: 0;
}
.ccm-plan-action-item {
    margin: 8px 0;
    padding: 10px 0;
    background: none;
    border: none;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.5;
}
.ccm-plan-action-item p {
    margin: 4px 0 0;
    color: var(--ds-text-secondary, #475569);
}
.ccm-plan-action-label {
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ds-teal, #028D6A);
}
.ccm-plan-action-indicator {
    background: #F0FDF4;
    border: 1px solid rgba(27, 155, 122, 0.314);
    padding: 10px 10px;
    border-radius: 5px;
}
.ccm-plan-action-indicator .ccm-plan-action-label {
    color: #15803D;
}

