/* Auth — unified split panel */
body.auth-page main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + clamp(1.5rem, 4vh, 2.5rem)) var(--pad) clamp(2rem, 4vh, 3rem);
  min-height: 100svh;
}

body.auth-page .site-footer,
body.auth-page .app-footer {
  display: none;
}

body.auth-page--desktop .site-nav {
  display: none;
}

.auth-shell {
  position: relative;
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
}

.auth-ambient {
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 20%, rgba(37, 99, 235, 0.09), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 80%, rgba(37, 99, 235, 0.05), transparent 60%);
}

/* Single card, two columns */
.auth-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(8, 8, 11, 0.85);
  backdrop-filter: blur(40px) saturate(140%);
  -webkit-backdrop-filter: blur(40px) saturate(140%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 40px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

/* Brand column */
.auth-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(37, 99, 235, 0.14), transparent 55%),
    linear-gradient(160deg, rgba(14, 14, 18, 0.95) 0%, rgba(8, 8, 10, 0.98) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-brand-body {
  flex: 1;
}

.auth-brand .eyebrow {
  margin-bottom: 1.5rem;
}

.auth-brand-title {
  font-size: clamp(1.625rem, 3vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.auth-brand-lead {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 30ch;
  margin-bottom: 1.75rem;
}

.auth-brand-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.auth-brand-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(244, 244, 245, 0.78);
}

.auth-brand-list li::before {
  content: "";
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.35);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.15);
  flex-shrink: 0;
  background-image: radial-gradient(circle at center, var(--brand) 35%, transparent 36%);
}

.auth-brand-foot {
  margin-top: 2rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  color: var(--text-3);
}

/* Form column */
.auth-form-side {
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: rgba(6, 6, 8, 0.6);
}

.auth-title {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
}

.auth-subtitle {
  font-size: 0.8125rem;
  color: var(--text-3);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.auth-alert {
  padding: 0.75rem 0.875rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.auth-alert.hidden {
  display: none;
}

.auth-alert--error {
  color: var(--brand-light);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.auth-alert--warn {
  color: #f0d4a8;
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.auth-alert code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.auth-field label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.auth-field input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 0.875rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.auth-input-wrap {
  position: relative;
}

.auth-input-wrap input {
  padding-right: 2.75rem;
}

.auth-field input::placeholder {
  color: rgba(92, 92, 102, 0.85);
}

.auth-field input:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.auth-field input:focus {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.auth-pw-toggle {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  color: var(--text-3);
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.auth-pw-toggle:hover {
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.05);
}

.auth-pw-icon {
  width: 1.125rem;
  height: 1.125rem;
}

.auth-pw-icon.hidden {
  display: none;
}

/* Password strength */
.auth-strength {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.auth-strength-bar {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.25s var(--ease);
}

.auth-strength[data-score="1"] .auth-strength-bar:nth-child(-n+1) {
  background: #2563eb;
}

.auth-strength[data-score="2"] .auth-strength-bar:nth-child(-n+2) {
  background: #e89240;
}

.auth-strength[data-score="3"] .auth-strength-bar:nth-child(-n+3) {
  background: #e8c840;
}

.auth-strength[data-score="4"] .auth-strength-bar:nth-child(-n+4) {
  background: #40c878;
}

/* Buttons — dark bordered style */
.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.72rem 1rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.auth-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.auth-btn:active:not(:disabled) {
  transform: translateY(0);
}

.auth-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.auth-submit {
  margin-top: 0.25rem;
}

.auth-submit:hover:not(:disabled) {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.08);
}

.auth-btn-arrow {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.7;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

.auth-submit:hover:not(:disabled) .auth-btn-arrow {
  transform: translateX(3px);
  opacity: 1;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 1rem;
  color: var(--text-3);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.auth-google-icon {
  width: 1.0625rem;
  height: 1.0625rem;
  flex-shrink: 0;
}

.auth-switch {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-3);
}

.auth-switch a {
  color: var(--text);
  font-weight: 550;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.auth-switch a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

.auth-legal {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.6875rem;
  line-height: 1.55;
  color: var(--text-3);
}

.auth-legal a {
  color: var(--text-2);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.15);
  transition: color 0.2s var(--ease);
}

.auth-legal a:hover {
  color: var(--text);
}

.auth-confirm {
  text-align: left;
}

.auth-confirm-title {
  margin-bottom: 0.35rem;
}

.auth-confirm-lead {
  margin-bottom: 1.15rem;
}

.auth-confirm-card {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.auth-confirm-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.auth-confirm-avatar {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(37, 99, 235, 0.12);
}

.auth-confirm-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-confirm-avatar--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--text);
}

.auth-confirm-meta {
  margin: 0;
  min-width: 0;
}

.auth-confirm-meta div + div {
  margin-top: 0.45rem;
}

.auth-confirm-meta dt {
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
}

.auth-confirm-meta dd {
  margin: 0.1rem 0 0;
  font-size: 0.9375rem;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-2);
  cursor: pointer;
}

.auth-check input {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.auth-confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.auth-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-2);
  box-shadow: none;
}

.auth-btn--ghost:hover:not(:disabled) {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

@media (min-width: 720px) {
  .auth-panel {
    grid-template-columns: 1fr 1fr;
    min-height: 32rem;
  }

  .auth-brand {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }

  .auth-brand-foot {
    margin-top: auto;
    padding-top: 2rem;
  }
}

/* Session pill (already signed in on web — no auto-redirect) */
.auth-session-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.65rem 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-2);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.28);
  border-radius: 10px;
  animation: auth-fade-in 0.45s var(--ease-out) both;
}

.auth-session-pill strong {
  color: var(--text);
  font-weight: 550;
}

.auth-session-pill-link {
  margin-left: auto;
  font-weight: 550;
  color: var(--text);
  text-decoration: none;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.15s;
}

.auth-session-pill-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.auth-continue-desktop--ready {
  animation: auth-continue-pulse 2s ease-in-out infinite;
  border-color: rgba(37, 99, 235, 0.45);
}

/* Desktop app link — signed-in flow */
body.auth-page--desktop-ready:not(.auth-page--desktop-alt-account) .auth-form,
body.auth-page--desktop-ready:not(.auth-page--desktop-alt-account) #auth-oauth-divider,
body.auth-page--desktop-ready:not(.auth-page--desktop-alt-account) #auth-google {
  display: none;
}

