.academic-dashboard {
  display: block;
}


html[data-theme="academic"] .page-shell {
  width: min(
    1420px,
    calc(100% - 36px)
  );
  padding-top: 30px;
}

html[data-theme="academic"]
.academic-progress-view
> .progress-page-heading,
html[data-theme="academic"]
.academic-progress-view
> .summary {
  display: none;
}

.academic-hero {
  min-height: 310px;
  display: grid;
  grid-template-columns:
    minmax(300px, 1.05fr)
    minmax(330px, 0.9fr)
    minmax(240px, 0.65fr);
  align-items: center;
  gap: 28px;
  padding: 38px 48px;
  overflow: hidden;
  border: 1px solid #cee0d9;
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 68% 35%,
      rgb(230 243 237 / 78%),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #fbfefd,
      #f2f9f6
    );
  box-shadow:
    0 18px 45px
    rgb(30 72 59 / 8%);
}

.academic-hero__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #e3ffc7;
  color: #3c8b04;
  font-size: 1.7rem;
  font-weight: 800;
}

.academic-eyebrow {
  margin: 0 0 12px;
  color: #3c8b04;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.academic-hero h1 {
  margin: 0 0 10px;
  color: #3c3c3c;
  font-weight: 900;
  font-size: clamp(
    3rem,
    5vw,
    5rem
  );
  line-height: 0.98;
}

.academic-user {
  margin: 0;
  color: #6b7280;
  font-size: 1.15rem;
}

.academic-user strong {
  color: #3c8b04;
}

.academic-hero__illustration {
  align-self: stretch;
  display: grid;
  place-items: center;
}

.academic-hero__illustration img {
  width: 100%;
  max-width: 500px;
  max-height: 260px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.academic-hero__action {
  text-align: center;
}

.academic-primary-button {
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 34px;
  border: none;
  border-bottom: 5px solid #3c8b04;
  border-radius: 16px;
  background: #58cc02;
  color: white;
  box-shadow: none;
  font-size: 1.2rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform 90ms ease, border-bottom-width 90ms ease;
}

.academic-primary-button:hover {
  color: white;
  transform: translateY(-1px);
}

.academic-primary-button:active {
  transform: translateY(4px);
  border-bottom-width: 1px;
}

.academic-hero__action p {
  max-width: 260px;
  margin: 16px auto 0;
  color: #687972;
  line-height: 1.5;
}

.academic-stat-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.academic-stat-card {
  min-height: 225px;
  display: grid;
  grid-template-columns: 62px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 18px;
  padding: 30px;
  border: 1px solid #d3e2dc;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 14px 34px
    rgb(27 66 54 / 8%);
}

.academic-stat-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #e3ffc7;
  color: #3c8b04;
  font-size: 1.7rem;
  font-weight: 900;
}

.academic-stat-card strong {
  display: block;
  color: #3c3c3c;
  font-weight: 900;
  font-size: 2.8rem;
  line-height: 1;
}

.academic-stat-card h2 {
  margin: 8px 0 0;
  color: #213c33;
  font-size: 1rem;
  font-weight: 650;
}

.academic-stat-card p {
  grid-column: 1 / -1;
  align-self: end;
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid #d7e3de;
  color: #65766f;
  line-height: 1.45;
}

.academic-encouragement {
  min-height: 92px;
  margin: 28px 0 42px;
  display: grid;
  grid-template-columns: 52px 1fr 210px;
  align-items: center;
  gap: 20px;
  padding: 14px 22px;
  overflow: hidden;
  border: 1px solid #d2e3dc;
  border-radius: 18px;
  background:
    linear-gradient(
      90deg,
      #f5fbf8,
      #eef8f3
    );
}

.academic-encouragement__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e3ffc7;
  color: #3c8b04;
}

.academic-encouragement p {
  margin: 0;
  color: #6b7280;
}

.academic-encouragement strong {
  margin-right: 8px;
  color: #3c3c3c;
  font-size: 1.1rem;
}

.academic-encouragement img {
  width: 100%;
  height: 74px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.academic-detail-heading {
  margin: 0 0 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.academic-detail-heading h2 {
  margin: 0;
  color: #3c3c3c;
  font-size: 2rem;
  font-weight: 900;
}

.academic-detail-heading > p {
  margin: 0;
  color: #6a7a74;
}

@media (max-width: 1050px) {
  .academic-hero {
    grid-template-columns: 1fr 1fr;
  }

  .academic-hero__action {
    grid-column: 1 / -1;
  }

  .academic-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  html[data-theme="academic"] .page-shell {
    width: min(
      100% - 20px,
      1420px
    );
  }

  .academic-hero {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .academic-hero__illustration {
    order: 3;
  }

  .academic-hero__action {
    grid-column: auto;
    text-align: left;
  }

  .academic-stat-grid {
    grid-template-columns: 1fr;
  }

  .academic-stat-card {
    min-height: 180px;
  }

  .academic-encouragement {
    grid-template-columns: 46px 1fr;
  }

  .academic-encouragement img {
    display: none;
  }

  .academic-detail-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
