:root { --ink: #172126; --muted: #6c7a80; --line: #dbe3e5; --surface: #ffffff; --canvas: #f3f7f7; --cyan: #087e8b; --green: #159267; --amber: #d28a16; }
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif; letter-spacing: 0; }
button, input { font: inherit; letter-spacing: 0; }
.login-shell { display: grid; grid-template-columns: minmax(340px, 42%) minmax(420px, 1fr); min-height: 100vh; }
.identity-panel { display: flex; min-height: 100vh; flex-direction: column; padding: clamp(28px, 5vw, 68px); background: #19272a; color: #f5fbfa; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #4b6668; color: #65d2c2; font: 750 13px/1 Consolas, monospace; }
.brand div { display: grid; gap: 2px; }
.brand strong { font-size: 15px; }
.brand span:last-child { color: #93a9aa; font-size: 10px; text-transform: uppercase; }
.identity-copy { max-width: 520px; margin: auto 0 42px; }
.eyebrow { color: #40b9c3; font: 700 10px/1.2 Consolas, monospace; text-transform: uppercase; }
.identity-copy h1 { margin: 14px 0 12px; font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: 0; }
.identity-copy p { max-width: 470px; margin: 0; color: #b9c8c8; font-size: 14px; line-height: 1.8; }
.route-map { border-top: 1px solid #35484a; }
.route-map > div { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; min-height: 48px; border-bottom: 1px solid #35484a; }
.route-map i { width: 7px; height: 7px; border: 2px solid #4ac0ca; border-radius: 50%; }
.route-map span { color: #91a5a6; font-size: 11px; }
.route-map strong { font-size: 11px; font-weight: 650; }
.security-note { display: flex; gap: 11px; align-items: flex-start; margin-top: 28px; }
.security-note > span { width: 3px; height: 34px; background: var(--green); }
.security-note div { display: grid; gap: 4px; }
.security-note strong { font-size: 11px; }
.security-note small { color: #91a5a6; font-size: 10px; line-height: 1.5; }
.login-panel { display: grid; min-height: 100vh; place-items: center; padding: 32px; background: var(--surface); }
.login-form { width: min(390px, 100%); }
.login-form header { margin-bottom: 34px; }
.login-form h2 { margin: 9px 0 7px; font-size: 28px; line-height: 1.2; }
.login-form header p { margin: 0; color: var(--muted); font-size: 12px; }
.login-form > label { display: grid; gap: 8px; margin: 0 0 18px; }
.login-form > label > span { font-size: 11px; font-weight: 700; }
input { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 5px; background: #fbfdfd; color: var(--ink); outline: none; }
input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(8, 126, 139, 0.12); }
.password-field { position: relative; }
.password-field input { padding-right: 58px; }
.password-field button { position: absolute; top: 1px; right: 1px; width: 54px; height: 44px; border: 0; background: transparent; color: var(--cyan); font-size: 11px; font-weight: 700; cursor: pointer; }
.error-message { margin: -5px 0 16px; padding: 10px 12px; border-left: 3px solid #c53d3d; background: #fff4f3; color: #9e2929; font-size: 11px; }
.submit-button { display: flex; width: 100%; height: 47px; align-items: center; justify-content: space-between; margin-top: 24px; padding: 0 16px; border: 0; border-radius: 5px; background: var(--cyan); color: white; font-size: 12px; font-weight: 750; cursor: pointer; }
.submit-button:hover { background: #066d78; }
.submit-button:disabled { cursor: wait; opacity: 0.65; }
.submit-button b { font-size: 18px; font-weight: 400; }
.login-form footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin-top: 24px; color: var(--muted); font-size: 9px; text-align: center; }
.login-form footer span:first-child, .login-form footer span:last-child { height: 1px; background: var(--line); }
@media (max-width: 780px) {
  .login-shell { grid-template-columns: 1fr; }
  .identity-panel { min-height: auto; padding: 22px 20px 26px; }
  .identity-copy { margin: 42px 0 28px; }
  .identity-copy h1 { font-size: 34px; }
  .identity-copy p, .security-note, .route-map > div:nth-child(2) { display: none; }
  .login-panel { min-height: auto; padding: 44px 20px 64px; place-items: start center; }
}
