/* A quiet, editorial sign-in page. Scoped to the account entry screen. */
.geoip-credit {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 16px;
  color: #999;
  font-size: 9px;
  line-height: 1.7;
  text-decoration: none;
}
.geoip-credit:hover { color: #555; text-decoration: underline; }
.auth-form-side > .geoip-credit { margin-top: 12px; font-size: 8px; color: #a5a5a5; }
body[data-page="auth"] {
  background: #fff;
}
body[data-page="auth"] .site-header {
  height: 84px;
  background: #fff;
  border-bottom: 0;
}
body[data-page="auth"] .header-inner {
  width: min(1320px, calc(100% - 96px));
}
body[data-page="auth"] .site-header .main-nav {
  display: none !important;
}
body[data-page="auth"] .header-tools {
  margin-left: auto;
}
.auth-screen {
  overflow-anchor: none;
  width: min(1280px, calc(100% - 96px));
  min-height: calc(100svh - 84px);
  margin-inline: auto;
  padding-block: 25px 35px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(60px, 8vw, 124px);
  align-items: stretch;
}
.auth-form-side {
  align-self: center;
  min-width: 0;
  width: 100%;
  max-width: 400px;
  justify-self: center;
  padding-block: 14px 7px;
}
.auth-form-content {
  width: 100%;
}
.auth-form-side[data-transitioning="true"] {
  pointer-events: none;
  will-change: height, opacity, transform;
}
.auth-heading h1:focus { outline: none; }
.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #858585;
  font-size: 12px;
  margin-bottom: 37px;
  transition: color .2s;
}
.auth-back .icon {
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
}
.auth-back:hover {
  color: #191919;
}
.auth-heading {
  margin-bottom: 27px;
}
.auth-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 8px;
  letter-spacing: 1.25px;
  color: #898989;
  margin-bottom: 18px;
}
.auth-kicker > span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #777;
}
.auth-heading h1 {
  margin: 0 0 13px;
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1.4;
  letter-spacing: -1.9px;
  font-weight: 560;
  color: #202020;
}
.auth-heading > p:last-child {
  color: #8b8b8b;
  font-size: 13px;
  line-height: 1.85;
  margin: 0;
}
.auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 13px 18px;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fff;
  color: #303030;
  font-size: 13px;
  font-weight: 500;
  transition: background .2s, border-color .2s;
}
.auth-google:not(:disabled):hover {
  background: #fafafa;
  border-color: #a5a5a5;
}
.auth-google:disabled {
  cursor: not-allowed;
  color: #777;
  background: #fcfcfc;
}
.auth-google .google-mark {
  display: block;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  filter: none;
}
.auth-google-note {
  font-size: 10px;
  line-height: 1.7;
  color: #929292;
  margin: 9px 0 0;
}
.auth-email-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #a0a0a0;
  font-size: 10px;
  margin: 23px 0 24px;
}
.auth-email-divider::before,
.auth-email-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ebebeb;
}
.auth-email-divider > span {
  white-space: nowrap;
}
.auth-input-group {
  display: grid;
  gap: 9px;
  margin-bottom: 19px;
  min-width: 0;
}
.auth-input-group > label {
  font-size: 11px;
  font-weight: 450;
  color: #656565;
}
.auth-input-group input {
  width: 100%;
  min-width: 0;
  min-height: 51px;
  padding: 13px 15px;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fff;
  color: #252525;
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.7;
  outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.auth-input-group input::placeholder {
  color: #b1b1b1;
  font-weight: 400;
}
.auth-input-group input:focus {
  border-color: #727272;
  box-shadow: 0 0 0 3px #19191905;
}
.auth-password-wrap {
  display: block;
  position: relative;
}
.auth-password-wrap input {
  padding-right: 49px;
}
.auth-password-toggle {
  position: absolute;
  inset: 0 3px 0 auto;
  width: 43px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #a0a0a0;
}
.auth-password-toggle:hover {
  color: #333;
}
.auth-password-toggle .icon {
  width: 17px;
  height: 17px;
}
.auth-form-error {
  color: #a63838;
  font-size: 11px;
  padding: 0;
  line-height: 1.8;
  margin: -3px 0 15px;
}
.auth-form-error:empty {
  display: none;
}
.auth-callback-error {
  padding: 11px 13px;
  border: 1px solid #eee1e1;
  border-radius: 7px;
  background: #fcf8f8;
  color: #934343;
  font-size: 11px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.auth-submit.btn {
  width: 100%;
  min-height: 52px;
  display: flex;
  justify-content: space-between;
  border: 1px solid #242424;
  border-radius: 8px;
  background: #242424;
  color: #fff;
  font-size: 12px;
  font-weight: 450;
  padding: 13px 18px;
  margin-top: 7px;
}
.auth-submit.btn:hover {
  background: #3d3d3d;
  border-color: #3d3d3d;
}
.auth-submit.btn:disabled {
  background: #525252;
  border-color: #525252;
  cursor: wait;
}
.auth-submit.btn[aria-busy="true"] {
  justify-content: center;
}
.auth-submit > .icon {
  width: 17px;
  height: 17px;
}
.auth-spinner {
  width: 14px;
  height: 14px;
  border: 1px solid #ffffff45;
  border-top-color: #fff;
  border-radius: 50%;
  animation: auth-spin .7s linear infinite;
}
.auth-mode-switch {
  text-align: center;
  color: #9b9b9b;
  font-size: 11px;
  line-height: 1.8;
  margin-top: 24px;
}
.auth-mode-switch > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 4px;
  padding: 0;
  color: #555;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.auth-mode-switch .icon {
  width: 11px;
  height: 11px;
}
.auth-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #b1b1b1;
  font-size: 9px;
  margin-top: 45px;
}
.auth-legal > div {
  display: flex;
  gap: 14px;
}
.auth-legal button {
  padding: 0;
  color: #999;
  font-size: 9px;
}
.auth-local-demo {
  margin-top: 24px;
  border-top: 1px solid #eee;
  padding-top: 15px;
  color: #a3a3a3;
  font-size: 9px;
}
.auth-local-demo > div {
  display: flex;
  gap: 18px;
  margin-top: 8px;
}
.auth-local-demo .text-button {
  font-size: 10px;
  color: #777;
}
.auth-showcase {
  display: flex;
  position: relative;
  min-width: 0;
  min-height: 670px;
  padding: 20px;
  border: 1px solid #e1e1e1;
  border-radius: 26px;
  background: radial-gradient(ellipse at 12% 0, #fff9, transparent 55%), linear-gradient(145deg, #f4f4f4, #e9e9e9);
  box-shadow: inset 0 1px #fff;
}
.auth-terminal {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #343434;
  border-radius: 13px;
  background: linear-gradient(145deg, #222, #191919);
  color: #cdd0d3;
  box-shadow: 0 13px 25px -17px #00000050, 0 2px 5px #0000000a, inset 0 1px #ffffff08;
  font-family: var(--mono);
  font-variant-ligatures: none;
  animation: auth-terminal-arrive .7s cubic-bezier(.2,.8,.2,1) both;
}
.auth-terminal-toolbar {
  display: grid;
  flex-shrink: 0;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 52px;
  gap: 7px;
  padding: 0 25px;
  background: linear-gradient(#2c2c2c, #272727);
  border-bottom: 1px solid #363636;
  color: #9b9b9b;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: -.15px;
}
.auth-terminal-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}
.auth-terminal-controls > i {
  width: 9px;
  height: 9px;
  border: 1px solid #ffffff10;
  border-radius: 50%;
  background: #ed6b64;
}
.auth-terminal-controls > i:nth-child(2) { background: #e5bc5b; }
.auth-terminal-controls > i:nth-child(3) { background: #66be82; }
.auth-terminal-toolbar-icon {
  justify-self: end;
  color: #676767;
  font-size: 12px;
}
.auth-code-editor {
  display: flex;
  flex: 1;
  align-items: flex-start;
  min-width: 0;
  min-height: 280px;
  padding: 22px 30px;
  background: radial-gradient(ellipse at 80% 0, #28282855, transparent 65%);
}
.auth-code-list { width: 100%; min-width: 0; }
.auth-code-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  width: 100%;
  min-width: 0;
}
.auth-code-number {
  flex: 0 0 14px;
  color: #5f5f5f;
  font-size: 12px;
  text-align: right;
  user-select: none;
}
.auth-code-source {
  --type-start: 250ms;
  display: block;
  flex: 1;
  min-width: 0;
  min-height: 1.9em;
  font: inherit;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  letter-spacing: -.4px;
}
.auth-code-keyword { color: #cbb3eb; }
.auth-code-function { color: #9fc5e4; }
.auth-code-builtin { color: #d9c7a3; }
.auth-code-punctuation { color: #cdd1d7; }
.auth-code-string { color: #b6d3ba; }
.auth-type-glyph {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  vertical-align: bottom;
  white-space: pre;
  animation: auth-glyph-reveal 0s linear calc(var(--type-start) + var(--glyph-index) * var(--typing-step, 75ms)) forwards;
}
.auth-code-caret,
.auth-terminal-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 3px;
  background: #cbd3d2;
  vertical-align: -.1em;
}
.auth-code-caret {
  visibility: hidden;
  animation: auth-terminal-blink 1.05s steps(1, end) infinite, auth-code-caret-start 0s linear var(--caret-on) forwards, auth-code-caret-finish 0s linear var(--caret-off) forwards;
}
.auth-output-terminal {
  display: flex;
  flex: .85;
  flex-direction: column;
  min-width: 0;
  min-height: 270px;
  border-top: 1px solid #3b3b3b;
  background: #151515;
}
.auth-output-toolbar {
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  min-height: 47px;
  padding: 0 28px;
  border-bottom: 1px solid #242424;
  color: #727272;
  font-size: 9px;
  letter-spacing: .7px;
}
.auth-output-toolbar > span:first-child {
  display: flex;
  align-items: center;
  align-self: stretch;
  position: relative;
  color: #b9b9b9;
}
.auth-output-toolbar > span:first-child::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: #b0b0b0;
}
.auth-output-body {
  flex: 1;
  min-width: 0;
  padding: 30px 30px 35px;
}
.auth-output-command {
  color: #939a9b;
  font-size: 12px;
  line-height: 1.8;
  opacity: 0;
  animation: auth-terminal-line-in .2s ease var(--run-at) forwards;
}
.auth-terminal-prompt { color: #8cbb9b; margin-right: 6px; }
.auth-output-message {
  --typing-step: 75ms;
  --type-start: var(--output-at);
  min-height: 1.8em;
  margin-top: 20px;
  color: #e4e8e6;
  font-size: clamp(18px, 1.7vw, 27px);
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  letter-spacing: -.4px;
}
.auth-terminal-idle {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 24px;
  margin-top: 20px;
  font-size: 13px;
  opacity: 0;
  animation: auth-terminal-line-in .2s ease var(--idle-at) forwards;
}
.auth-terminal-cursor {
  width: 7px;
  height: 15px;
  margin: 0;
  animation: auth-terminal-blink 1.05s steps(1, end) infinite;
}
html[data-regional="true"] .auth-heading h1 {
  font-size: clamp(30px, 2.5vw, 38px);
  line-height: 1.35;
  letter-spacing: -1px;
}
@keyframes auth-terminal-arrive {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes auth-terminal-line-in {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes auth-glyph-reveal {
  to { max-width: 2em; opacity: 1; }
}
@keyframes auth-code-caret-start {
  to { visibility: visible; }
}
@keyframes auth-code-caret-finish {
  to { visibility: hidden; }
}
@keyframes auth-terminal-blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}
@keyframes auth-spin { to { transform: rotate(360deg); } }
@media (max-width: 1100px) {
  .auth-screen { width: calc(100% - 72px); gap: 48px; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .auth-showcase { padding: 16px; border-radius: 22px; }
  .auth-code-editor { padding-inline: 20px; }
  .auth-code-row { gap: 15px; }
  .auth-output-body { padding-inline: 22px; }
  .auth-terminal-toolbar { padding-inline: 14px; font-size: 8px; }
  .auth-legal { gap: 9px; }
  .auth-legal > div { gap: 10px; }
}
@media (max-width: 800px) {
  body[data-page="auth"] .site-header { height: 77px; }
  body[data-page="auth"] .header-inner { width: calc(100% - 48px); }
  .auth-screen { width: calc(100% - 48px); min-height: calc(100svh - 77px); gap: 30px; padding-top: 16px; }
  .auth-showcase { min-height: 610px; padding: 12px; border-radius: 20px; }
  .auth-code-editor { min-height: 260px; padding-inline: 14px; }
  .auth-code-row { gap: 10px; }
  .auth-code-number { flex-basis: 9px; font-size: 10px; }
  .auth-code-source { font-size: 14px; }
  .auth-output-body { padding-inline: 17px; }
  .auth-output-toolbar { padding-inline: 17px; }
  .auth-terminal-toolbar { grid-template-columns: auto minmax(0, 1fr); gap: 12px; min-height: 39px; padding-inline: 12px; font-size: 8px; }
  .auth-terminal-toolbar > span:not(.auth-terminal-toolbar-icon) { text-align: right; }
  .auth-terminal-toolbar-icon { display: none; }
  .auth-heading h1 { font-size: 32px; }
  .auth-back { margin-bottom: 30px; }
  .auth-google { font-size: 12px; }
  .auth-legal { justify-content: center; }
}
@media (max-width: 680px) {
  body[data-page="auth"] .header-inner { width: calc(100% - 40px); }
  .auth-screen { display: block; width: calc(100% - 48px); min-height: calc(100svh - 77px); padding-block: 18px 32px; }
  .auth-form-side { max-width: 400px; margin-inline: auto; padding: 0; }
  .auth-showcase { display: none; }
  .auth-back { font-size: 11px; margin-bottom: 32px; }
  .auth-heading { margin-bottom: 24px; }
  .auth-kicker { font-size: 7px; margin-bottom: 14px; }
  .auth-heading h1 { font-size: 34px; letter-spacing: -1.4px; margin-bottom: 10px; }
  .auth-heading > p:last-child { font-size: 12px; }
  .auth-input-group input { font-size: 16px; min-height: 52px; }
  .auth-input-group input::placeholder { font-size: 12px; }
  .auth-google { min-height: 52px; }
  .auth-google-note { font-size: 10px; }
  .auth-email-divider { margin-block: 22px; }
  .auth-legal { margin-top: 38px; justify-content: space-between; }
  .auth-mode-switch { margin-top: 22px; }
  html[data-regional="true"] .auth-heading h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-terminal,
  .auth-type-glyph,
  .auth-output-command,
  .auth-terminal-idle,
  .auth-terminal-cursor {
    opacity: 1;
    max-width: none;
    transform: none;
    animation: none;
  }
  .auth-code-caret { display: none; }
  .auth-spinner { animation-duration: 1.5s; }
}
