@import url('/assets/shared/common.css?v=6');

body { overflow-x: hidden; background: var(--paper); }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); --cobalt: var(--teal); --cobalt-deep: #065f56; --cobalt-soft: var(--teal-soft); }
.login-layout :focus-visible { outline-color: #73b9ae; }
.login-layout .brand-mark { border-color: #82bdb3; }
.login-layout .brand-mark::before, .login-layout .brand-mark::after { background: #82bdb3; }
.login-layout .input:focus, .login-layout .select:focus, .login-layout .textarea:focus { outline-color: rgba(8,127,114,.16); }
.login-story { position: relative; display: flex; flex-direction: column; min-height: 100vh; padding: clamp(26px, 4vw, 52px); overflow: hidden; color: #eff5f3; background: var(--rail); }
.login-story::before { content: ""; position: absolute; width: 420px; height: 420px; right: -190px; top: 18%; border: 1px solid rgba(8,127,114,.24); border-radius: 50%; }
.login-brand { position: relative; z-index: 1; width: fit-content; display: flex; align-items: center; gap: 12px; color: #fff; font-size: 1rem; font-weight: 760; text-decoration: none; }
.story-copy { position: relative; z-index: 1; margin: auto 0; }
.accession-label { margin: 0 0 16px; color: #9bc9c1; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.story-copy h1 { max-width: 620px; margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 650;letter-spacing: -.025em;line-height: 1.08;text-wrap: balance; }
.story-copy > p:last-child { max-width: 540px; margin: 20px 0 0; color: #c0d1cf; font-size: clamp(.84rem, 1.2vw, .98rem); line-height: 1.6; }
.flow-proof { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.2); }
.flow-proof div { min-width: 0; padding: 13px 14px 0 0; }
.flow-proof strong { display: block; margin: 0 0 4px; font-size: .88rem; }
.flow-proof small { color: #9bb4b1; font-size: .72rem; }
.login-panel { display: grid; place-items: center; padding: 26px; background: #eef2f4; }
.login-card { width: min(350px, 100%); }
.panel-code { margin: 0 0 14px;color: var(--cobalt);font-size: .72rem;font-weight: 700;letter-spacing: .04em;text-transform: uppercase; }
.login-card h2 { margin: 0; font-size: 1.65rem; letter-spacing: -.03em; }
.login-help { margin: 7px 0 21px; color: var(--ink-muted); font-size: .82rem; line-height: 1.5; }
#login-form { display: grid; gap: 14px; }
.password-wrap { position: relative; }
.password-wrap .input { padding-right: 70px; }
.password-wrap button { position: absolute; right: 6px; top: 6px; width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px; color: var(--cobalt); background: transparent; }
.password-wrap button:hover { color: var(--cobalt-deep); background: var(--cobalt-soft); }
.password-toggle-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.password-toggle-icon--open { display: none; }
.password-wrap button.is-visible .password-toggle-icon--open { display: block; }
.password-wrap button.is-visible .password-toggle-icon--closed { display: none; }
.login-submit { width: 100%; min-height: 40px; margin-top: 3px; color: #fff; background: #1357d4; }
.login-submit:hover { background: #0b3b98; }
.security-note { margin: 24px 0 0;color: var(--ink-muted);font-size: .72rem;line-height: 1.45; }
@media (max-width: 860px) {
  .login-layout { grid-template-columns: 1fr; }
  .login-story { min-height: 44vh; padding: 28px 24px; }
  .story-copy { margin: 68px 0 54px; }
  .story-copy h1 { font-size: clamp(2.4rem, 10vw, 3.8rem); }
  .flow-proof { display: none; }
  .login-panel { min-height: 56vh; padding: 38px 22px 54px; }
}
