* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: #f3f5f8; color: #1f2933; }
.wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 24px; }
.card { background: #fff; border: 1px solid #e3e7ee; border-radius: 12px; padding: 38px 34px; width: 100%; max-width: 400px; box-shadow: 0 1px 3px rgba(16,24,40,.07); }
.center { text-align: center; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; margin-bottom: 22px; }
.center .brand { justify-content: center; }
h1 { font-size: 22px; margin-bottom: 6px; }
.sub { font-size: 14px; color: #5c6773; margin-bottom: 22px; }
label { display: block; font-size: 13px; color: #37414b; margin-bottom: 6px; }
input { width: 100%; padding: 10px 12px; border: 1px solid #cdd4de; border-radius: 8px; font-size: 15px; margin-bottom: 16px; }
input:focus { outline: 2px solid #1e5fd0; border-color: #1e5fd0; }
button { width: 100%; padding: 11px; background: #1e5fd0; color: #fff; border: 0; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; }
button:hover { background: #1749b8; }
.alert { background: #fdecec; border: 1px solid #f3b8b8; color: #8a1f1f; padding: 10px 12px; border-radius: 8px; font-size: 14px; margin-bottom: 18px; }
.hint { font-size: 13px; color: #7b8590; margin-top: 22px; }
.link { color: #1e5fd0; font-size: 14px; text-decoration: none; }
.link:hover { text-decoration: underline; }
footer { font-size: 12px; color: #98a1ab; }
