.auth-page { min-height:100vh; min-height:100svh; display:grid; grid-template-rows:1fr auto; align-items:center;
  justify-items:center; padding:clamp(24px,5vh,64px) 20px 18px; background:#eef1f6; color:#17243d; }
.auth-layout { width:min(100%,990px); display:grid; grid-template-columns: .93fr 1.07fr; background:white;
  border:1px solid #dce2eb; border-radius:22px; overflow:hidden; box-shadow:0 20px 65px #1c2d5015; }
.auth-brand { min-height:520px; position:relative; isolation:isolate; overflow:hidden; display:flex; flex-direction:column;
  justify-content:space-between; padding:clamp(30px,4vw,57px); color:white; background:linear-gradient(150deg,#16245d 0%,#232576 59%,#151d53 100%); }
.auth-brand::before,.auth-brand::after { content:""; pointer-events:none; position:absolute; z-index:-1; right:-4%; top:14%; width:85%; height:63%;
  background:linear-gradient(135deg,#7485d165,#7485d100 80%); clip-path:polygon(100% 0,100% 41%,2% 93%); }
.auth-brand::after { top:29%; right:-38%; opacity:.7; }
.auth-brand img { width:clamp(115px,10vw,155px); filter:brightness(0) invert(1); }
.auth-brand-copy { max-width:19rem; }
.auth-brand-copy strong { display:block; font-size:clamp(2.15rem,3.5vw,3.05rem); line-height:1.04; letter-spacing:-.05em; }
.auth-brand-copy p { color:#e1e7ff; margin:.9rem 0 0; line-height:1.55; font-size:1rem; }
.auth-pane { min-width:0; display:flex; flex-direction:column; padding:clamp(25px,4vw,58px); }
.auth-head { display:flex; align-items:center; justify-content:space-between; gap:.6rem; }
.auth-content { width:100%; max-width:23rem; margin:auto; padding:2.2rem 0 1.2rem; }
.auth-content h1 { font-size:clamp(2.1rem,3.3vw,2.75rem); line-height:1.12; letter-spacing:-.05em; margin:0 0 1.35rem; }
.auth-content form { gap:.4rem; }
.auth-content .field:not(:first-child) { margin-top:.6rem; }
.auth-content input { min-height:50px; border-color:#b6c2d3; padding:.65rem .85rem; }
.auth-password { position:relative; }
.auth-password input { padding-right:6.5rem; }
.auth-password button { position:absolute; inset-inline-end:6px; top:50%; transform:translateY(-50%); color:#394588; background:#f1f3fa;
  border:0; border-radius:5px; padding:.4rem .65rem; min-height:36px; font-size:.83rem; font-weight:650; }
.auth-content .cta { width:100%; min-height:50px; justify-content:space-between; padding:.65rem 1rem; margin-top:.85rem; }
.auth-roles { margin-top:1.1rem; padding-top:.8rem; border-top:1px solid var(--line); }
.auth-roles .actions { margin-top:.6rem; }
.auth-content .current-account { margin:.8rem 0; font-size:.9rem; }
.auth-footer { width:min(100%,990px); margin:.9rem auto 0; text-align:center; color:#58657b; font-size:.82rem; }
@media(max-width:730px) {
  .auth-page { display:flex; flex-direction:column; align-items:stretch; padding:0; background:#fff; }
  .auth-layout { display:block; border:none; box-shadow:none; border-radius:0; }
  .auth-brand { min-height:0; flex-direction:row; align-items:center; gap:1rem; padding:18px max(20px,6vw); }
  .auth-brand img { width:88px; }
  .auth-brand-copy strong { font-size:1.15rem; text-align:end; letter-spacing:-.02em; }
  .auth-brand-copy p { display:none; }
  .auth-pane { max-width:29rem; margin:auto; padding:1.15rem 1.35rem; }
  .auth-content { max-width:100%; padding:clamp(1.35rem,5vh,2.75rem) 0 0; }
  .auth-footer { margin-top:auto; padding:.85rem 1rem; }
}
