:root {
  --student-page-a: #f6f8fb;
  --student-page-b: #eef3f8;
  --student-ink: #0f172a;
  --student-muted: #64748b;
  --student-brand: #2563eb;
  --student-brand-2: #0891b2;
  --student-success: #0f766e;
  --student-warn: #b45309;
  --student-danger: #b91c1c;
  --student-line: rgba(15, 23, 42, .10);
  --student-shadow: 0 10px 24px rgba(15, 23, 42, .07);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--student-page-a), var(--student-page-b));
  color: var(--student-ink);
}

.student-main,
main.student-shell{
  flex: 1 0 auto;
}

.student-shell {
  max-width: 1360px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.student-main {
  width: 100%;
}

.student-nav {
  background: #12365a;
  box-shadow: 0 6px 16px rgba(2, 6, 23, .16);
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.student-nav .navbar-brand,
.student-nav .nav-link {
  color: rgba(248,250,252,.97);
}

.student-nav .navbar-brand {
  font-size: 1.05rem;
  white-space: nowrap;
}

.student-nav .nav-link {
  border-radius: 8px;
  padding: .5rem .82rem;
  font-size: .95rem;
}

.student-nav .nav-link.active,
.student-nav .nav-link:hover {
  background: rgba(255,255,255,.16);
  color: #fff;
}

.student-nav .navbar-toggler {
  color: rgba(248,250,252,.97);
}

.student-nav .navbar-nav {
  gap: .3rem;
}

.student-nav .navbar-nav .nav-item {
  display: flex;
}

.student-brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.24);
}

.student-user-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .38rem .72rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
}

.student-card {
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--student-shadow);
  overflow: hidden;
}

.student-main .card {
  border-radius: 8px;
  border-color: var(--student-line);
  box-shadow: 0 6px 18px rgba(15,23,42,.045);
}

.student-main .card-header {
  border-bottom-color: var(--student-line);
  background: #fff;
  color: var(--student-ink);
}

.student-main .table {
  --bs-table-bg: transparent;
}

.student-main .table thead th {
  color: #475569;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 0;
  border-bottom-color: rgba(148,163,184,.32);
}

.student-main .form-control,
.student-main .form-select {
  border-radius: 8px;
  border-color: rgba(148,163,184,.45);
}

.student-main .form-control:focus,
.student-main .form-select:focus {
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 0 0 .2rem rgba(37,99,235,.10);
}

.student-card-soft {
  border: 1px solid var(--student-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15,23,42,.045);
}

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

.student-section-title {
  font-weight: 800;
  color: var(--student-ink);
  margin-bottom: .2rem;
}

.student-section-subtitle {
  color: var(--student-muted);
  line-height: 1.45;
}

.student-section-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 36px;
  border-radius: 8px;
  border: 1px solid var(--student-line);
  background: #f8fafc;
  color: #334155;
  padding: .42rem .7rem;
  font-weight: 750;
  font-size: .9rem;
}

.student-mini-head .student-section-badge {
  margin-left: auto;
  min-height: 30px;
  padding: .28rem .55rem;
  font-size: .82rem;
}

.student-value-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(148,163,184,.34);
  background: #f8fafc;
  color: #334155;
  padding: .28rem .58rem;
  font-weight: 800;
  font-size: .9rem;
}

