body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:#f3f4f6;
  color:#172033;
  margin:0;
}
.wrap{
  max-width:420px;
  margin:8vh auto;
  padding:24px;
}
.card{
  background:#fff;
  padding:28px 24px 24px;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.login-brand{
  text-align:center;
  margin:0 0 20px;
}
.login-logo{
  display:block;
  width:auto;
  height:72px;
  max-width:min(148px,42vw);
  margin:0 auto 14px;
}
.login-brand h1{
  margin:0;
  font-size:1.35rem;
  letter-spacing:.04em;
  color:#2d3742;
}
.login-tagline{
  margin:6px 0 0;
  color:#4b5563;
  font-size:.95rem;
  line-height:1.4;
}
label{
  display:block;
  margin:12px 0 6px;
  font-weight:600;
}
input{
  width:100%;
  min-height:44px;
  padding:12px;
  border:1px solid #d1d5db;
  border-radius:10px;
  box-sizing:border-box;
  font:inherit;
}
input:focus{
  outline:3px solid #93c5fd;
  outline-offset:2px;
  border-color:#2563eb;
}
button{
  margin-top:16px;
  width:100%;
  min-height:44px;
  padding:12px;
  border:0;
  border-radius:10px;
  background:#2d3742;
  color:#fff;
  font:700 1rem/1.2 inherit;
  cursor:pointer;
}
button:focus{
  outline:3px solid #93c5fd;
  outline-offset:2px;
}
.err{
  background:#fee2e2;
  color:#991b1b;
  padding:10px 12px;
  border-radius:10px;
  margin-bottom:12px;
}
.notice{
  background:#ecfdf3;
  color:#166534;
  padding:10px 12px;
  border-radius:10px;
  margin-bottom:12px;
}
@media (max-width:480px){
  .wrap{
    margin:5vh auto;
    padding:16px;
  }
  .login-logo{
    height:56px;
  }
}
