html.sa-embed,
html.sa-embed body {
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  background: transparent !important;
  scrollbar-width: none;
}

html.sa-embed body::before,
html.sa-embed body::after {
  display: none !important;
}

html.sa-embed body::-webkit-scrollbar { display: none; }

html.sa-embed .wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 2px 0 8px;
  background: transparent;
}

html.sa-embed .wrap > .kicker,
html.sa-embed .wrap > h1,
html.sa-embed .wrap > .lede,
html.sa-embed .wrap > .foot,
html.sa-embed .wrap > .sample {
  display: none !important;
}

html.sa-embed .split,
html.sa-embed .sim,
html.sa-embed .cfg {
  margin-top: 0;
}

/* Intake becomes one native workflow instead of a page containing two cards. */
html.sa-embed .demo-intake .split {
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  border-top: 1px solid var(--carbon);
  border-bottom: 1px solid var(--carbon);
}

html.sa-embed .demo-intake .phone {
  border: 0;
  border-radius: 0;
  background: rgba(20,20,20,.48);
  padding: 24px 24px 26px 0;
}

html.sa-embed .demo-intake .split > div {
  padding: 24px 0 26px;
}

html.sa-embed .demo-intake .rec {
  border-radius: 10px;
  background: rgba(20,20,20,.62);
}

html.sa-embed .demo-intake .not { margin-top: 14px; }

/* Routing reads as an instrument panel, with page copy removed. */
html.sa-embed .demo-routing .sim { gap: 28px; }
html.sa-embed .demo-routing .stage { background: rgba(20,20,20,.7); }

/* Connect retains the metal object as its only strong visual boundary. */
html.sa-embed .demo-connect .cfg { gap: 42px; }
html.sa-embed .demo-connect .stage { position: relative; top: auto; }

@media (max-width: 940px) {
  html.sa-embed .demo-intake .split { grid-template-columns: 1fr; }
  html.sa-embed .demo-intake .phone {
    border-bottom: 1px solid var(--carbon);
    padding: 22px 0 26px;
  }
  html.sa-embed .demo-intake .split > div { padding: 26px 0 8px; }
}
