:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  color: #e4e7eb;
  background: #17191c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.auth {
  width: min(440px, calc(100% - 40px));
  margin: 10vh auto;
}
.panel {
  padding: 28px;
  background: #202328;
  border: 1px solid #34383f;
  border-radius: 8px;
}
h1 {
  margin: 0 0 7px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.field {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}
label {
  font-size: 13px;
  font-weight: 500;
}
input,
button {
  font: inherit;
  border: 1px solid #454b55;
  border-radius: 6px;
}
input {
  color: #e4e7eb;
  background: #17191c;
  padding: 10px 12px;
  min-width: 0;
}
input::placeholder {
  color: #7f8895;
}
input:focus,
button:focus-visible {
  outline: 2px solid #9cbff2;
  outline-offset: 2px;
}
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  padding: 9px 14px;
  cursor: pointer;
}
button.primary {
  width: 100%;
  margin-top: 12px;
  font-weight: 600;
  background: #dce5f2;
  border-color: #dce5f2;
  color: #171c24;
}
button.primary:hover {
  background: white;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
.error {
  color: #ffb4b4;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.6;
  min-height: 18px;
  margin: 12px 0 0;
}
noscript p {
  color: #a1a8b2;
  line-height: 1.6;
}
