.child-maintenance-estimator {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  color: #1d2520;
}

.child-maintenance-estimator > .grid {
  display: grid;
  gap: 2.5rem;
}

.child-maintenance-estimator p {
  margin: 0;
}

.child-maintenance-estimator h1,
.child-maintenance-estimator h2,
.child-maintenance-estimator h3 {
  color: #1d2520;
  line-height: 1;
  margin: 0;
}

.child-maintenance-estimator h1 {
  max-width: 42rem;
  font-size: clamp(3rem, 5vw, 4rem);
  letter-spacing: 0;
}

.child-maintenance-estimator h2,
.child-maintenance-estimator h3 {
  font-size: clamp(2rem, 4vw, 2.45rem);
  letter-spacing: 0;
}

.child-maintenance-estimator button,
.child-maintenance-estimator input,
.child-maintenance-estimator select {
  font: inherit;
}

.child-maintenance-estimator button {
  cursor: pointer;
  border-radius: 0.25rem;
  min-height: 2.75rem;
}

.child-maintenance-estimator input,
.child-maintenance-estimator select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  border-radius: 0.25rem;
}

.child-maintenance-estimator input[type='range'] {
  accent-color: #bd4b31;
}

.child-maintenance-estimator form,
.child-maintenance-estimator label {
  min-width: 0;
}

.child-maintenance-estimator .choice-card {
  display: block;
  cursor: pointer;
  border: 1px solid #d9d8ce;
  border-radius: 0.35rem;
  background: #fff;
  padding: 1rem;
  text-align: center;
  color: #1d2520;
  font-size: 0.875rem;
  font-weight: 600;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.child-maintenance-estimator .choice-card:hover,
.child-maintenance-estimator .choice-card.selected {
  border-color: #bd4b31;
  background: #fff8f2;
}

.child-maintenance-estimator .stepper {
  display: grid;
  grid-template-columns: 3rem 1fr 3rem;
  align-items: center;
  overflow: hidden;
  border: 1px solid #c9c9be;
  border-radius: 0.35rem;
  background: #fff;
}

.child-maintenance-estimator .stepper button {
  height: 3rem;
  border: 0;
  background: #1d2520;
  color: #fff;
  font-weight: 700;
}

.child-maintenance-estimator .stepper strong {
  text-align: center;
}

.child-maintenance-estimator label.money-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: center;
  border: 1px solid #c9c9be;
  padding: 0.75rem;
  color: #1d2520;
  font-size: 0.875rem;
  font-weight: 600;
}

.child-maintenance-estimator label.money-field > span {
  grid-column: 1;
  color: #667168;
}

.child-maintenance-estimator label.money-field > input {
  grid-column: 2;
  border: 0;
  outline: 0;
}

.child-maintenance-estimator [x-cloak] {
  display: none;
}

.child-maintenance-estimator > .grid > div:last-child {
  border-radius: 0.35rem;
}

.child-maintenance-estimator .grid {
  display: grid;
}

.child-maintenance-estimator .gap-2 {
  gap: 0.5rem;
}

.child-maintenance-estimator .gap-3 {
  gap: 0.75rem;
}

.child-maintenance-estimator .gap-4 {
  gap: 1rem;
}

.child-maintenance-estimator .gap-5 {
  gap: 1.25rem;
}

.child-maintenance-estimator .gap-10 {
  gap: 2.5rem;
}

.child-maintenance-estimator .mt-2 {
  margin-top: 0.5rem;
}

.child-maintenance-estimator .mt-3 {
  margin-top: 0.75rem;
}

.child-maintenance-estimator .mt-4 {
  margin-top: 1rem;
}

.child-maintenance-estimator .mt-5 {
  margin-top: 1.25rem;
}

.child-maintenance-estimator .mt-6 {
  margin-top: 1.5rem;
}

.child-maintenance-estimator .mt-7 {
  margin-top: 1.75rem;
}

.child-maintenance-estimator .mt-8 {
  margin-top: 2rem;
}

.child-maintenance-estimator .mb-7 {
  margin-bottom: 1.75rem;
}

.child-maintenance-estimator .p-5 {
  padding: 1.25rem;
}

