    :root {
        --color-primary: #2d6a4f; /* 主色调：深绿色 - 代表自然、草本 */
        --color-secondary: #b7791f; /* 辅助色：土黄色 - 代表传统、自然 */
        --color-accent: #9d2933; /* 强调色：暗红色 - 代表中药特性 */
        --color-success: #4a7c51; /* 成功色：绿色系 */
        --color-text: #333;
        --color-gray: #6b7280;
        --color-light-gray: #f3f4f6;
        --color-extra-light-gray: #f8fafc;
        --color-white: #ffffff;
        --color-border-gray: #e5e7eb;
        --font-sans: "PingFang SC", "Microsoft YaHei", sans-serif;
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
        --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
        --radius: 0.5rem;
        --spacing-xs: 0.25rem;
        --spacing-sm: 0.5rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: var(--font-sans);
        color: var(--color-text);
        background-color: var(--color-extra-light-gray);
        line-height: 1.6;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: var(--spacing-md) var(--spacing-sm);
    }

    /* 标题栏样式 */
    .system-title {
        background-color: var(--color-primary);
        color: var(--color-white);
        padding: var(--spacing-sm);
        border-radius: var(--radius);
        box-shadow: var(--shadow-sm);
        margin-bottom: var(--spacing-md);
        height: auto;
    }

        .system-title h2 {
            font-size: 1.2rem;
            font-weight: bold;
            text-align: center;
            margin: 0;
        }

    /* 基本信息卡片 */
    .info-card {
        background-color: var(--color-white);
        padding: var(--spacing-md);
        border-radius: var(--radius);
        box-shadow: var(--shadow-sm);
        margin-bottom: var(--spacing-md);
    }

    .info-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
    }

    .contact-info {
        word-break: break-word;
        padding-bottom: var(--spacing-sm);
    }

        .contact-info p {
            margin-bottom: var(--spacing-sm);
            line-height: 1.6;
        }

    @media (min-width: 768px) {
        .info-grid {
            grid-template-columns: 1fr 1fr;
        }
    }

