/* Mel's induction (5.4.0), as locked (MbjwsntknJgCMy2i58qUeC): the deep slate card with a teal top edge (never cream, so it never looks
   like Mel's chat), the soft veil with the teal ring, the checklist in Mel's column and, on a phone, under More. */
#nx { --ind-card: #2B3238; --ind-cream: #FFF7E9; --ind-on: #D7D2CB; --ind-led: #65CDD2; --ind-slate: #424B54; --ind-slate2: #4B555D; --ind-ink: #424B54; --ind-ink2: #66747F; --ind-teal: #137F7A; --ind-line: #D6CEC2; }

/* the veil and the ring: one hole in a soft slate veil; taps go straight through to the page */
#nx .ind-veil { position: fixed; inset: 0; z-index: 80; background: rgba(30,36,42,.40); opacity: 0; pointer-events: none; transition: opacity 150ms cubic-bezier(0,0,0,1); }
#nx .ind-veil.on { opacity: 1; }
#nx .ind-veil.soft { background: rgba(30,36,42,.22); }
#nx .ind-ring { position: fixed; left: 0; top: 0; z-index: 81; border-radius: 12px; pointer-events: none; opacity: 0; transition: opacity 150ms cubic-bezier(0,0,0,1);
  box-shadow: 0 0 0 9999px rgba(30,36,42,.40), 0 0 0 2px var(--ind-led), 0 0 18px rgba(101,205,210,.55); }
#nx .ind-ring.on { opacity: 1; }
#nx .ind-ring.breathe { animation: ind-breathe 900ms cubic-bezier(.2,.8,.2,1) 1; }
#nx .ind-ring.pulse { animation: ind-pulse 1.6s ease-in-out infinite; }
@keyframes ind-breathe { 0% { box-shadow: 0 0 0 9999px rgba(30,36,42,.40), 0 0 0 2px var(--ind-led), 0 0 0 rgba(101,205,210,0); } 45% { box-shadow: 0 0 0 9999px rgba(30,36,42,.40), 0 0 0 4px var(--ind-led), 0 0 26px rgba(101,205,210,.7); } 100% { box-shadow: 0 0 0 9999px rgba(30,36,42,.40), 0 0 0 2px var(--ind-led), 0 0 18px rgba(101,205,210,.55); } }
@keyframes ind-pulse { 0%, 100% { box-shadow: 0 0 0 9999px rgba(30,36,42,.40), 0 0 0 3px var(--ind-led), 0 0 0 9px rgba(101,205,210,.25), 0 0 22px rgba(101,205,210,.6); } 50% { box-shadow: 0 0 0 9999px rgba(30,36,42,.40), 0 0 0 3px var(--ind-led), 0 0 0 14px rgba(101,205,210,.08), 0 0 30px rgba(101,205,210,.75); } }

/* the card */
#nx .ind-card { position: fixed; left: 0; top: 0; z-index: 82; width: 360px; box-sizing: border-box; background: var(--ind-card); color: var(--ind-cream); border-radius: 14px; padding: 16px 18px 14px;
  box-shadow: 0 18px 40px rgba(10,14,18,.45), inset 0 3px 0 var(--ind-led); font-family: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif; pointer-events: auto; display: none; }
