:root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #233a3a;
  background: #f5f7f6;
  font-synthesis: none;
  --brand: #176d62;
  --muted: #718280;
  --border: #e1e8e5;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 14px; line-height: 1.7; }
h1, h2, p { margin: 0; }
button, input { font: inherit; -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible { outline: 3px solid #5eb6a5; outline-offset: 3px; }
.login-layout { width: min(1040px, 100%); min-height: 100vh; min-height: 100svh; margin: 0 auto; padding: 64px 32px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 80px; }
.introduction { min-width: 0; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 650; line-height: 1.4; }
.brand-mark { display: grid; place-items: center; width: 47px; height: 49px; border-radius: 12px; background: var(--brand); color: #fff; font-size: 18px; letter-spacing: -1px; }
.brand-caption { display: block; font-size: 11px; letter-spacing: 1px; color: #86998e; font-weight: 400; margin-top: 3px; }
.eyebrow { color: #84998d; font-size: 11px; letter-spacing: 2px; }
.introduction > .eyebrow { margin-top: 58px; }
h1 { max-width: 360px; margin-top: 13px; font-size: 35px; font-weight: 650; line-height: 1.5; letter-spacing: -1px; text-wrap: balance; }
.introduction-copy { margin-top: 19px; color: var(--muted); font-size: 13px; line-height: 2; }
.development-note { display: flex; align-items: center; gap: 8px; margin-top: 38px; color: #87978e; font-size: 11px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #92b5a4; flex-shrink: 0; }
.login-panel { min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 35px 32px 29px; box-shadow: 0 8px 32px #213c300a; }
h2 { margin-top: 8px; font-size: 25px; font-weight: 650; letter-spacing: -.5px; }
.subtitle { color: var(--muted); font-size: 12px; margin-top: 8px; }
form { display: grid; gap: 19px; margin-top: 29px; }
label { display: grid; gap: 8px; color: #526760; font-size: 12px; font-weight: 500; }
input { width: 100%; min-width: 0; height: 44px; padding: 10px 12px; border: 1px solid #dce4df; border-radius: 6px; background: #fff; color: #233a3a; font-size: 16px; transition: border-color .15s; }
input:hover { border-color: #aabfb3; }
input:disabled { background: #f6f8f6; color: var(--muted); }
button { min-height: 44px; width: 100%; padding: 10px 16px; border: 1px solid transparent; border-radius: 6px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 500; cursor: pointer; transition: background .15s; }
button:hover:not(:disabled) { background: #12594f; }
button:disabled { background: #90afa4; cursor: not-allowed; }
.login-status { min-height: 41px; border: 1px solid #dfece4; border-radius: 6px; padding: 9px 12px; background: #f0f7f3; color: #5c7d68; font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
.login-status.pending { background: #f2f6f7; border-color: #e2e9eb; color: #72898f; }
.login-status.error { background: #fdf0ed; border-color: #f1d8d1; color: #a45b4c; }
.login-status.warning { background: #fff5d9; border-color: #ead191; color: #8d651f; }
.boundary-note { margin-top: 23px; padding-top: 18px; border-top: 1px solid #edf0ed; color: #85958b; font-size: 11px; line-height: 1.9; }
noscript .login-status { margin-top: 15px; }
@media (max-width: 800px) {
  .login-layout { max-width: 520px; grid-template-columns: 1fr; gap: 28px; padding: 36px 24px; align-content: center; }
  .introduction > .eyebrow { margin-top: 26px; }
  h1 { max-width: none; font-size: 27px; }
  .introduction-copy { margin-top: 11px; }
  .development-note { margin-top: 15px; }
}
@media (max-width: 400px) {
  .login-layout { padding: 25px 16px; }
  .login-panel { padding: 26px 22px 23px; }
  h1 { font-size: 25px; }
  .brand { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
