.bpa-dots span:not(:last-child)::after {
  position: absolute !important;
  top: 24px !important;
  left: calc(50% + 24px) !important;
  width: calc(100% - 48px) !important;
  border-top: 2px dashed #cceedc !important;
  content: "" !important;
}

.bpa-dot.is-r1 {
  background: #cceedc !important;
  color: #00a94f !important;
}

.bpa-dot.is-r2 {
  background: #a6e7c8 !important;
  color: #00a94f !important;
}

.bpa-dot.is-r3 {
  background: #66cb95 !important;
  color: #00a94f !important;
}

.bpa-dot.is-r4 {
  background: #00a94f !important;
  color: #ffffff !important;
}

.bpa-dot.is-r5 {
  background: #00a94f !important;
  color: #ffffff !important;
}

.bpa-dot.is-hero {
  background: #00a94f !important;
  color: #ffffff !important;
}

.bpa-dot.is-half {
  background: linear-gradient(
    to top,
    #66cb95 0 50%,
    #cceedc 50% 100%
  ) !important;
  color: #00a94f !important;
}

.bpa-path .is-dim {
  opacity: 0.35 !important;
}

.bpa-sums span.is-hero {
  color: #00a94f !important;
}

.bpa-toggle-btn.is-active {
  background: #00a94f !important;
  color: #fff !important;
}

.bpa-layout.is-tableview {
  grid-template-columns: 1fr !important;
}

.bpa-layout.is-tableview .bpa-side {
  display: none !important;
}

.bpa-chart.is-hidden {
  display: none !important;
}

.bpa-tablewrap.is-hidden {
  display: none !important;
}

#ptt-calc input::placeholder {
  color: #666 !important;
  font-size: clamp(13px, 2vw, 14px) !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

.blue-calm * {
  box-sizing: border-box !important;
}

#ptt-calc label + span:focus-within {
  outline: 2px solid #00a94f !important;
  outline-offset: 2px !important;
}

.blue-calm button:focus-visible {
  outline: 2px solid #00a94f !important;
  outline-offset: 4px !important;
}

.blue-calm a:focus-visible {
  outline: 2px solid #00a94f !important;
  outline-offset: 4px !important;
}

.blue-text-summary summary::-webkit-details-marker {
  display: none !important;
}

.blue-terms-more {
  display: none !important;
}

.blue-terms-more i {
  transition: transform 0.2s ease;
}

.blue-terms.is-open .blue-terms-more i {
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .bpa-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .bpa-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .blue-terms {
    padding: 8px !important;
  }

  .blue-benefit-two {
    padding: 8px !important;
  }

  #ptt-calc > div {
    padding: 8px !important;
  }

  .bpa-side {
    padding-top: 0 !important;
  }

  .blue-terms:not(.is-open) .blue-terms-body {
    position: relative !important;
    max-height: 120px !important;
    overflow: hidden !important;
  }

  .blue-terms:not(.is-open) .blue-terms-body::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 56px !important;
    background: linear-gradient(
      to bottom,
      rgba(255, 248, 230, 0),
      #fff8e6
    ) !important;
  }

  .blue-terms-more {
    display: inline-flex !important;
  }

  .blue-registration-row dd {
    margin-left: 8px !important;
  }
}

@media (max-width: 600px) {
  .bpa-chart {
    gap: 4px !important;
  }

  .bpx-wrap .text-scroll {
    display: block !important;
    height: 1px !important;
    margin-bottom: 8px !important;
    padding: 8px 0 !important;
    opacity: 0 !important;
    animation: bpaScrollHint 2s ease-in-out infinite !important;
  }

  .bpx-wrap .text-scroll img {
    position: relative !important;
    top: -10px !important;
    max-width: 100% !important;
    margin: 0 0 0 auto !important;
    border: 0 !important;
  }

  .bpx-wrap .text-scroll p {
    display: inline !important;
    position: relative !important;
    top: -6px !important;
    margin: 0 0 0 8px !important;
    color: #00a94f !important;
    font-size: clamp(13px, 1.8vw, 14px) !important;
    line-height: 1.5em !important;
  }

  .bpa-table tfoot td:first-child {
    text-align: left !important;
  }

  .bpa-tablescroll {
    -webkit-overflow-scrolling: touch !important;
    -ms-overflow-style: none !important;
  }

  .bpa-tablescroll::-webkit-scrollbar {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bpx-wrap .text-scroll {
    opacity: 1 !important;
    animation: none !important;
  }
}

@keyframes bpaScrollHint {
  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}
