:root { font: 16px/1.55 system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; color: #19332b; background: #f5f7f5; }
* { box-sizing: border-box; }
body { margin: 0; }
header { display: flex; align-items: center; justify-content: space-between; padding: 18px max(20px, calc((100vw - 1080px)/2)); border-bottom: 1px solid #dfe6e0; background: #fff; }
a { color: #123d34; text-underline-offset: .22em; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 750; font-size: 20px; }
.brand span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #123d34; color: #d6ed71; font-size: 14px; }
nav { display:flex; gap:1.15rem; font-size:.92rem; }
nav a { text-decoration:none; }
main { max-width: 450px; width:calc(100% - 2rem); margin: clamp(28px, 8vh, 76px) auto; padding:clamp(1.2rem, 4vw, 2.25rem); background:white; border:1px solid #dfe6e0; border-radius:1rem; }
h1 { margin: 0; font-size: clamp(34px, 6vw, 48px); }
.intro { margin: 10px 0 24px; color: #435a50; }
label { display: block; margin: 15px 0 6px; font-weight: 650; }
input:not([type="hidden"]), button { width: 100%; padding: 11px 12px; border: 1px solid #899b90; border-radius: 7px; font: inherit; }
button { margin: 20px 0; cursor: pointer; background: #123d34; color: white; font-weight: 700; border-color: #123d34; }
.hint { margin: 5px 0; color: #52665b; font-size: 14px; }
.error { border-left: 3px solid #a53524; padding: 6px 10px; color: #872b1e; }
:focus-visible { outline: 3px solid #488168; outline-offset: 3px; }

@media(max-width:400px){header{padding:14px;gap:.5rem}.brand{font-size:1rem}nav{gap:.62rem;font-size:.84rem}}
