/* Welcome, account creation, onboarding and log-in: the pages shown before the app. Stand-alone (no side menu). */
body.fx-auth-page{min-height:100vh;margin:0;background:radial-gradient(900px 480px at 85% -8%,#ccaff8 0%,transparent 60%),radial-gradient(700px 420px at -10% 110%,#dbc7fa 0%,transparent 55%),#f1ebfa;color:var(--fx-ink,#20192a);overflow-y:auto!important;height:auto!important}
.fx-auth{max-width:760px;margin:0 auto;padding:22px 20px 70px;display:flex;flex-direction:column;gap:22px}
.fx-authbar{display:flex;align-items:center;justify-content:space-between;gap:14px}
.fx-authbrand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--fx-ink,#20192a);font-weight:800;font-size:18px;letter-spacing:.01em}
.fx-authbrand img{width:38px;height:auto;background:#fff;border-radius:11px;padding:4px;box-shadow:0 3px 10px #6b5a2a22}
.fx-authlink{color:#5825a5;font-weight:650;font-size:14px;text-decoration:none}.fx-authlink:hover{text-decoration:underline}
.fx-progress{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700;color:var(--fx-muted,#654f85);letter-spacing:.04em;text-transform:uppercase}
.fx-progress-bar{flex:1;height:8px;border-radius:99px;background:#d5c5ed;overflow:hidden}.fx-progress-bar i{display:block;height:100%;border-radius:99px;background:var(--fx-grad,linear-gradient(135deg,#7f39e9,#5b1fc4));transition:width .3s}
.fx-card{background:#fff;border:1px solid #d5c5ed;border-radius:26px;padding:32px clamp(20px,5vw,40px);box-shadow:0 2px 4px #6b5a2a12,0 24px 60px #6b5a2a1c}
.fx-card h1,.fx-card h2.fx-h{margin:0 0 8px;font-size:clamp(26px,5vw,34px);line-height:1.15;letter-spacing:-.02em}
.fx-lede{margin:0 0 22px;color:#3d2b59;font-size:16.5px;line-height:1.55}
.fx-q{margin:22px 0 4px;font-size:19px;font-weight:750}
.fx-hint{margin:0 0 14px;color:var(--fx-muted,#654f85);font-size:14px}
.fx-fields{display:grid;gap:16px}
.fx-field{display:grid;gap:6px;font-weight:650;font-size:14.5px;color:#3d2b59}
.fx-field input,.fx-field select,.fx-field textarea{width:100%;min-height:50px;padding:12px 14px;border:1.5px solid #c1abe3;border-radius:14px;background:#fff;font:inherit;font-weight:450;color:#20192a;transition:border-color .12s,box-shadow .12s}
.fx-field textarea{min-height:104px;resize:vertical}
.fx-field input:focus,.fx-field select:focus,.fx-field textarea:focus{outline:0;border-color:#7e39e5;box-shadow:0 0 0 4px #f4842a24}
.fx-field small{font-weight:450;color:var(--fx-muted,#654f85)}
.fx-passrow{position:relative}.fx-passrow input{padding-right:78px}
.fx-passrow button{position:absolute;right:8px;top:50%;transform:translateY(-50%);min-height:34px;padding:0 12px;border-radius:10px;border:0;background:#ebdffc;color:#451d81;font-weight:700;font-size:13px;cursor:pointer;box-shadow:none}
.fx-check{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border:1.5px solid #d5c5ed;border-radius:14px;background:#fbf9fe;font-weight:450;font-size:14px;line-height:1.5;color:#3d2b59;cursor:pointer}
.fx-check input{width:20px;height:20px;margin-top:2px;accent-color:#7e39e5;flex:none}
.fx-check:has(input:checked){border-color:#7e39e5;background:#ebdffc}
.fx-error{margin:14px 0 0;min-height:22px;color:#b3261e;font-weight:650;font-size:14.5px}
.fx-btnrow{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:22px}
.fx-btn{min-height:54px;padding:0 34px;border:0;border-radius:16px;color:#fff;font-size:17px;font-weight:750;background:linear-gradient(135deg,#7f39e9 0%,#7e39e5 55%,#5b1fc4 100%);box-shadow:0 10px 24px #5b1fc440;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;transition:transform .12s,box-shadow .12s}
.fx-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 14px 30px #5b1fc455}.fx-btn:disabled{opacity:.5;cursor:not-allowed}
.fx-btn.ghost{background:#fff;color:#3d2b59;border:1.5px solid #c1abe3;box-shadow:none}.fx-btn.ghost:hover:not(:disabled){box-shadow:0 6px 16px #6b5a2a1c}
.fx-btn.wide{width:100%}
/* choice cards */
.fx-choices{display:grid;gap:12px;margin:6px 0 0}
.fx-choice{position:relative;display:grid;grid-template-columns:28px 1fr;gap:4px 14px;align-items:start;padding:16px 18px;border:1.5px solid #d5c5ed;border-radius:18px;background:#fbf9fe;cursor:pointer;transition:border-color .12s,background .12s,transform .12s,box-shadow .12s}
.fx-choice:hover{border-color:#c1abe3;transform:translateY(-1px)}
.fx-choice input{position:absolute;opacity:0;pointer-events:none}
.fx-choice .fx-mark{grid-row:1/3;width:24px;height:24px;border-radius:50%;border:2px solid #ab90d3;display:grid;place-items:center;background:#fff;margin-top:2px;color:transparent;font-size:14px;font-weight:800}
.fx-choice.multi .fx-mark{border-radius:8px}
.fx-choice strong{font-size:17px}.fx-choice span.fx-desc{color:#452f66;font-size:14.5px;line-height:1.5}
.fx-choice:has(input:checked){border-color:#7e39e5;background:#ebdffc;box-shadow:0 0 0 3px #f4842a1c}
.fx-choice:has(input:checked) .fx-mark{background:linear-gradient(135deg,#7f39e9,#5b1fc4);border-color:transparent;color:#fff}
.fx-choice:has(input:focus-visible){outline:3px solid #7933e1;outline-offset:2px}
.fx-note{margin-top:8px;padding:12px 14px;border-radius:12px;background:#f1ecf8;border-left:4px solid #6b4c9a;color:#44325f;font-size:13.5px;line-height:1.5;grid-column:2}
.fx-privacy{margin:18px 0 0;padding:16px 18px;border-radius:16px;background:#f1ecf8;border-left:4px solid #6b4c9a;color:#3a2a55;font-size:14px;line-height:1.55}
.fx-privacy strong{display:block;margin-bottom:4px}
.fx-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.fx-chipbtn{min-height:34px;padding:0 13px;border-radius:99px;border:1px solid #c1abe3;background:#ede2fd;color:#3d2b59;font-size:13px;font-weight:600;cursor:pointer;box-shadow:none;text-align:left}
.fx-chipbtn:hover{background:#d5bdfa}
.fx-radiorow{display:flex;gap:10px;flex-wrap:wrap}
.fx-radiorow label{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:1.5px solid #d5c5ed;border-radius:14px;cursor:pointer;font-weight:600;background:#fbf9fe}
.fx-radiorow label:has(input:checked){border-color:#7e39e5;background:#ebdffc}.fx-radiorow input{accent-color:#7e39e5}
/* welcome */
.fx-welcome{text-align:center;padding-top:34px;display:flex;flex-direction:column;align-items:center;gap:18px}
.fx-welcome-logo{width:104px;height:auto;background:#fff;border-radius:28px;padding:12px;box-shadow:0 14px 36px #5b1fc433}
.fx-welcome h1{margin:6px 0 0;font-size:clamp(32px,7vw,52px);line-height:1.08;letter-spacing:-.03em;max-width:640px;background:linear-gradient(135deg,#601ac9,#5b1fc4);-webkit-background-clip:text;background-clip:text;color:transparent}
.fx-welcome .fx-sub{margin:0;max-width:560px;font-size:clamp(16px,2.6vw,19px);line-height:1.55;color:#3d2b59}
.fx-paths{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:100%;max-width:560px;margin-top:10px}
@media(max-width:560px){.fx-paths{grid-template-columns:1fr}}
.fx-path{display:flex;flex-direction:column;gap:6px;padding:18px;border-radius:20px;background:#fff;border:1px solid #d5c5ed;box-shadow:0 2px 4px #6b5a2a12,0 12px 30px #6b5a2a14;text-align:center}
.fx-path small{color:#654f85;font-size:13.5px;line-height:1.45;min-height:40px}
.fx-vito{width:100%;max-width:560px;margin-top:6px;padding:18px 20px;border-radius:20px;background:#efe6fd;border:1px dashed #9e78d8;text-align:left}
.fx-vito strong{display:block;margin-bottom:4px;font-size:16px}.fx-vito p{margin:0 0 12px;color:#452f66;font-size:14px;line-height:1.5}
.fx-vito form{display:flex;gap:10px;flex-wrap:wrap}.fx-vito input{flex:1 1 220px;min-height:46px;padding:10px 14px;border:1.5px solid #c1abe3;border-radius:14px;font:inherit;background:#fff}
.fx-vito .fx-btn{min-height:46px;padding:0 22px;font-size:15px}
.fx-footer{text-align:center;font-size:12px;color:#654f85;line-height:1.6}.fx-footer a{color:#4d2a82}
/* log in page, same family */
body.fx-auth-page .auth-wrap{min-height:0;padding:0}
body.fx-auth-page .auth-panel{background:#fff;border:1px solid #d5c5ed;border-radius:26px;padding:32px clamp(20px,5vw,40px);box-shadow:0 2px 4px #6b5a2a12,0 24px 60px #6b5a2a1c;max-width:520px;margin:0 auto}
body.fx-auth-page .auth-panel h1{font-size:30px;letter-spacing:-.02em}
body.fx-auth-page .auth-form label{display:grid;gap:6px;font-weight:650;font-size:14.5px;color:#3d2b59}
body.fx-auth-page .auth-form input:not([type=checkbox]){min-height:50px;border:1.5px solid #c1abe3;border-radius:14px;padding:12px 14px;font:inherit;font-weight:450}
body.fx-auth-page .auth-form input:focus{outline:0;border-color:#7e39e5;box-shadow:0 0 0 4px #f4842a24}
body.fx-auth-page #authSubmit{min-height:54px;border:0;border-radius:16px;color:#fff;font-size:17px;font-weight:750;background:linear-gradient(135deg,#7f39e9 0%,#7e39e5 55%,#5b1fc4 100%);box-shadow:0 10px 24px #5b1fc440;cursor:pointer;width:100%}
.fx-stepper{display:none}
@media(prefers-reduced-motion:reduce){.fx-btn,.fx-choice{transition:none}}
.fx-card h1,body.fx-auth-page .auth-panel h1{color:#20192a}
.fx-badge{margin-left:10px;padding:2px 10px;border-radius:99px;background:linear-gradient(135deg,#7f39e9,#5b1fc4);color:#fff;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle}
.fx-hintline{grid-column:2;color:#654f85;font-size:13px;line-height:1.45}
.fx-opt{font-weight:500;color:#755f95;font-size:13px}