/* 信息项样式 */
.info-item {
    border-bottom: 1px solid var(--color-border-gray);
    padding: 0.1rem 0;
    display: flex;
    align-items: flex-start;
    line-height: 1.4; 
}

    .info-item strong {
        color: var(--color-primary);
        width: 90px;
        text-align: left;
        margin-right: var(--spacing-sm);
        flex-shrink: 0;
        padding-top: 1px;
    }

    .info-item span {
        text-align: left;
        flex-grow: 1;
        word-break: break-word;
    }

    /* 选项卡样式 */
    .tab-container {
        background-color: var(--color-light-gray);
        border-radius: var(--radius);
        padding: 2px;
        margin-bottom: var(--spacing-md);
        display: flex;
        width: 100%;
        overflow: hidden;
        height: 80px;
        align-items: center;
    }

    .tab-btn {
        flex: 1;
        min-width: auto;
        padding: 0.75rem 0.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        border-radius: var(--radius);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: none;
        background: none;
        font-family: var(--font-sans);
        font-size: 1.1rem;
        white-space: nowrap;
        max-width: 25%;
    }

        .tab-btn i {
            font-size: 1.4rem;
            margin-bottom: 0.25rem;
        }

    @media (max-width: 768px) {
        .tab-btn {
            padding: 0.5rem 0.25rem;
            font-size: 0.9rem;
        }

            .tab-btn i {
                font-size: 1.2rem;
                margin-bottom: 0.1rem;
            }
    }

    @media (max-width: 480px) {
        .tab-btn {
            padding: 0.4rem 0.1rem;
            font-size: 0.85rem;
        }
    }

    .tab-btn.tab-active {
        background-color: var(--color-primary);
        color: var(--color-white);
        box-shadow: var(--shadow-md);
    }

    .tab-content {
        display: none;
        animation: fadeIn 0.5s;
    }

        .tab-content.active {
            display: block;
        }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* 模块样式 */
    .module {
        background-color: var(--color-white);
        border-radius: var(--radius);
        box-shadow: var(--shadow-sm);
        overflow: hidden;
        margin-bottom: var(--spacing-md);
    }

    .tab-content > .module:last-child {
        margin-bottom: var(--spacing-md);
    }

    #production-content .module {
        margin-bottom: var(--spacing-md);
    }

        #production-content .module:last-child {
            margin-bottom: var(--spacing-md);
        }

    .module-header {
        background-color: var(--color-primary);
        color: var(--color-white);
        padding: var(--spacing-md);
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        border-radius: var(--radius) var(--radius) 0 0;
        box-shadow: var(--shadow-sm);
    }

        .module-header span {
            display: flex;
            align-items: center;
        }

        .module-header i {
            margin-right: var(--spacing-sm);
        }

    .toggle-btn {
        background: none;
        border: none;
        color: var(--color-white);
        cursor: pointer;
        font-size: 1.25rem;
    }

    .module-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
        margin-bottom: var(--spacing-sm);
    }

        .module-content.expanded {
            max-height: 2000px;
            transition: max-height 0.8s ease-in;
            margin-bottom: 0;
        }

    .module-body {
        padding: var(--spacing-md);
    }

    /* 表格样式 - 左侧标题列宽度统一 */
    .data-table {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed; /* 固定表格布局，列宽由CSS控制 */
    }

    .table-row {
        border-bottom: 1px solid var(--color-border-gray);
        transition: background-color 0.3s ease;
    }

        .table-row:hover {
            background-color: rgba(0, 0, 0, 0.02);
        }

    .table-cell {
        padding: 0.6rem;
        text-align: left;
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md); /* 统一单元格内边距 */
    }

        .table-cell.bg-green-50 {
            background-color: rgba(74, 124, 81, 0.1);
            color: var(--color-primary);
            font-weight: bold;
            width: 120px; /* 固定左侧标题列宽度 */
            white-space: nowrap; /* 防止文字换行 */
            overflow: hidden; /* 溢出隐藏 */
            text-overflow: ellipsis; /* 溢出显示省略号 */
        }

        .table-cell:not(.bg-green-50) {
            word-wrap: break-word; /* 内容自动换行 */
            max-width: calc(100% - 120px); /* 限制最大宽度 */
        }

    /* 轮播图样式 */
    .carousel-container {
        position: relative;
        overflow: hidden;
        width: 100%;
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
        margin: 0 auto;
        height: 250px;
    }

    .carousel-track {
        display: flex;
        transition: transform 0.5s ease-in-out;
        height: 100%;
    }

    .carousel-item {
        min-width: 100%;
        box-sizing: border-box;
        padding: var(--spacing-md);
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .carousel-item img {
            width: 100%;
            height: 100%;
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--color-border-gray);
            object-fit: cover;
            transition: opacity 0.5s ease-in-out;
        }

            .carousel-item img[src=""] {
                display: flex;
                align-items: center;
                justify-content: center;
                background-color: var(--color-light-gray);
                content: '图片未找到';
                font-size: 1rem;
                color: var(--color-gray);
            }

    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.3);
        color: white;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        font-size: 1rem;
    }

        .carousel-btn:hover {
            background-color: rgba(0, 0, 0, 0.6);
            transform: translateY(-50%) scale(1.1);
        }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-indicators {
        position: absolute;
        bottom: 15px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        gap: 8px;
        z-index: 10;
    }

    .carousel-indicator {
        width: 10px;
        height: 3px;
        border-radius: 2px;
        background-color: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
    }

        .carousel-indicator.active {
            background-color: white;
            width: 20px;
        }

    /* 产品图片样式 */
    .product-image-container {
        width: 100%;
        max-width: 400px;
        margin: var(--spacing-lg) auto;
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
        overflow: hidden;
        cursor: zoom-in;
        transition: transform 0.3s ease;
    }

        .product-image-container:hover {
            transform: scale(1.02);
        }

    .product-image {
        width: 100%;
        height: auto;
        display: block;
        border-radius: var(--radius);
    }

        .product-image[src=""] {
            display: block;
            width: 100%;
            height: 300px;
            background-color: var(--color-light-gray);
            color: var(--color-gray);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
        }

    /* 工艺步骤样式 */
    .process-container {
        border: 1px solid var(--color-border-gray);
        padding: var(--spacing-md);
        border-radius: var(--radius);
        margin-bottom: var(--spacing-md);
    }

    .process-step {
        background-color: var(--color-light-gray);
        padding: var(--spacing-md);
        border-radius: var(--radius);
        margin-top: var(--spacing-md);
        position: relative;
        padding-left: 40px;
    }

        .process-step:first-child {
            margin-top: 0;
        }

        .process-step::before {
            content: attr(data-step);
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            width: 24px;
            height: 24px;
            background-color: var(--color-primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.875rem;
            font-weight: bold;
        }

    .process-meta {
        font-size: 0.875rem;
        color: var(--color-gray);
        margin-left: var(--spacing-lg);
        margin-top: var(--spacing-xs);
    }

    /* 销售记录样式 */
    .sales-record {
        border: 1px solid var(--color-border-gray);
        padding: var(--spacing-md);
        border-radius: var(--radius);
        margin-bottom: var(--spacing-md);
        transition: box-shadow 0.3s ease;
    }

        .sales-record:hover {
            box-shadow: var(--shadow-md);
        }

    .no-sales {
        text-align: center;
        padding: var(--spacing-xl);
        color: var(--color-gray);
        background-color: var(--color-light-gray);
        border-radius: var(--radius);
    }

    /* 设备展示样式 */
    .equipment-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    @media (min-width: 768px) {
        .equipment-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    .equipment-item {
        background-color: var(--color-light-gray);
        padding: var(--spacing-sm);
        border-radius: var(--radius);
        box-shadow: var(--shadow-sm);
        transition: box-shadow 0.3s ease;
    }

        .equipment-item:hover {
            box-shadow: var(--shadow-md);
        }

        .equipment-item img {
            width: 100%;
            height: 200px;
            border-radius: var(--radius);
            object-fit: contain;
            background-color: white;
        }

            .equipment-item img[src=""] {
                display: flex;
                align-items: center;
                justify-content: center;
                background-color: white;
                color: var(--color-gray);
                font-size: 1rem;
            }

    .equipment-name {
        text-align: center;
        font-size: 0.875rem;
        margin-top: var(--spacing-sm);
    }

    /* 质检报告样式 */
    .report-thumbnail {
        cursor: pointer;
        transition: transform 0.3s ease;
        max-width: 200px;
        height: auto;
        border-radius: var(--radius);
        box-shadow: var(--shadow-sm);
    }

        .report-thumbnail:hover {
            transform: scale(1.05);
        }

        .report-thumbnail[src=""] {
            display: block;
            width: 200px;
            height: 150px;
            background-color: var(--color-light-gray);
            color: var(--color-gray);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.875rem;
            text-align: center;
            padding: 10px;
        }

    .report-hint {
        font-size: 0.875rem;
        color: var(--color-primary);
        margin-top: var(--spacing-xs);
    }

    /* 模态框样式 */
    .modal {
        display: none;
        position: fixed;
        z-index: 100;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        max-width: 90%;
        max-height: 90%;
        position: relative;
    }

    .modal-image {
        max-width: 100%;
        max-height: 80vh;
        display: block;
        margin: 0 auto;
        border-radius: var(--radius);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    }

        .modal-image[src=""] {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 500px;
            height: 300px;
            background-color: white;
            color: var(--color-gray);
            font-size: 1.2rem;
        }

    .close-modal {
        position: absolute;
        top: -40px;
        right: 0;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

        .close-modal:hover {
            transform: scale(1.1);
        }

    /* 标题样式 */
    .section-title {
        text-align: center;
        color: var(--color-secondary);
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: var(--spacing-lg);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: var(--spacing-sm) 0;
    }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            width: 50px;
            height: 3px;
            background-color: var(--color-secondary);
            border-radius: 3px;
        }

        .section-title i {
            margin: 0 var(--spacing-xs);
        }

    /* 底部样式 */
    .footer {
        background-color: var(--color-white);
        padding: var(--spacing-md);
        border-radius: var(--radius);
        box-shadow: var(--shadow-sm);
        margin-top: var(--spacing-md);
        text-align: center;
        color: var(--color-primary);
    }

        .footer p {
            margin: var(--spacing-xs) 0;
        }

    /* 颜色样式 */
    .text-secondary {
        color: var(--color-secondary);
    }

    .text-success {
        color: var(--color-success);
        font-weight: 600;
    }

    .text-accent {
        color: var(--color-accent);
    }

    .bg-gray-50 {
        background-color: var(--color-light-gray);
    }

    .border-gray-200 {
        border-color: var(--color-border-gray);
    }

    .p-3 {
        padding: var(--spacing-md);
    }

    .mb-3 {
        margin-bottom: var(--spacing-md);
    }

    .mt-3 {
        margin-top: var(--spacing-md);
    }

    .mt-6 {
        margin-top: var(--spacing-xl);
    }

    .ml-4 {
        margin-left: var(--spacing-lg);
    }

    /* 企业介绍美化 */
    .enterprise-intro-content {
        line-height: 1.8;
        font-size: 1.05rem;
    }

    .enterprise-highlights {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        margin: var(--spacing-xl) 0;
    }

    @media (min-width: 768px) {
        .enterprise-highlights {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    .highlight-card {
        background-color: var(--color-light-gray);
        padding: var(--spacing-lg);
        border-radius: var(--radius);
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .highlight-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }

    .highlight-icon {
        font-size: 2rem;
        color: var(--color-primary);
        margin-bottom: var(--spacing-md);
    }

    .highlight-title {
        color: var(--color-primary);
        font-weight: 600;
        margin-bottom: var(--spacing-sm);
    }

    /* 产品介绍美化 */
    .product-intro-wrapper {
        display: block;
    }

    .product-description {
        font-size: 1.05rem;
        line-height: 1.8;
        margin-bottom: var(--spacing-lg);
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .product-introduction {
        background-color: var(--color-light-gray);
        border-radius: var(--radius);
        padding: var(--spacing-lg);
        margin-top: var(--spacing-xl);
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .intro-item {
        margin-bottom: var(--spacing-md);
        padding: var(--spacing-md) var(--spacing-md) calc(var(--spacing-md) - 4px); /* 微调下内边距，减少与边框的距离 */
        border-bottom: 1px solid var(--color-border-gray);
        transition: background-color 0.3s ease;
    }

        .intro-item:last-child {
            margin-bottom: 0;
            padding-bottom: var(--spacing-md);
            border-bottom: none;
        }

        .intro-item strong {
            color: var(--color-primary);
            display: block;
            margin-bottom: calc(var(--spacing-sm) - 2px);
            font-size: 1.1rem;
            font-weight: 600;
        }

        /* 正文内容优化 */
        .intro-item p {
            margin: 0;
            line-height: 1.7;
            color: var(--color-text);
            text-indent: 2em;
        }

        .intro-item:hover {
            background-color: rgba(45, 106, 79, 0.02);
        }

    /* 加载和错误状态样式 */
    .loading-section, .error-section, .no-code-section, .no-result-section {
        background-color: var(--color-white);
        border-radius: var(--radius);
        box-shadow: var(--shadow-sm);
        padding: var(--spacing-xl);
        margin-bottom: var(--spacing-md);
        text-align: center;
    }

    .loading-spinner {
        border: 4px solid rgba(0, 0, 0, 0.1);
        border-left-color: var(--color-primary);
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: spin 1s linear infinite;
        margin: 0 auto var(--spacing-md);
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }

    .error-section {
        background-color: #fff5f5;
        border: 1px solid #ffe3e3;
        color: #c53030;
    }

    .no-code-section {
        background-color: #fffbf0;
        border: 1px solid #ffeeba;
        color: #856404;
    }

    .no-record {
        text-align: center;
        padding: var(--spacing-xl);
        color: var(--color-gray);
        background-color: var(--color-light-gray);
        border-radius: var(--radius);
        margin: var(--spacing-md) 0;
    }

        .no-record i {
            font-size: 3rem;
            margin-bottom: var(--spacing-md);
            color: var(--color-gray);
        }

    #noResultSection, #resultSection {
        display: none;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 1rem;
        background-color: var(--color-primary);
        color: white;
        border: none;
        border-radius: var(--radius);
        cursor: pointer;
        font-family: var(--font-sans);
        font-size: 0.9rem;
        transition: background-color 0.3s ease;
    }

        .btn i {
            margin-right: 0.25rem;
        }

        .btn:hover {
            background-color: #235942;
        }

    .btn-secondary {
        background-color: var(--color-secondary);
    }

        .btn-secondary:hover {
            background-color: #9c6518;
        }

    .btn-outline {
        background-color: transparent;
        border: 1px solid var(--color-primary);
        color: var(--color-primary);
    }

        .btn-outline:hover {
            background-color: var(--color-primary);
            color: white;
        }

    .query-input-group {
        display: flex;
        align-items: center;
        gap: var(--spacing-sm);
        margin-top: var(--spacing-md);
    }

    .form-control {
        padding: 0.5rem;
        border: 1px solid var(--color-border-gray);
        border-radius: var(--radius);
        font-family: var(--font-sans);
        font-size: 0.9rem;
        width: 100%;
        max-width: 300px;
    }

        .form-control:focus {
            outline: none;
            border-color: var(--color-primary);
            box-shadow: 0 0 0 2px rgba(45, 106, 79, 0.2);
        }

    .badge {
        display: inline-block;
        padding: 0.25rem 0.5rem;
        border-radius: 999px;
        font-size: 0.75rem;
        font-weight: 600;
        margin-left: 0.5rem;
    }

    .badge-success {
        background-color: rgba(74, 124, 81, 0.1);
        color: var(--color-success);
    }

    .badge-warning {
        background-color: rgba(183, 121, 31, 0.1);
        color: var(--color-secondary);
    }

    .badge-accent {
        background-color: rgba(157, 41, 51, 0.1);
        color: var(--color-accent);
    }

    .status-badge {
        display: flex;
        gap: 0.5rem;
    }

    .clickable {
        color: var(--color-primary);
        text-decoration: underline;
        cursor: pointer;
    }
