.login-shell { min-height: 100svh; display: grid; grid-template-columns: minmax(480px, 54%) minmax(360px, 46%); background: var(--paper); }
.login-panel { min-width: 0; }
.login-panel-inner { width: min(100%, 760px); min-height: 100svh; margin-left: auto; padding: 32px clamp(34px, 6vw, 84px); display: flex; flex-direction: column; }
.login-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.login-brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.025em; }
.login-logo { width: 38px; height: 38px; display: grid; place-items: center; color: var(--navy); background: var(--mint); border: 2px solid var(--navy); border-radius: 12px; box-shadow: 3px 3px 0 var(--navy); }
.login-back { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: .84rem; font-weight: 700; }
.login-back:hover { color: var(--mint-dark); }
.login-content { width: min(100%, 440px); margin: auto; padding: 72px 0 50px; }
.login-kicker { color: var(--mint-dark); font-size: .75rem; font-weight: 850; letter-spacing: .15em; }
.login-content h1 { margin: 12px 0 10px; font-size: clamp(2.65rem, 5vw, 4rem); line-height: 1; letter-spacing: -.055em; }
.login-intro { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }
.login-form { margin-top: 35px; }
.login-field + .login-field { margin-top: 20px; }
.login-field label { display: block; margin-bottom: 8px; color: #273950; font-size: .86rem; font-weight: 800; }
.login-field input { width: 100%; height: 50px; padding: 0 14px; color: var(--ink); background: white; border: 1px solid #cbd9e4; border-radius: 10px; outline: none; font-size: 1rem; transition: border-color .18s ease, box-shadow .18s ease; }
.login-field input:hover { border-color: #9eb2c1; }
.login-field input:focus { border-color: var(--mint-dark); box-shadow: 0 0 0 4px rgba(21,159,139,.13); }
.login-field input:disabled { color: #728096; background: #eef4f7; cursor: wait; }
.login-label-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.login-label-row a { margin-bottom: 8px; color: var(--mint-dark); font-size: .8rem; font-weight: 750; }
.login-password-wrap { position: relative; }
.login-password-wrap input { padding-right: 48px; }
.login-password-toggle { position: absolute; top: 5px; right: 5px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink-soft); background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.login-password-toggle:hover { color: var(--ink); background: #edf5f8; }
.login-submit { width: 100%; height: 50px; margin-top: 25px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: var(--navy); background: var(--mint); border: 1px solid var(--navy); border-radius: 10px; box-shadow: 4px 4px 0 var(--navy); font-weight: 850; cursor: pointer; }
.login-submit:hover:not(:disabled) { background: #9aeddd; transform: translateY(-1px); }
.login-submit:disabled { opacity: .78; cursor: wait; }
.login-submit.is-checking .icon { animation: login-spin .8s linear infinite; }
.login-message-slot { min-height: 83px; padding-top: 15px; }
.login-error { padding: 13px 14px; display: flex; align-items: flex-start; gap: 11px; color: #792e31; background: #fff0f0; border: 1px solid #f0bcbc; border-radius: 10px; }
.login-error[hidden] { display: none; }
.login-error > svg { flex: none; margin-top: 1px; }
.login-error div { display: flex; flex-direction: column; gap: 3px; }
.login-error strong { font-size: .85rem; }
.login-error span { font-size: .83rem; line-height: 1.45; }
.login-help { margin: 2px 0 0; color: var(--ink-soft); font-size: .82rem; text-align: center; }
.login-help a { color: var(--mint-dark); font-weight: 800; }
.login-footer { display: flex; justify-content: space-between; gap: 20px; color: #758397; font-size: .72rem; }
.login-footer > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.login-footer i { width: 7px; height: 7px; display: inline-block; background: #2fbd92; border-radius: 50%; box-shadow: 0 0 0 3px rgba(47,189,146,.13); }
.login-visual { min-width: 0; min-height: 100svh; position: relative; overflow: hidden; background: var(--navy); }
.login-visual > img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 61% center; }
.login-visual-shade { position: absolute; inset: 0; background: rgba(7,21,41,.25); }
.login-visual-copy { position: absolute; left: clamp(28px, 5vw, 70px); right: clamp(28px, 5vw, 70px); bottom: 55px; padding: 24px; color: white; background: rgba(7,21,41,.88); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; backdrop-filter: blur(14px); }
.login-visual-copy > span { display: flex; align-items: center; gap: 8px; color: var(--mint); font-size: .78rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.login-visual-copy blockquote { margin: 14px 0 9px; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.2; letter-spacing: -.035em; font-weight: 750; }
.login-visual-copy p { margin: 0; color: #b9c9d8; font-size: .78rem; }
@keyframes login-spin { to { transform: rotate(360deg); } }
@media (max-width: 840px) {
  .login-shell { display: block; }
  .login-panel-inner { width: 100%; padding: 25px 24px; }
  .login-content { padding: 70px 0 45px; }
  .login-visual { display: none; }
}
@media (max-width: 500px) {
  .login-header { align-items: flex-start; }
  .login-back { width: 36px; height: 36px; overflow: hidden; gap: 20px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; }
  .login-back svg { flex: none; }
  .login-content { padding-top: 60px; }
  .login-footer { flex-direction: column; gap: 8px; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .login-submit.is-checking .icon { animation-duration: 1.5s; } }
