.mnm-wizard {
  --mnm-primary: #534AB7;
  --mnm-dark: #26215C;
  --mnm-tint: #EEEDFE;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1f2430;
  max-width: 640px;
}

.mnm-wizard--gate { background: var(--mnm-tint); border-radius: 12px; padding: 2.25rem 1.5rem; text-align: center; margin: 1rem auto; }
.mnm-gate__title { font-size: 1.7rem; color: var(--mnm-dark); margin: 0 0 .6rem; }
.mnm-gate__sub { color: #4b5563; max-width: 46ch; margin: 0 auto 1.4rem; line-height: 1.55; }
.mnm-gate__alt { margin: 1rem 0 0; font-size: .92rem; color: #6b7280; }
.mnm-gate__alt a { color: var(--mnm-primary); font-weight: 600; }

.mnm-wizard__head { margin: 0 0 1.25rem; }
.mnm-wizard__title { font-size: 1.7rem; color: var(--mnm-dark); margin: 0 0 .35rem; }
.mnm-wizard__lead { color: #6b7280; margin: 0; line-height: 1.5; font-size: .95rem; }

.mnm-steps { display: flex; gap: .3rem; margin-bottom: 1rem; }
.mnm-steps span { flex: 1; height: 5px; border-radius: 999px; background: #e5e7eb; }
.mnm-steps span.on { background: var(--mnm-primary); }

.mnm-eyebrow { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mnm-primary); font-weight: 600; margin-bottom: .5rem; }
.mnm-eyebrow .lock { color: #9ca3af; }

.mnm-card { border: 1px solid #e5e7eb; border-radius: 12px; padding: 1.25rem; }
.mnm-card h3 { margin: 0 0 1rem; color: var(--mnm-dark); }
.mnm-field { margin-bottom: 1rem; }
.mnm-field label { display: block; font-size: .85rem; color: #374151; margin-bottom: .3rem; }
.mnm-field input[type=text], .mnm-field input[type=time], .mnm-field textarea {
  width: 100%; padding: .5rem .6rem; border: 1px solid #d1d5db; border-radius: 8px; box-sizing: border-box; font: inherit;
}

.mnm-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; font-weight: 600; color: var(--mnm-dark); }
.mnm-cal-head button { border: 1px solid #d1d5db; background: #fff; border-radius: 8px; width: 2rem; height: 2rem; cursor: pointer; }
.mnm-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.mnm-dow { text-align: center; font-size: .7rem; color: #9ca3af; padding: .25rem 0; }
.mnm-day { text-align: center; padding: .5rem 0; border-radius: 8px; cursor: pointer; border: 1px solid transparent; background: transparent; font: inherit; color: inherit; width: 100%; }
.mnm-day:hover { background: #f3f4f6; }
.mnm-day.sel { background: var(--mnm-primary); color: #fff; }
.mnm-day.empty { cursor: default; }
.mnm-day.past { color: #c2c7d0; cursor: not-allowed; text-decoration: line-through; }
.mnm-day.past:hover { background: transparent; }
.mnm-chips { margin: .75rem 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.mnm-chip { background: var(--mnm-tint); color: var(--mnm-dark); border-radius: 999px; padding: .2rem .6rem; font-size: .8rem; }
.mnm-timerow { display: flex; align-items: center; gap: .5rem; margin: .4rem 0; }
.mnm-timerow .lbl { min-width: 5rem; font-size: .85rem; }

.mnm-toggle { display: flex; align-items: center; justify-content: space-between; padding: .6rem 0; border-top: 1px solid #f3f4f6; }
.mnm-toggle:first-child { border-top: 0; }
/* Dim only the label text and the switch on locked rows — NOT the whole row.
   Fading the container (opacity) also faded the "?" help tooltip inside it,
   making it unreadable; opacity on a parent can't be undone by a child. */
.mnm-toggle.locked > span { color: #9aa0ac; }
.mnm-toggle.locked input { opacity: .5; }
.mnm-toggle input { width: 1.1rem; height: 1.1rem; }

.mnm-link { display: flex; gap: .4rem; align-items: center; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: .5rem .6rem; font-family: ui-monospace, monospace; font-size: .85rem; word-break: break-all; }
.mnm-premtag { display: inline-block; margin-left: .25rem; background: #EEEDFE; color: #534AB7; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .1rem .45rem; border-radius: 999px; vertical-align: middle; }
.mnm-field--locked input[disabled] { background: #f6f6f9; color: #9ca3af; cursor: not-allowed; }
.mnm-linkrow { display: flex; gap: .5rem; align-items: stretch; }
.mnm-linkrow .mnm-link { flex: 1 1 auto; min-width: 0; }
.mnm-copylink { flex: 0 0 auto; white-space: nowrap; }
.mnm-link--preview { color: #6b7280; border-style: dashed; }
.mnm-slug-msg { font-size: .8rem; margin-top: .35rem; }
.mnm-slug-msg.ok { color: #1D9E75; }
.mnm-slug-msg.bad { color: #E24B4A; }
.mnm-emailchips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.mnm-field-hint { color: #6b7280; font-size: .82rem; margin: .35rem 0 0; }
.mnm-tip { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: .35rem; border-radius: 50%; background: #e6e5ef; color: #534AB7; font-size: 11px; font-weight: 700; cursor: help; vertical-align: middle; }
.mnm-tip:hover, .mnm-tip:focus-visible { background: #534AB7; color: #fff; }
.mnm-tip:focus { outline: none; }
.mnm-tip::after {
  content: attr(data-tip);
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 260px;
  background: #26215C; color: #fff; font-size: 12px; font-weight: 400; line-height: 1.45;
  text-align: left; white-space: normal; padding: .5rem .65rem; border-radius: 8px;
  opacity: 0; visibility: hidden; transition: opacity .08s ease; z-index: 20; pointer-events: none;
}
.mnm-tip:hover::after, .mnm-tip:focus-visible::after { opacity: 1; visibility: visible; }
.mnm-caprow { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #eee; }
.mnm-caprow label { display: block; font-size: .85rem; font-weight: 600; color: #26215C; margin-bottom: .35rem; }
.mnm-caprow input { width: 8rem; padding: .5rem .6rem; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; }
.mnm-coorg-field { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #eee; }

/* Additional-info question builder (Step 4) */
.mnm-infobuilder { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #eee; }
.mnm-infobuilder__head { font-size: .85rem; font-weight: 600; color: #26215C; margin-bottom: .6rem; }
.mnm-infofield { display: flex; gap: .5rem; align-items: center; margin-bottom: .5rem; flex-wrap: wrap; }
.mnm-if-label { flex: 1 1 12rem; min-width: 0; padding: .45rem .6rem; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; }
.mnm-if-type { padding: .45rem .5rem; border: 1px solid #d1d5db; border-radius: 8px; }
.mnm-if-req { font-size: .82rem; color: #4b5563; display: inline-flex; gap: .3rem; align-items: center; white-space: nowrap; }
.mnm-if-rm { background: none; border: 0; color: #b42318; font-size: 1.1rem; cursor: pointer; padding: 0 .3rem; }
.mnm-infobuilder__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }
.mnm-if-add { background: #fff; border: 1px solid var(--mnm-primary, #534AB7); color: var(--mnm-primary, #534AB7); border-radius: 8px; font-weight: 600; padding: .35rem .8rem; cursor: pointer; }
.mnm-if-presets { font-size: .82rem; color: #6b7280; }
.mnm-if-preset { background: #f3f4f6; border: 0; border-radius: 6px; padding: .25rem .55rem; margin-left: .3rem; cursor: pointer; font-size: .8rem; }
.mnm-if-max { font-size: .82rem; color: #9ca3af; }
.mnm-emailchip { background: var(--mnm-tint); color: var(--mnm-dark); border-radius: 999px; padding: .2rem .3rem .2rem .6rem; font-size: .8rem; }
.mnm-emailchip button { border: 0; background: none; cursor: pointer; color: var(--mnm-dark); }

.mnm-typesel { display: flex; gap: .5rem; }
.mnm-typebtn { flex: 1; border: 1px solid #d1d5db; background: #fff; border-radius: 8px; padding: .55rem; cursor: pointer; font: inherit; }
.mnm-typebtn.on { border-color: var(--mnm-primary); background: var(--mnm-tint); color: var(--mnm-dark); font-weight: 600; }
.mnm-typebtn.locked { color: #6b7280; }
.mnm-typebtn .lock { color: #9ca3af; font-size: .82em; font-weight: 600; }
.mnm-optedit { display: flex; gap: .4rem; align-items: center; margin-bottom: .5rem; }
.mnm-optedit input { flex: 1; padding: .5rem .6rem; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; }
.mnm-optrm { border: 1px solid #d1d5db; background: #fff; border-radius: 8px; width: 2rem; height: 2rem; cursor: pointer; }

/* Sign-up slot editor (label + capacity per row) */
.mnm-slotedit { display: flex; gap: .4rem; align-items: center; margin-bottom: .5rem; }
.mnm-slotedit__label { flex: 1; padding: .5rem .6rem; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; }
.mnm-slotedit__cap { width: 6.5rem; padding: .5rem .6rem; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; }

/* Template picker (step 1) + save-as-template (step 6) */
.mnm-tplrow { display: flex; gap: .4rem; align-items: center; }
.mnm-tplrow select { flex: 1; padding: .5rem .6rem; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; }
.mnm-done__tpl { margin-top: 1rem; display: flex; gap: .6rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.mnm-done__tplmsg { font-size: .85rem; color: #0F6E56; }

/* Contact-list upload (step 5) */
.mnm-upload { margin: .5rem 0 0; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.mnm-upload__btn { display: inline-block; cursor: pointer; font-size: .85rem; color: var(--mnm-primary); border: 1px solid #d8d4ec; border-radius: 8px; padding: .4rem .8rem; }
.mnm-upload__btn:hover { background: var(--mnm-tint); }
.mnm-upload__msg { font-size: .82rem; color: #0F6E56; }
.mnm-upload__consent { flex-basis: 100%; display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: #555; cursor: pointer; }
.mnm-upload__consent input { margin: 0; }

.mnm-nav { display: flex; justify-content: space-between; margin-top: 1.25rem; }
.mnm-back { border: 1px solid #d1d5db; background: #fff; border-radius: 8px; padding: .55rem 1rem; cursor: pointer; }
.mnm-submit { background: var(--mnm-primary); color: #fff; border: 0; border-radius: 8px; padding: .55rem 1.2rem; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; }
.mnm-submit:disabled { opacity: .6; cursor: default; }
.mnm-err { color: #E24B4A; font-size: .85rem; margin-top: .5rem; }

.mnm-wizard :focus-visible { outline: 2px solid var(--mnm-primary); outline-offset: 2px; }
.mnm-done { text-align: center; padding: 1rem; }
.mnm-done .big { font-size: 1.3rem; color: var(--mnm-dark); font-weight: 600; margin-bottom: .75rem; }
/* Shared time picker (Hour / Minute / AM-PM dropdowns) */
.mnm-tp { display: inline-flex; align-items: center; gap: .2rem; vertical-align: middle; }
.mnm-tp select { padding: .4rem .35rem; border: 1px solid #cfcde4; border-radius: 8px; font: inherit; background: #fff; color: inherit; }
.mnm-tp__colon { color: #6b7280; }
.mnm-timerow__dash { color: #6b7280; margin: 0 .15rem; }

/* Saved email lists (premium) in step 5 */
.mnm-savedlists__row { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-top: .5rem; }
.mnm-savedlists select, .mnm-savedlists input[type="text"] { flex: 1 1 12rem; padding: .5rem .6rem; border: 1px solid #cfcde4; border-radius: 8px; font: inherit; }
.mnm-savedlists__msg { font-size: .8rem; color: #534AB7; margin-top: .4rem; min-height: 1.1em; }
.mnm-savedlists.locked { opacity: .8; }
.mnm-savedlists__upsell { font-size: .85rem; color: #6b7280; margin: .3rem 0 0; }
.mnm-savedlists__editing { font-size: .8rem; color: #6b7280; margin: .4rem 0 0; padding: .4rem .6rem; background: var(--mnm-tint); border-radius: 8px; }

/* Step 6 embed/share options */
.mnm-embed { text-align: left; margin: 1.25rem 0 .5rem; display: grid; gap: .9rem; }
.mnm-embed__block label { display: block; font-size: .8rem; font-weight: 600; color: #26215C; margin-bottom: .3rem; }
.mnm-embed__hint { font-weight: 400; color: #6b7280; }
.mnm-copyrow { display: flex; gap: .5rem; }
.mnm-copyrow input { flex: 1; min-width: 0; padding: .5rem .6rem; border: 1px solid #cfcde4; border-radius: 8px; font: inherit; font-size: .85rem; background: #fbfbfe; color: #26215C; }

/* Monthly invite-cap notice on the confirmation step */
.mnm-cap-note { background: #fff4e5; border: 1px solid #f5d9a8; color: #8a5a00; border-radius: 10px; padding: .7rem .9rem; font-size: .9rem; margin: .5rem 0 0; text-align: left; }
.mnm-invite-low { color: #b42318 !important; font-weight: 600; }

/* AI "describe it" on-ramp (Step 1). Subtle branded card; pre-fills fields. */
.mnm-ai { margin-bottom: 1rem; background: linear-gradient(180deg, #f6f5ff 0%, #ffffff 100%); border-color: #dcd8f5; }
.mnm-ai .mnm-eyebrow { color: var(--mnm-primary); }
.mnm-ai__input { width: 100%; box-sizing: border-box; resize: vertical; min-height: 2.6rem; font: inherit; }
.mnm-ai__row { display: flex; align-items: center; gap: .75rem; margin-top: .5rem; flex-wrap: wrap; }
.mnm-ai__row .mnm-typebtn { cursor: pointer; }
.mnm-ai__row .mnm-typebtn[disabled] { opacity: .6; cursor: default; }
.mnm-ai__status { font-size: .85rem; color: var(--mnm-dark); }
.mnm-ai__hint { margin: .5rem 0 0; font-size: .8rem; color: #6c6790; }

/* Multiple time slots per date (per-date times mode) */
.mnm-timerow.mnm-addtime { margin-top: -.25rem; }
.mnm-addtime-btn { background: none; border: none; color: var(--mnm-primary); font: inherit; font-size: .85rem; cursor: pointer; padding: .1rem 0; }
.mnm-addtime-btn:hover { text-decoration: underline; }

/* Dictation mic in the AI "describe it" box (shown only where supported) */
.mnm-mic { display: inline-flex; align-items: center; gap: .3rem; border: 1px solid #dcd8f5; background: #fff; color: var(--mnm-dark); font: inherit; font-size: .9rem; padding: .4rem .8rem; border-radius: 8px; cursor: pointer; }
.mnm-mic:hover { border-color: var(--mnm-primary); }
.mnm-mic.on { background: #fdecec; border-color: #e5484d; color: #b42318; animation: mnm-mic-pulse 1.2s ease-in-out infinite; }
@keyframes mnm-mic-pulse { 0%,100% { opacity: 1; } 50% { opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .mnm-mic.on { animation: none; } }