#nx .ind-card.on { display: block; }
#nx .ind-card.wide { width: 420px; }
#nx .ind-ar { position: absolute; width: 0; height: 0; border: 9px solid transparent; display: none; }
#nx .ind-ar.up { display: block; top: -9px; border-top: 0; border-bottom-color: var(--ind-card); }
#nx .ind-ar.down { display: block; bottom: -9px; border-bottom: 0; border-top-color: var(--ind-card); }
#nx .ind-ar.left { display: block; left: -9px; border-left: 0; border-right-color: var(--ind-card); }
#nx .ind-ar.right { display: block; right: -9px; border-right: 0; border-left-color: var(--ind-card); }
#nx .ind-th { display: flex; justify-content: space-between; gap: 12px; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ind-on); margin-bottom: 8px; }
#nx .ind-ch { min-width: 0; } #nx .ind-n { white-space: nowrap; flex: none; }
#nx .ind-card.end .ind-th { font-size: 12px; color: var(--ind-cream); letter-spacing: .1em; }
#nx .ind-line { margin: 0 0 14px; font-size: 16px; line-height: 1.45; text-wrap: pretty; }
#nx .ind-tb { display: flex; align-items: center; gap: 8px; }
#nx .ind-tb button { font: 600 13.5px Figtree, system-ui, sans-serif; border: 0; cursor: pointer; border-radius: 6px; transition: transform 160ms cubic-bezier(0,0,0,1), background-color 160ms, color 160ms; }
#nx .ind-tb button:active { transform: scale(.97); }
#nx .ind-tb button:focus-visible, #nx .ind-menu button:focus-visible, #nx .ind-fm input:focus-visible { outline: 2px solid var(--ind-led); outline-offset: 2px; }
#nx .ind-pri { background: var(--ind-cream); color: var(--ind-ink); padding: 9px 14px; display: inline-flex; align-items: center; gap: 8px; }
#nx .ind-pri:hover { background: #FFFDF7; }
#nx .ind-pri[disabled] { opacity: .8; cursor: default; }
#nx .ind-pri.busy { opacity: .55; transition: opacity 160ms cubic-bezier(0,0,0,1); }
#nx .ind-sec { background: none; color: var(--ind-on); padding: 9px 6px; }
#nx .ind-sec:hover { color: var(--ind-cream); }
#nx .ind-vo { margin-left: auto; background: none; color: var(--ind-on); font-weight: 500 !important; padding: 9px 4px; display: inline-flex; align-items: center; gap: 6px; }
#nx .ind-vo i { width: 8px; height: 8px; border-radius: 50%; background: var(--ind-led); box-shadow: 0 0 6px var(--ind-led); }
#nx .ind-vo.off i { background: none; box-shadow: inset 0 0 0 1.5px var(--ind-on); }
#nx .ind-mn { background: none; color: var(--ind-on); padding: 9px 6px; letter-spacing: .05em; }
#nx .ind-sec[hidden], #nx .ind-vo[hidden], #nx .ind-mn[hidden], #nx .ind-pri[hidden], #nx .ind-cl[hidden] { display: none; }
#nx .ind-cl { background: none; color: var(--ind-on); padding: 9px 6px; border-left: 1px solid rgba(255,248,235,.18) !important; border-radius: 0 !important; margin-left: 2px; }
#nx .ind-cl:hover { color: var(--ind-cream); }
/* while the tutorial runs, nothing behind the card takes a click: Next does each thing */
#nx .ind-block { position: fixed; inset: 0; z-index: 79; display: none; background: transparent; cursor: default; pointer-events: auto; }
html.ind-on #nx .ind-block { display: block; }
html.ind-on #nx .nx-stmini { display: none; }
html.ind-on #nx .nx-sttool { visibility: hidden; }
#nx .ind-card.wide .ind-tb .ind-sec { margin-left: 4px; }
#nx .ind-menu { position: absolute; right: 12px; bottom: 52px; background: var(--ind-cream); border-radius: 8px; box-shadow: 0 10px 24px rgba(10,14,18,.35); padding: 4px; }
#nx .ind-menu[hidden] { display: none; }
#nx .ind-menu button { display: block; border: 0; background: none; color: var(--ind-ink); font: 600 13.5px Figtree, system-ui, sans-serif; padding: 9px 12px; border-radius: 6px; cursor: pointer; white-space: nowrap; }
#nx .ind-menu button:hover { background: #F3EEE7; }
#nx .ind-spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(66,75,84,.25); border-top-color: var(--ind-ink); animation: ind-spin .7s linear infinite; }
@keyframes ind-spin { to { transform: rotate(360deg); } }

/* the discovery call form, inside the card */
#nx .ind-fm { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 14px; }
#nx .ind-fm label { flex: 1 1 100%; min-width: 0; }
#nx .ind-fm label.h { flex-basis: calc(50% - 3px); }
#nx .ind-fm label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#nx .ind-fm input { width: 100%; box-sizing: border-box; background: #FFFCF6; color: var(--ind-ink); border: 0; border-radius: 6px; padding: 10px 11px; font: 400 14px Figtree, system-ui, sans-serif; }
#nx .ind-fm input::placeholder { color: var(--ind-ink2); }
#nx .ind-err { flex: 1 1 100%; margin: 2px 0 0; min-height: 0; font-size: 13px; color: #F2B8A6; }
#nx .ind-err:empty { display: none; }

