body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.signup-box { background: var(--glass-3); border: 1px solid var(--glass-stroke); border-radius: var(--r-xl);
  padding: 40px; width: 100%; max-width: 480px; box-shadow: var(--shadow-glass-lg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.progress { display: flex; gap: 6px; margin-bottom: 32px; }
.prog-step { flex: 1; height: 3px; border-radius: var(--r-pill); background: var(--glass-stroke-strong);
  transition: background var(--t-base) var(--ease-craft); }
.prog-step.done   { background: var(--brand-mid); }
.prog-step.active { background: var(--brand-mid); opacity: .5; }
.signup-box h2 { font: 600 22px var(--font-sans); letter-spacing: -.02em; margin-bottom: 6px; }
.signup-box h2 em { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--brand-ink); }
.sub { font-size: 13px; color: var(--ink-500); margin-bottom: 26px; line-height: 1.6; }
.field { margin-bottom: 18px; }
.field label { display: block; font: 600 13px var(--font-sans); color: var(--ink-700); margin-bottom: 6px; }
.label-opt { font-weight: 400; color: var(--ink-400); }
.field .input { width: 100%; }
.field-hint  { font-size: 11px; color: var(--ink-400); margin-top: 5px; }
.field-error { font-size: 11px; color: var(--stop); margin-top: 5px; display: none; font-weight: 500; }
.btn-back { margin-top: 10px; }
.global-error { background: var(--stop-soft); border: 1px solid rgba(220,38,38,.3); border-radius: var(--r-sm);
  padding: 10px 14px; font-size: 13px; color: var(--stop); margin-bottom: 16px; display: none; font-weight: 500; }
.processing { text-align: center; padding: 8px 0 12px; }
.step-list { list-style: none; text-align: left; margin-top: 24px; }
.step-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; padding: 10px 12px;
  border-radius: var(--r-sm); color: var(--ink-500); transition: color var(--t-base), background var(--t-base); }
.step-list li.done   { color: var(--ok); background: var(--ok-soft); }
.step-list li.active { color: var(--ink-900); font-weight: 600; background: var(--brand-soft); }
.step-ico { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-ico .icon { width: 16px; height: 16px; }
.step-list li.active .step-ico svg { animation: spin .8s linear infinite; }

/* CSP: replacements for former inline style attributes */
.hidden { display: none !important; }
.spinner-center { margin: 0 auto 24px; }
.signup-fail { text-align: center; padding: 20px 0; }
.signup-fail-ico { width: 34px; height: 34px; color: var(--stop); margin-bottom: 14px; }
.signup-err-msg { margin-bottom: 24px; }
