:root { color-scheme: light; }
* { box-sizing: border-box; letter-spacing: 0; }
body.auth-page { margin: 0; min-height: 100dvh; background: #f7f8fa; color: #24272c; display: grid; place-items: center; padding: 48px 24px; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.auth-main { width: 100%; max-width: 360px; }
.auth-brand { display: flex; align-items: center; gap: 12px; }
.auth-brand h1 { font-size: 21px; line-height: 1.35; font-weight: 650; margin: 0; overflow-wrap: anywhere; }
.auth-mark { display: grid; place-items: center; flex: 0 0 36px; height: 36px; background: #196c59; color: #fff; border-radius: 6px; font-size: 24px; font-weight: 650; }
.auth-area { color: #626873; font-size: 15px; margin: 12px 0 38px 48px; }
.auth-main .form-label { font-size: 14px; font-weight: 550; margin-bottom: 8px; }
.auth-main .form-control { min-height: 48px; border: 1px solid #bcc2cb; border-radius: 6px; background: #fff; font-size: 16px; padding: 10px 12px; }
.auth-main .form-control:focus { border-color: #196c59; box-shadow: 0 0 0 3px #196c5924; }
.auth-main .btn-primary { width: 100%; min-height: 48px; margin-top: 8px; border-radius: 6px; background: #196c59; border-color: #196c59; font-size: 15px; font-weight: 600; }
.auth-main .btn-primary:hover { background: #125443; border-color: #125443; }
.auth-main a { color: #3f5269; text-underline-offset: 4px; }
.auth-help { text-align: center; font-size: 14px; margin-top: 24px; }
.auth-footer { margin-top: 64px; text-align: center; font-size: 12px; color: #737981; }
.auth-main .alert { font-size: 14px; border-radius: 6px; overflow-wrap: anywhere; }
.auth-pos .form-control, .auth-pos .btn-primary { min-height: 56px; }
:focus-visible { outline: 3px solid #597cac; outline-offset: 3px; }
@media (max-width: 400px) { body.auth-page { padding: 32px 20px; } .auth-brand h1 { font-size: 19px; } }
@media (max-height: 620px) { body.auth-page { place-items: start center; padding-top: 28px; } .auth-footer { margin-top: 32px; } }
