.calculator-page { background: #f5f8f7; }
.calculator-header { min-height: 86px; padding: 12px clamp(22px, 5vw, 78px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--navy); }
.calculator-header > a:first-child { width: min(330px, 58vw); }
.calculator-header img { border-radius: 12px; }
.calculator-intro { max-width: 1050px; margin: 0 auto; padding: 64px 24px 36px; }
.calculator-intro .back-link { display: inline-block; margin-bottom: 42px; color: var(--teal-dark); font-size: .88rem; font-weight: 700; text-decoration: none; }
.calculator-intro h1 { max-width: 850px; margin-bottom: 18px; font-size: clamp(2.5rem, 5vw, 4.6rem); }
.calculator-intro > p:last-child { max-width: 720px; color: var(--muted); font-size: 1.03rem; }
.calculator-shell { max-width: 1050px; min-height: var(--desktop-height); margin: 0 auto 70px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.VisiCalcClass { display: block; width: 100%; min-width: 640px; height: var(--desktop-height); margin: 0; padding: 0; border: 0; background: white; }
.calculator-help { max-width: 1050px; margin: 0 auto 80px; padding: 38px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-radius: 24px; background: var(--cream); }
.calculator-help h2 { margin-bottom: 10px; font-size: 1.7rem; }
.calculator-help p { max-width: 600px; margin: 0; color: var(--muted); }
.calculator-footer { display: block; padding: 32px 24px; text-align: center; }
.calculator-footer p { margin: 5px 0; color: #a9b5c1; font-size: .78rem; }
@media (max-width: 767px) {
  .calculator-header { min-height: 70px; padding: 9px 15px; }
  .calculator-shell { min-height: var(--mobile-height); margin-inline: 0; border-inline: 0; border-radius: 0; }
  .VisiCalcClass { min-width: 100%; height: var(--mobile-height); }
  .calculator-help { margin: 0 20px 60px; padding: 28px 22px; align-items: stretch; flex-direction: column; }
  .calculator-help .hero-actions { display: grid; }
}