.auth-desktop-link {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: auth-fade-in 0.45s var(--ease-out) both;
}

.auth-desktop-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-desktop-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 650;
  color: var(--text);
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(37, 99, 235, 0.35);
  flex-shrink: 0;
}

.auth-desktop-user-copy {
  min-width: 0;
  flex: 1;
}

.auth-desktop-user-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.15rem;
}

.auth-desktop-user-email {
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-desktop-dashboard {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 550;
  color: var(--text-2);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.15s, border-color 0.15s;
}

.auth-desktop-dashboard:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
}

.auth-desktop-link-btn {
  margin-top: 0.15rem;
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.45);
}

.auth-desktop-link-btn:hover:not(:disabled) {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(37, 99, 235, 0.6);
}

.auth-desktop-link-btn--ready {
  animation: auth-continue-pulse 2.4s ease-in-out infinite;
}

.auth-desktop-hint {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-3);
  text-align: center;
  margin: 0;
}

.auth-desktop-alt {
  align-self: center;
  font: inherit;
  font-size: 0.8125rem;
  color: var(--text-3);
  background: none;
  border: none;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}

.auth-desktop-alt:hover {
  color: var(--text-2);
}

body.auth-page--desktop-alt-account .auth-desktop-link {
  display: none;
}

body.auth-page--desktop-alt-account .auth-form,
body.auth-page--desktop-alt-account #auth-oauth-divider,
body.auth-page--desktop-alt-account #auth-google {
  display: flex;
}

body.auth-page--desktop-alt-account #auth-oauth-divider {
  display: block;
}

body.auth-page--desktop-alt-account #auth-google {
  display: inline-flex;
}

body.auth-page--desktop-linked .auth-form,
body.auth-page--desktop-linked #auth-oauth-divider,
body.auth-page--desktop-linked #auth-google,
body.auth-page--desktop-linked .auth-desktop-link,
body.auth-page--desktop-linked .auth-desktop-signin {
  display: none !important;
}

