:root { color-scheme: light; font-family: "Segoe UI", system-ui, -apple-system, sans-serif; color: #15374b; background: #f3f7f6; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.login-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px 20px; }
.login-shell { width: 100%; max-width: 1080px; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid #e0e9e5; border-radius: 26px; overflow: hidden; box-shadow: 0 16px 50px #183c4810; }
.login-brand { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; overflow: hidden; padding: 46px; background: #e5f3ec; min-height: 650px; }
.login-logo { display: block; width: 155px; height: 52px; object-fit: contain; object-position: left center; }
.login-brand-message { position: relative; z-index: 1; margin: 52px 0 42px; }
.login-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 23px; font-size: 10px; font-weight: 750; letter-spacing: .12em; color: #286452; }
.login-eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #268567; }
.login-brand h2 { margin: 0; font-size: clamp(38px, 4vw, 54px); line-height: 1.09; letter-spacing: -.045em; font-weight: 650; color: #163e43; }
.login-brand h2 em { font-style: normal; color: #268567; }
.login-brand-message > p:last-child { margin: 24px 0 0; font-size: 15px; line-height: 1.7; color: #47675f; }
.login-brand-footer { display: flex; flex-wrap: wrap; gap: 20px; position: relative; z-index: 1; font-size: 11px; font-weight: 600; color: #41675b; }
.login-brand-footer span + span::before { content: "·"; margin-right: 20px; color: #628577; }
.login-orbit { position: absolute; z-index: 0; width: 350px; height: 350px; bottom: -155px; right: -160px; border: 1px solid #bbd9c9; border-radius: 50%; box-shadow: 0 0 0 35px #d6ebdf, 0 0 0 36px #c5dfd0, 0 0 0 75px #dff0e6; }
.login-orbit span { position: absolute; left: 53px; top: 52px; font-size: 54px; line-height: 1; color: #76b396; font-weight: 300; }
.login-access { display: flex; align-items: center; justify-content: center; padding: 48px; }
.login-access-inner { width: 100%; max-width: 365px; }
.login-app-label { display: inline-block; padding: 5px 10px; border: 1px solid #dce6ed; border-radius: 6px; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: #446378; }
.login-access h1 { margin: 21px 0 9px; font-size: 27px; font-weight: 650; line-height: 1.2; letter-spacing: -.035em; }
.login-intro { margin: 0 0 30px; font-size: 14px; line-height: 1.6; color: #637580; }
.login-field { margin-bottom: 20px; }
.login-field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 650; }
.login-field input { width: 100%; min-width: 0; height: 50px; border: 1px solid #cddbdc; border-radius: 8px; background: #fff; color: #15374b; padding: 0 14px; font-size: 16px; }
.login-field input::placeholder { color: #77858d; font-size: 14px; opacity: 1; }
.login-field input:focus { outline: 2px solid #268567; outline-offset: 2px; border-color: #268567; }
.login-password { position: relative; }
.login-password:has(button:not([hidden])) input { padding-right: 84px; }
.login-password button { position: absolute; right: 4px; top: 4px; height: 42px; min-width: 72px; border: 0; background: transparent; color: #286452; font-size: 12px; font-weight: 700; border-radius: 5px; cursor: pointer; }
.login-password button:hover { background: #edf6f1; }
.login-submit { width: 100%; min-height: 50px; padding: 13px 17px; display: flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid #073e64; border-radius: 8px; background: #073e64; color: #fff; font-size: 14px; font-weight: 650; cursor: pointer; transition: background .15s; }
.login-submit:hover { background: #0a527d; }
.login-submit:disabled { opacity: .7; cursor: wait; }
.login-submit:focus-visible, .login-password button:focus-visible, .login-portal:focus-visible { outline: 3px solid #268567; outline-offset: 3px; }
.login-status { margin: 8px 0 0; color: #47675f; font-size: 12px; }
.login-status:empty { display: none; }
.login-help { margin: 18px 0 27px; font-size: 13px; line-height: 1.7; text-align: center; color: #526772; }
.login-help a { display: inline-block; padding: 4px 0; color: #215f51; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.login-help a:hover { color: #073e64; }
.login-help a:focus-visible { outline: 3px solid #268567; outline-offset: 3px; border-radius: 3px; }
.login-help-external { white-space: nowrap; }
.login-portal { display: flex; align-items: center; gap: 13px; padding: 19px 0 0; border-top: 1px solid #e3ebe8; color: #15374b; text-decoration: none; }
.login-portal-icon { display: grid; place-items: center; flex-shrink: 0; width: 43px; height: 43px; border-radius: 10px; background: #edf6f1; color: #286452; }
.login-portal strong { display: block; font-size: 13px; font-weight: 650; }
.login-portal small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.6; color: #526772; }
.login-portal > svg { flex-shrink: 0; margin-left: auto; color: #637580; }
.login-portal:hover strong { color: #217458; text-decoration: underline; }
.login-error { padding: 12px 14px; margin-bottom: 22px; border: 1px solid #edc5bf; border-radius: 8px; background: #fff3f1; color: #923b2c; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.login-error:focus { outline: 2px solid #923b2c; outline-offset: 2px; }
.login-footer { margin-top: 22px; color: #526d65; font-size: 12px; text-align: center; }
.login-footer span { margin: 0 8px; }
@media (max-width: 850px) {
    .login-brand { padding: 32px; }
    .login-access { padding: 36px 28px; }
    .login-access h1 { font-size: 24px; }
}
@media (min-width: 641px) and (max-height: 780px) {
    .login-page { padding: 20px 24px 16px; }
    .login-brand { min-height: 580px; }
    .login-brand-message { margin: 32px 0; }
    .login-access { padding: 32px 40px; }
    .login-footer { margin-top: 16px; }
}
@media (max-width: 640px) {
    .login-page { padding: 20px 16px; justify-content: flex-start; }
    .login-shell { max-width: 460px; grid-template-columns: 1fr; border-radius: 18px; }
    .login-brand { min-height: 0; padding: 24px 26px; }
    .login-logo { width: 126px; height: 42px; }
    .login-brand-message, .login-brand-footer, .login-orbit { display: none; }
    .login-access { padding: 28px 26px 30px; }
    .login-access-inner { max-width: none; }
    .login-access h1 { font-size: 25px; margin-top: 17px; }
    .login-intro { margin-bottom: 26px; }
    .login-footer { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) { .login-submit { transition: none; } }
