/* Checkout flow — design tokens from mockup spec.
   Typography: Nunito (body) + Plus Jakarta Sans (display) — existing app type system, not Poppins. */

.checkout-page {
  --co-bg: #fdeef1;
  --co-bg-top: #fbe2e8;
  --co-card: #ffffff;
  --co-card-warm: #fffaf9;
  --co-text: #2f2350;
  --co-text-secondary: #8a7f97;
  --co-accent: #8767c8;
  --co-accent-hover: #6f52ac;
  --co-accent-tint: #efe7fa;
  --co-success-text: #3f8f5a;
  --co-success-bg: #e8f5ec;
  --co-warn-text: #8a5a17;
  --co-warn-bg: #faeeda;
  --co-error-text: #b23b3b;
  --co-error-bg: #fbe9e9;
  --co-border: #ecdfe3;
  --co-font-display: "Plus Jakarta Sans", "Nunito", sans-serif;
  --co-font-body: "Nunito", sans-serif;
  --co-radius-card: 22px;
  --co-radius-input: 12px;
  --co-radius-pill: 30px;
  --co-shadow: 0 16px 40px rgba(120, 70, 110, 0.12);
  --co-summary-width: 340px;

  min-height: 100vh;
  background: linear-gradient(180deg, var(--co-bg-top) 0%, var(--co-bg) 22%);
  color: var(--co-text);
  font-family: var(--co-font-body);
}

.co-header .wrap.inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.co-header .brand-tag { display: none; }

/* ── Two-column layout (flexbox) ── */
.co-layout {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.co-plan-summary {
  flex: 0 0 var(--co-summary-width);
  width: var(--co-summary-width);
  position: sticky;
  top: 24px;
}

.co-steps {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Plan summary card (left, sticky) ── */
.co-summary__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--co-accent);
  text-decoration: none;
  margin-bottom: 16px;
}
.co-summary__back:hover { color: var(--co-accent-hover); text-decoration: underline; }

.co-summary__card {
  background: var(--co-card);
  border-radius: var(--co-radius-card);
  box-shadow: var(--co-shadow);
  padding: 24px;
  position: relative;
}

.co-summary__ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--co-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--co-radius-pill);
  white-space: nowrap;
}

.co-summary__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--co-text-secondary);
  margin: 0 0 10px;
}

.co-summary__plan-name {
  font-family: var(--co-font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--co-text);
  margin: 0 0 8px;
  line-height: 1.2;
  letter-spacing: normal;
  word-spacing: normal;
  font-kerning: auto;
}

.co-summary__trial-badge {
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--co-success-bg);
  color: var(--co-success-text);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.co-field__input--success {
  border-color: var(--co-success-text);
  background: #fff;
}

.co-email-outcome-slot {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.co-outcome--inline-success {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  box-shadow: none;
  padding: 0;
  color: var(--co-success-text);
  font-size: 14px;
  font-weight: 700;
}

.co-outcome--inline-error {
  background: transparent;
  box-shadow: none;
  padding: 0;
  color: var(--co-error-text);
  font-size: 14px;
  font-weight: 700;
}

.co-outcome__inline-icon {
  font-weight: 800;
}

.co-outcome--warning,
.co-outcome--error {
  border: 1px solid rgba(138, 90, 23, 0.25);
}

.co-outcome--error {
  border-color: rgba(178, 59, 59, 0.25);
}

.co-verify-digit--error {
  border-color: var(--co-error-text);
  background: var(--co-error-bg);
  color: var(--co-error-text);
}

.co-verify-digit--locked {
  opacity: 0.45;
  background: #f0ecee;
  border-color: var(--co-border);
  color: var(--co-text-secondary);
  cursor: not-allowed;
}

.co-verify-resent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--co-success-text);
}

.co-verify-footer--help {
  margin-top: 10px;
}

.co-verify-footer {
  font-size: 14px;
  color: var(--co-text-secondary);
  margin: 8px 0 0;
}

.co-link-btn--inline {
  display: inline;
  margin: 0;
  font-size: inherit;
}

.co-step-badge__text {
  font-size: 12px;
  font-weight: 700;
  color: var(--co-accent);
}

