:root {
  color-scheme: only dark;
  background: #101319;
  color: #e9edf4;
  font-family: system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none; }

body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 1.25rem;
  background: radial-gradient(ellipse at 50% 18%, #191f2a, #101319 68%);
}

.panel {
  width: min(100%, 23rem);
  padding: clamp(1.25rem, 5vw, 2rem);
  border: 1px solid #363e4e;
  border-radius: .875rem;
  background: #1a1f29;
  box-shadow: 0 1rem 3rem #090b1066;
}

h1 {
  margin: 0 0 1.5rem;
  font-size: 1.625rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.025em;
}

label {
  display: block;
  margin-bottom: .5rem;
  font-size: .9375rem;
}

input, button {
  width: 100%;
  min-height: 2.875rem;
  border-radius: .375rem;
  font: inherit;
}

input {
  margin-bottom: 1rem;
  padding: .625rem .75rem;
  border: 1px solid #5d6b81;
  background: #141821;
  color: inherit;
}

button {
  padding: .625rem .75rem;
  border: 1px solid transparent;
  background: #a9bcf0;
  color: #141e35;
  font-weight: 650;
  cursor: pointer;
}

button:hover { background: #bbcaff; }
button:disabled { background: #66738f; color: #f0f3fb; cursor: wait; }
:focus-visible { outline: 2px solid #a9bcf0; outline-offset: 3px; }

.alternate {
  margin: 1rem 0 0;
  text-align: center;
  font-size: .9375rem;
}

.alternate a {
  display: inline-block;
  padding: .35rem .5rem;
  color: #c2cce1;
  text-underline-offset: .2em;
}

.notice {
  margin: 0 0 1rem;
  padding: .7rem .75rem;
  border: 1px solid #704847;
  border-radius: .375rem;
  background: #352525;
  color: #ffd1c9;
  font-size: .9375rem;
  line-height: 1.5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