.student-metric-card {
  border: 1px solid var(--student-line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 6px 18px rgba(15,23,42,.045);
  padding: 1rem;
  height: 100%;
}

.student-metric-card.is-success { border-color: rgba(15,118,110,.22); }
.student-metric-card.is-warning { border-color: rgba(180,83,9,.24); }
.student-metric-card.is-primary { border-color: rgba(37,99,235,.22); }
.student-metric-card-cert {
  border-color: rgba(124,58,237,.24);
  background: linear-gradient(180deg, #ffffff 0%, #f8f6ff 100%);
}
.student-metric-card-cert .student-metric-value {
  color: #7c3aed;
}
.student-metric-card-main {
  background: #f0fdfa;
  border-color: rgba(15,118,110,.28);
}

.student-metric-label {
  color: var(--student-muted);
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.student-metric-value {
  color: var(--student-ink);
  font-size: 1.75rem;
  font-weight: 850;
  line-height: 1.1;
}

.student-metric-card-main .student-metric-value {
  color: #0f766e;
  font-size: 2rem;
  font-weight: 900;
}

.student-mini-card {
  border: 1px solid var(--student-line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  padding: 1rem;
  box-shadow: 0 6px 18px rgba(15,23,42,.045);
}

.student-mini-head {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding-bottom: .7rem;
  margin-bottom: .75rem;
  border-bottom: 1px solid rgba(148,163,184,.22);
}

.student-mini-head i {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #e0f2fe;
  color: #0369a1;
}

.student-mini-title {
  color: var(--student-ink);
  font-weight: 800;
  line-height: 1.2;
}

.student-list-stack {
  display: grid;
  gap: .65rem;
}

.student-grid-list {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1199.98px) {
  .student-grid-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .student-grid-list {
    grid-template-columns: 1fr;
  }
}

.student-list-item {
  border: 1px solid var(--student-line);
  border-radius: 8px;
  background: rgba(255,255,255,.78);
  padding: .8rem .9rem;
}

.student-list-title {
  color: var(--student-ink);
  font-weight: 800;
  line-height: 1.25;
}

.student-direction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}

.student-direction-card {
  border: 1px solid rgba(148,163,184,.26);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  padding: .78rem .85rem;
  box-shadow: 0 8px 18px rgba(15,23,42,.04);
}

.student-direction-code {
  color: var(--student-brand);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.student-direction-name {
  color: var(--student-ink);
  font-weight: 850;
  line-height: 1.25;
  margin-top: .1rem;
}

.student-direction-meta {
  color: var(--student-muted);
  font-size: .84rem;
  margin-top: .32rem;
}

@media (max-width: 1199.98px) {
  .student-direction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .student-direction-grid {
    grid-template-columns: 1fr;
  }
}

.student-list-meta {
  color: var(--student-muted);
  font-size: .88rem;
  line-height: 1.35;
  margin-top: .2rem;
}

.student-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
}

.student-score-list {
  display: grid;
  gap: .55rem;
}

.student-score-list.compact {
  gap: .4rem;
}

.student-cert-impact-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.student-cert-impact-summary div {
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 8px;
  background: #f8fafc;
  padding: .6rem .7rem;
}

.student-cert-impact-summary span {
  display: block;
  color: var(--student-muted);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.student-cert-impact-summary strong {
  display: block;
  color: var(--student-ink);
  font-size: 1.05rem;
  font-weight: 900;
  margin-top: .18rem;
  font-variant-numeric: tabular-nums;
}

.student-cert-impact-table {
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 8px;
  overflow: hidden;
}

.student-otm-cert-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.student-otm-cert-summary {
  display: grid;
  gap: .5rem;
  margin-bottom: .9rem;
}

.student-otm-cert-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .6rem;
  align-items: center;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 8px;
  background: #fff;
  padding: .58rem .72rem;
}

.student-otm-cert-summary-row span {
  color: var(--student-muted);
  font-size: .92rem;
  font-weight: 700;
}

.student-otm-cert-summary-row strong {
  color: var(--student-ink);
  font-size: 1rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.student-otm-cert-summary-row strong.cert-fans {
  color: #7c3aed;
}

.student-otm-cert-summary-row strong.cert-total {
  color: #b45309;
}

.student-otm-cert-table-wrap {
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.student-otm-cert-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.student-otm-cert-table th,
.student-otm-cert-table td {
  padding: .58rem .7rem;
  border-bottom: 1px solid rgba(148,163,184,.18);
}

.student-otm-cert-table thead th {
  background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
  color: #111827;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 800;
}

.student-otm-cert-table tbody tr:last-child td {
  border-bottom: 0;
}

.student-otm-cert-table td:nth-child(2) {
  color: #334155;
  font-variant-numeric: tabular-nums;
}

.student-otm-cert-table td:last-child {
  color: #047857;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.student-otm-cert-table thead th:last-child {
  color: #111827;
}

.student-cert-impact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px 82px;
  gap: .45rem;
  align-items: center;
  padding: .48rem .6rem;
  border-bottom: 1px solid rgba(148,163,184,.18);
}

.student-cert-impact-row:last-child {
  border-bottom: 0;
}

.student-cert-impact-row.head {
  background: #f8fafc;
  color: var(--student-muted);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.student-cert-impact-row span {
  color: var(--student-ink);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.student-cert-impact-row span:nth-child(2),
.student-cert-impact-row span:nth-child(3) {
  text-align: right;
}

.student-score-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: .55rem;
  align-items: stretch;
}

.student-year-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(148,163,184,.34);
  background: #f8fafc;
  color: #334155;
  font-weight: 850;
  font-size: .92rem;
  letter-spacing: .01em;
}

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

.student-score-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .42rem .58rem;
  border-radius: 8px;
  border: 1px solid rgba(148,163,184,.28);
  background: #fff;
}

.student-score-chip .k {
  color: var(--student-muted);
  font-weight: 700;
  font-size: .85rem;
}

.student-score-chip .v {
  color: var(--student-ink);
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.student-score-chip.grant .v {
  color: #2563eb;
}

.student-score-chip.contract .v {
  color: #c2410c;
}

.student-mini-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--student-ink);
}

.student-university-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .8rem;
  margin-bottom: .85rem;
}

.student-university-head .student-section-title {
  margin-bottom: .1rem;
}

.student-subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .7rem;
}

@media (max-width: 575.98px) {
  .student-subject-grid {
    grid-template-columns: 1fr;
  }
}

.student-subject-card {
  border: 1px solid var(--student-line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15,23,42,.045);
}

.student-subject-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  font-weight: 850;
  color: var(--student-ink);
  font-size: .98rem;
  line-height: 1.2;
  padding: .65rem .75rem;
  border-bottom: 1px solid rgba(148,163,184,.22);
}

