.demo-controls {
  box-sizing: border-box;
  margin: 0;
  padding: 16px 24px 24px;
  border-top: 2px dashed #5b6470;
  background: #f1f3f5;
  color: #1f2933;
  font: 14px/1.5 system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.demo-controls h2 {
  margin: 0 0 8px;
  font: 600 14px/1.5 system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #1f2933;
}
.demo-controls fieldset {
  margin: 0;
  padding: 8px 12px 12px;
  border: 1px dashed #5b6470;
}
.demo-controls legend {
  padding: 0 4px;
  font-weight: 600;
}
.demo-controls fieldset a {
  display: inline-block;
  margin-right: 8px;
  padding: 4px 10px;
  border: 1px solid #5b6470;
  border-radius: 4px;
  background: #ffffff;
  color: #1f2933;
  text-decoration: none;
}
.demo-controls fieldset a:hover {
  background: #e4e7eb;
}
.demo-controls fieldset a[aria-current] {
  background: #1f2933;
  color: #ffffff;
}
.demo-controls fieldset a:focus-visible,
.demo-pill a:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 2px;
}
.demo-status {
  min-height: 3em;
  margin: 8px 0 0;
}
.demo-pill {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 2147483000;
  margin: 0;
  padding: 6px 12px;
  border: 1px dashed #5b6470;
  border-radius: 999px;
  background: #f1f3f5;
  color: #1f2933;
  font: 13px/1.4 system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.demo-pill a {
  color: #1d4ed8;
}
.demo-pill[hidden],
html[data-demo-framed] .demo-controls,
html[data-demo-framed] .demo-pill {
  display: none;
}
