/* v573: only the two setup CTAs and the cart preview CTA use green.
   Reuse the configurator's existing --green; do not recolor other actions. */
html.ahp-layout-v497 #app #startScreen .start-card .start-action-set :is(#startButton, #continueConfigurationButton),
html.ahp-layout-v497 :is(#topSummaryDropdown, #startTopSummaryDropdown) .top-summary-cart-footer .top-summary-cart-cta {
  background: var(--green, #1e9b38) !important;
  border-color: var(--green, #1e9b38) !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease !important;
}

/* Slight emphasis over the unchanged 44px / 14px secondary setup buttons. */
html.ahp-layout-v497 #app #startScreen .start-card .start-action-set :is(#startButton, #continueConfigurationButton) {
  box-sizing: border-box !important;
  min-height: 50px !important;
  height: auto !important;
  max-height: none !important;
  max-width: 100% !important;
  padding: 13px 24px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
}
html.ahp-layout-v497 :is(#topSummaryDropdown, #startTopSummaryDropdown) .top-summary-cart-cta > span {
  color: inherit !important;
}

/* Hover stays green; older rules changed these buttons back to red. */
@media (hover: hover) and (pointer: fine) {
  html.ahp-layout-v497 #app #startScreen .start-card .start-action-set :is(#startButton, #continueConfigurationButton):hover:not(:disabled),
  html.ahp-layout-v497 :is(#topSummaryDropdown, #startTopSummaryDropdown) .top-summary-cart-footer .top-summary-cart-cta:hover:not(:disabled) {
    background: #187c2d !important;
    border-color: #187c2d !important;
    box-shadow: 0 4px 12px rgba(30, 155, 56, .22) !important;
    transform: translateY(-1px) !important;
  }
}
html.ahp-layout-v497 #app #startScreen .start-card .start-action-set :is(#startButton, #continueConfigurationButton):focus-visible,
html.ahp-layout-v497 :is(#topSummaryDropdown, #startTopSummaryDropdown) .top-summary-cart-footer .top-summary-cart-cta:focus-visible {
  background: #187c2d !important;
  border-color: #187c2d !important;
  outline: 2px solid var(--green, #1e9b38) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 1px #fff !important;
}
html.ahp-layout-v497 #app #startScreen .start-card .start-action-set :is(#startButton, #continueConfigurationButton):active:not(:disabled),
html.ahp-layout-v497 :is(#topSummaryDropdown, #startTopSummaryDropdown) .top-summary-cart-footer .top-summary-cart-cta:active:not(:disabled) {
  background: #146b26 !important;
  border-color: #146b26 !important;
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html.ahp-layout-v497 #app #startScreen .start-card .start-action-set :is(#startButton, #continueConfigurationButton),
  html.ahp-layout-v497 :is(#topSummaryDropdown, #startTopSummaryDropdown) .top-summary-cart-footer .top-summary-cart-cta {
    transition: none !important;
    transform: none !important;
  }
}
