:root {
  color-scheme: light;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  color: #182f2e;
  background: #eff4f2;
}
* { box-sizing: border-box; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 24px 16px;
  display: grid;
  place-items: center;
}
main {
  width: min(100%, 420px);
  padding: clamp(24px, 6vw, 38px);
  background: #fff;
  border: 1px solid #dbe6e2;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgb(24 47 46 / 8%);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #0d6156; }
h1 { margin: 24px 0 14px; font-size: 1.65rem; }
p, small { margin: 0; color: #506864; line-height: 1.55; }
.error { margin: 12px 0; padding: 10px 12px; color: #873b30; background: #fff2eb; border-radius: 6px; }
form { display: grid; }
label { margin: 16px 0 6px; font-size: .92rem; font-weight: 600; }
input, button {
  font: inherit;
  min-height: 44px;
  width: 100%;
  border-radius: 7px;
}
input { padding: 9px 12px; color: inherit; background: #fff; border: 1px solid #a9bdb6; }
input:focus-visible, button:focus-visible { outline: 3px solid #36a893; outline-offset: 2px; }
small { margin-top: 5px; }
button { margin-top: 24px; background: #0d6156; color: white; border: 0; padding: 10px 16px; font-weight: 600; cursor: pointer; }
button:hover { background: #095449; }
