:root{--ink:#1B1E2E;--bg:#F4F5FA;--line:#E6E8F0;--muted:#7A8099;--accent:#5B4CF0;--red:#E5484D}
*{box-sizing:border-box}body{margin:0;font-family:"Plus Jakarta Sans","Segoe UI",system-ui,sans-serif;background:var(--bg);color:var(--ink)}
.login{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}
.brand{color:#fff;padding:12vh 8vw;display:flex;flex-direction:column;justify-content:center;
  background:radial-gradient(120% 120% at 80% 10%,rgba(255,255,255,.18),transparent 45%),linear-gradient(130deg,#4F46E5,#7C5CFA 60%,#9B7BFF)}
.gem{width:120px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linejoin:round;margin-bottom:2rem;opacity:.9}
.brand h1{font-size:2.6rem;font-weight:800;margin:0 0 .5rem;letter-spacing:-.02em}.brand p{max-width:30ch;line-height:1.55;color:rgba(255,255,255,.85);margin:0}
.panel{display:flex;align-items:center;justify-content:center;padding:2rem}
form{width:100%;max-width:360px;display:flex;flex-direction:column;gap:1rem;background:#fff;border:1px solid var(--line);border-radius:18px;padding:2rem;box-shadow:0 10px 30px rgba(27,30,46,.06)}
h2{margin:0 0 .25rem;font-weight:800;font-size:1.5rem}
label{display:flex;flex-direction:column;gap:.35rem;font-size:.85rem;color:var(--muted);font-weight:500}
input{font:inherit;padding:.7rem .8rem;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink)}
input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #EFEDFF}
button{font:inherit;font-weight:700;padding:.75rem;border:0;border-radius:10px;background:var(--accent);color:#fff;cursor:pointer}
button:hover{background:#4A3BD8}button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.err{background:#FDECEC;color:var(--red);padding:.6rem .75rem;border-radius:10px;font-size:.9rem;white-space:pre-line}
small{color:var(--muted);text-align:center}
@media (max-width:760px){.login{grid-template-columns:1fr}.brand{padding:2.5rem 1.5rem}.gem{width:70px;margin-bottom:1rem}}
