:root {
  color-scheme: light;
  font-family: "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  color: #182c2b;
  background: #ecf4f1;
  font-size: 100%;
}

* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; display: grid; place-items: center; padding: 1.25rem; }
.shell { width: min(100%, 28rem); }
.brand { display: flex; align-items: center; gap: .65rem; margin: 0 0 1rem .125rem; font-weight: 650; }
.mark { width: 1rem; height: 1rem; border: .28rem solid #20705f; border-radius: .3rem; }
.panel {
  padding: clamp(1.3rem, 6vw, 2.3rem);
  border: 1px solid #cbded7;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 12px 44px #2249380d;
}
h1 { margin: 0; font-size: 1.9rem; line-height: 1.25; }
p { margin: .8rem 0 1.5rem; color: #475e58; line-height: 1.65; }
form { display: grid; }
label { margin: 0 0 .35rem; font-size: .95rem; font-weight: 650; }
input {
  width: 100%;
  min-height: 2.85rem;
  margin: 0 0 1rem;
  border: 1px solid #809a91;
  border-radius: .45rem;
  padding: .55rem .7rem;
  font: inherit;
  color: inherit;
  background: #fff;
}
button, .button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.85rem;
  border-radius: .45rem;
  padding: .5rem .85rem;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.primary { border: 1px solid #165b4a; background: #165b4a; color: #fff; }
.primary:hover { background: #104638; }
.primary span { font-size: .9rem; color: #d0e9df; }
.secondary { width: 100%; margin-top: .75rem; border: 1px solid #809a91; background: #fff; color: #224b40; }
.secondary:hover { background: #eef7f3; }
:focus-visible { outline: 3px solid #217d6a; outline-offset: 2px; }
.error { padding: .65rem .8rem; border: 1px solid #dbb6af; border-radius: .45rem; color: #842b22; background: #fff5f3; }
