.pmicr-checkout {
  --pmicr-checkout-line: rgba(13, 38, 84, 0.1);
  --pmicr-checkout-soft: rgba(0, 169, 206, 0.08);
  --pmicr-checkout-accent: #3d63dd;
  --pmicr-checkout-coral: #ff6b2c;
  --pmicr-checkout-mint: #14f195;
  --pmicr-checkout-ink: #081f4d;
}

.pmicr-checkout-stage {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: start;
  padding: clamp(1rem, 2vw, 1.45rem);
  border: 1px solid rgba(13, 38, 84, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(61, 99, 221, 0.11), transparent 34%),
    linear-gradient(315deg, rgba(0, 169, 206, 0.12), transparent 36%),
    linear-gradient(90deg, rgba(255, 107, 44, 0.05), transparent 42%),
    #fff;
  box-shadow: 0 30px 86px rgba(8, 31, 77, 0.15);
}

.pmicr-checkout-stage .registration-summary,
.pmicr-checkout-public {
  border: 1px solid rgba(13, 38, 84, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(8, 31, 77, 0.09);
}

.pmicr-checkout-stage .registration-summary {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 169, 206, 0.18), transparent 40%),
    linear-gradient(160deg, #081f4d, #263a8f 54%, #1f2937);
}

.pmicr-checkout-stage .registration-summary .section-kicker,
.pmicr-checkout-stage .registration-summary h1,
.pmicr-checkout-stage .registration-summary p {
  color: #fff;
}

.pmicr-checkout-stage .registration-summary h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: 0;
}

.pmicr-checkout-stage .registration-summary p {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.registration-type-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.registration-type-switch a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 0.75rem;
  color: rgba(255, 255, 255, 0.84);
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

.registration-type-switch a.active {
  color: #081f4d;
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 31, 77, 0.18);
}

.pmicr-checkout-support {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.pmicr-checkout-support i {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #081f4d;
  border-radius: 999px;
  background: #14f195;
  font-size: 1.25rem;
}

.pmicr-checkout-support strong,
.pmicr-checkout-support small {
  display: block;
  color: #fff;
}

.pmicr-checkout-support small {
  color: rgba(255, 255, 255, 0.78);
}

.pmicr-experience-support {
  position: relative;
  overflow: hidden;
}

.pmicr-experience-support::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--pmicr-checkout-mint), var(--pmicr-checkout-coral));
}

.pmicr-checkout-microcopy {
  display: grid;
  gap: 0.55rem;
}

.pmicr-checkout-microcopy span {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.7rem;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  font-weight: 800;
}

.pmicr-checkout-microcopy i {
  color: var(--pmicr-checkout-mint);
  font-size: 1rem;
}

.pmicr-checkout-public {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
}

.pmicr-checkout-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.pmicr-checkout-header h2 {
  margin: 0;
  color: var(--pmicr-checkout-ink);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0;
}

.pmicr-checkout-status {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  color: #075985;
  border: 1px solid rgba(0, 169, 206, 0.2);
  border-radius: 999px;
  background: rgba(0, 169, 206, 0.09);
  font-size: 0.78rem;
  font-weight: 850;
}

.pmicr-checkout-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.pmicr-checkout-steps > span,
.pmicr-checkout-steps .nav-link {
  min-width: 0;
}

.pmicr-checkout-steps > span {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.78rem;
  color: #697386;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
  font-weight: 800;
}

.pmicr-checkout-steps > span strong {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #697386;
  border-radius: 999px;
  background: #e9eef5;
}

.pmicr-checkout-steps > span.is-active {
  color: var(--pmicr-checkout-ink);
  border-color: rgba(79, 23, 168, 0.28);
  background: linear-gradient(135deg, rgba(79, 23, 168, 0.08), var(--pmicr-checkout-soft));
}

.pmicr-checkout-steps > span.is-active strong {
  color: #fff;
  background: var(--pmicr-checkout-accent);
}

