:root {
    --bg: #f7f8fa;
    --card: #ffffff;
    --text: #111111;
    --muted: #6b7280;
    --line: #e5e7eb;
    --blue: #2563eb;
    --blue-hover: #1d4ed8;
    --danger: #b91c1c;
    --danger-bg: #fef2f2;
    --success: #166534;
    --success-bg: #f0fdf4;
}

* { box-sizing: border-box; }
html { font-family: Arial, Helvetica, sans-serif; background: var(--bg); color: var(--text); }
body { margin: 0; min-height: 100vh; }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: min(100%, 470px); background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: 0 16px 50px rgba(17,24,39,.08); }
.brand { display: inline-block; color: var(--blue); font-size: 22px; font-weight: 800; text-decoration: none; margin-bottom: 22px; }
h1 { margin: 0 0 10px; font-size: 28px; line-height: 1.15; }
p { line-height: 1.55; }
.muted { color: var(--muted); }
.form-row { margin: 16px 0; }
label { display: block; font-weight: 700; margin-bottom: 7px; }
input[type="text"], input[type="email"], input[type="password"] { width: 100%; min-height: 46px; border: 1px solid #cfd4dc; border-radius: 10px; padding: 10px 12px; font: inherit; background: #fff; }
input:focus { outline: 3px solid rgba(37,99,235,.14); border-color: var(--blue); }
button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 0; border-radius: 10px; padding: 10px 18px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; background: var(--blue); color: white; }
button:hover, .button:hover { background: var(--blue-hover); }
.button.secondary { background: #eef2ff; color: #1e40af; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; }
a { color: var(--blue); }
.notice { margin: 14px 0; border-radius: 10px; padding: 12px 14px; line-height: 1.45; }
.notice.error { background: var(--danger-bg); color: var(--danger); border: 1px solid #fecaca; }
.notice.success { background: var(--success-bg); color: var(--success); border: 1px solid #bbf7d0; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { margin-top: 4px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.small { font-size: 13px; color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
@media (max-width: 520px) { .auth-shell { padding: 12px; } .auth-card { padding: 22px; border-radius: 14px; } h1 { font-size: 24px; } }
