@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: #0c0f14;
  --surface: #151a22;
  --inset: #10141b;
  --line: #303a47;
  --text: #edf1f7;
  --muted: #a0adbd;
  --accent: #a9e56f;
  --accent-ink: #13200a;
  --error: #f4b0b0;
  font-family: "Segoe UI Variable Text", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 0%, #a9e56f09, transparent 55%), var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.login-shell { width: min(100%, 468px); padding: 48px 20px; }
.brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 32px; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-mark rect { fill: var(--surface); stroke: var(--line); }
.brand-mark path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font-size: 20px; font-weight: 650; letter-spacing: -.5px; line-height: 1.3; }
.brand-name span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 2px; }
.login-card { padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 24px 70px #00000030; }
.eyebrow { display: flex; align-items: center; gap: 7px; color: var(--accent); font-size: 12px; letter-spacing: 1px; }
.private-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
h1 { margin: 12px 0 6px; font-size: 27px; font-weight: 650; line-height: 1.4; letter-spacing: -.5px; }
p { margin: 0; }
.intro { color: var(--muted); font-size: 14px; }
form { margin-top: 28px; }
.login-feedback:empty { display: none; }
.login-feedback { margin-bottom: 20px; padding: 12px 14px; border: 1px solid #f4b0b04d; border-radius: 8px; background: #f4b0b00c; color: var(--error); font-size: 14px; overflow-wrap: anywhere; }
.login-feedback p { margin: 0; }
.field + .field { margin-top: 20px; }
label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
input { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 10px 13px; border: 1px solid #657383; border-radius: 8px; background: var(--inset); color: var(--text); font: inherit; transition: border-color .16s, box-shadow .16s; }
input:hover { border-color: #8a99aa; }
input:focus-visible { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 3px; }
.field-hint { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.7; }
button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; margin-top: 26px; padding: 11px 18px; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 650; cursor: pointer; transition: background .16s, border-color .16s; }
button:hover { background: #bcf08a; border-color: #bcf08a; }
button:active { background: #98d05f; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button svg, .security-note svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.security-note { display: flex; gap: 9px; align-items: flex-start; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.8; }
.security-note svg { margin-top: 2px; }
footer { margin-top: 24px; text-align: center; color: var(--muted); font-size: 12px; }
footer span { margin: 0 8px; color: #718095; }
@media (max-width: 380px) {
  .login-shell { padding: 28px 16px; }
  .login-card { padding: 26px 22px; border-radius: 14px; }
  .brand { margin-bottom: 24px; }
  h1 { font-size: 25px; }
  .wide-break { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  input, button { transition: none; }
}
@media (forced-colors: active) {
  button, input, .login-card { border: 1px solid CanvasText; }
}
