#lab-jump-wrap {
  display: none;
}

#result-tag {
  text-align: center;
}

#result-tag[data-stale="true"] {
  background: #f9e6bf;
  color: #5c3c0c;
}

#editor-jump {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

#basis-plane,
.drag-plane {
  touch-action: pan-y;
}

#basis-plane [data-handle],
.drag-plane [data-vector] {
  touch-action: none;
}

@media (max-width: 900px) {
  #lab-nav {
    display: none;
  }

  #lab-jump-wrap {
    display: grid;
    gap: .35rem;
    margin: 0 0 .75rem;
    font-size: .85rem;
    font-weight: 650;
  }

  #lab-jump {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    font-size: 1rem;
  }

  .lesson-tabs button,
  .button,
  .study-toolbar select,
  #indent-code {
    min-height: 44px;
  }

  .editor-footer {
    flex-wrap: wrap;
    font-size: .72rem;
  }

  #line-numbers {
    line-height: 1.65rem;
  }

  #code,
  .control-card input,
  .prediction-strip input,
  .reflection textarea {
    font-size: 1rem;
  }
}

@media (max-width: 620px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    overflow-wrap: anywhere;
  }
}
