body { 
    font-family: 'Microsoft YaHei', sans-serif; 
    background-color: #f1f5f9; 
    margin: 0; 
    padding: 20px; 
    color: #334155; 
}

.header-panel { 
    background: #fff; 
    padding: 15px 20px; 
    border-radius: 8px; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); 
    margin-bottom: 15px; 
    display: flex; 
    gap: 15px; 
    align-items: center; 
    flex-wrap: wrap; 
}

input, select, button { 
    padding: 6px 12px; 
    border: 1px solid #cbd5e1; 
    border-radius: 4px; 
    outline: none; 
}

button { 
    background: #2563eb; 
    color: #fff; 
    border: none; 
    cursor: pointer; 
    font-weight: bold; 
    transition: background 0.2s; 
}

button:hover { 
    background: #1d4ed8; 
}

/* 全局时间轴视图 */
.timeline-container { 
    background: #fff; 
    padding: 10px; 
    border-radius: 8px; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); 
    margin-bottom: 15px; 
}

#timelineChart { 
    width: 100%; 
    height: 180px; 
}

/* 选项卡样式 */
.tabs { 
    display: flex; 
    gap: 5px; 
    margin-bottom: -1px; 
}

.tab-btn { 
    background: #e2e8f0; 
    color: #475569; 
    border: 1px solid #cbd5e1; 
    border-bottom: none; 
    padding: 10px 20px; 
    border-radius: 6px 6px 0 0; 
    cursor: pointer; 
    font-weight: bold; 
}

.tab-btn.active { 
    background: #fff; 
    color: #2563eb; 
    border-bottom: 2px solid #fff; 
}

.tab-content { 
    display: none; 
    background: #fff; 
    padding: 20px; 
    border: 1px solid #cbd5e1; 
    border-radius: 0 6px 6px 6px; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); 
}

.tab-content.active { 
    display: block; 
}

/* 各个图表容器 */
#spatialChart { 
    width: 100%; 
    height: 600px; 
}

#trendChart { 
    width: 100%; 
    height: 500px; 
}

/* 图层控制按钮区 */
.layer-controls { 
    display: flex; 
    gap: 15px; 
    margin-bottom: 10px; 
    padding: 10px; 
    background: #f8fafc; 
    border-radius: 6px; 
    border: 1px dashed #cbd5e1; 
}

.layer-controls label { 
    font-size: 13px; 
    font-weight: bold; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 4px; 
}