.student-subject-head .tag {
  min-width: 0;
  color: var(--student-muted);
  font-size: .92rem;
  font-weight: 750;
  text-align: right;
}

.student-subject-body {
  padding: .6rem;
}

.student-grid-table {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .9fr) minmax(0, .9fr);
  gap: .35rem .42rem;
  align-items: center;
}

.student-grid-table .gh,
.student-grid-table .gl {
  color: var(--student-muted);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.student-grid-table .gl {
  text-transform: none;
  font-size: .92rem;
  color: #334155;
}

.student-grid-table .center,
.student-grid-table .gc {
  text-align: center;
}

.student-grid-table .student-value-pill {
  width: 100%;
  min-width: 0;
  padding: .2rem .35rem;
  font-size: .96rem;
}

.student-subject-card.f1 .student-value-pill { color: #2563eb; }
.student-subject-card.f2 .student-value-pill { color: #7c3aed; }
.student-subject-card.ona .student-value-pill { color: #16a34a; }
.student-subject-card.math .student-value-pill { color: #d97706; }
.student-subject-card.tarix .student-value-pill { color: #0891b2; }

.student-subject-card.f1 .student-subject-head {
  border-bottom-color: rgba(37,99,235,.20);
  box-shadow: inset 0 -2px 0 rgba(37,99,235,.18);
}

.student-subject-card.f2 .student-subject-head {
  border-bottom-color: rgba(124,58,237,.20);
  box-shadow: inset 0 -2px 0 rgba(124,58,237,.16);
}

.student-subject-card.ona .student-subject-head {
  border-bottom-color: rgba(22,163,74,.20);
  box-shadow: inset 0 -2px 0 rgba(22,163,74,.16);
}

.student-subject-card.math .student-subject-head {
  border-bottom-color: rgba(217,119,6,.20);
  box-shadow: inset 0 -2px 0 rgba(217,119,6,.16);
}

.student-subject-card.tarix .student-subject-head {
  border-bottom-color: rgba(14,165,233,.20);
  box-shadow: inset 0 -2px 0 rgba(14,165,233,.16);
}

.student-offer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .18rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.1);
  background: #fff;
  color: #334155;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.2;
}

.student-offer-pill.form {
  border-color: rgba(37,99,235,.18);
  background: rgba(37,99,235,.07);
  color: #1d4ed8;
}

.student-offer-pill.lang {
  border-color: rgba(16,185,129,.18);
  background: rgba(16,185,129,.08);
  color: #047857;
}

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

@media (max-width: 991.98px) {
  .student-university-grid {
    grid-template-columns: 1fr;
  }
}

.student-offer-card {
  border: 1px solid var(--student-line);
  border-radius: 8px;
  background: rgba(255,255,255,.78);
  padding: .7rem .8rem;
}

.student-offer-title {
  color: var(--student-ink);
  font-weight: 800;
  line-height: 1.2;
}

.student-mini-card small {
  display: block;
  color: var(--student-muted);
  margin-top: .25rem;
}

.student-empty-state {
  border: 1px dashed rgba(100,116,139,.32);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--student-muted);
  padding: 1.15rem;
}

[data-trig].trig-fade-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}

[data-trig].trig-fade-up.trig {
  opacity: 1;
  transform: translateY(0);
}

[data-trig].trig-zoom-in {
  opacity: 0;
  transform: translateY(10px) scale(.98);
  transition: opacity .6s ease, transform .6s ease;
}

[data-trig].trig-zoom-in.trig {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.student-hero {
  padding-top: 0;
  padding-bottom: .35rem;
}

.student-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: .95rem 1.1rem 1rem;
  background: #fff;
  border: 1px solid var(--student-line);
  box-shadow: 0 6px 18px rgba(15,23,42,.045);
}

.student-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--student-brand), var(--student-success));
}

.student-hero-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.student-hero-title {
  font-size: 1.7rem;
  line-height: 1.12;
  font-weight: 750;
  margin-bottom: .2rem !important;
}

.student-hero-lead {
  max-width: 62rem;
  color: rgba(33,37,41,.72);
  margin-bottom: 0;
}

.student-hero-main {
  margin-top: .6rem;
}

.student-section-card {
  padding: 1.15rem 1.2rem;
}

.student-login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.student-login-card {
  width: 100%;
  max-width: 560px;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--student-shadow);
  overflow: hidden;
}

.student-login-head {
  background: #f8fafc;
  border-bottom: 1px solid var(--student-line);
}

.student-login-sub {
  color: var(--student-muted);
  font-size: .94rem;
  line-height: 1.45;
}

.student-login-mark {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: var(--student-brand);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.student-login-card .input-group-text {
  background: #f8fafc;
  border-color: #dbe2ea;
}

.student-login-card .form-control {
  border-color: #dbe2ea;
}

.student-login-card .btn-primary {
  background: #2563eb;
  border-color: #1d4ed8;
  font-weight: 700;
}

.student-login-card .btn-primary:hover {
  background: #1d4ed8;
  border-color: #1e40af;
}

.student-summary-bar {
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15,23,42,.045);
}

