:root {
  color-scheme: light;
  font: 16px/1.55 Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: #edf0eb;
  color: #182b26;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}
main {
  width: min(100%, 430px);
  padding: clamp(26px, 6vw, 46px);
  border: 1px solid #d2d9d2;
  border-top: 4px solid #336454;
  border-radius: 8px;
  background: #fffefa;
  box-shadow: 0 10px 36px #25352a0e;
}
h1 {
  margin: 0 0 9px;
  font: 650 clamp(27px, 6vw, 34px)/1.3 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: -.035em;
}
.intro { margin: 0 0 28px; color: #51625b; }
form { display: grid; }
label { font-size: 14px; font-weight: 600; }
input:not([type=hidden]) {
  width: 100%;
  padding: 10px 12px;
  min-height: 45px;
  margin: 5px 0 17px;
  color: inherit;
  font: inherit;
  border: 1px solid #9daea4;
  border-radius: 5px;
  background: white;
}
button {
  margin-top: 6px;
  padding: 12px 18px;
  border: 0;
  border-radius: 5px;
  background: #255442;
  color: white;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  cursor: pointer;
}
button:hover { background: #183e30; }
a,.link { color: #255442; text-decoration: underline; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid #a96d25; outline-offset: 3px; }
.links { display: flex; justify-content: space-between; align-items:center; margin-top: 24px; }
.link,.link:hover { color: #255442; background: none; border: none; margin: 0; padding: 0; font: inherit; }
[role=alert] { padding: 10px 12px; border-left: 3px solid #a3452c; color: #783422; background: #f9ede6; }
