* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; background: #f9f8f8; color: #1e1f21; }
.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-card { width: 100%; max-width: 400px; background: #fff; border-radius: 12px; padding: 32px; box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.auth-logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; margin-bottom: 24px; }
h1 { font-size: 22px; font-weight: 500; margin: 0 0 16px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; margin-bottom: 14px; }
input { height: 40px; padding: 0 12px; border: 1px solid #cfcbcb; border-radius: 6px; font: inherit; }
input:focus { outline: none; border-color: #4573d2; box-shadow: 0 0 0 3px #e8eefb; }
.btn-primary { display: inline-flex; justify-content: center; align-items: center; width: 100%; height: 40px; border: 0; border-radius: 6px; background: #4573d2; color: #fff; font: inherit; font-weight: 500; cursor: pointer; text-decoration: none; }
.btn-primary:hover { background: #3b63b8; }
.alert { padding: 10px 12px; border-radius: 6px; margin-bottom: 14px; font-size: 13px; }
.alert.error { background: #fbe6eb; color: #a11f3f; }
.alert.ok { background: #e5f4ed; color: #2f7a5a; }
.muted { color: #6d6e6f; font-size: 13px; }
.small { font-size: 12px; }