.student-dashboard-profile {
  display: flex;
  align-items: center;
  gap: .8rem;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 6px 16px rgba(15,23,42,.04);
  padding: .72rem .85rem;
}

.student-dashboard-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #dbeafe;
  border: 1px solid rgba(37,99,235,.16);
  color: #1d4ed8;
  font-size: 1.05rem;
  font-weight: 850;
}

.student-dashboard-profile-main {
  min-width: 0;
  flex: 1 1 auto;
}

.student-dashboard-name {
  color: var(--student-ink);
  font-weight: 850;
  font-size: 1.05rem;
  line-height: 1.2;
}

.student-dashboard-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .75rem;
  color: var(--student-muted);
  font-size: .85rem;
  margin-top: .15rem;
}

.student-dashboard-meta span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.student-dashboard-major-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .4rem;
  text-decoration: none;
}

.student-dashboard-major-label {
  width: 100%;
  color: var(--student-muted);
  font-size: .78rem;
  font-weight: 800;
  text-align: right;
  text-transform: uppercase;
}

.student-dashboard-result-card {
  height: 100%;
}

.student-dashboard-exam-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 8px;
  background: #f8fafc;
  padding: .8rem .9rem;
  margin-bottom: .7rem;
}

.student-dashboard-exam-title {
  color: var(--student-ink);
  font-weight: 850;
  line-height: 1.25;
}

.student-dashboard-exam-meta {
  color: var(--student-muted);
  font-size: .88rem;
  margin-top: .15rem;
}

.student-dashboard-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
}

.student-dashboard-cert-list {
  gap: .6rem;
}

.student-cert-row-compact {
  grid-template-columns: minmax(170px, .95fr) minmax(120px, .62fr) 96px 104px 124px minmax(92px, auto);
  padding: .72rem .8rem .72rem 1rem;
}

.student-cert-row-compact .student-cert-icon {
  width: 36px;
  height: 36px;
}

.student-cert-row-compact .student-cert-score {
  min-height: 40px;
  padding-inline: .45rem;
  justify-self: center;
  width: 100%;
  max-width: 116px;
}

.student-cert-row-compact .student-cert-detail {
  margin-top: .18rem;
  justify-self: center;
  width: 100%;
  max-width: 84px;
}

.student-cert-row-compact .student-cert-actions {
  justify-self: center;
}

.student-cert-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .65rem;
}

.student-cert-summary-item {
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 8px;
  background: rgba(255,255,255,.78);
  padding: .68rem .75rem;
  box-shadow: 0 10px 22px rgba(15,23,42,.04);
}

.student-cert-summary-item span {
  display: block;
  color: var(--student-muted);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.student-cert-summary-item strong {
  display: block;
  color: var(--student-ink);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.05;
  margin-top: .18rem;
  font-variant-numeric: tabular-nums;
}

.student-cert-summary-item.active { border-color: rgba(15,118,110,.24); }
.student-cert-summary-item.pending { border-color: rgba(100,116,139,.24); }
.student-cert-summary-item.expired { border-color: rgba(180,83,9,.24); }
.student-cert-summary-item.revoked { border-color: rgba(185,28,28,.24); }
.student-cert-summary-item.bonus { border-color: rgba(37,99,235,.24); }

.student-cert-list {
  display: grid;
  gap: .7rem;
}

.student-cert-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(150px, .9fr) 106px 112px 154px minmax(102px, auto);
  align-items: center;
  gap: .85rem;
  position: relative;
  border: 1px solid rgba(148,163,184,.30);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  padding: .8rem .85rem .8rem 1rem;
  box-shadow: 0 6px 16px rgba(15,23,42,.035);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.student-cert-row:hover {
  border-color: rgba(37,99,235,.22);
  box-shadow: 0 10px 22px rgba(15,23,42,.055);
  transform: translateY(-1px);
}

.student-cert-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 8px 0 0 8px;
  background: #94a3b8;
}

