*{box-sizing:border-box;margin:0;padding:0}
:root{--bg:#f5f8f6;--ink:#14251e;--green:#07845f;--deep:#087354;--muted:#718078;--line:#dce7e1;--pale:#e7f4ed}
body{min-height:100vh;background:radial-gradient(circle at 80% 15%,#e2f3e9 0,transparent 34%),var(--bg);color:var(--ink);font-family:Arial,sans-serif;line-height:1.6}
.auth-shell{width:min(100% - 36px,480px);margin:auto;min-height:100vh;display:flex;flex-direction:column;padding:35px 0 22px}
.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;margin-bottom:45px}
.brand-mark{width:48px;height:48px;background:var(--green);border-radius:15px;display:flex;align-items:center;justify-content:center;gap:5px;transform:rotate(-9deg)}
.brand-mark i{display:block;width:7px;height:26px;border-radius:8px;background:#fff;transform:skew(-12deg)}
.brand-mark i:last-child{height:21px}
.brand strong{display:block;font-size:15px;line-height:1.3}.brand b{color:var(--green)}
.brand small{display:block;font-size:9px;letter-spacing:1.7px;color:#87948d;margin-top:4px;font-weight:bold}
.auth-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:34px;box-shadow:0 18px 55px #153d2810}
.eyebrow{font-size:10px;letter-spacing:2.5px;color:var(--deep);font-weight:800}
h1{font-size:35px;letter-spacing:-1.5px;margin-top:10px}
.subtitle{color:var(--muted);font-size:14px;margin-top:5px}
.mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#f1f6f3;padding:5px;border-radius:11px;margin:25px 0}
.mode{border:0;border-radius:8px;padding:11px;background:transparent;color:#64736b;font-weight:bold}
.mode.active{background:#fff;color:var(--deep);box-shadow:0 2px 8px #153d2810}
form{display:flex;flex-direction:column}
label{font-size:12px;font-weight:bold;margin:12px 0 7px}
input{width:100%;padding:14px 13px;border:1px solid #d5e1da;border-radius:9px;font:inherit;font-size:14px;outline:none;background:#fff}
input:focus{border-color:var(--green);box-shadow:0 0 0 3px #07845f18}
.hint{font-size:11px;color:#849189;margin-top:7px}
.submit{margin-top:22px;width:100%;padding:15px 17px;border:0;border-radius:10px;background:var(--green);color:#fff;font-size:14px;font-weight:bold;display:flex;justify-content:space-between;cursor:pointer}
.submit:disabled{opacity:.65;cursor:wait}
.message{min-height:22px;margin-top:12px;font-size:12px;color:#b42318}
.message.success{color:var(--deep)}
.security-note{font-size:11px;color:#87948d;text-align:center;margin-top:22px}
.hidden{display:none!important}
footer{text-align:center;color:#87948d;font-size:10px;letter-spacing:1px;margin-top:auto;padding-top:35px}
@media(max-width:520px){.auth-shell{padding-top:24px}.brand{margin-bottom:30px}.auth-card{padding:25px 21px}h1{font-size:30px}}