* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body.auth-page { min-height: 100vh; background: #fef0d8; color: #292021; font-family: "Google Sans Flex", sans-serif; }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.05fr); padding: 20px; gap: 20px; }
.auth-intro { min-height: calc(100vh - 40px); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 5vw, 72px); border-radius: 8px; background: #292021; color: #fef0d8; }
.auth-brand { display: inline-flex; width: fit-content; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-size: 16px; font-weight: 600; }
.auth-brand img { width: 36px; height: 40px; object-fit: contain; }
.auth-intro-copy { max-width: 560px; padding: 56px 0; }
.auth-kicker { margin: 0 0 18px; color: #8c5148; font-size: 12px; line-height: 1.4; font-weight: 600; text-transform: uppercase; }
.auth-intro .auth-kicker { color: #e7b48b; }
.auth-intro h1 { margin: 0; font-size: clamp(42px, 5.5vw, 76px); line-height: 1.04; font-weight: 400; }
.auth-intro-copy > p:last-child { max-width: 340px; margin: 24px 0 0; color: rgb(254 240 216 / 72%); font-size: 16px; line-height: 1.6; }
.auth-home-link { display: inline-flex; width: fit-content; gap: 12px; align-items: center; color: #fef0d8; font-size: 14px; text-decoration: none; }
.auth-home-link span { font-size: 18px; transition: transform 180ms ease; }
.auth-home-link:hover span { transform: translateX(4px); }
.auth-form-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px clamp(24px, 7vw, 104px); }
.auth-form-wrap { width: min(100%, 420px); }
.auth-form-panel h2 { margin: 0; font-size: 40px; line-height: 1.15; font-weight: 500; }
.auth-form-intro { margin: 14px 0 36px; color: #6c625a; font-size: 15px; line-height: 1.6; }
.auth-form { display: grid; gap: 22px; }
.auth-field { display: grid; gap: 9px; }
.auth-field label { font-size: 14px; font-weight: 500; }
.auth-field input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #b8a995; border-radius: 4px; outline: none; background: rgb(255 255 255 / 42%); color: #292021; font: 16px "Google Sans Flex", sans-serif; }
.auth-submit { min-height: 52px; margin-top: 8px; padding: 0 18px; border: 0; border-radius: 4px; display: flex; align-items: center; justify-content: space-between; background: #292021; color: #fef0d8; cursor: pointer; font: 500 15px "Google Sans Flex", sans-serif; transition: background 180ms ease; }
.auth-submit:hover { background: #513735; }
.auth-submit span { font-size: 19px; }
.auth-error-summary, .auth-field-error { color: #9b352d; font-size: 13px; line-height: 1.5; }
.auth-error-summary ul, .auth-field-error ul { margin: 0; padding-left: 18px; }
.auth-access-note { width: min(100%, 420px); margin: 38px 0 0; padding-top: 18px; border-top: 1px solid #d7c9b5; color: #766b60; font-size: 13px; line-height: 1.5; }
@media (max-width: 760px) {
 .auth-layout { grid-template-columns: 1fr; padding: 12px; gap: 0; }
 .auth-intro { min-height: 300px; padding: 24px; border-radius: 6px 6px 0 0; }
 .auth-intro-copy { padding: 46px 0 28px; }
 .auth-intro h1 { font-size: 42px; }
 .auth-intro-copy > p:last-child, .auth-home-link { display: none; }
 .auth-form-panel { padding: 44px 24px 34px; align-items: stretch; }
 .auth-form-wrap, .auth-access-note { width: 100%; max-width: 480px; margin-left: auto; margin-right: auto; }
 .auth-form-panel h2 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; } }