.auth-page, .auth-standalone { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #18312e; background: #fbfaf5; }
.auth-page { max-width: 1100px; margin: 0 auto; padding: clamp(2rem, 6vw, 5.5rem) 1.5rem; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.auth-intro { min-width: 0; }
.auth-eyebrow { color: #9d4c39; text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 750; margin: 0 0 1rem; }
.auth-intro h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.16; font-weight: 700; letter-spacing: -.045em; margin: 0 0 1.25rem; }
.auth-intro p { max-width: 360px; color: #405b57; line-height: 1.8; font-size: 1rem; }
.auth-landscape { position: relative; height: 190px; margin-top: 2.5rem; border-radius: 22px; background: #e5eee6; overflow: hidden; isolation: isolate; }
.auth-sun { position: absolute; width: 65px; height: 65px; border-radius: 50%; background: #eea84b; top: 25px; right: 60px; }
.auth-hill { position: absolute; width: 135%; height: 190px; border-radius: 50%; }
.auth-hill-back { background: #92b5a2; top: 90px; left: 25%; transform: rotate(-18deg); }
.auth-hill-front { background: #1d6158; top: 120px; left: -40%; transform: rotate(12deg); }
.auth-landscape-caption { position: absolute; bottom: 22px; left: 24px; color: #fff; font-size: .8rem; font-weight: 600; }
.auth-card { min-width: 0; background: #fff; padding: clamp(1.5rem, 3.5vw, 2.75rem); border: 1px solid #e0e7e2; border-radius: 24px; box-shadow: 0 14px 55px #123d380a; }
.auth-mark { display: grid; place-items: center; width: 44px; height: 44px; background: #123d38; border-radius: 14px; color: #fff; font-size: 1.4rem; font-weight: 700; margin-bottom: 1.8rem; }
.auth-card .auth-eyebrow { margin-bottom: .6rem; }
.auth-card h1 { font-size: clamp(1.6rem, 2.5vw, 2rem); line-height: 1.25; letter-spacing: -.035em; font-weight: 700; margin: 0 0 .7rem; }
.auth-description { color: #405b57; line-height: 1.65; font-size: .95rem; margin-bottom: 1.9rem; }
.auth-field { margin-bottom: 1.15rem; }
.auth-field label { display: block; font-size: .88rem; font-weight: 650; margin-bottom: .5rem; }
.auth-input { box-sizing: border-box; width: 100%; border: 1px solid #96aaa1; border-radius: 10px; background: #fff; color: #18312e; font: inherit; font-size: 1rem; padding: .85rem 1rem; min-height: 50px; }
.auth-input:focus { border-color: #1d6158; outline: 2px solid #1d6158; outline-offset: 2px; box-shadow: none; }
.auth-field small { display: block; color: #526963; font-size: .76rem; margin-top: .45rem; }
.auth-field .validation-message { color: #a52828; font-size: .8rem; margin-top: .35rem; }
.auth-forgot { display: block; width: fit-content; margin: -.1rem 0 1.5rem auto; color: #1d6158; font-size: .84rem; text-underline-offset: 3px; }
.auth-submit { box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: .8rem; width: 100%; min-height: 50px; padding: .85rem 1.2rem; background: #123d38; color: #fff; border: 0; border-radius: 10px; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.auth-submit:hover { color: #fff; background: #1d6158; }
.auth-submit span { font-size: 1.2rem; }
.auth-back { display: block; width: fit-content; margin: 1.6rem auto 0; font-size: .82rem; color: #526963; text-decoration: none; }
.auth-back:hover, .auth-forgot:hover { text-decoration: underline; color: #123d38; }
.auth-page a:focus-visible, .auth-page button:focus-visible, .auth-standalone a:focus-visible { outline: 3px solid #1d6158; outline-offset: 4px; }
.auth-error { background: #fff2ef; border: 1px solid #e7b5aa; color: #8e3025; border-radius: 10px; font-size: .88rem; line-height: 1.6; padding: .9rem 1rem; margin-bottom: 1.3rem; }
.auth-standalone { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 24px; box-sizing: border-box; }
.auth-standalone .auth-card { max-width: 440px; }
.auth-standalone p { line-height: 1.7; }
.auth-mfa-page { display: block; max-width: 640px; padding: 2rem 1rem; }
.auth-mfa-page .auth-description { margin-bottom: 1.3rem; }
.auth-steps { padding-left: 1.4rem; line-height: 1.7; margin-bottom: 1.5rem; }
.auth-steps li { padding-left: .3rem; margin-bottom: 1rem; }
.auth-secret { display: block; padding: .75rem; background: #f0f5f1; overflow-wrap: anywhere; color: #18312e; user-select: all; }
.auth-qr { display: block; width: 256px; max-width: 100%; height: auto; margin: 1rem auto; background: #fff; image-rendering: pixelated; }
.auth-recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; padding: 1rem 0 1.5rem; }
.auth-recovery-codes code { color: #18312e; font-size: 1rem; background: #f0f5f1; padding: .65rem; border-radius: 6px; text-align: center; }
.auth-help { color: #526963; font-size: .85rem; line-height: 1.6; margin-top: 1rem; }
@media (max-width: 400px) { .auth-recovery-codes { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .auth-page { display: block; max-width: 490px; padding: 1.8rem 1rem 2.5rem; } .auth-intro { display: none; } .auth-card { padding: 1.75rem 1.4rem; border-radius: 20px; } }
