.official-home .official-login {
    width: 520px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 18px;
    overflow: auto;
    background: #fff;
    color: var(--ink);
    font-family: var(--sans);
    box-shadow: 0 24px 100px #102b2c33;
}
.official-home .official-login::backdrop { background: #102b2cb8; backdrop-filter: blur(5px); }
.official-login [hidden] { display: none !important; }
.official-login-shell { position: relative; padding: 44px 38px 30px; }
.official-login-close { position: absolute; top: 15px; right: 16px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; background: transparent; color: #737a71; font-size: 28px; font-weight: 300; line-height: 1; }
.official-login-close:hover { color: var(--orange); }
.official-login-eyebrow { display: block; margin-bottom: 12px; color: #929c88; font-size: 9px; font-weight: 500; letter-spacing: 2px; }
.official-login #official-login-title { margin: 0; padding-right: 8px; font-size: 29px; font-weight: 400; line-height: 1.45; }
.official-login #official-login-description { margin-top: 12px; color: #818878; font-size: 13px; line-height: 1.9; }
.official-login-options { display: grid; gap: 13px; margin-top: 26px; }
.official-login-option { display: flex; align-items: center; gap: 16px; width: 100%; padding: 21px 18px; border: 1px solid transparent; border-radius: 9px; background: var(--warm); text-align: left; transition: border-color .2s, background .2s; }
.official-login-option:hover { border-color: var(--orange); background: #fcfaf7; }
.official-login-option-icon { display: grid; flex: 0 0 40px; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: #e9ede5; color: #65745d; }
.official-login-option-icon svg { width: 24px; height: 24px; }
.official-login-option-copy { flex: 1; min-width: 0; }
.official-login-option-copy strong { display: block; color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.5; }
.official-login-option-copy > span { display: block; margin-top: 6px; color: #8b9382; font-size: 12px; line-height: 1.6; }
.official-login-option-arrow { flex: none; color: #78846d; font-size: 23px; }
.official-login-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 0; background: transparent; color: #7b8574; font-size: 12px; line-height: 1.7; }
.official-login-back:hover { color: var(--orange); }
.official-login-error { margin: 18px 0 0; padding: 10px 12px; border-radius: 6px; background: #fff3ef; color: #b54a2e; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.official-login-error:empty { display: none; }
.official-login-form { display: grid; gap: 17px; margin: 22px 0 0; }
.official-login-field { display: grid; gap: 8px; }
.official-login-field > span { color: #63705d; font-size: 12px; line-height: 1.5; }
.official-login-field input { width: 100%; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 7px; background: #fcfcfa; color: var(--ink); font: inherit; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.official-login-field input::placeholder { color: #a2a69b; opacity: 1; }
.official-login-field input:focus { border-color: #87977b; outline: none; box-shadow: 0 0 0 3px #87977b1a; }
.official-login-check { display: inline-flex; align-items: flex-start; gap: 8px; width: fit-content; color: #838b7a; font-size: 12px; line-height: 20px; cursor: pointer; }
.official-login-check input { flex: 0 0 15px; width: 15px; height: 15px; margin: 2px 0 0; accent-color: #6a7b5f; cursor: pointer; }
.official-login-agreement { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 3px; font-size: 12px; line-height: 20px; }
.official-login-agreement a { color: #687b58; text-decoration: underline; text-underline-offset: 3px; }
.official-login-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 49px; margin-top: 3px; padding: 13px 19px; border-radius: 7px; background: var(--orange); color: #fff; font: inherit; font-size: 14px; transition: background .2s; }
.official-login-submit:hover { background: var(--orange-hover); }
.official-login-submit > span { font-size: 21px; line-height: 1; }
.official-login-submit:disabled { opacity: .7; cursor: wait; }
.official-login-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: #929987; font-size: 12px; line-height: 1.7; }
.official-login-footer a { color: #6c7b60; }
.official-login-footer a:hover { color: var(--orange); }

/* The homepage still displays the existing maintenance notice. */
.official-home .attentionBox { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1000; padding: 12px 20px; background: #fff3df; color: #a7440b; font-size: 14px; line-height: 24px; }
.official-home .attentionWrapper { overflow: hidden; width: 100%; }
.official-home .attentionTxt { display: flex; width: max-content; }
.official-home .attentionTxt > div { flex: none; padding-right: 70px; white-space: nowrap; }

@media (max-width: 600px) {
    .official-login-shell { padding: 37px 24px 25px; }
    .official-login #official-login-title { font-size: 25px; }
    .official-login #official-login-description { font-size: 12px; }
    .official-login-option { gap: 12px; padding: 18px 14px; }
    .official-login-option-copy strong { font-size: 15px; }
    .official-login-option-copy > span { font-size: 11px; }
    .official-login-field input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .official-home .official-login[open] { animation: none; }
}
