.k-login {
  --k-bg: #030b1c;
  --k-panel: #08152d;
  --k-blue: #238bff;
  --k-copy: #a8bad6;
  --k-line: #1b4075;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  font-family: Inter, "Segoe UI", sans-serif;
  background: radial-gradient(ellipse at 24% 98%, #0b2a5d 0, transparent 48%), radial-gradient(ellipse at 87% 47%, #0b1e3e 0, transparent 42%), var(--k-bg);
}
.k-login *, .k-login *::before, .k-login *::after { box-sizing: border-box; }
.k-login-grid { position: absolute; z-index: -1; inset: 0; opacity: .18; background-image: linear-gradient(#17437855 1px, transparent 1px), linear-gradient(90deg, #17437855 1px, transparent 1px); background-size: 84px 84px; mask-image: linear-gradient(110deg, transparent, #000 70%, transparent); }
.k-login::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(140deg, transparent 51%, #238bff0a 51.1%, transparent 51.3%), linear-gradient(36deg, transparent 38%, #238bff0c 38.1%, transparent 38.3%); }
.k-login-shell { width: min(1600px, 100%); min-height: 100vh; min-height: 100svh; margin: 0 auto; display: grid; grid-template-columns: 55% 45%; }
.k-login-brand { position: relative; min-width: 0; display: flex; flex-direction: column; padding: clamp(32px, 4.5vw, 72px) 0 70px clamp(32px, 6.2vw, 100px); }
.k-login-logo { position: relative; z-index: 2; display: block; width: clamp(215px, 21vw, 285px); height: auto; object-fit: contain; }
.k-login-watermark { position: absolute; top: 16%; right: -7%; width: min(480px, 72%); height: auto; opacity: .065; pointer-events: none; filter: saturate(.7); }
.k-login-pitch { position: relative; z-index: 1; margin: auto 0; padding: 58px 0 128px; animation: k-login-reveal .7s ease-out both; }
.k-login-eyebrow { margin: 0 0 24px; color: #80baff; font-size: 10px; line-height: 1.8; font-weight: 650; letter-spacing: .19em; text-transform: uppercase; }
.k-login h1 { margin: 0; font-size: clamp(42px, 4.5vw, 76px); line-height: 1.06; font-weight: 750; letter-spacing: -.048em; }
.k-login h1 span { color: var(--k-blue); text-shadow: 0 0 45px #238bff2b; }
.k-login-description { max-width: 495px; margin: 26px 24px 30px 0; font-size: 15px; line-height: 1.8; color: var(--k-copy); }
.k-login-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; max-width: 570px; margin-right: 22px; }
.k-login-feature { min-width: 0; padding: 15px 11px 13px; border: 1px solid #284e7e66; border-radius: 10px; background: linear-gradient(145deg, #0b234481, #07152dbc); transition: border-color .2s, background .2s; }
.k-login-feature:hover { border-color: #398bf393; background: #0c2649cc; }
.k-login-feature svg { color: #55a5ff; display: block; margin-bottom: 13px; }
.k-login-feature strong { display: block; font-size: 12px; font-weight: 650; }
.k-login-feature span { display: block; color: #94aac8; font-size: 10px; line-height: 1.5; margin-top: 4px; }
.k-login-globe { position: absolute; pointer-events: none; z-index: 0; width: 790px; max-width: 112%; left: -48px; bottom: -208px; opacity: .66; }
.k-login-node { animation: k-login-node 5s ease-in-out infinite; }
.k-login-form-panel { position: relative; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 52px clamp(28px, 4vw, 65px) 52px 28px; }
.k-login-card { position: relative; z-index: 1; width: 100%; max-width: 460px; padding: clamp(30px, 3.2vw, 48px); border: 1px solid #285b9e; border-radius: 28px; background: linear-gradient(140deg, #0c1d39ed, #071329f5 70%); box-shadow: 0 0 0 7px #122b501c, 0 0 70px #1464ff13, 0 25px 65px #0005, inset 0 1px #6daaff15; animation: k-login-reveal .7s .12s ease-out both; }
.k-login-card-topline { position: absolute; top: -1px; left: 18%; width: 64%; height: 1px; background: linear-gradient(90deg, transparent, #68b4ff, transparent); box-shadow: 0 0 16px 2px #238bff35; }
.k-login-access-icon { width: 49px; height: 49px; border-radius: 14px; display: grid; place-items: center; color: #70b8ff; background: linear-gradient(135deg, #133d6b90, #091d3970); border: 1px solid #2867a670; margin-bottom: 29px; }
.k-login-form-eyebrow { font-size: 9px !important; letter-spacing: .2em; text-transform: uppercase; color: #7da4d0 !important; margin: 0 0 13px !important; }
.k-login-card h2 { font-size: clamp(24px, 2.25vw, 33px); font-weight: 650; line-height: 1.23; letter-spacing: -.045em; margin: 0; white-space: nowrap; }
.k-login-card h2 span { color: #459cff; }
.k-login-card header > p { color: var(--k-copy); font-size: 13px; line-height: 1.75; margin: 14px 0 30px; }
.k-login-form { display: grid; gap: 21px; }
.k-login-field { display: grid; gap: 10px; }
.k-login-field label { color: #c9d9ef; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; font-weight: 600; }
.k-login-input { display: flex; align-items: center; gap: 12px; min-height: 56px; border: 1px solid #264567; border-radius: 11px; padding: 0 15px; background: #040f22b3; transition: border-color .2s, box-shadow .2s; color: #7495bc; }
.k-login-input > svg { flex: 0 0 auto; }
.k-login-input:focus-within { border-color: #459cff; box-shadow: 0 0 0 3px #238bff1c; }
.k-login-input[data-invalid="true"] { border-color: #ef7373; }
.k-login-input input { display: block; min-width: 0; width: 100%; min-height: 54px; padding: 0; border: 0; border-radius: 0; outline: none; color: #f5f9ff; background: transparent; font: inherit; font-size: 14px; box-shadow: none; }
.k-login-input input::placeholder { color: #7890ad; opacity: 1; }
.k-login-input input:-webkit-autofill { -webkit-text-fill-color: #f5f9ff; box-shadow: 0 0 0 1000px #07152d inset; caret-color: #fff; }
.k-login-password-toggle { display: grid; place-items: center; flex: 0 0 44px; min-width: 44px; height: 44px; margin-right: -9px; padding: 0; border: 0; border-radius: 7px; color: #91add0; background: transparent; cursor: pointer; }
.k-login-password-toggle:hover { color: #fff; background: #238bff17; }
.k-login-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 56px; margin-top: 9px; padding: 0 20px; border: 1px solid #469dff; border-radius: 12px; color: #fff; font: inherit; font-size: 15px; font-weight: 650; background: linear-gradient(105deg, #238bff, #1454f5); box-shadow: 0 9px 30px #1464ff25, inset 0 1px #ffffff26; cursor: pointer; transition: filter .2s, transform .2s; }
.k-login-submit:hover:not(:disabled) { filter: brightness(1.12); transform: translateY(-1px); }
.k-login-submit:disabled { cursor: wait; opacity: .7; }
.k-login :is(button, input):focus-visible { outline: 2px solid #92caff; outline-offset: 4px; }
.k-login-input input:focus-visible { outline: none; }
.k-login-error { padding: 12px 13px; margin: 0; font-size: 12px; line-height: 1.6; color: #ffd0d0; border: 1px solid #ef444455; border-radius: 9px; background: #ef444411; }
.k-login-form-orbit { position: absolute; width: 520px; height: 520px; max-width: 100%; border: 1px solid #238bff08; border-radius: 50%; pointer-events: none; }
.k-login-spinner { animation: k-login-spin 1s linear infinite; }
.k-login-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes k-login-reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes k-login-node { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes k-login-spin { to { transform: rotate(360deg); } }
@media (min-width: 901px) and (max-height: 780px) {
  .k-login-brand { padding-top: 32px; padding-bottom: 30px; }
  .k-login-pitch { padding-top: 38px; padding-bottom: 58px; }
  .k-login h1 { font-size: clamp(42px, 4.1vw, 62px); }
  .k-login-globe { bottom: -260px; }
  .k-login-card { padding-top: 30px; padding-bottom: 34px; }
  .k-login-access-icon { margin-bottom: 22px; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .k-login-shell { grid-template-columns: 53% 47%; }
  .k-login-brand { padding-left: 38px; }
  .k-login-features { grid-template-columns: repeat(2, 1fr); max-width: 360px; }
  .k-login-feature { display: grid; grid-template-columns: 24px 1fr; column-gap: 10px; }
  .k-login-feature svg { grid-row: span 2; margin: 0; align-self: center; }
  .k-login-feature span { margin-top: 2px; }
  .k-login-card { padding: 30px 25px; }
}
@media (max-width: 900px) {
  .k-login-shell { grid-template-columns: 1fr; max-width: 620px; align-content: start; }
  .k-login-brand { padding: 32px 30px 0; }
  .k-login-pitch { padding: 28px 0 0; margin: 0; }
  .k-login-eyebrow { font-size: 8px; margin-bottom: 17px; }
  .k-login h1 { font-size: 38px; line-height: 1.14; }
  .k-login h1 br { display: none; }
  .k-login h1 br::after { content: " "; }
  .k-login h1 span { display: block; }
  .k-login h1 { max-width: 480px; }
  .k-login-description, .k-login-features, .k-login-globe { display: none; }
  .k-login-watermark { width: 240px; right: -20px; top: 20px; opacity: .045; }
  .k-login-form-panel { padding: 28px 30px 44px; }
  .k-login-card { max-width: none; padding: 30px; }
  .k-login-card h2 { font-size: 29px; }
  .k-login-form-orbit { display: none; }
}
@media (max-width: 480px) {
  .k-login-brand { padding: 26px 22px 0; }
  .k-login-logo { width: 215px; }
  .k-login-eyebrow { letter-spacing: .13em; font-size: 7.5px; }
  .k-login h1 { font-size: clamp(28px, 8.2vw, 36px); }
  .k-login-form-panel { padding: 24px 18px 30px; }
  .k-login-card { padding: 27px 23px 30px; border-radius: 22px; }
  .k-login-access-icon, .k-login-form-eyebrow { display: none; }
  .k-login-card h2 { font-size: clamp(23px, 6.5vw, 29px); }
  .k-login-card header > p { margin-bottom: 25px; }
  .k-login-input input { font-size: 16px; }
  .k-login-input { padding-left: 12px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .k-login *, .k-login *::before, .k-login *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
