/* v538: visual refinement of the start form only.
   Keep the v537 layout foundation, routing, validation and editor untouched.
   Group widths are bounded: short options no longer fill the whole panel. */
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-card {
  max-width: 1080px !important;
  padding: 30px 32px !important;
  gap: 26px !important;
  border-radius: 20px !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-copy { margin: 0 0 28px !important; }
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-title {
  font-size: clamp(23px, 1.9vw, 27px) !important;
  font-weight: 700 !important;
  letter-spacing: -.35px !important;
  line-height: 1.25 !important;
  margin: 0 0 10px !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-title-brand,
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-title-rest { font-weight: 700 !important; }
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-title-brand { margin-inline-end: .22em !important; }
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-subtitle {
  font-size: 18px !important;
  font-weight: 450 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  color: rgba(255,255,255,.82) !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .chooser-block {
  margin: 0 !important;
  padding: 0 !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .chooser-block + .chooser-block { margin-top: 20px !important; }
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .chooser-block > h2 {
  margin: 0 0 9px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: rgba(255,255,255,.93) !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .choice-grid {
  width: 100% !important;
  gap: 12px !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 #assemblyTypeChoices { max-width: 428px !important; }
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 #colorChoices { max-width: 528px !important; }
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 #depthChoices { max-width: 348px !important; }
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .choice-card,
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 #colorChoices .choice-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 46px !important;
  height: 46px !important;
  max-height: none !important;
  padding: 7px 32px 7px 12px !important;
  gap: 9px !important;
  border-radius: 9px !important;
  border-color: rgba(255,255,255,.17) !important;
  background: linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.025)) !important;
  box-shadow: none !important;
  transition: background .16s ease, border-color .16s ease, color .16s ease !important;
  transform: none !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .choice-card > span:last-child { min-width: 0 !important; }
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .choice-card .choice-label {
  font-size: 14px !important;
  font-weight: 550 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  color: #fff !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .choice-card:hover {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.27) !important;
  box-shadow: none !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .choice-card.active,
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .choice-card.active:hover,
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .choice-card.active:focus-visible {
  background: rgba(40,184,100,.07) !important;
  border-color: rgba(45,184,103,.85) !important;
  box-shadow: none !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .choice-card:focus-visible,
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-action-set .btn:focus-visible {
  outline: 2px solid rgba(255,255,255,.78) !important;
  outline-offset: 3px !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .choice-card.active::after {
  top: 50% !important;
  right: 10px !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 :is(.assembly-swatch,.numeric-swatch) {
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  border-radius: 7px !important;
  font-weight: 650 !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 #colorChoices .color-brush-swatch {
  flex: 0 0 40px !important;
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 #colorChoices .color-brush-swatch img {
  width: 40px !important;
  height: 17px !important;
  object-fit: contain !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .wall-input { gap: 6px !important; }
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 #wallInputs {
  max-width: 232px !important;
  gap: 12px !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 #wallInputs.corner-mode { max-width: 476px !important; }
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .wall-input > span:not(.ahp-wall-control),
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .wall-input-label-line > span:first-child {
  font-size: 12px !important;
  font-weight: 450 !important;
  line-height: 1.35 !important;
  color: rgba(255,255,255,.72) !important;
  margin-bottom: 0 !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .ahp-wall-control,
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .ahp-wall-control input {
  height: 44px !important;
  min-height: 44px !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .ahp-wall-control input {
  font-size: 16px !important;
  font-weight: 500 !important;
  font-variant-numeric: tabular-nums;
  border-radius: 9px !important;
  background: rgba(255,255,255,.035) !important;
  border-color: rgba(255,255,255,.20) !important;
  box-shadow: none !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .wall-input.is-valid .ahp-wall-control input {
  border-color: rgba(45,184,103,.75) !important;
  box-shadow: none !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .wall-input.is-invalid .ahp-wall-control input {
  border-color: #ed555b !important;
  box-shadow: none !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .ahp-wall-control input:focus-visible {
  outline: 2px solid rgba(255,255,255,.68) !important;
  outline-offset: 2px !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .ahp-wall-valid-mark {
  width: 18px !important;
  height: 18px !important;
  border: 0 !important;
  font-size: 12px !important;
  box-shadow: none !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .ahp-number-stepper {
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: none !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-actions { margin-top: 24px !important; }
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-action-set:not(.hidden):not([hidden]) {
  gap: 10px !important;
  align-items: center !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-action-set .btn {
  min-height: 44px !important;
  padding: 11px 18px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  transform: none !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-action-set .btn-light {
  background: rgba(255,255,255,.045) !important;
  border-color: rgba(255,255,255,.20) !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-action-set .btn-light:hover {
  background: rgba(255,255,255,.09) !important;
}

/* Supporting benefits stay below the whole form, with a quieter visual weight. */
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-card > .start-usp {
  padding-top: 22px !important;
  gap: 12px !important;
  border-top-color: rgba(255,255,255,.10) !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-usp-item {
  grid-template-columns: 34px minmax(0,1fr) !important;
  padding: 13px 12px !important;
  column-gap: 10px !important;
  row-gap: 5px !important;
  border-radius: 10px !important;
  border-color: rgba(255,255,255,.11) !important;
  background: rgba(255,255,255,.025) !important;
  box-shadow: none !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-usp-item:hover {
  background: rgba(255,255,255,.025) !important;
  border-color: rgba(255,255,255,.11) !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-usp-item .start-usp-icon {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  align-self: start !important;
  margin-top: 2px !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-usp-item h2 {
  font-size: 12.5px !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
}
html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-usp-item p {
  font-size: 11.5px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  color: rgba(255,255,255,.77) !important;
}

/* On desktop a consistent label column makes the four steps easy to scan.
   Inputs never expand into the remaining horizontal space. */
@media (min-width: 900px) {
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-card-main { --start-label-column: 218px; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .chooser-block {
    display: grid !important;
    grid-template-columns: var(--start-label-column) minmax(0,1fr) !important;
    column-gap: 24px !important;
    align-items: center !important;
  }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .chooser-block > h2 { margin: 0 !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-actions { padding-left: calc(var(--start-label-column) + 24px) !important; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-card-main { --start-label-column: 190px; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .chooser-block { column-gap: 20px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-actions { padding-left: calc(var(--start-label-column) + 20px) !important; }
}
@media (max-width: 899px) {
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-card { padding: 26px !important; gap: 24px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-title { font-size: 23px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-copy { margin-bottom: 24px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-actions { padding-left: 0 !important; }
}
@media (max-width: 599px) {
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-card { padding: 20px 16px !important; gap: 22px !important; border-radius: 16px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-title { font-size: 20px !important; line-height: 1.3 !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-subtitle { font-size: 16px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .chooser-block + .chooser-block { margin-top: 18px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .chooser-block > h2 { font-size: 13px !important; margin-bottom: 8px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .choice-grid { gap: 8px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .choice-card { height: 46px !important; min-height: 46px !important; padding: 6px 26px 6px 9px !important; gap: 7px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .choice-card .choice-label { font-size: 12px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .choice-card.active::after { right: 7px !important; width: 16px !important; height: 16px !important; font-size: 11px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 #colorChoices .choice-card {
    height: 56px !important; min-height: 56px !important;
    flex-direction: column !important; align-items: flex-start !important;
    justify-content: center !important; gap: 4px !important;
    padding-left: 10px !important;
  }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 #colorChoices .color-brush-swatch { flex: 0 0 16px !important; height: 16px !important; min-height: 16px !important; max-height: 16px !important; width: 34px !important; min-width: 34px !important; max-width: 34px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 #colorChoices .color-brush-swatch img { width: 34px !important; height: 14px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-action-set .btn { flex: 0 1 auto !important; font-size: 12px !important; padding: 11px 13px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-card > .start-usp { padding-top: 18px !important; gap: 8px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-usp-item { padding: 11px 12px !important; }
}
@media (max-width: 479px) {
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 #assemblyTypeChoices .choice-card { padding-left: 7px !important; gap: 6px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 #assemblyTypeChoices .assembly-swatch { width: 24px !important; min-width: 24px !important; max-width: 24px !important; height: 26px !important; flex-basis: 24px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 #assemblyTypeChoices .choice-label { white-space: normal !important; }
}
@media (min-width: 900px) and (max-height: 800px) {
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-card { padding: 22px 28px !important; gap: 20px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-copy { margin-bottom: 22px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-title { font-size: 25px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .chooser-block + .chooser-block { margin-top: 16px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-actions { margin-top: 20px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-card > .start-usp { padding-top: 16px !important; }
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .start-usp-item { padding: 11px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 .choice-card { transition: none !important; }
}

/* On the narrowest phones only, the two wall fields stack to preserve readability. */
@media (max-width: 359px) {
  html.ahp-layout-v497 #app #startScreen.start-usp-below-v537.start-refined-v538 #wallInputs.corner-mode { grid-template-columns: minmax(0,1fr) !important; max-width: 280px !important; }
}
