@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2-variations");
}

.ntf-invite-page {
  margin: 0;
  background: #fff;
  color: #0a0a0a;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

.ntf-invite-page *,
.ntf-invite-page *::before,
.ntf-invite-page *::after {
  box-sizing: border-box;
}

.ntf-invite-page img {
  max-width: 100%;
  height: auto;
}

.ntf-invite-page :focus-visible {
  outline: 3px solid rgba(10, 10, 10, 0.28);
  outline-offset: 3px;
}

.ntf-invite-page [hidden] {
  display: none !important;
}

.ntf-invite-page typebot-bubble {
  display: none !important;
}

.ntf-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #0a0a0a;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
}

.ntf-skip-link:focus {
  transform: translateY(0);
}

.ntf-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.ntf-invite-hero {
  min-height: 100dvh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(24px, 4vw, 40px);
  padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 48px);
}

.ntf-invite-hero__content {
  width: min(100%, 920px);
  margin-inline: auto;
  text-align: center;
}

.ntf-invite-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.ntf-invite-hero__subtitle {
  max-width: 680px;
  margin: clamp(16px, 2.5vw, 24px) auto 0;
  color: #5f6368;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.ntf-invite-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 0;
  border-radius: 12px;
  background: #0a0a0a;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(10, 10, 10, 0.18);
  touch-action: manipulation;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.ntf-invite-cta:hover {
  box-shadow: 0 18px 40px rgba(10, 10, 10, 0.22);
  transform: translateY(-1px);
}

.ntf-invite-cta:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .ntf-invite-flow *,
  .ntf-invite-flow *::before,
  .ntf-invite-flow *::after {
    animation: none !important;
    transition: none !important;
  }

  .ntf-invite-cta {
    transition: none;
  }

  .ntf-invite-modal__close {
    transition: none;
  }
}

.ntf-invite-page.ntf-scroll-locked {
  overflow: hidden;
}

.ntf-invite-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgb(10 10 10 / 58%);
}

.ntf-invite-overlay[hidden] {
  display: none;
}

.ntf-invite-modal {
  display: flex;
  flex-direction: column;
  width: min(512px, 100%);
  height: min(600px, calc(100dvh - 32px));
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(10, 10, 10, 0.2);
}

.ntf-invite-modal__header {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid #ececec;
}

.ntf-invite-modal__logo {
  flex: none;
  width: 120px;
  height: auto;
}

.ntf-invite-modal__heading {
  flex: 1 1 auto;
  min-width: 0;
}

.ntf-invite-modal__heading h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.ntf-invite-modal__heading p {
  margin: 2px 0 0;
  color: #5f6368;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.ntf-invite-modal__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  background: #fff;
  color: #0a0a0a;
  font-family: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 180ms ease;
}

.ntf-invite-modal__close:hover {
  background: #f4f4f4;
}

.ntf-invite-modal__state {
  flex: none;
  padding: 20px;
}

.ntf-invite-modal__state h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.ntf-invite-modal__turnstile {
  min-height: 65px;
}

[data-ntf-loading-state] {
  color: #5f6368;
  font-size: 15px;
  line-height: 1.5;
}

[data-ntf-error-state] p {
  margin: 0 0 16px;
  color: #0a0a0a;
  font-size: 15px;
  line-height: 1.5;
}

.ntf-invite-modal__retry {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid #0a0a0a;
  border-radius: 12px;
  background: #0a0a0a;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  touch-action: manipulation;
}

[data-ntf-typebot-host] {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
  .ntf-invite-overlay {
    padding: 0;
  }

  .ntf-invite-modal {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
  }

  .ntf-invite-modal__logo {
    width: 90px;
  }

  .ntf-invite-modal__header {
    gap: 8px;
    padding-inline: 14px;
  }

  .ntf-invite-modal__heading h2 {
    font-size: 16px;
  }

  .ntf-invite-modal__close {
    width: 40px;
    height: 40px;
  }

  .ntf-invite-modal__state {
    padding: 20px 16px;
  }
}

.ntf-invite-thanks {
  min-height: 100dvh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 48px);
}