.child-maintenance-estimator .p-6 {
  padding: 1.5rem;
}

.child-maintenance-estimator .py-6 {
  padding-block: 1.5rem;
}

.child-maintenance-estimator .border,
.child-maintenance-estimator .ring-1 {
  border: 1px solid #d9d8ce;
}

.child-maintenance-estimator .border-y {
  border-top: 1px solid #d9d8ce;
  border-bottom: 1px solid #d9d8ce;
}

.child-maintenance-estimator .bg-white {
  background: #fff;
}

.child-maintenance-estimator .bg-\[\#fff8f2\] {
  background: #fff8f2;
}

.child-maintenance-estimator .text-center {
  text-align: center;
}

.child-maintenance-estimator .font-semibold {
  font-weight: 600;
}

.child-maintenance-estimator .font-bold {
  font-weight: 700;
}

.child-maintenance-estimator .text-sm {
  font-size: 0.875rem;
}

.child-maintenance-estimator .text-xs {
  font-size: 0.75rem;
}

.child-maintenance-estimator .text-\[\#667168\],
.child-maintenance-estimator .leading-6 {
  color: #667168;
}

.child-maintenance-estimator .text-\[\#bd4b31\] {
  color: #bd4b31;
}

.child-maintenance-estimator .text-\[\#1d2520\] {
  color: #1d2520;
}

.child-maintenance-estimator .text-5xl {
  font-size: clamp(2.25rem, 6vw, 3rem);
  line-height: 1;
}

.child-maintenance-estimator .text-4xl {
  font-size: clamp(2rem, 5vw, 2.4rem);
  line-height: 1.1;
}

.child-maintenance-estimator .text-3xl {
  font-size: clamp(1.75rem, 4vw, 2rem);
}

.child-maintenance-estimator .uppercase {
  text-transform: uppercase;
}

.child-maintenance-estimator .tracking-\[0\.18em\] {
  letter-spacing: 0.18em;
}

.child-maintenance-estimator .leading-6 {
  line-height: 1.5rem;
}

.child-maintenance-estimator .leading-7 {
  line-height: 1.75rem;
}

.child-maintenance-estimator .leading-8 {
  line-height: 2rem;
}

.child-maintenance-estimator .flex {
  display: flex;
}

.child-maintenance-estimator .flex-wrap {
  flex-wrap: wrap;
}

.child-maintenance-estimator .items-center {
  align-items: center;
}

.child-maintenance-estimator .justify-between {
  justify-content: space-between;
}

.child-maintenance-estimator .ml-auto {
  margin-left: auto;
}

.child-maintenance-estimator .h-2 {
  height: 0.5rem;
}

.child-maintenance-estimator .bg-\[\#ece8dc\] {
  background: #ece8dc;
}

.child-maintenance-estimator .bg-\[\#bd4b31\] {
  background: #bd4b31;
}

.child-maintenance-estimator button.bg-\[\#1d2520\],
.child-maintenance-estimator .bg-\[\#1d2520\] {
  background: #1d2520;
}

.child-maintenance-estimator .text-white {
  color: #fff;
}

.child-maintenance-estimator input:focus,
.child-maintenance-estimator select:focus,
.child-maintenance-estimator button:focus-visible {
  outline: 3px solid rgba(189, 75, 49, 0.22);
  outline-offset: 2px;
}

.child-maintenance-estimator [role='alert'] {
  display: block;
  color: #bd4b31;
  min-height: 1rem;
}

@media (min-width: 1024px) {
  .child-maintenance-estimator {
    padding: 4rem 2.5rem;
  }

  .child-maintenance-estimator > .grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .child-maintenance-estimator > .grid > div:first-child {
    position: sticky;
    top: 2rem;
  }
}

@media (min-width: 640px) {
  .child-maintenance-estimator .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .child-maintenance-estimator .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .child-maintenance-estimator .sm\:col-span-2 {
    grid-column: span 2 / span 2;
  }
}

@media (max-width: 640px) {
  .child-maintenance-estimator {
    padding: 1.5rem 1rem 2.5rem;
  }

  .child-maintenance-estimator h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .child-maintenance-estimator h2,
  .child-maintenance-estimator h3 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}
