* { box-sizing: border-box; }
body { margin: 0; background: #f8f9fd; color: var(--es-text); font-family: var(--es-font), sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.login-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; padding: 20px; gap: 20px; max-width: 1800px; margin: auto; }
.login-brand { display: flex; flex-direction: column; position: relative; overflow: hidden; padding: 42px 50px 30px; border-radius: 24px; color: #fff; background: radial-gradient(ellipse at 80% 85%, #16397b 0, transparent 55%), radial-gradient(ellipse at 5% 0%, #163054 0, transparent 45%), #070b27; }
.login-brand::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12; background-image: linear-gradient(#a9c8ff20 1px, transparent 1px), linear-gradient(90deg, #a9c8ff20 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(transparent, #000); }
.login-logo { object-fit: contain; object-position: left; position: relative; z-index: 1; }
.login-brand-copy { margin-top: clamp(48px, 8vh, 100px); position: relative; z-index: 1; }
.login-eyebrow { color: #79d8ff; font-size: 10px; letter-spacing: .2em; font-weight: 700; }
.login-brand h1 { font-family: var(--es-font-display), sans-serif; font-size: clamp(34px, 3.5vw, 58px); font-weight: 500; letter-spacing: -.045em; line-height: 1.18; margin: 18px 0 20px; }
.login-brand-copy > p { max-width: 365px; color: #aebcd9; font-size: 15px; line-height: 1.8; margin: 0; }
.login-art { position: relative; width: 100%; max-width: 460px; height: 290px; margin: auto; flex-shrink: 0; z-index: 1; }
.login-orbit { position: absolute; border: 1px solid #6fafff24; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.login-orbit--outer { width: 310px; height: 310px; }
.login-orbit--inner { width: 210px; height: 210px; background: radial-gradient(circle, #32c5ff12, transparent 72%); }
.login-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-8deg); width: 80px; height: 80px; display: grid; place-items: center; border: 1px solid #57d1ff5c; border-radius: 24px; color: #69d6ff; background: linear-gradient(135deg, #173760, #101d42); box-shadow: 0 0 65px #229bff25, inset 0 1px #ffffff15; }
.login-core svg { width: 48px; height: 48px; }
.login-node { position: absolute; display: flex; align-items: center; gap: 11px; padding: 13px 16px; border: 1px solid #6486b63d; border-radius: 13px; background: #142446; box-shadow: 0 10px 30px #02061826; font-size: 12px; font-weight: 500; }
.login-node small { display: block; margin-top: 5px; color: #aebcd9; font-size: 9px; font-weight: 400; }
.login-node-icon { display: grid; place-items: center; width: 30px; height: 32px; border-radius: 9px; color: #78d9ff; background: #32c5ff15; font-size: 22px; }
.login-node--customers { top: 18px; left: 2%; transform: rotate(-5deg); }
.login-node--operations { top: 113px; right: -2%; transform: rotate(5deg); }
.login-node--support { bottom: 8px; left: 8%; transform: rotate(-3deg); }
.login-orbit-dot { position: absolute; bottom: 46px; right: 24%; width: 8px; height: 8px; background: #60d4ff; border-radius: 50%; box-shadow: 0 0 0 6px #32c5ff12; }
.login-brand-footer { display: flex; align-items: center; gap: 10px; color: #aebcd9; font-size: 11px; margin-top: 28px; z-index: 1; }
.login-brand-line { height: 1px; width: 24px; background: #32c5ff; }
.login-panel { display: flex; flex-direction: column; padding: 26px 40px 12px; min-width: 0; }
.login-panel-top { display: flex; justify-content: flex-end; }
.login-access { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--es-border); background: #fff; border-radius: 30px; padding: 8px 13px; color: var(--es-text-3); font-size: 11px; }
.login-access svg { width: 16px; height: 16px; }
.login-form-wrap { width: 100%; max-width: 390px; margin: auto; padding: 55px 0; }
.login-form-mark { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #dce6ff; border-radius: 15px; background: #eaf0ff; color: var(--es-primary); font-size: 27px; margin-bottom: 28px; }
.login-kicker { color: var(--es-text-3); font-size: 10px; font-weight: 700; letter-spacing: .16em; margin: 0 0 12px; }
.login-form-wrap h2 { font-family: var(--es-font-display), sans-serif; font-size: 34px; font-weight: 600; letter-spacing: -.045em; line-height: 1.25; margin: 0 0 12px; }
.login-intro { color: var(--es-text-3); font-size: 14px; line-height: 1.6; margin: 0 0 34px; }
.login-field { margin-bottom: 22px; }
.login-field label { display: block; font-size: 12px; font-weight: 500; margin-bottom: 9px; }
.login-field input { width: 100%; min-height: 50px; padding: 12px 15px; background: #fff; border: 1px solid #d7deeb; border-radius: 9px; color: var(--es-text); font-size: 14px; outline: none; transition: border-color 150ms, box-shadow 150ms; }
.login-field input::placeholder { color: #7c859a; }
.login-field input:focus { border-color: var(--es-primary); box-shadow: 0 0 0 3px #2660f514; }
.login-field input[aria-invalid="true"] { border-color: var(--es-danger); }
.login-password-wrap { position: relative; }
.login-password-wrap input { padding-right: 70px; }
.login-reveal { position: absolute; right: 6px; top: 5px; height: 40px; min-width: 54px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--es-text-2); font-size: 11px; font-weight: 500; }
.login-reveal:hover { background: var(--es-surface-3); }
.login-submit { display: flex; align-items: center; justify-content: center; position: relative; width: 100%; min-height: 50px; margin-top: 8px; padding: 12px 48px; border: 1px solid #2156dd; border-radius: 9px; color: #fff; background: var(--es-gradient-button); box-shadow: 0 5px 12px #2660f51c; font-size: 14px; font-weight: 500; transition: background 150ms, box-shadow 150ms; }
.login-submit:hover { background: var(--es-primary-hover); box-shadow: 0 5px 16px #2660f530; }
.login-submit-arrow { position: absolute; right: 17px; font-size: 20px; }
.login-submit:disabled { cursor: wait; opacity: .75; }
button:focus-visible { outline: 2px solid var(--es-primary); outline-offset: 4px; }
.login-alert, .login-field-error { color: #b42318; font-size: 12px; line-height: 1.6; }
.login-alert { padding: 13px 15px; background: #fff0ee; border: 1px solid #ffd3cd; border-radius: 9px; margin-bottom: 24px; }
.login-field-error { margin: 7px 0 0; }
.login-status { color: var(--es-text-3); font-size: 12px; margin: 10px 0 0; }
.login-status:empty { display: none; }
.login-help { text-align: center; color: var(--es-text-3); font-size: 12px; line-height: 1.7; border-top: 1px solid var(--es-border); margin: 28px 0 0; padding-top: 24px; }
.login-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--es-text-3); font-size: 10px; }
@media (min-width: 1500px) { .login-brand { padding: 48px 70px 36px; } .login-art { height: 340px; } }
@media (max-width: 1000px) { .login-brand { padding: 30px; } .login-panel { padding-inline: 25px; } .login-node { padding: 10px; } .login-node small { display: none; } }
@media (max-width: 760px) {
  .login-shell { grid-template-columns: 1fr; gap: 0; padding: 12px; min-height: 100svh; }
  .login-brand { padding: 20px 24px 24px; border-radius: 18px; }
  .login-logo { width: 132px; height: 40px; }
  .login-brand-copy { margin-top: 24px; }
  .login-brand h1 { font-size: 30px; margin: 10px 0 0; }
  .login-brand h1 br { display: none; }
  .login-brand-copy > p, .login-art, .login-brand-footer, .login-eyebrow { display: none; }
  .login-panel { padding: 24px 16px 12px; }
  .login-panel-top { justify-content: flex-start; }
  .login-form-wrap { max-width: 440px; padding: 30px 0 40px; }
  .login-form-mark { display: none; }
  .login-form-wrap h2 { font-size: 30px; }
  .login-field input { font-size: 16px; }
  .login-intro { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