.ntf-invite-thanks__card {
  width: min(100%, 640px);
  padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 44px);
  border: 1px solid #e7e7e7;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(10, 10, 10, 0.08);
  text-align: center;
}

.ntf-invite-thanks__logo {
  display: block;
  width: 184px;
  height: auto;
  margin: 0 auto clamp(20px, 3vw, 28px);
}

.ntf-invite-thanks__title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.ntf-invite-thanks__message {
  max-width: 480px;
  margin: clamp(14px, 2.5vw, 20px) auto 0;
  color: #5f6368;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.ntf-invite-page .ntf-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 101;
  width: 100%;
  max-height: 100dvh;
  padding: 16px clamp(16px, 3vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 178px;
  column-gap: 24px;
  align-items: start;
  overflow-y: auto;
  border: 0;
  border-top: 1px solid #e5e5e5;
  border-radius: 0;
  background: #f7f7f7;
  color: #111;
}

.ntf-invite-page .ntf-consent-banner h2 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
}

.ntf-invite-page .ntf-consent-banner > p:not(.ntf-consent-banner__status) {
  margin: 8px 0 0;
  max-width: 820px;
  color: #666;
  font-size: 0.75rem;
  line-height: 1.45;
}

.ntf-invite-page .ntf-consent-banner a {
  color: #0a0a0a;
  font-weight: 700;
  text-underline-offset: 3px;
}

.ntf-invite-page .ntf-consent-banner__status {
  margin: 8px 0 0;
  color: #b42318;
  font-size: 14px;
  font-weight: 700;
}

.ntf-invite-page .ntf-consent-banner__status:empty,
.ntf-invite-page .ntf-consent-global-status:empty {
  display: none;
}

.ntf-invite-page .ntf-consent-banner__actions {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  gap: 8px;
}

.ntf-invite-page .ntf-consent-banner__actions > .ntf-button {
  padding: 0 14px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.ntf-invite-page .ntf-consent-banner__preferences {
  border-color: #d6d6d6;
  background: transparent;
}

.ntf-invite-page .ntf-consent-banner__preferences:hover {
  border-color: #bdbdbd;
  background: #fff;
}

.ntf-invite-page .ntf-consent-global-status {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 101;
  width: min(560px, calc(100% - 48px));
  margin: 0;
  padding: 16px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #f7f7f7;
  color: #b42318;
  font-size: 14px;
  font-weight: 700;
}

.ntf-invite-page .ntf-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}

.ntf-invite-page .ntf-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.ntf-invite-page .ntf-button--primary {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
}

.ntf-invite-page .ntf-button--primary:hover {
  background: #252525;
  border-color: #252525;
}

.ntf-invite-page .ntf-button--secondary {
  background: #fff;
  border-color: #d6d6d6;
  color: #0a0a0a;
}

.ntf-invite-page .ntf-button--secondary:hover {
  background: #f7f7f7;
  border-color: #bdbdbd;
}

