:root {
  --login-ink: #20252a;
  --login-soft-ink: #5e6161;
  --login-copper: #aa7040;
  --login-line: rgba(77, 72, 66, .19);
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body.login-page { color: var(--login-ink); background: #eeeae3; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.login-scene { position: relative; isolation: isolate; min-height: 100svh; overflow: hidden; background: #eeeae3 url("../images/auth/office-intelligence.webp") center / cover no-repeat; }
.login-scene-wash { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(248,247,244,.03) 0%, rgba(255,255,255,.04) 56%, rgba(255,255,255,.15) 100%); pointer-events: none; }
.login-topbar { position: absolute; z-index: 2; top: clamp(29px, 5.5vw, 72px); left: clamp(32px, 15.3vw, 243px); right: clamp(27px, 4.2vw, 67px); display: flex; align-items: flex-start; }
.login-brand { display: inline-flex; align-items: center; gap: 15px; color: #182026; text-decoration: none; }
.login-brand-mark { width: 48px; height: 48px; color: var(--login-copper); }
.login-brand > span { font: 500 clamp(31px, 3.25vw, 52px)/1 Georgia, "Times New Roman", serif; letter-spacing: -.055em; }
.login-nav { position: absolute; top: 5px; left: 52%; display: flex; align-items: center; gap: clamp(22px, 2.3vw, 38px); color: #4e4d4a; font-size: 11px; letter-spacing: .22em; white-space: nowrap; }
.login-nav i { height: 18px; width: 1px; background: rgba(52,50,47,.25); }
.login-top-note { margin: 1px 0 0 auto; color: rgba(75, 73, 70, .63); font-size: 9px; line-height: 1.55; letter-spacing: .32em; }
.login-story { position: absolute; z-index: 1; left: clamp(34px, 14.6vw, 232px); top: 28%; }
.login-story-rule { width: 36px; height: 2px; margin: 0 0 27px; background: var(--login-copper); }
.login-story h1 { margin: 0; color: #21262a; font: 400 clamp(39px, 3.85vw, 63px)/.99 Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
.login-story-caption { margin: 37px 0 0; color: rgba(66, 67, 67, .76); font-size: 12px; line-height: 2; letter-spacing: .38em; }
.login-story-note { position: absolute; top: 455px; left: -65px; margin: 0; color: rgba(76, 74, 71, .58); font-size: 10px; line-height: 1.9; letter-spacing: .3em; white-space: nowrap; }
.login-card { position: absolute; z-index: 3; top: 50%; left: 50%; width: min(450px, 33vw); min-height: 615px; padding: 52px 44px 39px; border: 1px solid rgba(77, 72, 66, .17); border-radius: 9px; background: rgba(255, 255, 255, .94); box-shadow: 0 20px 55px rgba(67, 57, 45, .11), 0 2px 9px rgba(67, 57, 45, .05); transform: translate(-50%, -50%); }
.login-card-brand { display: flex; flex-direction: column; align-items: center; color: var(--login-copper); }
.login-card-mark { width: 83px; height: 83px; }
.login-card-wordmark { margin-top: 2px; color: #21252a; font: 400 clamp(41px, 4.25vw, 59px)/1 Georgia, "Times New Roman", serif; letter-spacing: -.062em; }
.login-card-subtitle { margin-top: 8px; color: #32373a; font-size: 17px; letter-spacing: .2em; text-indent: .2em; }
.login-copper-rule { display: block; width: 38px; height: 1px; margin: 27px auto 22px; background: var(--login-copper); }
.login-heading { text-align: center; }
.login-heading h2 { margin: 0; font-size: 23px; font-weight: 500; letter-spacing: .08em; }
.login-heading p { margin: 9px 0 0; color: #777976; font-size: 12px; letter-spacing: .12em; }
.login-flash { margin: 20px 0 -2px; }
.login-flash-item { padding: 10px 12px; border: 1px solid rgba(160,77,60,.24); border-radius: 5px; background: rgba(175,82,60,.06); color: #955445; font-size: 12px; line-height: 1.5; }
.login-form { display: grid; gap: 14px; margin-top: 27px; }
.login-input-wrap { position: relative; display: flex; align-items: center; height: 51px; border: 1px solid var(--login-line); border-radius: 6px; background: rgba(255,255,255,.72); transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.login-input-wrap:focus-within { border-color: rgba(170,112,64,.82); background: #fff; box-shadow: 0 0 0 3px rgba(170,112,64,.11); }
.login-input-wrap > svg { flex: none; width: 20px; height: 20px; margin: 0 11px 0 14px; fill: none; stroke: #4d5556; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.login-input-wrap label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; clip-path: inset(50%); }
.login-input-wrap input { min-width: 0; width: 100%; height: 100%; padding: 0 12px 0 0; border: 0; outline: 0; background: transparent; color: #22282c; font: inherit; font-size: 14px; }
.login-input-wrap input::placeholder { color: #7d7e7d; opacity: 1; }
.login-input-wrap input::-ms-reveal { display: none; }
.login-password-toggle { display: grid; flex: none; width: 39px; height: 100%; padding: 0 14px 0 0; place-items: center; border: 0; background: transparent; color: #576061; cursor: pointer; }
.login-password-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.login-password-toggle .eye-closed { display: none; }
.login-password-toggle.is-visible .eye-open { display: none; }
.login-password-toggle.is-visible .eye-closed { display: block; }
.login-password-toggle:focus-visible { outline: 2px solid rgba(170,112,64,.66); outline-offset: -5px; border-radius: 4px; }
.login-submit { display: flex; align-items: center; justify-content: center; position: relative; height: 53px; margin-top: 7px; border: 0; border-radius: 5px; background: #292d2f; color: #fff; cursor: pointer; font: inherit; font-size: 15px; letter-spacing: .22em; text-indent: .22em; transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.login-submit-arrow { position: absolute; right: 17px; font-size: 21px; font-weight: 300; line-height: 1; }
.login-submit:hover { background: #1e2224; box-shadow: 0 8px 17px rgba(30,33,35,.16); transform: translateY(-1px); }
.login-submit:active { transform: translateY(0); }
.login-submit:focus-visible { outline: 2px solid var(--login-copper); outline-offset: 3px; }
.login-submit:disabled { cursor: wait; opacity: .76; transform: none; }
.login-footer-rule { display: flex; align-items: center; gap: 13px; margin-top: 28px; color: #7b7b79; font-size: 10px; letter-spacing: .29em; white-space: nowrap; }
.login-footer-rule i { display: block; flex: 1; height: 1px; background: rgba(83,80,76,.22); }
.login-account { margin-top: 24px; color: #858582; font-size: 11px; text-align: center; }
.login-account a { margin-left: 6px; color: #9d6538; text-decoration: none; }
.login-account a:hover { text-decoration: underline; }
.login-desk-caption { position: absolute; z-index: 2; bottom: 71px; left: 10.6%; margin: 0; color: rgba(74, 71, 68, .62); font-size: 10px; line-height: 1.75; letter-spacing: .28em; }
.login-right-caption { position: absolute; z-index: 2; right: 10.5%; bottom: 66px; margin: 0; color: rgba(74, 71, 68, .58); font-size: 10px; line-height: 1.85; letter-spacing: .3em; }
.login-right-caption::after { content: ""; display: block; width: 36px; height: 1px; margin-top: 17px; background: var(--login-copper); }
@media (max-width: 1180px) { .login-card { width: min(420px, 40vw); } .login-story { left: 8vw; } .login-topbar { left: 8vw; } .login-nav { left: 48%; } .login-top-note { display: none; } }
@media (max-width: 820px) { .login-scene { min-height: 860px; background-position: 39% center; } .login-topbar { top: 25px; left: 25px; right: 25px; } .login-brand-mark { width: 37px; height: 37px; } .login-brand > span { font-size: 33px; } .login-nav, .login-story, .login-desk-caption, .login-right-caption { display: none; } .login-scene-wash { background: rgba(250,249,247,.48); } .login-card { top: 53%; width: min(420px, calc(100% - 32px)); min-height: 0; padding: 39px 30px 34px; } .login-card-mark { width: 68px; height: 68px; } .login-card-wordmark { font-size: 50px; } .login-card-subtitle { font-size: 14px; } }
@media (max-width: 390px) { .login-scene { min-height: 760px; } .login-topbar { left: 20px; top: 20px; } .login-card { width: calc(100% - 24px); padding: 31px 22px 28px; } .login-card-wordmark { font-size: 46px; } .login-heading h2 { font-size: 21px; } .login-footer-rule { gap: 8px; font-size: 8px; letter-spacing: .22em; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
@media (min-width: 821px) {
  .login-story { left: clamp(34px, 12.7vw, 232px); }
  .login-card { min-height: 0; padding-top: 35px; padding-bottom: 29px; }
  .login-card-mark { width: 72px; height: 72px; }
  .login-card-wordmark { font-size: 53px; }
  .login-card-subtitle { margin-top: 5px; font-size: 15px; }
  .login-copper-rule { margin-top: 19px; margin-bottom: 16px; }
  .login-heading h2 { font-size: 21px; }
  .login-heading p { margin-top: 7px; }
  .login-form { gap: 12px; margin-top: 21px; }
  .login-submit { margin-top: 5px; }
  .login-footer-rule { margin-top: 21px; }
  .login-account { margin-top: 17px; }
}
