:root {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  color-scheme: dark;
  --canvas: #141414;
  --text: #f0f0f0;
  --muted: #929292;
  --line: #ffffff17;
  --accent: #f0f0f0;
  color: var(--text);
  background: var(--canvas);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #bdbdbd;
  outline-offset: 3px;
}
input:focus,
select:focus {
  border-color: #737373;
  outline: 2px solid #bdbdbd30;
  outline-offset: 2px;
}
svg {
  flex-shrink: 0;
}
h1,
p {
  margin: 0;
  font-weight: 400;
}
.auth-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #141414;
}
.auth-header {
  height: 86px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  line-height: 20px;
}
.brand img {
  object-fit: contain;
}
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 45px 24px 70px;
}
.auth-card {
  width: 360px;
  max-width: 100%;
}
.auth-symbol {
  margin-bottom: 28px;
  text-align: center;
}
.auth-symbol img {
  object-fit: contain;
  display: block;
  margin: auto;
}
.auth-card > h1 {
  text-align: center;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}
.auth-card > p {
  text-align: center;
  margin: -18px 0 28px;
  color: var(--muted);
  line-height: 21px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.auth-card strong {
  color: #c9c9c9;
  font-weight: 400;
}
.auth-card label {
  display: block;
  font-size: 12px;
  color: #bcbcbc;
  margin-bottom: 7px;
}
.auth-card input:not([type="hidden"]),
.auth-card select {
  width: 100%;
  height: 40px;
  background: #181818;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 10px;
  min-width: 0;
}
.auth-card input::placeholder {
  color: #747474;
}
.auth-card button,
.auth-card > a {
  width: 100%;
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 12px;
  background: #1e1e1e;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  cursor: pointer;
}
.auth-card button:hover,
.auth-card > a:hover {
  background: #ffffff10;
}
.auth-card .primary {
  background: #f0f0f0;
  color: #222;
  border-color: #f0f0f0;
}
.auth-card .primary:hover {
  background: #d9d9d9;
}
.auth-card button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.stack {
  display: grid;
  gap: 18px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: #757575;
  margin: 22px 0;
  line-height: 18px;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: #ffffff10;
  flex: 1;
}
.auth-footer {
  height: 62px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6f6f6f;
  font-size: 11px;
  flex-shrink: 0;
}
.auth-footer a {
  color: #888;
}
.auth-footer a:hover {
  color: #ccc;
}
.auth-card .otp {
  text-align: center;
  letter-spacing: 0.35em;
  font-size: 23px;
  font-variant-numeric: tabular-nums;
}
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}
.actions form {
  margin: 0;
}
.auth-card .quiet {
  width: auto;
  min-height: 30px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}
.auth-card .quiet:hover {
  color: var(--text);
  background: transparent;
}
.auth-card .notice {
  border: 1px solid #e08a7630;
  border-radius: 6px;
  background: #e08a7608;
  color: #efaf9e;
  padding: 12px 14px;
  font-size: 12px;
  margin: 0 0 20px;
  text-align: left;
}
.auth-card .success {
  color: #90bf9f;
  border-color: #66a47a24;
  background: #5baa6d08;
}
small {
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}
.auth-card > small {
  display: block;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
code {
  display: block;
  text-align: center;
  background: #1b1b1b;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font:
    22px/28px ui-monospace,
    SFMono-Regular,
    monospace;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.auth-card form > p {
  margin: 18px 0;
  color: var(--muted);
}
form > button:not(:first-child) {
  margin-top: 18px;
}
.stack > button {
  margin-top: 0 !important;
}
.auth-card input[type="hidden"] {
  display: none;
}
form {
  margin: 0;
}
.auth-card > form > button[value="deny"] {
  background: transparent;
  border-color: transparent;
  color: #999;
  margin-top: 6px;
}
@media (max-width: 700px) {
  .auth-header {
    padding: 0 24px;
    height: 74px;
  }
  .auth-header .brand {
    font-size: 14px;
  }
  .auth-main {
    padding: 30px 25px 70px;
  }
  .auth-footer {
    padding: 0 24px 45px;
    height: 90px;
    font-size: 10px;
  }
  .auth-card {
    width: 340px;
  }
  .auth-card > h1 {
    font-size: 23px;
  }
  .auth-symbol {
    margin-bottom: 26px;
  }
}
