.choices .space-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  min-height: 94px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px #204c3f0b;
}

.choices .space-card b,
.choices .space-card small {
  display: block;
}

.choices .space-card b {
  font-size: 0.98rem;
}

.choices .space-card small {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.grade-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 0 0 1rem;
  padding: 1.15rem 1.3rem;
  border: 1px solid #dce9e5;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, #f3fbf8);
  box-shadow: 0 12px 32px #174f440c;
}

.grade-choice span {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.07em;
}

.grade-choice h2 {
  margin: 0.15rem 0;
  font-size: 1.35rem;
}

.grade-choice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.grade-buttons {
  display: flex;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.grade-buttons button {
  min-height: 48px;
  padding: 0.7rem 1rem;
  border: 2px solid #bfd7d1;
  border-radius: 14px;
  background: #fff;
  color: var(--green);
  font-weight: 900;
  cursor: pointer;
}

.grade-buttons button.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 16px #174f4425;
}

@media (max-width: 720px) {
  .grade-choice {
    align-items: stretch;
    flex-direction: column;
  }

  .grade-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
