body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f7;
  }
  
  .header {
    text-align: center;
    margin-bottom: 40px;
  }
  
  h1 {
    color: #2c3e50;
    margin-bottom: 5px;
  }
  
  .subtitle {
    color: #7f8c8d;
    font-size: 18px;
  }
  
  .info-box {
    background-color: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 30px;
  }
  
  .info-box h3 {
    margin-top: 0;
    color: #1976d2;
  }
  
  .info-box ul {
    margin-bottom: 0;
  }
  
  .dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  @media (max-width: 768px) {
    .dashboard-grid {
      grid-template-columns: 1fr;
    }
  }
  
  .chart-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .chart-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
  }
  
  .chart-description {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 15px;
  }
  
  .category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .category-card {
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .category-card h3 {
    margin-top: 0;
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .category-card p {
    margin: 0;
    font-size: 14px;
  }
  
  .fast-consistent {
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
  }
  
  .fast-consistent h3 {
    color: #2e7d32;
  }
  
  .slow-consistent {
    background-color: #fff8e1;
    border: 1px solid #ffecb3;
  }
  
  .slow-consistent h3 {
    color: #f57f17;
  }
  
  .inconsistent-tail {
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
  }
  
  .inconsistent-tail h3 {
    color: #c62828;
  }
  
  .gradually-slower {
    background-color: #e3f2fd;
    border: 1px solid #bbdefb;
  }
  
  .gradually-slower h3 {
    color: #1565c0;
  }
  
  .data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .data-table th, .data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .data-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #2c3e50;
  }
  
  .data-table tbody tr:hover {
    background-color: #f9f9f9;
  }
  
  .category-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
  }
  
  .badge-fast {
    background-color: #e8f5e9;
    color: #2e7d32;
  }
  
  .badge-slow {
    background-color: #fff8e1;
    color: #f57f17;
  }
  
  .badge-inconsistent {
    background-color: #ffebee;
    color: #c62828;
  }
  
  .badge-gradual {
    background-color: #e3f2fd;
    color: #1565c0;
  }
  
  .badge-other {
    background-color: #f5f5f5;
    color: #616161;
  }
  
  .controls {
    margin-bottom: 20px;
  }
  
  .toggle-names {
    display: flex;
    align-items: center;
    font-size: 14px;
  }
  
  input[type="checkbox"] {
    margin-right: 8px;
  }
  
  .footer {
    text-align: center;
    margin-top: 40px;
    color: #7f8c8d;
    font-size: 14px;
  }
  
  .loading {
    text-align: center;
    padding: 50px;
    font-size: 18px;
    color: #7f8c8d;
  }
  
  #file-upload-container {
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  #file-upload {
    display: none;
  }
  
  .file-upload-label {
    display: inline-block;
    padding: 10px 15px;
    background-color: #2196f3;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
  }
  
  .file-upload-label:hover {
    background-color: #1976d2;
  }
  
  #file-name {
    margin-left: 10px;
    font-size: 14px;
  }