/* "Embed this calculator" section and the embed hub (shared). */
.embed-this { max-width: 1240px; }
.embed-this .embed-lede { max-width: 70ch; }
.embed-box { margin: 16px 0 8px; }
.embed-box textarea {
  display: block; width: 100%; min-height: 9.5em; padding: 12px 14px; border: 2px solid #000; border-radius: 12px;
  background: #fff; color: #12122a; font: 0.82rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  resize: vertical; box-shadow: 4px 4px 0 #000;
}
.embed-box textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.embed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.embed-status { font-weight: 700; color: #0a7a3e; min-height: 1.4em; }
.embed-links { margin-top: 10px; }
.embed-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 24px; margin: 24px 0 8px; align-items: start; }
.embed-card { background: #fff; border: 2px solid #000; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; min-width: 0; }
.embed-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.embed-card > p { color: var(--muted); font-size: 0.95rem; }
.embed-preview { margin: 14px 0; border: 1px dashed var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); }
.embed-preview iframe { display: block; width: 100%; height: 440px; border: 0; }
.embed-card textarea { min-height: 8.5em; font-size: 0.74rem; box-shadow: none; }
.embed-card .embed-box { margin-top: 0; }
.embed-who { list-style: none; padding: 0; display: grid; gap: 10px; margin: 12px 0 8px; }
.embed-who li { background: #fff; border: 2px solid #000; border-radius: 14px; padding: 12px 16px; }
@media (min-width: 760px) { .embed-who { grid-template-columns: repeat(2, 1fr); } }
