/* Entrance pages use one viewport instead of the workspace shell. */
body.auth-body,body.welcome-body{margin:0;min-height:100dvh;overflow:hidden}
body.auth-body #main-content,body.welcome-body #main-content{height:100dvh;min-height:0}

.welcome-body{background:#071729;color:#fff}
.welcome-screen{position:relative;display:block;width:100%;height:100dvh;min-height:0;overflow:hidden;background:radial-gradient(circle at 50% 37%,#183b69 0%,#0a2342 35%,#071729 75%)}
.welcome-logo{position:absolute;top:18px;left:clamp(18px,3vw,48px);z-index:4;display:grid;place-items:center;width:45px;height:45px}
.welcome-logo img{width:100%;height:100%;object-fit:contain}
.welcome-center{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;justify-content:center;gap:clamp(22px,4vw,72px);height:100%;width:100%;max-width:1180px;margin:auto;padding:64px clamp(22px,4vw,56px) 28px;text-align:left}
.welcome-art{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:min(73dvh,690px);min-width:0;min-height:0;overflow:hidden;background:transparent}
.welcome-art::before{content:none}
.welcome-art .parrot-image,.welcome-art .parrot-video{display:block;width:100%;height:100%;object-fit:contain;object-position:center;mix-blend-mode:lighten;filter:drop-shadow(0 20px 34px rgba(0,0,0,.2))}
.welcome-art .parrot-image{width:auto;max-width:100%;max-height:100%;flex:none}
.welcome-art .parrot-video{position:absolute;inset:0}
.welcome-art .parrot-image[hidden]{display:none}
.welcome-copy{display:block;max-width:510px;padding:0;margin:0}
.welcome-kicker{display:block;margin:0 0 16px;color:#8fc4ff;font-size:11px;font-weight:800;letter-spacing:.16em}
.welcome-copy h1{margin:0;font-size:clamp(28px,3.2vw,45px);font-weight:750;line-height:1.08;letter-spacing:-.045em;color:#fff}
.welcome-copy h1 em{font-style:normal;color:#a9cfff}
.welcome-subtitle{margin:9px 0 18px;font-size:clamp(14px,1.5vw,18px);font-weight:500;color:#d7e6f9}
.welcome-description{max-width:420px;margin:0 0 23px;color:#aebfda;font-size:14px;line-height:1.6}
.welcome-actions{display:flex;justify-content:flex-start;align-items:center;gap:10px;flex-wrap:wrap}
.welcome-actions .btn{min-width:152px;padding:.66rem 1rem;font-size:13px}
.welcome-actions .btn-orange{min-width:224px}
.welcome-actions .btn-outline-light{border-color:#7891ae;color:#e9f3ff;background:transparent}
.welcome-actions .btn-outline-light:hover{background:#fff;color:#071b33}

.auth-body{background:
  radial-gradient(circle at 18% 38%,rgba(31,67,217,.22),transparent 38%),
  radial-gradient(circle at 87% 14%,rgba(179,32,120,.18),transparent 34%),
  linear-gradient(110deg,rgba(5,20,53,.24),rgba(16,26,70,.38)),
  url('../research/images/login-research-background.png') center center/cover no-repeat #0a1b3b;
  color:#fff}
.auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,480px);align-items:center;gap:clamp(25px,5vw,90px);width:min(100%,1120px);height:100dvh;min-height:0;margin:auto;padding:clamp(14px,3vh,36px) clamp(20px,4vw,56px)}
.auth-illustration{display:flex;align-items:center;justify-content:center;min-width:0;height:min(76dvh,710px)}
.auth-illustration img{display:block;max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 22px 36px rgba(0,0,0,.2))}
.auth-form-logo{display:block;width:64px;height:64px;object-fit:contain;margin:0 auto 18px}
.auth-login .auth-card h1{margin:0;font-size:clamp(28px,3vw,38px);line-height:1.1;letter-spacing:-.045em;color:#172033}
.auth-login .auth-card-intro{margin:9px 0 25px;font-size:14px;line-height:1.5}
.auth-verification .auth-card h1{margin:0;font-size:clamp(26px,3vw,34px);color:#172033}
.auth-verification .auth-card-intro{margin:10px 0 18px;font-size:13px;line-height:1.6}
.auth-email-note{padding:10px 12px;border-radius:9px;background:#eef5ff;color:#275487;font-size:12px}
.auth-message{min-width:0}
.auth-message .eyebrow{color:#83b8ff}
.auth-message h1{max-width:520px;margin:10px 0 12px;font-size:clamp(33px,4.2vw,58px);line-height:1.06;letter-spacing:-.05em}
.auth-message p{max-width:390px;margin:0;color:#b9cbe0;font-size:15px;line-height:1.55}
.auth-card{width:100%;max-height:calc(100dvh - 28px);overflow:auto;padding:clamp(20px,2.5vw,32px);background:#fff;color:#172033;border:1px solid #eef1f6;border-radius:18px;box-shadow:0 25px 70px rgba(0,0,0,.21)}
.auth-card h2{margin:0;font-size:23px;line-height:1.15}
.auth-card-intro{margin:4px 0 19px;color:#78879a;font-size:12px}
.auth-field{margin-bottom:12px}
.auth-field .form-label{display:block;margin-bottom:4px;font-size:11px;font-weight:700}
.auth-field .form-control,.auth-field .form-select{min-height:39px;padding:.52rem .7rem;font-size:13px}
.auth-field textarea.form-control{height:62px;min-height:62px;resize:none}
.auth-field .invalid-feedback{font-size:11px;line-height:1.2;margin-top:3px}
.auth-submit{margin-top:3px;min-height:40px}
.auth-foot{margin:15px 0 0;text-align:center;color:#7c8a9c;font-size:11px}
.auth-foot a{font-weight:700}
.auth-card-head{display:flex;align-items:start;justify-content:space-between;gap:10px}
.auth-card-head .auth-card-intro{margin-bottom:11px}
.auth-step-count{padding:3px 7px;border-radius:5px;background:#edf4ff;color:#0d63d4;font-size:10px;font-weight:800;white-space:nowrap}
.signup-progress{height:4px;margin:0 0 15px;border-radius:5px;background:#e8edf5;overflow:hidden}
.signup-progress span{display:block;width:50%;height:100%;border-radius:5px;background:#0d6efd;transition:width .2s ease}
.signup-progress span.complete{width:100%}
.signup-step[hidden]{display:none!important}
.signup-actions{display:flex;gap:9px;margin-top:2px}
.signup-actions .btn{min-height:40px}

@media(max-width:767px){
  body.auth-body{overflow-y:auto}
  body.auth-body #main-content{height:auto;min-height:100dvh}
  .auth-layout{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:14px 16px}
  .auth-login,.auth-signup,.auth-verification{height:auto;min-height:100dvh;justify-content:flex-start}
  .auth-illustration{height:min(31dvh,250px);width:min(100%,340px);flex:none}
  .auth-login .auth-card,.auth-signup .auth-card,.auth-verification .auth-card{max-height:none}
  .auth-message{width:min(100%,480px);text-align:center}
  .auth-message h1{max-width:none;margin:5px 0 0;font-size:clamp(23px,5.2vw,31px)}
  .auth-message p{display:none}
  .auth-card{width:min(100%,480px);padding:20px 22px;max-height:calc(100dvh - 98px)}
  .welcome-center{display:flex;flex-direction:column;gap:clamp(8px,1.5vh,18px);padding:56px 18px 18px;text-align:center}
  .welcome-art{width:min(85vw,380px);height:min(47dvh,430px)}
  .welcome-copy{width:100%;margin:0 auto}
  .welcome-copy h1{font-size:clamp(26px,6vw,36px)}
  .welcome-subtitle{margin:8px 0 15px}
  .welcome-description{margin:0 auto 15px;font-size:12px}
  .welcome-kicker{margin-bottom:8px}
  .welcome-actions{justify-content:center}
}
@media(max-width:480px){
  .auth-illustration{height:min(28dvh,185px)}
  .auth-form-logo{width:52px;height:52px;margin-bottom:14px}
  .auth-login .auth-card h1{font-size:28px}
  .auth-login .auth-card-intro{margin:7px 0 18px;font-size:13px}
  .auth-card{padding:18px 18px;border-radius:14px}
  .auth-card h2{font-size:20px}
  .auth-card-intro{margin-bottom:14px}
  .auth-field{margin-bottom:9px}
  .auth-field .form-control,.auth-field .form-select{min-height:37px}
  .auth-foot{margin-top:11px}
  .welcome-logo{width:37px;height:37px;top:10px;left:14px}
  .welcome-center{padding:47px 14px 18px;gap:8px}
  .welcome-art{width:min(90vw,345px);height:min(44dvh,370px)}
  .welcome-copy h1{font-size:clamp(25px,6.3vw,33px)}
  .welcome-subtitle{font-size:13px;margin:7px 0 13px}
  .welcome-description{margin-bottom:11px}
  .welcome-actions{gap:7px}
  .welcome-actions .btn{min-width:0;padding:.55rem .8rem;font-size:12px}
}
@media(max-height:620px){
  .auth-message{display:none}
  .auth-card{max-height:calc(100dvh - 24px)}
  .welcome-art{height:min(43dvh,300px)}
  .welcome-center{gap:4px;padding-top:49px;padding-bottom:10px}
  .welcome-copy h1{font-size:clamp(23px,3vw,33px)}
  .welcome-subtitle{margin:5px 0 10px}
}
@media(max-height:500px){.auth-card{overflow:auto}.welcome-art{height:35dvh}.welcome-actions .btn{padding:.43rem .7rem}}
@media(prefers-reduced-motion:reduce){.signup-progress span{transition:none}}
