/* Demo base machinery (spec 11): dark defaults + skip link +
   the --demo-notice-space clearance contract. Demo-owned stylesheets
   never redefine these; content wrappers consume the variable. */
.demo-base {
  --demo-notice-space: 64px;
  margin: 0;
  background: #05071e;
  color: #e8e7f7;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .demo-base {
    --demo-notice-space: 48px;
  }
}
.demo-base-skip-link {
  /* border-box here is load-bearing: the machinery stylesheets ship
     no global box-sizing reset (app.css never loads on demo
     surfaces), and content-box would make min-height 44 plus the
     padding a 68px element, leaving a visible sliver at top -60px. */
  box-sizing: border-box;
  position: fixed;
  top: -60px;
  left: 4px;
  z-index: 99999;
  padding: 12px 18px;
  min-height: 44px;
  border-radius: 8px;
  background: #131428;
  color: #ffffff;
  outline: 2px solid #60a5fa;
  transition: top 0.2s ease;
}
.demo-base-skip-link:focus {
  top: 4px;
}
.demo-base-main:focus {
  outline: none;
}