@import url("/sistine/design-tokens.css");
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--s-text);
  background: var(--s-sidebar);
  font:
    15px/1.6 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 24px;
}
main {
  width: min(460px, 100%);
  background: var(--s-bg);
  border: 1px solid var(--s-line);
  border-radius: 20px;
  padding: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 650;
  text-decoration: none;
  color: inherit;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
h1 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 35px 0 18px;
}
p {
  color: var(--s-muted);
}
label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin: 24px 0 7px;
}
input {
  font: inherit;
  font-size: 16px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--s-line);
  border-radius: 8px;
  background: var(--s-bg);
  color: inherit;
}
button,
.button {
  font: inherit;
  display: block;
  text-align: center;
  width: 100%;
  padding: 12px;
  background: var(--s-action);
  color: var(--s-on-action);
  border: 0;
  border-radius: 8px;
  margin-top: 14px;
  font-weight: 550;
  cursor: pointer;
  text-decoration: none;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.secondary {
  background: var(--s-surface);
  color: var(--s-text);
  font-size: 13px;
}
a {
  color: inherit;
}
#status {
  font-size: 13px;
  min-height: 22px;
}
#status.error {
  color: var(--s-red);
}
.help {
  border-top: 1px solid var(--s-line);
  padding-top: 20px;
  margin-top: 26px;
  font-size: 12px;
}
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 12px;
}
input:focus-visible,
summary:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--s-blue);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
#code {
  font-size: 24px;
  letter-spacing: .2em;
}
@media (max-width: 520px) {
  body {
    padding: 16px;
    background: var(--s-bg);
  }
  main {
    padding: 20px 10px;
    border: 0;
  }
  h1 {
    font-size: 32px;
  }
}

details { margin-top: 20px; font-size: 13px; }
summary { cursor: pointer; font-weight: 550; }
details p { line-height: 1.5; }

.text-button {
  display: inline-block;
  width: auto;
  background: transparent;
  color: var(--s-text);
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
}
.code-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 16px; }
.support-link { display: block; margin-top: 20px; text-align: center; font-size: 14px; }
#login-intro { overflow-wrap: anywhere; }
#login-title:focus { outline: none; }
#sign-in-help { border-top: 1px solid var(--s-line); padding-top: 20px; margin: 24px 0; }
#checkout-fallback { font-size: 13px; }