/* the checklist: a slim row at the top of Mel's column, opening a cream list */
#nx .ind-row { display: flex; justify-content: space-between; align-items: center; width: 100%; box-sizing: border-box; background: var(--ind-slate2); color: var(--ind-cream); border: 0; border-radius: 8px; padding: 9px 12px;
  font: 500 13.5px Figtree, system-ui, sans-serif; box-shadow: inset 3px 0 0 var(--ind-led); cursor: pointer; margin: -6px 0 -6px; flex: none; transition: background-color 160ms; }
#nx .ind-row b { font-weight: 600; }
#nx .ind-row span { color: var(--ind-on); }
#nx .ind-row:hover { background: #56616A; }
#nx .ind-row:focus-visible { outline: 2px solid var(--ind-led); outline-offset: 2px; }
html.nx-melfold #nx .ind-row, html.nx-melfold #nx .ind-list { display: none; }
#nx .ind-list { position: absolute; left: 20px; right: 20px; z-index: 6; background: var(--ind-cream); color: var(--ind-ink); border-radius: 12px; padding: 14px; box-shadow: 0 16px 34px rgba(10,14,18,.35);
  display: none; flex-direction: column; gap: 2px; max-height: calc(100% - 140px); overflow: auto; font-family: Figtree, system-ui, sans-serif; }
#nx .ind-list.on { display: flex; }
#nx .ind-lh { font-size: 16px; } #nx .ind-ls { font-style: normal; color: var(--ind-ink2); font-size: 12.5px; margin-bottom: 6px; }
#nx .ind-items { display: flex; flex-direction: column; }
#nx .ind-ci { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; padding: 6px 4px; border: 0; border-top: 1px solid var(--ind-line); background: none; text-align: left; color: inherit; font: inherit; cursor: pointer; border-radius: 4px; }
#nx .ind-ci:hover { background: #F3EEE7; }
#nx .ind-ci i { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ind-line); display: grid; place-items: center; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--ind-ink2); }
#nx .ind-ci.ok i { background: var(--ind-teal); box-shadow: none; color: #fff; }
#nx .ind-ci b { display: block; font-size: 13.5px; font-weight: 600; } #nx .ind-ci em { display: block; font-style: normal; color: var(--ind-ink2); font-size: 12px; }
#nx .ind-book { margin-top: 10px; background: var(--ind-slate); color: var(--ind-cream); border: 0; border-radius: 6px; padding: 10px 14px; font: 600 13.5px Figtree, system-ui, sans-serif; cursor: pointer; }

/* on a phone: the card across the bottom above the dock (or at the top when the target is low); the checklist is a page under More */
html.nx-phone #nx .ind-row, html.nx-phone #nx .ind-list { display: none !important; }
html.nx-phone #nx .ind-card { left: 10px !important; right: 10px; top: auto !important; width: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 74px); padding: 14px 16px 12px; }
html.nx-phone #nx .ind-card.top { bottom: auto; top: calc(env(safe-area-inset-top, 0px) + 56px) !important; }
html.nx-phone #nx .ind-card.wide { width: auto; }
html.nx-phone #nx .ind-line { font-size: 15.5px; }
html.nx-phone #nx .ind-tb button { min-height: 40px; }
html.nx-phone #nx .ind-fm label.h { flex-basis: 100%; }
html.nx-phone #nx .ind-fm input { font-size: 16px; }
html.nx-phone.ph-mel-on #nx .ind-card, html.nx-phone.ph-more-on #nx .ind-card, html.ind-page-on #nx .ind-card,
html.nx-phone.ph-mel-on #nx .ind-ring, html.nx-phone.ph-more-on #nx .ind-ring, html.ind-page-on #nx .ind-ring,
html.nx-phone.ph-mel-on #nx .ind-veil, html.nx-phone.ph-more-on #nx .ind-veil, html.ind-page-on #nx .ind-veil { visibility: hidden; }
#nx .ind-page { display: none; }
/* on a phone, Mel's small card on Home steps aside while the induction card is up */
html.nx-phone.ind-card-on #nx .ph-home, html.nx-phone.ind-on #nx .ph-home { display: none !important; }
html.nx-phone #nx .ind-page { position: fixed; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + 44px); bottom: calc(env(safe-area-inset-bottom, 0px) + 64px); z-index: 70; background: var(--ind-cream); color: var(--ind-ink);
  padding: 12px 16px 20px; overflow: auto; flex-direction: column; gap: 2px; pointer-events: auto; font-family: Figtree, system-ui, sans-serif; transform: translateX(100%); }