.pmicr-checkout-form {
  align-items: start;
}

.pmicr-checkout-summary,
.pmicr-checkout-payment-link,
.pmicr-checkout-invoice {
  border: 1px solid rgba(79, 23, 168, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--pmicr-checkout-soft), transparent 46%),
    #fff;
  box-shadow: 0 14px 34px rgba(8, 31, 77, 0.07);
}

.pmicr-checkout-summary {
  color: var(--pmicr-checkout-ink);
}

.pmicr-checkout-invoice {
  padding: clamp(1.1rem, 2vw, 1.45rem);
}

.pmicr-invoice-command {
  overflow: hidden;
}

.pmicr-invoice-command-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.pmicr-invoice-command-head > span,
.pmicr-invoice-required-note {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.pmicr-invoice-command-head > span {
  min-height: 32px;
  padding: 0.35rem 0.65rem;
  color: #6d3b08;
  border: 1px solid rgba(255, 107, 44, 0.2);
  border-radius: 999px;
  background: rgba(255, 107, 44, 0.09);
  font-size: 0.78rem;
  font-weight: 850;
}

.pmicr-invoice-required-note {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  color: var(--pmicr-checkout-ink);
  border: 1px solid rgba(61, 99, 221, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(61, 99, 221, 0.07), rgba(0, 169, 206, 0.08));
}

.pmicr-invoice-required-note i {
  color: var(--pmicr-checkout-accent);
  font-size: 1.1rem;
}

.pmicr-checkout-option {
  border-radius: 8px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pmicr-checkout-option:hover,
.pmicr-checkout-option:focus-within {
  border-color: rgba(79, 23, 168, 0.38);
  box-shadow: 0 16px 40px rgba(8, 31, 77, 0.1);
  transform: translateY(-1px);
}

.pmicr-checkout-payment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
}

.pmicr-checkout-public .alert,
.pmicr-checkout-public .form-text-panel {
  border-radius: 8px;
}

.pmicr-checkout-public .form-control,
.pmicr-checkout-public .form-select {
  min-height: 44px;
  border-color: rgba(13, 38, 84, 0.16);
  border-radius: 8px;
}

.pmicr-checkout-public .form-label {
  color: var(--pmicr-checkout-ink);
  font-weight: 750;
}

.pmicr-checkout-public .form-text-panel {
  border: 1px solid rgba(13, 38, 84, 0.1);
  background: #f8fafc;
}

.pmicr-checkout-public .professional-invoice-fields {
  padding: clamp(0.95rem, 2vw, 1.15rem);
  border: 1px dashed rgba(13, 38, 84, 0.18);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.78);
}

.pmicr-checkout-member-event .member-event-steps {
  margin-bottom: 0;
}

.member-event-checkout-stage {
  margin-bottom: 1.5rem;
}

.member-event-checkout-summary p i {
  color: var(--pmicr-checkout-mint);
}

.pmicr-checkout-member-event.member-event-step-content {
  padding: 1.25rem;
}

