.toggle-button {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #ddd;
  padding: 0 1rem;
}
.toggle-button__item {
  padding: 1rem 2rem;
  font-size: 1.8rem;
  background: #f5f5f5;
  border: 2px solid #ddd;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #666;
  position: relative;
  top: 2px;
  margin-bottom: -2px;
}
.toggle-button__item:hover {
  background: #eee;
  color: #333;
}
.toggle-button__item.is-active {
  background: #fff;
  color: #3a3a3a;
  border-color: #3a3a3a;
  font-weight: bold;
  z-index: 1;
}

.sgf-conv {
  line-height: 3rem;
  font-size: 1.75rem;
}
.sgf-conv__message {
  padding: 1rem;
  font-size: 2rem;
  text-align: left;
}
.sgf-conv__form input[type=text] {
  width: 95%;
  height: 10rem;
  margin: 1rem;
}

.txt-sgf__form {
  margin: 1rem 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}
@media (max-width: 768px) {
  .txt-sgf__form {
    flex-direction: column;
    align-items: flex-start;
  }
}
.txt-sgf__form label {
  width: 165px;
  flex-shrink: 0;
  font-weight: bold;
}
.txt-sgf__form input[type=text], .txt-sgf__form input[type=number] {
  width: 100%;
  font-size: 2rem;
}
.txt-sgf__form input[type=text]#re, .txt-sgf__form input[type=number]#re {
  width: 3em;
}
.txt-sgf__form select {
  width: 50%;
  font-size: 2rem;
}
.txt-sgf__form textarea {
  width: 100%;
  min-height: 5em;
}

.conv-results {
  background: rgba(255, 235, 59, 0.2392156863);
  font-weight: bolder;
  font-size: 1.9rem;
  line-height: 3rem;
  padding: 2rem;
  margin: 1rem auto;
  width: 100%;
}
.conv-results h3.conv-results__head {
  text-decoration: underline;
  margin: 1rem auto;
  font-weight: bolder;
}
.conv-results textarea {
  width: 100%;
  height: 10em;
  font-size: 1.8rem;
}

.reference {
  font-size: 2rem;
  padding: 2rem;
}
.reference h3 {
  margin: 1rem auto;
  font-size: 2rem;
}
.reference ul {
  list-style: none;
}
.reference a {
  color: var(--blue);
  text-decoration: underline;
}
.reference a:hover {
  opacity: 0.7;
}