:root { --ink: #142329; --muted: #687980; --line: #d6e0e3; --teal: #087f6a; --red: #b53932; }
* { box-sizing: border-box; }
html { min-width: 320px; }
body { min-height: 100vh; margin: 0; display: grid; place-items: center; color: var(--ink); background: radial-gradient(circle at 20% 10%, #2b5556 0, #142329 42%, #0d191e 100%); font: 15px/1.5 Inter, "Segoe UI", "Microsoft YaHei", sans-serif; }
button, input { font: inherit; }
.login-shell { width: min(430px, calc(100% - 30px)); padding: 34px 0 22px; }
.login-brand { display: flex; align-items: center; gap: 12px; margin: 0 5px 21px; color: #fff; }
.login-mark { width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink); background: #fff; border-radius: 10px; font-weight: 900; }
.login-brand strong, .login-brand small { display: block; line-height: 1.2; }
.login-brand strong { font-size: 16px; }
.login-brand small { margin-top: 4px; color: #adc0c3; font-size: 11px; }
.login-panel { padding: 32px; background: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 11px; box-shadow: 0 24px 65px rgba(0,0,0,.28); }
.eyebrow { margin: 0 0 8px; color: var(--teal); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; font-size: 28px; line-height: 1.2; }
.intro { margin: 10px 0 25px; color: var(--muted); font-size: 13px; }
.login-error { margin: 0 0 18px; padding: 10px 12px; color: var(--red); background: #fbecea; border-left: 3px solid var(--red); border-radius: 4px; font-size: 12px; }
form > label:not(.show-password) { display: block; margin: 15px 0 6px; color: #4f6168; font-size: 12px; font-weight: 800; }
input[type="text"], input[type="password"] { width: 100%; height: 44px; padding: 0 12px; color: var(--ink); background: #fff; border: 1px solid #b8c6cb; border-radius: 7px; }
input:focus { border-color: var(--teal); outline: 3px solid rgba(8,127,106,.13); }
.show-password { display: flex; align-items: center; gap: 8px; margin: 13px 0 22px; color: var(--muted); font-size: 12px; cursor: pointer; }
.show-password input { width: 16px; height: 16px; margin: 0; accent-color: var(--teal); }
button { width: 100%; height: 45px; color: #fff; background: var(--ink); border: 0; border-radius: 7px; font-weight: 800; cursor: pointer; }
button:hover { background: #087f6a; }
button:focus-visible { outline: 3px solid rgba(8,127,106,.3); outline-offset: 2px; }
footer { display: flex; justify-content: space-between; margin: 16px 5px 0; color: #9eb2b6; font-size: 10px; }
@media (max-width: 480px) { body { place-items: start center; } .login-shell { padding-top: 25px; } .login-panel { padding: 25px 20px; } }
