:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #f3f6f8; color: #1d2a31; }
.login-layout { width: min(100% - 36px, 420px); margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 32px 0; }
.identity { display: flex; align-items: center; gap: 12px; }
.identity .mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 7px; background: #213e41; color: white; font-size: 15px; font-weight: 700; }
.identity strong, .identity small { display: block; }
.identity strong { font-size: 17px; }
.identity small { margin-top: 2px; color: #64727a; font-size: 12px; }
.login-panel { border: 1px solid #dce4e9; border-radius: 7px; background: #fff; padding: 32px; box-shadow: 0 5px 20px rgba(20, 35, 45, .035); }
h1 { margin: 0; font-size: 23px; font-weight: 650; }
.session-note { margin: 6px 0 27px; color: #60717b; font-size: 13px; }
form { display: flex; flex-direction: column; }
label { margin: 0 0 7px; color: #354750; font-size: 13px; font-weight: 600; }
input { width: 100%; height: 42px; margin: 0 0 20px; padding: 0 12px; border: 1px solid #cfdae1; border-radius: 6px; background: #fff; color: #1d2a31; font: inherit; font-size: 14px; }
input:focus-visible, button:focus-visible { outline: 2px solid #2b5c9b; outline-offset: 2px; }
#message { min-height: 20px; margin: -2px 0 10px; color: #ad3e2c; font-size: 12px; }
#submit { height: 42px; border: 0; border-radius: 6px; background: #213e41; color: white; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
#submit:hover { background: #2a5355; }
#submit:disabled { opacity: .65; cursor: wait; }
@media (max-width: 480px) { .login-panel { padding: 25px 20px; } }
