:root {
  color-scheme:light;
  --paper:#fff;
  --bg:#f2f2f7;
  --ink:#202233;
  --muted:#61667a;
  --line:#e6e7ee;
  --accent:#5343be;
  --accent-hover:#4535a6;
  font:14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--ink);
  background:var(--bg);
}
*{box-sizing:border-box}
body{margin:0;min-height:100dvh;padding:12vh 16px 24px}
.login{width:100%;max-width:400px;margin:auto}
.card{padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--paper);box-shadow:0 1px 2px #22204708,0 4px 14px #22204705}
.brand{display:flex;align-items:center;gap:8px;margin:0 0 18px;font-size:15px;font-weight:700}
.brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:linear-gradient(140deg,#393173,#5c49c4);color:#fff}
.brand-mark svg{width:22px;height:22px}
h1{font-size:clamp(23px,3vw,30px);line-height:1.25;margin:0 0 4px;letter-spacing:-.035em}
.description{color:var(--muted);margin:0 0 17px}
form{display:grid;gap:5px}
label{font-size:13px;font-weight:650}
input{width:100%;min-height:34px;margin-bottom:8px;padding:6px 9px;border:1px solid #dadbe6;border-radius:8px;background:var(--paper);font:inherit;color:var(--ink)}
input:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
button{min-height:36px;padding:6px 9px;border:1px solid var(--accent);border-radius:8px;background:var(--accent);color:#fff;font:inherit;font-weight:650;cursor:pointer}
button:hover{background:var(--accent-hover)}
.error{margin:0 0 12px;padding:8px 10px;border-radius:8px;border:1px solid #edc3bf;background:#fff1ef;color:#992d29}
@media(max-width:600px){body{padding-top:8vh}input,button{min-height:44px}}
