/* Ghostlight embedded-form demo stage. Warm-dark, restrained, so the sky-blue managed
   language stays the only blue on screen. Mirrors the demo-brief visual contract. */

body.demo-iframe-shell {
  background: #171918;
}

.ifx-app {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

.ifx-card {
  width: min(880px, 100%);
  background: #202321;
  border: 1px solid #3a403b;
  border-radius: 18px;
  padding: 26px 28px 22px;
}

.ifx-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 10px;
}

.ifx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #a6ada6;
}

.ifx-kicker i,
.ifx-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b59375;
  display: inline-block;
}

.ifx-card h1 {
  margin: 6px 0 4px;
  font-size: 24px;
  color: #f0ede6;
}

.ifx-heading p {
  margin: 0;
  color: #a6ada6;
  font-size: 14.5px;
}

.ifx-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #7d857f;
  border: 1px solid #3a403b;
  border-radius: 999px;
  padding: 5px 11px;
}

.ifx-status i {
  background: #9db8a3;
}

.ifx-note {
  color: #cfd4cd;
  font-size: 14px;
  max-width: 62ch;
  margin: 8px 0 18px;
}

.ifx-stage {
  border: 1px solid #3a403b;
  border-radius: 14px;
  overflow: hidden;
  background: #1b1e1c;
}

.ifx-frame {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
}

.ifx-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.ifx-foot p {
  margin: 0;
  color: #a6ada6;
  font-size: 13px;
}

.ifx-foot strong {
  color: #9db8a3;
  font-weight: 600;
}

@media (max-width: 640px) {
  .ifx-heading { flex-direction: column; }
  .ifx-frame { height: 620px; }
}
