:root {
  --bg: #07111f;
  --panel: rgba(13, 25, 45, 0.82);
  --panel-strong: rgba(11, 22, 38, 0.96);
  --line: rgba(136, 173, 255, 0.2);
  --text: #e8f0ff;
  --muted: #a7b7d9;
  --accent: #68d2ff;
  --accent-2: #80ed99;
  --accent-3: #ffd166;
  --accent-4: #ff7b72;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(104, 210, 255, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(128, 237, 153, 0.12), transparent 25%),
    linear-gradient(145deg, #06101c, #0f2036 45%, #122947 100%);
  color: var(--text);
  min-height: 100vh;
}

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.dashboard-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.dashboard-nav-link {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
}

.dashboard-nav-link.active {
  background: linear-gradient(145deg, rgba(104, 210, 255, 0.18), rgba(255, 255, 255, 0.05));
}

.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.hero-card,
.panel,
.metric,
.timeline-item,
.skill-card,
.module-card {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
}

.eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(104, 210, 255, 0.12);
  color: var(--accent);
  border: 1px solid rgba(104, 210, 255, 0.2);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 0.96;
  margin: 16px 0 14px;
}

.subtitle {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 60ch;
}

.hero-side {
  display: grid;
  gap: 16px;
}

.community-dashboard-page .hero {
  align-items: stretch;
}

.community-hero-art {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid rgba(136, 173, 255, 0.22);
  border-radius: 24px;
  background: rgba(8, 20, 38, 0.74);
  box-shadow: var(--shadow);
}

.community-hero-art img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: block;
  object-fit: cover;
}

.community-hero-stat {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px;
  border: 1px solid rgba(206, 224, 255, 0.2);
  border-radius: 14px;
  background: rgba(7, 17, 31, 0.74);
  backdrop-filter: blur(16px);
}

.community-hero-stat span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.community-hero-stat strong {
  display: block;
  margin-top: 5px;
  font-size: 22px;
}

.community-pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.impact-path-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(136, 173, 255, 0.2);
  border-radius: 24px;
  background: rgba(13, 25, 45, 0.76);
  box-shadow: var(--shadow);
}

.impact-path-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid rgba(136, 173, 255, 0.18);
}

.impact-path-card .kicker,
.impact-path-card h3,
.impact-path-card p {
  margin-left: 16px;
  margin-right: 16px;
}

.impact-path-card .kicker {
  margin-top: 16px;
  color: var(--accent);
}

.impact-path-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.impact-path-card p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.student-dashboard-page {
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(12, 29, 48, 0.96) 48%, rgba(15, 42, 45, 0.96)),
    #07111f;
}

.student-dashboard-page .page-shell {
  width: min(1180px, calc(100% - 40px));
  padding: 16px 0 48px;
}

.student-dashboard-page .dashboard-nav {
  gap: 8px;
  margin-bottom: 12px;
}

.student-dashboard-page .dashboard-nav-link {
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 13px;
}

.student-command-hero {
  margin-bottom: 14px;
}

.student-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(136, 173, 255, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(7, 14, 28, 0.94), rgba(8, 21, 40, 0.7) 48%, rgba(4, 18, 30, 0.28)),
    url("../Assets/Images and Animations/Student Hub/student-hub-hero-career-empire.png") center center / cover no-repeat;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.student-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 12, 24, 0.02), rgba(5, 12, 24, 0.68)),
    linear-gradient(90deg, rgba(5, 12, 24, 0.78), rgba(5, 12, 24, 0.08) 62%, rgba(5, 12, 24, 0.34));
  pointer-events: none;
}

.student-hero-copy,
.student-hero-visual {
  position: relative;
  z-index: 1;
}

.student-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.student-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(40px, 5.3vw, 66px);
}

.student-hero-copy .subtitle {
  max-width: 62ch;
  color: #d7e6ff;
  font-size: 17px;
}

@keyframes startHereSpin {
  to {
    transform: rotate(360deg);
  }
}

.student-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.student-primary-actions .module-link {
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(8, 20, 38, 0.72);
}

.student-primary-actions .module-link.primary {
  color: #07111f;
  background: linear-gradient(135deg, #80ed99, #68d2ff);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 18px 36px rgba(82, 205, 174, 0.22);
}

.student-primary-actions .module-link.start-here-link:not(.module-link-disabled),
.student-dashboard-page .module-card .module-link.start-here-link:not(.module-link-disabled) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: 10px;
  color: #06101f;
  border-color: rgba(254, 243, 199, 0.72);
  background: linear-gradient(135deg, #fbbf24 0%, #22c55e 44%, #38bdf8 100%);
  box-shadow: 0 18px 42px rgba(34, 197, 94, 0.26), 0 0 0 1px rgba(254, 243, 199, 0.18);
}

.student-primary-actions .module-link.start-here-link:not(.module-link-disabled)::before,
.student-dashboard-page .module-card .module-link.start-here-link:not(.module-link-disabled)::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 3px solid rgba(255, 255, 255, 0.52);
  border-top-color: #06101f;
  border-radius: 999px;
  animation: startHereSpin 1.1s linear infinite;
}

.student-primary-actions .module-link.start-here-link:not(.module-link-disabled):hover,
.student-dashboard-page .module-card .module-link.start-here-link:not(.module-link-disabled):hover {
  border-color: rgba(255, 255, 255, 0.84);
  background: linear-gradient(135deg, #facc15 0%, #2dd4bf 44%, #60a5fa 100%);
}

.student-identity-strip {
  max-width: 760px;
  gap: 8px;
  margin-top: 16px;
}

.student-identity-strip .badge {
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 13px;
}

.student-hero-visual {
  min-height: 344px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding-right: clamp(250px, 43%, 350px);
}

.student-guide-character {
  position: absolute;
  z-index: 2;
  right: clamp(-8px, 2vw, 28px);
  bottom: -18px;
  width: min(340px, 50%);
  max-height: 410px;
  object-fit: contain;
  object-position: bottom center;
  transform: scaleX(-1);
  transform-origin: center bottom;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.38));
}

.student-visual-card {
  position: relative;
  z-index: 3;
  width: min(360px, 100%);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(206, 224, 255, 0.22);
  background: rgba(8, 19, 36, 0.76);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.student-visual-card h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.student-visual-card p {
  margin-bottom: 0;
  color: #d7e6ff;
  line-height: 1.5;
}

.current-mission-card {
  margin: 12px 0 0;
}

.class-impact-card {
  width: min(340px, 100%);
  margin: 16px 0;
  background: rgba(10, 46, 50, 0.76);
  border-color: rgba(128, 237, 153, 0.24);
}

.student-dashboard-page .student-status-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(136, 173, 255, 0.16);
  border-radius: 14px;
  background: rgba(4, 13, 27, 0.44);
}

.student-dashboard-page .student-status-strip .metric {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: none;
  background:
    linear-gradient(145deg, rgba(14, 42, 58, 0.72), rgba(10, 22, 42, 0.74));
}

.student-dashboard-page .student-status-strip .metric-card--art {
  min-height: 246px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(5, 13, 26, 0.9), rgba(5, 13, 26, 0.3) 56%, rgba(5, 13, 26, 0.6)),
    var(--metric-art) right -38px center / min(276px, 64%) auto no-repeat,
    linear-gradient(145deg, rgba(14, 42, 58, 0.82), rgba(10, 22, 42, 0.9));
}

.student-dashboard-page .student-status-strip .metric::after {
  content: "";
  position: absolute;
  inset: auto -24px -36px auto;
  width: 100px;
  height: 100px;
  border-radius: 999px;
  background: rgba(104, 210, 255, 0.08);
  filter: blur(18px);
  pointer-events: none;
}

.student-dashboard-page .student-status-strip .metric-card--art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 82% 34%, rgba(104, 210, 255, 0.18), transparent 34%),
    linear-gradient(180deg, transparent 32%, rgba(4, 12, 26, 0.46));
  pointer-events: none;
}

.student-dashboard-page .student-status-strip .metric-card--art > * {
  position: relative;
  z-index: 1;
}

.metric-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.metric-topline .metric-label {
  margin-bottom: 0;
}

.metric-card--art .metric-label {
  max-width: 14ch;
  color: #c7d8f7;
}

.metric-card--art .metric-value {
  font-size: clamp(42px, 5vw, 64px);
}

.metric-card--art .metric-note {
  max-width: 28ch;
}

.metric-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(206, 224, 255, 0.22);
  background: rgba(4, 12, 26, 0.72);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.student-dashboard-page .ce-feedback-launcher {
  display: none;
}

.badge-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.badge {
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  color: var(--text);
}

.badge.with-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.badge-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px;
  border: 1px solid var(--line);
}

.panel {
  padding: 22px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-title h2 {
  margin-bottom: 0;
  font-size: 24px;
}

.section-title p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.dashboard-dropdown {
  padding: 0;
  overflow: hidden;
}

.dashboard-dropdown + .dashboard-dropdown {
  margin-top: 14px;
}

.dashboard-dropdown-summary {
  align-items: center;
  cursor: pointer;
  list-style: none;
  margin-bottom: 0;
  min-height: 92px;
  padding: 22px;
  user-select: none;
}

.dashboard-dropdown-summary::-webkit-details-marker {
  display: none;
}

.dashboard-dropdown-summary h2,
.dashboard-dropdown-summary p {
  pointer-events: none;
}

.dashboard-dropdown-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-dropdown-action::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}

.dashboard-dropdown[open] .dashboard-dropdown-action {
  color: var(--accent-2);
}

.dashboard-action-close {
  display: none;
}

