/* Login only: graphite identity, original URSA bear, native authentication. */
#loginOverlay { background: #18181b; background-image: radial-gradient(ellipse at 15% 0%, #333337 0%, transparent 60%); padding: 32px; align-items: center; backdrop-filter: none; }
#loginOverlay .login-card { display: grid; grid-template-columns: .95fr 1.05fr; width: min(980px, 100%); max-width: 980px; padding: 0; margin: auto; border: 1px solid #ffffff19; border-radius: 24px; background: #fafafa; box-shadow: 0 32px 100px #0005; text-align: left; overflow: hidden; backdrop-filter: none; }
#loginOverlay * { box-sizing: border-box; }
#loginOverlay { height: 100dvh; overflow-y: auto; overscroll-behavior: contain; padding-top: max(32px, env(safe-area-inset-top)); padding-bottom: max(32px, env(safe-area-inset-bottom)); }
#loginOverlay .login-card { flex-shrink: 0; }
.login-story { position: relative; min-width: 0; padding: 42px; background: #222225; color: #f9f9fa; overflow: hidden; display: flex; flex-direction: column; }
.login-product { display: flex; align-items: center; gap: 13px; font-size: 19px; font-weight: 800; letter-spacing: .13em; }
.login-product span { border-left: 1px solid #ffffff30; padding-left: 13px; font-size: 9px; font-weight: 500; letter-spacing: .19em; color: #bdbdc3; }
.login-story-copy { position: relative; z-index: 1; margin-top: 66px; }
#loginOverlay .login-eyebrow { font-size: 9px; font-weight: 600; letter-spacing: .18em; color: #737378; }
.login-story .login-eyebrow { color: #a2a2aa !important; }
#loginOverlay .login-story h2 { font-size: clamp(34px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.055em; line-height: 1.13; margin: 17px 0; color: #fafafa; }
.login-story-copy p { max-width: 285px; font-size: 13px; line-height: 1.8; color: #a8a8af; }
.login-orbit { position: relative; width: 200px; height: 170px; margin: 24px auto 10px; display: grid; place-items: center; }
.login-orbit-ring { position: absolute; width: 170px; height: 170px; border: 1px solid #ffffff12; border-radius: 50%; }
.login-orbit-ring:nth-child(2) { width: 122px; height: 122px; border-color: #ffffff1c; }
.login-orbit-ring:nth-child(3) { width: 74px; height: 74px; border-color: #ffffff26; }
.login-orbit-core { display: grid; place-items: center; width: 45px; height: 45px; background: #303034; border: 1px solid #ffffff20; border-radius: 14px; box-shadow: 0 0 40px #ffffff08; }
.login-orbit-core svg { width: 23px; height: 23px; color: #dadade; }
.login-orbit i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #c2c2c8; top: 48px; left: 48px; }
.login-orbit i:last-child { top: 124px; left: 174px; background: #74747c; }
.login-story-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 25px; font-size: 8px; letter-spacing: .13em; color: #96969e; border-top: 1px solid #ffffff10; }
.login-access { min-width: 0; padding: 46px 48px 30px; color: #242427; }
.login-identity { display: flex; align-items: center; gap: 12px; }
.login-bear { position: relative; display: block; width: 63px; height: 42px; flex: 0 0 63px; overflow: hidden; }
.login-bear img { position: absolute; width: 98px; max-width: none; height: auto; top: -11px; left: -17px; filter: grayscale(1) contrast(5); mix-blend-mode: multiply; }
.login-identity strong { display: block; font-size: 10px; letter-spacing: .075em; font-weight: 800; }
.login-identity > div > span { display: block; margin-top: 5px; font-size: 9px; color: #77777d; }
.login-welcome { margin: 48px 0 30px; }
#loginOverlay h1 { font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -.045em; margin: 12px 0 10px; }
.login-welcome p { font-size: 12px; color: #77777d; line-height: 1.65; margin: 0; }
#loginForm .form-group { margin: 0 0 19px; }
#loginForm .form-label { display: block; margin-bottom: 9px; color: #45454b; font-size: 12px; font-weight: 600; }
#loginOverlay .form-control { width: 100%; height: 50px; padding: 0 15px; font-size: 16px; background: #fff !important; border: 1px solid #dcdce0 !important; border-radius: 10px !important; color: #242427 !important; box-shadow: none; }
#loginOverlay .form-control::placeholder { color: #96969c; font-size: 13px; }
#loginOverlay .form-control:focus { outline: none; border-color: #66666e !important; box-shadow: 0 0 0 3px #24242710 !important; }
.login-password { position: relative; }
#loginOverlay #loginPass { padding-right: 52px; }
#btnToggleLoginPass { position: absolute; right: 3px; top: 3px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: #727279; border-radius: 8px; cursor: pointer; }
#loginOverlay :is(button, a):focus-visible { outline: 2px solid #6b6b73; outline-offset: 3px; }
#loginOverlay #btnLoginSubmit { display: flex; justify-content: center; width: 100%; min-height: 50px; margin-top: 27px; background: #252528 !important; color: #fff; font-size: 13px; font-weight: 600; border: 1px solid #252528; border-radius: 10px; box-shadow: none !important; cursor: pointer; }
#loginOverlay #btnLoginSubmit:hover { background: #3a3a3f !important; transform: none; }
#loginOverlay #btnLoginSubmit:disabled { opacity: .65; cursor: wait; }
#loginErrorBox { margin: 12px 0; padding: 12px; font-size: 12px; line-height: 1.5; border-radius: 8px; }
.login-access-footer { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 32px; font-size: 10px; color: #88888f; }
.login-access-footer svg { width: 13px; height: 13px; }
@media (max-width: 760px) {
  #loginOverlay { padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
  #loginOverlay .login-card { grid-template-columns: 1fr; max-width: 440px; border-radius: 20px; }
  .login-story { display: none; }
  .login-access { padding: 34px 30px 26px; }
  .login-welcome { margin-top: 37px; }
}
@media (max-width: 360px) {
  #loginOverlay { padding: 12px; }
  .login-access { padding: 28px 22px 24px; }
  #loginOverlay h1 { font-size: 25px; }
  .login-identity { gap: 8px; }
  .login-identity strong { font-size: 9px; }
}
@media (max-height: 650px) and (min-width: 761px) {
  #loginOverlay { padding: 18px; }
  .login-story-copy { margin-top: 30px; }
  .login-orbit { height: 140px; margin: 8px auto; }
  .login-access { padding-top: 28px; padding-bottom: 24px; }
  .login-welcome { margin-top: 28px; }
}
