:root { color-scheme: light; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body {
  max-width: 690px;
  margin: 70px auto;
  padding: 0 20px;
  background: #fff;
  color: #202020;
  font: 17px/1.45 'Times New Roman', Times, serif;
}
h1 { margin: 0 0 12px; font-size: 27px; line-height: 1.2; }
header { margin-bottom: 30px; }
h2 { margin: 0 0 12px; font-size: inherit; font-weight: normal; }
section { margin-bottom: 30px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0; padding-left: 28px; }
li { margin-bottom: 5px; }
a, .text-button { color: #0000ee; text-underline-offset: 2px; }
a:visited { color: #551a8b; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid #0000ee;
  outline-offset: 4px;
}
.quiet { color: #626262; font-size: 15px; }
.prompt, .conversation { border-left: 1px solid #bbb; padding-left: 17px; margin: 14px 0; }
.prompt p { overflow-wrap: anywhere; }
.prompt p:last-child, .conversation > p:last-child { margin-bottom: 0; }
.actions { margin-bottom: 7px; }
.actions .quiet { margin-left: 10px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:not(.text-button) {
  color: #202020;
  background: #f6f6f6;
  border: 1px solid #aaa;
  border-radius: 2px;
  padding: 7px 12px;
  white-space: nowrap;
}
button:not(.text-button):hover { background: #ebebeb; }
.text-button { background: none; border: 0; padding: 0; text-decoration: underline; }
.after-list { margin-top: 13px; }
.example-picker { display: flex; flex-wrap: wrap; gap: 8px 20px; border: 0; padding: 0; margin: 0 0 17px; }
.example-picker label { cursor: pointer; }
input[type="radio"] { margin: 0 4px 0 0; accent-color: #202020; }
.message-label { margin-bottom: 4px; }
#your-message { margin-top: 18px; }
#reply-text { overflow-wrap: anywhere; }
form > label { display: block; margin-bottom: 6px; }
input:not([type="radio"]) { min-width: 0; width: 100%; color: #202020; background: #fff; border: 1px solid #aaa; border-radius: 2px; padding: 8px 9px; }
input::placeholder { color: #6b6b6b; opacity: 1; }
.input-row { display: flex; gap: 8px; margin-bottom: 8px; }
.error { color: #9f2020; font-size: 15px; }
.error:empty { display: none; }
.result { margin-top: 16px; }
.demo-note { margin-top: 14px; }
footer { margin-top: 38px; font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.setup-form { max-width: 380px; }
.setup-form input { margin-bottom: 8px; }
.setup-form button { margin-top: 7px; }
.back-link { margin-bottom: 28px; }
.step-label { margin-bottom: 8px; }
.setup-step h2 { font-size: 21px; }
@media (max-width: 600px) {
  body { margin-top: 40px; margin-bottom: 45px; }
  ul, ol { padding-left: 24px; }
}
@media (max-width: 380px) {
  .input-row { flex-direction: column; align-items: flex-start; }
}
@media print {
  body { max-width: none; margin: 0; padding: 0; font-size: 11pt; }
  a, a:visited { color: inherit; }
  section { break-inside: avoid; }
  button, form, footer { display: none; }
}

input[type="checkbox"] { width: auto; margin-right: 5px; }
button:disabled { opacity: .55; cursor: wait; }
textarea { width: 100%; min-height: 110px; font: inherit; padding: 9px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 15px/1.5 monospace; }
.connection { border-top: 1px solid #ddd; padding: 14px 0; }
.connection p { margin-bottom: 6px; }

#qr { display: block; max-width: 100%; height: auto; margin: 14px 0; }
details { margin: 16px 0; }
summary { cursor: pointer; margin-bottom: 10px; }
#text-status { margin-top: 20px; }
