*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:#1b2430;background:#eef3f9;display:flex;align-items:center;justify-content:center;min-height:100vh;padding:24px}
body::before{content:"";position:fixed;inset:0 0 auto 0;height:42vh;background:#0b3f73;z-index:-1}
.box{width:100%;max-width:400px;background:#fff;border-radius:14px;padding:32px 30px 24px;box-shadow:0 18px 50px rgba(8,48,88,.18)}
.brand{display:flex;align-items:center;gap:10px;font-size:18px;letter-spacing:.02em;color:#0b3f73;margin-bottom:22px}
.brand b{color:#3f8a4c}
.mark{width:34px;height:34px;border-radius:9px;background:#0b3f73;color:#fff;display:grid;place-items:center;font-weight:700}
h1{font-size:22px;margin:0 0 4px;line-height:1.25}
.sub{margin:0 0 20px;color:#4a5565;font-size:14px}
label{display:block;font-size:13px;font-weight:600;margin:14px 0 6px}
input{width:100%;font:inherit;padding:11px 12px;border:1px solid #c9d3de;border-radius:8px;background:#fff;color:inherit}
input:focus{outline:3px solid rgba(11,63,115,.2);border-color:#0b3f73}
button{margin-top:20px;width:100%;font:inherit;font-weight:600;padding:12px;border:0;border-radius:8px;background:#0b3f73;color:#fff;cursor:pointer}
button:hover{background:#083058}
button:focus-visible{outline:3px solid #3f8a4c;outline-offset:2px}
.alt{text-align:center;margin:16px 0 0;font-size:14px}
.alt a{color:#0b3f73}
.msg{padding:10px 12px;border-radius:8px;font-size:14px;margin:0 0 16px}
.msg.err{background:#fdecec;color:#8a1c1c}
.msg.info{background:#eef6ef;color:#255b30}
.foot{margin:22px 0 0;padding-top:14px;border-top:1px solid #dde3ea;font-size:12px;color:#6b7684;text-align:center}
