:root {
    color-scheme: light;
    --login-ink: #20372f;
    --login-muted: #738078;
    --login-green: #17664a;
    --login-border: #dde5df;
}

* { box-sizing: border-box; }
body.login-page { margin: 0; min-width: 320px; background: #f2f5f1; color: var(--login-ink); font: 14px/1.6 "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.login-page button, .login-page input { font: inherit; }
.login-page button { cursor: pointer; }
.login-page [hidden] { display: none !important; }
.login-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.login-icon { display: inline-block; width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.login-shell { width: calc(100% - 80px); max-width: 1180px; margin: 0 auto; padding: 38px 0 25px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.login-topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 24px; color: #52645a; font-size: 12px; }
.login-workspace-label { display: flex; align-items: center; gap: 13px; }
.login-workspace-label > span:first-of-type { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; }
.login-workspace-label > .login-icon { width: 18px; height: 18px; color: var(--login-green); }
.login-topbar-divider { width: 1px; height: 15px; background: #ced8cf; }
.login-internal-label { color: #7b887e; }
.login-card { display: grid; grid-template-columns: 47% 53%; min-height: 704px; overflow: hidden; background: #fff; border: 1px solid #e0e7de; border-radius: 22px; box-shadow: 0 18px 60px rgba(28, 52, 35, .055); }
.login-intro { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 42px; background: #113f34; color: #fff; }
.login-intro::after { content: ""; position: absolute; right: -205px; bottom: -330px; width: 560px; height: 560px; border: 1px solid rgba(204, 233, 201, .08); border-radius: 50%; box-shadow: 0 0 0 55px rgba(204, 233, 201, .025), 0 0 0 110px rgba(204, 233, 201, .018); pointer-events: none; }
.login-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 17px; }
.login-brand-logo { display: flex; align-items: center; justify-content: center; flex: 0 0 97px; width: 97px; height: 55px; padding: 7px 9px; background: #fff; border-radius: 10px; }
.login-brand-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.login-brand-title { max-width: 242px; font-size: 11px; line-height: 1.7; font-weight: 650; letter-spacing: 1.15px; overflow-wrap: anywhere; }
.login-intro-copy { position: relative; z-index: 1; margin-top: 52px; }
.login-eyebrow { display: block; color: #a8c4b6; font-size: 9px; font-weight: 600; letter-spacing: 1.2px; }
.login-intro h2 { margin: 16px 0 17px; color: #fff; font-size: clamp(27px, 2.8vw, 37px); font-weight: 600; line-height: 1.28; letter-spacing: -1.1px; }
.login-intro h2 span { color: #c9e8a9; }
.login-intro-copy p { max-width: 350px; margin: 0; color: #b5ccbf; font-size: 13px; line-height: 1.85; }
.login-workflow { position: relative; z-index: 1; margin-top: 34px; padding: 19px 20px 9px; border: 1px solid #3d6255; border-radius: 13px; background: rgba(255, 255, 255, .035); }
.login-workflow-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; color: #adc7b8; font-size: 9px; font-weight: 600; letter-spacing: 1.4px; }
.login-workflow-dots { display: inline-flex; gap: 4px; }
.login-workflow-dots i { width: 3px; height: 3px; background: #8caa99; border-radius: 50%; }
.login-workflow-step { display: flex; align-items: center; gap: 13px; padding: 12px 0; }
.login-workflow-step + .login-workflow-step { border-top: 1px solid rgba(211, 235, 215, .09); }
.login-workflow-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 37px; height: 37px; background: #305b49; border: 1px solid #486b53; border-radius: 9px; color: #d1e8b5; }
.login-workflow-icon .login-icon { width: 20px; height: 20px; }
.login-workflow-step > div { flex: 1; min-width: 0; }
.login-workflow-step strong { display: block; font-size: 12px; line-height: 1.5; font-weight: 600; }
.login-workflow-step div > span { display: block; color: #a9c4b4; font-size: 10px; line-height: 1.8; }
.login-step-number { align-self: center; color: #91b29d; font-size: 11px; font-variant-numeric: tabular-nums; }
.login-intro-footer { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding-top: 30px; margin-top: auto; color: #a9c4b4; font-size: 10px; }
.login-intro-line { width: 22px; height: 1px; background: #92b38b; }
.login-form-panel { position: relative; display: flex; align-items: center; justify-content: center; padding: 60px 65px 85px; }
.login-form-content { width: 100%; max-width: 374px; }
.login-form-eyebrow { display: block; color: var(--login-green); font-size: 10px; line-height: 1.6; font-weight: 700; letter-spacing: 1.7px; }
.login-form-heading h1 { margin: 12px 0 9px; color: #213b2d; font-size: 34px; line-height: 1.3; font-weight: 650; letter-spacing: -1px; }
.login-form-heading p { margin: 0; color: var(--login-muted); font-size: 13px; line-height: 1.85; }
#form_login { margin-top: 32px; }
.login-field { margin-top: 21px; }
.login-field:first-of-type { margin-top: 0; }
.login-field > label { display: block; margin-bottom: 8px; color: #37483f; font-size: 12px; font-weight: 600; }
.login-input-wrap { position: relative; }
.login-input-wrap input { display: block; width: 100%; height: 50px; padding: 12px 15px 12px 44px; border: 1px solid var(--login-border); border-radius: 8px; background: #fff; color: var(--login-ink); outline: none; font-size: 13px; line-height: 1.5; transition: border-color .16s, box-shadow .16s; }
.login-input-wrap input::placeholder { color: #9ba69e; opacity: 1; }
.login-input-wrap input:hover { border-color: #b5c5b9; }
.login-input-wrap input:focus { border-color: #448e69; box-shadow: 0 0 0 3px rgba(37, 112, 74, .09); }
.login-input-wrap input[aria-invalid="true"] { border-color: #c95d56; }
.login-input-wrap input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(201, 93, 86, .1); }
.login-input-icon { position: absolute; top: 15px; left: 15px; width: 19px; height: 19px; color: #85978a; pointer-events: none; }
.login-input-wrap:focus-within .login-input-icon { color: var(--login-green); }
#password { padding-right: 49px; }
.login-password-toggle { position: absolute; right: 5px; top: 5px; display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 5px; color: #83958a; background: transparent; }
.login-password-toggle:hover { background: #f2f6f1; color: var(--login-green); }
.login-password-toggle .login-icon { width: 19px; height: 19px; }
.login-password-toggle .login-eye-hide, .login-password-toggle[aria-pressed="true"] .login-eye-show { display: none; }
.login-password-toggle[aria-pressed="true"] .login-eye-hide { display: inline-block; }
.login-field-error { display: block; color: #b0433b; font-size: 11px; line-height: 1.6; }
.login-field-error:not(:empty) { margin-top: 6px; }
.login-caps-hint { display: block; margin-top: 6px; color: #8b6425; font-size: 11px; }
.login-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 18px 0 25px; }
.login-remember { display: inline-flex; align-items: center; gap: 8px; color: #6b7b70; font-size: 12px; cursor: pointer; }
.login-remember input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--login-green); cursor: pointer; }
.login-remember-hint { color: var(--login-muted); font-size: 10px; }
.login-submit { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; padding: 13px 22px; border: 1px solid #17664a; border-radius: 8px; background: #17664a; color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 4px 10px rgba(23, 102, 74, .12); transition: background-color .16s, box-shadow .16s, transform .16s; }
.login-submit:hover:not(:disabled) { background: #125239; border-color: #125239; box-shadow: 0 5px 14px rgba(23, 102, 74, .2); transform: translateY(-1px); }
.login-submit:active:not(:disabled) { transform: translateY(0); }
.login-submit:disabled { cursor: wait; opacity: .8; }
.login-submit-arrow { position: absolute; right: 19px; width: 19px; height: 19px; }
.login-submit-spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: login-spin .7s linear infinite; }
.login-submit.is-loading .login-submit-spinner { display: block; }
.login-submit.is-loading .login-submit-arrow { display: none; }
.login-page button:focus-visible, .login-remember input:focus-visible, .login-help summary:focus-visible { outline: 3px solid #94c7a6; outline-offset: 3px; }
.login-alert { display: flex; align-items: flex-start; gap: 9px; padding: 12px 13px; margin-bottom: 20px; border: 1px solid #f0d6d1; border-radius: 8px; background: #fff6f4; color: #a03c31; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.login-alert .login-icon { width: 18px; height: 18px; margin-top: 1px; }
.login-alert:focus { outline: 2px solid #ecc3bb; outline-offset: 2px; }
.login-account-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 18px; color: #879489; font-size: 10px; }
.login-account-note .login-icon { width: 13px; height: 13px; }
.login-help { margin-top: 30px; padding-top: 23px; border-top: 1px solid #edf0eb; color: #64796a; }
.login-help summary { display: flex; align-items: center; justify-content: center; gap: 7px; width: fit-content; margin: 0 auto; border-radius: 3px; font-size: 11px; cursor: pointer; list-style: none; }
.login-help summary::-webkit-details-marker { display: none; }
.login-help summary:hover { color: var(--login-green); }
.login-help .login-icon { width: 15px; height: 15px; }
.login-help p { padding: 11px 10px 0; margin: 0; color: var(--login-muted); text-align: center; font-size: 11px; line-height: 1.9; }
.login-form-bottom { position: absolute; bottom: 27px; left: 20px; right: 20px; color: #a2ada4; text-align: center; font-size: 8px; font-weight: 600; letter-spacing: 2px; }
.login-noscript { padding: 10px; background: #fff5e4; color: #815d20; font-size: 12px; }
.login-page-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 22px; color: #819084; font-size: 10px; line-height: 1.8; }
@keyframes login-spin { to { transform: rotate(360deg); } }
@media (min-width: 1600px) {
    .login-shell { max-width: 1240px; }
    .login-card { min-height: 748px; }
    .login-intro { padding: 47px; }
    .login-intro-copy { margin-top: 61px; }
    .login-intro h2 { font-size: 40px; }
    .login-workflow { margin-top: 40px; }
}
@media (max-width: 1050px) {
    .login-shell { width: calc(100% - 48px); padding-top: 28px; }
    .login-card { grid-template-columns: 46% 54%; min-height: 676px; }
    .login-intro { padding: 32px; }
    .login-brand { gap: 12px; }
    .login-brand-logo { flex-basis: 80px; width: 80px; height: 49px; }
    .login-brand-title { font-size: 9px; }
    .login-form-panel { padding: 50px 38px 75px; }
    .login-intro-copy { margin-top: 45px; }
    .login-eyebrow { font-size: 8px; letter-spacing: .8px; }
    .login-workflow { padding-left: 14px; padding-right: 14px; }
    .login-workflow-step { gap: 10px; }
    .login-workflow-step div > span { font-size: 9px; }
}
@media (max-width: 760px) {
    .login-shell { width: calc(100% - 32px); max-width: 500px; padding: 22px 0; justify-content: flex-start; }
    .login-topbar { margin-bottom: 17px; }
    .login-internal-label, .login-topbar-caption, .login-topbar-divider { display: none; }
    .login-card { display: block; min-height: auto; border-radius: 17px; }
    .login-intro { padding: 25px 28px; }
    .login-brand-logo { flex-basis: 81px; width: 81px; height: 47px; border-radius: 8px; }
    .login-brand-title { font-size: 10px; max-width: 225px; }
    .login-intro-copy, .login-workflow, .login-intro-footer { display: none; }
    .login-form-panel { padding: 34px 28px 70px; }
    .login-form-content { max-width: none; }
    .login-form-heading h1 { font-size: 30px; margin-top: 8px; }
    .login-form-heading p { font-size: 12px; }
    #form_login { margin-top: 26px; }
    .login-field { margin-top: 19px; }
    .login-input-wrap input { height: 50px; font-size: 16px; }
    .login-page-footer { flex-direction: column; align-items: center; gap: 2px; margin-top: 16px; padding: 0 8px; text-align: center; font-size: 9px; }
    .login-help { margin-top: 25px; padding-top: 20px; }
    .login-form-bottom { bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .login-page *, .login-page *::before, .login-page *::after { animation: none !important; transition: none !important; }
}