.dashboard-dropdown[open] .dashboard-action-open {
  display: none;
}

.dashboard-dropdown[open] .dashboard-action-close {
  display: inline;
}

.dashboard-dropdown[open] .dashboard-dropdown-action::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.dashboard-dropdown-content {
  padding: 0 22px 22px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.metric {
  padding: 20px;
}

.metric-label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.metric-value {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 8px;
}

.metric-note {
  color: var(--muted);
  font-size: 14px;
}

.global-dashboard-page {
  background:
    linear-gradient(135deg, rgba(4, 12, 24, 0.96), rgba(7, 19, 34, 0.94) 42%, rgba(8, 34, 38, 0.92)),
    url("../Assets/landing-screenshots/ecc-future-campus-hero.png") center top / cover fixed no-repeat,
    #07111f;
}

.global-dashboard-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(104, 210, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(128, 237, 153, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.2;
  pointer-events: none;
}

.global-dashboard-page .page-shell {
  width: min(1280px, calc(100% - 36px));
}

.global-dashboard-page .dashboard-nav-link {
  border-radius: 8px;
}

.global-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: stretch;
}

.global-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 382px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(5, 13, 26, 0.96), rgba(5, 13, 26, 0.74) 54%, rgba(5, 13, 26, 0.24)),
    linear-gradient(180deg, rgba(5, 13, 26, 0.04), rgba(5, 13, 26, 0.82)),
    url("../Assets/landing-screenshots/ecc-future-campus-hero.png") center center / cover no-repeat;
}

.global-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(104, 210, 255, 0.16) 1px, transparent 1px),
    linear-gradient(180deg, rgba(128, 237, 153, 0.1) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 42%, transparent);
  opacity: 0.28;
  pointer-events: none;
}

.global-hero-card > * {
  position: relative;
  z-index: 1;
}

.global-hero-card h1 {
  max-width: 720px;
}

.global-hero-card .subtitle {
  max-width: 66ch;
  color: #d8e7ff;
}

.global-hero-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.global-hero-kpis span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid rgba(206, 224, 255, 0.2);
  border-radius: 8px;
  background: rgba(6, 16, 31, 0.74);
  color: #eff6ff;
  font-size: 13px;
  font-weight: 800;
}

.global-scoreboard-panel {
  min-height: 382px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(136, 173, 255, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(11, 31, 49, 0.92), rgba(6, 15, 30, 0.88)),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
}

.global-scoreboard-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(136, 173, 255, 0.16);
}

.global-scoreboard-header span,
.global-class-topline .kicker,
.global-index-strip span,
.global-spotlight-item span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.global-scoreboard-header strong {
  color: var(--text);
  font-size: 22px;
  text-align: right;
}

.global-season-track {
  display: grid;
  gap: 12px;
  align-content: end;
}

.global-season-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(136, 173, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.global-season-row.is-hot {
  border-color: rgba(128, 237, 153, 0.32);
  background: linear-gradient(145deg, rgba(128, 237, 153, 0.12), rgba(255, 255, 255, 0.04));
}

.global-season-row span {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border: 1px solid rgba(206, 224, 255, 0.22);
  border-radius: 8px;
  color: #07111f;
  background: var(--accent-3);
  font-weight: 900;
}

.global-season-row strong,
.global-season-row em {
  display: block;
  min-width: 0;
}

.global-season-row strong {
  font-size: 18px;
}

.global-season-row em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.global-index-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.global-index-strip article {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(136, 173, 255, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(12, 30, 48, 0.78), rgba(6, 16, 31, 0.74)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.global-index-strip strong {
  display: block;
  margin: 10px 0 8px;
  color: var(--text);
  font-size: 18px;
}

.global-index-strip p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.global-metric {
  position: relative;
  overflow: hidden;
  min-height: 164px;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(12, 32, 52, 0.86), rgba(7, 17, 31, 0.82)),
    rgba(255, 255, 255, 0.04);
}

.global-metric::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--global-accent, var(--accent));
}

.global-metric--leader {
  --global-accent: linear-gradient(90deg, var(--accent-3), var(--accent));
}

.global-metric--readiness {
  --global-accent: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.global-metric--momentum {
  --global-accent: linear-gradient(90deg, #7a9cff, var(--accent));
}

.global-metric--fund {
  --global-accent: linear-gradient(90deg, var(--accent-3), var(--accent-2));
}

.global-metric-title {
  max-width: 12ch;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.global-league-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 86px;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(136, 173, 255, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(13, 29, 48, 0.82), rgba(7, 17, 31, 0.72)),
    rgba(255, 255, 255, 0.035);
}

.global-league-row.is-leading {
  border-color: rgba(255, 209, 102, 0.34);
  background:
    linear-gradient(145deg, rgba(255, 209, 102, 0.12), rgba(7, 17, 31, 0.74)),
    rgba(255, 255, 255, 0.04);
}

.global-league-rank {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  border-radius: 10px;
  color: #07111f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 900;
}

.global-league-main strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.global-score-track {
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.global-score-track span {
  display: block;
  width: var(--score-width, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-3));
}

.global-league-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.global-league-details span {
  padding: 6px 8px;
  border: 1px solid rgba(136, 173, 255, 0.15);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.global-league-score {
  text-align: right;
}

.global-league-score strong {
  display: block;
  color: var(--text);
  font-size: 30px;
  line-height: 1;
}

.global-league-score span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.global-class-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.global-class-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  opacity: 0.76;
}

.global-class-card > * {
  position: relative;
}

.global-class-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.global-class-topline span {
  padding: 7px 9px;
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: 999px;
  color: #07111f;
  background: var(--accent-3);
  font-size: 12px;
  font-weight: 900;
}

.global-class-card .global-score-track {
  margin: 12px 0;
}

.global-spotlight-item,
.global-empty-state {
  padding: 16px;
  border: 1px solid rgba(136, 173, 255, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(11, 28, 48, 0.78), rgba(7, 17, 31, 0.72)),
    rgba(255, 255, 255, 0.035);
}

.global-spotlight-item strong,
.global-empty-state strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.35;
}

.global-empty-state p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.teacher-dashboard-page {
  font-family: "Inter", "Aptos", "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(5, 13, 26, 0.9), rgba(7, 22, 39, 0.92) 44%, rgba(14, 39, 39, 0.9)),
    url("../Assets/landing-screenshots/ecc-future-campus-hero.png") center top / cover fixed no-repeat,
    #07111f;
}

.teacher-dashboard-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(104, 210, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(128, 237, 153, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.22;
  pointer-events: none;
}

.teacher-dashboard-page .page-shell {
  width: min(1280px, calc(100% - 36px));
}

.teacher-dashboard-page .panel,
.teacher-dashboard-page .metric,
.teacher-dashboard-page .timeline-item,
.teacher-dashboard-page .skill-card,
.teacher-dashboard-page .module-card {
  border-radius: 12px;
}

.teacher-control-deck {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
}

.teacher-command-panel {
  position: relative;
  min-height: 254px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.38fr);
  grid-template-rows: auto 1fr;
  gap: 18px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(136, 173, 255, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(5, 13, 26, 0.98), rgba(7, 18, 34, 0.84) 58%, rgba(5, 13, 26, 0.38)),
    linear-gradient(180deg, rgba(5, 13, 26, 0.1), rgba(5, 13, 26, 0.92)),
    url("../Assets/landing-screenshots/ecc-future-campus-hero.png") center center / cover no-repeat;
  box-shadow: var(--shadow);
}

.teacher-command-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(104, 210, 255, 0.16) 1px, transparent 1px),
    linear-gradient(180deg, rgba(128, 237, 153, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 40%, transparent);
  opacity: 0.24;
  pointer-events: none;
}

.teacher-command-panel > * {
  position: relative;
  z-index: 1;
}

.teacher-command-copy {
  min-width: 0;
}

.teacher-command-copy h1 {
  max-width: 13ch;
  margin: 14px 0 10px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.98;
}

.teacher-command-copy .subtitle {
  max-width: 66ch;
  margin-bottom: 0;
  color: #d6e5ff;
}

.teacher-school-chip {
  align-self: start;
  justify-self: end;
  width: min(100%, 250px);
  padding: 14px;
  border: 1px solid rgba(104, 210, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(9, 31, 53, 0.82), rgba(5, 13, 26, 0.58)),
    rgba(255, 255, 255, 0.04);
  color: #f0f6ff;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.02;
  text-align: right;
  text-transform: uppercase;
}

.teacher-status-bars {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 8px;
  align-self: end;
  margin-top: 0;
}

.teacher-status-bars .badge {
  min-width: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: rgba(6, 16, 31, 0.72);
  color: #edf5ff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.teacher-status-bars .badge.with-logo {
  gap: 8px;
}

.teacher-status-bars .badge-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.teacher-scope-panel {
  display: grid;
  align-content: start;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(11, 31, 49, 0.92), rgba(6, 15, 30, 0.88)),
    rgba(255, 255, 255, 0.035);
}

.teacher-scope-panel .teacher-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.teacher-scope-panel input,
.teacher-scope-panel select {
  min-height: 44px;
  border-radius: 8px;
}