.member-event-checkout-steps {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.member-event-checkout-steps .nav-link {
  display: flex;
  min-height: 64px;
  gap: 0.55rem;
  align-items: center;
  justify-content: flex-start;
  padding: 0.78rem;
  color: #697386;
  text-align: left;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: none;
  font-weight: 800;
}

.member-event-checkout-steps .nav-link.active {
  color: var(--pmicr-checkout-ink);
  border-color: rgba(79, 23, 168, 0.28);
  background: linear-gradient(135deg, rgba(79, 23, 168, 0.08), var(--pmicr-checkout-soft));
}

.member-event-checkout-steps .nav-link.done {
  border-color: rgba(20, 241, 149, 0.32);
  background: linear-gradient(135deg, rgba(20, 241, 149, 0.1), rgba(0, 169, 206, 0.08));
}

.member-event-checkout-steps .step-title {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.25rem;
  align-items: center;
  padding: 0;
  color: inherit;
  background: transparent;
  font-weight: 900;
}

.member-event-checkout-steps .step-text {
  display: grid;
  min-width: 0;
}

.member-event-checkout-steps .step-text strong,
.member-event-checkout-steps .step-text small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.member-event-checkout-steps .step-text small {
  color: #697386;
  font-size: 0.74rem;
}

.member-event-checkout-steps .nav-link.active .step-text small {
  color: #506176;
}

.member-event-panel {
  display: none;
}

.member-event-panel.active {
  display: block;
}

.member-event-panel[hidden] {
  display: none !important;
}

.member-event-panel-header {
  margin-bottom: 1rem;
}

.member-event-panel-header h2 {
  margin: 0.25rem 0 0.25rem;
  color: var(--pmicr-checkout-ink);
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  font-weight: 950;
  line-height: 1.08;
}

.member-event-start-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(13, 38, 84, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 169, 206, 0.08), transparent 42%),
    #fff;
  box-shadow: 0 14px 34px rgba(8, 31, 77, 0.07);
}

.member-event-start-card h3 {
  margin: 0.6rem 0 0.25rem;
  color: var(--pmicr-checkout-ink);
  font-weight: 900;
}

.member-event-start-card p {
  margin: 0;
  color: #64748b;
}

.member-event-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(13, 38, 84, 0.08);
}

