/* ==================== PPT风格周报样式 ==================== */

/* 报告容器 */
.report-content {
    background: #f8f9fa;
    padding: 0;
    border: none;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* PPT页眉 */
.report-ppt-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 12px 12px 0 0;
}

.report-ppt-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 15px 0;
    letter-spacing: 2px;
    color: white;
}

.report-period {
    font-size: 16px;
    opacity: 0.95;
    margin: 0;
    color: white;
}

/* PPT章节 */
.report-ppt-section {
    background: white;
    margin: 20px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    page-break-inside: avoid;
}

/* 高亮章节（投资执行） */
.report-ppt-section.highlight-section {
    background: linear-gradient(to right, #fef5e7, #ffffff);
    border-left: 5px solid #f39c12;
}

/* 摘要章节 */
.report-ppt-section.summary-section {
    background: linear-gradient(to right, #e8f5e9, #ffffff);
    border-left: 5px solid #4caf50;
}

/* 非投工作章节 */
.report-ppt-section.non-investment-section {
    background: linear-gradient(to right, #e3f2fd, #ffffff);
    border-left: 5px solid #2196f3;
}

/* 赛道覆盖章节 */
.report-ppt-section.track-coverage-section {
    background: linear-gradient(to right, #fff3e0, #ffffff);
    border-left: 5px solid #ff9800;
}

/* 章节标题 */
.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e0e0e0;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 22px;
    font-weight: 700;
    border-radius: 12px;
    margin-right: 20px;
    flex-shrink: 0;
}

.section-title h2 {
    font-size: 26px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    border: none;
    padding: 0;
}

.project-count {
    font-size: 18px;
    color: #7f8c8d;
    font-weight: 400;
    margin-left: 10px;
}

/* 工作概要（可编辑） */
.summary-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.8;
    color: #2c3e50;
    border: 2px dashed #4caf50;
    min-height: 80px;
    cursor: text;
}

.summary-content:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.summary-tip {
    margin-top: 10px;
    font-size: 13px;
    color: #7f8c8d;
    font-style: italic;
}

/* 可编辑内容区域 */
.editable-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.8;
    color: #2c3e50;
    border: 2px dashed #bdc3c7;
    min-height: 100px;
    cursor: text;
    position: relative;
}

.editable-content:empty::before {
    content: attr(data-placeholder);
    color: #95a5a6;
    font-style: italic;
    position: absolute;
    pointer-events: none;
}

.editable-content:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.editable-content:focus::before {
    display: none;
}

/* 初步接触项目表格 */
.initial-contact-table {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.table-intro {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    font-weight: 500;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.project-tag {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(102, 126, 234, 0.3);
    transition: transform 0.2s;
}

.project-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
}

/* 项目卡片 */
.report-ppt-project {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.report-ppt-project:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateX(5px);
}

/* 投资执行项目特殊样式 */
.report-ppt-project.execution-project {
    background: linear-gradient(to right, #fff9e6, #ffffff);
    border-color: #f39c12;
    border-width: 2px;
}

.report-ppt-project.execution-project:hover {
    border-color: #e67e22;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.2);
}

/* 其他组项目样式 */
.report-ppt-project.other-group-project {
    background: #f5f7fa;
    border-style: dashed;
}

/* 无更新项目样式 */
.report-ppt-project.no-update {
    opacity: 0.7;
    background: #fafafa;
}

/* 项目头部 */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
}

.project-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.no-update-badge {
    display: inline-block;
    background: #95a5a6;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* 项目内容 */
.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.project-work,
.project-plan {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.project-plan {
    border-left-color: #2ecc71;
}

.project-work.full-width {
    grid-column: 1 / -1;
}

.content-label {
    font-size: 13px;
    font-weight: 600;
    color: #7f8c8d;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-text {
    font-size: 14px;
    line-height: 1.8;
    color: #2c3e50;
    white-space: pre-line;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.content-text p {
    margin: 0 0 10px 0;
    line-height: 1.8;
}

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

/* 打印样式优化 */
@media print {
    .report-ppt-header {
        background: #667eea !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .report-ppt-section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .project-tag {
        background: #667eea !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .section-number {
        background: #667eea !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .report-ppt-header {
        padding: 40px 20px;
    }
    
    .report-ppt-header h1 {
        font-size: 32px;
    }
    
    .report-ppt-section {
        margin: 15px 10px;
        padding: 20px 15px;
    }
    
    .section-title h2 {
        font-size: 20px;
    }
    
    .project-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .project-tags {
        gap: 8px;
    }
    
    .project-tag {
        padding: 8px 14px;
        font-size: 13px;
    }
}
