:root { color-scheme: light dark; }
body {
  margin: 0; min-height: 100vh; display: grid; place-items: center; align-content: center;
  font-family: system-ui, sans-serif;
}
main { width: min(92vw, 360px); text-align: center; }
h1 { margin: 0 0 .25rem; font-weight: 500; }
button {
  width: 100%; padding: .8rem 1rem; margin-top: 1rem; font: inherit;
  border: 1px solid currentColor; border-radius: 8px;
  background: transparent; color: inherit; cursor: pointer;
}
button:disabled { opacity: .5; cursor: progress; }
#status { min-height: 1.5em; margin-top: 1rem; }
#status[data-kind="error"] { color: #b3261e; }
form { display: grid; gap: .35rem; text-align: left; }
label { margin-top: .5rem; font-size: .9rem; }
input {
  padding: .7rem .8rem; font: inherit; color: inherit; background: transparent;
  border: 1px solid currentColor; border-radius: 8px;
}
.separator { margin: 1.25rem 0 0; font-size: .9rem; opacity: .7; }
.hint { font-size: .85rem; opacity: .7; }
button.link {
  width: auto; padding: .25rem; margin-top: .25rem; border: 0;
  text-decoration: underline; font-size: .9rem;
}
[hidden] { display: none !important; }
footer { width: min(92vw, 360px); margin: 2rem auto 1rem; text-align: center; font-size: .8rem; opacity: .75; }
footer a { color: inherit; }