.teacher-kpi-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.teacher-dashboard-page .teacher-kpi-strip .metric-card--art {
  min-height: 116px;
  padding: 14px 62px 14px 14px;
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(12, 30, 48, 0.82), rgba(5, 13, 26, 0.82)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.teacher-dashboard-page .teacher-kpi-strip .metric-label {
  margin-bottom: 8px;
  font-size: 11px;
}

.teacher-dashboard-page .teacher-kpi-strip .metric-value {
  font-size: clamp(26px, 2.6vw, 38px);
}

.teacher-dashboard-page .teacher-kpi-strip .metric-note {
  font-size: 12px;
  line-height: 1.35;
}

.teacher-dashboard-page .teacher-kpi-strip .metric-card--art::after {
  right: -14px;
  bottom: -16px;
  width: 86px;
  height: 86px;
  opacity: 0.45;
}

.teacher-priority-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 14px;
  margin-bottom: 14px;
}

.teacher-priority-strip .panel {
  min-height: 126px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(12, 28, 48, 0.88), rgba(7, 17, 31, 0.86)),
    rgba(255, 255, 255, 0.035);
}

.teacher-priority-strip .panel p:last-child {
  margin-bottom: 0;
  color: #dfeaff;
  font-weight: 700;
}

.teacher-dashboard-page .dashboard-dropdown {
  margin-bottom: 14px;
  border-radius: 12px;
  overflow: hidden;
}

.teacher-dashboard-page .dashboard-dropdown + .dashboard-dropdown {
  margin-top: 0;
}

.teacher-dashboard-page .dashboard-dropdown-summary {
  min-height: 72px;
  padding: 18px;
  border-radius: 0;
}

.teacher-dashboard-page .dashboard-dropdown[open] .dashboard-dropdown-summary {
  border-bottom: 1px solid rgba(136, 173, 255, 0.14);
}

.teacher-dashboard-page .dashboard-dropdown-content {
  padding: 18px;
}

.teacher-primary-review {
  border-color: rgba(255, 209, 102, 0.34);
  background:
    linear-gradient(145deg, rgba(43, 32, 13, 0.28), rgba(7, 17, 31, 0.84)),
    var(--panel);
}

.teacher-primary-review .response-review-list {
  max-height: min(740px, 72vh);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: rgba(255, 209, 102, 0.58) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.teacher-primary-review .response-review-list::-webkit-scrollbar {
  width: 8px;
}

.teacher-primary-review .response-review-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.teacher-primary-review .response-review-list::-webkit-scrollbar-thumb {
  background: rgba(255, 209, 102, 0.58);
  border-radius: 999px;
}

.teacher-module-control-panel {
  border-color: rgba(104, 210, 255, 0.34);
}

.module-availability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.module-availability-summary,
.module-availability-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(136, 173, 255, 0.2);
  border-radius: 8px;
  background: rgba(8, 20, 38, 0.76);
}

.module-availability-summary {
  display: grid;
  align-content: space-between;
  gap: 10px;
}

.module-availability-summary strong {
  font-size: 20px;
}

.module-availability-summary p,
.module-availability-card p {
  margin-bottom: 0;
  color: #b8c7e4;
  font-size: 13px;
}

.module-availability-card {
  display: grid;
  gap: 12px;
}

.module-availability-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.module-availability-switch {
  flex: 0 0 auto;
  width: 72px;
  min-height: 34px;
  position: relative;
  border: 1px solid rgba(185, 198, 218, 0.24);
  border-radius: 999px;
  color: #cbd6ea;
  background: rgba(4, 12, 24, 0.82);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.module-availability-switch::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 6px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(185, 198, 218, 0.8);
  transition: transform 160ms ease, background 160ms ease;
}

.module-availability-switch span {
  position: relative;
  z-index: 1;
  display: block;
  padding-left: 24px;
  line-height: 1;
}

.module-availability-switch.is-on {
  color: #06101c;
  border-color: rgba(128, 237, 153, 0.72);
  background: #80ed99;
}

.module-availability-switch.is-on::before {
  transform: translateX(36px);
  background: #06101c;
}

.module-availability-switch.is-on span {
  padding-right: 24px;
  padding-left: 0;
}

.module-availability-card--active {
  border-color: rgba(128, 237, 153, 0.36);
  background: linear-gradient(145deg, rgba(12, 48, 40, 0.72), rgba(8, 20, 38, 0.82));
}

.module-availability-card--archived {
  border-color: rgba(255, 209, 102, 0.3);
  background: linear-gradient(145deg, rgba(54, 40, 12, 0.48), rgba(8, 20, 38, 0.82));
}

.module-availability-card--inactive {
  border-color: rgba(185, 198, 218, 0.18);
  background: linear-gradient(145deg, rgba(48, 55, 66, 0.44), rgba(8, 20, 38, 0.78));
}

.module-availability-card h3 {
  margin: 5px 0 6px;
  font-size: 20px;
}

.module-availability-card label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.module-availability-card select {
  width: 100%;
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(136, 173, 255, 0.24);
  color: var(--text);
  background: rgba(4, 12, 24, 0.82);
}

.teacher-focus-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 12px;
}

.diagnostic-beta-dropdown {
  border: 1px solid rgba(136, 173, 255, 0.18);
  border-radius: 10px;
  background: rgba(5, 13, 26, 0.38);
}

.diagnostic-beta-dropdown summary {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 0.44fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  cursor: pointer;
}

.diagnostic-beta-dropdown summary::marker {
  color: var(--accent);
}

.diagnostic-beta-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 209, 102, 0.32);
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.11);
  color: #ffe3a1;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.diagnostic-beta-dropdown strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.2;
}

.diagnostic-beta-dropdown small,
.diagnostic-beta-dropdown p {
  color: var(--muted);
  line-height: 1.4;
}

.diagnostic-beta-dropdown small {
  font-size: 12px;
}

.diagnostic-beta-dropdown-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 0 12px 12px;
}

.diagnostic-beta-dropdown-content p {
  margin: 0;
  font-size: 13px;
}

.diagnostic-beta-dropdown-content a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid rgba(104, 210, 255, 0.28);
  border-radius: 8px;
  background: rgba(104, 210, 255, 0.1);
  color: #dff5ff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.dashboard-focus-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(170px, 0.72fr);
  gap: 10px;
  align-items: stretch;
}

.dashboard-focus-chip,
.dashboard-focus-current {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(136, 173, 255, 0.22);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.dashboard-focus-chip {
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.dashboard-focus-chip strong,
.dashboard-focus-chip span,
.dashboard-focus-current span,
.dashboard-focus-current strong {
  display: block;
}

.dashboard-focus-chip strong,
.dashboard-focus-current strong {
  font-size: 15px;
}

.dashboard-focus-chip span,
.dashboard-focus-current span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.dashboard-focus-chip.is-active {
  border-color: rgba(128, 237, 153, 0.42);
  background: linear-gradient(145deg, rgba(128, 237, 153, 0.16), rgba(104, 210, 255, 0.08));
}

.dashboard-focus-current {
  display: grid;
  align-content: center;
}

.teacher-dropdown-two-column {
  margin-bottom: 0;
}

.teacher-inner-section {
  min-width: 0;
}

.teacher-dashboard-page .teacher-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  align-content: end;
  padding-right: min(330px, 28vw);
  background:
    linear-gradient(90deg, rgba(5, 13, 26, 0.98), rgba(7, 18, 34, 0.8) 54%, rgba(5, 13, 26, 0.34)),
    linear-gradient(180deg, rgba(5, 13, 26, 0.02), rgba(5, 13, 26, 0.9)),
    url("../Assets/landing-screenshots/ecc-future-campus-hero.png") center center / cover no-repeat;
}

.teacher-dashboard-page .teacher-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(104, 210, 255, 0.18) 1px, transparent 1px),
    linear-gradient(180deg, rgba(128, 237, 153, 0.1) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 42%, transparent);
  opacity: 0.26;
  pointer-events: none;
}

.teacher-dashboard-page .teacher-hero-card > * {
  position: relative;
  z-index: 1;
}

.teacher-dashboard-page .teacher-hero-school-name {
  position: absolute;
  z-index: 1;
  right: clamp(22px, 4vw, 54px);
  top: clamp(26px, 5vw, 58px);
  width: min(300px, 28vw);
  padding: 18px;
  border: 1px solid rgba(104, 210, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(9, 31, 53, 0.78), rgba(5, 13, 26, 0.56)),
    rgba(255, 255, 255, 0.04);
  color: #e8f0ff;
  font-size: clamp(18px, 2.1vw, 30px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  text-align: right;
  filter:
    drop-shadow(0 0 22px rgba(94, 215, 255, 0.2))
    drop-shadow(0 18px 34px rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.teacher-dashboard-page h1 {
  max-width: 780px;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.teacher-dashboard-page .subtitle,
.teacher-dashboard-page p {
  line-height: 1.5;
}

.teacher-dashboard-page .metric-card--art {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  padding-right: 96px;
}

.teacher-dashboard-page .metric-card--art .metric-value {
  max-width: 9ch;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 0.98;
  overflow-wrap: normal;
  word-break: normal;
}

.teacher-dashboard-page #teacher-captured-time {
  font-size: clamp(34px, 3vw, 48px);
}

.teacher-dashboard-page .metric-card--art::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -16px;
  width: 118px;
  height: 118px;
  background: var(--metric-art) center / contain no-repeat;
  opacity: 0.54;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.teacher-dashboard-page .metric-card--art::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  opacity: 0.72;
}

.two-column {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 20px;
  margin-bottom: 20px;
}

.module-grid,
.skill-grid,
.teacher-grid,
.community-board {
  display: grid;
  gap: 16px;
}

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

.teacher-dashboard-page #teacher-module-health {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.capability-portfolio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.capability-breakdown-panel {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.capability-board-panel {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  gap: 12px;
}

.capability-board-scroll {
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 8px;
}

.capability-board-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(280px, 1fr));
  gap: 12px;
  min-width: 1740px;
}

