:root {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  color: #282627;
  background: #f6f5f2;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 680px;
  margin: auto;
  padding: 32px 22px;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 8px 0;
}
p {
  line-height: 1.6;
  color: #73706b;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
}
input,
select,
textarea,
button {
  font: inherit;
  border-radius: 14px;
  padding: 13px;
  border: 1px solid #ddd9d2;
  width: 100%;
  background: #fff;
  color: inherit;
}
textarea {
  resize: vertical;
}
button {
  background: #ff762e;
  color: #fff;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  margin-top: 16px;
}
button.secondary {
  background: #eae7e2;
  color: #403c37;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
.card {
  background: white;
  border: 1px solid #e9e5de;
  border-radius: 24px;
  padding: 22px;
  margin: 24px 0;
}
.row {
  display: flex;
  gap: 12px;
}
.row > * {
  flex: 1;
  min-width: 0;
}
.badge {
  display: inline-block;
  color: #ba4e10;
  font-size: 12px;
  background: #fff0e3;
  padding: 7px 10px;
  border-radius: 20px;
}
#status {
  min-height: 24px;
  font-size: 14px;
  color: #85511e;
}
a {
  color: #b84409;
  overflow-wrap: anywhere;
}
canvas.preview {
  width: 100%;
  height: 300px;
  display: block;
  border-radius: 18px;
}
#qr svg {
  width: 160px;
  height: 160px;
}
small {
  color: #777;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #b54a0b;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
