/* 0.9.56: the calculator shares the page with the compact SEO section.
   Do not reserve a full viewport below a short wizard step. */
body.mymove-calculator-page .mymove-calculator,
body.mymove-calculator-page .mymove-calculator .customer-calculator-root {
  min-height: 0 !important;
}

body.mymove-calculator-page .mymove-costing-info {
  box-sizing: border-box;
  max-width: 1120px;
  margin: 10px auto 22px;
  padding: 0;
  border: 1px solid rgba(63, 45, 32, 0.16);
  border-radius: 10px;
  background: transparent;
  color: #2a211c;
}

body.mymove-calculator-page .mymove-costing-disclosure > summary {
  min-height: 44px;
  padding: 11px 14px;
  cursor: pointer;
  font-weight: 650;
  line-height: 1.35;
}

body.mymove-calculator-page .mymove-costing-disclosure > summary:focus-visible {
  outline: 3px solid rgba(243, 111, 33, 0.35);
  outline-offset: 2px;
}

body.mymove-calculator-page .mymove-costing-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 14px 14px;
}

body.mymove-calculator-page .mymove-costing-content > h2,
body.mymove-calculator-page .mymove-costing-content > p:not(.mymove-costing-links) {
  grid-column: 1 / -1;
}

body.mymove-calculator-page .mymove-costing-content > h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
}

body.mymove-calculator-page .mymove-costing-content > p {
  margin: 0 0 6px;
  line-height: 1.5;
}

body.mymove-calculator-page .mymove-costing-content .mymove-costing-item {
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(63, 45, 32, 0.12);
  border-radius: 14px;
  background: #ffffff;
  overflow: clip;
}

body.mymove-calculator-page .mymove-costing-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 11px 46px 11px 14px;
  cursor: pointer;
  list-style: none;
}

body.mymove-calculator-page .mymove-costing-item summary::-webkit-details-marker {
  display: none;
}

body.mymove-calculator-page .mymove-costing-item summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff1e7;
  color: #d9570c;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  transform: translateY(-50%);
}

body.mymove-calculator-page .mymove-costing-item[open] summary::after {
  content: "−";
}

body.mymove-calculator-page .mymove-costing-item summary:focus-visible {
  outline: 3px solid rgba(243, 111, 33, 0.35);
  outline-offset: -3px;
}

body.mymove-calculator-page .mymove-costing-item h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

body.mymove-calculator-page .mymove-costing-answer {
  padding: 0 14px 14px;
}

body.mymove-calculator-page .mymove-costing-answer p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

body.mymove-calculator-page .mymove-costing-content > .mymove-costing-links {
  grid-column: 1 / -1;
  padding-top: 4px;
  font-size: 0.92rem;
}

body.mymove-calculator-page .mymove-costing-content > .mymove-costing-links a {
  font-weight: 650;
  color: #c94f09;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  body.mymove-calculator-page .mymove-costing-content {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 12px 12px;
  }

  body.mymove-calculator-page .mymove-costing-content > h2,
  body.mymove-calculator-page .mymove-costing-content > p,
  body.mymove-calculator-page .mymove-costing-content > .mymove-costing-links {
    grid-column: 1;
  }
}

/* 0.9.63: keep supporting SEO copy useful without competing with the wizard's
   first action on mobile. */
@media (max-width: 760px) {
  body.mymove-calculator-page .mymove-costing-info {
    margin: 10px max(8px, env(safe-area-inset-right)) 20px max(8px, env(safe-area-inset-left));
  }

  body.mymove-calculator-page .mymove-costing-content > h2 {
    font-size: 1.22rem;
  }

  body.mymove-calculator-page .mymove-costing-content > p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  body.mymove-calculator-page .mymove-costing-item summary {
    min-height: 52px;
    padding-block: 10px;
  }

  body.mymove-calculator-page .mymove-costing-content {
    gap: 8px;
  }
}
