/* Standalone login styles: no dashboard or public-site overrides. */
:root {
    color-scheme: light;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #17243a;
    background: #f3f5f8;
    font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.login-page { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: 40px 32px 64px; }
.login-shell { width: 100%; max-width: 1100px; margin: auto; }
.login-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.login-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; font-size: 18px; font-weight: 700; letter-spacing: -.4px; }
.login-brand img { flex: 0 0 auto; object-fit: contain; border-radius: 8px; }
.login-brand span { overflow-wrap: anywhere; }
.login-home { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: auto; font-size: 13px; color: #536178; text-decoration: none; }
.login-home:hover { color: #264cc0; text-decoration: underline; text-underline-offset: 4px; }
.login-card { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 650px; background: #fff; border: 1px solid #e2e7ee; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 70px -38px #24395b66; }
.login-welcome { position: relative; overflow: hidden; padding: 58px 48px 32px; background: #18345a; color: #fff; }
.login-welcome::after { content: ""; position: absolute; width: 430px; height: 430px; right: -210px; bottom: -170px; border: 1px solid #ffffff16; border-radius: 50%; box-shadow: 0 0 0 64px #ffffff04, 0 0 0 128px #ffffff03; }
.login-welcome-copy { position: relative; z-index: 1; }
.login-eyebrow, .login-form-eyebrow { display: block; font-size: 11px; letter-spacing: 1.8px; font-weight: 700; }
.login-eyebrow { color: #b6ccea; }
.login-welcome h2 { margin: 26px 0 18px; font-size: clamp(32px, 3vw, 42px); line-height: 1.18; letter-spacing: -1.5px; font-weight: 600; }
.login-welcome p { margin: 0; font-size: 15px; line-height: 1.8; color: #c5d4e8; }
.login-art { position: relative; width: 290px; height: 235px; margin: 35px auto 0; }
.login-art-orbit { position: absolute; width: 236px; height: 236px; left: 30px; top: 12px; border-radius: 50%; border: 1px solid #d6e7ff21; }
.login-art-tile { position: absolute; width: 184px; height: 170px; border-radius: 18px; border: 1px solid #b6d1f063; }
.login-art-tile-back { top: 28px; left: 36px; transform: rotate(-13deg); background: #43658a55; }
.login-art-tile-front { top: 54px; left: 69px; transform: rotate(7deg); background: linear-gradient(135deg, #6d90b966, #34557d99); box-shadow: 0 18px 35px #0d1e3833; padding: 22px; }
.login-art-mark { display: block; color: #d6e7fd; }
.login-art-line { display: block; margin-top: 14px; height: 4px; width: 85px; border-radius: 4px; background: #d3e4ff90; }
.login-art-line-short { margin-top: 8px; width: 56px; background: #d3e4ff45; }
.login-art-grid { display: flex; gap: 8px; margin-top: 19px; }
.login-art-grid i { width: 39px; height: 23px; border: 1px solid #c6def951; border-radius: 5px; background: #c6def912; }
.login-art-dot { position: absolute; width: 8px; height: 8px; background: #a7c7ed; border-radius: 50%; }
.login-art-dot-one { top: 30px; right: 12px; }
.login-art-dot-two { bottom: 21px; left: 15px; width: 5px; height: 5px; opacity: .5; }
.login-content { display: flex; align-items: center; padding: 54px 58px; min-width: 0; }
.login-form-wrap { width: 100%; max-width: 400px; margin: auto; }
.login-form-eyebrow { color: #61738c; margin-bottom: 13px; letter-spacing: 1.5px; }
.login-content h1 { margin: 0 0 12px; font-size: 28px; font-weight: 650; letter-spacing: -.9px; line-height: 1.25; }
.login-intro { font-size: 14px; line-height: 1.65; color: #667389; margin: 0 0 32px; }
.login-field { margin-bottom: 22px; }
.login-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 9px; }
.login-field input { display: block; width: 100%; height: 52px; border: 1px solid #ced6e1; border-radius: 9px; padding: 0 15px; background: #fff; color: #17243a; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.login-field input::placeholder { color: #7b8798; opacity: 1; }
.login-field input:hover { border-color: #93a3ba; }
.login-field input:focus { outline: none; border-color: #365bc9; box-shadow: 0 0 0 3px #365bc91a; }
.login-field input[aria-invalid="true"] { border-color: #b53337; }
.login-password { position: relative; }
.login-password input { padding-right: 54px; }
.login-password-toggle { position: absolute; right: 5px; top: 4px; display: grid; place-items: center; height: 44px; width: 44px; border: 0; border-radius: 6px; color: #667389; background: transparent; cursor: pointer; }
.login-password-toggle:hover { background: #f0f3f8; color: #274caf; }
.login-eye-slash { display: none; }
.login-password-toggle[aria-pressed="true"] .login-eye-slash { display: block; }
.login-field-error, .login-caps-hint { font-size: 12px; line-height: 1.5; margin: 7px 0 0; }
.login-field-error { color: #a12731; }
.login-caps-hint { color: #875514; }
.login-submit { display: flex; justify-content: center; align-items: center; gap: 13px; width: 100%; min-height: 52px; border: 1px solid transparent; border-radius: 9px; background: #2c51b9; color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; padding: 12px 18px; transition: background .15s; }
.login-submit:hover { background: #23449f; }
.login-submit:active { background: #1a3684; }
.login-submit:disabled { cursor: wait; background: #526cae; }
.login-submit:disabled .login-submit-arrow { display: none; }
.login-signup { border-top: 1px solid #e9edf3; margin-top: 28px; padding-top: 25px; text-align: center; color: #667389; font-size: 13px; line-height: 1.6; }
.login-signup a { margin-left: 4px; color: #294dac; font-weight: 600; text-decoration: none; }
.login-signup a:hover { text-decoration: underline; text-underline-offset: 3px; }
.login-signup a span { margin-left: 3px; }
.login-alert { background: #fff5f3; border: 1px solid #efd3ce; border-radius: 9px; padding: 15px; color: #92352b; margin-bottom: 24px; font-size: 13px; line-height: 1.55; }
.login-alert strong { display: block; font-weight: 650; }
.login-alert p { margin: 4px 0 0; }
.login-alert .login-alert-note { margin-top: 9px; font-size: 12px; }
.login-status-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: #fff1eb; color: #a24e2b; margin-bottom: 24px; }
.login-return { text-decoration: none; }
a:focus-visible, button:focus-visible, .login-alert:focus { outline: 3px solid #6989e8; outline-offset: 4px; }
.login-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 960px) {
    .login-welcome { padding: 48px 32px 32px; }
    .login-content { padding: 44px 34px; }
    .login-art { width: 260px; margin-left: -10px; }
    .login-content h1 { font-size: 25px; }
}
@media (max-width: 720px) {
    .login-page { padding: 24px 20px 40px; align-items: start; background: #fff; }
    .login-header { align-items: flex-start; margin-bottom: 36px; gap: 16px; }
    .login-brand { font-size: 15px; gap: 8px; }
    .login-brand img { width: 30px; height: 30px; }
    .login-home { font-size: 12px; min-height: 30px; }
    .login-home svg { display: none; }
    .login-card { display: block; border: 0; border-radius: 0; box-shadow: none; min-height: auto; overflow: visible; }
    .login-welcome { display: none; }
    .login-content { padding: 26px 0; }
    .login-form-wrap { max-width: 420px; }
    .login-content h1 { font-size: 28px; }
    .login-field input { font-size: 16px; }
    .login-intro { margin-bottom: 30px; }
}
@media (max-width: 380px) {
    .login-page { padding-left: 16px; padding-right: 16px; }
    .login-header { flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
    .login-content h1 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}