/* ==========================================================================
   PQC Education — interactive learning page
   ========================================================================== */

.education-page {
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.education-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.education-banner .page-header {
  text-align: center;
}

/* Module tabs */

.edu-modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 2rem 0 1.5rem;
  padding: 0.35rem;
  border: 1px solid var(--border-default);
  border-radius: 14px;
  background: var(--bg-elevated);
}

@media (min-width: 768px) {
  .edu-modules {
    grid-template-columns: repeat(4, 1fr);
  }
}

.edu-module-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.edu-module-tab__eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.edu-module-tab__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.edu-module-tab:hover,
.edu-module-tab.is-active {
  background: rgba(15, 98, 254, 0.1);
  border-color: rgba(15, 98, 254, 0.35);
  box-shadow: 0 4px 16px rgba(15, 98, 254, 0.12);
}

.edu-module-tab.is-active .edu-module-tab__label {
  color: var(--accent);
}

body.light-mode .edu-modules {
  background: #ffffff;
}

body.light-mode .edu-module-tab.is-active {
  background: rgba(10, 88, 202, 0.08);
}

/* Panels */

.edu-panel {
  margin-bottom: 2.5rem;
  animation: eduPanelIn 0.35s ease;
}

.edu-panel[hidden] {
  display: none !important;
}

@keyframes eduPanelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.edu-panel__header {
  margin-bottom: 1.75rem;
}

.edu-panel__header h2 {
  margin: 0.35rem 0 0.65rem;
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  color: var(--text-primary);
}

.edu-panel__lead {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 720px;
}

.edu-subheading {
  margin: 2rem 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* HNDL interactive */

.edu-hndl {
  border: 1px solid var(--border-default);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(15, 98, 254, 0.06), rgba(129, 140, 248, 0.04));
  padding: 1.25rem;
  overflow: hidden;
}

body.light-mode .edu-hndl {
  background: linear-gradient(145deg, rgba(10, 88, 202, 0.05), #f8fafc);
}

.edu-hndl__viz {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}

body.light-mode .edu-hndl__viz {
  background: rgba(15, 23, 42, 0.04);
}

.edu-hndl__stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.35rem;
  min-height: 72px;
}

@media (max-width: 560px) {
  .edu-hndl__stage {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: center;
  }

  .edu-hndl__stream {
    display: none;
  }
}

.edu-hndl__node {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: var(--bg-elevated);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.edu-hndl[data-active-step="capture"] .edu-hndl__node--attacker,
.edu-hndl[data-active-step="capture"] .edu-hndl__node--vault {
  border-color: rgba(248, 113, 113, 0.6);
  box-shadow: 0 0 16px rgba(248, 113, 113, 0.2);
}

.edu-hndl[data-active-step="wait"] .edu-hndl__node--vault {
  border-color: rgba(251, 191, 36, 0.55);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.15);
}

.edu-hndl[data-active-step="decrypt"] .edu-hndl__node--quantum,
.edu-hndl[data-active-step="decrypt"] .edu-hndl__node--vault {
  border-color: rgba(248, 113, 113, 0.65);
  box-shadow: 0 0 20px rgba(248, 113, 113, 0.25);
}

.edu-hndl__stream {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.25);
  position: relative;
  overflow: hidden;
}

.edu-hndl__stream::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-100%);
}

.edu-hndl__stream.is-flowing::after {
  animation: eduStreamFlow 1.4s ease-in-out infinite;
}

.edu-hndl__stream--future.is-flowing::after {
  animation-delay: 0.35s;
  background: linear-gradient(90deg, transparent, #f87171, transparent);
}

@keyframes eduStreamFlow {
  to { transform: translateX(100%); }
}

.edu-hndl__controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 640px) {
  .edu-hndl__controls {
    grid-template-columns: 1fr;
  }
}

.edu-hndl__step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.75rem;
  border: 1px solid var(--border-default);
  border-radius: 10px;
  background: var(--bg-base);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.edu-hndl__step.is-active {
  border-color: var(--accent);
  background: rgba(15, 98, 254, 0.08);
}

.edu-hndl__step-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.edu-hndl__step-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

.edu-hndl__detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
}

@media (max-width: 560px) {
  .edu-hndl__detail {
    grid-template-columns: 1fr;
  }
}

.edu-hndl__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 5.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: rgba(15, 98, 254, 0.1);
  text-align: center;
}

.edu-hndl__stat strong {
  font-size: 1.1rem;
  color: var(--accent);
}

.edu-hndl__stat span {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.edu-hndl__detail p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-body);
}

/* Impact cards */

.edu-impact-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .edu-impact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.edu-impact-card {
  padding: 1.1rem 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--border-default);
  background: var(--bg-elevated);
  border-top: 3px solid var(--border-default);
}

