/* (c) Innings2, generated by Mathigon Studio */
figure .row x-img {
  margin: 8px;
}

.n {
  display: inline-block;
  width: 44px;
  text-align: center;
  color: white;
  height: 26px;
  line-height: 26px;
  position: relative;
  margin: 16px 2px;
  font-style: normal;
  white-space: nowrap;
}
.n:before, .n:after {
  content: "";
  display: block;
  position: absolute;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-bottom: 13px solid;
}
.n:before {
  top: -13px;
}
.n:after {
  transform: rotate(180deg);
  bottom: -13px;
}
.s-grey .n {
  background: #3a3645;
}
.s-grey .n:before, .s-grey .n:after {
  border-bottom-color: #3a3645;
}
.s-orange .n {
  background: #eb4726;
}
.s-orange .n:before, .s-orange .n:after {
  border-bottom-color: #eb4726;
}
.s-purple .n {
  background: #6d3bbf;
}
.s-purple .n:before, .s-purple .n:after {
  border-bottom-color: #6d3bbf;
}
.s-teal .n {
  background: #009ea6;
}
.s-teal .n:before, .s-teal .n:after {
  border-bottom-color: #009ea6;
}
.s-lime .n {
  background: #bfc212;
}
.s-lime .n:before, .s-lime .n:after {
  border-bottom-color: #bfc212;
}
.s-red .n {
  background: #cd0e66;
}
.s-red .n:before, .s-red .n:after {
  border-bottom-color: #cd0e66;
}
.s-blue .n {
  background: #0f82f2;
}
.s-blue .n:before, .s-blue .n:after {
  border-bottom-color: #0f82f2;
}
.s-green .n {
  background: #22ab24;
}
.s-green .n:before, .s-green .n:after {
  border-bottom-color: #22ab24;
}
.s-yellow .n {
  background: #fd8c00;
}
.s-yellow .n:before, .s-yellow .n:after {
  border-bottom-color: #fd8c00;
}
.s-vertical .n {
  width: auto;
  padding: 3px 8px;
  margin: 5px 8px;
}
.s-vertical .n:before, .s-vertical .n:after {
  border-width: 0 16px 8px 16px;
  transform-origin: top left;
}
.s-vertical .n:before {
  top: 32px;
  left: -8px;
  transform: rotate(-90deg);
}
.s-vertical .n:after {
  top: 0;
  right: -77px;
  transform: rotate(90deg);
}
.s-large .n {
  width: 50px;
  height: 30px;
  margin: 18px 3px;
  line-height: 30px;
}
.s-large .n:before, .s-large .n:after {
  border-width: 0 25px 15px 25px;
}
.s-large .n:before {
  top: -15px;
}
.s-large .n:after {
  bottom: -15px;
}
.s-small .n {
  width: 36px;
  height: 22px;
  margin: 12px 1px;
  line-height: 22px;
}
.s-small .n:before, .s-small .n:after {
  border-width: 0 18px 11px 18px;
}
.s-small .n:before {
  top: -11px;
}
.s-small .n:after {
  bottom: -11px;
}
.with-arrows .n {
  margin-top: 32px;
}
.s-large.with-arrows .n {
  margin-top: 40px;
}
.n x-blank {
  display: block;
  margin: 1px 3px;
  max-width: 120px;
}
.n x-blank .target {
  display: block;
  margin: 0;
  height: 24px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.75);
}
.n x-blank input {
  min-width: 0;
  display: block;
  width: 100%;
  height: 24px;
}
.n x-blank.done, .n x-blank.done .target {
  display: inline;
  line-height: inherit;
  box-shadow: none;
  color: #87c1f9;
}
.s-large .n x-blank-input {
  margin: 3px;
}
.s-yellow .n x-blank.done .target, .s-green .n x-blank.done .target, .s-lime .n x-blank.done .target {
  color: #0f82f2;
}
.n .var {
  color: white;
}
.n .arrow {
  background: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2042%2042%22%3E%3Cpath%20fill%3D%22%23aaa%22%20d%3D%22M41%2C41%2C33%2C30.86l0%2C4.49A32.45%2C32.45%2C0%2C0%2C0%2C21%2C33%2C33.71%2C33.71%2C0%2C0%2C0%2C1.77%2C39.2l1.14%2C1.65A31.65%2C31.65%2C0%2C0%2C1%2C21%2C35a30.53%2C30.53%2C0%2C0%2C1%2C11.06%2C2.09l-3.85%2C2.25Z%22%2F%3E%3C%2Fsvg%3E");
  position: absolute;
  font-size: 14px;
  color: #aaa;
  top: -40px;
  width: 32px;
  height: 32px;
  text-align: center;
  left: -23px;
}

.pattern {
  display: block;
  font-size: 80%;
  color: #999;
}

.squares rect {
  transform-origin: center;
  transform-box: fill-box;
}