.like-term-page .page-intro {
  max-width: 52rem;
  margin: -0.25rem 0 1.1rem;
  color: #4b4b4b;
}

.like-term-settings {
  display: grid;
  grid-template-columns: minmax(16rem, 2fr) repeat(3, minmax(7rem, 0.65fr));
  gap: 1rem;
  align-items: end;
}

.like-term-page input[type="text"],
.like-term-page input[type="number"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 2.8125rem;
}

.target-heading {
  display: flex;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
  margin-top: 1.35rem;
}

.target-heading h2 {
  margin: 0;
}

.target-heading p {
  max-width: 49rem;
  margin: 0.25rem 0 0.65rem;
  color: #555;
  font-size: 0.92rem;
}

.like-term-page .secondary-button,
.like-term-page .remove-target {
  width: auto;
  flex: 0 0 auto;
  border: 1px solid #d9782d;
  background: #fff;
  color: #a4490c;
}

.like-term-page .secondary-button {
  margin-bottom: 0.65rem;
  white-space: nowrap;
}

.like-term-page .remove-target {
  min-height: 2.35rem;
  padding: 0.4rem 0.65rem;
  border-color: rgba(90, 90, 90, 0.25);
  color: #555;
  font-size: 0.85rem;
}

.target-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(60, 60, 60, 0.12);
  border-radius: 12px;
}

.target-input-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
}

.target-input-table th,
.target-input-table td {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid rgba(60, 60, 60, 0.09);
  text-align: left;
  vertical-align: middle;
}

.target-input-table th {
  background: #fff6ee;
  color: #333;
  font-size: 0.9rem;
  font-weight: 800;
}

.target-input-table th:last-child,
.target-input-table td:last-child {
  width: 6rem;
  text-align: right;
}

.target-input-table tr:last-child td {
  border-bottom: 0;
}

.target-input-table input {
  min-width: 6rem;
}

.form-note {
  margin: 0.8rem 0;
  color: #555;
  font-size: 0.9rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .like-term-settings {
    grid-template-columns: 1fr 1fr;
  }

  .form-row--title {
    grid-column: 1 / -1;
  }

  .target-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .like-term-settings {
    grid-template-columns: 1fr;
  }

  .form-row--title {
    grid-column: auto;
  }
}
