/* Custom callout-ish "key idea" boxes used across the tutorial */
.keyidea {
  border-left: 4px solid #5e35b1;
  background: rgba(94, 53, 177, 0.06);
  padding: 0.8rem 1rem;
  border-radius: 0 6px 6px 0;
  margin: 1.2rem 0;
}
.keyidea .k-title {
  font-weight: 700;
  color: #5e35b1;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.6px;
}

/* Phase badges */
.phase-badge {
  display: inline-block;
  background: #5e35b1;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  vertical-align: middle;
  margin-right: 0.4rem;
}

/* Status pills for the roadmap table */
.pill-ok   { color: #2e7d32; font-weight: 700; }
.pill-todo { color: #c77700; font-weight: 700; }

/* Make equation blocks breathe */
.math.display { margin: 1.1rem 0; }

/* Scrollable survey table (theory-measurement-uq page) */
.survey-scroll {
  max-height: 560px;
  overflow: auto;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  margin: 1rem 0;
}
.survey-scroll table {
  font-size: 0.74rem;
  border-collapse: collapse;
  width: 100%;
}
.survey-scroll th {
  position: sticky;
  top: 0;
  background: #5e35b1;
  color: #fff;
  padding: 0.35rem 0.5rem;
  text-align: left;
  z-index: 1;
}
.survey-scroll td {
  padding: 0.3rem 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  vertical-align: top;
}
.survey-scroll tr:nth-child(even) td { background: rgba(94, 53, 177, 0.04); }
.survey-scroll td.nr { color: #b00020; font-style: italic; }
