/* Shared embed chat modal for static showcase pages (twins-in-action, ask-a-ca). */
.sc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  background: rgba(17, 17, 17, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.sc-modal-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(560px, 96vw);
  height: min(720px, 92vh);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 90px -24px rgba(42, 8, 72, 0.55);
}
.sc-modal-toolbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  background: #fff;
}
.sc-modal-openapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cobalt, #3b0964);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 8px;
}
.sc-modal-openapp:hover {
  background: rgba(59, 9, 100, 0.06);
}
.sc-modal-openapp svg {
  width: 15px;
  height: 15px;
  display: block;
}
.sc-modal-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-modal-close:hover {
  background: #f3f4f6;
  color: #111827;
}
.sc-modal-close svg {
  width: 18px;
  height: 18px;
  display: block;
}
.sc-modal-frame {
  flex: 1;
  min-height: 0;
  width: 100%;
  border: none;
  background: #fff;
}
@media (max-width: 640px) {
  .sc-modal-overlay {
    padding: 0;
  }
  .sc-modal-shell {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }
}
