:root {
  --uco-parchment: #fbf7ee;
  --uco-parchment-deep: #f4eddf;
  --uco-border: #b8ad9a;
  --uco-ink: #11100d;
  --uco-body: #2c2924;
  --uco-teal: #107f82;
  --uco-teal-dark: #0b6264;
}

.uco-student-dashboard,
.uco-student-nav,
.uco-student-notice,
.uco-student-certificates {
  box-sizing: border-box;
  color: var(--uco-body);
  font-family: Georgia, "Times New Roman", serif !important;
}

.uco-student-dashboard *,
.uco-student-nav * {
  box-sizing: border-box;
}

.uco-student-dashboard {
  width: 100%;
  font-size: 15px;
  line-height: 1.5;
}

.uco-student-dashboard h2,
.uco-student-dashboard h3,
.uco-student-dashboard h4,
.uco-student-dashboard p,
.uco-student-dashboard a,
.uco-student-dashboard span {
  font-family: Georgia, "Times New Roman", serif !important;
}

.uco-student-welcome,
.uco-student-stat,
.uco-student-section,
.uco-course-card,
.uco-student-empty,
.uco-student-notice {
  background: var(--uco-parchment);
  border: 1px solid var(--uco-border);
  box-shadow: 0 3px 8px rgba(40, 32, 20, 0.08);
}

.uco-student-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 28px;
  margin-bottom: 18px;
  outline: 1px solid rgba(131, 119, 101, 0.35);
  outline-offset: -8px;
}

.uco-student-kicker,
.uco-course-card__eyebrow {
  margin: 0 0 8px;
  color: var(--uco-teal-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.uco-student-welcome h2,
.uco-student-section h3,
.uco-student-empty h4,
.uco-course-card__title {
  color: var(--uco-ink);
  font-family: Georgia, "Times New Roman", serif;
}

.uco-student-welcome h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 2.8vw, 34px) !important;
  line-height: 1.08 !important;
}

.uco-student-welcome p:last-child {
  margin: 0;
}

.uco-student-avatar img {
  display: block;
  border: 1px solid var(--uco-border);
  border-radius: 50%;
}

.uco-student-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.uco-student-stat {
  padding: 18px 20px;
}

.uco-student-stat__number,
.uco-student-stat__label {
  display: block;
}

.uco-student-stat__number {
  color: var(--uco-teal);
  font-size: 27px !important;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 9px;
}

.uco-student-stat__label {
  color: var(--uco-body);
  font-size: 14px;
}

.uco-student-section {
  padding: 22px;
  margin-bottom: 18px;
}

.uco-student-section__heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 16px;
}

.uco-student-section__heading h3 {
  margin: 0;
  font-size: 22px !important;
  line-height: 1.2 !important;
}

.uco-student-section__heading a,
.uco-student-profile-link a,
.uco-course-card__title a {
  color: var(--uco-teal-dark);
}

.uco-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.uco-course-card {
  overflow: hidden;
}

.uco-course-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.uco-course-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uco-course-card__body {
  padding: 17px;
}

.uco-course-card__title {
  margin: 0 0 14px;
  font-size: 18px !important;
  line-height: 1.25;
}

.uco-course-card__title a {
  text-decoration: none;
}

.uco-course-progress {
  height: 8px;
  overflow: hidden;
  background: #e8dcc8;
  border: 1px solid rgba(131, 119, 101, 0.35);
}

.uco-course-progress__bar {
  display: block;
  height: 100%;
  background: var(--uco-teal);
}

.uco-course-card__meta {
  margin: 7px 0 14px;
  font-size: 13px;
}

.uco-student-button {
  display: inline-block;
  padding: 9px 15px;
  background: var(--uco-teal);
  border: 1px solid var(--uco-teal-dark);
  border-radius: 2px;
  color: #fffdf7 !important;
  font-weight: 700;
  text-decoration: none !important;
}

.uco-student-button--secondary {
  background: transparent;
  color: var(--uco-teal-dark) !important;
}

.uco-student-empty,
.uco-student-notice {
  padding: 21px 24px;
}

.uco-student-empty h4 {
  margin: 0 0 9px;
  font-size: 19px !important;
  line-height: 1.25 !important;
}

.uco-student-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.uco-student-profile-link {
  margin: 0;
  text-align: right;
}

.uco-student-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.uco-student-nav a {
  display: block;
  padding: 10px 14px;
  border: 1px solid var(--uco-border);
  background: var(--uco-parchment);
  color: var(--uco-teal-dark);
  text-decoration: none;
}

.uco-student-nav a.is-active,
.uco-student-nav a[aria-current="page"] {
  background: var(--uco-teal);
  border-color: var(--uco-teal-dark);
  color: #fffdf7;
}

@media (max-width: 980px) {
  .uco-course-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .uco-student-welcome {
    align-items: flex-start;
    padding: 25px;
  }

  .uco-student-stats,
  .uco-course-grid {
    grid-template-columns: 1fr;
  }

  .uco-student-section {
    padding: 22px;
  }

  .uco-student-section__heading {
    display: block;
  }

  .uco-student-section__heading h3 {
    margin-bottom: 8px;
  }

  .uco-student-nav ul {
    display: grid;
    grid-template-columns: 1fr;
  }
}
