:root {
  --auth-aside: #08111f;
  --auth-aside-text: #f8fafc;
  --auth-aside-muted: #a9b6c7;
  --auth-panel: #ffffff;
  --auth-field: #ffffff;
  --auth-text: #111827;
  --auth-muted: #667085;
  --auth-stroke: #c9d0d9;
  --auth-placeholder: #667085;
  --auth-soft: #f2f4f7;
  --auth-action: #111827;
  --auth-action-hover: #050b14;
  --auth-action-text: #ffffff;
  --auth-focus: rgba(17, 24, 39, .16);
}

[data-theme="dark"] {
  --auth-panel: #0f172a;
  --auth-field: #111c30;
  --auth-text: #f1f5f9;
  --auth-muted: #a7b0bf;
  --auth-stroke: #667085;
  --auth-placeholder: #a7b0bf;
  --auth-soft: #162136;
  --auth-action: #f1f5f9;
  --auth-action-hover: #ffffff;
  --auth-action-text: #0b1220;
  --auth-focus: rgba(226, 232, 240, .18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--auth-panel);
}

body {
  display: block;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  color: var(--auth-text);
  background: var(--auth-panel);
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(560px, 1.28fr) minmax(420px, .72fr);
  min-height: 100svh;
  background: var(--auth-panel);
}

.auth-aside {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: auto;
  min-height: max(100svh, 680px);
  padding: clamp(32px, 3.6vw, 58px) clamp(38px, 4.6vw, 76px);
  overflow: hidden;
  color: var(--auth-aside-text);
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--auth-aside);
}

.auth-aside::after {
  content: none;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  color: inherit;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -.02em;
}

.wordmark-mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  transform-origin: 50% 50%;
}

.wordmark-name > span {
  color: #68d5aa;
}

.aside-body {
  align-self: center;
  width: min(780px, 100%);
  padding: clamp(40px, 7vh, 84px) 0 32px;
}

.intro-state {
  width: min(690px, 100%);
  padding: 0;
  animation: content-enter .52s cubic-bezier(.22, .7, .2, 1) both;
}

.intro-state[hidden] {
  display: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--auth-muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.auth-aside .eyebrow {
  color: #c5cfdb;
}

.auth-aside h2 {
  max-width: 690px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(40px, 4.1vw, 64px);
  font-weight: 720;
  letter-spacing: -.052em;
  line-height: 1.01;
}

.intro-copy {
  max-width: 590px;
  margin: 26px 0 0;
  color: var(--auth-aside-muted);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.62;
}

.operation-preview {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  width: min(720px, 100%);
  margin-top: clamp(42px, 6vh, 68px);
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: rgba(4, 10, 19, .34);
  box-shadow: 0 28px 64px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
  animation: preview-enter .65s .08s cubic-bezier(.22,.7,.2,1) both;
}

.operation-preview__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 0;
  border-right: 1px solid rgba(255,255,255,.12);
}

.operation-preview__rail span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #526178;
}

.operation-preview__rail span.is-active {
  height: 24px;
  border-radius: 6px;
  background: #5cd4a8;
}

.operation-preview__body {
  min-width: 0;
  padding: 22px 26px 18px;
}

.operation-preview__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
}

.operation-preview__label,
.operation-preview__head strong {
  display: block;
}

.operation-preview__label {
  color: #78889e;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.operation-preview__head strong {
  margin-top: 7px;
  color: #f8fafc;
  font-size: 17px;
  letter-spacing: -.02em;
}

.operation-preview__tag {
  padding: 6px 9px;
  border: 1px solid rgba(92,212,168,.32);
  color: #74e1b9;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
}

.operation-flow {
  border-top: 1px solid rgba(255,255,255,.1);
}