.co-co-header-url {
  font-size: 14px;
  color: var(--co-text-secondary);
  font-weight: 600;
}

.co-summary__price {
  font-family: var(--co-font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--co-text);
  margin: 0;
  line-height: 1.1;
}

.co-summary__period {
  font-size: 16px;
  font-weight: 700;
  color: var(--co-text-secondary);
}

.co-summary__meta {
  font-size: 14px;
  color: var(--co-text-secondary);
  margin: 10px 0 0;
  line-height: 1.45;
}

.co-summary__trial {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: var(--co-radius-pill);
  background: var(--co-warn-bg);
  color: var(--co-warn-text);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}

.co-summary__features {
  list-style: none;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--co-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.co-summary__features li {
  font-size: 14px;
  color: var(--co-text-secondary);
  padding-left: 22px;
  position: relative;
}

.co-summary__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--co-success-text);
  font-weight: 800;
}

/* ── Step sections ── */
.co-step-section {
  background: var(--co-card);
  border-radius: var(--co-radius-card);
  box-shadow: var(--co-shadow);
  padding: 24px 28px;
}

.co-step-section__head {
  margin-bottom: 18px;
}

.co-step-section__title {
  font-family: var(--co-font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--co-text);
  margin: 8px 0 0;
}

.checkout-page p.co-step-section__lede {
  font-size: 15px;
  color: #8a7f97;
  margin: 0 0 16px;
  line-height: 1.5;
}

.checkout-page p.co-step-section__lede strong {
  color: inherit;
  font-weight: 700;
}

/* ── Step badge ── */
.co-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--co-accent-tint);
  border-radius: var(--co-radius-pill);
  padding: 5px 12px;
}

.co-step-badge__count {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--co-accent);
}

.co-step-badge__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--co-text);
}

/* ── Form fields ── */
.co-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  min-width: 0;
}

.co-field--full { width: 100%; }

.co-field__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--co-text);
}

.co-field__req { color: var(--co-error-text); }

.co-field__input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--co-text);
  background: var(--co-card-warm);
  border: 1px solid var(--co-border);
  border-radius: var(--co-radius-input);
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.co-field__input:focus {
  outline: none;
  background: var(--co-card);
  border-color: var(--co-accent);
  box-shadow: 0 0 0 3px rgba(135, 103, 200, 0.18);
}

.co-field__input--error {
  border-color: var(--co-error-text);
  background: var(--co-error-bg);
}

.checkout-page p.co-field__hint {
  font-size: 13px;
  color: #8a7f97;
  margin: 0;
}

.checkout-page .co-field__hint a {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
  cursor: text;
}

.co-field__error {
  font-size: 13px;
  font-weight: 700;
  color: var(--co-error-text);
  margin: 0;
}

.co-field__error[hidden],
.co-verify-error[hidden] { display: none !important; }

.co-field-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.co-field-row .co-field {
  flex: 1 1 0;
  min-width: 0;
  margin-bottom: 16px;
}

.co-field-row .co-field:first-child {
  flex: 1.2 1 0;
}

.co-field-row .co-field__input {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

/* ── Buttons ── */
.co-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border: none;
  border-radius: var(--co-radius-pill);
  font-family: var(--co-font-body);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.15s, transform 0.1s;
}

.co-btn--primary {
  background: var(--co-accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(135, 103, 200, 0.28);
}

.co-btn--primary:hover { background: var(--co-accent-hover); }

.co-btn--secondary {
  background: var(--co-card);
  color: var(--co-accent);
  box-shadow: inset 0 0 0 2px var(--co-accent);
}

.co-btn--secondary:hover { background: var(--co-accent-tint); }

.co-step-section .co-btn--primary { width: 100%; margin-top: 4px; }

.co-step-section__body > .co-outcome {
  margin-top: 4px;
  margin-bottom: 12px;
}

.co-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--co-accent);
  cursor: pointer;
  text-decoration: underline;
  margin-top: 8px;
}

/* ── Outcome box ── */
.co-outcome {
  border-radius: var(--co-radius-card);
  padding: 18px 22px;
  box-shadow: var(--co-shadow);
}

