/* Enough to read, and no more - the demo is the wiring, not the paint. */
:root { color-scheme: light dark; }
body {
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, sans-serif;
  max-width: 42rem; margin: 0 auto; padding: 2rem 1rem;
}
header h1 { font-size: 1.3rem; margin: 0; }
header h1 a { color: inherit; text-decoration: none; }
.lede { color: #666; margin: .2rem 0 1.5rem; }
main { border-top: 1px solid #8883; padding-top: 1.5rem; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; margin-top: 2rem; }
code { font-size: .9em; background: #8881; padding: .1em .3em; border-radius: 3px; }
button {
  font: inherit; padding: .45em 1em; border: 1px solid #8886;
  border-radius: 6px; background: #8881; cursor: pointer;
}
button:hover { background: #8882; }
input { font: inherit; padding: .45em .6em; border: 1px solid #8886; border-radius: 6px; }
.row { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.keys { list-style: none; padding: 0; }
.keys li {
  display: flex; gap: .6rem; align-items: center; flex-wrap: wrap;
  padding: .6rem 0; border-bottom: 1px solid #8882;
}
.keys code { font-size: .75em; color: #777; max-width: 18rem; overflow: hidden;
             text-overflow: ellipsis; white-space: nowrap; }
.try { background: #8881; padding: .8rem 1rem; border-radius: 6px; }
.bad { color: #b00; }
footer { margin-top: 3rem; color: #777; }
