    :root {
      --border: #d9dde3;
      --header: #f3f5f7;
      --term: #eef6ff;
      --text: #1f2933;
    }
    body {
      font-family: Arial, Helvetica, sans-serif;
      color: var(--text);
      line-height: 1.45;
      margin: 0;
      padding: 0px;
      background: #fff;
    }
    .curriculum-wrapper {
      max-width: 1180px;
      margin: 0 auto;
    }
    h1 {
      font-size: 1.75rem;
      margin: 0 0 1rem;
    }
    .intro { margin: 0 0 1.5rem; }
    details.curriculum-accordion {
      border: 1px solid var(--border);
      border-radius: 6px;
      margin-bottom: 1rem;
      overflow: hidden;
      background: #fff;
    }
    details.curriculum-accordion > summary {
      cursor: pointer;
      font-weight: 700;
      font-size: 1.125rem;
      padding: 1rem;
      background: var(--header);
    }
    .accordion-content { padding: 1rem; }
    .accordion-content > p:first-child {
      font-size: 1.2rem;
      font-weight: 700;
      margin-top: 0;
      text-transform: uppercase;
    }
    .accordion-content > p:nth-child(2),
    .accordion-content > p:nth-child(3) {
      font-weight: 600;
    }
    table {
      width: 100%;
      border-collapse: collapse;
      margin: 1rem 0;
      table-layout: fixed;
    }
    th, td {
      border: 1px solid var(--border);
      padding: 0.55rem;
      vertical-align: top;
      text-align: left;
    }
    tbody tr:first-child td {
      background: var(--header);
      font-weight: 700;
    }
    td:nth-child(n+3) { text-align: center; }
    td[colspan="7"] {
      background: var(--term);
      font-weight: 700;
      text-align: left !important;
    }
    table p { margin: 0; }
    .accordion-content p:has(strong:first-child) {
      font-size: 0.95rem;
    }
    @media (max-width: 800px) {
      body { padding: 0px; }
      table {
        display: block;
min-width:300px;
width:300px;
        white-space: nowrap;
      }
    }

.table-responsive {
    overflow-x: auto;
}


/* ---------- DESKTOP ---------- */

.table-wrap {
  max-width: 1100px;
  margin: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

thead {
  background: #f1f5f9;
}

th, td {
  padding: 14px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

.section-row td {
  background: #e2e8f0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}

.totals-row td {
  font-weight: 700;
  background: #f8fafc;
}

/* ---------- MOBILE ---------- */

.mobile-view {
  display: none;
}

@media (max-width: 768px) {

  table.programTable { display: none; }
  .mobile-view { display: block; }

  .group {
    background: #eef2f7;
    border-radius: 16px;
    margin-bottom: 18px;
    overflow: hidden;
  }

  .group-header {
    padding: 14px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }

  .group-title {
    font-size: 13px;
    letter-spacing: .08em;
    color: #475569;
  }

  .group-summary {
    font-size: 12px;
    color: #64748b;
  }

  .group-body {
    padding: 14px;
    display: block;
  }

  .group.collapsed .group-body {
    display: none;
  }

  .course-card {
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }

  .course-number {
    font-size: 13px;
    color: #6b7280;
  }

  .course-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .metric-value {
    font-size: 16px;
    font-weight: 600;
  }

  .metric-label {
    font-size: 12px;
    color: #6b7280;
  }

  .totals-card {
    background: #0f172a;
    color: #fff;
    border-radius: 18px;
    padding: 18px;
    margin-top: 10px;
  }

  .totals-card .metric-label {
    color: #cbd5f5;
  }
}
