/* Public sign-up and sign-in. Follows resellbot-site's rb.css tokens: Plus Jakarta
   Sans, warm paper, ink buttons. One centred column so the form is the first thing
   on every screen size. Auth only: a signed-in workspace keeps the customer's theme. */
@font-face{font-family:"Plus Jakarta Sans";src:url(/fonts/plus-jakarta-sans-latin.woff2) format("woff2");font-weight:400 800;font-display:swap}
body:has(login-page .research-auth){background:#f7f6f3!important;color:#1c1b19!important}
body:has(login-page .research-auth)>nav.navbar,
body:has(login-page .research-auth) app-navigation{display:none!important}
body:has(login-page .research-auth) #wrapper,
body:has(login-page .research-auth) #app{margin:0!important;padding:0!important;width:100%!important;max-width:none!important;min-height:100svh;background:#f7f6f3!important}

.research-auth{--ink:#1c1b19;--muted:#6b675f;--soft:#55524b;--line:#e7e4de;--paper:#f7f6f3;--field:#fbfaf8;--danger:#b42318;--ok:#0b7a47;color-scheme:light;min-height:100svh;display:flex;flex-direction:column;color:var(--ink);background:var(--paper);font:400 15px/1.55 "Plus Jakarta Sans",system-ui,sans-serif;-webkit-font-smoothing:antialiased}
.research-auth *,.research-auth *::before,.research-auth *::after{box-sizing:border-box}
.research-auth a{color:inherit}
.research-auth .d-none{display:none!important}
.research-auth :focus-visible{outline:2px solid var(--ink);outline-offset:3px}

/* Header: logo and the one other door (sign in / create account). No site nav to wander off into. */
.research-auth-header{display:flex;align-items:center;justify-content:space-between;gap:16px;height:68px;padding-inline:clamp(16px,4vw,40px)}
.research-entry-brand{display:inline-flex;align-items:center;gap:10px;font-size:19px;font-weight:800;letter-spacing:-.03em;text-decoration:none;white-space:nowrap}
.research-entry-brand img{width:28px;height:28px}
.research-auth-switch-row{margin:0;font-size:13px;color:var(--muted);white-space:nowrap}
.research-auth-switch{margin-left:4px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-weight:700;font-size:13px;line-height:1.2;font-family:inherit;cursor:pointer}
.research-auth-switch:hover{border-color:#cfcac1}

/* Column */
.research-entry{flex:1;width:100%;max-width:440px;margin:0 auto;padding:clamp(20px,6vh,64px) 16px 48px}
.research-entry-eyebrow{display:flex;align-items:center;gap:8px;margin:0 0 14px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.research-entry-eyebrow>span{width:7px;height:7px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 4px #e4f2e9}
.research-entry h1{margin:0;font:800 34px/1.12 "Plus Jakarta Sans",system-ui,sans-serif;letter-spacing:-.035em;color:var(--ink);text-wrap:balance}
.research-entry-lead{margin:12px 0 0;font-size:16px;line-height:1.55;color:var(--soft);text-wrap:pretty}
.research-entry-lead strong{color:var(--ink);font-weight:700}

/* Form card */
.research-entry-form{margin-top:24px;padding:24px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 1px 2px #1c1b1908,0 16px 36px -24px #1c1b1933}
.research-auth-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;padding:12px 18px;border-radius:12px;font:700 15px/1.2 "Plus Jakarta Sans",system-ui,sans-serif;cursor:pointer;transition:background-color .15s,border-color .15s,box-shadow .15s}
.research-auth-btn:disabled{opacity:.7;cursor:progress}
.research-auth-btn--google{border:1px solid #d9d5cd;background:#fff;color:var(--ink);box-shadow:0 1px 2px #1c1b190d}
.research-auth-btn--google:hover{background:var(--paper);border-color:#cfcac1}
.research-auth-btn--primary{border:1px solid var(--ink);background:var(--ink);color:#fff;box-shadow:0 1px 2px #1c1b1926,0 8px 18px -10px #1c1b1980}
.research-auth-btn--primary:hover{background:#000}
.research-auth-google{flex:0 0 auto}
.research-auth-or{display:flex;align-items:center;gap:12px;margin:18px 0;font-size:12px;color:var(--muted)}
.research-auth-or::before,.research-auth-or::after{content:"";flex:1;height:1px;background:var(--line)}
.research-auth-fields{display:grid;gap:14px}
.research-auth-field{display:grid;gap:6px}
.research-auth-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.research-auth-field label{font-size:13px;font-weight:600;color:var(--ink)}
.research-auth-label-row a{font-size:13px;color:var(--soft);text-underline-offset:3px}
.research-auth-field input{width:100%;min-width:0;height:48px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:var(--field);color:var(--ink);font:400 16px/1 "Plus Jakarta Sans",system-ui,sans-serif;outline:none;transition:border-color .15s,box-shadow .15s}
.research-auth-field input:focus{border-color:var(--ink);background:#fff;box-shadow:0 0 0 3px #1c1b1912}
.research-auth-password{position:relative}
.research-auth-password input{padding-right:68px}
.research-auth-reveal{position:absolute;top:6px;right:6px;height:36px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--soft);font:600 13px/1 "Plus Jakarta Sans",system-ui,sans-serif;cursor:pointer}
.research-auth-reveal:hover{background:var(--paper)}
.research-auth-hint{font-size:12px;color:var(--muted)}
.research-auth-fields .research-auth-btn{margin-top:4px}
.research-auth-link{display:block;margin:14px auto 0;padding:4px;border:0;background:none;color:var(--soft);font:500 13px/1.4 "Plus Jakarta Sans",system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.research-auth-link:hover{color:var(--ink)}
.research-auth-alt{margin:16px 0 0;padding-top:16px;border-top:1px solid var(--line);text-align:center;font-size:14px}
.research-auth-alt a{font-weight:600;text-underline-offset:3px}
/* The header already offers "Sign in" on wide screens; keep this one for thumbs on phones. */
@media(min-width:600px){.research-auth-alt--signup{display:none}}
.research-auth-alert{margin:0 0 16px;padding:12px 14px;border-radius:12px;background:#fef3f2;border:1px solid #fecdca;color:var(--danger);font-size:14px;line-height:1.45}
.research-auth-alert--ok{background:#ecfdf3;border-color:#abefc6;color:var(--ok)}
.research-auth-sent{text-align:center}
.research-auth-sent>p:first-child{margin:0 0 18px;font-size:15px;color:var(--soft);overflow-wrap:anywhere}
.research-auth-sent strong{color:var(--ink)}
.research-auth-sent .research-auth-hint{margin:8px 0 0}

/* Below the card */
.research-entry-terms{margin:16px 4px 0;font-size:13px;line-height:1.55;color:var(--muted);text-align:center;text-wrap:pretty}
.research-entry-points{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin:28px 0 0;padding:0;list-style:none;font-size:13px;font-weight:600;color:var(--soft)}
.research-entry-points li{display:inline-flex;align-items:center;gap:6px}
.research-entry-points svg{color:var(--ok)}

.research-auth-footer{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 20px;padding:20px 16px 28px;font-size:12px;color:var(--muted)}
.research-auth-footer a{text-decoration:none}
.research-auth-footer a:hover{text-decoration:underline}

@media(max-width:599px){
  .research-auth-header{height:60px}
  .research-auth-switch-row{font-size:0}
  .research-auth-switch{font-size:13px;margin:0}
  .research-entry{padding-top:12px}
  .research-entry h1{font-size:28px}
  .research-entry-lead{font-size:15px}
  .research-entry-form{margin-top:18px;padding:18px;border-radius:16px}
  .research-entry-eyebrow{margin-bottom:10px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){.research-auth *{transition:none!important}}