.operation-flow__item {
  display: grid;
  grid-template-columns: 30px minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.operation-flow__index {
  color: #65758b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.operation-flow__item strong,
.operation-flow__item small {
  display: block;
}

.operation-flow__item strong {
  color: #ecf2f8;
  font-size: 12px;
  line-height: 1.35;
}

.operation-flow__item small {
  margin-top: 3px;
  color: #8f9db0;
  font-size: 11px;
  line-height: 1.35;
}

.operation-flow__state {
  min-width: 68px;
  color: #b5c1cf;
  font-size: 10px;
  font-weight: 750;
  text-align: right;
}

.operation-flow__state.is-paid {
  color: #74e1b9;
}

.operation-preview__foot {
  margin: 14px 0 0;
  color: #748399;
  font-size: 10px;
  line-height: 1.45;
}

.intro-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 42px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  list-style: none;
}

.intro-list li {
  min-width: 0;
  padding: 22px 22px 0 0;
}

.intro-list li + li {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.intro-list li > span {
  display: block;
  margin-bottom: 14px;
  color: #718096;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.intro-list strong,
.intro-list small {
  display: block;
}

.intro-list strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.35;
}

.intro-list small {
  margin-top: 7px;
  color: var(--auth-aside-muted);
  font-size: 12px;
  line-height: 1.5;
}

.aside-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #8090a4;
  font-size: 12px;
}

.aside-footer b {
  color: #cbd5e1;
}

.aside-footer a {
  color: #d8e0e9;
  font-weight: 700;
  text-decoration: none;
}

.aside-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.auth-main {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  min-height: 100svh;
  padding: 20px clamp(34px, 3.7vw, 62px) 16px;
  background: var(--auth-panel);
  border-left: 1px solid color-mix(in srgb, var(--auth-stroke) 70%, transparent);
}

.mobile-brandbar {
  display: none;
}

.panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 42px;
}

.toolbar-support {
  display: none;
  color: var(--auth-text);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.toolbar-support:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-maintenance {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #f0c36a;
  border-radius: 10px;
  background: #fff8e8;
  color: #7a4b00;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

[data-public-support][hidden],
.auth-maintenance[hidden] {
  display: none !important;
}

[data-theme="dark"] .auth-maintenance {
  border-color: #7a5720;
  background: #2b2111;
  color: #ffd98a;
}

.theme-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--auth-stroke);
  border-radius: 10px;
  background: var(--auth-soft);
  color: var(--auth-text);
  box-shadow: none;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}

.theme-btn:hover {
  border-color: var(--auth-muted);
}

.theme-btn:active {
  transform: translateY(1px);
}

.theme-btn svg {
  display: block;
  width: 18px;
  height: 18px;
}

.auth-form-shell {
  align-self: center;
  width: min(438px, 100%);
  margin: 0 auto;
  padding: 12px 0 18px;
}

.form-header {
  margin-bottom: 24px;
}

.form-header .eyebrow {
  margin-bottom: 10px;
}

.form-header h1 {
  margin: 0;
  color: var(--auth-text);
  font-size: clamp(31px, 2.5vw, 38px);
  font-weight: 720;
  letter-spacing: -.045em;
  line-height: 1.15;
}

.form-header > p:last-child {
  max-width: 410px;
  margin: 12px 0 0;
  color: var(--auth-muted);
  font-size: 14px;
  line-height: 1.6;
}

form {
  display: none;
}