.co-outcome--success { background: var(--co-success-bg); color: var(--co-success-text); }
.co-outcome--warning { background: var(--co-warn-bg); color: var(--co-warn-text); }
.co-outcome--error   { background: var(--co-error-bg); color: var(--co-error-text); }
.co-outcome--info    { background: var(--co-accent-tint); color: var(--co-text); }

.co-outcome__row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.co-outcome__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.co-outcome__lead {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.co-outcome__message {
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  font-weight: 600;
}

.co-outcome__actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.co-outcome__actions .co-btn {
  flex: 1;
  font-size: 14px;
  padding: 11px 16px;
}

.co-outcome--left {
  text-align: left;
}

.co-outcome--left .co-outcome__message + .co-outcome__message {
  margin-top: 8px;
}

/* ── Disclosure block ── */
.co-disclosure {
  background: var(--co-warn-bg);
  color: var(--co-warn-text);
  border-radius: var(--co-radius-input);
  padding: 14px 16px;
  margin: 16px 0 12px;
}

.co-disclosure__title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 6px;
}

.co-disclosure__body {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  font-weight: 600;
}

.co-disclosure--trial {
  background: var(--co-warn-bg);
  color: var(--co-warn-text);
  border-radius: var(--co-radius-input);
  padding: 14px 16px;
  margin: 16px 0 12px;
}

.co-disclosure__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.co-disclosure__list li {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  margin: 0;
  padding-left: 14px;
  position: relative;
}

.co-disclosure__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-weight: 800;
}

/* ── Verify code ── */
.co-verify-digits {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.co-verify-digit {
  width: 48px;
  height: 56px;
  text-align: center;
  font-family: var(--co-font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--co-text);
  background: var(--co-card-warm);
  border: 1px solid var(--co-border);
  border-radius: var(--co-radius-input);
}

.co-verify-digit:focus {
  outline: none;
  border-color: var(--co-accent);
  background: var(--co-card);
  box-shadow: 0 0 0 3px rgba(135, 103, 200, 0.18);
}

/* ── Password strength ── */
.co-password-strength { margin-top: 8px; }

.co-password-strength__bar {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}

.co-password-strength__bar span {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--co-border);
  transition: background 0.2s;
}

.co-password-strength__bar span.is-active.is-weak  { background: var(--co-error-text); }
.co-password-strength__bar span.is-active.is-fair  { background: var(--co-warn-text); }
.co-password-strength__bar span.is-active.is-strong { background: var(--co-success-text); }

.co-password-strength__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--co-text-secondary);
  margin: 0;
}

.co-password-requirements {
  font-size: 12px;
  font-weight: 600;
  color: var(--co-text-secondary);
  margin: 6px 0 0;
  line-height: 1.4;
}

/* ── Promo code ── */
.co-promo-toggle {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--co-accent);
  cursor: pointer;
  text-decoration: underline;
  margin-bottom: 8px;
}

.co-promo-toggle--dashed {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  margin: 0 0 16px;
  border: 2px dashed var(--co-accent);
  border-radius: var(--co-radius-input);
  background: var(--co-accent-tint);
  text-decoration: none;
  color: var(--co-accent);
  font-weight: 700;
}

.co-pay-fine-print {
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--co-text-secondary);
  text-align: center;
}

.co-promo-wrap { margin-bottom: 8px; }
.co-promo-wrap[hidden] { display: none !important; }

.co-promo-removed-note {
  font-size: 13px;
  font-weight: 600;
  color: var(--co-text-secondary);
  margin: -8px 0 16px;
}

.co-pay-total--regular {
  border-top: none;
  padding-top: 0;
  margin-bottom: 16px;
}

.co-pay-total__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--co-text-secondary);
}

/* ── Confirmation ── */
.co-centered-page .co-layout { display: none; }

