/* Test grade calculator: keep styles consistent with global.css */

.scaleGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 700px) {
  .scaleGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .scaleGrid {
    grid-template-columns: 1fr;
  }
}

.scaleItem {
  display: flex;
  gap: 10px;
  align-items: center;
}

.scaleItem .tag {
  width: 50px;
  display: flex;
  height: 50px;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  background: rgba(159, 176, 200, .08);
  border: 1px solid rgba(159, 176, 200, .14);
  border-radius: 12px;
  padding: 10px 12px;
}

.scaleItem .field {
  flex: 1;
}

.smallNote {
  color: var(--muted);
  font-size: 12px;
}

.tableScroll {
  max-height: 360px;
  overflow: auto;
  border-radius: 14px;
}

.tableScroll thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}