/* v599 – CTA no longer consumes any editor height. It is anchored to the
   workspace panel, outside the scalable scene, with collision visibility
   controlled by app-v449.js for zoom, resize and scroll states. */
html.ahp-layout-v497 #editorScreen .workspace-checkout-rail {
  display: none !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
}

@media (min-width: 1000px) and (min-height: 600px) {
  html.ahp-layout-v497 #editorScreen .workspace-checkout-rail {
    display: flex !important;
    position: absolute !important;
    right: 17px !important;
    bottom: 10px !important;
    left: auto !important;
    top: auto !important;
    z-index: 30 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    align-items: center !important;
    justify-content: flex-end !important;
    visibility: hidden !important;
  }
  html.ahp-layout-v497 #editorScreen .workspace-checkout-rail.is-cta-safe {
    visibility: visible !important;
  }
}

html.ahp-layout-v497 #editorScreen #desktopCheckoutCta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  min-width: 204px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 10px 17px !important;
  border: 1px solid #07852b !important;
  border-radius: 10px !important;
  background: #0aa139 !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  box-shadow: 0 4px 10px rgba(0, 100, 32, .18) !important;
  transition: background-color .15s ease, border-color .15s ease,
              transform .15s ease, box-shadow .15s ease !important;
}
html.ahp-layout-v497 #editorScreen #desktopCheckoutCta > .desktop-checkout-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  margin-left: 0 !important;
  vertical-align: middle !important;
  transform: translateY(-1px) !important;
}
html.ahp-layout-v497 #editorScreen #desktopCheckoutCta:hover {
  background: #087f2e !important;
  border-color: #066322 !important;
  box-shadow: 0 7px 15px rgba(0, 100, 32, .24) !important;
  transform: translateY(-1px) !important;
}
html.ahp-layout-v497 #editorScreen #desktopCheckoutCta:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(0, 100, 32, .2) !important;
}
html.ahp-layout-v497 #editorScreen #desktopCheckoutCta:focus-visible {
  outline: 3px solid #165fca !important;
  outline-offset: 3px !important;
}
@media (prefers-reduced-motion: reduce) {
  html.ahp-layout-v497 #editorScreen #desktopCheckoutCta {
    transition: none !important;
    transform: none !important;
  }
}
