:root {
  color-scheme: dark;
  font-family: Inter, 'Microsoft YaHei', system-ui, sans-serif;
  background: #151619;
  color: #e8e9ed;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 64px 20px;
}
main {
  width: min(440px, 100%);
  margin: auto;
}
.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}
.reveal {
  min-width: 56px;
  font-size: 13px;
  font-weight: 400;
}
.setup-steps {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 13px;
  color: #9a9da6;
}
.setup-steps [aria-current='step'] {
  color: #d0d2d9;
  border-bottom: 2px solid currentColor;
  padding-bottom: 8px;
}
code {
  overflow-wrap: anywhere;
}
.hint.warning {
  color: #f0ca91;
}
.footer-hint {
  border-top: 1px solid #36383f;
  padding-top: 16px;
  margin-top: 24px;
}
h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 24px 0;
}
p {
  line-height: 1.8;
}
a {
  color: inherit;
  text-decoration: none;
}
.eyebrow {
  color: #b5b8c2;
  font-size: 13px;
}
.back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #7d8494;
  border-radius: 7px;
  background: #292c34;
  color: #e8e9ed;
  font-size: 14px;
}
label {
  display: block;
  font-size: 14px;
  margin: 20px 0 8px;
}
input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #36383f;
  background: #1b1c20;
  color: inherit;
  border-radius: 7px;
  padding: 12px;
  font: inherit;
  letter-spacing: 0.2em;
}
button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  background: #d0d2d9;
  color: #18191c;
  padding: 10px 18px;
  cursor: pointer;
}
form > button {
  width: 100%;
  margin-top: 24px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.quiet {
  background: #292c34;
  color: inherit;
  border-color: #7d8494;
}
.hint {
  font-size: 12px;
  color: #9a9da6;
  line-height: 1.8;
}
details {
  border-top: 1px solid #36383f;
  margin-top: 28px;
  padding-top: 20px;
}
summary {
  cursor: pointer;
  font-size: 14px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #7d8494;
  border-radius: 7px;
  background: #292c34;
  list-style-position: inside;
}
#message {
  font-size: 14px;
  overflow-wrap: anywhere;
}
#message.error {
  color: #ffaaa0;
}
input:focus-visible,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #d0d2d9;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  body {
    padding: 32px 20px;
  }
  h1 {
    font-size: 26px;
  }
  input {
    font-size: 16px;
  }
}
