.charts-page {
      padding: 20px;
      max-width: 1400px;
      margin: 0 auto;
    }

    .page-header {
      text-align: center;
      margin-bottom: 30px;
      padding: 30px;
      background: var(--bg-secondary);
      color: var(--text);
      border-radius: 12px;
      border-left: 4px solid var(--primary);
      box-shadow: var(--shadow);
    }

    .charts-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
      gap: 24px;
      margin-bottom: 30px;
    }

    .chart-container {
      background: var(--bg);
      padding: 24px;
      border-radius: 12px;
      box-shadow: var(--shadow);
      border-left: 4px solid var(--primary);
      border: 1px solid var(--border);
    }

    .chart-container h3 {
      margin: 0 0 20px 0;
      color: var(--primary);
      font-size: 18px;
      font-weight: 600;
    }

    .chart-wrapper {
      position: relative;
      height: 300px;
      width: 100%;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      margin-bottom: 40px;
    }

    .stat-card {
      background: var(--bg);
      padding: 24px;
      border-radius: 12px;
      text-align: center;
      border-left: 4px solid var(--primary);
      box-shadow: var(--shadow);
      border: 1px solid var(--border);
    }

    .stat-number {
      font-size: 2.5em;
      font-weight: bold;
      color: var(--primary);
      margin-bottom: 8px;
    }

    .stat-label {
      font-size: 14px;
      color: var(--text-light);
      font-weight: 500;
    }

    .navigation {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-bottom: 30px;
    }

    .archive-filter-container {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-bottom: 30px;
      padding: 16px;
      background: var(--bg-secondary);
      border-radius: 8px;
      border: 1px solid var(--border);
    }

    .archive-filter-container label {
      font-weight: 500;
      color: var(--text);
    }

    .archive-filter-select {
      padding: 8px 16px;
      border: 1px solid var(--border);
      border-radius: 6px;
      background: var(--bg);
      color: var(--text);
      font-size: 14px;
      cursor: pointer;
      transition: border-color 0.2s ease;
    }

    .archive-filter-select:focus {
      outline: none;
      border-color: var(--primary);
    }

    .nav-button {
      padding: 12px 24px;
      background: var(--primary);
      color: white;
      text-decoration: none;
      border-radius: 8px;
      font-weight: 500;
      transition: all 0.2s ease;
      border: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .nav-button:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
    }

    .toolbar {
      position: fixed;
      top: 20px;
      right: 20px;
      display: flex;
      gap: 8px;
      z-index: 1000;
    }

    .toolbar button {
      padding: 10px 16px;
      border: none;
      border-radius: 8px;
      background: var(--primary);
      color: white;
      cursor: pointer;
      font-size: 14px;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .toolbar button:hover {
      background: var(--primary-dark);
      transform: translateY(-1px);
    }

    .completeness-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
    }

    .field-details {
      margin-top: 40px;
    }

    .details-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 16px;
      background: var(--bg);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: var(--shadow);
    }

    .details-table th,
    .details-table td {
      padding: 16px;
      text-align: left;
      border-bottom: 1px solid var(--border);
    }

    .details-table th {
      background: var(--bg-secondary);
      font-weight: 600;
      color: var(--text);
    }

    .progress-bar {
      width: 100%;
      height: 8px;
      background: var(--border-light);
      border-radius: 4px;
      overflow: hidden;
    }

    .progress-fill {
      height: 100%;
      background: var(--primary);
      transition: width 0.3s ease;
    }

    .full-width {
      grid-column: 1 / -1;
    }

    .chart-notes {
      margin-top: 12px;
      font-size: 12px;
      color: var(--text-light);
      text-align: center;
    }

    @media (max-width: 768px) {
      .charts-grid {
        grid-template-columns: 1fr;
      }
      
      .chart-container {
        min-width: unset;
      }
      
      .toolbar {
        position: static;
        justify-content: center;
        margin: 20px 0;
      }
      
      .navigation {
        flex-direction: column;
        align-items: center;
      }
    }

    /* Loading states */
    .loading-chart {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      color: var(--text-light);
      font-style: italic;
    }