/* ============================================
   Report Show - Styles de la page rapport
   Version 2.0 - Full-width avec Sidebar
   ============================================ */

/* Ajuster le body et header quand on est sur la page rapport */
body.has-report-sidebar {
    padding-top: 0; /* Annuler le padding global du body */
}

body.has-report-sidebar .header-auth {
    margin-left: 260px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 150;
}

/* Report Layout - Full Width with Sidebar */
.report-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: #f8fafc;
}

/* Sidebar Navigation */
.report-sidebar {
    width: 260px;
    min-width: 260px;
    background: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%);
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 200; /* Au-dessus de tout */
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.sidebar-brand {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-back {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-back:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-brand-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.sidebar-brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.sidebar-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar-brand-logo span {
    font-size: 1.1rem;
    font-weight: 700;
    color: #312e81;
}

.sidebar-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sidebar-brand-name {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-brand-domain {
    font-size: 0.75rem;
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.sidebar-nav::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.sidebar-nav-section {
    margin-bottom: 8px;
}

.sidebar-nav-label {
    display: block;
    padding: 4px 16px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.sidebar-nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.sidebar-nav-item.active {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-left-color: #a78bfa;
}

.sidebar-nav-item i {
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.sidebar-nav-item.active i {
    opacity: 1;
}

.sidebar-badge {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(167, 139, 250, 0.3);
    color: #a78bfa;
}

.sidebar-badge.warning {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.sidebar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: auto;
}

.sidebar-dot.success {
    background: #34d399;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 10px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-chatbot-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.sidebar-chatbot-link:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.35) 0%, rgba(99, 102, 241, 0.35) 100%);
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateX(2px);
}

.sidebar-chatbot-link i:first-child {
    font-size: 1.1rem;
    color: #a78bfa;
}

.sidebar-chatbot-link span {
    flex: 1;
}

.sidebar-chatbot-link i:last-child {
    font-size: 0.75rem;
    opacity: 0.6;
}

.sidebar-actions {
    display: flex;
    gap: 8px;
}

.sidebar-action-btn {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.sidebar-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-action-btn.danger:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* Main Content Area */
.report-main {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
    padding-top: var(--header-height, 56px);
    display: flex;
    flex-direction: column;
}

/* Brand Header Card */
.report-brand-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 16px 24px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.brand-header-main {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.brand-header-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.brand-header-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    background: white;
    border-radius: 12px;
}

.brand-header-initials {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.brand-header-info {
    min-width: 0;
}

.brand-header-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-header-details {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.brand-header-url {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6366f1;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.brand-header-url:hover {
    color: #4f46e5;
}

.brand-header-sector {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: #f3f4f6;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #4b5563;
}

.brand-header-sector i {
    color: #9ca3af;
    font-size: 0.7rem;
}

.brand-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.brand-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.brand-status.completed {
    background: #dcfce7;
    color: #16a34a;
}

.brand-status.processing {
    background: #fef3c7;
    color: #d97706;
}

.brand-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Report Sections */
.report-sections {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.report-section-full {
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(to right, #f8fafc, white);
}

.section-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e1b4b;
    margin: 0;
}

.section-header h2 i {
    color: #6366f1;
}

.section-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #eef2ff;
    color: #6366f1;
}

.section-badge.warning {
    background: #fef3c7;
    color: #d97706;
}

.section-empty {
    padding: 60px 40px;
    text-align: center;
    color: #9ca3af;
}

.section-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.3;
}

.section-empty p {
    font-size: 0.95rem;
}

/* Overview Cards */
.overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    padding: 16px;
}

.overview-card {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.overview-card.what::before { background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.overview-card.value::before { background: linear-gradient(90deg, #10b981, #34d399); }
.overview-card.benefits::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.overview-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.overview-card.what .overview-card-icon { background: #eef2ff; color: #6366f1; }
.overview-card.value .overview-card-icon { background: #ecfdf5; color: #10b981; }
.overview-card.benefits .overview-card-icon { background: #fef3c7; color: #f59e0b; }

.overview-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 12px;
}

.overview-card p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* Insights Grid */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 12px;
    padding: 16px;
}

.insight-card {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: white;
    transition: all 0.2s;
}

.insight-card:hover {
    border-color: var(--insight-color, #6366f1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.insight-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--insight-color, #6366f1);
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.insight-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px;
}

.insight-content p {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Competitors List - Modern Timeline Design */
.competitors-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    position: relative;
}

.competitors-list::before {
    content: '';
    position: absolute;
    left: 38px;
    top: 50px;
    bottom: 50px;
    width: 2px;
    background: linear-gradient(180deg, #e5e7eb 0%, #6366f1 50%, #e5e7eb 100%);
}

.competitor-item {
    display: flex;
    gap: 20px;
    padding: 12px 0;
    position: relative;
}

.competitor-item:first-child { padding-top: 0; }
.competitor-item:last-child { padding-bottom: 0; }

.competitor-item-rank {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--competitor-color, #6366f1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 1;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.competitor-item-card {
    flex: 1;
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.competitor-item-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateX(4px);
    border-color: var(--competitor-color, #6366f1);
}

.competitor-item-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #fafafa, #f5f5f5);
    border-bottom: 1px solid #e5e7eb;
}

.competitor-item-avatar {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--competitor-color, #6366f1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.competitor-item-identity {
    flex: 1;
}

.competitor-item-identity h4 {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e1b4b;
}

.competitor-item-url {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--competitor-color, #6366f1);
    text-decoration: none;
    transition: all 0.2s ease;
}

.competitor-item-url:hover {
    text-decoration: underline;
}

.competitor-item-url i {
    font-size: 0.7rem;
}

.competitor-item-positioning {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.competitor-positioning-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.competitor-positioning-label i {
    font-size: 0.7rem;
}

.competitor-positioning-text {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.7;
}

.competitor-positioning-text p {
    margin: 0;
}

.competitor-item-analysis {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.competitor-analysis-block {
    padding: 16px 20px;
}

.competitor-analysis-block.strengths {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-right: 1px solid #bbf7d0;
}

.competitor-analysis-block.weaknesses {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.competitor-analysis-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.competitor-analysis-block.strengths .competitor-analysis-header {
    color: #16a34a;
}

.competitor-analysis-block.weaknesses .competitor-analysis-header {
    color: #dc2626;
}

.competitor-analysis-content {
    font-size: 0.85rem;
    line-height: 1.6;
}

.competitor-analysis-block.strengths .competitor-analysis-content {
    color: #166534;
}

.competitor-analysis-block.weaknesses .competitor-analysis-content {
    color: #991b1b;
}

.competitor-analysis-content p {
    margin: 0 0 6px;
}

.competitor-analysis-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .competitors-list::before {
        left: 23px;
    }
    
    .competitor-item-rank {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 0.8rem;
    }
    
    .competitor-item {
        gap: 12px;
    }
    
    .competitor-item-analysis {
        grid-template-columns: 1fr;
    }
    
    .competitor-analysis-block.strengths {
        border-right: none;
        border-bottom: 1px solid #bbf7d0;
    }
}

/* Modal de confirmation */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255,255,255,0.3);
}

.modal-body {
    padding: 24px;
}

.modal-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #fef3c7;
    border-radius: 10px;
    margin-bottom: 16px;
}

.modal-warning i {
    color: #f59e0b;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.modal-warning p {
    margin: 0;
    color: #92400e;
    font-size: 0.9rem;
    line-height: 1.5;
}

.modal-cost {
    text-align: center;
    font-size: 1.1rem;
    color: #1e1b4b;
    margin: 16px 0 8px;
}

.modal-info {
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px 24px;
}

.modal-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.modal-btn-cancel {
    background: #f3f4f6;
    color: #4b5563;
}

.modal-btn-cancel:hover {
    background: #e5e7eb;
}

.modal-btn-confirm {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-btn-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* Pains Timeline - Design moderne */
.pains-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    position: relative;
}

.pains-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(180deg, #fecaca 0%, #f87171 50%, #fecaca 100%);
}

.pains-item {
    display: flex;
    gap: 20px;
    padding: 12px 0;
    position: relative;
}

.pains-item:first-child {
    padding-top: 0;
}

.pains-item:last-child {
    padding-bottom: 0;
}

.pains-item-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 1;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.3);
}

.pains-item-content {
    flex: 1;
    background: white;
    border-radius: 12px;
    border: 1px solid #fecaca;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.pains-item-content:hover {
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.12);
    transform: translateX(4px);
    border-color: #f87171;
}

.pains-item-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #fef2f2, #fff5f5);
    border-bottom: 1px solid #fecaca;
}

.pains-item-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #991b1b;
}

.pains-item-description {
    padding: 16px 20px;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.7;
}

.pains-item-description p {
    margin: 0 0 8px;
}

.pains-item-description p:last-child {
    margin-bottom: 0;
}

.pains-item-consequences {
    padding: 14px 20px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-top: 1px solid #fecaca;
}

.pains-consequences-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #b91c1c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.pains-consequences-label i {
    font-size: 0.7rem;
}

.pains-consequences-text {
    font-size: 0.85rem;
    color: #991b1b;
    line-height: 1.6;
}

.pains-consequences-text p {
    margin: 0;
}

@media (max-width: 768px) {
    .pains-timeline::before {
        left: 18px;
    }
    
    .pains-item-number {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 0.8rem;
    }
    
    .pains-item-content {
        border-radius: 10px;
    }
    
    .pains-item-header,
    .pains-item-description,
    .pains-item-consequences {
        padding: 12px 16px;
    }
    
    .pains-item {
        gap: 12px;
    }
}

/* Needs Content */
.needs-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    padding: 16px;
}

.needs-card {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #faf5ff, white);
}

.needs-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #7c3aed;
    margin: 0 0 12px;
}

.needs-card p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* Needs Timeline - Design moderne */
.needs-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    position: relative;
}

.needs-timeline::before {
    content: '';
    position: absolute;
    left: 43px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(180deg, #e5e7eb 0%, #d1d5db 50%, #e5e7eb 100%);
}

.needs-item {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    position: relative;
}

.needs-item:first-child {
    padding-top: 0;
}

.needs-item:last-child {
    padding-bottom: 0;
}

.needs-item-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.needs-item-content {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 20px 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.needs-item-content:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateX(4px);
}

.needs-item-title {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 600;
}

.needs-item-subtitle {
    margin: 0 0 10px;
    font-size: 0.8rem;
    color: #6b7280;
    font-style: italic;
}

.needs-item-text {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.7;
}

.needs-item-text p {
    margin: 0 0 8px;
}

.needs-item-text p:last-child {
    margin-bottom: 0;
}

.needs-item-text ul,
.needs-item-text ol {
    margin: 8px 0;
    padding-left: 20px;
}

.needs-item-text li {
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .needs-timeline::before {
        left: 23px;
    }
    
    .needs-item-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 0.85rem;
    }
    
    .needs-item-content {
        padding: 16px;
    }
    
    .needs-item {
        gap: 12px;
    }
}

/* Positioning Content */
.positioning-content {
    padding: 28px;
}

.positioning-statement {
    margin-bottom: 28px;
}

.positioning-statement blockquote {
    font-size: 1.15rem;
    font-style: italic;
    color: #374151;
    line-height: 1.7;
    padding: 24px 32px;
    margin: 0;
    border-left: 4px solid #6366f1;
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
}

.positioning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.positioning-card {
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.positioning-card.diff {
    background: linear-gradient(135deg, #fffbeb, white);
    border-color: #fde68a;
}

.positioning-card.adv {
    background: linear-gradient(135deg, #ecfdf5, white);
    border-color: #a7f3d0;
}

.positioning-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 12px;
}

.positioning-card.diff h4 { color: #d97706; }
.positioning-card.adv h4 { color: #059669; }

.positioning-card p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* Golden Circle Cards */
.golden-circle-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px;
}

.gc-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.gc-card-header {
    padding: 16px;
    text-align: center;
}

.gc-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.2rem;
}

.gc-card-header h4 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.gc-card-subtitle {
    font-size: 0.7rem;
    opacity: 0.8;
}

.gc-card-content {
    padding: 16px;
    background: white;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #4b5563;
}

/* WHY */
.gc-card.why .gc-card-header {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}
.gc-card.why .gc-card-icon {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* HOW */
.gc-card.how .gc-card-header {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    color: white;
}
.gc-card.how .gc-card-icon {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* WHAT */
.gc-card.what .gc-card-header {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
}
.gc-card.what .gc-card-icon {
    background: rgba(255,255,255,0.2);
    color: white;
}

@media (max-width: 900px) {
    .golden-circle-cards {
        grid-template-columns: 1fr;
    }
}

/* SWOT Grid */
.swot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.swot-card {
    padding: 28px;
}

.swot-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 16px;
}

.swot-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.swot-card.strengths {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-bottom: 1px solid #a7f3d0;
    border-right: 1px solid #a7f3d0;
}
.swot-card.strengths h4 { color: #059669; }
.swot-card.strengths p { color: #065f46; }

.swot-card.weaknesses {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-bottom: 1px solid #fecaca;
}
.swot-card.weaknesses h4 { color: #dc2626; }
.swot-card.weaknesses p { color: #991b1b; }

.swot-card.opportunities {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-right: 1px solid #bfdbfe;
}
.swot-card.opportunities h4 { color: #2563eb; }
.swot-card.opportunities p { color: #1e40af; }

.swot-card.threats {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}
.swot-card.threats h4 { color: #d97706; }
.swot-card.threats p { color: #92400e; }

/* TOWS Strategies */
.tows-content {
    padding: 28px;
}

.tows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.tows-card {
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: white;
}

.tows-card h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 6px;
}

.tows-formula {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.tows-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
    color: #4b5563;
}

.tows-card.offensive {
    border-color: #bbf7d0;
    background: linear-gradient(135deg, #f0fdf4, white);
}
.tows-card.offensive h4 { color: #16a34a; }
.tows-card.offensive .tows-formula { background: #dcfce7; color: #15803d; }

.tows-card.defensive {
    border-color: #bfdbfe;
    background: linear-gradient(135deg, #eff6ff, white);
}
.tows-card.defensive h4 { color: #2563eb; }
.tows-card.defensive .tows-formula { background: #dbeafe; color: #1d4ed8; }

.tows-card.reorientation {
    border-color: #e9d5ff;
    background: linear-gradient(135deg, #faf5ff, white);
}
.tows-card.reorientation h4 { color: #9333ea; }
.tows-card.reorientation .tows-formula { background: #f3e8ff; color: #7c3aed; }

.tows-card.survival {
    border-color: #fed7aa;
    background: linear-gradient(135deg, #fff7ed, white);
}
.tows-card.survival h4 { color: #ea580c; }
.tows-card.survival .tows-formula { background: #ffedd5; color: #c2410c; }

/* Status Screens */
.report-status-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    text-align: center;
    min-height: 60vh;
}

.status-animation {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 32px;
}

.status-circle {
    position: absolute;
    inset: 0;
    border: 4px solid #e5e7eb;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.status-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #6366f1;
}

.status-icon.error {
    color: #dc2626;
}

.status-icon.pending {
    color: #f59e0b;
}

.report-status-screen h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 12px;
}

.report-status-screen p {
    font-size: 1rem;
    color: #6b7280;
    margin: 0 0 24px;
    max-width: 400px;
}

.status-progress {
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.status-progress-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.status-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.status-progress-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6366f1;
    min-width: 40px;
}

.status-hint {
    font-size: 0.85rem;
    color: #9ca3af;
}

.status-actions {
    display: flex;
    gap: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .report-sidebar {
        width: 220px;
        min-width: 220px;
    }
    
    .report-main {
        margin-left: 220px;
    }
    
    .report-hero {
        padding: 32px;
    }
    
    .report-sections {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .report-layout {
        flex-direction: column;
    }
    
    .report-sidebar {
        position: relative;
        width: 100%;
        height: auto;
        min-width: 100%;
        top: 0;
    }
    
    .sidebar-nav {
        display: none;
    }
    
    .report-main {
        margin-left: 0;
    }
    
    .report-brand-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 16px;
    }
    
    .brand-header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .report-sections {
        padding: 20px;
    }
    
    .swot-grid {
        grid-template-columns: 1fr;
    }
    
    .competitors-grid,
    .insights-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   Header Compact - Ancienne version (kept for compatibility)
   ============================================= */

.report-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--app-card-bg, #fff);
    border: 1px solid var(--app-border, #e5e7eb);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    gap: 20px;
}

.report-header-main {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.report-brand-logo {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--app-primary, #6366f1), var(--app-secondary, #8b5cf6));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.report-brand-logo img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.report-brand-logo.has-logo {
    width: auto;
    max-width: 120px;
    min-width: 56px;
    height: auto;
    min-height: 56px;
    background: #fff;
    border: 1px solid var(--app-border, #e5e7eb);
    padding: 8px 12px;
}

.report-brand-logo.has-logo img.brand-logo {
    width: 100%;
    height: auto;
    max-height: 40px;
}

.report-brand-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.report-brand-details {
    flex: 1;
    min-width: 0;
}

.report-brand-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.report-brand-title h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--app-text, #111827);
    margin: 0;
    white-space: nowrap;
}

.report-brand-link {
    color: #4b5563;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.report-brand-link:hover {
    color: var(--app-primary, #6366f1);
}

.report-brand-link i {
    font-size: 0.7rem;
}

/* Liens réseaux sociaux */
.report-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.social-link.linkedin {
    background: rgba(10, 102, 194, 0.1);
    color: #0a66c2;
}

.social-link.linkedin:hover {
    background: #0a66c2;
    color: #fff;
    transform: translateY(-2px);
}

.social-link.instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    transform: translateY(-2px);
}

.social-link.facebook {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
}

.social-link.facebook:hover {
    background: #1877f2;
    color: #fff;
    transform: translateY(-2px);
}

.social-link.tiktok {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

.social-link.tiktok:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.report-meta-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #4b5563;
}

.report-meta-sep {
    color: var(--app-border, #d1d5db);
}

.report-meta-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.report-meta-date i {
    font-size: 0.7rem;
    opacity: 0.7;
}

.report-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.report-status-badge.completed {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.report-status-badge.processing {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.report-status-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

/* Sources de données compact */
.report-sources-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.source-item {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--app-bg, #f9fafb);
    border: 1px solid var(--app-border, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--app-text-muted, #9ca3af);
}

.source-item:hover {
    border-color: var(--app-primary, #6366f1);
    background: rgba(99, 102, 241, 0.05);
    color: var(--app-primary, #6366f1);
}

.source-item.active {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
}

.source-item i {
    font-size: 1rem;
}

.source-logo-preview {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.source-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--app-text-muted, #9ca3af);
    border: 2px solid var(--app-card-bg, #fff);
}

.source-status.ok {
    background: #22c55e;
}

.source-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--app-primary, #6366f1);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.source-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--app-primary, #6366f1), var(--app-secondary, #8b5cf6));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 4px;
}

.source-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.source-action-btn i {
    font-size: 0.85rem;
}

/* Responsive header compact */
@media (max-width: 768px) {
    .report-header-compact {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }
    
    .report-header-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .report-brand-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .report-sources-compact {
        justify-content: space-between;
        width: 100%;
    }
    
    .source-action-btn {
        flex: 1;
        justify-content: center;
    }
}

/* Legacy hero styles (keeping for compatibility) */
.report-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--app-card-bg, #fff);
    border: 1px solid var(--app-border, #e5e7eb);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    gap: 24px;
}

.report-hero-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.report-brand-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--app-primary, #6366f1), var(--app-secondary, #8b5cf6));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.report-brand-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.report-brand-icon.has-logo {
    width: auto;
    max-width: 180px;
    min-width: 64px;
    background: transparent;
    padding: 8px;
}

.report-brand-icon.has-logo img.brand-logo {
    width: 100%;
    height: auto;
    max-height: 48px;
}

.report-brand-icon span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.report-brand-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--app-text, #111827);
    margin: 0 0 4px;
}

.report-brand-url {
    color: #4b5563;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.report-brand-url:hover {
    color: var(--app-primary, #6366f1);
}

/* Score circulaire */
.report-hero-score {
    text-align: center;
}

.report-score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.report-score-circle.high {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border: 3px solid #22c55e;
}

.report-score-circle.med {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 3px solid #f59e0b;
}

.report-score-circle.low {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border: 3px solid #ef4444;
}

.report-score-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.report-score-circle.high .report-score-value { color: #15803d; }
.report-score-circle.med .report-score-value { color: #b45309; }
.report-score-circle.low .report-score-value { color: #dc2626; }

.report-score-label {
    font-size: 0.75rem;
    color: #4b5563;
}

.report-score-text {
    font-size: 0.75rem;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Status dans hero */
.report-hero-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 12px;
}

.report-hero-status.processing {
    background: #eff6ff;
    border: 1px solid #93c5fd;
}

.report-hero-status.pending {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
}

.report-hero-status i {
    font-size: 1.5rem;
    color: #4b5563;
}

.report-status-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #93c5fd;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.report-status-title {
    font-weight: 600;
    color: var(--app-text, #111827);
}

.report-status-progress,
.report-status-text {
    font-size: 0.875rem;
    color: #4b5563;
}

/* Métadonnées */
.report-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.report-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #4b5563;
}

.report-meta-item i {
    color: var(--app-primary, #6366f1);
}

/* Section Analyse Financière IA (Prompt 12) */
.financial-ai-analysis-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.02) 0%, rgba(34, 197, 94, 0.05) 100%);
}

.financial-ai-content {
    padding: 24px;
    background: var(--app-card-bg, #fff);
    border-radius: 12px;
    border: 1px solid var(--app-border, #e5e7eb);
}

.financial-ai-content h1,
.financial-ai-content h2,
.financial-ai-content h3,
.financial-ai-content h4 {
    color: var(--app-text, #111827);
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.financial-ai-content h1:first-child,
.financial-ai-content h2:first-child,
.financial-ai-content h3:first-child {
    margin-top: 0;
}

.financial-ai-content h2 {
    font-size: 1.25rem;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #10b981;
}

.financial-ai-content h3 {
    font-size: 1.1rem;
    color: #059669;
}

.financial-ai-content p {
    margin-bottom: 1em;
    line-height: 1.7;
}

.financial-ai-content ul,
.financial-ai-content ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.financial-ai-content li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.financial-ai-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.9rem;
}

.financial-ai-content table th,
.financial-ai-content table td {
    padding: 12px 16px;
    border: 1px solid var(--app-border, #e5e7eb);
    text-align: left;
}

.financial-ai-content table th {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-weight: 600;
}

.financial-ai-content table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.financial-ai-content table tbody tr:hover {
    background: #ecfdf5;
}

.financial-ai-content .positive,
.financial-ai-content .hausse {
    color: #16a34a;
}

.financial-ai-content .negative,
.financial-ai-content .baisse {
    color: #dc2626;
}

.financial-ai-content .warning {
    color: #d97706;
}

/* Sections */
.report-section {
    background: var(--app-card-bg, #fff);
    border: 1px solid var(--app-border, #e5e7eb);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.report-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--app-border, #e5e7eb);
    background: var(--app-bg-subtle, #f9fafb);
}

.report-section-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--app-text, #111827);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.report-section-header h3 i {
    color: var(--app-primary, #6366f1);
}

.report-section-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.report-section-badge.pending {
    background: #f3f4f6;
    color: #4b5563;
}

/* Grille de scores */
.report-scores-grid {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.report-score-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--app-bg-subtle, #f9fafb);
    border-radius: 8px;
}

.report-score-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--app-primary, #6366f1), var(--app-secondary, #8b5cf6));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.report-score-card-content {
    flex: 1;
}

.report-score-card-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--app-text, #111827);
    margin-bottom: 6px;
}

.report-score-card-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.report-score-card-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.report-score-card-fill.high { background: linear-gradient(90deg, #22c55e, #16a34a); }
.report-score-card-fill.med { background: linear-gradient(90deg, #f59e0b, #d97706); }
.report-score-card-fill.low { background: linear-gradient(90deg, #ef4444, #dc2626); }

.report-score-card-value {
    font-size: 1.25rem;
    font-weight: 700;
    min-width: 40px;
    text-align: right;
}

.report-score-card-value.high { color: #15803d; }
.report-score-card-value.med { color: #b45309; }
.report-score-card-value.low { color: #dc2626; }

/* Grille d'infos */
.report-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background: var(--app-border, #e5e7eb);
}

.report-info-card {
    padding: 16px 20px;
    background: var(--app-card-bg, #fff);
}

.report-info-label {
    font-size: 0.75rem;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.report-info-value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--app-text, #111827);
}

/* État vide infos entreprise */
.report-info-empty {
    padding: 40px 20px;
    text-align: center;
    color: #4b5563;
}

.report-info-empty i {
    font-size: 2rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

.report-info-empty p {
    margin: 0;
    font-size: 0.9375rem;
}

/* Badge de confiance dans les cards API */
.api-card-confidence {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1rem;
}

.api-card-confidence.haute {
    color: #15803d;
    background: #dcfce7;
}

.api-card-confidence.moyenne {
    color: #b45309;
    background: #fef3c7;
}

.api-card-confidence.basse {
    color: #dc2626;
    background: #fee2e2;
}

/* Badge section header */
.report-section-badge.success {
    background: #dcfce7;
    color: #15803d;
}

.report-section-badge.warning {
    background: #fef3c7;
    color: #b45309;
}

/* Section action (bouton analyse IA) */
.api-section-action {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-top: 1px solid var(--app-border, #e5e7eb);
    background: var(--app-bg-subtle, #f9fafb);
}

.api-section-action .api-section-hint {
    font-size: 0.875rem;
    color: #4b5563;
}

/* Bouton success */
.app-btn-success {
    background: #22c55e !important;
    border-color: #22c55e !important;
    color: #fff !important;
}

/* Blocs d'analyse accordion */
.report-analysis-block {
    border-bottom: 1px solid var(--app-border, #e5e7eb);
}

.report-analysis-block:last-child {
    border-bottom: none;
}

.report-analysis-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.report-analysis-header:hover {
    background: var(--app-bg-subtle, #f9fafb);
}

.report-analysis-title {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--app-text, #111827);
}

.report-analysis-title i {
    width: 20px;
    color: var(--app-primary, #6366f1);
}

.report-analysis-score {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-right: 12px;
}

.report-analysis-score.high { background: #dcfce7; color: #15803d; }
.report-analysis-score.med { background: #fef3c7; color: #b45309; }
.report-analysis-score.low { background: #fee2e2; color: #dc2626; }

.report-analysis-toggle {
    color: #4b5563;
    transition: transform 0.2s;
}

.report-analysis-block.open .report-analysis-toggle {
    transform: rotate(180deg);
}

.report-analysis-content {
    display: none;
    padding: 0 20px 20px;
}

.report-analysis-block.open .report-analysis-content {
    display: block;
}

/* Checklist */
.report-checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.report-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
}

.report-check.ok {
    background: #f0fdf4;
    color: #166534;
}

.report-check.ok i { color: #22c55e; }

.report-check.warn {
    background: #fffbeb;
    color: #92400e;
}

.report-check.warn i { color: #f59e0b; }

.report-check.err {
    background: #fef2f2;
    color: #991b1b;
}

.report-check.err i { color: #ef4444; }

/* Recommandation */
.report-recommendation {
    padding: 12px 16px;
    background: linear-gradient(135deg, #eff6ff, #e0e7ff);
    border-radius: 8px;
    font-size: 0.875rem;
    color: #1e40af;
    border-left: 3px solid var(--app-primary, #6366f1);
}

/* Actions footer */
.report-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--app-border, #e5e7eb);
}

/* États spéciaux */
.report-processing,
.report-error,
.report-pending {
    text-align: center;
    padding: 60px 24px;
    background: var(--app-card-bg, #fff);
    border: 1px solid var(--app-border, #e5e7eb);
    border-radius: 12px;
}

.report-processing h3,
.report-error h3,
.report-pending h3 {
    font-size: 1.25rem;
    margin: 24px 0 8px;
    color: var(--app-text, #111827);
}

.report-processing p,
.report-error p,
.report-pending p {
    color: #4b5563;
    margin-bottom: 24px;
}

/* Animation processing */
.report-processing-animation {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    position: relative;
}

.report-processing-circle {
    position: absolute;
    inset: 0;
    border: 4px solid #e5e7eb;
    border-top-color: var(--app-primary, #6366f1);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.report-processing-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--app-primary, #6366f1);
}

.report-processing-bar {
    width: 200px;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    margin: 0 auto 8px;
    overflow: hidden;
}

.report-processing-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--app-primary, #6366f1), var(--app-secondary, #8b5cf6));
    border-radius: 4px;
    transition: width 0.5s;
}

.report-processing-percent {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--app-primary, #6366f1);
    margin-bottom: 24px;
}

.report-processing-hint {
    font-size: 0.875rem;
    color: #4b5563;
}

.report-processing-hint i {
    margin-right: 6px;
}

/* Error state */
.report-error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ef4444;
}

.report-error-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* Pending state */
.report-pending-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #4b5563;
}

/* Responsive */
@media (max-width: 768px) {
    .report-hero {
        flex-direction: column;
        text-align: center;
    }
    
    .report-hero-brand {
        flex-direction: column;
    }
    
    .report-meta {
        justify-content: center;
    }
    
    .report-info-grid {
        grid-template-columns: 1fr;
    }
    
    .report-actions {
        flex-direction: column;
    }
    
    .report-actions .app-btn {
        width: 100%;
        justify-content: center;
    }
    
    .app-header-actions {
        display: none;
    }
}

/* =============================================
   API Cards Section
   ============================================= */

.api-section {
    margin-bottom: 2rem;
}

.report-section-hint {
    font-size: 0.75rem;
    color: var(--app-text-light, #9ca3af);
    font-weight: 400;
}

.api-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.api-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--app-surface, #fff);
    border: 1px solid var(--app-border, #e5e7eb);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.api-card:hover {
    border-color: var(--app-primary, #6366f1);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.api-card.completed {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.03) 0%, rgba(34, 197, 94, 0.08) 100%);
    border-color: rgba(34, 197, 94, 0.3);
}

.api-card.completed:hover {
    border-color: #22c55e;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.15);
}

.api-card.disabled {
    opacity: 0.6;
    background: var(--app-bg, #f9fafb);
}

.api-card.disabled:hover {
    border-color: var(--app-border, #e5e7eb);
    box-shadow: none;
}

.api-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.25rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--app-primary, #6366f1), #8b5cf6);
    color: #fff;
}

.api-card.completed .api-card-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.api-card.disabled .api-card-icon {
    background: linear-gradient(135deg, #9ca3af, #4b5563);
}

.api-card-content {
    flex: 1;
    min-width: 0;
}

.api-card-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--app-text, #111827);
    margin-bottom: 2px;
}

.api-card-provider {
    font-size: 0.75rem;
    color: var(--app-text-light, #9ca3af);
    margin-bottom: 6px;
}

.api-card-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 20px;
}

.api-card-status.success {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.api-card-status.pending {
    background: rgba(156, 163, 175, 0.1);
    color: #4b5563;
}

.api-card-status.coming {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.api-card-status.loading {
    background: rgba(245, 158, 11, 0.1);
    color: #b45309;
}

.api-card-detail {
    font-size: 0.7rem;
    color: var(--app-text-light, #9ca3af);
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.api-card-action {
    flex-shrink: 0;
}

.api-card-preview {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--app-bg, #f9fafb);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--app-border, #e5e7eb);
}

.api-card-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.api-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, var(--app-primary, #6366f1), #8b5cf6);
    color: #fff;
}

.api-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.api-btn.secondary {
    background: var(--app-bg, #f3f4f6);
    color: var(--app-text, #374151);
}

.api-btn.secondary:hover {
    background: var(--app-border, #e5e7eb);
    box-shadow: none;
}

.api-btn.primary {
    background: linear-gradient(135deg, var(--app-primary, #6366f1), #8b5cf6);
    color: #fff;
}

.api-btn.disabled {
    background: var(--app-border, #e5e7eb);
    color: var(--app-text-light, #9ca3af);
    cursor: not-allowed;
}

.api-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.api-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.api-btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.api-card-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    border: 2px solid var(--app-surface, #fff);
}

/* Responsive API cards */
@media (max-width: 640px) {
    .api-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .api-card {
        padding: 1rem;
    }
    
    .api-btn span {
        display: none;
    }
    
    .api-btn {
        padding: 10px;
    }
}

/* Logo refresh overlay */
.api-card-preview {
    position: relative;
}

.api-card-refresh-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(99, 102, 241, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

.api-card-preview:hover .api-card-refresh-overlay {
    opacity: 1;
}

/* =============================================
   Proposition de valeur Section
   ============================================= */

.value-proposition-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(139, 92, 246, 0.04) 100%);
}

.value-proposition-section .report-section-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-bottom-color: rgba(99, 102, 241, 0.1);
}

.value-proposition-section .report-section-header h3 i {
    color: #8b5cf6;
}

.value-proposition-section .report-section-badge {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #15803d;
    display: flex;
    align-items: center;
    gap: 6px;
}

.value-proposition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.vp-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--app-card-bg, #fff);
    border-right: 1px solid var(--app-border, #e5e7eb);
    border-bottom: 1px solid var(--app-border, #e5e7eb);
    transition: all 0.3s ease;
}

.vp-card:nth-child(2n) {
    border-right: none;
}

.vp-card:nth-last-child(-n+2) {
    border-bottom: none;
}

.vp-card:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(139, 92, 246, 0.04) 100%);
}

.vp-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.vp-card-secteur .vp-card-icon {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #2563eb;
}

.vp-card-activite .vp-card-icon {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
    color: #9333ea;
}

.vp-card-benefices .vp-card-icon {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #16a34a;
}

.vp-card-distinctive .vp-card-icon {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
}

.vp-card:hover .vp-card-icon {
    transform: scale(1.05);
}

.vp-card-content {
    flex: 1;
    min-width: 0;
}

.vp-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4b5563;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vp-card-value {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--app-text, #111827);
}

/* Card highlight pour la proposition distinctive */
.vp-card-highlight {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(245, 158, 11, 0.08) 100%);
    border-right: none !important;
    position: relative;
    overflow: hidden;
}

.vp-card-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f59e0b, #d97706);
}

.vp-card-highlight .vp-card-label {
    color: #b45309;
}

.vp-card-highlight .vp-card-value {
    font-size: 1rem;
    font-weight: 500;
}

.vp-card-highlight:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(245, 158, 11, 0.12) 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .value-proposition-grid {
        grid-template-columns: 1fr;
    }
    
    .vp-card {
        border-right: none !important;
        border-bottom: 1px solid var(--app-border, #e5e7eb);
    }
    
    .vp-card:last-child {
        border-bottom: none;
    }
    
    .vp-card-highlight {
        grid-column: 1;
    }
}

/* =============================================
   Key Insights Section
   ============================================= */

.key-insights-section {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.02) 0%, rgba(245, 158, 11, 0.04) 100%);
}

.key-insights-section .report-section-header {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(245, 158, 11, 0.08) 100%);
    border-bottom-color: rgba(245, 158, 11, 0.15);
}

.key-insights-section .report-section-header h3 i {
    color: #f59e0b;
}

.key-insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    padding: 20px;
}

.insight-card {
    background: var(--app-card-bg, #fff);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--app-border, #e5e7eb);
    border-left: 4px solid var(--insight-color, #6366f1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.insight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--insight-color, #6366f1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--insight-color, #6366f1);
}

.insight-card:hover::before {
    opacity: 1;
}

.insight-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.insight-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.insight-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--app-text, #111827);
    margin: 0;
    line-height: 1.4;
    padding-top: 2px;
}

.insight-card-description {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #4b5563;
    margin: 0;
}

.insight-card-description strong,
.markdown-content strong,
.report-section strong {
    font-weight: 700 !important;
    color: #111827 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .key-insights-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    
    .insight-card {
        padding: 16px;
    }
}

/* =============================================
   Market Analysis Section
   ============================================= */

.market-analysis-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(139, 92, 246, 0.04) 100%);
}

.market-analysis-section .report-section-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-bottom-color: rgba(99, 102, 241, 0.15);
}

.market-analysis-section .report-section-header h3 i {
    color: #6366f1;
}

.market-analysis-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
}

.market-analysis-card {
    background: var(--app-card-bg, #fff);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--app-border, #e5e7eb);
    transition: all 0.3s ease;
}

.market-analysis-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.market-analysis-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--app-border, #e5e7eb);
}

.market-analysis-card.opportunities .market-analysis-card-header {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.12) 100%);
    border-bottom-color: rgba(16, 185, 129, 0.2);
}

.market-analysis-card.challenges .market-analysis-card-header {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(220, 38, 38, 0.12) 100%);
    border-bottom-color: rgba(239, 68, 68, 0.2);
}

.market-analysis-card.forces .market-analysis-card-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(37, 99, 235, 0.12) 100%);
    border-bottom-color: rgba(59, 130, 246, 0.2);
}

.market-analysis-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}

.market-analysis-card.opportunities .market-analysis-card-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.market-analysis-card.challenges .market-analysis-card-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.market-analysis-card.forces .market-analysis-card-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.market-analysis-card-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--app-text, #111827);
}

.market-analysis-card-content {
    padding: 20px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #4b5563;
}

.market-analysis-card-content::-webkit-scrollbar {
    width: 6px;
}

.market-analysis-card-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.market-analysis-card-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

/* Markdown content styling */
.markdown-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--app-text, #111827);
    margin: 20px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--app-border, #e5e7eb);
}

.markdown-content h3:first-child {
    margin-top: 0;
}

.markdown-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--app-text, #374151);
    margin: 16px 0 10px;
}

.markdown-content h4:first-child {
    margin-top: 0;
}

.markdown-content p {
    margin: 0 0 12px;
}

.markdown-content ul {
    margin: 12px 0;
    padding-left: 20px;
}

.markdown-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.markdown-content strong {
    font-weight: 600;
    color: var(--app-text, #111827);
}

.markdown-content em {
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .market-analysis-grid {
        padding: 16px;
        gap: 16px;
    }
    
    .market-analysis-card-content {
        padding: 16px;
    }
}

/* =============================================
   Target Analysis Section
   ============================================= */

.target-analysis-section {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.02) 0%, rgba(236, 72, 153, 0.04) 100%);
}

.target-analysis-section .report-section-header {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(236, 72, 153, 0.08) 100%);
    border-bottom-color: rgba(168, 85, 247, 0.15);
}

.target-analysis-section .report-section-header h3 i {
    color: #a855f7;
}

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

.target-analysis-card {
    background: var(--app-card-bg, #fff);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--app-border, #e5e7eb);
    transition: all 0.3s ease;
}

.target-analysis-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.target-analysis-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--app-border, #e5e7eb);
}

.target-analysis-card.primary-target .target-analysis-card-header {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(139, 92, 246, 0.12) 100%);
    border-bottom-color: rgba(168, 85, 247, 0.2);
}

.target-analysis-card.secondary-targets .target-analysis-card-header {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(219, 39, 119, 0.12) 100%);
    border-bottom-color: rgba(236, 72, 153, 0.2);
}

.target-analysis-card.coherence .target-analysis-card-header {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(22, 163, 74, 0.12) 100%);
    border-bottom-color: rgba(34, 197, 94, 0.2);
}

.target-analysis-card.justification .target-analysis-card-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(37, 99, 235, 0.12) 100%);
    border-bottom-color: rgba(59, 130, 246, 0.2);
}

.target-analysis-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}

.target-analysis-card.primary-target .target-analysis-card-icon {
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
}

.target-analysis-card.secondary-targets .target-analysis-card-icon {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.target-analysis-card.coherence .target-analysis-card-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.target-analysis-card.justification .target-analysis-card-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.target-analysis-card-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--app-text, #111827);
}

.target-analysis-card-content {
    padding: 20px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #4b5563;
}

.target-analysis-card-content::-webkit-scrollbar {
    width: 6px;
}

.target-analysis-card-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.target-analysis-card-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 992px) {
    .target-analysis-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .target-analysis-grid {
        padding: 16px;
        gap: 16px;
    }
    
    .target-analysis-card-content {
        padding: 16px;
    }
}

/* =============================================
   Competitor Analysis Section
   ============================================= */

.competitor-analysis-section {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.02) 0%, rgba(234, 88, 12, 0.04) 100%);
}

.competitor-analysis-section .report-section-header {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(234, 88, 12, 0.08) 100%);
    border-bottom-color: rgba(245, 158, 11, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.competitor-analysis-section .report-section-header h3 i {
    color: #f59e0b;
}

.competitor-count {
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
    background: rgba(245, 158, 11, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
}

.competitor-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.competitor-card {
    background: var(--app-card-bg, #fff);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--app-border, #e5e7eb);
    transition: all 0.3s ease;
}

.competitor-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.competitor-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.06) 0%, rgba(234, 88, 12, 0.1) 100%);
    border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}

.competitor-rank {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.competitor-info {
    flex: 1;
}

.competitor-name {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--app-text, #111827);
}

.competitor-url {
    font-size: 0.85rem;
    color: #f59e0b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.competitor-url:hover {
    color: #ea580c;
}

.competitor-url i {
    font-size: 0.75rem;
}

.competitor-card-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--app-border, #e5e7eb);
}

.competitor-section {
    background: var(--app-card-bg, #fff);
    padding: 16px;
}

.competitor-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--app-border, #e5e7eb);
}

.competitor-section.strengths .competitor-section-title {
    color: #16a34a;
}

.competitor-section.strengths .competitor-section-title i {
    color: #22c55e;
}

.competitor-section.weaknesses .competitor-section-title {
    color: #dc2626;
}

.competitor-section.weaknesses .competitor-section-title i {
    color: #ef4444;
}

.competitor-section.differentiators .competitor-section-title {
    color: #7c3aed;
}

.competitor-section.differentiators .competitor-section-title i {
    color: #a855f7;
}

.competitor-section-content {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #4b5563;
}

/* Responsive */
@media (max-width: 992px) {
    .competitor-card-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .competitor-grid {
        padding: 16px;
        gap: 16px;
    }
    
    .competitor-analysis-section .report-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .competitor-count {
        align-self: flex-start;
    }
}

/* Print styles */
@media print {
    .app-header-actions,
    .report-actions,
    .header-auth,
    .api-section {
        display: none !important;
    }
    
    .report-analysis-block.open .report-analysis-content,
    .report-analysis-content {
        display: block !important;
    }
    
    .report-section {
        break-inside: avoid;
    }
    
    .value-proposition-section {
        background: #fff !important;
    }
    
    .vp-card {
        background: #fff !important;
    }
    
    .key-insights-section {
        background: #fff !important;
    }
    
    .insight-card {
        background: #fff !important;
        box-shadow: none !important;
    }
    
    .market-analysis-section {
        background: #fff !important;
    }
    
    .market-analysis-card {
        background: #fff !important;
        box-shadow: none !important;
    }
    
    .market-analysis-card-content {
        max-height: none !important;
        overflow: visible !important;
    }
    
    .target-analysis-section {
        background: #fff !important;
    }
    
    .target-analysis-card {
        background: #fff !important;
        box-shadow: none !important;
    }
    
    .target-analysis-card-content {
        max-height: none !important;
        overflow: visible !important;
    }
    
    .competitor-analysis-section {
        background: #fff !important;
    }
    
    .competitor-card {
        background: #fff !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
    
    .competitor-card-body {
        grid-template-columns: 1fr !important;
    }
}

/* =============================================
   Système d'onglets
   ============================================= */

.report-tabs {
    margin-bottom: 24px;
}

.report-tabs-nav {
    display: flex;
    gap: 8px;
    background: var(--app-card-bg, #fff);
    border: 1px solid var(--app-border, #e5e7eb);
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.report-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.report-tab-btn i {
    font-size: 1rem;
}

.report-tab-btn:hover {
    background: var(--app-bg, #f9fafb);
    color: var(--text-primary, #1f2937);
}

.report-tab-btn.active {
    background: linear-gradient(135deg, var(--app-primary, #6366f1), var(--app-secondary, #8b5cf6));
    color: #fff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.report-tabs-content {
    min-height: 400px;
}

.report-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.report-tab-panel.active {
    display: block;
}

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

/* Responsive */
@media (max-width: 768px) {
    .report-tabs-nav {
        flex-wrap: nowrap;
        padding: 6px;
    }
    
    .report-tab-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .report-tab-btn span {
        display: none;
    }
    
    .report-tab-btn i {
        font-size: 1.1rem;
    }
}

/* =============================================
   Analyse Financière - Styles
   ============================================= */

/* Score de Santé Financière */
.financial-score-section {
    background: var(--app-card-bg, #fff);
    border: 1px solid var(--app-border, #e5e7eb);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.financial-score-overview {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 20px;
}

.score-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.score-circle {
    position: relative;
    width: 140px;
    height: 140px;
}

.score-circle svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.score-circle .score-bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 8;
}

.score-circle .score-fill {
    fill: none;
    stroke: var(--score-color, #10b981);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease;
}

.score-circle .score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--app-text, #111827);
}

.score-circle .score-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 60%);
    font-size: 0.75rem;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.score-interpretation {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.score-grade {
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.score-grade.excellent { background: #dcfce7; color: #166534; }
.score-grade.correct { background: #fef3c7; color: #92400e; }
.score-grade.faible { background: #fee2e2; color: #991b1b; }

.risk-level {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 12px;
}

.risk-level.risk-faible { background: #dcfce7; color: #166534; }
.risk-level.risk-modéré { background: #fef3c7; color: #92400e; }
.risk-level.risk-élevé { background: #fee2e2; color: #991b1b; }

.score-breakdown {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.score-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.score-item-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #4b5563;
}

.score-item-label i {
    width: 16px;
    color: var(--app-primary, #6366f1);
}

.score-item-value {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--app-text, #111827);
}

.score-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.financial-synthese {
    margin-top: 24px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 10px;
    border-left: 4px solid var(--app-primary, #6366f1);
}

.financial-synthese p {
    margin: 0;
    color: var(--app-text, #111827);
    line-height: 1.6;
}

/* Points Forts & Vigilance */
.financial-highlights-section {
    margin-bottom: 20px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.highlight-card {
    background: var(--app-card-bg, #fff);
    border: 1px solid var(--app-border, #e5e7eb);
    border-radius: 12px;
    padding: 20px;
}

.highlight-card.strengths {
    border-left: 4px solid #10b981;
}

.highlight-card.warnings {
    border-left: 4px solid #f59e0b;
}

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

.highlight-header i {
    font-size: 1.2rem;
}

.highlight-card.strengths .highlight-header i { color: #10b981; }
.highlight-card.warnings .highlight-header i { color: #f59e0b; }

.highlight-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.highlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--app-text, #111827);
}

.highlight-list li i {
    margin-top: 4px;
    font-size: 0.7rem;
}

.highlight-card.strengths .highlight-list li i { color: #10b981; }
.highlight-card.warnings .highlight-list li i { color: #f59e0b; }

/* KPI Evolution */
.financial-evolution-section {
    background: var(--app-card-bg, #fff);
    border: 1px solid var(--app-border, #e5e7eb);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.kpi-evolution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.kpi-card {
    background: #f9fafb;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kpi-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kpi-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.kpi-icon.ca { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.kpi-icon.result { background: linear-gradient(135deg, #10b981, #14b8a6); }
.kpi-icon.ebitda { background: linear-gradient(135deg, #3b82f6, #0ea5e9); }
.kpi-icon.cash { background: linear-gradient(135deg, #f59e0b, #eab308); }

.kpi-title {
    font-size: 0.8rem;
    color: #4b5563;
}

.kpi-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--app-text, #111827);
}

.kpi-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.kpi-trend.positive { color: #10b981; }
.kpi-trend.negative { color: #ef4444; }

.kpi-sparkline {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    margin-top: 8px;
}

.spark-bar {
    flex: 1;
    background: linear-gradient(to top, #6366f1, #a5b4fc);
    border-radius: 2px 2px 0 0;
    min-height: 4px;
    transition: height 0.5s ease;
}

.spark-bar.warning {
    background: linear-gradient(to top, #f59e0b, #fcd34d);
}

/* Comparaison Sectorielle */
.sector-comparison-section {
    background: var(--app-card-bg, #fff);
    border: 1px solid var(--app-border, #e5e7eb);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.comparison-card {
    background: #f9fafb;
    border-radius: 10px;
    padding: 16px;
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-header i {
    color: var(--app-primary, #6366f1);
    font-size: 1rem;
}

.comparison-header span {
    font-weight: 600;
    color: var(--app-text, #111827);
}

.comparison-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 80px 1fr 60px;
    align-items: center;
    gap: 12px;
}

.comparison-label {
    font-size: 0.8rem;
    color: #4b5563;
}

.comparison-bar-container {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.comparison-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.comparison-bar.entreprise { background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.comparison-bar.entreprise.better { background: linear-gradient(90deg, #10b981, #14b8a6); }
.comparison-bar.entreprise.worse { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.comparison-bar.secteur { background: #9ca3af; }
.comparison-bar.top25 { background: linear-gradient(90deg, #fbbf24, #f59e0b); }

.comparison-value {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: right;
    color: var(--app-text, #111827);
}

.comparison-value.better { color: #10b981; }

.comparison-verdict {
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comparison-verdict.positive {
    background: #dcfce7;
    color: #166534;
}

.comparison-verdict.negative {
    background: #fef3c7;
    color: #92400e;
}

/* Recommandations */
.financial-recommendations-section {
    background: var(--app-card-bg, #fff);
    border: 1px solid var(--app-border, #e5e7eb);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.recommendation-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 10px;
    border-left: 4px solid;
}

.recommendation-card.type-opportunite { border-left-color: #6366f1; }
.recommendation-card.type-croissance { border-left-color: #10b981; }
.recommendation-card.type-vigilance { border-left-color: #f59e0b; }

.reco-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 1.1rem;
}

.type-opportunite .reco-icon { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.type-croissance .reco-icon { background: linear-gradient(135deg, #10b981, #14b8a6); }
.type-vigilance .reco-icon { background: linear-gradient(135deg, #f59e0b, #fbbf24); }

.reco-content {
    flex: 1;
}

.reco-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.reco-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--app-text, #111827);
}

.reco-badges {
    display: flex;
    gap: 8px;
}

.reco-impact, .reco-priority {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.reco-impact.impact-fort { background: #fee2e2; color: #991b1b; }
.reco-impact.impact-moyen { background: #fef3c7; color: #92400e; }
.reco-impact.impact-faible { background: #e5e7eb; color: #4b5563; }

.reco-priority.priority-haute { background: #dbeafe; color: #1e40af; }
.reco-priority.priority-moyenne { background: #e0e7ff; color: #3730a3; }
.reco-priority.priority-basse { background: #f3f4f6; color: #4b5563; }

.reco-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
}

/* Deep Research - Force 1 colonne */
.deep-research-templates-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px;
}

.deep-research-template-card {
    width: 100%;
}

/* Empty tab state */
.report-empty-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #4b5563;
}

.report-empty-tab i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.report-empty-tab p {
    margin: 0;
    font-size: 1rem;
}

.report-empty-hint {
    margin-top: 8px !important;
    font-size: 0.875rem !important;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .kpi-evolution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .financial-score-overview {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .kpi-evolution-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .reco-header {
        flex-direction: column;
    }
}

/* =============================================
   Positionnement Stratégique - Section 07
   ============================================= */

.strategic-positioning-section {
    background: var(--app-card-bg, #fff);
    border: 1px solid var(--app-border, #e5e7eb);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.strategic-positioning-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.strategic-positioning-card {
    background: var(--app-card-bg, #fff);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.strategic-positioning-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.strategic-positioning-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--app-border, #e5e7eb);
}

.strategic-positioning-card.impact .strategic-positioning-card-header {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(124, 58, 237, 0.12) 100%);
    border-bottom-color: rgba(139, 92, 246, 0.2);
}

.strategic-positioning-card.positioning .strategic-positioning-card-header {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(8, 145, 178, 0.12) 100%);
    border-bottom-color: rgba(6, 182, 212, 0.2);
}

.strategic-positioning-card.differentiation .strategic-positioning-card-header {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(234, 88, 12, 0.12) 100%);
    border-bottom-color: rgba(249, 115, 22, 0.2);
}

.strategic-positioning-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.strategic-positioning-card.impact .strategic-positioning-card-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.strategic-positioning-card.positioning .strategic-positioning-card-icon {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.strategic-positioning-card.differentiation .strategic-positioning-card-icon {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.strategic-positioning-card-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--app-text, #111827);
}

.strategic-positioning-card-content {
    padding: 20px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--app-text, #111827);
    max-height: 350px;
    overflow-y: auto;
}

.strategic-positioning-card-content::-webkit-scrollbar {
    width: 6px;
}

.strategic-positioning-card-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.strategic-positioning-card-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

@media (max-width: 1024px) {
    .strategic-positioning-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .strategic-positioning-card-content {
        padding: 16px;
        max-height: 300px;
    }
}

@media print {
    .strategic-positioning-section {
        background: #fff !important;
    }
    
    .strategic-positioning-card {
        background: #fff !important;
        box-shadow: none !important;
    }
    
    .strategic-positioning-card-content {
        max-height: none !important;
        overflow: visible !important;
    }
}

/* =============================================
   Douleurs Clients - Section 08
   ============================================= */

.customer-pains-section {
    background: var(--app-card-bg, #fff);
    border: 1px solid var(--app-border, #e5e7eb);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.customer-pains-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.customer-pain-item {
    display: flex;
    gap: 20px;
    background: var(--app-card-bg, #fff);
    border: 1px solid var(--app-border, #e5e7eb);
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.customer-pain-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.customer-pain-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.customer-pain-content {
    flex: 1;
}

.customer-pain-title {
    margin: 0 0 12px 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--app-text, #111827);
}

.customer-pain-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--app-text, #111827);
    margin-bottom: 16px;
}

.customer-pain-consequences {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.06) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-radius: 8px;
    padding: 16px;
    border-left: 3px solid #ef4444;
}

.customer-pain-consequences-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #dc2626;
    margin-bottom: 8px;
}

.customer-pain-consequences .markdown-content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--app-text, #111827);
}

@media (max-width: 768px) {
    .customer-pain-item {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    
    .customer-pain-number {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.9rem;
    }
}

@media print {
    .customer-pains-section {
        background: #fff !important;
    }
    
    .customer-pain-item {
        background: #fff !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
}

/* =============================================
   Besoins Inavoués - Section 09
   ============================================= */

.customer-needs-section {
    background: var(--app-card-bg, #fff);
    border: 1px solid var(--app-border, #e5e7eb);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.customer-needs-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.customer-needs-card {
    background: var(--app-card-bg, #fff);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid var(--app-border, #e5e7eb);
}

.customer-needs-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.customer-needs-card.desirs { border-left: 4px solid #ec4899; }
.customer-needs-card.aspiration { border-left: 4px solid #8b5cf6; }
.customer-needs-card.motivation { border-left: 4px solid #f59e0b; }
.customer-needs-card.compensation { border-left: 4px solid #06b6d4; }
.customer-needs-card.fondamentaux { border-left: 4px solid #10b981; }

.customer-needs-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--app-border, #e5e7eb);
}

.customer-needs-card.desirs .customer-needs-card-header {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(219, 39, 119, 0.12) 100%);
}
.customer-needs-card.aspiration .customer-needs-card-header {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(124, 58, 237, 0.12) 100%);
}
.customer-needs-card.motivation .customer-needs-card-header {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(217, 119, 6, 0.12) 100%);
}
.customer-needs-card.compensation .customer-needs-card-header {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(8, 145, 178, 0.12) 100%);
}
.customer-needs-card.fondamentaux .customer-needs-card-header {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.12) 100%);
}

.customer-needs-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.customer-needs-card.desirs .customer-needs-card-icon { background: linear-gradient(135deg, #ec4899, #db2777); }
.customer-needs-card.aspiration .customer-needs-card-icon { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.customer-needs-card.motivation .customer-needs-card-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.customer-needs-card.compensation .customer-needs-card-icon { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.customer-needs-card.fondamentaux .customer-needs-card-icon { background: linear-gradient(135deg, #10b981, #059669); }

.customer-needs-card-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--app-text, #111827);
}

.customer-needs-card-content {
    padding: 20px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--app-text, #111827);
    max-height: 300px;
    overflow-y: auto;
}

.customer-needs-card-content::-webkit-scrollbar {
    width: 6px;
}

.customer-needs-card-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.customer-needs-card-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .customer-needs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .customer-needs-card-content {
        padding: 16px;
        max-height: 250px;
    }
}

@media print {
    .customer-needs-section {
        background: #fff !important;
    }
    
    .customer-needs-card {
        background: #fff !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
    
    .customer-needs-card-content {
        max-height: none !important;
        overflow: visible !important;
    }
}

/* =============================================
   Golden Circle Section (Why/How/What)
   ============================================= */
.golden-circle-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.golden-circle-section .section-subtitle {
    font-size: 0.875rem;
    color: #92400e;
    font-weight: 500;
    margin-left: 12px;
}

.golden-circle-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.golden-circle-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #f59e0b;
}

.golden-circle-card.why {
    border-left-color: #ef4444;
}

.golden-circle-card.how {
    border-left-color: #3b82f6;
}

.golden-circle-card.what {
    border-left-color: #10b981;
}

.golden-circle-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-bottom: 1px solid #e5e7eb;
}

.golden-circle-card.why .golden-circle-card-header {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.golden-circle-card.how .golden-circle-card-header {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.golden-circle-card.what .golden-circle-card-header {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.golden-circle-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: #f59e0b;
    color: white;
}

.golden-circle-card.why .golden-circle-card-icon {
    background: #ef4444;
}

.golden-circle-card.how .golden-circle-card-icon {
    background: #3b82f6;
}

.golden-circle-card.what .golden-circle-card-icon {
    background: #10b981;
}

.golden-circle-card-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.golden-circle-card-content {
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .golden-circle-grid {
        gap: 16px;
    }
    
    .golden-circle-card-content {
        padding: 16px;
        max-height: 250px;
    }
}

/* =============================================
   SWOT Section
   ============================================= */
.swot-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.swot-section .section-subtitle {
    font-size: 0.875rem;
    color: #0369a1;
    font-weight: 500;
    margin-left: 12px;
}

.swot-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.swot-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.swot-card.forces {
    border-top: 4px solid #22c55e;
}

.swot-card.faiblesses {
    border-top: 4px solid #ef4444;
}

.swot-card.opportunites {
    border-top: 4px solid #3b82f6;
}

.swot-card.menaces {
    border-top: 4px solid #f59e0b;
}

.swot-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.swot-card.forces .swot-card-header { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); }
.swot-card.faiblesses .swot-card-header { background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%); }
.swot-card.opportunites .swot-card-header { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); }
.swot-card.menaces .swot-card-header { background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); }

.swot-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
}

.swot-card.forces .swot-card-icon { background: #22c55e; }
.swot-card.faiblesses .swot-card-icon { background: #ef4444; }
.swot-card.opportunites .swot-card-icon { background: #3b82f6; }
.swot-card.menaces .swot-card-icon { background: #f59e0b; }

.swot-card-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.swot-card-content {
    padding: 16px 20px;
    max-height: 250px;
    overflow-y: auto;
}

/* Stratégies TOWS */
.tows-strategies {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px dashed #cbd5e1;
}

.tows-title {
    font-size: 1.1rem;
    color: #1f2937;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tows-title i {
    color: #6366f1;
}

.tows-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.tows-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border-left: 4px solid #6366f1;
}

.tows-card.offensives { border-left-color: #22c55e; }
.tows-card.defensives { border-left-color: #3b82f6; }
.tows-card.reorientation { border-left-color: #f59e0b; }
.tows-card.survie { border-left-color: #ef4444; }

.tows-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.tows-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    background: #e0e7ff;
    color: #4338ca;
}

.tows-card.offensives .tows-badge { background: #dcfce7; color: #166534; }
.tows-card.defensives .tows-badge { background: #dbeafe; color: #1e40af; }
.tows-card.reorientation .tows-badge { background: #fef3c7; color: #92400e; }
.tows-card.survie .tows-badge { background: #fee2e2; color: #991b1b; }

.tows-card-header h5 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.tows-card-content {
    padding: 14px 16px;
    max-height: 200px;
    overflow-y: auto;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .swot-matrix,
    .tows-grid {
        grid-template-columns: 1fr;
    }
}

/* Zone de suppression (discrète) */
.report-danger-zone {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px dashed #e5e7eb;
    text-align: center;
}

.btn-delete-report {
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-delete-report:hover {
    color: #ef4444;
    background: #fef2f2;
}

.btn-delete-report i {
    font-size: 0.75rem;
}

/* =============================================
   Deep Research Inline Component
   ============================================= */

.deep-research-inline {
    margin-top: 24px;
}

.deep-research-inline .dr-inline-result-content {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(168, 85, 247, 0.04) 100%);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 12px;
    padding: 24px;
}

@media (max-width: 768px) {
    .deep-research-inline .dr-inline-result-content {
        padding: 16px;
    }
}

/* Sources Deep Research - affichage inline horizontal */
ol.sources-list,
.markdown-content ol.sources-list,
.deep-research-result-content ol.sources-list,
.dr-inline-result-content ol.sources-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-top: 24px !important;
    padding-top: 16px !important;
    border-top: 1px solid var(--app-border, #e5e7eb) !important;
    counter-reset: source-counter !important;
}

ol.sources-list > li,
.markdown-content ol.sources-list > li,
.deep-research-result-content ol.sources-list > li,
.dr-inline-result-content ol.sources-list > li {
    display: inline-flex !important;
    align-items: center !important;
    background: #f3f4f6 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 0.8rem !important;
    margin-bottom: 0 !important;
    counter-increment: source-counter !important;
    line-height: 1.4 !important;
    list-style: none !important;
    list-style-type: none !important;
}

ol.sources-list > li::before,
.markdown-content ol.sources-list > li::before,
.deep-research-result-content ol.sources-list > li::before,
.dr-inline-result-content ol.sources-list > li::before {
    content: counter(source-counter) "." !important;
    margin-right: 6px !important;
    font-weight: 600 !important;
    color: #6366f1 !important;
}

ol.sources-list > li a,
.markdown-content ol.sources-list > li a,
.deep-research-result-content ol.sources-list > li a,
.dr-inline-result-content ol.sources-list > li a {
    color: #4b5563 !important;
    font-size: 0.8rem !important;
}

ol.sources-list > li a:hover {
    color: #6366f1 !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

/* =============================================
   Infographie - Pleine largeur sans cadre
   ============================================= */

.infographic-full-width {
    width: 100%;
    margin: 0 0 30px 0;
    padding: 0;
}

.infographic-full-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 768px) {
    .infographic-full-image {
        width: 100%;
        height: auto;
    }
}

/* =============================================
   Synthèse Personnalisée
   ============================================= */

.personalized-synthesis-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(34, 197, 94, 0.06) 100%);
    border: 2px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.personalized-synthesis-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7);
}

.personalized-synthesis-section .section-header {
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.personalized-synthesis-section .section-header h2 {
    color: #059669;
}

.personalized-synthesis-section .section-header h2 i {
    color: #10b981;
}

.personalized-badge {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.personalized-badge i {
    font-size: 0.7rem;
}

.personalized-synthesis-content {
    padding: 24px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #374151;
}

.personalized-synthesis-content h1,
.personalized-synthesis-content h2,
.personalized-synthesis-content h3,
.personalized-synthesis-content h4 {
    color: #065f46;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.personalized-synthesis-content h1:first-child,
.personalized-synthesis-content h2:first-child,
.personalized-synthesis-content h3:first-child {
    margin-top: 0;
}

.personalized-synthesis-content ul,
.personalized-synthesis-content ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.personalized-synthesis-content li {
    margin-bottom: 0.5em;
}

.personalized-synthesis-content strong {
    color: #047857;
}

@media (max-width: 768px) {
    .personalized-synthesis-content {
        padding: 16px;
        font-size: 0.9rem;
    }
}
