.sofl-student-dashboard {
  --student-navy: #06162b;
  --student-navy-2: #0c2342;
  --student-gold: #c9982f;
  --student-gold-soft: #fff6df;
  --student-bg: #f7f9fc;
  --student-card: #ffffff;
  --student-ink: #101827;
  --student-muted: #64748b;
  --student-border: #e7ebf1;
  --student-soft-border: rgba(15, 23, 42, .08);
  --student-shadow: 0 16px 38px rgba(15, 23, 42, .07);
  color: var(--student-ink);
}

/* Student Saved Library */
.student-saved-library {
  display: grid;
  gap: 1.25rem;
}

.student-saved-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 360px) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  min-height: 236px;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 8px;
  background:
    radial-gradient(circle at 76% 18%, rgba(15, 23, 42, .06), transparent 18rem),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.student-saved-hero .student-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #b87510;
}

.student-saved-hero h1 {
  margin: .65rem 0 .6rem;
  color: var(--student-ink);
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: 0;
}

.student-saved-hero p {
  max-width: 650px;
  margin: 0;
  color: #334155;
  font-size: 1rem;
  line-height: 1.7;
}

.student-dark-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 0;
  border-radius: 8px;
  padding: .75rem 1.15rem;
  background: var(--student-navy);
  color: #ffffff;
  font-weight: 850;
  white-space: nowrap;
}

.student-dark-btn:hover,
.student-dark-btn:focus-visible {
  background: var(--student-navy-2);
  color: #ffffff;
}

.student-saved-hero-visual {
  position: relative;
  min-height: 180px;
}

.student-saved-folder {
  position: absolute;
  right: 22%;
  bottom: 16px;
  width: 170px;
  height: 105px;
  border-radius: 18px 18px 12px 12px;
  background: linear-gradient(150deg, #071b33, #10294b);
  box-shadow: 0 18px 36px rgba(15, 23, 42, .18);
}

.student-saved-folder::before {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 76px;
  width: 118px;
  height: 78px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #ffffff, #eef3f9);
  box-shadow: 0 10px 20px rgba(15, 23, 42, .08);
}

.student-saved-folder span {
  position: absolute;
  top: -42px;
  left: 58px;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7edf5;
  color: #64748b;
}

.student-saved-folder > i {
  position: absolute;
  right: 30px;
  top: -4px;
  color: #f0c963;
  font-size: 3.6rem;
}

.student-saved-orbit {
  position: absolute;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff6df;
  color: #b87510;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}

.student-saved-orbit.is-bookmark {
  right: 66%;
  top: 8px;
}

.student-saved-orbit.is-star {
  right: 70%;
  bottom: 44px;
}

.student-saved-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 1.1rem 1.35rem;
}

.student-saved-stat {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: .2rem 1rem;
  align-items: center;
  min-width: 0;
  padding-right: 1rem;
  border-right: 1px solid var(--student-border);
  color: var(--student-ink);
}

.student-saved-stat:last-child {
  border-right: 0;
}

.student-saved-stat .student-icon-box {
  grid-row: span 3;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-size: 1.15rem;
}

.student-saved-stat strong {
  color: var(--student-ink);
  font-size: 1.75rem;
  font-weight: 850;
  line-height: 1;
}

.student-saved-stat span:not(.student-icon-box) {
  color: var(--student-ink);
  font-size: .9rem;
  font-weight: 850;
}

.student-saved-stat small {
  color: var(--student-muted);
  font-size: .8rem;
  font-weight: 700;
}

.student-saved-collection,
.student-new-collection-card {
  min-height: 118px;
  height: 100%;
}

.student-saved-collection {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem;
  color: var(--student-ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.student-saved-collection:hover,
.student-saved-collection:focus-within,
.student-new-collection-card:hover,
.student-new-collection-card:focus-visible {
  border-color: rgba(201, 152, 47, .42);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
  transform: translateY(-1px);
}

.student-saved-collection-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.student-saved-collection > *:not(.student-saved-collection-link) {
  position: relative;
  z-index: 2;
}

.student-saved-collection-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--collection-accent) 14%, white);
  color: var(--collection-accent);
  font-size: 1.35rem;
}

