:root {
  color-scheme: light;
  --ink: #21342f;
  --muted: #61716b;
  --green: #1c6751;
  --green-dark: #124c3b;
  --green-light: #eaf3ed;
  --line: #e0e7e1;
  --canvas: #f8faf6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--canvas); color: var(--ink); font-size: 15px; line-height: 1.65; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #ae7900; outline-offset: 4px; }
[hidden] { display: none !important; }
.page-width { max-width: 1220px; width: calc(100% - 96px); margin-inline: auto; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.header-inner { height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-size: 19px; font-weight: 650; letter-spacing: .025em; }
.brand-mark { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 10px; background: var(--green); }
.brand-mark svg { width: 23px; height: 23px; stroke: white; stroke-width: 1.6; stroke-linejoin: round; }
.header-label { font-size: 12px; letter-spacing: .13em; color: var(--muted); }
.login-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding-block: 60px 76px; }
.login-card { width: 440px; max-width: 100%; min-width: 0; padding: 36px 36px 29px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 8px 32px #21342f06; }
.login-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--green-light); color: var(--green); margin-bottom: 24px; }
.login-mark svg { width: 23px; height: 23px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { margin: 0 0 8px; font-size: 11px; font-weight: 650; letter-spacing: .08em; color: var(--green); }
h1 { font-size: 26px; line-height: 1.4; font-weight: 650; letter-spacing: -.02em; margin: 0; }
.login-description { color: var(--muted); font-size: 13px; margin: 11px 0 26px; }
label { display: block; font-weight: 550; font-size: 13px; margin-bottom: 8px; }
input { display: block; width: 100%; min-height: 48px; padding: 11px 13px; color: var(--ink); background: #fcfdfb; border: 1px solid #cdd8cf; border-radius: 8px; font-size: 16px; }
input::placeholder { font-size: 13px; color: #77847d; }
input:focus { border-color: var(--green); }
input[aria-invalid="true"] { border-color: #a7543b; }
input:disabled { opacity: .75; }
.login-message { padding: 0; margin: 10px 0 0; font-size: 12px; color: #964b35; line-height: 1.6; }
button { display: flex; justify-content: center; align-items: center; gap: 11px; width: 100%; min-height: 48px; border: 1px solid var(--green); border-radius: 8px; background: var(--green); color: white; font-size: 14px; font-weight: 550; margin-top: 21px; padding: 11px 15px; cursor: pointer; }
button:hover { background: var(--green-dark); border-color: var(--green-dark); }
button:disabled { cursor: wait; opacity: .72; }
button span { font-size: 18px; font-weight: 400; }
.login-note { color: var(--muted); font-size: 11px; margin: 23px 0 0; text-align: center; }
.noscript-message { color: #964b35; margin-bottom: 0; font-size: 12px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding-block: 24px 29px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .page-width { width: calc(100% - 36px); }
  .header-inner { height: 69px; }
  .brand { font-size: 17px; gap: 10px; }
  .brand-mark { width: 33px; height: 33px; border-radius: 8px; }
  .header-label { display: none; }
  .login-main { padding-block: 40px 48px; }
  .login-card { padding: 29px 24px 25px; border-radius: 12px; }
  h1 { font-size: 24px; }
  .login-description { margin-bottom: 23px; }
  .site-footer { display: block; line-height: 1.8; padding-block: 20px 24px; }
  .site-footer a { display: inline-block; margin-top: 6px; }
}
@media (max-width: 360px) {
  .page-width { width: calc(100% - 28px); }
  .login-card { padding-inline: 19px; }
  h1 { font-size: 22px; }
}