.edu-impact-card--critical {
  border-top-color: #f87171;
}

.edu-impact-card--moderate {
  border-top-color: #fbbf24;
}

.edu-impact-card--low {
  border-top-color: #34d399;
}

.edu-impact-card__level {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.edu-impact-card h4 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.edu-impact-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Timeline widget */

.edu-timeline-widget {
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 1.35rem;
  background: var(--bg-elevated);
  margin-bottom: 0.5rem;
}

.edu-timeline__label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.edu-timeline__label strong {
  color: var(--accent);
  font-size: 1.15rem;
}

.edu-timeline__slider {
  width: 100%;
  margin: 0 0 0.5rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.edu-timeline__track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 6px;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: var(--border-default);
  padding: 0 2px;
}

.edu-timeline__tick {
  position: relative;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: -2px;
  border-radius: 50%;
  border: 2px solid var(--border-default);
  background: var(--bg-base);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.edu-timeline__tick.is-active,
.edu-timeline__tick:hover {
  transform: scale(1.25);
  background: var(--accent);
  border-color: var(--accent);
}

.edu-timeline__card {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 98, 254, 0.08), rgba(129, 140, 248, 0.05));
  border: 1px solid rgba(15, 98, 254, 0.2);
  min-height: 7rem;
}

.edu-timeline__phase {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
  background: rgba(148, 163, 184, 0.2);
  color: var(--text-muted);
}

