:root { font-family: Inter, "Segoe UI", Arial, sans-serif; color: #17191d; background: #f5f6f8; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.login-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100svh; }
.login-story { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 52px 64px 36px; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 0 100%, #204253 0, transparent 55%), radial-gradient(ellipse at 100% 0, #343032 0, transparent 55%), #16181d; }
.login-story::after { position: absolute; width: 380px; height: 380px; right: -220px; bottom: -120px; border: 1px solid #ffffff12; border-radius: 50%; box-shadow: 0 0 0 60px #ffffff03, 0 0 0 120px #ffffff03; content: ""; pointer-events: none; }
.login-brand { display: inline-flex; align-items: center; gap: 13px; width: fit-content; color: inherit; text-decoration: none; }
.login-brand img { width: 43px; height: 43px; }
.login-brand span { font-size: 24px; font-weight: 700; letter-spacing: -.6px; }
.login-brand small { display: block; margin-top: 4px; color: #a4aab4; font-size: 11px; font-weight: 400; letter-spacing: .5px; }
.story-copy { position: relative; z-index: 1; max-width: 470px; padding: 70px 0; }
.eyebrow { color: #a26a33; font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: 1.8px; }
.login-story .eyebrow { color: #d6aa72; }
h1 { margin: 23px 0; font-size: clamp(36px, 4.3vw, 62px); line-height: 1.13; font-weight: 600; letter-spacing: -2px; }
.story-copy p { max-width: 370px; margin: 0; color: #a7aeb8; font-size: 15px; line-height: 1.85; }
.source-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; }
.source-list span { padding: 8px 12px; color: #c7ccd4; border: 1px solid #ffffff20; border-radius: 7px; font-size: 11px; }
.story-footer { color: #9199a5; font-size: 11px; }
.login-panel { position: relative; display: grid; place-items: center; padding: 70px 48px; background: #fafafa; }
.login-card { width: 100%; max-width: 370px; }
h2 { margin: 13px 0 12px; font-size: 29px; line-height: 1.2; font-weight: 650; letter-spacing: -.9px; }
.login-intro { margin: 0 0 35px; color: #747b85; font-size: 14px; line-height: 1.6; }
form label { display: block; margin: 22px 0 9px; color: #3f4650; font-size: 12px; font-weight: 600; }
input { width: 100%; height: 49px; padding: 0 14px; border: 1px solid #dcdfe5; border-radius: 8px; outline: 0; color: #17191d; background: #fff; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: #9a9fa8; }
input:focus { border-color: #bf8263; box-shadow: 0 0 0 3px #ec654f15; }
.password-field { position: relative; }
.password-field input { padding-right: 67px; }
.password-toggle { position: absolute; inset: 4px 5px 4px auto; padding: 0 10px; border: 0; border-radius: 5px; color: #747b85; background: transparent; font-size: 12px; }
.password-toggle:hover { color: #17191d; background: #f5f6f8; }
.login-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 49px; margin-top: 28px; padding: 0 17px; border: 0; border-radius: 8px; color: #fff; background: #df5d48; font-size: 14px; font-weight: 600; transition: background .15s; }
.login-submit:hover { background: #ca4e3b; }
.login-submit:disabled { opacity: .65; cursor: wait; }
.login-error { margin: 15px 0 0; padding: 12px; border: 1px solid #f2d4d2; border-radius: 7px; color: #a93532; background: #fff2f1; font-size: 12px; line-height: 1.5; }
.login-note { margin-top: 25px; color: #818792; text-align: center; font-size: 12px; line-height: 1.6; }
.panel-footer { position: absolute; bottom: 35px; color: #9399a2; font-size: 11px; }
button:focus-visible, a:focus-visible { outline: 2px solid #ec654f; outline-offset: 4px; }
@media (min-width: 1600px) { .login-story { padding-left: max(64px, calc((100vw - 1400px) / 2)); } }
@media (max-width: 900px) { .login-story { padding: 36px; } .login-panel { padding: 60px 32px; } h2 { font-size: 26px; } }
@media (max-width: 640px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-story { padding: 26px 28px; }
  .story-copy, .story-footer { display: none; }
  .login-brand span { font-size: 21px; }
  .login-brand img { width: 36px; height: 36px; }
  .login-panel { min-height: calc(100svh - 95px); padding: 50px 28px 85px; }
  .panel-footer { bottom: 25px; }
}
