.auth-scrim{position:fixed;inset:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:1000;padding:24px;box-sizing:border-box}.auth-modal{background:#fff;border-radius:12px;box-shadow:0 24px 64px #0f172a4d;max-width:460px;width:100%;padding:24px 24px 20px;box-sizing:border-box;font-family:system-ui,-apple-system,sans-serif;color:#0f172a}.auth-modal .earned{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:#16a34a;margin-bottom:4px}.auth-modal h3{margin:0 0 10px;font-size:19px;font-weight:700;letter-spacing:-.01em}.auth-modal .lede{margin:0 0 14px;font-size:14px;line-height:1.5;color:#475569}.auth-modal label{display:block;font-size:12px;font-weight:600;color:#334155;margin-bottom:6px}.auth-modal input[type=email]{width:100%;padding:10px 12px;font-size:14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;box-sizing:border-box;font-family:inherit}.auth-modal input[type=email]:focus{outline:2px solid #2563eb;outline-offset:-1px}.auth-modal input.invalid{border-color:#dc2626}.auth-modal .validation{margin:6px 0 0;font-size:12px;color:#b91c1c}.auth-modal .status{padding:10px 12px;border-radius:8px;font-size:13px;margin-bottom:12px}.auth-modal .status.error{background:#fef2f2;border-left:4px solid #dc2626;color:#7f1d1d}.auth-modal .actions{display:flex;gap:8px;margin-top:16px}.auth-modal .actions.split{justify-content:space-between}.auth-modal button{flex:1;padding:10px 14px;font-size:14px;font-weight:600;border-radius:8px;border:1px solid transparent;cursor:pointer;font-family:inherit;display:inline-flex;align-items:center;justify-content:center;gap:6px}.auth-modal button.primary{background:#0f172a;color:#fff}.auth-modal button.primary:hover:not(:disabled){background:#1e293b}.auth-modal button.primary:disabled{background:#475569;cursor:not-allowed}.auth-modal button.secondary{background:#f1f5f9;color:#0f172a;border-color:#cbd5e1}.auth-modal button.secondary:hover:not(:disabled){background:#e2e8f0}.auth-modal button.secondary:disabled{opacity:.5;cursor:not-allowed}.auth-modal button.danger{background:#dc2626;color:#fff}.auth-modal button.danger:hover:not(:disabled){background:#b91c1c}.auth-spinner{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:auth-spin .8s linear infinite}@keyframes auth-spin{to{transform:rotate(360deg)}}.auth-toast{position:fixed;top:64px;left:50%;transform:translate(-50%);background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:12px 16px;box-shadow:0 4px 14px #0f172a1a;font-size:13px;color:#0f172a;max-width:420px;width:calc(100% - 32px);box-sizing:border-box;z-index:1001}.auth-toast.success{border-left:4px solid #16a34a;border-color:#a7f3d0}@media (max-width: 760px){.auth-scrim{align-items:flex-end;padding:0}.auth-modal{max-width:none;width:100%;border-radius:14px 14px 0 0;box-shadow:0 -8px 32px #0f172a4d}}.auth-page{max-width:640px;margin:0 auto;padding:32px 24px 64px;font-family:system-ui,-apple-system,sans-serif;color:#0f172a}.auth-page .crumb{display:inline-block;font-size:13px;color:#2563eb;text-decoration:none;margin-bottom:16px}.auth-page h1{margin:0 0 16px;font-size:26px;font-weight:700;letter-spacing:-.02em}.auth-page .lede{margin:0 0 24px;font-size:15px;line-height:1.5;color:#475569}.auth-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px}.identity-card{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:10px;padding:16px 20px;margin-bottom:16px}.identity-card .label-tag{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:#475569;margin-bottom:4px}.identity-card .email-val{font-size:16px;font-weight:600}.identity-card .since{margin-top:4px;font-size:12px;color:#64748b}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #e2e8f0}.settings-row:last-child{border-bottom:none}.settings-row .label-stack{flex:1}.settings-row .title{font-weight:600;font-size:14px}.settings-row .sub{font-size:12px;color:#64748b;margin-top:2px}.row-cta{padding:8px 14px;font-size:13px;font-weight:600;border-radius:8px;border:1px solid #cbd5e1;background:#fff;color:#0f172a;cursor:pointer;font-family:inherit}.row-cta:hover{background:#f1f5f9}.row-cta.danger{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.row-cta.danger:hover{background:#fee2e2}.auth-page .form-card label{display:block;font-size:12px;font-weight:600;color:#334155;margin-bottom:6px}.auth-page .form-card input[type=email]{width:100%;padding:10px 12px;font-size:14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;box-sizing:border-box;font-family:inherit;margin-bottom:12px}.auth-page .form-card input.invalid{border-color:#dc2626}.auth-page .form-card .validation{margin:-6px 0 12px;font-size:12px;color:#b91c1c}.auth-page .form-card button.primary{width:100%;padding:10px 14px;font-size:14px;font-weight:600;border-radius:8px;border:none;background:#0f172a;color:#fff;cursor:pointer;font-family:inherit}.auth-page .form-card button.primary:disabled{background:#475569;cursor:not-allowed}.auth-page .fineprint{margin-top:16px;font-size:13px;color:#64748b}.auth-page .fineprint a{color:#2563eb}.auth-page .status{padding:10px 12px;border-radius:8px;font-size:13px;margin-bottom:12px}.auth-page .status.error{background:#fef2f2;border-left:4px solid #dc2626;color:#7f1d1d}.auth-page .status.success{background:#f0fdf4;border-left:4px solid #16a34a;color:#14532d}
