/* SMB Labs demo layer styles. Theme it from the site's own tokens by setting these on :root:
   --smb-card, --smb-ink, --smb-muted, --smb-line, --smb-accent, --smb-accent-ink, --smb-radius, --smb-scrim */
.smb-dialog{margin:auto;width:34rem;max-width:calc(100% - 2.5rem);border:0;padding:clamp(1.5rem,1rem + 2vw,2.25rem);border-radius:var(--smb-radius,6px);
  background:var(--smb-card,#fff);color:var(--smb-ink,#151316);box-shadow:0 18px 48px rgb(0 0 0 / .25)}
.smb-dialog::backdrop{background:var(--smb-scrim,rgb(21 19 22 / .6));backdrop-filter:blur(3px)}
.smb-dialog h2{font-size:1.6rem;line-height:1.15;margin:0 0 .75rem}
.smb-dialog p{font-size:.875rem;line-height:1.6;margin:0;overflow-wrap:anywhere}.smb-dialog p+p{margin-top:.75rem}
.smb-dialog .smb-actions{margin-top:1.5rem;display:flex;flex-wrap:wrap;gap:.75rem}
.smb-dialog button{min-height:2.875rem;padding:.7rem 1.4rem;border-radius:var(--smb-radius,6px);border:1px solid var(--smb-accent,#E10274);
  background:var(--smb-accent,#E10274);color:var(--smb-accent-ink,#fff);font:inherit;font-weight:600;font-size:.875rem;cursor:pointer}
.smb-dialog button.smb-quiet{background:transparent;color:inherit;border-color:var(--smb-line,#cfc9cf)}
.smb-dialog .smb-credit{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--smb-line,#e6e2e6);font-size:.75rem;color:var(--smb-muted,#625c65)}
.smb-dialog[open]{animation:smb-fade .25s ease-out}
@keyframes smb-fade{from{opacity:0}}
html:has(dialog[open]){overflow:hidden}
/* a small "Demo" tag for the header: the visible reminder once the gate is acknowledged */
.smb-demo-tag{font-size:.75rem;color:var(--smb-muted,#625c65);border:1px solid var(--smb-line,#cfc9cf);border-radius:var(--smb-radius,6px);padding:.2rem .55rem;white-space:nowrap}
/* the builder credit: bottom-right of the footer's last line, never the header (smblabs/CLAUDE.md) */
.smb-powered{display:inline-flex;align-items:center;gap:.5rem;min-height:2.75rem;color:inherit;opacity:.6;text-decoration:none;font-size:.75rem;transition:opacity .18s}
.smb-powered:hover,.smb-powered:focus-visible{opacity:1}
.smb-powered img{height:15px;width:auto}
@media (prefers-reduced-motion:reduce){.smb-dialog[open]{animation:none}.smb-powered{transition:none}}
