:root {
  color-scheme: light;
  font: 100% / 1.5 system-ui, sans-serif;
  background: #f6f4ef;
  color: #23352c;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { max-width: 50rem; margin: 0 auto; padding: clamp(1rem, 5vw, 3rem); }
header { margin-bottom: 1.5rem; }
header p { margin-bottom: 0.25rem; color: #42594c; }
h1, h2 { line-height: 1.2; margin: 0 0 0.75rem; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.9rem, 7vw, 3rem); }
h2 { font-size: 1.25rem; }
section { padding: clamp(1rem, 4vw, 1.75rem); background: #fff; border: 1px solid #c8d2ca; border-radius: 1rem; }
form { max-width: 31rem; display: grid; gap: 0.5rem; }
button, input, textarea { min-height: 44px; border: 1px solid #708579; border-radius: 0.45rem; font: inherit; padding: 0.5rem 0.75rem; }
button { justify-self: start; color: #fff; font-weight: 600; background: #21513b; cursor: pointer; }
button:disabled { opacity: 0.65; cursor: wait; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #486eab; outline-offset: 2px; }
#status:not(:empty) { margin: 0 0 1rem; }
#qr { display: block; max-width: 100%; margin: 1rem 0; }
.toolbar { display: flex; gap: 0.75rem; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.toolbar h2 { margin: 0; }
ul { list-style: none; padding: 0; }
li { border-top: 1px solid #dbe3dc; padding: 0.75rem 0; }
.message { margin: 0.25rem 0 0.65rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.meta { color: #42594c; font-size: 0.875rem; overflow-wrap: anywhere; }
