/* Public demo banner. Only rendered when demo-data.js runs on /demo or /tr/demo. */
.demo-banner {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 14px;
  min-height: 48px; padding: 8px 20px 8px calc(var(--sidebar-width, 236px) + 20px);
  color: #f3f1ed; background: #111111;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font: 500 13px/1.4 "IBM Plex Sans", system-ui, sans-serif;
}
.demo-banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, #d9733f 30%, #9cc9d6 70%, transparent);
}
.demo-banner p { margin: 0; color: #b5b2ad; }
.demo-pill {
  flex: none; padding: 4px 9px; border-radius: 99px;
  color: #1a0f08; background: #d9733f; font: 700 11px/1 "IBM Plex Mono", monospace; letter-spacing: .08em;
}
.demo-cta {
  flex: none; margin-left: auto; padding: 8px 14px; border-radius: 9px;
  color: #1a0f08; background: #d9733f; font-weight: 700; text-decoration: none;
}
.demo-cta:hover { background: #e6844f; }
/* The fixed sidebar sits under the banner. */
body.is-demo .sidebar { top: 48px; }
@media (max-width: 900px) {
  .demo-banner { padding-left: 16px; flex-wrap: wrap; }
  body.is-demo .sidebar { top: 0; }
  .demo-banner p { flex-basis: 100%; order: 3; }
}