.auth-desktop-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0 0.25rem;
  text-align: center;
  animation: auth-fade-in 0.45s var(--ease-out) both;
}

.auth-desktop-success.hidden,
.auth-desktop-success[hidden] {
  display: none !important;
}

.auth-desktop-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.32);
  font-size: 1.65rem;
}

.auth-desktop-success-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
}

.auth-desktop-success-lead {
  margin: 0;
  max-width: 26rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-2);
}

.auth-desktop-success-lead strong {
  color: var(--text);
  font-weight: 600;
}

.auth-desktop-success-btn {
  margin-top: 0.35rem;
  width: 100%;
  justify-content: center;
}

.auth-desktop-signin {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-desktop-signin[hidden] {
  display: none !important;
}

@keyframes auth-continue-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
  50% {
    box-shadow: 0 0 24px rgba(37, 99, 235, 0.12);
  }
}

/* Full-page loading overlay */
.auth-loading {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
}

.auth-loading[hidden] {
  display: none !important;
}

.auth-loading-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 8, 0.72);
  backdrop-filter: blur(6px);
  animation: auth-fade-in 0.25s var(--ease-out) both;
}

.auth-loading-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 2rem;
  min-width: 14rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 12, 16, 0.95);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  animation: auth-loading-pop 0.35s var(--ease-out) both;
}

.auth-loading-spinner {
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: auth-spin 0.65s linear infinite;
}

.auth-loading-text {
  font-size: 0.875rem;
  color: var(--text-2);
  text-align: center;
  animation: auth-loading-text 1.2s ease-in-out infinite alternate;
}

.auth-panel--loading {
  pointer-events: none;
  opacity: 0.55;
  filter: blur(1px);
  transition: opacity 0.25s var(--ease), filter 0.25s var(--ease);
}

body.auth-page--busy {
  overflow: hidden;
}

.auth-btn--loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.auth-btn--loading .auth-btn-arrow,
.auth-btn--loading .auth-google-icon {
  opacity: 0;
}

.auth-btn--loading::after {
  content: "";
  position: absolute;
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: auth-spin 0.55s linear infinite;
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes auth-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes auth-loading-pop {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes auth-loading-text {
  from {
    opacity: 0.65;
  }
  to {
    opacity: 1;
  }
}

.auth-form-side {
  animation: auth-fade-in 0.5s var(--ease-out) 0.05s both;
}

/* Pro checkout flow (signup → payment) */
.auth-pro-steps {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: rgba(37, 99, 235, 0.08);
  width: fit-content;
  max-width: 100%;
}

.auth-pro-step {
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}

.auth-pro-step--on {
  color: var(--brand-light);
  font-weight: 700;
}

.auth-pro-step__line {
  width: 1.25rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

body.auth-page--checkout .auth-brand {
  border-color: rgba(37, 99, 235, 0.18);
}

@media (max-width: 1023px) {
  body.auth-page main {
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-h) + 1rem) var(--pad) 1.5rem;
    min-height: 100svh;
    min-height: 100dvh;
  }

  .auth-shell {
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
  }

  .auth-panel {
    display: block;
  }

  .auth-brand {
    display: none !important;
  }

  .auth-form-side {
    padding: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
  }

  .auth-field,
  .auth-form {
    text-align: left;
  }

  .auth-title,
  .auth-subtitle {
    text-align: center;
  }

  .auth-pro-steps {
    margin-inline: auto;
  }

  .auth-session-pill {
    justify-content: center;
  }

  .auth-title {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
  }

  .auth-subtitle {
    margin-bottom: 1.15rem;
    font-size: 0.875rem;
  }

  .auth-form {
    gap: 0.85rem;
  }

  .auth-divider {
    margin: 0.35rem 0;
  }

  .auth-switch {
    margin-top: 1rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 479px) {
  body.auth-page main {
    padding-top: calc(var(--nav-h) + 0.35rem);
  }

  .auth-panel {
    border-radius: 14px;
  }

  .auth-form-side {
    padding: 1.35rem var(--pad) 1.25rem;
  }
}
