* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
.demo-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 44px;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
  background: #101827;
  border-bottom: 1px solid rgba(255,255,255,.14);
  font-family: Arial, sans-serif;
  font-size: 12px;
}
.demo-bar strong { letter-spacing: .05em; text-transform: uppercase; }
.demo-actions { display: flex; align-items: center; gap: 8px; }
.demo-actions a, .demo-actions button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 5px;
  color: #fff;
  background: transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.demo-actions button.active { color: #101827; background: #fff; }
.demo-actions .use-template { border-color: #1687ff; background: #0876e4; }
@media (max-width: 640px) {
  .demo-bar { padding: 6px 10px; }
  .demo-bar strong { display: none; }
  .demo-actions { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
