:root {
  color-scheme: light;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
  --primary: #275df5;
  --primary-dark: #1949d3;
  --text: #182033;
  --muted: #6b778d;
  --line: #dfe5ef;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--text); background: radial-gradient(circle at 15% 10%, rgba(85,125,255,.24), transparent 34%), linear-gradient(135deg,#111b3c,#233d8f 58%,#245ee9); }
button,input { font: inherit; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 28px; }
.login-card { width: min(430px,100%); padding: 34px; border-radius: 22px; background: rgba(255,255,255,.98); box-shadow: 0 30px 80px rgba(3,12,39,.32); }
.brand-mark { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 17px; color: white; background: linear-gradient(135deg,#4d7cff,#2454dd); font-size: 13px; font-weight: 850; letter-spacing: .6px; box-shadow: 0 12px 28px rgba(39,93,245,.3); }
.heading span { color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: 1.2px; }
.heading h1 { margin: 7px 0 8px; font-size: 28px; }
.heading p { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.7; }
form { display: grid; gap: 16px; }
label { display: grid; gap: 8px; color: #40506b; font-size: 12px; font-weight: 700; }
input { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; outline: none; color: var(--text); background: white; }
input:focus { border-color: #8ba7ff; box-shadow: 0 0 0 4px rgba(39,93,245,.1); }
.password-field { position: relative; }
.password-field input { padding-right: 62px; }
.password-field button { position: absolute; top: 5px; right: 5px; bottom: 5px; border: 0; border-radius: 7px; padding: 0 10px; color: #536078; background: #f0f3f8; cursor: pointer; }
.primary { min-height: 46px; margin-top: 3px; border: 0; border-radius: 10px; color: white; background: var(--primary); font-weight: 800; cursor: pointer; box-shadow: 0 9px 20px rgba(39,93,245,.25); }
.primary:hover:not(:disabled) { background: var(--primary-dark); }
.primary:disabled { opacity: .55; cursor: not-allowed; }
.device-note { margin-top: 22px; padding: 14px 15px; border: 1px solid #dbe5ff; border-radius: 11px; background: #f3f6ff; }
.device-note strong { display: block; margin-bottom: 5px; color: #29499f; font-size: 12px; }
.device-note p { margin: 0; color: #63718c; font-size: 11px; line-height: 1.65; }
.message { min-height: 20px; margin-top: 14px; color: #bd3838; font-size: 12px; line-height: 1.6; }