.co-centered-layout {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.co-centered-card {
  background: var(--co-card);
  border-radius: var(--co-radius-card);
  box-shadow: var(--co-shadow);
  padding: 32px 28px;
}

.co-centered-card--wide {
  max-width: 560px;
  margin: 0 auto;
}

.co-centered-page .co-centered-layout {
  max-width: none;
}

.co-centered-page .co-centered-card--wide {
  max-width: 560px;
}

.co-confirmation {
  text-align: center;
  padding: 4px 0 0;
}

.co-confirmation__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--co-success-bg);
  color: var(--co-success-text);
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.co-confirmation__icon--success {
  background: var(--co-success-bg);
  color: var(--co-success-text);
}

.co-confirmation__icon--warning {
  background: var(--co-warn-bg);
  color: var(--co-warn-text);
  font-size: 28px;
}

.co-confirmation__title {
  font-family: var(--co-font-display);
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--co-text);
  line-height: 1.2;
}

.co-confirmation__subtext {
  font-size: 15px;
  color: var(--co-text-secondary);
  margin: 0 0 20px;
  line-height: 1.5;
}

.co-signin-callout {
  background: var(--co-accent-tint);
  border-radius: var(--co-radius-input);
  padding: 16px 18px;
  margin: 0 0 24px;
  text-align: center;
}

.co-signin-callout__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--co-text-secondary);
  margin: 0 0 6px;
}

.co-signin-callout__email {
  font-family: var(--co-font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--co-text);
  margin: 0;
  word-break: break-all;
}

.co-signin-callout__hint {
  font-size: 13px;
  font-weight: 600;
  color: var(--co-text-secondary);
  margin: 8px 0 0;
  line-height: 1.45;
}

.co-confirmation .co-outcome {
  margin-bottom: 24px;
  text-align: left;
}

.co-confirmation .co-btn {
  width: 100%;
  max-width: none;
}

.co-confirmation__fine-print {
  font-size: 13px;
  color: var(--co-text-secondary);
  margin: 16px 0 0;
  line-height: 1.5;
  font-weight: 600;
}

.co-confirmation__mobile-link {
  font-size: 12px;
  color: var(--co-text-secondary);
  margin: 12px 0 0;
  line-height: 1.5;
  font-weight: 600;
}

.co-confirmation__mobile-link a {
  color: var(--co-text-secondary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.co-confirmation__mobile-link a:hover {
  color: var(--co-accent);
}

.co-confirmation--prompt {
  padding-top: 8px;
}

.co-confirmation--prompt .co-confirmation__subtext {
  margin-bottom: 28px;
}

.co-confirmation__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.co-confirmation__actions .co-btn {
  width: 100%;
  max-width: none;
}

.co-confirmation__lede {
  font-size: 15px;
  color: var(--co-text-secondary);
  margin: 0 0 16px;
  line-height: 1.5;
}

.co-confirmation__email {
  font-family: var(--co-font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--co-accent);
  margin: 0 0 12px;
  word-break: break-all;
}

.co-confirmation__hint {
  font-size: 14px;
  color: var(--co-text-secondary);
  margin: 0 0 24px;
}

/* ── Manage account ── */
.ma-layout {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.ma-shell__title {
  font-family: var(--co-font-display);
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 24px;
  text-align: center;
  color: var(--co-text);
}

.ma-detail-box {
  background: #f5f2f6;
  border-radius: var(--co-radius-input);
  padding: 4px 18px;
  margin-bottom: 20px;
}

.ma-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--co-border);
}

.ma-detail-row:last-child {
  border-bottom: none;
}

.ma-detail-row__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--co-text-secondary);
  flex-shrink: 0;
}

.ma-detail-row__value {
  font-size: 15px;
  font-weight: 800;
  color: var(--co-text);
  text-align: right;
}

.ma-detail-row__value--warn {
  color: var(--co-warn-text);
}

.ma-status-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--co-radius-input);
  margin-bottom: 20px;
}

.ma-status-banner--warn {
  background: var(--co-warn-bg);
  color: var(--co-warn-text);
}

.ma-status-banner__text {
  flex: 1;
  min-width: 200px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  margin: 0;
}

.ma-status-banner__btn {
  flex-shrink: 0;
  padding: 10px 18px;
  font-size: 14px;
}

