.fraction-table {
  border-collapse: collapse;
  width: auto;
  display: inline-table;
  vertical-align: middle;
  margin: 0 2px;
  line-height: 1;
}

.fraction-table td {
  text-align: center;
  padding: 1px 6px;
  line-height: 1.05;
}

.fraction-table tr:nth-child(1) td {
  border-bottom: 1px solid currentColor;
}

.fraction-table tr:nth-child(2) td {
  padding-top: 2px;
}

.fraction-outer tr:nth-child(1) td {
  padding-bottom: 12px;
}

.fraction-outer tr:nth-child(2) td {
  padding-top: 12px;
}

.math-expr {
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 1.25;
  white-space: nowrap;
}

.pow {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.pow-base {
  display: inline;
}

.pow-exp {
  font-size: 0.74em;
  line-height: 1;
  position: relative;
  top: -0.42em;
  margin-left: 1px;
}

.limits-step-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  text-align: center;
}

.limits-step-layout {
  width: max-content;
  max-width: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin: 0 auto;
}

.limits-problem-row {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
  margin: 0 auto;
}

.limits-equation-pair {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  flex-wrap: nowrap;
}

.limits-final-row {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin: 0 auto;
}

.formula-row {
  width: max-content;
  max-width: none;
  display: inline-flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  margin: 0 auto;
  font-weight: 700;
}

.formula-row sub {
  white-space: nowrap;
  line-height: 1;
}

.final-answer-box {
  font-weight: bold;
  font-size: 1.1em;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.final-answer-box .answer-label {
  line-height: 1;
}