.student-cert-row.active::before { background: #0f766e; }
.student-cert-row.pending::before { background: #64748b; }
.student-cert-row.expired::before { background: #b45309; }
.student-cert-row.revoked::before { background: #b91c1c; }

.student-cert-identity {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}

.student-cert-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(8,145,178,.09);
  color: #0e7490;
  border: 1px solid rgba(8,145,178,.18);
}

.student-cert-title {
  color: var(--student-ink);
  font-weight: 850;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.student-cert-detail {
  display: grid;
  gap: .18rem;
  color: var(--student-muted);
  font-size: .86rem;
  line-height: 1.28;
  min-width: 0;
}

.student-cert-detail span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.student-cert-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 1px solid rgba(148,163,184,.28);
  border-radius: 8px;
  background: #f8fafc;
  min-height: 46px;
  padding: .36rem .55rem;
}

.student-cert-level {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 1px solid rgba(148,163,184,.28);
  border-radius: 8px;
  background: #fff;
  min-height: 36px;
  min-width: 52px;
  padding: .22rem .5rem;
}

.student-cert-level span {
  color: var(--student-ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.student-cert-score span {
  color: var(--student-ink);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.student-cert-bonus-cell {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.student-cert-muted {
  color: var(--student-muted);
  font-weight: 800;
}

.student-cert-dates {
  display: grid;
  gap: .24rem;
  color: var(--student-muted);
  font-size: .83rem;
}

.student-cert-dates span {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  min-width: 0;
  white-space: nowrap;
}

.student-cert-dates i {
  color: #64748b;
}

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

.student-cert-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(148,163,184,.28);
  background: #f8fafc;
  color: #334155;
  padding: .28rem .58rem;
  font-size: .8rem;
  font-weight: 800;
}

.student-cert-status.active {
  border-color: rgba(15,118,110,.22);
  background: rgba(15,118,110,.08);
  color: #0f766e;
}

.student-cert-status.pending {
  border-color: rgba(100,116,139,.22);
  background: rgba(100,116,139,.08);
  color: #475569;
}

.student-cert-status.expired {
  border-color: rgba(180,83,9,.24);
  background: rgba(180,83,9,.08);
  color: #b45309;
}

.student-cert-status.revoked {
  border-color: rgba(185,28,28,.24);
  background: rgba(185,28,28,.08);
  color: #b91c1c;
}

.student-cert-bonus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  min-height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(37,99,235,.20);
  background: #eef4ff;
  color: #1d4ed8;
  font-weight: 800;
  font-size: .78rem;
  line-height: 1.15;
  padding: .28rem .55rem;
  text-align: center;
}

.student-cert-file {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(37,99,235,.24);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--student-brand);
  background: #fff;
  text-decoration: none;
}

.student-cert-file:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

.student-cert-coverage {
  background: #fff;
}

.student-cert-coverage .student-mini-head {
  align-items: center;
  padding-bottom: .85rem;
  margin-bottom: .85rem;
}

.student-cert-coverage .student-mini-head i {
  background: rgba(8,145,178,.09);
  color: #0e7490;
  border-color: rgba(8,145,178,.16);
}

.student-cert-subject-list {
  display: grid;
  gap: .6rem;
}

.student-cert-subject-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border: 1px solid rgba(148,163,184,.26);
  border-radius: 8px;
  background: #fff;
  padding: .7rem .75rem;
}

.student-cert-subject-row span {
  color: var(--student-ink);
  font-weight: 850;
  line-height: 1.25;
}

.student-cert-subject-row strong {
  min-width: 38px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(37,99,235,.08);
  color: #1d4ed8;
  border: 1px solid rgba(37,99,235,.18);
  font-variant-numeric: tabular-nums;
}

.student-aside-note {
  max-width: 520px;
}

.student-results-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .8rem;
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: none;
  font-size: .92rem;
}

.student-results-chip strong {
  font-weight: 700;
}

.student-major-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: .2rem .55rem;
  font-size: .78rem;
  font-weight: 800;
  border: 1px solid rgba(15,23,42,.1);
  background: #fff;
  color: #0f172a;
}

.student-major-pill.f1 {
  border-color: rgba(37,99,235,.22);
  background: rgba(37,99,235,.08);
  color: #1d4ed8;
}

.student-major-pill.f2 {
  border-color: rgba(124,58,237,.22);
  background: rgba(124,58,237,.08);
  color: #6d28d9;
}

.student-divider {
  height: 1px;
  background: var(--student-line);
}

.student-career-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding: .35rem;
  border: 1px solid var(--student-line);
  border-radius: 8px;
  background: #f8fafc;
}

.student-career-tabs a {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-height: 38px;
  padding: .45rem .7rem;
  border-radius: 8px;
  color: #334155;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  background: transparent;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.student-career-tabs a.active,
.student-career-tabs a:hover {
  color: #0f172a;
  border-color: rgba(37,99,235,.22);
  background: #fff;
  box-shadow: 0 4px 12px rgba(15,23,42,.055);
}

.student-career-tabs a.active {
  color: var(--student-brand);
}

.student-career-focus {
  border: 1px solid var(--student-line);
  border-radius: 8px;
  background: #fff;
  padding: 1.15rem;
  box-shadow: 0 8px 22px rgba(15,23,42,.055);
}

.student-career-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.2rem;
  align-items: stretch;
  min-height: 260px;
  border-radius: 8px;
  overflow: hidden;
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #eef6ff, #ecfeff);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(37,99,235,.14);
}

.student-career-detail-hero.has-image {
  color: #fff;
  border-color: rgba(255,255,255,.2);
}

.student-career-detail-copy {
  align-self: end;
  min-width: 0;
}

.student-career-detail-hero.has-image .student-career-kicker,
.student-career-detail-hero.has-image .student-career-focus-title {
  color: #fff;
}

.student-career-detail-hero.has-image .student-career-code {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.28);
}

