/* Demo-only styles. build.py copies this to static/demo.css and links it from every page, so the
   pages need no inline style (the real UI sends style-src 'self'). */
.demo-banner {
  --banner-bg: #fff3b0; --banner-text: #2b2200; --banner-line: #c99700;
  --btn-bg: #1b1f24; --btn-text: #fff; --btn-focus: #1f5fbf;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1rem;
  padding: .65rem 1rem; background: var(--banner-bg); color: var(--banner-text);
  border-bottom: 2px solid var(--banner-line); font-size: 1rem; line-height: 1.3; text-align: center;
}
.demo-banner a {
  display: inline-block; padding: .4rem .9rem; border-radius: 6px; background: var(--btn-bg);
  color: var(--btn-text); font-weight: 600; text-decoration: underline; text-underline-offset: .2em;
}
.demo-banner a:hover { text-decoration-thickness: 2px; filter: brightness(1.2); }
.demo-banner a:focus-visible { outline: 3px solid var(--btn-focus); outline-offset: 2px; }
@media (prefers-color-scheme: dark) {
  .demo-banner {
    --banner-bg: #3d3000; --banner-text: #fff1b8; --banner-line: #e3b341;
    --btn-bg: #fff1b8; --btn-text: #1b1500; --btn-focus: #fff;
  }
}
footer .demo-repo { font-weight: 600; text-decoration: underline; }
form button, form input, form select, form textarea { pointer-events: none; opacity: .55; }
