﻿:root {
    --primary-color: #104492;
    --secondary-color: #e3eeff;
}
* {
    /* box-sizing: border-box; */
    margin: 0;
    padding: 0;
}
body {
    font-family: 微软雅黑, sans-serif;
    line-height: 1.6;
    background: #f8fafb;
}
.model-container {
    max-width: 1200px;
    margin: 0 auto;
}
.model-title {
    color: var(--primary-color);
    font-size: 24px;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}
.param-group {
    margin-bottom: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}
.main-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}
.main-table th,
.main-table td {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: center;
    font-size: 16px;
}
.main-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 500;
}
.common-params-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--secondary-color);
}
.common-params-table td {
    padding: 12px;
    border: 1px solid #c6d8ff;
    font-size: 15px;
}
.common-params-table td:first-child {
    width: 120px;
    background: #d4e3ff;
    font-weight: 600;
}

@media (min-width: 769px) {
    .param-group {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        gap: 20px;
        padding: 20px;
    }
    .main-table {
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
}

@media (max-width: 768px) {
    .model-title { font-size: 20px; }
    .param-group {
        margin-bottom: 20px;
        border: none;
.main-table td {
padding-left: 12px;  /* 优化移动端对齐 */
text-align: center !important;
}
    }
    .param-group::before {
        content: "参数配置";
        display: block;
        background: var(--primary-color);
        color: white;
        padding: 8px;
        font-size: 14px;
    }
    .main-table td { 
        padding: 10px;
        position: relative;
        padding-left: 45%;
        text-align: left;
    }
    .main-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 600;
        color: var(--primary-color);
    }
    .common-params-table td {
        display: block;
        width: 100% !important;
        padding: 10px;
        border: none;
        border-bottom: 1px solid #ddd;
    }
    .common-params-table td:first-child {
        border-bottom: 2px solid var(--primary-color);
    }
}