form.active {
  display: block;
  animation: form-enter .34s cubic-bezier(.22, .7, .2, 1) both;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.field[hidden] {
  display: none !important;
}

.field-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

label {
  color: var(--auth-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.35;
  text-transform: uppercase;
}

.label-optional {
  color: var(--auth-muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .08em;
}

input {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--auth-stroke);
  border-radius: 9px;
  outline: none;
  background: var(--auth-field);
  color: var(--auth-text);
  font-size: 15px;
  line-height: 1.35;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

input::placeholder {
  color: var(--auth-placeholder);
  opacity: 1;
}

input:hover {
  border-color: var(--auth-text);
}

input:focus {
  border-color: var(--auth-text);
  background: var(--auth-field);
  box-shadow: 0 0 0 4px var(--auth-focus);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--auth-text);
  -webkit-box-shadow: 0 0 0 1000px var(--auth-field) inset;
  caret-color: var(--auth-text);
}

.hint {
  margin: 0;
  color: var(--auth-muted);
  font-size: 11px;
  line-height: 1.45;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 82px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  min-width: 64px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--auth-muted);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle:hover {
  background: var(--auth-soft);
  color: var(--auth-text);
}

.captcha-row {
  display: block;
  margin: 0;
}

.captcha-field {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 8px 10px;
}

.captcha-field .field-heading,
.captcha-field .hint {
  grid-column: 1 / -1;
}

.captcha-field .captcha-row,
.captcha-field > input {
  min-width: 0;
}

.captcha-q {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 11px 15px;
  border: 1px solid var(--auth-stroke);
  border-radius: 9px;
  background: var(--auth-soft);
  color: var(--auth-text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.35;
  text-align: center;
  user-select: none;
}

.link {
  color: var(--auth-text);
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: #aab2bd;
  text-underline-offset: 3px;
  opacity: 1;
}

.link:hover {
  text-decoration-color: currentColor;
}

.field-heading .link {
  flex: 0 0 auto;
  font-size: 11px;
}

.field-heading button.link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.field-heading .link[aria-disabled="true"],
.field-heading .link:disabled {
  cursor: wait;
  opacity: .55;
  pointer-events: none;
}

.mini-row {
  display: flex;
  justify-content: flex-end;
  margin: -2px 0 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 13px 18px;
  border: 1px solid var(--auth-action);
  border-radius: 9px;
  background: var(--auth-action);
  color: var(--auth-action-text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}

.btn:hover {
  border-color: var(--auth-action-hover);
  background: var(--auth-action-hover);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  cursor: wait;
  opacity: .62;
}

.msg {
  display: none;
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px solid var(--auth-stroke);
  border-radius: 11px;
  background: var(--auth-soft);
  color: var(--auth-muted);
  font-size: 12px;
  line-height: 1.5;
  word-break: break-word;
}

.msg.show {
  display: block;
}

.msg.ok {
  border-color: rgba(5, 150, 105, .32);
  color: #047857;
}

.msg.err {
  border-color: rgba(220, 38, 38, .28);
  color: #b42318;
}

[data-theme="dark"] .msg.ok {
  color: #6ee7b7;
}

[data-theme="dark"] .msg.err {
  color: #fca5a5;
}

.account-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--auth-stroke);
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.account-switch .tab {
  width: auto;
  padding: 3px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--auth-text);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none;
  cursor: pointer;
}

.account-switch .tab:hover {
  border: 0;
  background: transparent;
  color: var(--auth-text);
  box-shadow: none;
}

.panel-note {
  margin: 0;
  color: var(--auth-muted);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.dialog-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(8, 17, 31, .58);
  z-index: 40;
}

.dialog-backdrop.show {
  display: block;
}

body.modal-open {
  overflow: hidden;
}

.dialog-card {
  position: fixed;
  top: 50%;
  left: 50%;
  display: none;
  width: min(440px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid var(--auth-stroke);
  border-radius: 15px;
  background: var(--auth-panel);
  color: var(--auth-text);
  box-shadow: 0 24px 64px rgba(8, 17, 31, .24);
  transform: translate(-50%, -50%);
  z-index: 41;
}

.dialog-card.show {
  display: block;
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.dialog-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid var(--auth-stroke);
  border-radius: 10px;
  background: var(--auth-soft);
  color: var(--auth-text);
  font-size: 14px;
  font-weight: 850;
}

.dialog-head h3 {
  margin: 1px 0 0;
  color: var(--auth-text);
  font-size: 20px;
  line-height: 1.2;
}

.dialog-head p {
  margin: 8px 0 0;
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1.55;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.dialog-actions .btn {
  width: auto;
  min-width: 120px;
}

@keyframes content-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes form-enter {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes preview-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes brand-mark-idle {
  0%, 82%, 100% { transform: translateY(0) rotate(0); }
  88% { transform: translateY(-2px) rotate(-2deg); }
  94% { transform: translateY(0) rotate(1deg); }
}

@keyframes aside-progress {
  0% { top: -18%; opacity: 0; }
  14% { opacity: .72; }
  72% { opacity: .72; }
  88%, 100% { top: 100%; opacity: 0; }
}

.theme-btn:focus-visible,
.btn:focus-visible,
.password-toggle:focus-visible,
.account-switch .tab:focus-visible,
.link:focus-visible,
.aside-footer a:focus-visible,
.toolbar-support:focus-visible {
  outline: 3px solid #059669;
  outline-offset: 3px;
}

@media (max-width: 1240px) and (min-width: 1024px) {
  .auth-aside {
    padding: 40px;
  }

  .auth-aside h2 {
    font-size: 44px;
  }

  .aside-body {
    padding-top: 38px;
  }

  .operation-preview {
    margin-top: 36px;
  }

  .operation-preview__body {
    padding-right: 18px;
    padding-left: 18px;
  }

  .intro-list {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .intro-list li,
  .intro-list li + li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .intro-list li > span {
    margin: 2px 0 0;
  }

  .intro-list small {
    margin-top: 3px;
  }

  .auth-main {
    padding-right: 38px;
    padding-left: 38px;
  }
}

@media (min-width: 1024px) and (max-height: 680px) {
  .auth-aside {
    min-height: 0;
    padding: 24px 32px;
    overflow-y: auto;
  }

  .aside-body {
    padding: 22px 0 16px;
  }

  .auth-aside h2 {
    font-size: 34px;
  }

  .intro-copy {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.5;
  }

  .operation-preview {
    margin-top: 22px;
  }

  .operation-preview__body {
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .operation-preview__head {
    padding-bottom: 10px;
  }

  .operation-flow__item {
    min-height: 50px;
  }

  .operation-flow__item small,
  .operation-preview__foot {
    display: none;
  }

  .intro-list {
    margin-top: 18px;
  }

  .intro-list li,
  .intro-list li + li {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .intro-list small {
    line-height: 1.35;
  }
}

@media (max-width: 1023px) {
  .auth-shell {
    display: block;
  }

  .auth-aside {
    display: none;
  }

  .auth-main {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    min-height: 100svh;
    padding: 0 0 calc(24px + env(safe-area-inset-bottom, 0px));
    border-left: 0;
  }

  .mobile-brandbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: calc(78px + env(safe-area-inset-top, 0px));
    padding: calc(16px + env(safe-area-inset-top, 0px)) calc(24px + env(safe-area-inset-right, 0px)) 16px calc(24px + env(safe-area-inset-left, 0px));
    color: #ffffff;
    background: var(--auth-aside);
  }

  .mobile-brandbar p {
    max-width: 330px;
    margin: 0;
    color: #b8c4d3;
    font-size: 12px;
    line-height: 1.45;
    text-align: right;
  }

  .panel-toolbar {
    min-height: 58px;
    padding: 16px calc(24px + env(safe-area-inset-right, 0px)) 0 calc(24px + env(safe-area-inset-left, 0px));
  }

  .toolbar-support {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 4px;
  }

  .theme-btn {
    width: 44px;
    height: 44px;
  }

  .password-toggle {
    min-height: 44px;
    padding: 0 10px;
  }

  .field-heading button.link,
  .mini-row .link,
  .account-switch .tab {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .account-switch .tab {
    min-width: 44px;
    justify-content: center;
  }

  .auth-form-shell {
    align-self: start;
    padding: 14px calc(24px + env(safe-area-inset-right, 0px)) 44px calc(24px + env(safe-area-inset-left, 0px));
  }

  .panel-note {
    padding: 0 calc(24px + env(safe-area-inset-right, 0px)) 0 calc(24px + env(safe-area-inset-left, 0px));
  }
}

@media (max-width: 640px) {
  .mobile-brandbar {
    align-items: flex-start;
    min-height: calc(72px + env(safe-area-inset-top, 0px));
    padding-right: calc(20px + env(safe-area-inset-right, 0px));
    padding-left: calc(20px + env(safe-area-inset-left, 0px));
  }

  .mobile-brandbar .wordmark {
    font-size: 17px;
  }

  .mobile-brandbar .wordmark-mark {
    width: 34px;
    height: 34px;
  }

  .mobile-brandbar p {
    display: none;
  }

  .panel-toolbar {
    min-height: 54px;
    padding-right: calc(20px + env(safe-area-inset-right, 0px));
    padding-left: calc(20px + env(safe-area-inset-left, 0px));
  }

  .auth-form-shell {
    width: 100%;
    padding: 10px calc(20px + env(safe-area-inset-right, 0px)) 42px calc(20px + env(safe-area-inset-left, 0px));
  }

  .form-header {
    margin-bottom: 26px;
  }

  .form-header h1 {
    font-size: 30px;
  }

  .field-heading {
    align-items: flex-start;
  }

  .panel-note {
    padding-right: calc(20px + env(safe-area-inset-right, 0px));
    padding-left: calc(20px + env(safe-area-inset-left, 0px));
  }

}

@media (max-width: 374px) {
  .mobile-brandbar,
  .panel-toolbar,
  .auth-form-shell {
    padding-right: calc(16px + env(safe-area-inset-right, 0px));
    padding-left: calc(16px + env(safe-area-inset-left, 0px));
  }

  .auth-form-shell {
    padding-bottom: 38px;
  }

  .field-heading {
    display: block;
  }

  .field-heading .link {
    display: inline-block;
    margin-top: 6px;
  }

  .account-switch {
    align-items: center;
    flex-direction: column;
    gap: 3px;
  }
}

@media (max-width: 480px) {
  .captcha-field {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation: none !important;
  }
}
