@import url("surveynest/tokens.css");
.pro-auth.pro-auth-active { --text-strong:var(--pro-ink); --text-body:var(--pro-muted); --text-muted:var(--pro-muted); --accent-hover:#174746; --ok-quiet:#e2f1e9; --ok:#1f5c5b; min-height:100vh; height:auto; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; background:var(--pro-card); color:var(--pro-ink); font-family:var(--pro-text); }
.pro-auth-panel { display:none; }
.pro-auth-active .pro-auth-panel { display:flex; position:relative; overflow:hidden; min-height:100vh; box-sizing:border-box; flex-direction:column; justify-content:space-between; padding:56px 64px; background:var(--pro-deep-teal); color:var(--pro-card); }
.pro-auth-panel::before { content:""; position:absolute; width:370px; height:430px; right:-5px; top:18%; background:url("pro-auth-hex.svg") center/contain no-repeat; }
.pro-auth-panel img { width:244px; max-width:100%; position:relative; }
.pro-auth-message { max-width:520px; position:relative; }
.pro-auth-message h2 { margin:28px 0 20px; font:700 52px/1.05 var(--pro-display); }
.pro-auth-message p { max-width:430px; margin:0; color:#b9d3cd; font:16px/1.5 var(--pro-text); }
.pro-auth-rule { width:180px; border-top:2px dashed var(--pro-signal); }
.pro-auth-active > .card, .pro-auth-active > main { width:min(400px,calc(100% - 48px)); max-width:400px; margin:auto; padding:40px 0; background:none; border:0; border-radius:0; box-shadow:none; box-sizing:border-box; }
.pro-auth-active > .card > .brand, .pro-auth-active > .workspace-topbar { display:none; }
.pro-auth-active .login.card { max-width:none; margin:0; padding:0; border:0; border-radius:0; background:none; box-shadow:none; }
.pro-auth-active .login .eyebrow { display:none; }
.pro-auth-active .login > div > p:first-child:not(.msg) { margin:0 0 20px; color:var(--pro-muted); font:16px/1.5 var(--pro-text); }
.pro-auth-active .login label { color:var(--pro-ink); font:600 12px var(--pro-text); }
.pro-auth-active .login form { gap:16px; }
.pro-auth-active .login-help, .pro-auth-active .hint { color:var(--pro-muted); }
.pro-auth-active .login-help a { color:var(--pro-teal); }
.pro-auth-active .login button.primary { width:100%; }
.pro-auth-active main.shared { width:min(400px,calc(100% - 48px)); max-width:400px; margin:auto; padding:40px 0; }
.pro-auth-active .shared > .eyebrow { display:none; }
.pro-auth-active .shared > p:not(.eyebrow) { color:var(--pro-muted); font:16px/1.5 var(--pro-text); }
.pro-auth-active .shared form.card { margin:20px 0 0; padding:0; border:0; border-radius:0; background:none; }
.pro-auth-active .shared label { color:var(--pro-ink); font:600 12px var(--pro-text); }
.pro-auth-active .shared button.primary { width:100%; }
.pro-auth-active h1 { margin:0 0 22px; color:var(--pro-ink); font:700 34px/1.3 var(--pro-display); letter-spacing:0; }
.pro-auth-active .lead, .pro-auth-active .sent-to { color:var(--pro-muted); font:16px/1.5 var(--pro-text); }
.pro-auth-active label.fl { color:var(--pro-ink); font:600 12px var(--pro-text); letter-spacing:0; text-transform:none; }
.pro-auth-active input:not([type="checkbox"]) { height:48px; border:1px solid var(--pro-line); border-radius:2px; background:#fff; color:var(--pro-ink); font:16px var(--pro-text); }
.pro-auth-active input:focus-visible, .pro-auth-active button:focus-visible, .pro-auth-active a:focus-visible { outline:2px solid var(--pro-teal); outline-offset:2px; }
.pro-auth-active .btn, .pro-auth-active button.primary, .pro-auth-active a.button.primary { min-height:50px; border:1px solid var(--pro-teal); border-radius:var(--pro-pill); background:var(--pro-teal); color:#fff; font:600 15px var(--pro-text); }
.pro-auth-active .btn:hover, .pro-auth-active button.primary:hover:not(:disabled), .pro-auth-active a.button.primary:hover { background:#174746; border-color:#174746; color:#fff; }
.pro-auth-active .btn:disabled, .pro-auth-active button.primary:disabled { opacity:1; cursor:default; }
.pro-auth-active .help a, .pro-auth-active .linkbtn { color:var(--pro-teal); }
.pro-auth-active .help a:hover, .pro-auth-active .linkbtn:hover { color:var(--pro-ink); }
.pro-auth-active .help { border:0; color:var(--pro-muted); }
.pro-auth-active .msg { border-radius:2px; }
.pro-auth-active .msg.err { color:#812830; background:#f6e8e9; }
@media (max-width:700px) {
  .pro-auth.pro-auth-active { display:block; }
  .pro-auth-active .pro-auth-panel { min-height:0; padding:28px 24px; }
  .pro-auth-panel::before, .pro-auth-message { display:none; }
  .pro-auth-panel img { width:190px; }
  .pro-auth-active > .card, .pro-auth-active > main { margin:0 auto; padding:48px 0; }
  .pro-auth-active main.shared { margin:0 auto; padding:48px 0; }
}
/* #744 follow-up: the auth pages stay light whatever theme is saved; keep typed text and hints readable in dark theme */
.pro-auth.pro-auth-active { color-scheme: light; }
:root[data-theme] .pro-auth-active input:not([type="checkbox"]) { background:#fff; color:var(--pro-ink); -webkit-text-fill-color:var(--pro-ink); caret-color:var(--pro-ink); }
:root[data-theme] .pro-auth-active input::placeholder { color:var(--pro-muted); -webkit-text-fill-color:var(--pro-muted); opacity:1; }
