.practice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.practice__title {
  font-size: var(--font-size-heading-small);
  line-height: 1.4;
}

.practice__text {
  max-width: 42rem;
  line-height: 1.7;
}

.practice__tables {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
}

.practice__table {
  flex: 1;
  border-collapse: collapse;
  text-align: left;
}

.practice__caption {
  padding-bottom: 1rem;
  font-weight: 600;
  text-align: left;
}

.practice__cell {
  padding: 0.75rem;
  border-bottom: 1px solid currentColor;
  font-size: var(--font-size-small);
}

.practice__solution {
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid currentColor;
}

.practice__toggle {
  cursor: pointer;
  font-weight: 600;
}

.practice__toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.practice__code {
  max-width: 100%;
  margin-top: 1.5rem;
  padding: 1.5rem;
  overflow-x: auto;
  background-color: var(--color-charcoal-deep);
  color: var(--color-paper-warm);
  line-height: 1.7;
}
