        :root {
            --primary-color: #2c7da0;
            --primary-light: #a9d6e5;
            --primary-dark: #01497c;
            --secondary-color: #6c757d;
            --success-color: #28a745;
            --danger-color: #dc3545;
            --warning-color: #ffc107;
            --info-color: #17a2b8;
            --light-color: #f8f9fa;
            --dark-color: #343a40;
            --border-color: #dee2e6;
            --text-color: #212529;
            --text-muted: #6c757d;
            --white: #ffffff;
            --shadow: 0 2px 10px rgba(0,0,0,0.05);
            --shadow-hover: 0 5px 15px rgba(0,0,0,0.1);
            --transition: all 0.3s ease;
             
            --fetal-pink: #f8bbd9;
            --fetal-blue: #b3e5fc;
            --fetal-green: #c8e6c9;
            --fetal-yellow: #fff9c4;
            --fetal-purple: #e1bee7;
            --fetal-orange: #ffcc80;
        }
  
        .result-container {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
            border-radius: 16px;
            padding: 2.5rem;
            margin-top: 2.5rem;
            border: 2px solid var(--border-color);
            animation: fadeInUp 0.6s ease-out;
            box-shadow: 0 8px 30px rgba(0,0,0,0.06);
        }
        
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
         
        .measurement-card {
            border-radius: 12px;
            padding: 1.75rem;
            margin-bottom: 1.5rem;
            border: 2px solid var(--border-color);
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            background: var(--white);
        }
        
        .measurement-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }
        
        .measurement-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 8px;
            height: 100%;
            background: linear-gradient(to bottom, var(--fetal-blue), var(--fetal-pink));
        }
        
        .measurement-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--fetal-blue), var(--primary-light));
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
        }
        
        .measurement-icon i {
            color: var(--primary-dark);
            font-size: 1.5rem;
        }
        
        .measurement-name {
            font-weight: 700;
            color: var(--text-color);
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }
        
        .measurement-value {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary-dark);
            line-height: 1;
            margin-bottom: 0.5rem;
        }
         
        .percentile-indicator {
            width: 100%;
            height: 24px;
            background: linear-gradient(to right, 
                #dc3545 0%, #dc3545 3%, 
                #ff6b6b 3%, #ff6b6b 10%,
                #ffc107 10%, #ffc107 50%,
                #51cf66 50%, #51cf66 90%,
                #339af0 90%, #339af0 97%,
                #5c7cfa 97%, #5c7cfa 100%);
            border-radius: 12px;
            margin: 1.5rem 0;
            position: relative;
            overflow: hidden;
            box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .percentile-marker {
            position: absolute;
            top: -8px;
            width: 6px;
            height: 40px;
            background-color: var(--dark-color);
            transform: translateX(-50%);
            border-radius: 3px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }
        
        .percentile-marker::after {
            content: "";
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            border: 8px solid transparent;
            border-bottom-color: var(--dark-color);
        }
        
        .percentile-labels {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 600;
            margin-top: 0.5rem;
        }
         
        .growth-chart-container {
            position: relative;
            height: 500px;
            width: 100%;
            margin: 2.5rem 0;
            background: var(--white);
            border-radius: 16px;
            padding: 2rem;
            border: 2px solid var(--border-color);
            box-shadow: var(--shadow);
        }
         
        .fetal-weight-card {
            background: linear-gradient(135deg, rgba(248, 187, 217, 0.15) 0%, rgba(179, 229, 252, 0.2) 100%);
            border-radius: 16px;
            padding: 2.5rem;
            margin: 2.5rem 0;
            border: 2px solid rgba(44, 125, 160, 0.2);
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
        }
        
        .fetal-weight-card::before {
            content: "👶";
            position: absolute;
            top: -20px;
            right: -20px;
            font-size: 8rem;
            opacity: 0.1;
            transform: rotate(15deg);
        }
         
        .info-box {
            background-color: rgba(44, 125, 160, 0.08);
            border-left: 5px solid var(--primary-color);
            padding: 1.75rem;
            border-radius: 0 12px 12px 0;
            margin: 2rem 0;
            transition: var(--transition);
        }
        
        .info-box:hover {
            background-color: rgba(44, 125, 160, 0.12);
        }
        
        .warning-box {
            background-color: rgba(255, 193, 7, 0.1);
            border-left: 5px solid var(--warning-color);
            padding: 1.75rem;
            border-radius: 0 12px 12px 0;
            margin: 2rem 0;
        }
        
        .success-box {
            background-color: rgba(40, 167, 69, 0.1);
            border-left: 5px solid var(--success-color);
            padding: 1.75rem;
            border-radius: 0 12px 12px 0;
            margin: 2rem 0;
        }
        
        /* 标题样式 */
        .section-title {
            font-weight: 800;
            margin-bottom: 1.5rem;
            color: var(--primary-dark);
            padding-bottom: 0.75rem;
            border-bottom: 3px solid var(--primary-light);
            font-size: 1.5rem;
            position: relative;
        }
        
        .section-title::after {
            content: "";
            position: absolute;
            bottom: -3px;
            left: 0;
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, var(--fetal-pink), var(--primary-color));
        }
         
        @media (max-width: 768px) { 
            .growth-chart-container {
                height: 400px;
                padding: 1rem;
            }
            
            .page-header {
                padding: 2rem 0;
            }
        }
         
        .measurement-abbr {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary-light), var(--fetal-blue));
            color: var(--primary-dark);
            padding: 0.35rem 0.75rem;
            border-radius: 8px;
            font-weight: 800;
            margin-right: 0.5rem;
            font-size: 0.9rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
         
        .gestational-selector {
            display: flex;
            background-color: var(--light-color);
            border-radius: 12px;
            padding: 0.5rem;
            margin-bottom: 1.5rem;
            box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .gestational-option {
            flex: 1;
            text-align: center;
            padding: 1rem;
            border-radius: 8px;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 700;
            color: var(--text-muted);
        }
        
        .gestational-option.active {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: var(--white);
            box-shadow: 0 4px 12px rgba(44, 125, 160, 0.3);
        }
         
 
        .progress {
            height: 12px;
            border-radius: 6px;
            background-color: rgba(0,0,0,0.05);
        }
        
        .progress-bar {
            border-radius: 6px;
        }
         
        .card {
            border: 2px solid var(--border-color);
            border-radius: 12px;
            transition: var(--transition);
            overflow: hidden;
        }
        
        .card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }
        
        /* 表格样式 */
        .table {
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        
        .table thead th {
            background: linear-gradient(135deg, var(--primary-light), var(--fetal-blue));
            color: var(--primary-dark);
            border: none;
            font-weight: 700;
        }
        
        .table tbody tr:hover {
            background-color: rgba(44, 125, 160, 0.05);
        }
          
        .badge {
            border-radius: 8px;
            padding: 0.35rem 0.75rem;
            font-weight: 700;
        }
        
  
        .nav-tabs {
            border-bottom: 2px solid var(--border-color);
        }
        
        .nav-tabs .nav-link {
            border: 2px solid transparent;
            border-radius: 8px 8px 0 0;
            font-weight: 600;
            color: var(--text-muted);
            transition: var(--transition);
        }
        
        .nav-tabs .nav-link.active {
            background-color: var(--primary-light);
            border-color: var(--primary-color) var(--primary-color) white;
            color: var(--primary-dark);
        }
         
        .accordion-button {
            font-weight: 700;
            color: var(--primary-dark);
            background-color: rgba(44, 125, 160, 0.05);
            border-radius: 8px;
            transition: var(--transition);
        }
        
        .accordion-button:not(.collapsed) {
            background-color: var(--primary-light);
            color: var(--primary-dark);
            box-shadow: none;
        }
     
        .tooltip-inner {
            border-radius: 8px;
            background-color: var(--primary-dark);
            font-weight: 600;
        }
        
    
        .modal-content {
            border-radius: 16px;
            border: 3px solid var(--border-color);
            overflow: hidden;
        }
      


                        .timeline {
                            position: relative;
                            padding-left: 30px;
                        }
                        .timeline::before {
                            content: "";
                            position: absolute;
                            left: 10px;
                            top: 0;
                            bottom: 0;
                            width: 2px;
                            background: linear-gradient(to bottom, var(--primary-color), var(--fetal-pink));
                        }
                        .timeline-item {
                            position: relative;
                            margin-bottom: 20px;
                        }
                        .timeline-marker {
                            position: absolute;
                            left: -30px;
                            width: 20px;
                            height: 20px;
                            border-radius: 50%;
                            border: 3px solid white;
                            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
                        }
                        .timeline-content {
                            padding-left: 10px;
                        }
                    