.student-career-detail-hero.has-image .student-career-code span,
.student-career-detail-hero.has-image .student-career-code strong {
  color: #fff;
}

.student-career-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .55rem;
}

.student-career-detail-media {
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.34);
  box-shadow: 0 16px 42px rgba(15,23,42,.16);
}

.student-career-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.student-career-detail-placeholder {
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d4ed8;
  background: #dbeafe;
  font-size: 4rem;
  font-weight: 800;
}

.student-career-source-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: .9rem;
}

.student-career-source-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: .65rem;
  row-gap: .12rem;
  align-items: start;
  border: 1px solid var(--student-line);
  border-radius: 8px;
  background: #f8fafc;
  padding: .85rem;
}

.student-career-source-item i {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #0e7490;
  background: #cffafe;
}

.student-career-source-item span {
  color: #64748b;
  font-size: .78rem;
  font-weight: 800;
}

.student-career-source-item strong {
  color: #0f172a;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.45;
}

.student-career-focus-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}

.student-career-kicker {
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: .72rem;
  font-weight: 800;
  color: var(--student-brand);
  margin-bottom: .2rem;
}

.student-career-focus-title {
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 750;
}

.student-career-code {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .25rem;
  padding: .28rem .55rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--student-line);
}

.student-career-code span {
  color: var(--student-muted);
  font-size: .76rem;
  font-weight: 700;
}

.student-career-code strong {
  color: #0f172a;
  font-size: .82rem;
  font-weight: 800;
}

.student-career-stat-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  border-radius: 8px;
  padding: .85rem;
  background: #eef4ff;
  border: 1px solid rgba(37,99,235,.14);
}

.student-career-stat {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(37,99,235,.12);
  padding: .85rem;
}

.student-career-stat-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 1.35rem;
}

.student-career-stat small {
  display: block;
  color: var(--student-muted);
  font-size: .78rem;
  margin-bottom: .25rem;
}

.student-career-stat strong {
  display: block;
  color: #0f172a;
  font-size: 1.12rem;
  line-height: 1.15;
}

.student-career-story {
  border: 1px solid var(--student-line);
  border-radius: 8px;
  padding: 1.15rem;
  background: #fff;
}

.student-career-section-label {
  color: var(--student-brand);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: .35rem;
}

.student-career-story h3 {
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: .65rem;
}

.student-career-story p {
  color: #475569;
  line-height: 1.75;
  margin-bottom: 0;
}

.student-career-side-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}

.student-career-income-grid {
  display: grid;
  gap: .5rem;
  margin: .6rem 0;
}

.student-career-income-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.student-career-income-grid div {
  border: 1px solid var(--student-line);
  border-radius: 8px;
  background: #fff;
  padding: .55rem;
}

.student-career-income-grid small {
  margin: 0 0 .15rem;
}

.student-career-job-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  margin-top: .7rem;
}

.student-career-job-badges span {
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(8,145,178,.18);
  background: #ecfeff;
  padding: .58rem .65rem;
}

.student-career-job-badges small {
  margin: 0 0 .15rem;
  color: #0e7490;
  font-weight: 750;
}

.student-career-job-badges strong {
  font-size: .98rem;
}

.student-career-task-list {
  display: grid;
  gap: .55rem;
  padding-left: 1.15rem;
  color: #475569;
}

.student-career-aspect-box {
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 8px;
  padding: 1rem;
  background: #f8fafc;
}

.student-career-aspect-box .student-mini-head i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.student-career-aspect-box.is-good {
  border-color: rgba(22,163,74,.18);
  background: #f0fdf4;
}

.student-career-aspect-box.is-good .student-mini-head i {
  background: #dcfce7;
  color: #15803d;
}

.student-career-aspect-box.is-risk {
  border-color: rgba(217,119,6,.18);
  background: #fffbeb;
}

.student-career-aspect-box.is-risk .student-mini-head i {
  background: #fef3c7;
  color: #b45309;
}

.student-career-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .6rem;
}

.student-career-chip-list strong {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(15,23,42,.08);
  background: #fff;
  padding: .35rem .55rem;
  color: #0f172a;
  font-size: .86rem;
}

.student-career-chip-list strong small {
  margin: 0;
  font-size: .72rem;
}

.student-career-insight {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  border: 1px solid rgba(8,145,178,.18);
  border-radius: 8px;
  background: rgba(236,254,255,.72);
  padding: 1rem;
}

.student-career-insight > i {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #0e7490;
  background: #cffafe;
}

.student-career-related {
  border: 1px solid var(--student-line);
  border-radius: 8px;
  background: #fff;
  padding: 1rem;
}

.student-career-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}

.student-career-related-grid a {
  display: flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--student-line);
  border-radius: 8px;
  padding: .55rem .7rem;
  background: #f8fafc;
  color: #0f172a;
  text-decoration: none;
  font-weight: 650;
}

.student-career-related-grid a:hover {
  border-color: rgba(37,99,235,.26);
  color: var(--student-brand);
  background: #fff;
}

