/* Home plan interactions use the original prototype layout and breakpoints. */
#plans:not(.home-plans-ready) .mobile-plan-controls,
#plans:not(.home-plans-ready) .device-plan-payment,
#plans:not(.home-plans-ready) .preview-plan-trigger {
  display: none;
}
#plans .device-plan-payment button:focus-visible,
#plans .mobile-plan-tabs button:focus-visible,
#plans .preview-plan-trigger:focus-visible,
#plans .home-plan-terms-link:focus-visible {
  outline: 2px solid #0b8f7a;
  outline-offset: 2px;
}
#plans .device-plan-card[data-plan='ULTRA'] .device-plan-payment button:focus-visible {
  outline-color: #26ccb2;
}
#plans .home-secondary-cta {
  min-height: 36px;
  border-color: #89929f;
  color: #758395;
  font-weight: 700;
}
#plans .home-secondary-cta:hover {
  background: #f4f5f8;
}
#plans .home-plan-terms-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  color: #087a69;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 960px) {
  #plans .home-secondary-cta {
    font-size: 15px;
  }
}
@media (max-width: 767px) {
  #plans:not(.home-plans-ready) .device-plan-card {
    display: flex;
  }
  #plans.home-plans-ready .device-plan-card[data-selected='false'] {
    display: none;
  }
  #plans.home-plans-ready .device-plan-card[data-selected='true'] {
    display: flex;
  }
  #plans .home-secondary-cta {
    min-height: 40px;
    white-space: nowrap;
  }
}
@media (max-width: 420px) {
  #plans.section-divider {
    scroll-margin-top: 108px !important;
  }
}

/* Catalog feedback stays within the existing plan section. */
#plans .home-price-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: #526172;
  font-size: 13px;
  margin-bottom: 12px;
}
#plans .home-price-status:has([data-home-price-retry][hidden]) {
  display: none;
}
#plans [data-home-price-retry] {
  border: 1px solid #89929f;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}
#plans [data-home-price-retry]:focus-visible {
  outline: 2px solid #0b8f7a;
  outline-offset: 2px;
}
#plans .device-plan-payment button:disabled {
  cursor: wait;
  opacity: 0.55;
}
#plans .device-plan-price[aria-busy='true'],
#plans .device-plan-price.is-price-unavailable {
  font-size: 20px;
}
#plans .device-plan-price {
  overflow-wrap: anywhere;
}
