:root {
  color-scheme: dark;
  --bg: #071426;
  --surface: #0c2340;
  --surface-2: #0a1d36;
  --accent: #31c6f4;
  --accent-2: #0baee8;
  --text: #f4f8fc;
  --muted: #8da5bf;
  --border: rgba(71, 151, 205, 0.36);
  --danger: #ff6675;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); }
body { min-height: 100vh; color: var(--text); }
button, input { font: inherit; }
.login-shell {
  position: relative; min-height: 100vh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(440px, .88fr);
  background:
    radial-gradient(circle at 25% 62%, rgba(0, 142, 224, .12), transparent 36%),
    linear-gradient(rgba(40, 112, 166, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 112, 166, .055) 1px, transparent 1px),
    linear-gradient(135deg, #07192e 0%, #061327 54%, #051122 100%);
  background-size: auto, 40px 40px, 40px 40px, auto;
}
.brand-panel { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 7vw 5vw 12vw 10vw; }
.brand-copy { position: relative; z-index: 2; transform: translateY(-7vh); }
.company-lockup { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; color: #eaf4ff; }
.company-lockup img { width: 46px; height: 46px; object-fit: contain; filter: brightness(0) invert(1); opacity: .95; }
.company-lockup div { display: flex; flex-direction: column; gap: 3px; padding-left: 14px; border-left: 1px solid rgba(141, 186, 222, .36); }
.company-lockup strong { font-size: 18px; letter-spacing: .2em; line-height: 1; }
.company-lockup span { color: #7590ab; font-size: 9px; letter-spacing: .18em; }
.brand-copy h1 { margin: 0; font-size: clamp(54px, 5.6vw, 86px); line-height: 1; letter-spacing: .1em; font-weight: 700; }
.brand-product { margin: 28px 0 0; color: var(--accent); font-size: clamp(28px, 3vw, 46px); letter-spacing: .12em; font-weight: 650; }
.brand-rule { display: block; width: 58px; height: 3px; margin: 30px 0 28px; background: var(--accent); box-shadow: 0 0 18px rgba(49,198,244,.5); }
.brand-line { margin: 0; font-size: 19px; letter-spacing: .1em; color: #d5e1ee; }
.business-scope { margin: 18px 0 0; color: #7894b0; font-size: 13px; letter-spacing: .16em; }
.company-values { display: flex; align-items: stretch; width: fit-content; margin-top: 36px; border-top: 1px solid rgba(83, 143, 188, .24); border-bottom: 1px solid rgba(83, 143, 188, .24); }
.company-values span { min-width: 108px; padding: 13px 20px 12px 0; }
.company-values span + span { padding-left: 20px; border-left: 1px solid rgba(83, 143, 188, .24); }
.company-values b, .company-values small { display: block; }
.company-values b { color: #dce9f5; font-size: 14px; letter-spacing: .22em; }
.company-values small { margin-top: 4px; color: #57738d; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 8px; letter-spacing: .12em; }
.yard-lines { position: absolute; inset: 42% 0 0 0; opacity: .62; pointer-events: none; }
.yard-lines::before { content: ""; position: absolute; inset: 6% -8% -20% -10%; transform: perspective(420px) rotateX(56deg); transform-origin: center bottom; background: linear-gradient(rgba(35, 148, 221, .15) 1px, transparent 1px), linear-gradient(90deg, rgba(35, 148, 221, .15) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to top, #000, transparent 86%); }
.yard-lines svg { position: absolute; left: 2%; bottom: 8%; width: 98%; height: 58%; fill: none; stroke: #168ed4; stroke-width: 1.1; vector-effect: non-scaling-stroke; opacity: .62; }
.route { position: absolute; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); filter: drop-shadow(0 0 6px var(--accent)); transform-origin: left; }
.route-a { width: 58%; left: 13%; top: 58%; transform: rotate(7deg); }
.route-b { width: 48%; left: 25%; top: 73%; transform: rotate(-9deg); }
.node { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.node-a { left: 25%; top: 60%; }.node-b { left: 52%; top: 68%; }.node-c { left: 40%; top: 78%; }.node-d { left: 70%; top: 66%; }
.form-panel { display: flex; align-items: center; justify-content: flex-start; padding: 64px 7vw 110px 2vw; }
.login-card { position: relative; width: min(100%, 560px); padding: 64px 58px 62px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(160deg, rgba(12, 42, 76, .94), rgba(7, 27, 51, .98)); box-shadow: 0 30px 80px rgba(0, 5, 18, .42), inset 0 1px rgba(255,255,255,.025); }
.login-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(120deg, rgba(49,198,244,.06), transparent 36%); }
.card-brand { position: relative; display: flex; align-items: center; gap: 11px; margin: -18px 0 34px; color: #7895b1; font-size: 12px; letter-spacing: .14em; }
.card-brand::after { content: ""; flex: 1; height: 1px; margin-left: 5px; background: linear-gradient(90deg, rgba(79, 140, 187, .35), transparent); }
.card-brand img { width: 28px; height: 28px; object-fit: contain; filter: brightness(0) invert(1); opacity: .72; }
form { position: relative; }
label { display: block; margin: 0 0 10px; color: #e7eef6; font-size: 15px; font-weight: 600; letter-spacing: .06em; }
.field { position: relative; display: flex; align-items: center; height: 64px; margin-bottom: 28px; border: 1px solid rgba(101, 151, 194, .42); border-radius: 8px; background: rgba(3, 17, 34, .38); transition: border-color .18s, box-shadow .18s, background .18s; }
.field:focus-within { border-color: var(--accent); background: rgba(4, 24, 45, .64); box-shadow: 0 0 0 3px rgba(49,198,244,.12), 0 0 24px rgba(49,198,244,.08); }
.field > svg { width: 23px; height: 23px; margin-left: 20px; fill: none; stroke: #9eb5cc; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
input { min-width: 0; flex: 1; height: 100%; padding: 0 18px; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 16px; letter-spacing: .02em; }
input::placeholder { color: #617b96; }
.reveal { display: grid; place-items: center; width: 56px; height: 100%; padding: 0; border: 0; color: #9eb5cc; background: transparent; cursor: pointer; }
.reveal:hover, .reveal:focus-visible { color: var(--accent); outline: 0; }
.reveal svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.error { min-height: 48px; margin: -8px 0 22px; padding: 13px 15px; border: 1px solid rgba(255,102,117,.72); border-radius: 7px; color: #ff8792; background: rgba(139, 24, 43, .14); font-size: 14px; line-height: 20px; }
.submit { width: 100%; height: 64px; border: 0; border-radius: 8px; color: #fff; background: linear-gradient(100deg, var(--accent-2), #18bdf3); box-shadow: 0 10px 28px rgba(0, 171, 232, .2); font-size: 20px; font-weight: 650; letter-spacing: .18em; cursor: pointer; transition: transform .18s, filter .18s, box-shadow .18s; }
.submit:hover { filter: brightness(1.08); box-shadow: 0 14px 34px rgba(0, 171, 232, .28); transform: translateY(-1px); }
.submit:focus-visible { outline: 3px solid rgba(255,255,255,.85); outline-offset: 3px; }
.submit:disabled { cursor: wait; filter: saturate(.45); transform: none; }
.submit i { display: none; width: 18px; height: 18px; margin-left: 10px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -3px; }
.submit.loading i { display: inline-block; }
footer { position: absolute; z-index: 3; left: 0; right: 0; bottom: 30px; text-align: center; color: #8ea5bd; font-size: 15px; letter-spacing: .08em; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .login-shell { display: block; min-height: 100svh; padding: 28px 20px 76px; }
  .brand-panel { min-height: 0; padding: 24px 4px 34px; display: block; }
  .brand-copy { transform: none; text-align: center; }
  .company-lockup { justify-content: center; margin-bottom: 22px; }
  .company-lockup img { width: 34px; height: 34px; }
  .company-lockup strong { font-size: 15px; }
  .brand-copy h1 { font-size: 38px; letter-spacing: .08em; }
  .brand-product { margin-top: 14px; font-size: 24px; }
  .brand-rule { margin: 20px auto; width: 44px; }
  .brand-line { font-size: 14px; }
  .business-scope { margin-top: 12px; font-size: 10px; }
  .company-values { display: none; }
  .yard-lines { opacity: .28; inset: 15% -10% 42%; }
  .form-panel { padding: 0; justify-content: center; }
  .login-card { width: min(100%, 480px); padding: 34px 24px 30px; border-radius: 14px; }
  .card-brand { margin: -4px 0 26px; justify-content: center; }
  .card-brand::after { display: none; }
  .field, .submit { height: 58px; }
  footer { bottom: 22px; font-size: 12px; }
}
@media (max-height: 720px) and (min-width: 861px) {
  .brand-copy { transform: translateY(-3vh); }
  .login-card { padding: 38px 46px; }
  .field { height: 56px; margin-bottom: 20px; }
  .submit { height: 58px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