.student-career-searchbar {
  border-top: 1px solid var(--student-line);
  padding-top: 1rem;
}

.student-career-searchbar-top {
  border-top: 0;
  border-bottom: 1px solid var(--student-line);
  padding-top: 0;
  padding-bottom: 1rem;
}

.student-career-searchbar .form-label {
  font-size: .84rem;
  margin-bottom: .35rem;
}

.student-career-card {
  display: flex;
  flex-direction: row;
  gap: .85rem;
  border-color: rgba(148,163,184,.28);
  padding: .9rem 1rem;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.student-career-card:hover {
  border-color: rgba(37,99,235,.3);
  box-shadow: 0 18px 42px rgba(15,23,42,.08);
  transform: translateY(-1px);
}

.student-career-card-main {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex: 1 1 auto;
  min-width: 0;
}

.student-career-card-media {
  width: 112px;
  min-height: 86px;
  flex: 0 0 112px;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #e2e8f0;
}

.student-career-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 86px;
  object-fit: cover;
  transition: transform .18s ease;
}

.student-career-card:hover .student-career-card-media img {
  transform: scale(1.035);
}

.student-career-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: #eef6ff;
  color: #1d4ed8;
  border: 1px solid rgba(37,99,235,.14);
  font-weight: 800;
  font-size: 1.05rem;
}

.student-career-card h2 {
  line-height: 1.25;
  margin-bottom: 0;
  font-size: 1rem;
}

.student-career-title-link {
  color: var(--student-ink);
  text-decoration: none;
}

.student-career-title-link:hover {
  color: var(--student-brand);
  text-decoration: underline;
}

.student-career-card p {
  line-height: 1.55;
}

.student-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}

.student-pagination .btn {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .4rem .62rem;
}

.student-pagination-ellipsis {
  min-width: 28px;
  text-align: center;
  color: var(--student-muted);
  font-weight: 700;
}

.student-career-interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .45rem 0 .35rem;
}

.student-career-interest-list strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .38rem .65rem;
  border-radius: 8px;
  border: 1px solid rgba(37,99,235,.18);
  background: #eff6ff;
  color: #1d4ed8;
  font-size: .92rem;
}

.exam-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: nowrap;
}

.exam-card-header-left {
  min-width: 0;
  flex: 1 1 auto;
}

.exam-card-score {
  flex: 0 0 auto;
  white-space: nowrap;
  margin-top: .05rem;
}

.mono { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.small-muted { color: rgba(33,37,41,.65); }
.table thead th { white-space: nowrap; }
.kpi-value-row { min-height: 44px; }
.score-pill {
  min-width: 56px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  line-height: 1.1;
  padding: .42rem .7rem;
}
.student-wm-index-col { min-width: 70px; }
.student-wm-score-col { min-width: 150px; }
.student-wm-average-col { min-width: 150px; }
.spark svg { display:block; }
.sticky-top-2 { top: .75rem; }
.kpi-card { border: 1px solid rgba(0,0,0,.08); }
.glass {
  background: #fff;
  border: 1px solid var(--student-line);
}
.section-title {
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: .78rem;
  color: rgba(33,37,41,.65);
}
.pill {
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.25rem .55rem;
  border-radius: 8px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  font-size: .85rem;
}
.badge-soft {
  background: rgba(13,110,253,.08);
  border: 1px solid rgba(13,110,253,.18);
  color: rgba(13,110,253,.9);
}
.badge-soft-success {
  background: rgba(25,135,84,.10);
  border: 1px solid rgba(25,135,84,.22);
  color: rgba(25,135,84,.95);
}
.badge-soft-danger {
  background: rgba(220,53,69,.10);
  border: 1px solid rgba(220,53,69,.22);
  color: rgba(220,53,69,.95);
}
.badge-soft-warning {
  background: rgba(255,193,7,.14);
  border: 1px solid rgba(255,193,7,.30);
  color: rgba(102,77,3,.95);
}
.shadow-soft { box-shadow: 0 6px 18px rgba(15,23,42,.045); }
.chart-wrap { position: relative; height: 240px; }
.chart-wrap-sm { position: relative; height: 240px; }
.chart-wrap-lg { position: relative; height: 360px; }

.student-footer {
  flex: 0 0 auto;
  padding: 0 0 1rem;
}

.student-footer-card {
  border: 1px solid var(--student-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15,23,42,.045);
  padding: .8rem 1rem .85rem;
  text-align: center;
}

.student-footer-copy {
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  font-size: .95rem;
}

.student-footer-credits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .45rem .6rem;
  margin-top: .45rem;
}

.student-footer-chip {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  padding: .28rem .58rem;
  border-radius: 8px;
  border: 1px solid rgba(148,163,184,.28);
  background: rgba(248,250,252,.96);
  color: #334155;
  font-weight: 600;
  font-size: .88rem;
  white-space: nowrap;
}

.student-footer-chip i {
  color: #0ea5e9;
}

