/* Medicare Prescription Payment Plan calculator ([sm_mppp_calculator]).
   Light surfaces only, so no dark-panel overrides are needed. Breakdance
   still restyles headings, paragraphs, labels, and buttons; the forced colors
   for those live in sm-ma-theme-bridge.css. */
.sm-mppp {
  color: var(--sm-body);
  background: var(--sm-white);
}
.sm-mppp .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.sm-mppp__inner {
  width: min(100% - 32px, 1100px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) 0;
}
.sm-mppp__eyebrow {
  margin: 0 0 var(--sm-space-2);
  color: var(--sm-purple-mid);
  font-family: var(--sm-font-head);
  font-size: var(--sm-text-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sm-mppp__title {
  max-width: 900px;
  margin: 0 0 var(--sm-space-3);
  color: var(--sm-purple);
  font-family: var(--sm-font-head);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.15;
}
.sm-mppp__intro {
  max-width: 820px;
  margin: 0 0 var(--sm-space-8);
  font-size: var(--sm-text-base);
  line-height: 1.65;
}
.sm-mppp__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--sm-space-6);
  align-items: start;
  margin: 0 0 var(--sm-space-8);
}
.sm-mppp__panel,
.sm-mppp__results,
.sm-mppp__schedule,
.sm-mppp__fit,
.sm-mppp__extra {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--sm-border-lt);
  border-radius: var(--sm-radius-md);
  background: var(--sm-linen);
  box-shadow: var(--sm-shadow-sm);
}
.sm-mppp__schedule,
.sm-mppp__fit,
.sm-mppp__extra {
  margin: 0 0 var(--sm-space-6);
}
.sm-mppp__extra {
  border-color: var(--sm-orange);
  background: var(--sm-orange-lt);
}
.sm-mppp__panel-title {
  margin: 0 0 var(--sm-space-4);
  color: var(--sm-purple);
  font-family: var(--sm-font-head);
  font-size: var(--sm-text-md);
  font-weight: 800;
  line-height: 1.25;
}
.sm-mppp__field {
  margin: 0 0 var(--sm-space-6);
}
.sm-mppp__label {
  display: block;
  margin: 0 0 var(--sm-space-1);
  color: var(--sm-purple);
  font-family: var(--sm-font-head);
  font-size: var(--sm-text-sm);
  font-weight: 800;
}
.sm-mppp__hint {
  margin: 0 0 var(--sm-space-2);
  color: var(--sm-muted);
  font-size: var(--sm-text-xs);
  line-height: 1.5;
}
.sm-mppp__scenarios {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm-space-2);
  margin: 0 0 var(--sm-space-6);
}
.sm-mppp__scenarios .sm-mppp__label {
  flex: 0 0 100%;
}
.sm-mppp__chip {
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid var(--sm-border);
  border-radius: var(--sm-radius-full);
  color: var(--sm-body);
  background: var(--sm-white);
  font-family: var(--sm-font-head);
  font-size: var(--sm-text-xs);
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}
.sm-mppp__chip:hover {
  border-color: var(--sm-purple-mid);
}
.sm-mppp__chip.is-active {
  border-color: var(--sm-purple);
  color: var(--sm-white);
  background: var(--sm-purple);
}
.sm-mppp__control {
  display: flex;
  align-items: stretch;
  max-width: 220px;
  margin: 0 0 var(--sm-space-2);
  border: 2px solid var(--sm-border);
  border-radius: var(--sm-radius);
  background: var(--sm-white);
}
.sm-mppp__control:focus-within {
  border-color: var(--sm-purple);
}
.sm-mppp__prefix {
  display: flex;
  align-items: center;
  padding: 0 0 0 var(--sm-space-3);
  color: var(--sm-muted);
  font-size: var(--sm-text-base);
  font-weight: 700;
}
.sm-mppp__number {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 var(--sm-space-3) 0 var(--sm-space-1);
  border: 0;
  outline: 0;
  color: var(--sm-body);
  background: transparent;
  font-family: var(--sm-font-body);
  font-size: var(--sm-text-base);
  font-weight: 700;
}
.sm-mppp__range {
  width: 100%;
  min-height: 32px;
  accent-color: var(--sm-purple);
}
.sm-mppp__select {
  width: 100%;
  min-height: 48px;
  padding: 0 var(--sm-space-3);
  border: 2px solid var(--sm-border);
  border-radius: var(--sm-radius);
  color: var(--sm-body);
  background: var(--sm-white);
  font-family: var(--sm-font-body);
  font-size: var(--sm-text-sm);
}
.sm-mppp__cap {
  display: grid;
  gap: var(--sm-space-1);
  padding: var(--sm-space-4);
  border-left: 4px solid var(--sm-orange);
  border-radius: var(--sm-radius-sm);
  background: var(--sm-white);
}
.sm-mppp__cap-label {
  color: var(--sm-muted);
  font-size: var(--sm-text-xs);
  font-weight: 700;
}
.sm-mppp__cap-value {
  color: var(--sm-purple);
  font-family: var(--sm-font-head);
  font-size: var(--sm-text-xl);
  font-weight: 800;
}
.sm-mppp__cap-note {
  color: var(--sm-muted);
  font-size: var(--sm-text-xs);
  line-height: 1.5;
}
.sm-mppp__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sm-space-3);
  margin: 0 0 var(--sm-space-4);
}
.sm-mppp__stat {
  display: grid;
  gap: var(--sm-space-1);
  align-content: start;
  padding: var(--sm-space-4);
  border: 1px solid var(--sm-border-lt);
  border-radius: var(--sm-radius);
  background: var(--sm-white);
}
.sm-mppp__stat-label {
  color: var(--sm-purple);
  font-size: var(--sm-text-xs);
  font-weight: 800;
  line-height: 1.35;
}
.sm-mppp__stat-value {
  color: var(--sm-purple);
  font-family: var(--sm-font-head);
  font-size: var(--sm-text-lg);
  font-weight: 800;
}
.sm-mppp__stat-note {
  color: var(--sm-muted);
  font-size: var(--sm-text-xs);
  line-height: 1.4;
}
.sm-mppp__summary {
  margin: 0 0 var(--sm-space-5);
  font-size: var(--sm-text-sm);
  font-weight: 700;
  line-height: 1.6;
}
.sm-mppp__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm-space-4);
  margin: 0 0 var(--sm-space-3);
  font-size: var(--sm-text-xs);
  font-weight: 700;
}
.sm-mppp__legend-item::before {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  border-radius: 3px;
  vertical-align: -2px;
  content: "";
}
.sm-mppp__legend-item--without::before {
  background: var(--sm-orange);
}
.sm-mppp__legend-item--with::before {
  background: var(--sm-purple);
}
.sm-mppp__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 220px;
  padding: var(--sm-space-3) var(--sm-space-2) var(--sm-space-2);
  background: var(--sm-white);
  border-radius: var(--sm-radius);
}
.sm-mppp__bar-group {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  height: 100%;
}
.sm-mppp__bar-pair {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-end;
  gap: 2px;
  border-bottom: 2px solid var(--sm-border);
}
.sm-mppp__bar {
  flex: 1 1 0;
  min-width: 4px;
  border-radius: 3px 3px 0 0;
}
.sm-mppp__bar--without {
  background: var(--sm-orange);
}
.sm-mppp__bar--with {
  background: var(--sm-purple);
}
.sm-mppp__bar-label {
  margin: 4px 0 0;
  color: var(--sm-muted);
  font-size: 12px;
  text-align: center;
}
.sm-mppp__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--sm-border-lt);
  border-radius: var(--sm-radius);
  -webkit-overflow-scrolling: touch;
}
.sm-mppp__table {
  width: 100%;
  min-width: 640px;
  border-spacing: 0;
  border-collapse: separate;
  background: var(--sm-white);
}
.sm-mppp__table th,
.sm-mppp__table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--sm-border-lt);
  font-size: var(--sm-text-sm);
  text-align: right;
}
.sm-mppp__table thead th {
  color: var(--sm-purple);
  background: var(--sm-purple-lt);
  font-family: var(--sm-font-head);
  font-size: var(--sm-text-xs);
  font-weight: 800;
}
.sm-mppp__table th:first-child {
  text-align: left;
}
.sm-mppp__table tbody th {
  color: var(--sm-purple);
  font-weight: 700;
}
.sm-mppp__table tbody td:nth-child(3) {
  color: var(--sm-purple);
  font-weight: 800;
}
.sm-mppp__table tbody tr:last-child th,
.sm-mppp__table tbody tr:last-child td {
  border-bottom: 0;
}
.sm-mppp__checks {
  display: grid;
  gap: var(--sm-space-3);
  margin: 0 0 var(--sm-space-4);
  padding: 0;
  border: 0;
}
.sm-mppp__check {
  display: flex;
  align-items: flex-start;
  gap: var(--sm-space-3);
  padding: var(--sm-space-3) var(--sm-space-4);
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  background: var(--sm-white);
  font-size: var(--sm-text-sm);
  line-height: 1.5;
  cursor: pointer;
}
.sm-mppp__check input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--sm-purple);
}
.sm-mppp__fit-result {
  min-height: 1.5em;
  margin: 0 0 var(--sm-space-5);
  font-size: var(--sm-text-sm);
  font-weight: 700;
  line-height: 1.6;
}
.sm-mppp__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sm-space-3) var(--sm-space-5);
}
.sm-mppp__cta p {
  flex: 1 1 260px;
  margin: 0;
  font-size: var(--sm-text-sm);
}
.sm-mppp__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 var(--sm-space-6);
  border-radius: var(--sm-radius-full);
  color: var(--sm-white);
  background: var(--sm-orange);
  box-shadow: var(--sm-shadow-cta);
  font-family: var(--sm-font-head);
  font-size: var(--sm-text-sm);
  font-weight: 800;
  text-decoration: none;
  transition: background var(--sm-transition);
}
.sm-mppp__button:hover,
.sm-mppp__button:focus-visible {
  background: var(--sm-orange-hover);
}
.sm-mppp__phone {
  color: var(--sm-muted);
  font-size: var(--sm-text-xs);
  font-weight: 700;
}
.sm-mppp__extra-list {
  margin: 0 0 var(--sm-space-3);
  padding-left: 1.25em;
  font-size: var(--sm-text-sm);
  line-height: 1.65;
}
.sm-mppp__extra-list li {
  margin: 0 0 var(--sm-space-2);
}
.sm-mppp__note {
  color: var(--sm-muted);
  font-size: var(--sm-text-xs);
  line-height: 1.6;
}
.sm-mppp__terms {
  max-width: 900px;
  color: var(--sm-muted);
  font-size: var(--sm-text-xs);
  line-height: 1.7;
}
.sm-mppp__terms-title {
  margin: 0 0 var(--sm-space-2);
  color: var(--sm-purple);
  font-family: var(--sm-font-head);
  font-size: var(--sm-text-sm);
  font-weight: 800;
}
.sm-mppp__terms p {
  margin: 0 0 var(--sm-space-2);
}
.sm-mppp :focus-visible {
  outline: 3px solid var(--sm-orange);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .sm-mppp__layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .sm-mppp__stats {
    grid-template-columns: minmax(0, 1fr);
  }
  .sm-mppp__bars {
    gap: 3px;
  }
  .sm-mppp__bar-label {
    font-size: 10px;
  }
  .sm-mppp__button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sm-mppp__button {
    transition: none;
  }
}
