:root {
    --ink: #203a32;
    --muted: #68756f;
    --accent: #9c542f;
    --forest: #2f5f50;
    --paper: #fffaf3;
    --line: #ded1bf;
}

* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; color: var(--ink); background: radial-gradient(circle at 20% 10%, rgba(156, 84, 47, .12), transparent 28rem), linear-gradient(145deg, #f2eadf, #fbf7f0 55%, #e4eee9); font-family: Georgia, "Times New Roman", serif; }
.auth-shell { width: min(100% - 2rem, 620px); margin: 0 auto; padding: 3rem 0; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; margin-bottom: 1.4rem; }
.brand > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: var(--forest); font-size: 1.5rem; }
.brand strong { letter-spacing: .12em; }
.brand small { display: block; color: var(--muted); font-size: .72rem; letter-spacing: .04em; }
.auth-card { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 250, 243, .95); box-shadow: 0 24px 70px rgba(32, 58, 50, .13); }
.eyebrow { margin: 0 0 .5rem; color: var(--accent); font: 700 .78rem/1.2 Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2rem, 7vw, 3.2rem); line-height: 1; }
.intro { color: var(--muted); font: 1rem/1.6 Arial, sans-serif; }
form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: .4rem; font: 700 .9rem/1.3 Arial, sans-serif; }
label small { color: var(--muted); font-weight: 400; }
input { width: 100%; padding: .85rem 1rem; border: 1px solid #b9c3bd; border-radius: 10px; background: #fff; color: var(--ink); font: 1rem Arial, sans-serif; }
input:focus { outline: 3px solid rgba(47, 95, 80, .18); border-color: var(--forest); }
button { display: flex; justify-content: space-between; border: 0; border-radius: 10px; padding: .95rem 1.1rem; background: var(--forest); color: #fff; cursor: pointer; font: 700 1rem Arial, sans-serif; }
button:hover { background: #244c40; }
button:disabled { cursor: not-allowed; opacity: .5; }
.captcha-wrap { max-width: 100%; overflow: hidden; }
.switch { margin: 1.5rem 0 0; color: var(--muted); text-align: center; font: .92rem Arial, sans-serif; }
.switch--secondary { margin-top: .65rem; font-size: .82rem; }
a { color: var(--accent); }
.notice { margin: 1rem 0; padding: .85rem 1rem; border-radius: 9px; font: .9rem/1.45 Arial, sans-serif; }
.notice--success { color: #174735; background: #dcefe5; }
.notice--error { color: #6e2925; background: #f6dfdc; }
.notice--info { color: #29465c; background: #e0edf5; }
.notice--local { display: grid; gap: .3rem; color: #594219; border: 1px solid #e2c98e; background: #fff4d7; }
.notice--local span { font-size: .82rem; }
.notice--local a { width: max-content; margin-top: .25rem; font-weight: 800; }
@media (max-width: 540px) { .auth-shell { padding-top: 1.5rem; } .form-row { grid-template-columns: 1fr; } }