.student-footer-link {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 700;
}

.student-footer-link:hover {
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .student-hero-title {
    font-size: 1.65rem;
  }
  .student-career-detail-hero {
    grid-template-columns: 1fr;
  }
  .student-career-detail-media {
    max-height: 280px;
  }
  .student-career-source-strip {
    grid-template-columns: 1fr;
  }
  .student-career-related-grid {
    grid-template-columns: 1fr;
  }
  .student-career-stat-panel {
    grid-template-columns: 1fr;
  }
  .exam-card-header {
    flex-wrap: wrap;
  }
}

.student-result-note {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 1rem 0 1.15rem;
  padding: .8rem 1rem;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: #eff6ff;
  color: #1e3a5f;
  font-size: .94rem;
}

.student-result-note i {
  flex: 0 0 auto;
  color: #2563eb;
  font-size: 1.05rem;
}

.student-result-form {
  min-width: 0;
}

.student-result-form > fieldset {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) auto;
  gap: 1rem;
  align-items: stretch;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.student-result-group {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
}

.student-result-group-major {
  border-top: 3px solid #60a5fa;
}

.student-result-group-mandatory {
  border-top: 3px solid #34d399;
}

.student-result-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
  color: #172033;
  font-weight: 700;
}

.student-result-group-head small {
  padding: .18rem .5rem;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font-size: .72rem;
  font-weight: 700;
}

.student-result-fields {
  display: grid;
  gap: .75rem;
}

.student-result-fields-major {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.student-result-fields-mandatory {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.student-result-fields .form-label {
  min-height: 2.4em;
  margin-bottom: .35rem;
  color: #475569;
  font-size: .82rem;
  font-weight: 700;
}

.student-result-fields .form-control {
  min-height: 46px;
  border-color: #cbd5e1;
  border-radius: 11px;
  background: #fff;
  font-weight: 700;
}

.student-result-submit {
  display: flex;
  align-items: flex-end;
}

.student-result-submit .btn {
  min-height: 46px;
  padding-inline: 1.15rem;
  border-radius: 11px;
  font-weight: 700;
}

.student-result-table-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.student-result-table thead th {
  padding: .85rem .75rem;
  border-bottom-color: #dbe3ed;
  background: #f8fafc;
  color: #475569;
  font-size: .78rem;
  letter-spacing: .02em;
  white-space: nowrap;
}

.student-result-table tbody td {
  padding: .7rem .75rem;
  border-color: #edf1f5;
}

.student-result-table tbody tr:last-child td {
  border-bottom: 0;
}

.student-result-date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #475569;
  font-size: .87rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

.student-result-date strong {
  color: #172033;
  font-size: .95rem;
}

.student-result-date small {
  margin-top: .2rem;
  color: #64748b;
  font-size: .72rem;
  font-weight: 500;
}

.student-result-score {
  display: inline-flex;
  min-width: 68px;
  flex-direction: column;
  align-items: center;
  padding: .3rem .55rem;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #eff6ff;
  line-height: 1.1;
}

.student-result-score strong {
  color: #1e3a8a;
  font-size: .95rem;
}

.student-result-score small {
  margin-top: .18rem;
  color: #64748b;
  font-size: .68rem;
}

.student-result-total {
  display: inline-flex;
  min-width: 76px;
  justify-content: center;
  padding: .45rem .7rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-weight: 800;
}

@media (max-width: 1199.98px) {
  .student-result-form > fieldset {
    grid-template-columns: 1fr;
  }

  .student-result-submit .btn {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .student-result-fields-major,
  .student-result-fields-mandatory {
    grid-template-columns: 1fr;
  }

  .student-result-fields .form-label {
    min-height: 0;
  }

  .student-shell {
    padding: .9rem 1rem;
  }

  .student-dashboard-profile {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .student-dashboard-major-link {
    width: 100%;
    justify-content: flex-start;
  }

  .student-dashboard-major-label {
    text-align: left;
  }

  .student-dashboard-metric-grid {
    grid-template-columns: 1fr;
  }

  .student-dashboard-exam-strip {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .student-cert-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-cert-row {
    grid-template-columns: 1fr;
  }

  .student-cert-actions {
    justify-content: flex-start;
  }

  .student-section-card {
    padding: 1rem;
  }

  .student-career-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .45rem;
  }

  .student-career-focus {
    padding: .9rem;
  }

  .student-career-focus-title {
    font-size: 1.35rem;
  }

  .student-career-stat {
    align-items: flex-start;
  }

  .student-career-income-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-career-card-main {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .student-career-card {
    flex-direction: column;
  }

  .student-career-card-media {
    width: 100%;
    flex-basis: auto;
    aspect-ratio: 16 / 9;
  }

  .student-footer {
    padding-bottom: .85rem;
  }

  .student-footer-card {
    padding: .75rem .85rem .8rem;
  }

  .student-footer-copy {
    font-size: .9rem;
  }

  .student-footer-credits {
    gap: .35rem .5rem;
    font-size: .82rem;
  }
}