:root { font: 14px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; color: #243247; background: #edf0f4; }
* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
body { min-height: 100svh; display: grid; place-items: center; padding: 36px; }
.login-shell { width: min(1080px, 100%); min-height: 680px; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 80px #14213b12; }
.brand-panel { padding: 40px; color: #edf3ff; background: linear-gradient(150deg, #182b49, #101b2e); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.brand-panel::after { content: ""; position: absolute; width: 480px; height: 480px; right: -270px; bottom: -150px; border: 1px solid #5475a735; border-radius: 50%; box-shadow: 0 0 0 50px #5475a708, 0 0 0 100px #5475a706; pointer-events: none; }
.brand { display: flex; gap: 12px; align-items: center; font-size: 21px; font-weight: 600; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; background: #ffffff12; border: 1px solid #ffffff25; border-radius: 6px; font-family: ui-monospace, monospace; }
.brand-content { margin: auto 0; padding: 65px 0; position: relative; z-index: 1; }
.eyebrow { font: 10px/2 ui-monospace, monospace; color: #7387a4; letter-spacing: 2px; margin-bottom: 16px; }
h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.5; letter-spacing: -1px; font-weight: 550; }
.brand-description { color: #9bacC5; margin-top: 18px; font-size: 13px; }
.workflow { display: flex; flex-wrap: wrap; gap: 0; margin-top: 42px; color: #a7b9d6; font-size: 11px; }
.workflow span + span { border-left: 1px solid #ffffff25; margin-left: 16px; padding-left: 16px; }
.brand-footer { display: flex; justify-content: space-between; gap: 12px; color: #71839e; font-size: 10px; position: relative; z-index: 1; }
.form-panel { padding: 40px 52px; display: flex; flex-direction: column; }
.form-content { margin: auto 0; animation: enter .35s ease-out; }
.form-content .eyebrow { color: #7c8ba0; margin-bottom: 9px; }
h2 { font-size: 27px; font-weight: 600; letter-spacing: -.5px; }
.subtitle { font-size: 12px; color: #8190a4; margin-top: 10px; }
form { margin-top: 32px; }
label { display: block; font-size: 12px; color: #4d5f77; margin-bottom: 8px; }
input, button { font: inherit; }
input { width: 100%; border: 1px solid #dfe5ed; border-radius: 7px; background: #f9fafc; color: #263952; padding: 13px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: #a0acbd; font-size: 12px; }
input:focus { border-color: #3467db; box-shadow: 0 0 0 3px #3467db10; }
#username { margin-bottom: 22px; }
.password-field { position: relative; }
.password-field input { padding-right: 63px; }
.password-field button { position: absolute; right: 8px; top: 7px; background: none; border: 0; color: #73839a; padding: 8px; cursor: pointer; font-size: 11px; }
.submit { width: 100%; margin-top: 28px; padding: 13px 16px; border: 1px solid #3467db; border-radius: 7px; color: #fff; background: #3467db; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 13px; transition: background .15s, transform .15s; }
.submit:hover:not(:disabled) { background: #2857c5; }
.submit:active:not(:disabled) { transform: translateY(1px); }
.submit:disabled { opacity: .6; cursor: wait; }
button:focus-visible { outline: 2px solid #3467db; outline-offset: 3px; }
.error { color: #ac3b35; background: #fff0ec; border-radius: 5px; padding: 10px 12px; font-size: 12px; margin-top: 16px; overflow-wrap: anywhere; }
.session-note { font-size: 10px; color: #99a4b5; margin-top: 20px; }
.form-panel footer { display: flex; justify-content: space-between; gap: 10px; padding-top: 40px; color: #9ba7b8; font-size: 10px; }
[hidden] { display: none !important; }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) {
  body { padding: 20px; }
  .login-shell { min-height: 0; max-width: 450px; grid-template-columns: 1fr; }
  .brand-panel { padding: 26px; }
  .brand-content { padding: 24px 0 0; }
  .brand-content .eyebrow, .workflow, .brand-footer { display: none; }
  h1 { font-size: 25px; }
  h1 br { display: none; }
  .brand-description { margin-top: 7px; font-size: 11px; }
  .form-panel { padding: 32px 26px 24px; }
  h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
