.login-page-body { min-height: 100vh; padding: 28px; background: radial-gradient(circle at 86% 14%, rgba(211,155,64,.11), transparent 26%), var(--cream); }
.login-page { width: min(1080px, 100%); min-height: min(690px, calc(100vh - 56px)); display: grid; grid-template-columns: minmax(0,1.05fr) minmax(390px,.95fr); margin: 0 auto; overflow: hidden; border: 1px solid rgba(24,61,51,.08); border-radius: 24px; background: var(--paper); box-shadow: 0 25px 80px rgba(20,50,42,.13); }
.login-story { position: relative; display: flex; flex-direction: column; min-height: 690px; padding: 38px 44px 30px; overflow: hidden; color: #edf5f1; background: radial-gradient(circle at 86% 13%, rgba(240,191,115,.25), transparent 25%), linear-gradient(145deg,#173f34 0%,#12372e 76%); }
.login-story::after { position: absolute; right: -108px; bottom: 78px; width: 350px; height: 350px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; box-shadow: 0 0 0 38px rgba(255,255,255,.025),0 0 0 78px rgba(255,255,255,.02); pointer-events: none; }
.login-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.login-brand .brand-mark { width: 42px; height: 42px; font-size: 20px; }
.login-brand strong,.login-brand small { display: block; }
.login-brand strong { font-size: 15px; letter-spacing: .03em; }
.login-brand small { margin-top: 4px; color: #91afa4; font-size: 9px; letter-spacing: .18em; }
.login-story-copy { position: relative; z-index: 1; margin-top: 105px; }
.login-story-copy .kicker { color: #e5bd77; }
.login-story-copy h1 { margin: 16px 0 14px; color: #fffefa; font: 500 clamp(30px,3.5vw,43px)/1.42 Georgia,"Microsoft YaHei UI",serif; letter-spacing: -.025em; }
.login-story-copy p { max-width: 390px; margin: 0; color: #c1d4cc; font-size: 13px; line-height: 1.9; }
.login-flow { position: relative; z-index: 1; display: grid; gap: 13px; margin-top: 37px; }
.login-flow-line { position: absolute; top: 15px; bottom: 15px; left: 13px; width: 1px; background: linear-gradient(#e5bd77,rgba(255,255,255,.12)); }
.login-flow > div { display: flex; align-items: center; gap: 12px; color: #c3d4cd; font-size: 11px; }
.login-flow i { z-index: 1; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid rgba(229,189,119,.45); border-radius: 50%; color: #f0c87f; background: #173f34; font: 700 9px Georgia,serif; font-style: normal; }
.login-story-foot { position: relative; z-index: 1; margin-top: auto; padding-top: 24px; color: #8eaa9f; font-size: 10px; letter-spacing: .04em; }
.login-panel { display: flex; flex-direction: column; padding: 37px clamp(34px,5vw,68px) 28px; }
.login-panel-top { display: flex; align-items: center; justify-content: space-between; }
.environment-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #eadab8; border-radius: 99px; color: #806331; background: #fbf5e8; font-size: 10px; font-weight: 700; }
.environment-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(211,155,64,.12); }
.login-lock { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--green-2); font-size: 20px; }
.login-heading { margin-top: clamp(58px,9vh,86px); }
.login-eyebrow { color: var(--green-2); font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.login-heading h2 { margin: 10px 0 8px; color: var(--ink); font: 500 31px Georgia,"Microsoft YaHei UI",serif; letter-spacing: -.02em; }
.login-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.login-form { display: grid; gap: 9px; margin-top: 33px; }
.login-form > label { margin-top: 6px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.login-input-wrap { min-height: 47px; display: flex; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid #e0ddd4; border-radius: 10px; color: #82908a; background: #fff; transition: border-color .16s ease,box-shadow .16s ease; }
.login-input-wrap:focus-within { border-color: #78a392; box-shadow: 0 0 0 3px rgba(47,117,96,.1); }
.login-input-wrap > span { width: 18px; color: #7e9b90; font-size: 15px; text-align: center; }
.login-input-wrap input { width: 100%; min-width: 0; height: 44px; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.login-input-wrap input::placeholder { color: #aab2ad; }
.login-input-wrap input:focus-visible { outline: 0; }
.password-visibility { padding: 5px 0 5px 7px; border: 0; color: var(--green-2); background: transparent; font-size: 10px; font-weight: 700; }
.login-error { min-height: 17px; margin: 2px 0 0; color: #b64f3c; font-size: 10px; line-height: 1.6; }
.login-submit { width: 100%; min-height: 47px; display: flex; align-items: center; justify-content: space-between; margin-top: 3px; padding-inline: 17px; border-radius: 10px; font-size: 12px; }
.login-submit b { font-size: 17px; font-weight: 400; transition: transform .16s ease; }
.login-submit:hover b { transform: translateX(3px); }
.login-submit:disabled { cursor: wait; opacity: .7; }
.login-security-note { display: flex; align-items: center; gap: 7px; margin: 19px 0 0; color: #75827c; font-size: 9px; }
.login-security-note span { width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--mint); font-size: 9px; font-weight: 800; }
.login-panel-foot { margin-top: auto; padding-top: 26px; color: #9aa39f; font-size: 9px; letter-spacing: .12em; text-align: center; }
.login-panel-foot span { padding-inline: 4px; color: #d0a75e; }
@media (max-width: 760px) {
  .login-page-body { min-height: 100svh; padding: 0; background: var(--paper); }
  .login-page { min-height: 100svh; display: block; border: 0; border-radius: 0; box-shadow: none; }
  .login-story { display: none; }
  .login-panel { min-height: 100svh; padding: 25px clamp(24px,8vw,42px) 20px; }
  .login-heading { margin-top: clamp(65px,14vh,115px); }
  .login-form { margin-top: 29px; }
  .login-panel-foot { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