html.nx-phone #nx .ind-page.on { display: flex; }
html.nx-phone #nx .ind-page .ind-bk { align-self: flex-start; border: 0; background: none; color: var(--ind-ink2); font: 600 14px Figtree, system-ui, sans-serif; padding: 6px 0; margin-bottom: 4px; }
html.nx-phone #nx .ind-page .ind-lh { font-size: 22px; } html.nx-phone #nx .ind-page .ind-ls { font-size: 13.5px; margin-bottom: 8px; }
html.nx-phone #nx .ind-page .ind-ci { padding: 10px 4px; } html.nx-phone #nx .ind-page .ind-ci b { font-size: 15px; } html.nx-phone #nx .ind-page .ind-ci em { font-size: 13px; }
html.nx-phone #nx .ind-page .ind-book { min-height: 48px; font-size: 15px; }

@media (prefers-reduced-motion: reduce) { #nx .ind-ring.breathe, #nx .ind-ring.pulse { animation: none; } #nx .ind-veil, #nx .ind-ring { transition: none; } }
/* the page's own menus (the Studio's right-click, Who and Tool lists) always sit above the induction */
html:has(.nx-stmenu) #nx .ind-card, html:has(.nx-stmenu) #nx .ind-ring, html:has(.nx-stmenu) #nx .ind-veil { visibility: hidden; }

/* 5.7.0: leaving the demo. The way out sits above the tutorial's click guard so it always works */
#nx .nx-leave { flex: none; display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 Figtree, system-ui, sans-serif; color: var(--nx-cream, #FFF8EB); background: none; border: 0; border-radius: 6px; padding: 7px 10px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,248,235,.32); position: relative; z-index: 84; transition: background-color 160ms cubic-bezier(0,0,0,1), transform 160ms cubic-bezier(0,0,0,1); }
#nx .nx-leave svg { width: 15px; height: 15px; }
#nx .nx-leave:hover { background: #4B555D; }
#nx .nx-leave:active { transform: scale(.97); }
#nx .nx-leave:focus-visible { outline: 2px solid var(--ind-led, #65CDD2); outline-offset: 2px; }
html.nx-phone #nx .nx-leave { display: none; }
#nx .ph-more .ph-leave { margin-top: 6px; border-top: 1px solid rgba(67,77,86,.14); }
#nx .ind-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 2px 0 12px; }
#nx .ind-chips button { font: 600 13.5px Figtree, system-ui, sans-serif; padding: 9px 16px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255,248,235,.1); color: var(--ind-cream); box-shadow: inset 0 0 0 1px rgba(255,248,235,.3); transition: background-color 160ms cubic-bezier(0,0,0,1), color 160ms; }
#nx .ind-chips button:hover { background: rgba(255,248,235,.18); }
#nx .ind-chips button:active { transform: scale(.96); }
#nx .ind-chips button.on { background: var(--ind-cream); color: var(--ind-ink); box-shadow: none; }
#nx .ind-chips button:focus-visible { outline: 2px solid var(--ind-led); outline-offset: 2px; }
#nx .ind-pri.q { background: none; color: var(--ind-on); padding: 9px 6px; }
#nx .ind-pri.q:hover { color: var(--ind-cream); }
#nx .ind-sec.ol { color: var(--ind-cream); padding: 9px 14px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255,248,235,.45); }
#nx .ind-sec.ol:hover { background: rgba(255,248,235,.08); }
#nx .ind-card.end .ind-tb { flex-wrap: wrap; row-gap: 6px; }
.ind-depart { position: fixed; inset: 0; z-index: 2147483000; background: #434D56; color: #FFF8EB; display: grid; place-items: center; opacity: 0; }
.ind-depart svg { width: 72px; height: 72px; animation: ind-depart-mark 1.2s cubic-bezier(.45,0,.55,1) 1; }
@keyframes ind-depart-mark { 0% { transform: scale(.9); opacity: .6; } 55% { transform: scale(1.04); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ind-depart svg { animation: none; } }
/* 5.7.2: on a phone the voice switch is its light alone, so the action button keeps one line */
html.nx-phone #nx .ind-vo { font-size: 0 !important; gap: 0; padding: 12px 10px; }
html.nx-phone #nx .ind-vo i { width: 10px; height: 10px; }
html.nx-phone #nx .ind-tb .ind-pri { white-space: nowrap; }
