:root {
    color-scheme: light;
    font: 16px/1.6 "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
    color: #182520;
    background: #f4f2e9;
    --green: #234d3d;
    --muted: #516158;
    --border: #d6d9cd;
}

*, *::before, *::after { box-sizing: border-box; }
body { min-height: 100vh; min-height: 100svh; margin: 0; display: flex; flex-direction: column; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #a55a22; outline-offset: 4px; }
.frame { width: min(100% - 48px, 1080px); margin-inline: auto; }
.top { border-bottom: 1px solid var(--border); }
.top-inner { min-height: 68px; display: flex; justify-content: space-between; align-items: center; }
.identity { display: inline-flex; gap: 12px; align-items: center; font-weight: 700; text-decoration: none; }
.mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--green); color: #fff; }
nav a { font-size: .9rem; text-underline-offset: 4px; }
main { flex: 1; display: grid; align-items: center; padding-block: 46px; }
.hero, .panel { border-top: 3px solid var(--green); background: #fbfaf5; }
.hero { padding: clamp(32px, 8vw, 106px); }
.panel { max-width: 470px; width: 100%; margin-inline: auto; padding: clamp(24px, 5vw, 46px); }
.eyebrow { margin: 0 0 16px; font-size: .82rem; font-weight: 700; letter-spacing: .13em; color: var(--green); }
h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.15; letter-spacing: .015em; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5.55rem); font-family: "Noto Serif CJK SC", "Songti SC", SimSun, serif; }
.description { color: var(--muted); margin: 18px 0 28px; }
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 16px;
    min-height: 46px; padding: 10px 21px; border: 0; border-radius: 5px;
    background: var(--green); color: #fff; font: inherit; font-weight: 650;
    text-decoration: none; cursor: pointer;
}
.button:hover { background: #153a2b; }
.login-form { display: grid; gap: 9px; }
.login-form label { font-weight: 650; }
.login-form input {
    width: 100%; min-height: 44px; margin-bottom: 10px; padding: 8px 12px;
    border: 1px solid #9ba89d; border-radius: 5px; color: inherit; background: #fff; font: inherit;
}
.login-form .button { margin-top: 3px; }
.error { margin: 0 0 16px; padding: 9px 12px; border-left: 3px solid #a23c24; color: #862b17; background: #faeee7; }
.note { font-size: .82rem; margin: 16px 0 0; color: var(--muted); }
.footer { padding: 18px 16px; border-top: 1px solid var(--border); text-align: center; color: var(--muted); font-size: .85rem; }
.footer a { display: inline-block; padding: 4px; text-underline-offset: 4px; }

@media (max-width: 520px) {
    .frame { width: calc(100% - 32px); }
    main { padding-block: 28px; }
}
