/* 给整个表格加边框和样式 */
table {
    width: 100%;
    border-collapse: collapse; /* 合并边框 */
    border: 1px solid #e5e7eb;   /* 外边框 */
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* 表头样式（第一行） */
table tr:first-child th {
    background-color: #f2f2f2; /* 表头底色 */
    font-weight: bold;          /* 加粗 */
    border: 1px solid #e5e7eb; /* 表头边框 */
    padding: 8px;
    text-align: center;         /* 居中 */
}

/* 表格内容样式 */
table td {
    border: 1px solid #e5e7eb; /* 内部单元格边框 */
    padding: 8px;
    text-align: center;
}

/* 第一列样式，不换行（保留可选） */
table td:first-child,
table th:first-child {
    white-space: nowrap;
}