.login-page { background: #fff; }
.login-layout { display: grid; grid-template-columns: minmax(360px, 46%) 1fr; min-height: 100vh; min-height: 100svh; }
.login-brand-panel { display: flex; flex-direction: column; justify-content: space-between; padding: 48px clamp(32px, 5vw, 80px) 34px; background: var(--navy); color: #fff; overflow: hidden; }
.login-brand { display: flex; align-items: center; gap: 12px; }
.login-brand > svg { width: 44px; height: 44px; color: #8bcbdc; }
.login-brand > span { font-size: 38px; font-weight: 850; letter-spacing: -1.8px; line-height: 1; }
.login-brand small { display: block; margin-top: 9px; color: #c3d4e1; font-size: 12px; font-weight: 500; letter-spacing: .2px; }
.login-brand-story { margin: 65px 0 36px; }
.login-brand-headline { font-size: clamp(38px, 4.3vw, 64px); font-weight: 750; line-height: 1.12; letter-spacing: -2px; }
.login-brand-description { margin-top: 24px; color: #c3d4e1; font-size: 17px; line-height: 1.7; }
.login-route-art { display: block; width: calc(100% + 30px); height: auto; margin: 30px -15px 0; stroke: none; }
.login-map-streets { stroke: #304860; stroke-width: 1; }
.login-route-shadow { stroke: #233f54; stroke-width: 22; }
.login-route-line { stroke: #8bcbdc; stroke-width: 4; }
.login-route-point { fill: var(--navy); stroke: #8bcbdc; stroke-width: 4; }
.login-route-destination { fill: #8bcbdc; }
.login-route-check { stroke: var(--navy); stroke-width: 3; }
.login-brand-footer { color: #b2c5d5; font-size: 13px; }
.login-main { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; padding: 76px 40px 96px; }
.login-form-wrap { width: 100%; max-width: 400px; }
.login-heading { margin-bottom: 34px; }
.login-heading h1 { font-size: clamp(28px, 2.7vw, 38px); letter-spacing: -1.25px; line-height: 1.2; }
.login-heading p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.login-field { margin-bottom: 24px; }
.login-field label { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 650; }
.login-field input { display: block; width: 100%; height: 54px; padding: 12px 15px; border: 1px solid #a8b8c6; border-radius: 8px; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.5; box-shadow: 0 1px 2px #14283f05; }
.login-field input:hover { border-color: #738b9e; }
.login-field input:focus { border-color: var(--blue); outline: 3px solid #086e8b28; outline-offset: 2px; }
.login-password-field { position: relative; }
.login-password-field:has(button:not([hidden])) input { padding-right: 98px; }
.login-password-field button { position: absolute; top: 5px; right: 5px; min-width: 84px; min-height: 44px; padding: 8px 10px; border-radius: 5px; color: var(--blue); font-size: 13px; font-weight: 650; }
.login-password-field button:hover { background: var(--soft); }
.login-submit { display: flex; justify-content: center; align-items: center; gap: 14px; width: 100%; min-height: 54px; margin-top: 32px; padding: 14px 20px; background: var(--blue); border: 1px solid var(--blue); border-radius: 8px; color: #fff; font-size: 16px; font-weight: 700; transition: background-color .15s; }
.login-submit:hover { background: #07566e; border-color: #07566e; }
.login-submit:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.login-submit:disabled { opacity: .7; }
.login-help { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.login-help strong { font-weight: 600; color: var(--ink); }
.login-help p { margin-top: 4px; }
.login-footer { position: absolute; bottom: 30px; color: var(--muted); font-size: 12px; }
.login-notice { margin: 0 0 26px; padding: 15px 17px; border: 1px solid; border-radius: 8px; font-size: 14px; }
.login-notice p { margin-top: 4px; line-height: 1.5; }
.login-notice-error { border-color: #e6b5b2; background: #fff4f3; color: #922c26; }
.login-notice-success { border-color: #b8d7c6; background: #f0f8f3; color: #176342; }
.login-notice:focus { outline: 2px solid currentColor; outline-offset: 3px; }
@media (min-width: 1600px) { .login-brand-story { max-width: 560px; align-self: center; width: 100%; } }
@media (max-width: 800px) {
  .login-layout { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .login-brand-panel { padding: 25px 28px; }
  .login-brand > span { font-size: 30px; }
  .login-brand > svg { width: 36px; height: 36px; }
  .login-brand small { margin-top: 7px; font-size: 11px; }
  .login-brand-story, .login-brand-footer { display: none; }
  .login-main { padding: 48px 24px 28px; justify-content: flex-start; }
  .login-heading h1 { font-size: 30px; }
  .login-footer { position: static; margin-top: 48px; }
}
@media (min-width: 801px) and (max-height: 800px) {
  .login-brand-panel { padding-top: 32px; padding-bottom: 24px; }
  .login-brand-story { margin: 32px 0 24px; }
  .login-brand-headline { font-size: clamp(36px, 3.6vw, 52px); }
  .login-route-art { max-height: 180px; }
  .login-main { padding-top: 48px; padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { .login-submit { transition: none; } }
