:root {
  color-scheme: light;
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17252b;
  background: #f3f5f7;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; padding: clamp(26px, 9vh, 90px) 16px 28px; }
main {
  width: min(100%, 432px);
  margin: auto;
  padding: clamp(22px, 6vw, 36px);
  border: 1px solid #dce4e7;
  border-radius: 12px;
  background: white;
}
header { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 760; letter-spacing: -.052em; }
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 31px;
  height: 31px;
  border-radius: 8px;
  background: #a7f2d6;
}
.brand-mark i { width: 3px; border-radius: 2px; background: #12392f; }
.brand-mark i:nth-child(1) { height: 8px; }
.brand-mark i:nth-child(2) { height: 16px; }
.brand-mark i:nth-child(3) { height: 11px; }
h1 { margin: 24px 0 20px; font-size: 29px; line-height: 1.16; letter-spacing: -.035em; }
h2 { margin: 0; font-size: 18px; }
form, label { display: grid; gap: 6px; }
form { gap: 14px; }
label { font-weight: 600; }
input, button { font: inherit; border-radius: 7px; min-height: 42px; }
input { width: 100%; border: 1px solid #cbd7da; padding: 8px 10px; color: inherit; }
button {
  border: 1px solid #086d59;
  background: #086d59;
  color: white;
  padding: 8px 14px;
  font-weight: 650;
  cursor: pointer;
}
button:hover:not(:disabled) { background: #075a4b; }
button:disabled { opacity: .7; cursor: default; }
:focus-visible { outline: 2px solid #168c75; outline-offset: 3px; }
.hint { color: #52656a; margin: -8px 0 0; font-size: 13px; }
#error { color: #a32d24; margin: 0; }
#setup { padding: 13px; border: 1px solid #dce4e7; border-radius: 8px; }
#setup p { margin: 5px 0 0; }
#qr { display: block; max-width: 100%; height: auto; margin: 0 auto; }
summary { cursor: pointer; }
code, #codes li { overflow-wrap: anywhere; }
#codes { list-style: none; padding: 10px 14px; background: #f3f5f7; border-radius: 7px; }
#codes li { padding: 3px 0; font-family: ui-monospace, monospace; }
#continue { width: 100%; }
