/* Compact registration, scoped to the approved single-column page. */
body.user-shell.auth-shell-page.registration-compact-page > .page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
body.user-shell.auth-shell-page .registration-page.registration-compact {
  --registration-ink: #10244d;
  --registration-muted: #7085a7;
  --registration-line: #cfe1fb;
  --registration-blue: #287fff;
  display: grid;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  margin: 0;
  padding: 24px 16px;
  place-items: center;
  color: var(--registration-ink);
  background: radial-gradient(ellipse at 50% 35%, #fff 0%, #f5faff 58%, #edf6ff 100%);
  font-size: 14px;
  line-height: 1.5;
}
body.user-shell.auth-shell-page .registration-compact,
body.user-shell.auth-shell-page .registration-compact * { box-sizing: border-box; }
body.user-shell.auth-shell-page .registration-compact > .auth-shell {
  width: min(100%, 430px);
  min-width: 0;
  margin: auto;
}
body.user-shell.auth-shell-page .registration-compact > .auth-shell > .card.auth-card {
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--registration-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(35, 79, 130, .035);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.user-shell.auth-shell-page .registration-compact .registration-brand {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 12px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--registration-ink);
  font-size: 23px;
  font-weight: 720;
  line-height: 1.25;
  text-decoration: none;
}
body.user-shell.auth-shell-page .registration-compact .registration-brand :is(img, svg) { width: 26px; height: 26px; flex: none; }
body.user-shell.auth-shell-page .registration-compact .auth-title {
  margin: 0 0 10px;
  color: var(--registration-ink);
  font-size: 28px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.03em;
  text-align: center;
}
body.user-shell.auth-shell-page .registration-compact .registration-gift {
  display: flex;
  min-width: 0;
  margin: 0 0 20px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--registration-muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
body.user-shell.auth-shell-page .registration-compact .registration-gift svg { width: 20px; height: 20px; flex: none; color: var(--registration-blue); }
body.user-shell.auth-shell-page .registration-compact .registration-gift > span { min-width: 0; overflow-wrap: anywhere; }
body.user-shell.auth-shell-page .registration-compact .registration-invitation {
  margin: -8px 0 14px;
  color: #536d95;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
}
body.user-shell.auth-shell-page .registration-compact .stack.registration-compact-form { display: grid; min-width: 0; margin: 0; gap: 10px; }
body.user-shell.auth-shell-page .registration-compact .registration-inline-field {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  border: 1px solid var(--registration-line);
  border-radius: 8px;
  background: #fff;
  cursor: text;
}
body.user-shell.auth-shell-page .registration-compact .registration-inline-field:focus-within {
  border-color: #74adff;
  box-shadow: 0 0 0 3px rgba(40, 127, 255, .1);
}
body.user-shell.auth-shell-page .registration-compact .registration-inline-field > .label {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0 11px;
  border-right: 1px solid #d5e4fa;
  color: var(--registration-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 20px;
  white-space: nowrap;
}
body.user-shell.auth-shell-page .registration-compact .registration-inline-field > .input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  height: 42px;
  margin: 0;
  padding: 9px 12px;
  border: 0;
  border-radius: 0 7px 7px 0;
  outline: 0;
  color: var(--registration-ink);
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 16px;
  line-height: 24px;
}
body.user-shell.auth-shell-page .registration-compact .registration-inline-field > .input:focus { border: 0; outline: 0; box-shadow: none; }
body.user-shell.auth-shell-page .registration-compact .registration-inline-field > .input::placeholder { color: #8498b9; opacity: 1; }
body.user-shell.auth-shell-page .registration-compact .registration-verification {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 132px;
  align-items: stretch;
  gap: 8px;
}
body.user-shell.auth-shell-page .registration-compact .registration-code-field { grid-template-columns: 72px minmax(0, 1fr); }
body.user-shell.auth-shell-page .registration-compact .registration-code-field > .input { padding-inline: 10px; font-variant-numeric: tabular-nums; }
body.user-shell.auth-shell-page .registration-compact .registration-captcha-refresh {
  display: flex;
  width: 132px;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 2px 4px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--registration-line);
  border-radius: 8px;
  color: #5979a6;
  background: #f9fcff;
  box-shadow: none;
  cursor: pointer;
}
body.user-shell.auth-shell-page .registration-compact .registration-captcha-refresh img { display: block; width: 100px; max-width: 100%; height: auto; flex: 0 1 100px; aspect-ratio: 180 / 64; object-fit: contain; border-radius: 4px; }
body.user-shell.auth-shell-page .registration-compact .registration-refresh-icon { display: flex; width: 16px; height: 16px; align-items: center; justify-content: center; flex: 0 0 16px; }
body.user-shell.auth-shell-page .registration-compact .registration-refresh-icon svg { display: block; width: 16px; height: 16px; }
body.user-shell.auth-shell-page .registration-compact .registration-captcha-refresh:hover { border-color: #94bdff; background: #f0f7ff; transform: none; }
body.user-shell.auth-shell-page .registration-compact .registration-submit {
  display: flex;
  width: 100%;
  min-height: 46px;
  margin: 4px 0 0;
  padding: 10px 16px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--registration-blue);
  border-radius: 8px;
  color: #fff;
  background: var(--registration-blue);
  box-shadow: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  cursor: pointer;
}
body.user-shell.auth-shell-page .registration-compact .registration-submit:hover { border-color: #196eeb; background: #196eeb; transform: none; }
body.user-shell.auth-shell-page .registration-compact .registration-submit:disabled { opacity: .6; cursor: wait; }
body.user-shell.auth-shell-page .registration-compact :is(.registration-submit, .registration-captcha-refresh, .registration-brand, .auth-foot a):focus-visible { outline: 3px solid rgba(40, 127, 255, .3); outline-offset: 3px; }
body.user-shell.auth-shell-page .registration-compact .registration-approval { margin: 8px 0 0; color: var(--registration-muted); font-size: 14px; line-height: 20px; text-align: center; }
body.user-shell.auth-shell-page .registration-compact .registration-compact-form > .registration-approval { margin: -2px 0 0; }
body.user-shell.auth-shell-page .registration-compact .auth-foot { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid #dfebfc; color: var(--registration-muted); font-size: 14px; line-height: 20px; }
body.user-shell.auth-shell-page .registration-compact .auth-foot a { margin-inline-start: 4px; color: #247bfa; font-weight: 600; text-decoration: none; }
body.user-shell.auth-shell-page .registration-compact .auth-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.user-shell.auth-shell-page .registration-compact :is(.registration-notice, .registration-error) { margin: 0 0 12px; padding: 9px 11px; border-radius: 8px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
body.user-shell.auth-shell-page .registration-compact .registration-notice { border-color: #d4e5fc; color: #3a608e; background: #f3f8ff; }
body.user-shell.auth-shell-page .registration-compact .registration-error { border-color: #f3cdd5; color: #a9344c; background: #fff5f7; }

@media (max-width: 600px) {
  body.user-shell.auth-shell-page .registration-page.registration-compact { padding: max(16px, env(safe-area-inset-top)) 12px max(16px, env(safe-area-inset-bottom)); }
  body.user-shell.auth-shell-page .registration-compact > .auth-shell > .card.auth-card { padding: 24px 20px; border-radius: 14px; }
  body.user-shell.auth-shell-page .registration-compact .registration-brand { font-size: 22px; }
  body.user-shell.auth-shell-page .registration-compact .auth-title { font-size: 27px; }
  body.user-shell.auth-shell-page .registration-compact .registration-code-field { grid-template-columns: 64px minmax(0, 1fr); }
  body.user-shell.auth-shell-page .registration-compact .registration-code-field > .label { padding-inline: 9px; }
  body.user-shell.auth-shell-page .registration-compact .registration-code-field > .input { padding-inline: 8px; }
}
@media (max-width: 360px) {
  body.user-shell.auth-shell-page .registration-compact > .auth-shell > .card.auth-card { padding: 22px 14px; }
  body.user-shell.auth-shell-page .registration-compact .registration-inline-field { grid-template-columns: 76px minmax(0, 1fr); }
  body.user-shell.auth-shell-page .registration-compact .registration-inline-field > .label { padding-inline: 9px; }
  body.user-shell.auth-shell-page .registration-compact .registration-inline-field > .input { padding-inline: 9px; }
  body.user-shell.auth-shell-page .registration-compact .registration-verification { grid-template-columns: minmax(0, 1fr) 108px; gap: 6px; }
  body.user-shell.auth-shell-page .registration-compact .registration-code-field { grid-template-columns: 58px minmax(0, 1fr); }
  body.user-shell.auth-shell-page .registration-compact .registration-code-field > .label { padding-inline: 7px; }
  body.user-shell.auth-shell-page .registration-compact .registration-code-field > .input { padding-inline: 7px; }
  body.user-shell.auth-shell-page .registration-compact .registration-captcha-refresh { width: 108px; padding-inline: 3px; gap: 3px; }
  body.user-shell.auth-shell-page .registration-compact .registration-captcha-refresh img { width: 84px; flex-basis: 84px; }
  body.user-shell.auth-shell-page .registration-compact .registration-refresh-icon,
  body.user-shell.auth-shell-page .registration-compact .registration-refresh-icon svg { width: 14px; height: 14px; flex-basis: 14px; }
}