.capability-board-column {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  min-height: 480px;
  padding: 14px;
  border: 1px solid rgba(136, 173, 255, 0.2);
  border-radius: 8px;
  background: rgba(8, 20, 38, 0.72);
}

.capability-board-column.is-empty {
  opacity: 0.78;
}

.capability-board-column-header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.capability-board-column-header img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.capability-board-column-header strong {
  display: block;
  color: #f3f8ff;
  font-size: 16px;
  line-height: 1.2;
}

.capability-board-column-header span,
.capability-board-entry > span,
.capability-board-entry small,
.capability-board-empty {
  color: #b8c7e4;
  font-size: 12px;
  line-height: 1.4;
}

.capability-board-entry-list {
  display: grid;
  align-content: start;
  gap: 10px;
  max-height: 540px;
  overflow-y: auto;
  padding-right: 4px;
}

.capability-board-entry {
  display: grid;
  gap: 7px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(104, 210, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

.capability-board-entry-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}

.capability-board-entry-top strong {
  min-width: 0;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.25;
}

.capability-board-entry-top time {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.capability-board-entry p,
.capability-board-empty {
  margin: 0;
}

.capability-board-entry p {
  color: #eef5ff;
  font-size: 13px;
  line-height: 1.42;
}

.capability-matrix-panel {
  min-width: 0;
}

.capability-matrix-scroll,
.learning-profile-matrix-scroll {
  max-height: 760px;
}

.capability-evidence-matrix {
  width: max(100%, 2100px);
}

.learning-profile-matrix {
  width: max(100%, 1540px);
}

.capability-evidence-matrix th:not(.teacher-matrix-student-col),
.capability-evidence-matrix td:not(.teacher-matrix-student-col) {
  width: 315px;
}

.learning-profile-matrix th:not(.teacher-matrix-student-col),
.learning-profile-matrix td:not(.teacher-matrix-student-col) {
  width: 350px;
}

.capability-matrix-logo {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
  object-fit: contain;
}

.portfolio-evidence-cell,
.learning-profile-cell {
  min-height: 318px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(136, 173, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.portfolio-evidence-cell--empty,
.learning-profile-cell--empty {
  color: var(--muted);
  background: rgba(159, 178, 211, 0.055);
}

.portfolio-evidence-cell--empty strong,
.portfolio-evidence-cell--empty span,
.learning-empty-note {
  color: var(--muted);
}

.portfolio-evidence-cell-summary {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.portfolio-evidence-cell-summary strong,
.learning-profile-cell-grid strong {
  color: var(--text);
  line-height: 1.1;
}

.portfolio-evidence-cell-summary span,
.learning-profile-cell-grid span,
.learning-profile-cell-grid small,
.learning-profile-responses > span,
.learning-response-entry small,
.learning-response-prompt,
.portfolio-evidence-tags {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.portfolio-evidence-entry-list,
.learning-profile-responses {
  max-height: 245px;
  overflow: auto;
  display: grid;
  gap: 10px;
  padding-right: 4px;
}

.portfolio-evidence-entry,
.learning-response-entry {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(136, 173, 255, 0.14);
  border-radius: 8px;
  background: rgba(5, 13, 26, 0.52);
}

.portfolio-evidence-entry p,
.learning-response-entry p {
  margin: 0;
  color: #dce8ff;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.portfolio-evidence-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.portfolio-evidence-tags span {
  padding: 4px 7px;
  border: 1px solid rgba(136, 173, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.learning-profile-cell-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.learning-profile-cell-grid > div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 9px;
  border: 1px solid rgba(136, 173, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.learning-profile-cell-grid span,
.learning-profile-responses > span {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.teacher-matrix-student-col .teacher-matrix-code {
  margin-top: 10px;
}

.capability-card-list,
.portfolio-card-list {
  display: grid;
  gap: 10px;
}

.capability-evidence-card,
.student-portfolio-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(136, 173, 255, 0.2);
  border-radius: 8px;
  background: rgba(8, 20, 38, 0.72);
}

.capability-evidence-card.is-empty {
  opacity: 0.72;
}

.capability-evidence-header,
.student-portfolio-header {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
}

.capability-evidence-header {
  justify-content: flex-start;
}

.capability-evidence-header img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

.capability-evidence-card h4,
.student-portfolio-card h4 {
  margin: 0 0 4px;
  font-size: 17px;
}

.capability-evidence-card p,
.student-portfolio-card p,
.capability-evidence-card small,
.student-portfolio-card small {
  color: #b8c7e4;
  line-height: 1.42;
}

.capability-evidence-card small,
.student-portfolio-card small {
  display: block;
  font-size: 12px;
}

.capability-evidence-meter {
  height: 7px;
  margin: 12px 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.capability-evidence-meter::before {
  content: "";
  display: block;
  width: max(6%, var(--capability-width));
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.capability-progression {
  margin-bottom: 10px;
  color: #f0f6ff;
  font-weight: 800;
}

.capability-evidence-card blockquote {
  margin: 12px 0 8px;
  padding-left: 12px;
  border-left: 3px solid rgba(104, 210, 255, 0.58);
  color: #edf5ff;
  font-size: 14px;
  line-height: 1.45;
}

.student-portfolio-header strong {
  flex: 0 0 auto;
  max-width: 150px;
  padding: 5px 8px;
  border-radius: 8px;
  color: #06101c;
  background: var(--accent-3);
  font-size: 12px;
  text-align: center;
}

.portfolio-latest-entry {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.portfolio-latest-entry span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.community-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-card,
.skill-card,
.community-card {
  padding: 18px;
}

.module-card h3,
.skill-card h3,
.community-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.teacher-dashboard-page .teacher-module-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: grid;
  align-content: end;
  padding-top: 76px;
  background:
    linear-gradient(180deg, rgba(7, 16, 31, 0.1), rgba(7, 16, 31, 0.92)),
    linear-gradient(90deg, rgba(7, 16, 31, 0.92), rgba(7, 16, 31, 0.42) 62%, rgba(7, 16, 31, 0.86)),
    var(--module-image) center center / cover no-repeat;
}

.teacher-dashboard-page .teacher-module-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(104, 210, 255, 0.18), transparent 46%),
    linear-gradient(180deg, transparent 60%, rgba(128, 237, 153, 0.12));
  pointer-events: none;
}

.teacher-dashboard-page .teacher-module-card > * {
  position: relative;
  z-index: 1;
}

.teacher-module-logo {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  width: 56px;
  height: 56px;
  object-fit: contain;
  padding: 8px;
  border: 1px solid rgba(206, 224, 255, 0.22);
  border-radius: 14px;
  background: rgba(5, 13, 26, 0.72);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.teacher-profile-panel {
  margin-bottom: 20px;
}

.student-profile-grid {
  display: grid;
  gap: 14px;
}

.student-learning-card {
  display: grid;
  gap: 14px;
}

.student-learning-detail-list {
  margin-top: 4px;
}

.teacher-chart-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.teacher-chart-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(12, 30, 48, 0.78), rgba(5, 13, 26, 0.76)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.teacher-chart-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.teacher-chart-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.teacher-chart-card-wide {
  grid-column: span 2;
  grid-template-columns: 1fr;
}

.teacher-donut {
  width: 104px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--donut-bg);
  box-shadow: inset 0 0 0 1px rgba(232, 240, 255, 0.18), 0 14px 28px rgba(0, 0, 0, 0.25);
}

.teacher-donut::before {
  content: "";
  grid-area: 1 / 1;
  width: 64px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(5, 13, 26, 0.92);
}

.teacher-donut span {
  grid-area: 1 / 1;
  z-index: 1;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
}

.teacher-chart-bars {
  display: grid;
  gap: 10px;
}

.teacher-chart-row {
  display: grid;
  grid-template-columns: minmax(104px, 0.9fr) minmax(120px, 2fr) minmax(48px, auto);
  gap: 10px;
  align-items: center;
}

.teacher-chart-row span,
.teacher-chart-row strong,
.teacher-chart-empty {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.teacher-chart-row strong {
  color: var(--text);
  text-align: right;
}

.teacher-chart-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.teacher-chart-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #7a9cff);
}

.teacher-chart-fill.green {
  background: linear-gradient(90deg, #80ed99, #57cc99);
}

.teacher-chart-fill.gold {
  background: linear-gradient(90deg, #ffd166, #ffb703);
}

.teacher-chart-empty {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.community-card {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.community-visual-card {
  min-height: 260px;
  grid-column: 1 / -1;
  display: grid;
  align-content: end;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(4, 12, 26, 0.04), rgba(4, 12, 26, 0.86)),
    linear-gradient(90deg, rgba(4, 12, 26, 0.86), rgba(4, 12, 26, 0.16) 58%, rgba(4, 12, 26, 0.52)),
    var(--community-visual) center center / cover no-repeat;
}

.community-visual-card h3 {
  max-width: 16ch;
  font-size: clamp(28px, 4vw, 44px);
}

.community-visual-card p {
  max-width: 42ch;
  color: #d7e6ff;
}

.community-stat {
  font-size: 28px;
  font-weight: 800;
  margin: 8px 0;
}

.vote-stack {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.vote-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(0, 2fr) auto;
  gap: 10px;
  align-items: center;
}

.vote-label {
  font-size: 13px;
  color: var(--text);
  font-weight: 700;
}

.mini-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.mini-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #7a9cff);
}

.mini-fill.green {
  background: linear-gradient(90deg, #80ed99, #57cc99);
}

.mini-fill.gold {
  background: linear-gradient(90deg, #ffd166, #ffb703);
}

.mini-fill.red {
  background: linear-gradient(90deg, #ff7b72, #ff9770);
}

.module-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.module-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
  font-weight: 700;
}

button.module-link {
  font: inherit;
  cursor: pointer;
}

.student-dashboard-page .panel {
  border-radius: 14px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.24);
}

.student-hub-main {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.module-map-panel {
  min-height: 0;
}

.student-dashboard-page .module-map-panel .module-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.student-dashboard-page .shop-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.student-dashboard-page .module-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 8px;
  background: rgba(10, 24, 44, 0.78);
  box-shadow: none;
}

.student-dashboard-page .module-card--start-here {
  grid-column: 1 / -1;
}

.student-dashboard-page .module-card--start-here:not(.module-card--unavailable) {
  border-color: rgba(254, 243, 199, 0.64);
  box-shadow: 0 22px 54px rgba(20, 184, 166, 0.22);
}

.student-dashboard-page .module-card--start-here:not(.module-card--unavailable) .module-visual-badge {
  border-color: rgba(254, 243, 199, 0.64);
  background: rgba(6, 17, 31, 0.86);
}

.student-dashboard-page .module-card--start-here:not(.module-card--unavailable) .kicker {
  color: #fef3c7;
}

.student-dashboard-page .module-card-body {
  position: relative;
  z-index: 1;
  padding: 16px;
}

.student-dashboard-page .module-card--image-bg {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(4, 12, 26, 0.04), rgba(4, 12, 26, 0.94)),
    linear-gradient(90deg, rgba(4, 12, 26, 0.74), rgba(4, 12, 26, 0.08) 58%, rgba(4, 12, 26, 0.5)),
    var(--module-image) center center / cover no-repeat;
}

.student-dashboard-page .module-card--image-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 12, 26, 0.04), rgba(4, 12, 26, 0.22) 38%, rgba(4, 12, 26, 0.96)),
    radial-gradient(circle at 18% 18%, rgba(104, 210, 255, 0.2), transparent 32%);
  z-index: 0;
  pointer-events: none;
}

.student-dashboard-page .module-visual-badge {
  position: absolute;
  z-index: 1;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(206, 224, 255, 0.22);
  background: rgba(7, 16, 31, 0.76);
  color: #f2f7ff;
  font-weight: 800;
}

.student-dashboard-page .module-card--image-bg .module-card-body {
  padding: 96px 18px 18px;
  background: linear-gradient(180deg, transparent, rgba(4, 12, 26, 0.42) 18%, rgba(4, 12, 26, 0.72));
}

.student-dashboard-page .module-card:not(.module-card--image-bg):not(.module-card--portfolio) .module-visual-badge {
  position: static;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 16px 16px 0;
}

.student-dashboard-page .module-card:not(.module-card--image-bg):not(.module-card--portfolio) .module-card-body {
  padding-top: 14px;
}

.student-dashboard-page .module-card:not(.module-card--image-bg):not(.module-card--portfolio) .module-card-body h3 {
  margin-top: 0;
}

.student-dashboard-page .module-card--portfolio {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 22% 12%, rgba(122, 255, 170, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(10, 29, 51, 0.96), rgba(6, 16, 31, 0.96));
}

.student-dashboard-page .module-card--portfolio .module-visual-badge {
  position: static;
  flex-wrap: wrap;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 16px 16px 0;
}

.student-dashboard-page .module-card--portfolio .module-visual-badge span {
  min-width: 0;
  line-height: 1.12;
}

.student-dashboard-page .module-card--portfolio .module-card-body {
  padding: 14px 16px 16px;
}

.student-dashboard-page .module-card--portfolio h3 {
  font-size: 22px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.student-dashboard-page .module-visual-badge .module-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  padding: 5px;
}

.student-dashboard-page .module-visual-badge .module-avatar-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(255, 209, 63, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.student-dashboard-page .module-visual-badge .module-avatar-logo svg,
.student-dashboard-page .module-visual-badge .module-avatar-logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.student-dashboard-page .module-visual-badge .module-avatar-logo img {
  object-fit: contain;
  object-position: center bottom;
  transform: scale(1.34) translateY(4px);
}

.student-dashboard-page .module-header {
  margin-bottom: 8px;
}

.student-dashboard-page .module-card h3 {
  font-size: 22px;
}

.student-dashboard-page .module-card p {
  color: #c7d7f5;
  line-height: 1.48;
}

.student-dashboard-page .module-card .module-link {
  border-radius: 8px;
}

.student-dashboard-page .module-card--unavailable {
  filter: grayscale(0.92);
}

.student-dashboard-page .module-card--unavailable::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(7, 17, 31, 0.42);
  pointer-events: none;
}

.student-dashboard-page .module-card--unavailable .module-card-body,
.student-dashboard-page .module-card--unavailable .module-visual-badge {
  opacity: 0.74;
}

.module-link-disabled,
.student-dashboard-page .module-link-disabled {
  cursor: not-allowed;
  border-color: rgba(185, 198, 218, 0.28);
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.16);
  pointer-events: none;
}

.student-dashboard-page .timeline-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.student-dashboard-page .timeline-panel .section-title {
  flex-shrink: 0;
}

.student-dashboard-page #student-timeline {
  flex: 1 1 auto;
  max-height: 460px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-color: rgba(104, 210, 255, 0.54) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.student-dashboard-page #student-timeline::-webkit-scrollbar {
  width: 8px;
}

.student-dashboard-page #student-timeline::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.student-dashboard-page #student-timeline::-webkit-scrollbar-thumb {
  background: rgba(104, 210, 255, 0.54);
  border-radius: 999px;
}

.student-dashboard-page .timeline-item {
  border-radius: 8px;
  box-shadow: none;
}

.student-dashboard-page .timeline-empty-state {
  height: 100%;
  min-height: 100%;
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 12px;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid rgba(136, 173, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(6, 14, 28, 0.08), rgba(6, 14, 28, 0.88)),
    linear-gradient(90deg, rgba(6, 14, 28, 0.86), rgba(6, 14, 28, 0.32)),
    var(--empty-state-image) center center / cover no-repeat,
    linear-gradient(135deg, rgba(11, 27, 49, 0.86), rgba(10, 46, 50, 0.62));
}

.student-dashboard-page .timeline-empty-state strong {
  display: block;
  font-size: 24px;
  margin-bottom: 6px;
}

.student-dashboard-page .timeline-empty-state p {
  max-width: 36ch;
}

.student-dashboard-page .community-board {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.student-dashboard-page .skill-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.student-dashboard-page .skill-card,
.student-dashboard-page .community-card {
  border-radius: 8px;
  box-shadow: none;
}

.module-link.button-danger {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(248, 113, 113, 0.28);
  color: #fecaca;
}

.store-request-card {
  display: grid;
  gap: 14px;
}

.store-request-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-request-image {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.store-request-form {
  display: grid;
  gap: 12px;
}

.store-request-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}

.store-request-form input,
.store-request-form select,
.store-request-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  box-sizing: border-box;
}

.store-request-form textarea {
  min-height: 88px;
  resize: vertical;
}

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

.store-request-status {
  font-size: 12px;
  color: var(--muted);
}

.store-request-status strong {
  color: var(--text);
}

.response-review-list {
  display: grid;
  gap: 16px;
}

.teacher-review-filter {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.teacher-review-filter-button {
  min-width: 104px;
  min-height: 38px;
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.teacher-review-filter-button span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.teacher-review-filter-button span:last-child {
  min-width: 2ch;
  color: var(--text);
  text-align: right;
}

.teacher-review-filter-button.is-active {
  border-color: rgba(104, 210, 255, 0.48);
  background: rgba(104, 210, 255, 0.14);
  color: var(--text);
}

.teacher-review-filter + .timeline-item {
  grid-column: 1 / -1;
}

.response-review-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.response-review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.response-review-header h3 {
  margin: 4px 0 6px;
  font-size: 20px;
}

.response-review-header p,
.response-review-prompt p,
.response-review-source p {
  margin: 0;
  color: var(--muted);
}

.response-review-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.response-review-prompt,
.response-review-source {
  display: grid;
  gap: 6px;
}

.response-review-source {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
}

.response-review-form {
  display: grid;
  gap: 10px;
}

.response-review-form textarea {
  min-height: 120px;
  resize: vertical;
}

.response-review-tags {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(104, 210, 255, 0.24);
  border-radius: 8px;
  background: rgba(104, 210, 255, 0.08);
}

.response-review-tags strong {
  color: var(--text);
}

.response-review-tags p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.response-review-tag-chip {
  position: relative;
  display: inline-flex;
  margin: 0;
}

.response-review-tag-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.response-review-tag-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid rgba(104, 210, 255, 0.34);
  border-radius: 8px;
  color: var(--text);
  background: rgba(2, 8, 18, 0.34);
  cursor: pointer;
}

.response-review-tag-chip input:checked + span {
  border-color: rgba(122, 255, 170, 0.72);
  background: rgba(122, 255, 170, 0.18);
  color: #ecfff3;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}

select,
input[type="text"],
input[type="number"],
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  box-sizing: border-box;
}

.module-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.module-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.skill-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.skill-card-modern {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 360px;
  padding: 22px;
  border-color: var(--skill-accent-strong);
  background:
    linear-gradient(145deg, var(--skill-accent-soft), rgba(11, 22, 38, 0.92) 42%),
    var(--panel);
}

.skill-card-modern::before {
  content: "";
  position: absolute;
  inset: -28% -8% auto 42%;
  height: 230px;
  background: radial-gradient(circle, var(--skill-accent-strong), transparent 68%);
  opacity: 0.72;
  pointer-events: none;
}

.skill-card-modern > * {
  position: relative;
}

.skill-card-top {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.skill-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 240px;
  isolation: isolate;
}

.skill-visual::before {
  content: "";
  position: absolute;
  width: min(100%, 238px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(var(--skill-accent) var(--skill-progress-angle), rgba(255, 255, 255, 0.1) 0),
    radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 64%);
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.34));
  opacity: 0.86;
  transform: rotate(-12deg);
  z-index: -2;
}

.skill-visual::after {
  content: "";
  position: absolute;
  width: min(84%, 200px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--skill-accent-soft), transparent 72%);
  z-index: -1;
}

.skill-hero-logo {
  width: min(90%, 210px);
  height: min(90%, 210px);
  object-fit: contain;
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.38));
  animation: skillLogoFloat 5.6s ease-in-out infinite;
}

.skill-mini-logo-cloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.skill-mini-logo {
  position: absolute;
  display: grid;
  place-items: center;
  width: 64px;
  aspect-ratio: 1;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  animation: skillMiniDrift 4.8s ease-in-out infinite;
  animation-delay: var(--mini-delay);
}

.skill-mini-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.34));
}

