:root {
  color-scheme: light;
  --green: #235c4b;
  --ink: #172e26;
  --muted: #4f6258;
  --line: #ccd7ce;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: #f4f6f0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.login-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1040px;
  width: 100%;
  min-height: 600px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 70px #22452c0c;
}
.login-intro { background: #edf3e8; padding: 48px; display: flex; flex-direction: column; }
.brand { text-decoration: none; color: var(--green); font-weight: 700; display: flex; gap: 12px; align-items: center; font-size: 1.5rem; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; background: var(--green); color: #fff; border-radius: 14px; font: 700 32px Georgia, serif; }
.brand small { display: block; font-size: .875rem; letter-spacing: 1px; margin-top: 4px; }
.eyebrow { font-size: 1rem; letter-spacing: 1px; margin-top: 56px !important; color: var(--green) !important; }
h1 { font-size: 2.875rem; line-height: 1.4; font-weight: 650; letter-spacing: -1px; margin: 18px 0; }
.login-intro p { font-size: 1.0625rem; line-height: 1.8; color: var(--muted); }
.intro-footer { margin-top: auto; padding-top: 36px; font-size: .875rem; letter-spacing: 2px; color: var(--muted); }
.login-panel { padding: 56px 48px; display: flex; justify-content: center; flex-direction: column; min-width: 0; }
.login-badge { font-size: 1rem; font-weight: 600; padding: 6px 12px; background: #f0f5ed; border-radius: 5px; align-self: flex-start; color: var(--green); }
h2 { font-size: 1.875rem; line-height: 1.5; margin: 20px 0 4px; }
.login-panel p { font-size: 1.0625rem; line-height: 1.8; color: var(--muted); }
.login-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; color: #fff; background: var(--green); padding: 16px 18px; border-radius: 9px; font-size: 1.125rem; font-weight: 600; margin-top: 24px; transition: background .2s; }
.login-button:hover { background: #183e34; }
.login-button:focus-visible { outline: 3px solid #4c8067; outline-offset: 3px; }
.login-help { font-size: 1rem !important; margin-top: 20px; }
.login-error { padding: 12px 14px; background: #fff1ed; color: #a3342c; border-radius: 8px; font-size: 1rem; line-height: 1.7; margin-top: 14px; }
@media (max-width: 800px) {
  body { padding: 16px; }
  .login-shell { grid-template-columns: 1fr; min-height: 0; max-width: 480px; }
  .login-intro { padding: 28px; }
  .eyebrow { margin-top: 30px !important; }
  h1 { font-size: 2.25rem; }
  .intro-footer { display: none; }
  .login-panel { padding: 32px 28px 40px; }
  h2 { font-size: 1.75rem; }
}
@media (max-width: 380px) {
  .login-intro, .login-panel { padding-left: 20px; padding-right: 20px; }
  .brand { font-size: 1.25rem; }
  .brand small { letter-spacing: 0; }
}
