.math-section-title {
  margin: 22px 0 12px;
  font-size: 21px;
}
.math-section-title small {
  display: inline-block;
  margin-left: 8px;
  font-size: 14px;
  font-weight: 400;
}
.mul-unit-symbol {
  background: #dce9e9;
  color: #426e82;
}
.mul-groups,
.mul-build-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  align-items: start;
}
.mul-group {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 8px 3px;
  border: 0;
  border-radius: 16px;
  color: #365848;
  background: transparent;
  font: inherit;
}
button.mul-group {
  cursor: pointer;
}
.mul-plate-label {
  font-size: 16px;
}
.mul-plate {
  position: relative;
  width: 100%;
  min-height: 102px;
  display: grid;
  place-items: center;
  border-radius: 48%;
  background: #f2ead8;
  border: 3px solid #b7bea3;
  box-shadow: inset 0 0 0 5px #fffcf3;
}
.mul-pencils .mul-plate {
  border-radius: 12px;
  background: #e9ddbc;
  border-color: #b39a71;
}
.mul-shoes .mul-plate {
  border-radius: 16px;
  background: #e5edf0;
  border-style: dashed;
}
.mul-pieces {
  display: grid;
  grid-template-columns: repeat(var(--mul-columns, 3), 32px);
  justify-content: center;
  gap: 1px;
  padding: 9px 4px;
  min-height: 65px;
  align-content: center;
}
.mul-piece,
.mul-outgoing {
  display: inline-flex;
  width: 32px;
  height: 34px;
}
.mul-piece svg,
.mul-outgoing svg {
  width: 100%;
  height: 100%;
}
.mul-group.is-active .mul-plate {
  border-color: #426e82;
  outline: 3px solid #c6dce2;
  outline-offset: 3px;
}
.mul-group.is-new-group {
  animation: mul-group-arrive 650ms ease-out;
}
.mul-outgoing {
  position: absolute;
  right: 12px;
  top: 12px;
  pointer-events: none;
  animation: mul-take-back 650ms ease-in forwards;
}
.mul-tick {
  position: absolute;
  top: 24px;
  right: 0;
  background: #426e82;
  color: white;
  border-radius: 50%;
  width: 26px;
  height: 26px;
}
.mul-board {
  padding: 20px;
  min-height: 275px;
}
.mul-board .mul-pieces {
  grid-template-columns: repeat(var(--mul-columns, 3), 44px);
}
.mul-board .mul-piece {
  width: 44px;
  height: 46px;
}
.mul-relation {
  min-height: 70px;
  margin-top: 24px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
}
.mul-addition {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.mul-term {
  min-width: 40px;
  border-bottom: 4px solid #88a47b;
}
.mul-color-1 {
  border-color: #7c9eae;
}
.mul-color-2 {
  border-color: #c49a60;
}
.mul-factor-labels {
  display: flex;
  justify-content: center;
  gap: 25px;
  font-size: 14px;
  font-weight: 400;
}
.mul-factor-labels b {
  display: block;
  font-size: 25px;
}
.mul-next-method {
  margin-top: 18px !important;
  font-size: 15px !important;
}
.mul-next-method a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #426e82;
}
.mul-equal-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.mul-option {
  min-width: 0;
  text-align: center;
  padding: 12px;
  border: 2px solid #bacbb1;
  border-radius: 16px;
  background: #fffdf4;
  color: #365848;
  font: inherit;
  cursor: pointer;
}
.mul-option-number {
  display: block;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}
.mul-option[aria-pressed='true'] {
  border-color: #426e82;
  background: #e7eff0;
}
.mul-option.is-wrong {
  border-color: #b77c53;
  background: #fbebd9;
}
.mul-groups.is-mini {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.is-mini .mul-group {
  gap: 4px;
  padding: 3px 0;
}
.is-mini .mul-plate-label {
  font-size: 13px;
}
.is-mini .mul-plate {
  min-height: 58px;
  border-width: 2px;
  box-shadow: inset 0 0 0 3px #fffcf3;
}
.is-mini .mul-pieces {
  grid-template-columns: repeat(var(--mul-columns, 3), 28px);
  min-height: 40px;
  padding: 5px 2px;
}
.is-mini .mul-piece {
  width: 28px;
  height: 29px;
}
.mul-build-item {
  min-width: 0;
}
.mul-build-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 0;
}
.mul-build-controls .button {
  padding: 5px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  font-size: 23px;
}
.mul-build-controls span {
  min-width: 20px;
  text-align: center;
  font-size: 20px;
}
.mul-hint-example {
  max-width: 170px;
  margin: 16px auto 0;
  text-align: center;
  border-top: 2px dashed #9eaf9a;
}
.mul-hint-example .mul-groups {
  grid-template-columns: 1fr;
}
.mul-hint-example .mul-plate {
  min-height: 70px;
}
.mul-answer {
  text-align: center;
}
.mul-answer > p {
  font-size: 18px;
  line-height: 1.7;
}
.mul-answer .mul-solved-equation {
  font-size: 30px;
  color: #365848;
  font-weight: 700;
}
.mul-practice .math-random-choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mul-practice .math-random-choices button {
  min-height: 64px;
}
@keyframes mul-group-arrive {
  from {
    transform: translateY(-18px);
    opacity: 0.35;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes mul-take-back {
  to {
    transform: translate(35px, -45px);
    opacity: 0;
  }
}
@media (min-width: 761px) and (max-height: 760px) {
  .mul-board {
    min-height: 250px;
    padding: 14px;
  }
  .mul-relation {
    margin-top: 15px;
    font-size: 25px;
  }
  .mul-practice .mul-groups,
  .mul-practice .mul-build-groups {
    gap: 10px;
  }
  .mul-practice .mul-group {
    gap: 5px;
    padding: 4px 0;
  }
  .mul-practice .mul-plate {
    min-height: 78px;
  }
  .mul-practice .mul-hint-example .mul-plate {
    min-height: 60px;
  }
  .mul-practice .mul-hint-example {
    margin-top: 8px;
    max-width: 140px;
  }
  .mul-practice .mul-hint-example p {
    margin: 4px 0;
  }
}
@media (max-width: 760px) {
  .mul-equal-options {
    grid-template-columns: 1fr;
  }
  .mul-groups.is-mini {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mul-board {
    padding: 14px;
  }
  .mul-relation {
    font-size: 25px;
  }
  .math-section-title small {
    display: block;
    margin: 6px 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mul-group.is-new-group,
  .mul-outgoing {
    animation: none;
  }
  .mul-outgoing {
    display: none;
  }
}

.math-topic-jump {
  display: flex;
  justify-content: flex-end;
  margin: 8px 0;
}
.math-topic-jump .button {
  min-height: 44px;
  font-size: 16px;
  padding: 8px 14px;
}