.student-saved-collection h3 {
  margin: 0;
  color: var(--student-ink);
  font-size: .98rem;
  font-weight: 850;
  line-height: 1.35;
}

.student-saved-collection p {
  margin: .25rem 0 .55rem;
  color: var(--student-muted);
  font-size: .84rem;
  font-weight: 750;
}

.student-saved-collection-line {
  height: .35rem;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f6;
}

.student-saved-collection-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: color-mix(in srgb, var(--collection-accent) 72%, #ffffff);
}

.student-saved-collection-mark {
  color: #b87510;
}

.student-new-collection-card {
  width: 100%;
  display: grid;
  place-items: center;
  gap: .55rem;
  border-style: dashed;
  border-color: rgba(201, 152, 47, .52);
  background: #ffffff;
  color: var(--student-ink);
  font-weight: 850;
}

.student-new-collection-card i {
  color: #b87510;
  font-size: 1.55rem;
}

.student-saved-items-section {
  display: grid;
  gap: 1rem;
}

.student-saved-items-header {
  align-items: flex-end;
  margin-bottom: 0;
}

.student-saved-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .75rem;
}

.student-saved-search {
  width: min(100%, 300px);
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: .65rem;
  border: 1px solid var(--student-border);
  border-radius: 8px;
  padding: 0 .85rem;
  background: #ffffff;
}

.student-saved-search i {
  color: var(--student-muted);
}

.student-saved-search .form-control {
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.student-saved-tools .form-select {
  width: 190px;
  min-height: 44px;
  border-radius: 8px;
}

.student-saved-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.student-saved-filter {
  min-height: 36px;
  border: 1px solid var(--student-border);
  border-radius: 8px;
  padding: 0 1rem;
  background: #ffffff;
  color: #344761;
  font-size: .84rem;
  font-weight: 850;
}

.student-saved-filter.active,
.student-saved-filter:hover,
.student-saved-filter:focus-visible {
  border-color: var(--student-navy);
  background: var(--student-navy);
  color: #ffffff;
}

.student-saved-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.student-saved-item {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 224px;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.student-saved-item:hover,
.student-saved-item:focus-within {
  border-color: rgba(201, 152, 47, .42);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
  transform: translateY(-1px);
}

.student-saved-item .sofl-term-status-indicator {
  top: .75rem;
  right: .75rem;
}

.student-saved-item-media {
  display: grid;
  place-items: center;
  min-height: 100%;
  background: #f4f7fb;
  color: var(--student-navy);
  font-size: 2rem;
}

.student-saved-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.student-saved-item-body {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  min-width: 0;
  padding: 1rem;
}

.student-saved-item-top,
.student-saved-item-meta,
.student-saved-item-actions,
.student-saved-empty-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
}

.student-saved-item-top {
  justify-content: space-between;
}

.student-saved-item-top > span,
.student-saved-item-meta span {
  border-radius: 999px;
  background: #f1f5f9;
  color: #344761;
  font-size: .74rem;
  font-weight: 850;
  line-height: 1.2;
}

.student-saved-item-top > span {
  padding: .25rem .6rem;
}

.student-saved-item .sofl-save-button {
  width: 34px;
  height: 34px;
}

.student-saved-item h3 {
  margin: 0;
  color: var(--student-ink);
  font-size: 1.03rem;
  font-weight: 850;
  line-height: 1.35;
}

.student-saved-item h3 a {
  color: inherit;
}

.student-saved-item p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--student-muted);
  font-size: .88rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.student-saved-item-meta span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .22rem .55rem;
}

.student-saved-note {
  border: 1px solid rgba(201, 152, 47, .2);
  border-radius: 8px;
  padding: .65rem;
  background: var(--student-gold-soft);
}

.student-saved-note > span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #9a5b13;
  font-size: .76rem;
  font-weight: 850;
}

.student-saved-item-actions {
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--student-border);
}

.student-saved-item-actions .btn,
.student-saved-item-actions .sofl-btn-gold {
  min-height: 36px;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 850;
}

