/* v252 — restore original Framer mobile calculator UI on the two article routes.
   All visual changes are restricted to widths <= 809.98px. */
@media (max-width: 809.98px) {
  /* Cost article legacy UI coexists with the newer four-step v249 phone UI.
     The two-ID selector from article-framer-fidelity.css defeated v249's
     earlier hide. Keep the underlying DOM for its price-calculation script. */
  #main #bv-planner [data-framer-name="SaaS Video Scope Estimator v5"].bv-v249-active .bv-estimator-mobile-summary,
  #main #bv-planner [data-framer-name="SaaS Video Scope Estimator v5"].bv-v249-active .bv-estimator-step-kicker,
  #main #bv-planner [data-framer-name="SaaS Video Scope Estimator v5"].bv-v249-active .bv-estimator-steps {
    display: none !important;
  }

  /* Don't display the result on Extras/step 4. Show it only on the final screen. */
  #main #bv-planner [data-framer-name="SaaS Video Scope Estimator v5"].bv-v249-active:not([data-bv-v249-screen="4"]) section[aria-label="Estimate"] {
    display: none !important;
  }
  #main #bv-planner [data-framer-name="SaaS Video Scope Estimator v5"].bv-v249-active[data-bv-v249-screen="4"] section[aria-label="Estimate"] {
    display: flex !important;
  }

  /* Framer Option uses textAlign: isMobile ? "right" : "left" for plan prices.
     Restored desktop HTML held a left-aligned inline style. Price only. */
  #main [data-framer-name="SaaS Video Scope Estimator v5"].bv-v249-active [data-bv-edit-group="0"] button.bv-choice > span:last-child > span:last-child {
    text-align: right !important;
  }
}
