/* ============ حالت جاسازی داخل داشبورد (?embed=1) ============ */
/* وقتی صفحه داخل قاب داشبورد باز می‌شود، پوستهٔ سایت حذف می‌شود
   تا فقط محتوای خودش دیده شود. */
html.sc-embed .site-header,
html.sc-embed .site-footer,
html.sc-embed .ambient,
html.sc-embed .toast {
  display: none !important;
}

html.sc-embed body {
  min-height: auto;
  background: transparent;
}

html.sc-embed main {
  padding-top: 4px;
  padding-bottom: 18px;
}

/* در قاب، بخش قهرمان صفحه کمی جمع‌تر می‌شود */
html.sc-embed .sig-hero,
html.sc-embed .demo-create {
  margin-top: 8px;
}

/* فاصلهٔ پایین برای نوار پایین داشبورد در موبایل */
html.sc-embed body::after {
  content: '';
  display: block;
  height: 16px;
}
