/* 图表样式 */
.chart-section {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

/* 暗色主题覆盖 */
html.theme-dark .chart-section {
    background: rgba(22,24,28,0.85);
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
html.theme-dark .chart-title { color: #e8e8e8; }
html.theme-dark .chart-container { background: transparent; }

.chart-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.chart-container {
    position: relative;
    height: auto;
    width: 100%;
    min-height: 300px;
}

/* 响应式图表 */
@media (max-width: 768px) {
    .chart-section {
        padding: 1rem;
    }
    
    .chart-container {
        min-height: 250px;
    }
    
    .chart-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .chart-container {
        min-height: 200px;
    }
    
    .chart-section {
        padding: 0.75rem;
    }
    
    .chart-title {
        font-size: 1.1rem;
    }
}