.student-saved-remove {
  min-height: 36px;
  padding: 0;
  color: #8a2330;
  font-size: .8rem;
  font-weight: 850;
  text-decoration: none;
}

.student-saved-empty {
  min-height: 260px;
  border-style: dashed;
  border-color: rgba(201, 152, 47, .42);
}

.student-saved-empty .student-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 50%;
}

.student-saved-empty-actions {
  justify-content: center;
}

.student-modal-hint {
  margin: .75rem 0 0;
  color: var(--student-muted);
  font-size: .84rem;
}

.student-section-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .8rem;
  flex-wrap: wrap;
}

.student-collections-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding: .1rem .15rem .55rem;
  scroll-snap-type: x proximity;
}

.student-collections-row .student-saved-collection {
  scroll-snap-align: start;
}

.student-collection-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: .32rem;
  padding: .2rem .45rem;
  border-radius: 999px;
  background: #eef4ff;
  color: #31527c;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: 0;
}

.student-collection-badge.is-custom {
  background: #dcfce7;
  color: #047857;
}

.student-collection-menu {
  position: relative;
  z-index: 3;
}

.student-icon-action {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #14233f;
}

.student-icon-action:hover,
.student-icon-action:focus-visible {
  background: #f1f5f9;
  color: #b87510;
}

.student-saved-filter span {
  display: inline-grid;
  min-width: 1.35rem;
  margin-left: .35rem;
  padding: .05rem .35rem;
  place-items: center;
  border-radius: 999px;
  background: #edf2f7;
  color: #546179;
  font-size: .72rem;
}

.student-saved-filter.active span,
.student-saved-filter:hover span,
.student-saved-filter:focus-visible span {
  background: rgba(255, 255, 255, .18);
  color: #ffffff;
}

.student-saved-item {
  min-height: 184px;
}

.student-saved-item-media {
  position: relative;
}

.student-saved-item-media.is-blog {
  background: #fff8e6;
  color: #c78913;
}

.student-saved-item-media.is-video {
  background: #eef2ff;
  color: #173b79;
}

.student-saved-item-media.is-playlist {
  background: #ecfdf3;
  color: #059669;
}

.student-saved-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(3, 12, 28, .18);
  font-size: 2rem;
}

.student-saved-play i {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(7, 29, 59, .84);
}

.student-saved-card-actions {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}

.student-saved-type {
  padding: .25rem .6rem;
}

.student-saved-item .sofl-save-button {
  border: 0;
  background: transparent;
}

.student-saved-item .sofl-save-button.is-favorite,
.student-saved-item .sofl-save-button:hover,
.student-saved-item .sofl-save-button:focus-visible {
  color: #b87510;
  background: #fff8e6;
}

.student-saved-item h3 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.student-saved-item-actions {
  padding-top: .45rem;
  border-top: 0;
}

.student-saved-item .dropdown-menu form {
  margin: 0;
}

