.mi-stage-card {
  --mi-stage-ink: #293139;
  --mi-stage-muted: #4e6367;
  --mi-stage-teal: #286c73;
  --mi-stage-blue: #415a9d;
  --mi-stage-line: #cbd9d6;
  display: grid;
  gap: 12px;
  width: 100%;
  min-width: 0;
  container-type: inline-size;
  font: inherit;
  color: var(--mi-stage-ink);
  text-align: start;
}
.mi-stage-card *, .mi-stage-card *::before, .mi-stage-card *::after { box-sizing: border-box; }
.mi-stage-card__context { font-weight: 700; color: var(--mi-stage-teal); font-size: .85rem; overflow-wrap: anywhere; }
.mi-stage-card .mi-stage-card__steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none;
  margin: 0; padding: 0; font-size: .78rem; line-height: 1.25;
}
.mi-stage-card .mi-stage-card__step { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; padding: 0; margin: 0; min-width: 0; text-align: center; }
.mi-stage-card__step:not(:last-child)::after { content: ""; position: absolute; left: 50%; width: 100%; top: 8px; height: 2px; background: var(--mi-stage-line); z-index: 0; }
.mi-stage-card__step--done:not(:last-child)::after { background: var(--mi-stage-teal); }
.mi-stage-card__marker { position: relative; z-index: 1; width: 18px; height: 18px; border: 1.5px solid #708483; border-radius: 50%; background: white; margin-bottom: 2px; }
.mi-stage-card__step--current .mi-stage-card__marker { border: 2px solid var(--mi-stage-teal); }
.mi-stage-card__step--current .mi-stage-card__marker::after { content: ""; position: absolute; inset: 3px; background: var(--mi-stage-teal); border-radius: 50%; }
.mi-stage-card__step--done .mi-stage-card__marker { border-color: var(--mi-stage-teal); background: var(--mi-stage-teal); }
.mi-stage-card__step--done .mi-stage-card__marker::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid white; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.mi-stage-card__step-label { font-weight: 700; color: var(--mi-stage-ink); }
.mi-stage-card__step-status { font-size: .74rem; color: var(--mi-stage-muted); }
.mi-stage-card__step--current .mi-stage-card__step-status { color: var(--mi-stage-teal); font-weight: 700; }
.mi-stage-card__balance, .mi-stage-card__next { display: grid; gap: 7px; min-width: 0; border-radius: 12px; padding: clamp(14px, 4%, 21px); }
.mi-stage-card__balance { background: #edf0fa; }
.mi-stage-card__stage { color: var(--mi-stage-blue); font-size: .81rem; font-weight: 750; }
.mi-stage-card__amount { font-size: clamp(1.6rem, 8.1cqi, 2.8rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 680; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.mi-stage-card__title { font-weight: 700; line-height: 1.32; font-size: 1.06rem; }
.mi-stage-card .mi-stage-card__why, .mi-stage-card .mi-stage-card__next-copy { margin: 0; font: inherit; font-size: .91rem; line-height: 1.5; color: var(--mi-stage-muted); }
.mi-stage-card__next { background: #eaf4f2; }
.mi-stage-card__next-title { color: #245a5c; font-weight: 750; font-size: .91rem; }
.mi-stage-card .mi-stage-card__action { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #415da7; border-radius: 24px; padding: 9px 16px; margin: 2px 0 0; background: #415da7; color: white; font: 650 .9rem/1.3 Manrope, Arial, sans-serif; cursor: pointer; }
.mi-stage-card__action:focus-visible { outline: 3px solid #263d78; outline-offset: 3px; }
@container (max-width: 285px) {
  .mi-stage-card .mi-stage-card__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 3px; }
  .mi-stage-card__step:not(:last-child)::after { display: none; }
  .mi-stage-card__step-label { font-size: .8rem; }
}
@media (forced-colors: active) {
  .mi-stage-card__step--done .mi-stage-card__marker, .mi-stage-card__step--current .mi-stage-card__marker { border-color: Highlight; }
  .mi-stage-card__step--done .mi-stage-card__marker::after { border-color: CanvasText; }
  .mi-stage-card__step--current .mi-stage-card__marker::after { background: Highlight; forced-color-adjust: none; }
}