.skill-mini-logo-1 {
  left: 5%;
  top: 12%;
}

.skill-mini-logo-2 {
  right: 2%;
  top: 18%;
}

.skill-mini-logo-3 {
  left: 9%;
  bottom: 8%;
}

.skill-mini-logo-4 {
  right: 6%;
  bottom: 10%;
}

.skill-score-block .kicker {
  color: var(--skill-accent);
  font-size: 14px;
  margin-bottom: 12px;
}

.skill-score {
  display: block;
  font-size: 68px;
  line-height: 0.86;
  font-weight: 900;
  letter-spacing: 0;
}

.skill-score-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.skill-description {
  color: var(--text);
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: 0;
}

.skill-star-example {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid var(--skill-accent-strong);
  background:
    linear-gradient(135deg, var(--skill-accent-soft), rgba(5, 13, 26, 0.48)),
    rgba(255, 255, 255, 0.035);
}

.skill-star-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.skill-star-title {
  color: var(--skill-accent);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-star-header p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.skill-star-header > span {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  color: #06101c;
  background: var(--skill-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.skill-star-scroll {
  display: grid;
  gap: 14px;
  max-height: 396px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.skill-star-scroll::-webkit-scrollbar {
  width: 8px;
}

.skill-star-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.skill-star-scroll::-webkit-scrollbar-thumb {
  background: var(--skill-accent-strong);
  border-radius: 999px;
}

.skill-star-entry {
  display: grid;
  gap: 14px;
}

.skill-star-entry-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-star-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.skill-star-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.skill-star-marker {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.skill-star-marker strong {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #06101c;
  background: var(--skill-accent);
  font-size: 15px;
  font-weight: 900;
}

.skill-star-marker small {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.skill-star-row p,
.skill-star-reward {
  margin-bottom: 0;
  color: #dbe8ff;
  font-size: 15px;
  line-height: 1.46;
}

.skill-star-summary {
  display: block;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.3;
}

.skill-star-entry-banked {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--skill-accent-strong);
  background: rgba(4, 11, 23, 0.34);
}

.skill-star-entry-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--skill-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.skill-star-entry-meta time {
  color: var(--muted);
  font: inherit;
}

.skill-star-reward {
  justify-self: start;
  padding: 8px 10px;
  border-radius: 999px;
  color: #06101c;
  background: var(--skill-accent, #68d2ff);
  border: 1px solid var(--skill-accent-strong, rgba(104, 210, 255, 0.34));
  font-size: 12px;
  font-weight: 900;
}

.skill-star-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-star-tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid var(--skill-accent-strong, rgba(104, 210, 255, 0.34));
  color: #dbe8ff;
  background: rgba(255, 255, 255, 0.055);
  font-size: 11px;
  font-weight: 900;
}

.skill-star-actions {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.skill-star-actions > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-star-action-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.skill-star-action {
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text);
  background: var(--skill-accent-soft);
  border: 1px solid var(--skill-accent-strong);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.skill-star-action:hover {
  transform: translateY(-1px);
  border-color: var(--skill-accent);
}

.skill-card-has-star {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  grid-template-areas:
    "top star"
    "description star"
    "progress star"
    "subskills star"
    "actions star";
  align-items: start;
}

.skill-card-has-star .skill-card-top {
  grid-area: top;
}

.skill-card-has-star .skill-description {
  grid-area: description;
}

.skill-card-has-star .skill-star-actions {
  grid-area: actions;
}

.skill-card-has-star .skill-star-example {
  grid-area: star;
  align-self: stretch;
  min-height: 100%;
  overflow: hidden;
}

.skill-card-has-star .progress-track {
  grid-area: progress;
}

.skill-card-has-star .skill-subskill-grid {
  grid-area: subskills;
}

.skill-card-modern .progress-track {
  height: 12px;
  margin: 0;
  background: rgba(255, 255, 255, 0.1);
}

.skill-card-modern .progress-fill {
  background: linear-gradient(90deg, var(--skill-accent), rgba(232, 240, 255, 0.88));
  box-shadow: 0 0 18px var(--skill-accent-strong);
}

.skill-subskill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.skill-subskill-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: #dbe8ff;
  background: rgba(5, 13, 26, 0.38);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.skill-subskill-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: transparent;
}

.skill-subskill-card span { overflow-wrap: anywhere; }

.skill-star-builder-modal[hidden] {
  display: none;
}

.skill-star-builder-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 8, 18, 0.76);
  backdrop-filter: blur(14px);
}

.skill-star-builder-dialog {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid rgba(104, 210, 255, 0.36);
  background:
    linear-gradient(135deg, rgba(104, 210, 255, 0.14), rgba(9, 20, 39, 0.94)),
    var(--card);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

.skill-star-builder-close {
  justify-self: end;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.skill-star-builder-topline,
.skill-star-builder-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-star-builder-topline span,
.skill-star-builder-progress span {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.skill-star-builder-progress span.is-active {
  color: #06101c;
  background: #68d2ff;
  border-color: #68d2ff;
}

.skill-star-builder-progress span.is-complete {
  color: #7cffac;
  border-color: rgba(124, 255, 172, 0.36);
}

.skill-star-builder-dialog h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 0.98;
  letter-spacing: 0;
}

.skill-star-builder-lead {
  margin-bottom: 0;
  color: #dbe8ff;
  font-size: 18px;
  line-height: 1.45;
}

.skill-star-builder-date-field {
  display: grid;
  gap: 8px;
}

.skill-star-builder-date-field span {
  color: #68d2ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-star-builder-date-field input {
  width: min(260px, 100%);
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(104, 210, 255, 0.34);
  color: var(--text);
  background: rgba(2, 8, 18, 0.58);
  padding: 10px 12px;
  font: inherit;
}

.skill-star-builder-privacy-note,
.skill-star-review-status {
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.34);
  background: rgba(251, 191, 36, 0.1);
  color: #fde68a;
}

.skill-star-builder-privacy-note {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  line-height: 1.4;
}

.skill-star-builder-tags {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(104, 210, 255, 0.24);
  background: rgba(104, 210, 255, 0.07);
}

.skill-star-builder-tag-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.skill-star-builder-tag-header strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.skill-star-builder-tag-header span,
.skill-star-builder-tags p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.skill-star-builder-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-star-builder-chip {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dbe8ff;
  background: rgba(255, 255, 255, 0.055);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.skill-star-builder-chip.is-selected {
  color: #06101c;
  border-color: #68d2ff;
  background: #68d2ff;
}

.skill-star-builder-chip--subskill.is-selected {
  background: #80ed99;
  border-color: #80ed99;
}

.skill-star-builder-subskills {
  display: grid;
  gap: 10px;
}

.skill-star-builder-subskill-group {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-star-builder-subskill-group strong {
  color: #dbe8ff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-star-builder-privacy-note strong {
  color: #fef3c7;
}

.skill-star-builder-privacy-note span {
  color: #f8e7b2;
}

.skill-star-review-status {
  margin: 0;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
}

.skill-star-review-status--approved {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.32);
}

.skill-star-review-status--rejected {
  display: grid;
  gap: 6px;
  color: #fecaca;
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.34);
}

.skill-star-review-status--rejected strong,
.skill-star-review-status--rejected span {
  display: block;
}

.skill-star-resubmit {
  justify-self: start;
  border: 1px solid rgba(248, 113, 113, 0.38);
  border-radius: 8px;
  padding: 7px 10px;
  background: rgba(248, 113, 113, 0.15);
  color: #ffe1e1;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.student-review-notices-panel[hidden] {
  display: none;
}

.student-review-notices {
  display: grid;
  gap: 10px;
}

.student-review-notice {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 8px;
  padding: 12px;
  background: rgba(251, 191, 36, 0.08);
}

.student-review-notice--approved {
  border-color: rgba(74, 222, 128, 0.32);
  background: rgba(74, 222, 128, 0.08);
}

.student-review-notice--rejected {
  border-color: rgba(248, 113, 113, 0.32);
  background: rgba(248, 113, 113, 0.08);
}

.student-review-notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.student-review-notice p,
.student-review-notice small {
  margin: 0;
  color: var(--muted);
}

.student-review-notice blockquote {
  margin: 0;
  border-left: 3px solid rgba(104, 210, 255, 0.58);
  padding: 8px 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 0 8px 8px 0;
  line-height: 1.5;
}

.skill-star-builder-field {
  display: grid;
  gap: 8px;
}

.skill-star-builder-field span {
  color: #68d2ff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-star-builder-field small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.skill-star-builder-field textarea {
  width: 100%;
  resize: vertical;
  min-height: 150px;
  border-radius: 8px;
  border: 1px solid rgba(104, 210, 255, 0.34);
  color: var(--text);
  background: rgba(2, 8, 18, 0.58);
  padding: 14px;
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
}

.skill-star-builder-examples {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-star-summary-preview {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(104, 210, 255, 0.1);
  border: 1px solid rgba(104, 210, 255, 0.28);
}

.skill-star-summary-preview span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-star-summary-preview strong {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.35;
}

.skill-star-builder-examples span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-star-builder-examples p {
  margin-bottom: 0;
  color: #dbe8ff;
  font-size: 14px;
  line-height: 1.4;
}

.skill-star-builder-error,
.skill-star-builder-status {
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 800;
}

.skill-star-builder-error {
  color: #ffd6d6;
  background: rgba(255, 90, 90, 0.12);
  border: 1px solid rgba(255, 120, 120, 0.32);
}

.skill-star-builder-status {
  color: #c7f9e5;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.skill-star-builder-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.skill-star-builder-actions button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.student-portfolio-modal[hidden] {
  display: none;
}

.student-portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 8, 18, 0.78);
  backdrop-filter: blur(14px);
}

.student-portfolio-dialog {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(1060px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid rgba(104, 210, 255, 0.36);
  background:
    linear-gradient(135deg, rgba(104, 210, 255, 0.14), rgba(9, 20, 39, 0.96)),
    var(--card);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

.student-portfolio-close {
  justify-self: end;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.student-portfolio-heading {
  display: grid;
  gap: 8px;
}

.student-portfolio-heading span,
.student-portfolio-tabs button,
.student-portfolio-entry-header span {
  color: #68d2ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.student-portfolio-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.98;
}

.student-portfolio-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.student-portfolio-stats,
.student-portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.student-portfolio-stats span,
.student-portfolio-tabs button {
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.student-portfolio-stats strong {
  color: #ffffff;
}

.student-portfolio-tabs button {
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.student-portfolio-tabs button.is-active {
  color: #06101c;
  border-color: #68d2ff;
  background: #68d2ff;
}

.student-portfolio-list,
.student-portfolio-skill-group {
  display: grid;
  gap: 14px;
}

.student-portfolio-entry,
.student-portfolio-empty,
.student-portfolio-skill-group {
  border: 1px solid rgba(104, 210, 255, 0.22);
  border-radius: 8px;
  background: rgba(4, 11, 23, 0.42);
}

.student-portfolio-entry {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.student-portfolio-entry-header,
.student-portfolio-skill-header,
.student-portfolio-entry-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.student-portfolio-entry-header strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.3;
}

.student-portfolio-entry-header time,
.student-portfolio-skill-header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.student-portfolio-empty {
  padding: 20px;
}

.student-portfolio-empty p,
.student-portfolio-skill-empty {
  margin: 0;
  color: var(--muted);
}

.student-portfolio-skill-group {
  padding: 16px;
  border-color: color-mix(in srgb, var(--skill-accent) 38%, rgba(255, 255, 255, 0.12));
}

.student-portfolio-skill-header strong {
  color: var(--skill-accent);
  font-size: 18px;
}

@keyframes skillLogoFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-6px) scale(1.02);
  }
}

@keyframes skillMiniDrift {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-7px) rotate(3deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .skill-hero-logo,
  .skill-mini-logo,
  .start-here-link::before {
    animation: none;
  }
}

.kicker {
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.progress-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin: 12px 0 10px;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #7a9cff);
}

.progress-fill.green {
  background: linear-gradient(90deg, #80ed99, #57cc99);
}

.progress-fill.gold {
  background: linear-gradient(90deg, #ffd166, #ffb703);
}

.list {
  display: grid;
  gap: 12px;
}

.teacher-matrix-wrap {
  min-width: 0;
}

.teacher-matrix-scroll {
  width: 100%;
  max-height: 680px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(12, 30, 48, 0.62), rgba(5, 13, 26, 0.82)),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.teacher-matrix {
  width: max(100%, 1120px);
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.teacher-response-matrix {
  width: max(100%, 1240px);
}

.teacher-matrix th,
.teacher-matrix td {
  padding: 14px;
  vertical-align: top;
  border-right: 1px solid rgba(136, 173, 255, 0.14);
  border-bottom: 1px solid rgba(136, 173, 255, 0.14);
}

.teacher-matrix th:last-child,
.teacher-matrix td:last-child {
  border-right: 0;
}

.teacher-matrix thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(10, 23, 43, 0.98);
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.teacher-matrix thead th span,
.teacher-matrix thead th small,
.teacher-matrix-student-col strong,
.teacher-matrix-student-col small {
  display: block;
}

.teacher-matrix thead th small,
.teacher-matrix-student-col small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.teacher-matrix tbody th,
.teacher-matrix tbody td {
  background: rgba(8, 18, 34, 0.62);
}

.teacher-matrix tbody tr:nth-child(even) th,
.teacher-matrix tbody tr:nth-child(even) td {
  background: rgba(11, 26, 47, 0.62);
}

.teacher-matrix-student-col {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 190px;
  min-width: 190px;
  color: var(--text);
  text-align: left;
}

.teacher-matrix thead .teacher-matrix-student-col {
  z-index: 4;
}

.teacher-matrix-result {
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(136, 173, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.teacher-matrix-result strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.05;
}

.teacher-matrix-result span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.teacher-matrix-result--high {
  border-color: rgba(128, 237, 153, 0.38);
  background: rgba(128, 237, 153, 0.1);
}

.teacher-matrix-result--mid {
  border-color: rgba(255, 209, 102, 0.36);
  background: rgba(255, 209, 102, 0.1);
}

.teacher-matrix-result--low {
  border-color: rgba(255, 122, 122, 0.34);
  background: rgba(255, 122, 122, 0.1);
}

.teacher-matrix-result--nys {
  border-color: rgba(159, 178, 211, 0.22);
  background: rgba(159, 178, 211, 0.07);
}

.teacher-matrix-code {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(136, 173, 255, 0.2);
  border-radius: 999px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
}

.teacher-matrix-code--nys {
  color: #cedcff;
  background: rgba(159, 178, 211, 0.1);
}

.teacher-matrix-code--mid {
  color: #ffe7a3;
  background: rgba(255, 209, 102, 0.12);
}

.teacher-matrix-code--high {
  color: #c8ffd5;
  background: rgba(128, 237, 153, 0.12);
}

.teacher-response-cell {
  min-height: 228px;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(136, 173, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.teacher-response-cell--empty {
  min-height: 150px;
  color: var(--muted);
}

.teacher-response-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.teacher-response-prompt,
.teacher-response-feedback {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.teacher-response-cell .answer-response {
  min-height: 96px;
  max-height: 150px;
  border-radius: 8px;
  font-size: 13px;
}

.teacher-answer-grid {
  display: grid;
  gap: 14px;
}

.answer-compare-card {
  display: grid;
  gap: 12px;
}

.answer-compare-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.answer-response {
  max-height: 220px;
  overflow: auto;
  white-space: pre-wrap;
  padding: 14px;
  border: 1px solid rgba(136, 173, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  color: #dbe8ff;
  font-size: 14px;
  line-height: 1.55;
}

.timeline-item {
  padding: 16px 18px;
}

.teacher-dashboard-page .teacher-signal-item {
  position: relative;
  overflow: hidden;
  border-left: 3px solid rgba(104, 210, 255, 0.62);
}

.teacher-dashboard-page .teacher-signal-item::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 108px;
  height: 108px;
  background: url("../Assets/Images and Animations/Celebration Reward Icons/Signal restored.png") center / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

.teacher-glossary-summary {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding-right: 118px;
  background:
    linear-gradient(90deg, rgba(7, 16, 31, 0.9), rgba(8, 24, 43, 0.72)),
    url("../Assets/Images and Animations/Glossary Check/glossary-recall-forge.svg") right bottom / 150px auto no-repeat,
    var(--panel);
}

.answer-compare-card {
  position: relative;
  overflow: hidden;
  border-left: 3px solid rgba(255, 209, 102, 0.68);
}

.answer-compare-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -26px;
  width: 130px;
  height: 130px;
  background: url("../Assets/Images and Animations/Feedback Images/Feedback Burst.png") center / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.student-dashboard-page .timeline-item.with-icon {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.timeline-item.timeline-income {
  border-left: 3px solid rgba(74, 222, 128, 0.75);
}

.timeline-item.timeline-spend {
  border-left: 3px solid rgba(248, 113, 113, 0.75);
}

.timeline-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8cc8ff;
  margin-bottom: 8px;
  font-weight: 700;
}

.timeline-item strong {
  display: block;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.timeline-reward-icon {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(206, 224, 255, 0.2);
  background: rgba(4, 12, 26, 0.74);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.timeline-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pill {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.spotlight {
  background: linear-gradient(145deg, rgba(104, 210, 255, 0.15), rgba(255, 255, 255, 0.03));
}

.status-good {
  color: var(--accent-2);
}

.status-watch {
  color: var(--accent-3);
}

.status-risk {
  color: var(--accent-4);
}

.footer-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 16px;
}

@media (max-width: 1000px) {
  .hero,
  .two-column {
    grid-template-columns: 1fr;
  }

  .teacher-control-deck,
  .teacher-priority-strip {
    grid-template-columns: 1fr;
  }

  .teacher-kpi-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .module-availability-grid,
  .dashboard-focus-strip {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-focus-current {
    grid-column: 1 / -1;
  }

  .global-hero,
  .global-index-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .global-hero-card,
  .global-scoreboard-panel {
    min-height: 320px;
  }

  .teacher-dashboard-page #teacher-module-health {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teacher-chart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-pathway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-hero-card,
  .student-dashboard-page .two-column {
    grid-template-columns: 1fr;
  }

  .student-dashboard-page #student-timeline {
    max-height: 320px;
  }

  .student-hero-card {
    min-height: auto;
    padding: 24px;
  }

  .student-hero-copy {
    justify-content: flex-start;
  }

  .student-hero-copy h1 {
    max-width: 680px;
    font-size: clamp(38px, 7vw, 56px);
  }

  .student-hero-visual {
    min-height: 260px;
    padding-right: min(260px, 40%);
  }

  .current-mission-card {
    width: min(100%, 440px);
    margin: 0;
  }

  .class-impact-card {
    width: min(300px, 60%);
    margin: 10px 0 0;
  }

  .student-guide-character {
    right: 0;
    bottom: -28px;
    width: min(280px, 42%);
    max-height: 310px;
  }

  .student-dashboard-page .student-status-strip,
  .student-dashboard-page .module-grid,
  .student-dashboard-page .skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-dashboard-page .module-map-panel .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skill-card-top {
    grid-template-columns: minmax(160px, 0.5fr) minmax(0, 1fr);
  }

  .skill-visual {
    min-height: 184px;
  }

  .skill-visual::before {
    width: min(100%, 184px);
  }

  .skill-hero-logo {
    width: min(88%, 166px);
    height: min(88%, 166px);
  }

  .skill-mini-logo {
    width: 46px;
  }

  .skill-score {
    font-size: 54px;
  }

  .skill-subskill-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid,
  .teacher-grid,
  .skill-grid,
  .module-grid,
  .community-board {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .global-dashboard-page {
    overflow-x: hidden;
  }

  .module-availability-grid,
  .dashboard-focus-strip {
    grid-template-columns: 1fr;
  }

  .student-portfolio-header {
    display: grid;
  }

  .student-portfolio-header strong {
    max-width: 100%;
    text-align: left;
  }

  .page-shell {
    width: min(100% - 20px, 1240px);
  }

  .global-dashboard-page .page-shell {
    width: calc(100% - 20px);
    overflow-x: hidden;
  }

  .global-hero,
  .global-index-strip {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .global-hero-card {
    width: 100%;
    min-width: 0;
    min-height: 420px;
    padding: 22px;
  }

  .global-hero-card h1 {
    width: 100%;
    min-width: 0;
    max-width: 11ch;
    font-size: clamp(30px, 8.4vw, 42px);
    overflow-wrap: anywhere;
  }

  .global-hero-card .subtitle {
    width: 100%;
    min-width: 0;
    max-width: 32ch;
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .global-scoreboard-panel {
    width: 100%;
    min-width: 0;
    min-height: auto;
    padding: 18px;
  }

  .global-index-strip article,
  .global-index-strip p,
  .global-metric,
  .global-empty-state {
    min-width: 0;
    max-width: 100%;
  }

  .global-index-strip p,
  .global-metric .metric-note,
  .global-empty-state p {
    max-width: 31ch;
    overflow-wrap: anywhere;
  }

  .global-scoreboard-header {
    align-items: start;
    flex-direction: column;
  }

  .global-scoreboard-header strong {
    text-align: left;
  }

  .global-league-row {
    grid-template-columns: 44px minmax(0, 1fr);
    min-width: 0;
  }

  .global-league-rank {
    width: 42px;
  }

  .global-league-score {
    grid-column: 2;
    display: flex;
    gap: 6px;
    align-items: baseline;
    justify-content: flex-start;
    text-align: left;
  }

  .global-league-score strong {
    font-size: 24px;
  }

  .teacher-dashboard-page #teacher-module-health {
    grid-template-columns: 1fr;
  }

  .teacher-control-deck {
    gap: 10px;
  }

  .teacher-command-panel {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .teacher-command-copy h1 {
    max-width: 12ch;
    font-size: clamp(32px, 10vw, 42px);
  }

  .teacher-school-chip {
    justify-self: start;
    width: 100%;
    text-align: left;
    font-size: 18px;
  }

  .teacher-status-bars,
  .teacher-kpi-strip {
    grid-template-columns: 1fr;
  }

  .teacher-priority-strip .panel,
  .teacher-scope-panel,
  .teacher-dashboard-page .dashboard-dropdown-summary,
  .teacher-dashboard-page .dashboard-dropdown-content {
    padding: 16px;
  }

  .diagnostic-beta-dropdown summary,
  .diagnostic-beta-dropdown-content {
    grid-template-columns: 1fr;
  }

  .diagnostic-beta-dropdown-content a {
    width: 100%;
  }

  .teacher-dashboard-page .dashboard-dropdown-summary {
    align-items: flex-start;
    gap: 14px;
  }

  .teacher-dashboard-page .teacher-hero-card {
    min-height: 420px;
    padding-right: 24px;
    padding-top: 26px;
  }

  .teacher-dashboard-page .teacher-hero-school-name {
    top: 14px;
    right: 14px;
    width: 126px;
    padding: 10px;
    font-size: 15px;
    opacity: 0.72;
  }

  .teacher-dashboard-page .metric-card--art {
    padding-right: 78px;
  }

  .teacher-chart-grid,
  .teacher-chart-card-wide {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .teacher-chart-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .teacher-donut {
    width: 88px;
  }

  .teacher-donut::before {
    width: 54px;
  }

  .teacher-chart-row {
    grid-template-columns: 1fr;
  }

  .teacher-chart-row strong {
    text-align: left;
  }

  .student-dashboard-page .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .student-dashboard-page .dashboard-nav {
    gap: 6px;
    margin-bottom: 10px;
  }

  .student-dashboard-page .dashboard-nav-link {
    padding: 7px 9px;
    font-size: 12px;
  }

  .student-hero-card {
    min-height: auto;
    gap: 12px;
    padding: 18px;
  }

  .student-hero-copy h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .student-hero-copy .subtitle {
    font-size: 15px;
    line-height: 1.48;
  }

  .student-primary-actions {
    gap: 8px;
    margin-top: 12px;
  }

  .student-primary-actions .module-link {
    flex: 1 1 calc(50% - 8px);
    min-height: 42px;
    padding: 10px 11px;
    font-size: 12px;
  }

  .student-identity-strip {
    margin-top: 12px;
  }

  .student-identity-strip .badge {
    padding: 7px 9px;
    font-size: 12px;
  }

  .student-hero-visual {
    min-height: 270px;
    padding-right: 0;
  }

  .community-hero-art,
  .community-hero-art img {
    min-height: 280px;
  }

  .community-hero-stat {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px;
  }

  .community-hero-stat strong {
    font-size: 18px;
  }

  .student-guide-character {
    right: -18px;
    bottom: -18px;
    width: min(202px, 48%);
    max-height: 238px;
  }

  .student-visual-card {
    width: min(100%, 310px);
    padding: 12px;
  }

  .student-visual-card h2 {
    font-size: 18px;
  }

  .student-visual-card p {
    font-size: 13px;
  }

  .current-mission-card {
    width: min(100%, 330px);
    margin-left: 0;
  }

  .current-mission-card .pill-row {
    display: none;
  }

  .class-impact-card {
    width: min(230px, 62%);
    margin-top: 10px;
  }

  .skill-card-modern {
    min-height: auto;
    padding: 16px;
    gap: 12px;
  }

  .skill-card-top {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
  }

  .skill-visual {
    min-height: 150px;
  }

  .skill-visual::before {
    width: 148px;
  }

  .skill-hero-logo {
    width: 132px;
    height: 132px;
  }

  .skill-mini-logo {
    width: 38px;
  }

  .skill-score {
    font-size: 42px;
  }

  .skill-score-block .kicker {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .skill-description {
    font-size: 15px;
  }

  .skill-star-action-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skill-star-builder-modal {
    padding: 12px;
  }

  .skill-star-builder-dialog {
    padding: 18px;
  }

  .skill-subskill-grid {
    grid-template-columns: 1fr;
  }

  .student-dashboard-page .student-status-strip,
  .student-dashboard-page .module-grid,
  .student-dashboard-page .skill-grid,
  .student-dashboard-page .community-board {
    grid-template-columns: 1fr;
  }

  .student-dashboard-page .module-map-panel .module-grid,
  .student-dashboard-page .shop-preview-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-dropdown-summary {
    min-height: auto;
    padding: 18px;
  }

  .dashboard-dropdown-content {
    padding: 0 18px 18px;
  }

  .teacher-review-filter-button {
    flex: 1 1 96px;
    min-width: 0;
  }

  .metrics-grid,
  .teacher-grid,
  .skill-grid,
  .module-grid,
  .community-pathway-grid,
  .community-board {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .panel,
  .metric,
  .timeline-item,
  .skill-card,
  .module-card,
  .community-hero-art,
  .impact-path-card {
    border-radius: 18px;
  }

  .store-request-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .skill-card-has-star {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "description"
      "progress"
      "subskills"
      "actions"
      "star";
  }

  .skill-star-grid {
    grid-template-columns: 1fr;
  }

  .skill-star-header {
    display: grid;
  }

  .skill-star-header > span {
    justify-self: start;
  }
}