@media (max-width: 1199.98px) {
  .student-saved-hero {
    grid-template-columns: minmax(0, 1fr) minmax(210px, 290px);
  }

  .student-saved-hero > .student-dark-btn {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .student-saved-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .student-saved-stat {
    border-right: 0;
    padding-right: 0;
  }
}

@media (max-width: 991.98px) {
  .student-saved-hero,
  .student-saved-content-grid,
  .student-saved-item {
    grid-template-columns: 1fr;
  }

  .student-saved-hero-visual {
    min-height: 150px;
  }

  .student-saved-items-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .student-saved-tools,
  .student-saved-search,
  .student-saved-tools .form-select,
  .student-section-actions {
    width: 100%;
  }

  .student-saved-item-media {
    min-height: 150px;
  }
}

@media (max-width: 575.98px) {
  .student-saved-hero {
    padding: 1rem;
  }

  .student-saved-hero h1 {
    font-size: 2.15rem;
  }

  .student-saved-hero-visual {
    display: none;
  }

  .student-saved-hero > .student-dark-btn,
  .student-section-actions .student-dark-btn,
  .student-saved-stats,
  .student-saved-stat,
  .student-saved-item-actions .btn,
  .student-saved-item-actions .sofl-btn-gold,
  .student-saved-item-actions form,
  .student-saved-remove,
  .student-saved-empty-actions .student-dark-btn,
  .student-saved-empty-actions .btn {
    width: 100%;
  }

  .student-saved-stats {
    grid-template-columns: 1fr;
  }

  .student-saved-stat {
    border-bottom: 1px solid var(--student-border);
    padding: 0 0 1rem;
  }

  .student-saved-stat:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .student-saved-item-actions,
  .student-saved-empty-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

.sofl-student-dashboard a {
  text-decoration: none;
}

.student-card {
  border: 1px solid var(--student-border);
  border-radius: 8px;
  background: var(--student-card);
  box-shadow: var(--student-shadow);
}

.student-section,
.student-sidebar-card {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.student-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.student-section-header h2,
.student-sidebar-card h2,
.student-recommended h3 {
  margin: 0;
  color: var(--student-ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.student-section-header p,
.student-muted {
  color: var(--student-muted);
}

.student-section-header p {
  margin: .25rem 0 0;
  font-size: .875rem;
}

.student-link {
  color: #0f3f8d;
  font-size: .875rem;
  font-weight: 800;
  white-space: nowrap;
}

.student-link:hover {
  color: var(--student-gold);
}

.student-eyebrow {
  color: #f0c963;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: 0;
}

.student-hero {
  position: relative;
  isolation: isolate;
  min-height: 360px;
  padding: clamp(1.6rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 74% 24%, rgba(255, 255, 255, .08), transparent 30%),
    linear-gradient(135deg, var(--student-navy), var(--student-navy-2) 58%, #061120);
  color: #ffffff;
}

.student-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, transparent 0 58%, rgba(255, 255, 255, .06) 58.2% 58.45%, transparent 58.7%),
    linear-gradient(18deg, transparent 0 62%, rgba(201, 152, 47, .22) 62.1% 62.3%, transparent 62.55%);
}

.student-hero-title {
  max-width: 680px;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.student-hero-copy {
  max-width: 34rem;
  color: rgba(255, 255, 255, .78);
  font-size: 1rem;
  line-height: 1.75;
}

.student-hero-outline {
  border-color: rgba(255, 255, 255, .28) !important;
  background: rgba(255, 255, 255, .08) !important;
  color: #ffffff !important;
}

.student-hero-outline:hover,
.student-hero-outline:focus {
  border-color: rgba(255, 255, 255, .44) !important;
  background: rgba(255, 255, 255, .14) !important;
  color: #ffffff !important;
}

.student-hero-visual {
  position: relative;
  min-height: 260px;
}

.student-chart-card {
  position: absolute;
  right: 12%;
  top: 1rem;
  width: 150px;
  height: 190px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: .55rem;
  padding: 3.4rem 1rem 1rem;
  border: 1px solid rgba(240, 201, 99, .5);
  border-radius: 8px;
  background: rgba(7, 24, 45, .72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
  transform: rotate(5deg);
}

.student-chart-card i {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: #f0c963;
}

.student-chart-card span {
  display: block;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #f0c963, var(--student-gold));
}

.student-chart-card span:nth-child(2) { height: 44%; }
.student-chart-card span:nth-child(3) { height: 58%; }
.student-chart-card span:nth-child(4) { height: 76%; }
.student-chart-card span:nth-child(5) { height: 92%; }

.student-book-stack {
  position: absolute;
  right: 25%;
  bottom: 1.3rem;
  width: 180px;
  height: 58px;
  border-radius: 6px;
  background:
    linear-gradient(#f8fafc 0 24%, #d8e2f2 24% 31%, #ffffff 31% 58%, #c9982f 58% 65%, #eff4fb 65% 100%);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .24);
}

.student-plant {
  position: absolute;
  right: 0;
  bottom: .25rem;
  width: 64px;
  height: 100px;
  border-radius: 0 0 18px 18px;
  background:
    radial-gradient(ellipse at 20% 22%, #6fb387 0 18%, transparent 19%),
    radial-gradient(ellipse at 55% 10%, #90c99f 0 16%, transparent 17%),
    radial-gradient(ellipse at 78% 30%, #5d9d75 0 18%, transparent 19%),
    linear-gradient(180deg, transparent 0 48%, #f8fafc 48% 100%);
}

.student-stat-card {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  gap: .65rem;
  padding: 1rem;
}

.student-stat-card strong {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 850;
  line-height: 1;
}

.student-stat-card p {
  margin: 0;
  color: var(--student-ink);
  font-size: .875rem;
  font-weight: 750;
}

.student-stat-card small,
.student-action-card small,
.student-topic-card small,
.student-topic-card p,
.student-blog-card p,
.student-blog-card small,
.student-category-chip small,
.student-activity-list small,
.student-activity-list em,
.student-plan-row small,
.student-recommended small {
  color: var(--student-muted);
}

.student-stat-card small {
  font-weight: 750;
}

.student-icon-box {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--student-navy);
  color: #ffffff;
}

.student-icon-box.blue { background: #1d4ed8; }
.student-icon-box.green { background: #0f9f6e; }
.student-icon-box.purple { background: #6d5bd0; }
.student-icon-box.amber { background: #e88918; }
.student-icon-box.red { background: #e43f52; }

.student-action-card,
.student-topic-card,
.student-blog-card,
.student-category-chip {
  height: 100%;
  border: 1px solid var(--student-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--student-ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.student-action-card:hover,
.student-topic-card:hover,
.student-blog-card:hover,
.student-category-chip:hover,
.student-activity-list a:hover,
.student-recommended a:hover {
  border-color: rgba(201, 152, 47, .42);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
  color: var(--student-ink);
  transform: translateY(-1px);
}

.student-action-card {
  min-height: 142px;
  display: grid;
  align-content: start;
  gap: .65rem;
  padding: 1rem;
}

.student-action-card.is-highlighted {
  background: var(--student-gold-soft);
}

.student-action-card strong,
.student-topic-card strong,
.student-category-chip strong,
.student-activity-list strong,
.student-plan-row strong,
.student-recommended strong {
  display: block;
  color: var(--student-ink);
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.35;
}

.student-learning-thumb {
  width: 100%;
  height: 100%;
  min-height: 180px;
  border-radius: 8px;
  object-fit: cover;
}

.student-learning-thumb-fallback {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(109, 91, 208, .24), rgba(201, 152, 47, .28)),
    #f8fafc;
  color: var(--student-navy);
  font-size: 3rem;
}

.student-learning-title {
  color: var(--student-ink);
  font-size: 1.25rem;
  font-weight: 800;
}

.student-progress {
  height: .48rem;
  border-radius: 999px;
  background: #edf1f6;
}

.student-progress .progress-bar {
  border-radius: inherit;
  background: linear-gradient(90deg, var(--student-gold), #f0c963);
  transition: width .8s ease;
}

.student-recommended {
  display: grid;
  align-content: start;
  gap: .75rem;
  padding: 1rem;
  border: 1px solid var(--student-border);
  border-radius: 8px;
}

.student-recommended a,
.student-activity-list a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: .75rem;
  padding: .65rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--student-ink);
}

.student-recommended i,
.student-activity-list i,
.student-plan-row i,
.student-progress-item i,
.student-streak i {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--student-gold-soft);
  color: var(--student-gold);
}

.student-topic-card {
  position: relative;
  min-height: 156px;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1rem;
}

.student-topic-card > span,
.student-blog-card > span {
  width: fit-content;
  border-radius: 999px;
  padding: .25rem .55rem;
  background: var(--student-gold-soft);
  color: #7a520f;
  font-size: .7rem;
  font-weight: 800;
}

.student-topic-card em {
  position: absolute;
  right: .9rem;
  top: .9rem;
  color: var(--student-muted);
  font-size: .8rem;
  font-style: normal;
  font-weight: 800;
}

.student-topic-card p,
.student-blog-card p {
  margin: 0;
  font-size: .8rem;
  line-height: 1.5;
}

.student-topic-card small {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  font-size: .78rem;
  font-weight: 750;
}

.student-blog-card {
  position: relative;
  display: grid;
  gap: .7rem;
  padding: 1rem;
}

.student-blog-card img,
.student-blog-thumb {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: 8px;
  object-fit: cover;
}

.student-blog-thumb {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dbeafe, #fff7ed);
  color: var(--student-navy);
  font-size: 2rem;
}

.student-blog-card h3 {
  margin: 0;
  color: var(--student-ink);
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.4;
}

.student-blog-card > small {
  position: absolute;
  right: 1rem;
  top: calc(1rem + .25rem);
  border-radius: 999px;
  padding: .25rem .55rem;
  background: rgba(255, 255, 255, .88);
  color: var(--student-muted);
  font-size: .7rem;
  font-weight: 800;
}

.student-search-strip {
  position: relative;
  max-width: 440px;
}

.student-search-strip i {
  position: absolute;
  left: .9rem;
  top: 50%;
  z-index: 1;
  color: var(--student-muted);
  transform: translateY(-50%);
}

.student-search-strip .form-control {
  min-height: 42px;
  padding-left: 2.45rem;
  border-color: var(--student-border);
  border-radius: 8px;
}

.student-category-chip {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-width: 172px;
  padding: .75rem;
}

.student-category-chip > i {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #eef2ff;
  color: #3b5ccc;
}

.student-right-rail {
  display: grid;
  gap: 1rem;
}

.student-sidebar-card {
  overflow: hidden;
}

.student-avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--student-gold), #dfaa3c);
  color: #ffffff;
  font-weight: 850;
}

.student-progress-value {
  display: block;
  color: var(--student-ink);
  font-size: 1.8rem;
  font-weight: 850;
  line-height: 1;
}

.student-progress-item,
.student-streak,
.student-plan-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem;
  padding: .45rem 0;
}

.student-progress-item span,
.student-streak span {
  color: var(--student-ink);
  font-size: .8rem;
  font-weight: 750;
}

.student-progress-item strong,
.student-streak strong {
  color: var(--student-ink);
  font-size: .78rem;
  font-weight: 850;
}

.student-plan-row {
  grid-template-columns: 40px minmax(0, 1fr);
  margin: 1rem 0;
  padding: .8rem;
  border-radius: 8px;
  background: #fffaf0;
}

.student-activity-list {
  display: grid;
  gap: .35rem;
}

.student-activity-list a {
  padding: .55rem 0;
}

.student-activity-list em {
  display: block;
  margin-top: .2rem;
  font-size: .75rem;
  font-style: normal;
}

.student-support-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  margin-bottom: .9rem;
  border-radius: 50%;
  background: #eef2ff;
  color: #2559d6;
  font-size: 1.2rem;
}

.student-empty-state {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 1rem;
  border: 1px dashed var(--student-border);
  border-radius: 8px;
  background: #fbfcfe;
  text-align: center;
}

.student-empty-state.compact {
  min-height: 118px;
}

.student-empty-state i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: .6rem;
  border-radius: 8px;
  background: var(--student-gold-soft);
  color: var(--student-gold);
}

.student-empty-state strong {
  display: block;
  color: var(--student-ink);
  font-weight: 800;
}

.student-empty-state p {
  margin: .25rem 0 0;
  color: var(--student-muted);
  font-size: .85rem;
}

@media (min-width: 1200px) {
  .student-right-rail {
    position: sticky;
    top: 5.5rem;
  }
}

@media (max-width: 1399.98px) {
  .student-action-card {
    min-height: 132px;
  }
}

@media (max-width: 991.98px) {
  .student-section-header {
    align-items: flex-start;
  }

  .student-learning-thumb {
    min-height: 220px;
  }
}

@media (max-width: 575.98px) {
  .student-hero {
    min-height: 0;
    padding: 1.35rem;
  }

  .student-hero-title {
    font-size: 2.1rem;
  }

  .student-section,
  .student-sidebar-card,
  .student-stat-card,
  .student-action-card,
  .student-topic-card,
  .student-blog-card {
    padding: .9rem;
  }

  .student-section-header {
    display: grid;
    gap: .45rem;
  }

  .student-action-card {
    min-height: 128px;
  }

  .student-category-chip {
    width: 100%;
  }
}
