:root { --login-green: #2e7d16; --login-ink: #22331f; --login-muted: #586652; --login-border: #dce5d6; }
* { box-sizing: border-box; }
body { margin: 0; background: white; color: var(--login-ink); font: 14px/1.6 'Segoe UI', system-ui, -apple-system, sans-serif; }
a { color: var(--login-green); text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #2e7d16; outline-offset: 4px; }
.login-skip { position: fixed; top: -100px; left: 15px; padding: 10px 20px; background: white; z-index: 10; }
.login-skip:focus { top: 10px; }
.login-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100dvh; }
.login-story { display: flex; flex-direction: column; background: #256614; color: white; padding: 45px 60px 28px; overflow: hidden; }
.login-brand { display: inline-flex; align-self: flex-start; max-width: 100%; padding: 10px 14px; border-radius: 10px; background: white; }
.login-brand img { display: block; width: 220px; max-width: 100%; height: auto; object-fit: contain; }
.login-story-copy { max-width: 470px; width: 100%; margin: auto; padding-top: 60px; }
.login-eyebrow { font-size: 10px; letter-spacing: .12em; font-weight: 650; color: var(--login-green); margin: 0 0 22px; }
.login-story .login-eyebrow { color: #d8edc5; }
.login-story h1 { font-size: clamp(40px, 4vw, 62px); line-height: 1.07; letter-spacing: -.05em; font-weight: 550; margin: 23px 0; }
.login-story-copy > p:not(.login-eyebrow) { color: #e7f1dd; max-width: 345px; font-size: 14px; line-height: 1.9; }
.login-story-footer { color: #dfedcf; font-size: 11px; margin-top: auto; padding-top: 20px; }
.login-illustration { height: 290px; position: relative; margin-top: 30px; }
.login-orbit { position: absolute; height: 280px; width: 280px; left: 45px; border: 1px solid #a4c18a55; border-radius: 50%; }
.login-orbit::after { content: ''; position: absolute; inset: 25px; border: 1px solid #a4c18a55; border-radius: 50%; }
.login-art-card { position: absolute; display: flex; flex-direction: column; border-radius: 13px; }
.login-art-back { width: 200px; height: 155px; padding: 23px; background: #f2deae; color: #785c22; top: 35px; left: 20px; transform: rotate(-9deg); gap: 20px; font-size: 11px; }
.login-art-back > span:first-child { font-size: 32px; }
.login-art-front { width: 230px; height: 175px; padding: 25px; background: #f6faef; color: var(--login-ink); top: 80px; left: 150px; transform: rotate(5deg); box-shadow: 0 13px 30px #173c0e44; }
.login-art-front > strong { font-size: 20px; margin-top: 15px; }
.login-art-front > span:not(.login-art-check) { font-size: 10px; color: var(--login-muted); margin-top: 5px; }
.login-art-check { position: absolute; top: -18px; right: 22px; display: grid; place-items: center; border-radius: 50%; background: #d8ebbc; color: #39631d; height: 45px; width: 45px; font-size: 22px; }
.login-art-front > div { display: flex; gap: 6px; margin-top: 20px; }
.login-art-front > div > span { height: 5px; width: 38px; background: #dde7d3; border-radius: 5px; }
.login-art-front > div > span:nth-child(-n+3) { background: #6f9f36; }
.login-panel { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 70px 50px 25px; }
.login-form-wrap { width: min(100%, 380px); margin-block: auto; }
.login-form-wrap h2 { font-size: 34px; font-weight: 650; letter-spacing: -.04em; margin: 0 0 7px; }
.login-intro { color: var(--login-muted); margin: 0 0 33px; }
#login-form > label:not(.login-remember) { display: block; font-size: 12px; font-weight: 600; margin: 21px 0 8px; }
#login-form input:not([type='checkbox']) { width: 100%; border: 1px solid #becdb2; border-radius: 8px; padding: 12px 14px; height: 48px; color: var(--login-ink); background: white; }
.login-password-field { position: relative; }
#login-form .login-password-field input { padding-right: 48px; }
.login-password-field button { position: absolute; top: 3px; right: 4px; display: grid; place-items: center; height: 42px; width: 42px; border: 0; border-radius: 7px; color: var(--login-muted); background: transparent; }
.login-password-field svg { width: 21px; height: 21px; }
.login-remember { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--login-muted); margin: 18px 0 25px; }
.login-remember input { height: 17px; width: 17px; accent-color: var(--login-green); }
.login-submit { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; border: 0; border-radius: 8px; background: var(--login-green); color: white; min-height: 48px; padding: 12px 18px; font-weight: 600; }
.login-submit:hover { background: #256614; }
.login-tutorial { display: block; border: 0; background: none; color: var(--login-green); font-size: 12px; min-height: 44px; margin: 13px auto 24px; padding: 9px 0; }
.login-tutorial:hover { text-decoration: underline; }
.login-support { display: flex; gap: 13px; border-top: 1px solid var(--login-border); padding-top: 20px; color: var(--login-muted); }
.login-support > span { color: var(--login-green); font-size: 25px; }
.login-support p { font-size: 11px; line-height: 1.8; }
.login-support strong { color: var(--login-ink); font-weight: 600; }
.login-footer { color: var(--login-muted); font-size: 10px; margin: 40px 0 0; }
.login-error { color: #8f2118; border: 1px solid #e2b7b2; background: #fff3f1; padding: 14px; border-radius: 8px; font-size: 13px; margin-bottom: 17px; }
dialog { width: min(900px, calc(100vw - 30px)); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); border: 1px solid var(--login-border); border-radius: 12px; padding: 25px; color: var(--login-ink); }
dialog::backdrop { background: #23381c88; }
.login-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.login-dialog-heading h2 { font-size: 23px; margin: 0; }
.login-dialog-heading button { height: 42px; width: 42px; font-size: 27px; border: 0; background: none; color: var(--login-muted); }
.login-video-links { display: flex; gap: 15px; flex-wrap: wrap; margin: 15px 0; }
.login-video-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--login-border); border-radius: 7px; font-size: 12px; }
.login-video-links a[aria-current] { background: #edf6e7; border-color: #2e7d16; }
dialog video { width: 100%; max-height: 65vh; background: #24331e; display: block; }
#tutorial-status { font-size: 12px; color: var(--login-muted); margin: 12px 0 0; }
@media (max-width: 1100px) { .login-story { padding-inline: 35px; } .login-art-front { left: 95px; } }
@media (max-width: 900px) {
    .login-layout { grid-template-columns: 1fr; }
    .login-story { padding: 27px 32px; }
    .login-story-copy { max-width: none; padding-top: 35px; }
    .login-story h1 { font-size: 37px; margin-block: 12px; }
    .login-story h1 br { display: none; }
    .login-story-copy > p:not(.login-eyebrow) { max-width: 530px; font-size: 12px; }
    .login-illustration, .login-story-footer { display: none; }
    .login-panel { padding: 40px 25px 25px; }
    .login-form-wrap { width: min(100%, 440px); }
}
@media (max-width: 400px) { .login-story { padding-inline: 24px; } .login-story h1 { font-size: 32px; } .login-panel { padding-inline: 22px; } }
