/* Login-only presentation; shared application styles remain unchanged. */
.login-page { padding: 32px; color: #172b4d; background: linear-gradient(135deg,#edf2f8,#f8fafc); }
.login-shell { max-width: 1160px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: stretch; gap: 64px; }
.login-story { position: relative; overflow: hidden; isolation: isolate; width: 100%; min-height: 640px; padding: 48px; border-radius: 24px; color: #fff; background: radial-gradient(ellipse at 100% 80%,#214a77,transparent 65%),#102a47; display: flex; flex-direction: column; justify-content: space-between; }
.login-story::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .12; background-image: linear-gradient(#a9c9ed 1px,transparent 1px),linear-gradient(90deg,#a9c9ed 1px,transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(135deg,transparent,#000); }
.login-story::after { content: ''; position: absolute; z-index: -1; width: 370px; height: 370px; right: -190px; bottom: 50px; border: 1px solid #7ca4cc; border-radius: 50%; box-shadow: 0 0 0 55px #ffffff06,0 0 0 110px #ffffff04; }
.story-brand { font-size: 22px; font-weight: 700; letter-spacing: .12em; }
.story-brand span { font-size: 12px; font-weight: 500; letter-spacing: .08em; margin-left: 10px; color: #bfd1e6; }
.story-kicker { font-size: 11px; letter-spacing: .14em; color: #bed3eb; }
.story-copy h2 { font-size: clamp(36px,4vw,52px); line-height: 1.15; letter-spacing: -.04em; margin: 20px 0; color: #fff; }
.story-copy > p:last-child { font-size: 16px; line-height: 1.8; color: #c3d2e4; }
.story-detail { font-size: 12px; color: #b6cbe2; }
.login-panel { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.login-page .login-card { box-sizing: border-box; width: 100%; max-width: 460px; padding: 36px; border: 1px solid #dfe6ef; border-radius: 20px; background: #fff; box-shadow: 0 16px 48px #172b4d08; }
.login-card .login-brand { display: flex; align-items: center; gap: 14px; padding-bottom: 24px; }
.login-card .brand-name { font-size: 19px; font-weight: 700; color: #172b4d; text-shadow: none; }
.login-card .brand-subtitle { font-size: 11px; color: #62748b; }
.login-card .login-brand-art { width: 64px; min-width: 64px; gap: 6px; }
.login-card .login-brand-mark { width: 28px; filter: brightness(.42) contrast(1.25); }
.login-card .login-brand-wordmark { width: 64px; filter: brightness(.30) contrast(1.15); }
.login-heading { margin-top: 28px; }
.login-heading h1 { font-size: 25px; line-height: 1.3; color: #172b4d; }
.login-heading .muted { font-size: 14px; color: #62748b; }
.login-form { gap: 20px; }
.login-form label > span:first-child { font-size: 13px; font-weight: 600; color: #334761; }
.login-form input { width: 100%; min-height: 52px; border: 1px solid #cbd5e1; border-radius: 9px; padding: 12px 14px; font-size: 16px; color: #172b4d; box-sizing: border-box; }
.login-form input::placeholder { color: #73839a; }
.login-form input:focus-visible,.login-submit:focus-visible,.password-toggle:focus-visible { outline: 3px solid #8ab8ed; outline-offset: 3px; }
.login-form input:focus { border-color: #2865a6; }
.login-password { position: relative; display: block; }
.login-password.has-toggle input { padding-right: 72px; }
.password-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); padding: 8px; background: transparent; border: 0; color: #245c96; font-size: 12px; font-weight: 600; cursor: pointer; border-radius: 5px; }
.password-toggle[hidden] { display: none; }
.login-submit { min-height: 52px; border-radius: 9px; background: #235c99; border: 1px solid #235c99; color: #fff; transition: background .15s; }
.login-submit:hover { background: #194b81; }
.login-submit:active { background: #123d6b; }
.login-submit:disabled { opacity: .65; cursor: wait; }
.login-card .alert { padding: 13px 15px; border-radius: 9px; margin-top: 20px; font-size: 14px; line-height: 1.5; }
.login-card .alert.error { color: #912c32; background: #fff3f3; border: 1px solid #f1c8cb; }
.login-form input[aria-invalid=true] { border-color: #be535a; }
.login-security-note { color: #62748b; }
.login-footer { margin-top: 24px; text-align: center; font-size: 11px; color: #62748b; line-height: 1.6; }
@media(max-width: 900px) { .login-shell { grid-template-columns: 1fr; gap: 0; } .login-story { display: none; } .login-page { padding: 24px; } }
@media(max-width: 520px) { .login-page { padding: 16px; } .login-page .login-card { padding: 28px 24px; } .login-heading h1 { font-size: 23px; } }
@media(prefers-reduced-motion: reduce) { .login-submit { transition: none; } }