@media (max-width: 600px) {
  @supports selector(:has(*)) {
    .ntf-invite-page:has(.ntf-consent-banner:not([hidden])) {
      padding-bottom: 200px;
    }
  }

  .ntf-invite-page .ntf-consent-banner {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 100dvh;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    display: block;
  }

  .ntf-invite-page .ntf-consent-global-status {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .ntf-invite-page .ntf-consent-banner__actions {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ntf-invite-thanks__card {
    border-radius: 22px;
  }
}


/* Redesign operacional da Hero de convite */
.ntf-invite-hero {
  position: relative;
  min-height: calc(100svh - var(--ntf-header-height) - 1px);
  gap: clamp(10px, 1.6vh, 18px);
  padding: clamp(16px, 2.3vh, 24px) clamp(18px, 4vw, 56px);
}

.ntf-invite-hero__content {
  width: 100%;
  max-width: 1280px;
}

.ntf-invite-hero h1 {
  max-width: 1280px;
  margin-inline: auto;
  font-size: clamp(2.25rem, 4.7vw, 4.65rem);
  font-weight: 800;
  line-height: 0.98;
}

.ntf-invite-hero__title-line {
  display: block;
  white-space: nowrap;
}

.ntf-invite-hero__speed {
  color: #0a0a0a;
  text-decoration: underline;
  text-decoration-color: #22c55e;
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

.ntf-invite-hero__subtitle {
  max-width: 1050px;
  margin-top: clamp(10px, 1.4vh, 16px);
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.45;
}

.ntf-invite-hero__subtitle-line {
  display: block;
  white-space: nowrap;
}

.ntf-invite-flow {
  display: block;
  width: min(100%, 1120px);
}

.ntf-invite-flow__canvas {
  position: relative;
  isolation: isolate;
  min-height: clamp(330px, 47vh, 390px);
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(190px, 0.82fr) minmax(210px, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "sources processor destinations"
    "sources processor destinations";
  align-items: center;
  gap: 12px clamp(44px, 5vw, 72px);
  padding: clamp(16px, 2.2vw, 24px);
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  background: #fafafa;
}

.ntf-invite-flow__connections {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.ntf-invite-flow__connections path {
  fill: none;
  stroke: #cfcfcf;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 7 8;
  vector-effect: non-scaling-stroke;
  transition:
    stroke 220ms ease,
    opacity 220ms ease;
}

.ntf-invite-flow__sources {
  grid-area: sources;
}

.ntf-invite-flow__processor {
  grid-area: processor;
}

.ntf-invite-flow__destinations {
  grid-area: destinations;
}

.ntf-invite-flow__crm {
  grid-area: crm;
}

.ntf-invite-flow__sources,
.ntf-invite-flow__destinations {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: clamp(11px, 1.6vh, 16px);
  min-width: 0;
}

.ntf-invite-flow__sources::after,
.ntf-invite-flow__processor::after,
.ntf-invite-flow__sources .ntf-invite-flow__node::after,
.ntf-invite-flow__destinations .ntf-invite-flow__node::before {
  content: none;
}

.ntf-invite-flow__node {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 58px;
  gap: 11px;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid #dedede;
  border-color: #dedede;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(10, 10, 10, 0.045);
  text-align: left;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.ntf-invite-flow__sources .ntf-invite-flow__node {
  min-height: 96px;
  height: 96px;
}

.ntf-invite-flow__node:hover {
  border-color: #c8c8c8;
}

.ntf-invite-flow__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f1f1f1;
  color: #0a0a0a;
}

.ntf-invite-flow__icon::after {
  position: absolute;
  inset: -3px;
  content: "";
  border: 1.5px solid rgba(34, 197, 94, 0.55);
  border-width: 1.5px;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.ntf-invite-flow__icon svg {
  display: block;
  width: 19px;
  height: 19px;
}

[data-flow-node="meta"] .ntf-invite-flow__icon {
  background: #edf4ff;
  color: #0866ff;
}

[data-flow-node="portals"] .ntf-invite-flow__icon {
  background: #fff3e5;
  color: #a86a33;
}

[data-flow-node="site"] .ntf-invite-flow__icon {
  background: #eaf3fb;
  color: #417da9;
}

.ntf-invite-flow__node-text {
  min-width: 0;
}

.ntf-invite-flow__node-text h3 {
  margin: 0;
  font-size: clamp(12.5px, 1.05vw, 14px);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.ntf-invite-flow__node-text p {
  margin: 3px 0 0;
  color: #5f6368;
  font-size: 11.5px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.ntf-invite-flow__processor {
  position: relative;
  width: min(100%, 96px);
  min-height: 96px;
  justify-self: center;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition:
    transform 220ms ease;
}

.ntf-invite-flow__processor-logo,
.ntf-invite-flow__processor img {
  width: clamp(78px, 7vw, 96px);
  height: auto;
  border-radius: 0;
}

.ntf-invite-flow__crm {
  width: min(100%, 290px);
  min-height: 80px;
  grid-area: auto;
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  justify-self: center;
  grid-template-columns: auto minmax(0, 1fr);
}

.ntf-invite-flow__included {
  display: block;
  color: #5f6368;
  font-size: 11px;
  line-height: 1.2;
}

.ntf-invite-flow__crm .ntf-invite-flow__icon {
  background: #f2f2f2;
  color: #252525;
}

.ntf-invite-flow__seller {
  min-height: 96px;
  height: 96px;
  grid-template-rows: auto 36px;
  row-gap: 5px;
}

.ntf-invite-flow__seller-details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  column-gap: 5px;
  font-size: 10.5px;
  line-height: 1.25;
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.ntf-invite-flow__seller-details span:first-child {
  grid-column: 1 / -1;
  color: #666;
  font-size: 10px;
}

.ntf-invite-flow__seller-details strong {
  font-weight: 700;
}

.ntf-invite-flow__seller-details span:last-child {
  color: #4d4d4d;
  white-space: nowrap;
}

.ntf-invite-flow__crm-details {
  grid-column: 1 / -1;
  display: grid;
  gap: 2px;
  font-size: 11px;
  line-height: 1.25;
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.ntf-invite-flow__crm-details strong {
  color: #0a0a0a;
}

.ntf-invite-flow__crm-details span {
  color: #666;
}

.ntf-invite-flow:not(.is-flow-running):not(.is-flow-paused) [data-flow-node="seller-1"] [data-flow-seller-details],
.ntf-invite-flow:not(.is-flow-running):not(.is-flow-paused) [data-flow-crm-details],
.ntf-invite-flow.is-flow-running[data-flow-details-visible="true"] [data-flow-active="true"] [data-flow-seller-details],
.ntf-invite-flow.is-flow-running[data-flow-details-visible="true"] [data-flow-active="true"] [data-flow-crm-details],
.ntf-invite-flow.is-flow-paused[data-flow-details-visible="true"] [data-flow-active="true"] [data-flow-seller-details],
.ntf-invite-flow.is-flow-paused[data-flow-details-visible="true"] [data-flow-active="true"] [data-flow-crm-details] {
  opacity: 1;
  visibility: visible;
}

.ntf-invite-flow [data-flow-active="true"] {
  border-color: rgba(34, 197, 94, 0.62);
  box-shadow: 0 10px 24px rgba(10, 10, 10, 0.075);
}

.ntf-invite-flow [data-flow-active="true"] .ntf-invite-flow__icon::after {
  opacity: 1;
}

.ntf-invite-flow[data-flow-step="processing"] [data-flow-node="notifika"] {
  opacity: 0.92;
}

.ntf-invite-flow.is-flow-running [data-flow-node="notifika"][data-flow-active="true"] {
  opacity: 1;
}

.ntf-invite-flow[data-active-origin="meta"] [data-flow-path="meta-to-notifika"],
.ntf-invite-flow[data-active-origin="portals"] [data-flow-path="portals-to-notifika"],
.ntf-invite-flow[data-active-origin="site"] [data-flow-path="site-to-notifika"],
.ntf-invite-flow[data-active-seller="seller-1"] [data-flow-path="notifika-to-seller-1"],
.ntf-invite-flow[data-active-seller="seller-2"] [data-flow-path="notifika-to-seller-2"],
.ntf-invite-flow[data-active-seller="seller-3"] [data-flow-path="notifika-to-seller-3"],
.ntf-invite-flow[data-active-seller] [data-flow-path="notifika-to-crm"] {
  stroke: rgba(34, 197, 94, 0.72);
}

.ntf-invite-flow__lead {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
  opacity: 0;
  pointer-events: none;
}

@keyframes ntf-flow-meta {
  0% { left: 20.8%; top: 15.2%; opacity: 0; }
  12% { opacity: 1; }
  52% { left: 32.5%; top: 21%; opacity: 1; }
  86% { opacity: 1; }
  100% { left: 43.3%; top: 41.3%; opacity: 0; }
}

@keyframes ntf-flow-portals {
  0% { left: 20.8%; top: 32.6%; opacity: 0; }
  12% { opacity: 1; }
  52% { left: 32.8%; top: 35%; opacity: 1; }
  86% { opacity: 1; }
  100% { left: 43.3%; top: 45.7%; opacity: 0; }
}

@keyframes ntf-flow-site {
  0% { left: 20.8%; top: 50%; opacity: 0; }
  12% { opacity: 1; }
  52% { left: 32.8%; top: 50%; opacity: 1; }
  86% { opacity: 1; }
  100% { left: 43.3%; top: 50%; opacity: 0; }
}

@keyframes ntf-flow-seller-1 {
  0% { left: 56.7%; top: 41.3%; opacity: 0; }
  12% { opacity: 1; }
  52% { left: 68%; top: 28%; opacity: 1; }
  86% { opacity: 1; }
  100% { left: 79.2%; top: 15.2%; opacity: 0; }
}

@keyframes ntf-flow-seller-2 {
  0% { left: 56.7%; top: 45.7%; opacity: 0; }
  12% { opacity: 1; }
  52% { left: 68%; top: 39%; opacity: 1; }
  86% { opacity: 1; }
  100% { left: 79.2%; top: 32.6%; opacity: 0; }
}

@keyframes ntf-flow-seller-3 {
  0% { left: 56.7%; top: 50%; opacity: 0; }
  12% { opacity: 1; }
  52% { left: 68%; top: 50%; opacity: 1; }
  86% { opacity: 1; }
  100% { left: 79.2%; top: 50%; opacity: 0; }
}

@keyframes ntf-flow-crm {
  0% { left: 50%; top: 60.9%; opacity: 0; }
  12% { opacity: 1; }
  86% { opacity: 1; }
  100% { left: 50%; top: 80.4%; opacity: 0; }
}

@keyframes ntf-flow-responsive {
  0% { offset-distance: 0%; opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

.ntf-invite-flow.is-flow-running[data-flow-geometry="true"][data-active-origin] .ntf-invite-flow__lead--input,
.ntf-invite-flow.is-flow-running[data-flow-geometry="true"][data-active-seller] .ntf-invite-flow__lead--seller,
.ntf-invite-flow.is-flow-running[data-flow-geometry="true"][data-active-seller] .ntf-invite-flow__lead--crm {
  animation-name: ntf-flow-responsive;
  offset-rotate: 0deg;
}

.ntf-invite-flow.is-flow-running[data-active-origin] .ntf-invite-flow__lead--input {
  animation-duration: 2600ms;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
}

.ntf-invite-flow.is-flow-running[data-active-origin="meta"] .ntf-invite-flow__lead--input {
  animation-name: ntf-flow-meta;
}

.ntf-invite-flow.is-flow-running[data-active-origin="portals"] .ntf-invite-flow__lead--input {
  animation-name: ntf-flow-portals;
}

.ntf-invite-flow.is-flow-running[data-active-origin="site"] .ntf-invite-flow__lead--input {
  animation-name: ntf-flow-site;
}

.ntf-invite-flow.is-flow-running[data-active-seller] .ntf-invite-flow__lead--seller,
.ntf-invite-flow.is-flow-running[data-active-seller] .ntf-invite-flow__lead--crm {
  animation-duration: 1700ms;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
}

.ntf-invite-flow.is-flow-running[data-active-seller="seller-1"] .ntf-invite-flow__lead--seller {
  animation-name: ntf-flow-seller-1;
}

.ntf-invite-flow.is-flow-running[data-active-seller="seller-2"] .ntf-invite-flow__lead--seller {
  animation-name: ntf-flow-seller-2;
}

.ntf-invite-flow.is-flow-running[data-active-seller="seller-3"] .ntf-invite-flow__lead--seller {
  animation-name: ntf-flow-seller-3;
}

.ntf-invite-flow.is-flow-running[data-active-seller] .ntf-invite-flow__lead--crm {
  animation-name: ntf-flow-crm;
}

.ntf-invite-flow.is-flow-paused .ntf-invite-flow__lead {
  animation-play-state: paused;
}

.ntf-invite-cta {
  padding-inline: 26px;
  box-shadow: 0 10px 24px rgba(10, 10, 10, 0.16);
}

@media (min-width: 761px) {
  .ntf-invite-hero {
    height: calc(100svh - var(--ntf-header-height) - 1px);
    min-height: 560px;
    overflow: hidden;
  }


}

@media (min-width: 1024px) and (max-height: 780px) {
  .ntf-invite-hero {
    gap: 12px;
    padding-block: 16px;
  }

  .ntf-invite-hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.55rem);
  }

  .ntf-invite-flow__canvas {
    min-height: 282px;
    padding-block: 18px;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .ntf-invite-hero__title-line {
    display: inline;
    white-space: normal;
  }

  .ntf-invite-hero__subtitle-line {
    display: inline;
    white-space: normal;
  }

  .ntf-invite-flow__seller-details span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 760px) {
  .ntf-invite-hero {
    min-height: calc(100svh - var(--ntf-header-height) - 1px);
    align-content: start;
    gap: 18px;
    padding: 20px 16px 28px;
  }

  .ntf-invite-hero__title-line {
    display: inline;
    white-space: normal;
  }

  .ntf-invite-hero h1 {
    font-size: clamp(2rem, 8.8vw, 2.75rem);
    line-height: 1.02;
  }

  .ntf-invite-hero__subtitle {
    max-width: 680px;
    font-size: 15px;
  }

  .ntf-invite-hero__subtitle-line {
    display: inline;
    white-space: normal;
  }

  .ntf-invite-flow__canvas {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "sources"
      "processor"
      "destinations"
      "crm";
    gap: 22px;
    padding: 20px 14px;
  }

  .ntf-invite-flow__connections,
  .ntf-invite-flow__lead {
    display: none;
  }

  .ntf-invite-flow[data-mobile-geometry="true"] .ntf-invite-flow__connections,
  .ntf-invite-flow[data-mobile-geometry="true"] .ntf-invite-flow__lead {
    display: block;
  }

  .ntf-invite-flow[data-mobile-geometry="true"] .ntf-invite-flow__canvas::before {
    content: none;
  }

  @keyframes ntf-flow-mobile {
    0% { offset-distance: 0%; opacity: 0; }
    12% { opacity: 1; }
    85% { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
  }

  .ntf-invite-flow.is-flow-running[data-mobile-geometry="true"][data-active-origin] .ntf-invite-flow__lead--input,
  .ntf-invite-flow.is-flow-running[data-mobile-geometry="true"][data-active-seller] .ntf-invite-flow__lead--seller,
  .ntf-invite-flow.is-flow-running[data-mobile-geometry="true"][data-active-seller] .ntf-invite-flow__lead--crm {
    animation-name: ntf-flow-mobile;
    offset-rotate: 0deg;
  }

  .ntf-invite-flow__canvas::before {
    position: absolute;
    top: 100px;
    bottom: 82px;
    left: 50%;
    z-index: -1;
    content: "";
    border-left: 2px dashed #cfcfcf;
  }

  .ntf-invite-flow__sources,
  .ntf-invite-flow__destinations {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .ntf-invite-flow__destinations {
    grid-template-columns: 1fr;
  }

  .ntf-invite-flow__node {
    min-height: 96px;
    display: block;
    padding: 10px 7px;
    text-align: center;
  }

  .ntf-invite-flow__seller {
    min-height: 96px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto 34px;
    padding: 8px 12px;
    text-align: left;
  }

  .ntf-invite-flow__seller-details span:last-child {
    white-space: normal;
  }

  .ntf-invite-flow__seller .ntf-invite-flow__icon {
    margin: 0;
  }

  .ntf-invite-flow__icon {
    margin: 0 auto 8px;
  }

  .ntf-invite-flow__node-text h3 {
    font-size: 12px;
    line-height: 1.2;
  }

  .ntf-invite-flow__node-text p {
    font-size: 10.5px;
  }

  .ntf-invite-flow__processor {
    min-height: 96px;
  }

  .ntf-invite-flow__crm {
    width: min(100%, 280px);
    min-height: 94px;
    grid-area: crm;
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    padding-inline: 12px;
    text-align: left;
  }

  .ntf-invite-flow__crm .ntf-invite-flow__icon {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ntf-invite-flow__connections path,
  .ntf-invite-flow__lead,
  .ntf-invite-flow [data-flow-active="true"] {
    animation: none !important;
    transition: none !important;
  }
}