.pmicr-checkout-member-event .member-price-options {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (max-width: 767.98px) {
  .pmicr-checkout-stage {
    padding: 0.85rem;
  }

  .pmicr-checkout-steps {
    grid-template-columns: 1fr;
  }

  .pmicr-checkout-steps > span {
    padding: 0.7rem;
  }

  .pmicr-checkout-summary,
  .pmicr-checkout-payment-link,
  .pmicr-checkout-invoice {
    box-shadow: none;
  }

  .member-event-start-card,
  .member-event-step-actions {
    grid-template-columns: 1fr;
  }

  .member-event-start-card .btn,
  .member-event-step-actions .btn {
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  .pmicr-checkout-stage {
    grid-template-columns: 1fr;
  }

  .pmicr-checkout-stage .registration-summary {
    position: static;
  }
}

/* VIS-PMI: opt-in public event registration presentation. */
.registration-experience {
  --registration-ink: var(--public-ink, #191724);
  --registration-muted: var(--public-muted, #5f6472);
  --registration-line: var(--public-line, #dce1ea);
  --registration-action: var(--public-action, var(--pmi-violet, #4f17a8));
  --registration-radius: 6px;
  color: var(--registration-ink);
  background: #fff;
  font-family: "Instrument Sans", Arial, Helvetica, sans-serif;
}
section.registration-experience { padding-block: 48px; }
.registration-experience [hidden] { display: none !important; }
.registration-experience::before, .registration-experience::after { content: none; }
.registration-experience :is(h1,h2,h3,h4,p,label,a,button,span,strong,small) { letter-spacing: 0; overflow-wrap: anywhere; }
.registration-experience :is(h1,h2,h3,h4) { color: var(--registration-ink); font-family: inherit; font-weight: 700; line-height: 1.25; }
.registration-experience :is(p,.form-text,.text-muted) { color: var(--registration-muted) !important; line-height: 1.6; }
.registration-experience .section-kicker { color: var(--registration-muted); font-size: 12px; letter-spacing: 0; }
.registration-experience .pmicr-checkout-stage,
.registration-experience .registration-layout {
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 40px;
  padding-block: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.registration-experience .pmicr-checkout-stage { padding-inline: 0; }
.registration-experience .registration-summary {
  position: static;
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--registration-ink);
  background: transparent;
  box-shadow: none;
  min-width: 0;
}
.registration-experience .registration-summary :is(h1,h2) { margin: 0; font-size: 28px; color: var(--registration-ink); line-height: 1.25; }
.registration-experience .registration-summary p { display: flex; align-items: baseline; color: var(--registration-muted); font-size: 15px; }
.registration-experience .registration-summary .section-kicker { color: var(--registration-muted); }
.registration-experience .registration-type-switch { padding: 4px; gap: 4px; border: 1px solid var(--registration-line); background: #f5f7f9; border-radius: var(--registration-radius); }
.registration-experience .registration-type-switch a { min-height: 44px; color: var(--registration-ink); font-size: 14px; border-radius: 4px; font-weight: 600; }
.registration-experience .registration-type-switch a.active { color: #fff; background: var(--registration-action); box-shadow: none; }
.registration-experience .pmicr-checkout-support {
  align-items: start;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--registration-line);
  border-radius: 0;
  background: none;
}
.registration-experience .pmicr-checkout-support::after { content: none; }
.registration-experience .pmicr-checkout-support i { width: 24px; height: 24px; font-size: 22px; color: var(--registration-action); background: none; }
.registration-experience .pmicr-checkout-support strong { color: var(--registration-ink); font-size: 14px; font-weight: 600; }
.registration-experience .pmicr-checkout-support small { color: var(--registration-muted); font-size: 13px; line-height: 1.6; margin-top: 4px; }
.registration-experience .pmicr-checkout-microcopy { gap: 8px; }
.registration-experience .pmicr-checkout-microcopy span { padding: 0; min-height: 24px; border: 0; border-radius: 0; color: var(--registration-muted); background: none; font-weight: 500; font-size: 13px; }
.registration-experience .pmicr-checkout-microcopy i { color: var(--registration-action); }
.registration-experience .registration-form-card {
  min-width: 0;
  padding: 0 0 0 32px;
  border: 0;
  border-left: 1px solid var(--registration-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.registration-experience .pmicr-checkout-header { gap: 16px; margin-bottom: 24px; }
.registration-experience .pmicr-checkout-header h2 { font-size: 24px; color: var(--registration-ink); }
.registration-experience .pmicr-checkout-status { padding: 0; border: 0; background: none; color: var(--registration-muted); font-size: 13px; font-weight: 500; }
.registration-experience .pmicr-checkout-steps { gap: 8px; margin-bottom: 24px; }
.registration-experience .registration-section-links { display: flex; flex-wrap: wrap; border-block: 1px solid var(--registration-line); padding-block: 8px; }
.registration-experience .registration-section-links a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 8px 12px; color: var(--registration-action); font-weight: 600; font-size: 14px; text-decoration: none; }
.registration-experience .registration-section-links a:hover { background: #f5f7f9; text-decoration: underline; text-underline-offset: 4px; }
.registration-experience .registration-section-links [hidden] { display: none; }
.registration-experience [id^="registration-"] { scroll-margin-top: calc(var(--public-header-offset, 96px) + 20px); }
.registration-experience .pmicr-checkout-form { --bs-gutter-x: 24px; --bs-gutter-y: 24px; }
.registration-experience .form-label { color: var(--registration-ink); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.registration-experience :is(.form-control,.form-select) { min-height: 48px; min-width: 0; border: 1px solid var(--registration-line); border-radius: var(--registration-radius); background-color: #fff; color: var(--registration-ink); font-family: inherit; font-size: 16px; line-height: 1.5; }
.registration-experience textarea.form-control { min-height: 100px; resize: vertical; }
.registration-experience input[type="file"] { width: 100%; }
.registration-experience .form-check-input { accent-color: var(--registration-action); }
.registration-experience .form-check-label { font-size: 14px; }
.registration-experience :is(.form-text,.field-validation-error,.validation-summary-errors) { font-size: 14px; }
.registration-experience .registration-errors.validation-summary-errors { padding: 16px; color: #a4262c !important; border-left: 3px solid #a4262c; background: #fff5f5; }
.registration-experience .registration-field-heading { margin: 12px 0 16px; font-size: 20px; }
.registration-experience .alert { border-radius: var(--registration-radius); padding: 16px; font-size: 14px; line-height: 1.6; box-shadow: none; }
.registration-experience .alert-info { color: #234555; background: #f1f7fa; border-color: #c8dce5; }
.registration-experience .alert-warning { color: #714b00; background: #fff9e9; border-color: #e5d5a5; }
.registration-experience .alert-success { color: #226343; background: #eff8f2; border-color: #c8e3d2; }
.registration-experience .pmicr-checkout-summary { color: var(--registration-ink); background: #f5f7f9; border: 1px solid var(--registration-line); }
.registration-experience [data-price-label] { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 20px; margin-top: 8px; color: var(--registration-muted); font-size: 14px; }
.registration-experience [data-price-label] > span:first-child { grid-column: 1 / -1; font-size: 16px; color: var(--registration-ink); font-weight: 600; }
.registration-experience .form-text-panel { padding: 0; border: 0; background: none; color: var(--registration-muted); font-size: 14px; box-shadow: none; }
.registration-experience .pmicr-checkout-invoice { padding: 24px 0; border: 0; border-block: 1px solid var(--registration-line); border-radius: 0; background: none; box-shadow: none; }
.registration-experience .pmicr-invoice-command-head { gap: 16px; }
.registration-experience .pmicr-invoice-command-head > span { display: none; }
.registration-experience .pmicr-invoice-required-note { background: none; padding: 0 0 16px; border: 0; border-radius: 0; }
.registration-experience .pmicr-invoice-required-note i { color: var(--registration-muted); }
.registration-experience .registration-submit-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.registration-experience .btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; max-width: 100%; border-radius: var(--registration-radius); font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.4; white-space: normal; padding: 12px 20px; box-shadow: none; transform: none; }
.registration-experience .btn:is(.btn-primary,.btn-accent) { background: var(--registration-action); color: #fff; border-color: var(--registration-action); }
.registration-experience .btn:is(.btn-outline-primary,.btn-outline-light) { background: #fff; color: var(--registration-action); border-color: var(--registration-line); }
.registration-experience .btn:is(.btn-primary,.btn-accent):hover { background: var(--pmi-violet-700, #381071); border-color: var(--pmi-violet-700, #381071); }
.registration-experience .btn:is(.btn-outline-primary,.btn-outline-light):hover { background: #f5f7f9; border-color: var(--registration-action); }
.registration-experience :is(a,button,input,select,textarea):focus-visible { outline: 3px solid #007f95; outline-offset: 3px; box-shadow: none; }
.registration-experience .registration-complete { max-width: 800px; margin-inline: auto; padding: 0; background: none; border: 0; box-shadow: none; text-align: left; }
.registration-experience .registration-complete h1 { font-size: 36px; margin-block: 12px 24px; }
.registration-experience .registration-complete .section-lead { font-size: 18px; }
.registration-experience .registration-complete strong { overflow-wrap: anywhere; }
@media (max-width: 991.98px) {
  .registration-experience .pmicr-checkout-stage,
  .registration-experience .registration-layout { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .registration-experience .registration-form-card { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--registration-line); }
  .registration-experience .pmicr-checkout-microcopy { display: flex; flex-wrap: wrap; gap: 8px 16px; }
}
@media (max-width: 575.98px) {
  section.registration-experience { padding-block: 24px; }
  .registration-experience :is(.pmicr-checkout-microcopy,.pmicr-checkout-support) { display: none; }
  .registration-experience .registration-summary :is(h1,h2) { font-size: 24px; }
  .registration-experience .registration-complete h1 { font-size: 28px; }
  .registration-experience .pmicr-checkout-header h2 { font-size: 22px; }
  .registration-experience [data-price-label] { grid-template-columns: minmax(0,1fr); }
  .registration-experience .registration-submit-actions .btn { width: 100%; }
}
