:root {
  color-scheme: light;
  font-family: ui-sans-serif, system-ui, sans-serif;
  color: #111827;
  background: #f9fafb;
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem;
}
main { width: 100%; max-width: 28rem; }
header { text-align: center; }
.brand { margin: 0 0 1.5rem; font-size: 1rem; font-weight: 700; color: #4f46e5; }
h1 { margin: 0; font-size: 1.875rem; line-height: 2.25rem; font-weight: 800; }
.description { margin: .5rem 0 0; color: #4b5563; font-size: .875rem; line-height: 1.5rem; }
form, #login { margin-top: 2rem; }
.field { margin-bottom: 1rem; }
label { display: block; font-size: .875rem; line-height: 1.25rem; font-weight: 500; color: #374151; }
input {
  display: block;
  width: 100%;
  margin-top: .25rem;
  padding: .625rem .75rem;
  border: 1px solid #d1d5db;
  border-radius: .375rem;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 1rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / .05);
}
input::placeholder { color: #6b7280; }
input:focus { border-color: #4f46e5; outline: 2px solid #4f46e5; outline-offset: 2px; }
button {
  display: block;
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid transparent;
  border-radius: .375rem;
  color: #fff;
  background: #4f46e5;
  font: inherit;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.25rem;
  cursor: pointer;
  transition: background-color .15s;
}
button:hover { background: #4338ca; }
button:focus-visible { outline: 2px solid #6366f1; outline-offset: 3px; }
button:disabled { opacity: .6; cursor: wait; }
#status { margin: 1.5rem 0 0; padding: 1rem; border: 1px solid #d1d5db; border-radius: .375rem; background: #fff; color: #374151; font-size: .875rem; line-height: 1.5rem; overflow-wrap: anywhere; }
#status:empty { display: none; }
@media (prefers-reduced-motion: reduce) {
  button { transition: none; }
}
