:root { --blue:#234fe5; --blue-dark:#1739b0; --ink:#1a2340; --muted:#737d93; --line:#e9edf4; --canvas:#f5f7fb; --green:#22977d; --radius:18px; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:var(--ink); background:var(--canvas); font-synthesis:none; }
* { box-sizing:border-box; }
body { margin:0; font-size:14px; line-height:1.5; }
[hidden] { display:none!important; }
button,input,a { -webkit-tap-highlight-color:transparent; }
button,input { font:inherit; }
button,a,input { touch-action:manipulation; }
button { cursor:pointer; }
button:disabled { cursor:default; opacity:.5; }
a { color:inherit; text-decoration:none; }
button { border:0; }
svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.icon-defs { position:absolute; width:0; height:0; overflow:hidden; }
h1,h2,h3,p { margin-top:0; }
h1 { font-size:clamp(25px,2.4vw,35px); line-height:1.2; letter-spacing:-1.2px; margin-bottom:10px; font-weight:750; }
h2 { font-size:19px; line-height:1.3; letter-spacing:-.4px; margin-bottom:7px; }
h3 { font-size:15px; margin-bottom:7px; }
p { color:var(--muted); }
strong { font-weight:650; }
hr { border:0; border-top:1px solid var(--line); margin:22px 0; }
code { font-family:ui-monospace,SFMono-Regular,monospace; overflow-wrap:anywhere; }
button:focus-visible,a:focus-visible,input:focus-visible { outline:3px solid #84a4ff; outline-offset:4px; }
input { width:100%; border:1px solid #dce2ed; background:#fff; border-radius:10px; padding:14px 15px; color:var(--ink); min-width:0; }
input:focus { border-color:var(--blue); outline:2px solid #234fe522; }
input::placeholder { color:#9aa3b5; }
label { display:block; font-size:13px; font-weight:600; margin-bottom:9px; }
form .primary { margin-top:17px; }
.muted { color:var(--muted); }
.eyebrow { display:block; font-size:10px; font-weight:700; letter-spacing:1.6px; color:#9099ad; margin-bottom:13px; }
.brand { display:flex; align-items:center; font-weight:800; font-size:25px; letter-spacing:-1.2px; white-space:nowrap; }
.brand-mark { display:inline-grid; place-items:center; width:36px; height:36px; margin-right:9px; border-radius:11px; color:#fff; background:var(--blue); font-size:32px; font-weight:800; line-height:1; padding-bottom:6px; letter-spacing:-3px; padding-right:3px; }
.brand-dot { color:var(--blue); }
.pill { display:inline-flex; align-items:center; width:fit-content; border-radius:30px; background:#edf1ff; color:var(--blue); font-size:10px; font-weight:700; letter-spacing:.5px; padding:6px 10px; }
.primary,.secondary,.danger-button { display:inline-flex; align-items:center; justify-content:center; gap:10px; border-radius:10px; font-size:13px; font-weight:600; padding:12px 17px; min-height:44px; transition:background .15s,transform .15s; }
.primary { background:var(--blue); color:white; }
.primary:hover:not(:disabled) { background:var(--blue-dark); transform:translateY(-1px); }
.secondary { background:white; color:#4f5d78; border:1px solid #dfe5ef; }
.secondary:hover:not(:disabled) { background:#f4f6fb; }
.danger-button { background:#fff0f0; color:#b13246; }
.danger-text { color:#b13246!important; }
.full { width:100%; }
.text-button,.text-link { display:inline-flex; align-items:center; justify-content:space-between; gap:10px; color:var(--blue); background:none; font-size:12px; font-weight:650; padding:0; }
.text-button { min-height:35px; }
.text-link svg { width:17px; height:17px; }
.icon-button { display:inline-grid; place-items:center; background:transparent; color:#74809a; width:40px; height:40px; border-radius:10px; }
.icon-button:hover { background:#eef2fb; }
.card { background:white; border:1px solid var(--line); border-radius:var(--radius); }
.soft-icon { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; background:#edf2ff; color:var(--blue); border-radius:13px; flex-shrink:0; }
.mint { background:#e8f7f1; color:#299b82; }
.lavender { background:#f0edff; color:#8463ce; }
.field-hint { font-size:11px; line-height:1.7; margin:9px 0 0; }
.button-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:15px; }
.info-box { padding:18px; border:1px solid #dfe7fd; border-radius:12px; background:#f1f5ff; color:#3e598c; font-size:12px; line-height:1.7; }
.info-box p { color:inherit; margin:6px 0 0; }
.online-dot,.status-dot,.live-dot { display:inline-block; width:7px; height:7px; border-radius:50%; background:#2bae8f; flex-shrink:0; }
.status-dot { background:#e1a650; }
.status-dot.confirmed { background:var(--green); }
.skip-link { position:fixed; top:-80px; z-index:100; background:white; padding:15px; }
.skip-link:focus { top:0; }
.loading { min-height:100dvh; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:20px; }
.connection { position:sticky; top:0; z-index:50; background:#fff0cd; color:#7d5618; padding:10px 20px; font-size:12px; text-align:center; }
.toast { position:fixed; bottom:28px; left:50%; transform:translateX(-50%); max-width:min(520px,90vw); width:max-content; padding:14px 22px; border-radius:12px; background:#1a2340; color:white; box-shadow:0 6px 28px #18234326; z-index:200; font-size:13px; }
.form-error { margin:20px 0 0; color:#b13246; background:#fff0f0; padding:12px; border-radius:9px; font-size:13px; }

/* Login / signup tabs */
.auth-tabs { display:flex; gap:6px; background:var(--canvas); border-radius:10px; padding:4px; margin-bottom:20px; }
.auth-tab { flex:1; border:0; background:transparent; border-radius:8px; padding:10px; font-size:13px; font-weight:600; color:var(--muted); cursor:pointer; min-height:40px; transition:background .15s,color .15s; }
.auth-tab.active { background:#fff; color:var(--ink); box-shadow:0 1px 4px #18234314; }
#login-form label, #signup-form label { display:block; margin-top:14px; font-size:12px; font-weight:600; }

/* Onboarding poll indicator */
.poll-indicator { display:inline-block; width:10px; height:10px; border-radius:50%; background:var(--blue); animation:pulse 1.5s ease-in-out infinite; margin-top:8px; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
