/* marks-percentage-calculator: layout only. Colours, borders and type live in assets/css/tools.css. */

.subjects-table {
  min-width: 460px;
}

.subjects-table th:nth-child(2),
.subjects-table th:nth-child(3) {
  width: 96px;
}

.subjects-table th:nth-child(4) {
  width: 72px;
}

.subjects-table th:last-child {
  width: 44px;
}

.subjects-table td {
  padding: var(--space-2);
  vertical-align: middle;
}

.subject-percent {
  white-space: nowrap;
}

.formula-box {
  margin-top: var(--space-6);
}

.grading-block {
  margin-top: var(--space-8);
}

.grade-you {
  display: none;
}

.grading-table tr.is-current .grade-you {
  display: inline;
}

.grading-note {
  margin: var(--space-2) 0 0;
}

.custom-scale-panel {
  margin-top: var(--space-4);
}

.custom-scale-table {
  min-width: 300px;
}

.custom-scale-table th:nth-child(2) {
  width: 120px;
}

.custom-scale-table th:last-child {
  width: 44px;
}

.custom-scale-table td {
  padding: var(--space-2);
  vertical-align: middle;
}