.ma-info-box {
  background: #f5f2f6;
  border-radius: var(--co-radius-input);
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--co-text-secondary);
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.ma-action-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.ma-action-row .co-btn {
  flex: 1;
  padding: 11px 10px;
  font-size: 14px;
}

.co-btn--full {
  display: flex;
  width: 100%;
  max-width: 100%;
}

.co-btn--danger {
  background: transparent;
  color: var(--co-error-text);
  box-shadow: inset 0 0 0 2px var(--co-error-text);
}

.co-btn--danger:hover {
  background: var(--co-error-bg);
}

.ma-shell__fine-print {
  font-size: 13px;
  color: var(--co-text-secondary);
  margin: 16px 0 0;
  text-align: center;
  font-weight: 600;
  line-height: 1.5;
}

.ma-shell--billing .ma-shell__title {
  margin-bottom: 20px;
}

.ma-billing-back {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.ma-billing-back a {
  color: var(--co-accent);
  text-decoration: none;
}

.ma-billing-back a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ma-billing-list {
  background: #f5f2f6;
  border-radius: var(--co-radius-input);
  padding: 4px 0;
}

.ma-billing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--co-border);
}

.ma-billing-row:last-child {
  border-bottom: none;
}

.ma-billing-row__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ma-billing-row__date {
  font-size: 14px;
  font-weight: 800;
  color: var(--co-text);
}

.ma-billing-row__desc {
  font-size: 13px;
  font-weight: 600;
  color: var(--co-text-secondary);
}

.ma-billing-row__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.ma-billing-row__amount {
  font-size: 15px;
  font-weight: 800;
  color: var(--co-text);
}

.ma-billing-row__status {
  font-size: 12px;
  font-weight: 800;
}

.ma-billing-row__status--paid {
  color: var(--co-success-text);
}

.ma-billing-row__status--refunded {
  color: var(--co-text-secondary);
}

.ma-billing-row__receipt {
  font-size: 12px;
  font-weight: 700;
  color: var(--co-accent);
  text-decoration: none;
}

.ma-billing-row__receipt:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ma-org-box {
  background: var(--co-accent-tint);
  border-radius: var(--co-radius-input);
  padding: 20px 22px;
  text-align: left;
}

.ma-org-box__title {
  display: block;
  font-family: var(--co-font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--co-text);
  margin-bottom: 10px;
}

.ma-org-box__body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--co-text-secondary);
  margin: 0 0 6px;
  font-weight: 600;
}

.ma-org-box__body:last-of-type {
  margin-bottom: 20px;
}

.ma-org-box__cta {
  width: 100%;
}

.ma-card {
  background: var(--co-card);
  border-radius: var(--co-radius-card);
  box-shadow: var(--co-shadow);
  padding: 28px;
  margin-bottom: 20px;
}

.ma-card__title {
  font-family: var(--co-font-display);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
}

.ma-card__lede {
  font-size: 15px;
  color: var(--co-text-secondary);
  margin: 0 0 20px;
}

.ma-plan-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--co-border);
}

.ma-plan-row:last-child { border-bottom: none; }

.ma-plan-row__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--co-text-secondary);
}

.ma-plan-row__value {
  font-family: var(--co-font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--co-text);
}

.ma-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ma-actions .co-btn { width: 100%; }

.ma-actions .co-btn--danger {
  background: transparent;
  color: var(--co-error-text);
  box-shadow: inset 0 0 0 2px var(--co-error-text);
}

.ma-actions .co-btn--danger:hover {
  background: var(--co-error-bg);
}

.ma-support-only {
  background: var(--co-accent-tint);
  border-radius: var(--co-radius-input);
  padding: 16px 18px;
  font-size: 14px;
  color: var(--co-text);
  line-height: 1.5;
  font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .co-layout {
    flex-direction: column;
    padding: 20px 16px 48px;
  }

  .co-plan-summary {
    position: static;
    width: 100%;
    flex: none;
  }

  .co-outcome__actions {
    flex-direction: column;
  }

  .co-field-row {
    flex-direction: column;
    gap: 0;
  }

  .ma-action-row {
    flex-direction: column;
  }

  .co-verify-digit {
    width: 42px;
    height: 50px;
    font-size: 20px;
  }
}