.edu-timeline__phase--research { background: rgba(129, 140, 248, 0.2); color: #a5b4fc; }
.edu-timeline__phase--standards { background: rgba(15, 98, 254, 0.2); color: #78a9ff; }
.edu-timeline__phase--policy { background: rgba(251, 191, 36, 0.2); color: #fcd34d; }
.edu-timeline__phase--migration { background: rgba(52, 211, 153, 0.2); color: #6ee7b7; }

body.light-mode .edu-timeline__phase--research { color: #4338ca; }
body.light-mode .edu-timeline__phase--standards { color: #0a58ca; }
body.light-mode .edu-timeline__phase--policy { color: #b45309; }
body.light-mode .edu-timeline__phase--migration { color: #047857; }

.edu-timeline__card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.edu-timeline__card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-body);
}

/* Algorithm cards */

.edu-algo-grid {
  display: grid;
  gap: 0.65rem;
}

.edu-algo-card {
  border: 1px solid var(--border-default);
  border-radius: 12px;
  background: var(--bg-elevated);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.edu-algo-card.is-open {
  border-color: rgba(15, 98, 254, 0.4);
  box-shadow: 0 6px 20px rgba(15, 98, 254, 0.1);
}

.edu-algo-card__toggle {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.75rem 1rem;
  width: 100%;
  padding: 1rem 1.15rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

@media (max-width: 560px) {
  .edu-algo-card__toggle {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .edu-algo-card__role {
    grid-column: 1 / -1;
  }
}

.edu-algo-card__fips {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(15, 98, 254, 0.1);
}

.edu-algo-card__name {
  font-size: 1.05rem;
  color: var(--text-primary);
}

.edu-algo-card__role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.edu-algo-card__chevron {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  color: var(--text-muted);
}

.edu-algo-card.is-open .edu-algo-card__chevron {
  transform: rotate(-135deg);
}

.edu-algo-card__body {
  padding: 0 1.15rem 1.1rem;
  border-top: 1px solid var(--border-default);
}

.edu-algo-card__meta {
  margin: 0.85rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.edu-algo-card__meta dt {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.edu-algo-card__meta dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-body);
}

.edu-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Migration phases */

.edu-phases {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.45rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .edu-phases {
    grid-template-columns: 1fr;
  }
}

.edu-phase {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.75rem 0.65rem;
  border: 1px solid var(--border-default);
  border-radius: 10px;
  background: var(--bg-elevated);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.edu-phase.is-active {
  border-color: var(--accent);
  background: rgba(15, 98, 254, 0.1);
  transform: translateY(-2px);
}

.edu-phase__num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.edu-phase__title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.edu-phase__period {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.edu-phase-detail {
  grid-column: 1 / -1;
  padding: 1.15rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 98, 254, 0.25);
  background: linear-gradient(135deg, rgba(15, 98, 254, 0.06), transparent);
}

.edu-phase-detail h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.edu-phase-detail p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-body);
}

@media (min-width: 769px) {
  .edu-phases {
    grid-template-columns: repeat(5, 1fr);
  }

  .edu-phase-detail {
    grid-column: 1 / -1;
  }
}

/* Global signals */

.edu-global-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .edu-global-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.edu-global-card {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--border-default);
  background: var(--bg-elevated);
}

.edu-global-card__region {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.edu-global-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.edu-global-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Sources & CTA */

.edu-sources {
  margin: 2.5rem 0;
  padding: 1.25rem 1.35rem;
  border-radius: 12px;
  border: 1px solid var(--border-default);
  background: var(--bg-elevated);
}

.edu-sources__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--text-primary);
}

.edu-sources__list {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
  font-size: 0.88rem;
  line-height: 1.7;
}

.edu-sources__list a {
  color: var(--accent);
}

.edu-sources__note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.edu-cta {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-default);
  background: linear-gradient(145deg, rgba(15, 98, 254, 0.08), rgba(129, 140, 248, 0.04));
}

.edu-cta h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  color: var(--text-primary);
}

.edu-cta p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.edu-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.edu-cta__actions .hero-button,
.edu-cta__actions .hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius-pill, 999px);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.edu-cta__actions .hero-button {
  background: var(--accent);
  color: #ffffff !important;
  border: none;
  box-shadow: none;
}

.edu-cta__actions .hero-button:hover {
  background: var(--accent-hover);
  color: #ffffff !important;
  transform: none;
}

.edu-cta__actions .hero-secondary {
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  background: transparent;
  backdrop-filter: none;
}

.edu-cta__actions .hero-secondary:hover {
  background: rgba(15, 98, 254, 0.08);
  border-color: var(--accent-hover);
  color: var(--accent-hover) !important;
  transform: none;
}

body.light-mode .edu-cta__actions .hero-secondary {
  background: transparent;
}

/* PQC families explorer */

.edu-families {
  display: grid;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .edu-families {
    grid-template-columns: minmax(200px, 240px) 1fr;
    align-items: start;
  }
}

.edu-families__nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

@media (max-width: 767px) {
  .edu-families__nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.edu-family-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border-default);
  border-radius: 10px;
  background: var(--bg-base);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 767px) {
  .edu-family-pill {
    width: auto;
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 9rem;
  }
}

.edu-family-pill.is-active,
.edu-family-pill:hover {
  border-color: rgba(15, 98, 254, 0.45);
  background: rgba(15, 98, 254, 0.08);
  box-shadow: 0 4px 14px rgba(15, 98, 254, 0.1);
}

.edu-family-pill__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.edu-family-pill__badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.edu-family-pill__badge--primary {
  background: rgba(15, 98, 254, 0.15);
  color: #78a9ff;
}

.edu-family-pill__badge--conservative {
  background: rgba(52, 211, 153, 0.15);
  color: #6ee7b7;
}

.edu-family-pill__badge--ongoing {
  background: rgba(251, 191, 36, 0.15);
  color: #fcd34d;
}

.edu-family-pill__badge--legacy {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
}

body.light-mode .edu-family-pill__badge--primary { color: #0a58ca; }
body.light-mode .edu-family-pill__badge--conservative { color: #047857; }
body.light-mode .edu-family-pill__badge--ongoing { color: #b45309; }
body.light-mode .edu-family-pill__badge--legacy { color: #64748b; }

.edu-families__panel {
  border: 1px solid var(--border-default);
  border-radius: 14px;
  background: var(--bg-elevated);
  min-height: 18rem;
  position: relative;
}

.edu-family-detail {
  display: none;
  padding: 1.25rem 1.35rem;
  animation: eduPanelIn 0.3s ease;
}

.edu-family-detail.is-active {
  display: block;
}

.edu-family-detail__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.edu-family-detail__header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.edu-family-detail__badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.edu-family-detail__badge--primary { background: rgba(15, 98, 254, 0.15); color: #78a9ff; }
.edu-family-detail__badge--conservative { background: rgba(52, 211, 153, 0.15); color: #6ee7b7; }
.edu-family-detail__badge--ongoing { background: rgba(251, 191, 36, 0.15); color: #fcd34d; }
.edu-family-detail__badge--legacy { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }

.edu-family-detail__summary {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-body);
}

.edu-family-detail__meta {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.edu-family-detail__meta dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.edu-family-detail__meta dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-body);
}

.edu-family-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  background: var(--bg-elevated);
}

.edu-family-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.edu-family-table th,
.edu-family-table td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--border-default);
  color: var(--text-body);
}

.edu-family-table thead th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(15, 98, 254, 0.05);
}

.edu-family-table tbody tr:last-child th,
.edu-family-table tbody tr:last-child td {
  border-bottom: none;
}

.edu-family-table tbody th {
  font-weight: 600;
  color: var(--text-primary);
}

@media (prefers-reduced-motion: reduce) {
  .edu-panel,
  .edu-hndl__stream.is-flowing::after,
  .edu-phase.is-active,
  .edu-family-detail {
    animation: none;
    transform: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
