/* Embeddable iframe — layout tweaks on top of main.css */

html.embed-page,
body.embed-body {
  min-height: auto;
  height: auto;
  overflow: hidden;
}

body.embed-body {
  display: block;
}

.embed-shell {
  max-width: 100%;
}

.embed-thread {
  max-width: 100%;
}

.embed-powered-by {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.embed-powered-by a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.embed-powered-by a:hover {
  color: var(--color-link);
  text-decoration: underline;
}

.embed-compose-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.embed-signed-in {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.embed-auth-return {
  padding: 2rem;
  text-align: center;
  color: var(--color-text-muted);
}
