:root {
  --pmc-blue: #07568b;
  --pmc-blue-dark: #063f67;
  --pmc-blue-soft: #eaf4fb;
  --pmc-gold: #c79a35;
  --pmc-ink: #17212b;
  --pmc-muted: #65717d;
  --pmc-line: #d8e0e7;
  --pmc-surface: #ffffff;
  --pmc-radius: 14px;
}

.pmc-curriculum,
.pmc-course-detail {
  color: var(--pmc-ink);
  font-family: inherit;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.pmc-curriculum *,
.pmc-course-detail * {
  box-sizing: border-box;
}

.pmc-heading-row,
.pmc-course-header {
  align-items: flex-start;
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.pmc-eyebrow {
  color: var(--pmc-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.pmc-curriculum h2,
.pmc-course-detail h1,
.pmc-course-detail h2,
.pmc-course-detail h3 {
  color: var(--pmc-ink);
  line-height: 1.25;
}

.pmc-curriculum h2,
.pmc-course-detail h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0;
}

.pmc-lead,
.pmc-course-subtitle {
  color: var(--pmc-muted);
  line-height: 1.7;
  margin: 12px 0 0;
  max-width: 760px;
}

.pmc-summary {
  display: grid;
  flex: 0 0 330px;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--pmc-line);
  border-radius: var(--pmc-radius);
  background: var(--pmc-line);
}

.pmc-summary div {
  align-items: center;
  background: var(--pmc-surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92px;
  padding: 12px 8px;
  text-align: center;
}

.pmc-summary strong {
  color: var(--pmc-blue);
  font-size: 1.55rem;
}

.pmc-summary span {
  color: var(--pmc-muted);
  font-size: 0.72rem;
}

.pmc-semester-nav {
  display: flex;
  gap: 8px;
  margin: 28px 0;
  overflow-x: auto;
  padding: 2px 0 10px;
}

.pmc-semester-nav a {
  background: var(--pmc-blue-soft);
  border-radius: 999px;
  color: var(--pmc-blue-dark);
  flex: 0 0 auto;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 14px;
  text-decoration: none;
}

.pmc-semester-nav a:hover,
.pmc-semester-nav a:focus-visible {
  background: var(--pmc-blue);
  color: #fff;
}

.pmc-semester {
  margin: 0 0 34px;
  scroll-margin-top: 28px;
}

.pmc-semester-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 0 10px;
}

.pmc-semester-heading h3 {
  font-size: 1.3rem;
  margin: 0;
}

.pmc-semester-heading span {
  background: var(--pmc-blue);
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
}

.pmc-table-wrap {
  border: 1px solid var(--pmc-line);
  border-radius: var(--pmc-radius);
  max-width: 100%;
  overflow-x: auto;
}

.pmc-table,
.pmc-identity-table {
  border: 0;
  border-collapse: collapse;
  margin: 0;
  min-width: 760px;
  width: 100%;
}

.pmc-table th,
.pmc-table td,
.pmc-identity-table th,
.pmc-identity-table td {
  border: 0;
  border-bottom: 1px solid var(--pmc-line);
  line-height: 1.45;
  padding: 13px 14px;
  vertical-align: middle;
}

.pmc-table thead th {
  background: var(--pmc-blue-dark);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.025em;
  text-align: left;
  text-transform: uppercase;
}

.pmc-table tbody tr:nth-child(even) {
  background: #f7f9fb;
}

.pmc-clickable-row {
  cursor: pointer;
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.pmc-clickable-row:hover {
  background: var(--pmc-blue-soft) !important;
  box-shadow: inset 4px 0 0 var(--pmc-blue);
}

.pmc-code a,
.pmc-course-name a,
.pmc-detail-link {
  color: var(--pmc-blue-dark);
  font-weight: 700;
  text-decoration: none;
}

.pmc-course-name {
  min-width: 260px;
}

.pmc-detail-cell {
  text-align: right;
  white-space: nowrap;
}

.pmc-detail-link {
  font-size: 0.8rem;
}

.pmc-badge {
  border-radius: 999px;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 9px;
  white-space: nowrap;
}

.pmc-badge-required {
  background: #dceef9;
  color: #07568b;
}

.pmc-badge-optional {
  background: #f0ece2;
  color: #6b5a2a;
}

.pmc-table tfoot th,
.pmc-table tfoot td {
  background: #eef3f7;
  border-bottom: 0;
  font-weight: 800;
}

.pmc-source-note {
  color: var(--pmc-muted);
  font-size: 0.78rem;
  margin: 6px 0 0;
}

.pmc-matrix-note {
  color: var(--pmc-muted);
  line-height: 1.65;
  margin: -4px 0 14px;
}

.pmc-cpl-matrix {
  min-width: 820px;
}

.pmc-cpl-matrix td:nth-child(4) {
  min-width: 380px;
}

.pmc-matrix-status {
  background: #e5f5ec;
  border-radius: 999px;
  color: #17663a;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 9px;
  white-space: nowrap;
}

.pmc-site-main {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(32px, 6vw, 76px) 22px;
}

.pmc-breadcrumb {
  align-items: center;
  color: var(--pmc-muted);
  display: flex;
  font-size: 0.86rem;
  gap: 9px;
  margin-bottom: 28px;
}

.pmc-breadcrumb a {
  color: var(--pmc-blue);
  font-weight: 700;
  text-decoration: none;
}

.pmc-course-header {
  border-bottom: 1px solid var(--pmc-line);
  margin-bottom: 36px;
  padding-bottom: 28px;
}

.pmc-course-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.pmc-print-button,
.pmc-download-button {
  border: 1px solid var(--pmc-blue);
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 10px 15px;
  text-decoration: none;
}

.pmc-print-button {
  background: #fff;
  color: var(--pmc-blue);
}

.pmc-download-button {
  background: var(--pmc-blue);
  color: #fff;
}

.pmc-detail-section {
  margin: 0 0 38px;
}

.pmc-detail-section > h2 {
  border-left: 4px solid var(--pmc-gold);
  font-size: 1.35rem;
  margin: 0 0 16px;
  padding-left: 12px;
}

.pmc-detail-section > h3 {
  font-size: 1rem;
  margin: 22px 0 7px;
}

.pmc-identity-table {
  min-width: 580px;
}

.pmc-identity-table th {
  background: #f3f6f8;
  color: var(--pmc-blue-dark);
  text-align: left;
  width: 230px;
}

.pmc-identity-table tr:last-child th,
.pmc-identity-table tr:last-child td {
  border-bottom: 0;
}

.pmc-cpl-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pmc-cpl-card {
  background: #f8fafb;
  border: 1px solid var(--pmc-line);
  border-radius: 12px;
  padding: 16px;
}

.pmc-cpl-card strong {
  color: var(--pmc-blue);
  display: inline-block;
  margin-right: 8px;
}

.pmc-cpl-card span {
  color: var(--pmc-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.pmc-cpl-card p {
  line-height: 1.6;
  margin: 8px 0 0;
}

.pmc-rps-notice {
  background: #fff8e8;
  border: 1px solid #ead39c;
  border-radius: var(--pmc-radius);
  padding: 20px 22px;
}

.pmc-rps-notice strong {
  color: #735510;
}

.pmc-rps-notice p {
  margin: 7px 0 0;
}

.pmc-outcome-list,
.pmc-reference-list {
  line-height: 1.65;
  padding-left: 24px;
}

.pmc-outcome-list li,
.pmc-reference-list li {
  margin-bottom: 9px;
}

.pmc-weekly-table {
  min-width: 640px;
}

.pmc-weekly-table th:first-child,
.pmc-weekly-table td:first-child {
  width: 150px;
  text-align: center;
}

.pmc-course-content-note {
  margin: -4px 0 18px;
  color: #59636e;
  line-height: 1.65;
}

@media (max-width: 860px) {
  .pmc-heading-row,
  .pmc-course-header {
    flex-direction: column;
  }

  .pmc-summary {
    flex-basis: auto;
    width: 100%;
  }

  .pmc-course-actions {
    width: 100%;
  }

  .pmc-cpl-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .pmc-summary div {
    min-height: 76px;
  }

  .pmc-table th,
  .pmc-table td,
  .pmc-identity-table th,
  .pmc-identity-table td {
    padding: 11px 10px;
  }

  .pmc-course-actions > * {
    flex: 1 1 0;
    text-align: center;
  }
}

@media print {
  header,
  footer,
  .pmc-breadcrumb,
  .pmc-course-actions {
    display: none !important;
  }

  .pmc-site-main {
    max-width: none;
    padding: 0;
  }

  .pmc-table-wrap {
    overflow: visible;
  }
}
