/* InnerCalmGuide — shared embed styles for /tools/ widgets */

/* ---- Embed mode (page loaded inside an iframe via ?embed=1) ---- */
body.embed .topbar,
body.embed #nav,
body.embed footer,
body.embed .bt-cta,
body.embed .wj-cta,
body.embed .ax-cta,
body.embed .gr-cta,
body.embed .pa-cta,
body.embed #embedBox,
body.embed .no-embed { display: none !important; }

body.embed { background: #faf8f3 !important; }
body.embed .bt-hero,
body.embed .wj-hero,
body.embed .ax-hero,
body.embed .gr-hero,
body.embed .pa-hero { padding: 20px 18px 12px !important; }
body.embed .bt-hero h1,
body.embed .wj-hero h1,
body.embed .ax-hero h1,
body.embed .gr-hero h1,
body.embed .pa-hero h1 { font-size: 24px !important; }
body.embed .badge { display: none !important; }

/* Attribution / backlink shown inside the embed */
.icg-credit {
  display: block;
  text-align: center;
  padding: 12px 14px 18px;
  font: 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: #5f7d57;
  text-decoration: none;
}
.icg-credit strong { color: #5f7d57; }
.icg-credit:hover { text-decoration: underline; }

/* ---- "Embed this tool" box (shown on the normal tool page) ---- */
#embedBox { margin-top: 30px; }
.icg-embed-inner {
  border: 1px dashed #cdd8c6;
  border-radius: 14px;
  padding: 20px 22px;
  background: #f6faf4;
}
.icg-embed-inner h3 { margin: 0 0 6px; font-size: 16px; }
.icg-embed-inner p { margin: 0 0 12px; font-size: 13.5px; color: #6b7280; }
.icg-embed-code {
  width: 100%;
  height: 96px;
  box-sizing: border-box;
  border: 1px solid #e6e3db;
  border-radius: 10px;
  padding: 10px 12px;
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  resize: vertical;
  background: #fff;
  color: #2d2d2d;
}
.icg-embed-copy {
  margin-top: 12px;
  border: none;
  border-radius: 100px;
  background: #7c9a72;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  cursor: pointer;
  transition: .15s;
}
.icg-embed-copy:hover { background: #5f7d57; }
.icg-embed-note { font-size: 12px; color: #9aa39a; margin-left: 12px; }
