/* Static demo additions. */
.file-actions [hidden] { display: none !important; }
.demo-badge {
  margin-left: 6px; padding: 1px 6px; border-radius: 999px; font-size: 10px; font-style: normal;
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle;
  background: color-mix(in srgb, currentColor 14%, transparent);
}
.demo-intro {
  width: min(520px, calc(100vw - 32px)); padding: 0; border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 12px; background: var(--panel); color: var(--text); box-shadow: 0 24px 64px rgb(0 0 0 / .35);
}
.demo-intro::backdrop { background: rgb(8 10 18 / .55); backdrop-filter: blur(2px); }
.demo-intro form { padding: 22px 24px 20px; font-size: 14px; line-height: 1.5; }
.demo-intro h2 { margin: 0 0 10px; font-size: 19px; }
.demo-intro h3 { margin: 16px 0 4px; font-size: 14px; }
.demo-intro p { margin: 0 0 8px; }
.demo-intro ul { margin: 0 0 8px; padding-left: 20px; }
.demo-intro pre { margin: 4px 0 10px; padding: 10px 12px; border-radius: 8px; background: color-mix(in srgb, currentColor 9%, transparent); font-size: 13px; }
.demo-intro code { font-family: ui-monospace, Menlo, Consolas, monospace; }
.demo-intro-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.demo-intro-actions button { padding: 7px 14px; border-radius: 7px; font: inherit; font-weight: 600; cursor: pointer;
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent); background: transparent; color: inherit; }
.demo-intro-actions .primary { border-color: #6b4fd8; background: #6b4fd8; color: #fff; }

