/* Authentication is a separate, quiet entry point to the workspace. */
body.signin-page { background:#faf9f6; color:#252c39; }
body.signin-page > main { max-width:none; padding:0; margin:0; width:100%; }
body.signin-page > main > header,body.signin-page > main > footer { display:none; }
#signin.auth-layout { grid-template-columns:minmax(0,1fr) minmax(400px,1fr); gap:0; padding:0; min-height:100svh; align-items:stretch; }
#signin[hidden] { display:none; }
.auth-intro { background:#f0ece5; padding:48px clamp(36px,6vw,100px); display:flex; flex-direction:column; text-align:left; }
.auth-brand { display:inline-flex; align-self:flex-start; border-radius:6px; }
.auth-brand img { width:156px; height:40px; object-fit:contain; }
.auth-story { margin:auto 0; padding:80px 0; max-width:500px; }
.auth-intro .eyebrow { color:#72575a; font-size:10px; letter-spacing:1.8px; }
.auth-intro h1 { color:#4b2428; font-size:clamp(36px,3.8vw,60px); font-weight:400; line-height:1.18; letter-spacing:-2px; margin:24px 0; }
body.signin-page .auth-intro h1 em { color:#315bc4; font-style:normal; }
.auth-intro p { color:#59606b; max-width:400px; font-size:14px; line-height:1.9; }
.auth-example { display:flex; gap:15px; margin-top:40px; padding-top:26px; border-top:1px solid #d8d0c7; }
.auth-example-icon { color:#315bc4; background:#e2eaf4; width:44px; height:44px; display:grid; place-items:center; flex-shrink:0; border-radius:12px; }
.auth-example strong { display:block; font-size:12px; line-height:1.7; font-weight:600; }
.auth-example span { display:block; color:#626b78; font-size:11px; line-height:1.8; margin-top:5px; max-width:320px; }
.auth-intro-foot { font-size:11px; color:#72575a; padding-top:20px; }
#signin .auth-card { align-self:center; justify-self:center; max-width:420px; width:100%; padding:50px 24px; border:0; border-radius:0; box-shadow:none; background:transparent; margin:0; }
.auth-card > .eyebrow { color:#72575a; font-size:10px; letter-spacing:1.3px; }
.auth-card h2 { font-size:29px; font-weight:600; line-height:1.3; letter-spacing:-1px; color:#252c39; margin:16px 0 10px; }
.auth-card #authDescription { font-size:13px; line-height:1.8; margin-bottom:28px; color:#626b78; }
.auth-card form { gap:18px; }
.auth-card label { font-size:12px; color:#363d49; font-weight:600; margin-bottom:8px; }
.auth-card input { border:1px solid #c9cbd0; border-radius:10px; min-height:48px; padding:12px 14px; background:#fff; color:#252c39; font-size:15px; }
.auth-card .hint { color:#626b78; font-size:11px; line-height:1.75; }
.auth-card button,.auth-card a { -webkit-tap-highlight-color:transparent; }
.auth-card .primary { min-height:48px; padding:12px 20px; background:#315bc4; border:1px solid #315bc4; border-radius:10px; font-size:13px; font-weight:600; }
.auth-card .primary:hover { background:#264ca9; }
.auth-card .primary:disabled { opacity:.65; cursor:wait; }
.auth-card .subtle { font-size:12px; color:#315bc4; min-height:44px; }
.auth-card .auth-forgot { margin-top:-12px; margin-bottom:-10px; }
.auth-card .password-input button { right:7px; padding:0 12px; color:#59606b; }
.auth-card .password-input input { padding-right:78px; }
.auth-divider { margin:26px 0; color:#68707c; font-size:10px; }
.auth-divider::before,.auth-divider::after { background:#deddd9; }
.auth-card .sso-button { border:1px solid #c9cbd0; border-radius:10px; min-height:48px; padding:12px 16px; background:#fff; font-size:12px; color:#363d49; }
.auth-card .sso-button:hover { background:#edf2fc; border-color:#9aadd5; }
.auth-switch { font-size:11px; margin:18px 0 0; color:#626b78; }
.auth-card .auth-switch button { font-size:11px; text-underline-offset:3px; }
.auth-card #setupNotice { margin-top:26px; padding-top:20px; border-top:1px solid #deddd9; font-size:10px; line-height:1.8; }
.auth-legal { display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 0; font-size:10px; color:#68707c; }
.auth-legal a { color:inherit; text-decoration:underline; text-underline-offset:3px; display:inline-flex; align-items:center; min-height:32px; }
.auth-legal span { align-self:center; }
.auth-card #authMessage { background:#e8eef9; color:#264a91; padding:14px; font-size:12px; line-height:1.7; border:1px solid #c8d5ef; border-radius:10px; margin:0; }
.auth-card #authMessage[data-kind=error] { background:#fbefef; color:#8a3038; border-color:#e8c6cb; }
.auth-card :is(input,button,a):focus-visible { outline:3px solid #315bc4; outline-offset:3px; }
.auth-card #authTitle:focus { outline:none; }
@media (max-width:850px) {
 #signin.auth-layout { grid-template-columns:1fr; }
 .auth-intro { padding:24px; background:transparent; }
 .auth-brand img { width:135px; height:34px; }
 .auth-story,.auth-intro-foot { display:none; }
 #signin .auth-card { padding:24px 28px 40px; max-width:440px; align-self:start; }
}
@media (prefers-reduced-motion:reduce) { .auth-card * { transition:none!important; } }
