.home-login{box-sizing:border-box;width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #d9eaf2;border-radius:26px;padding:30px;color:#12364b;background:radial-gradient(ellipse at top left,#e7f6ff,transparent 55%),#fff;box-shadow:0 24px 90px #072f4560;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}.home-login::backdrop{background:#0b2b3c99;backdrop-filter:blur(5px)}.home-login *{box-sizing:border-box}.home-login-close{position:absolute;top:12px;right:12px;width:44px;height:44px;border:0;background:#eff7fb;color:#466779;border-radius:50%;font-size:27px;cursor:pointer}.home-login-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#0077b6;color:white;font-size:24px;margin-bottom:20px}.home-login-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.4px;color:#527184}.home-login h2{font-size:clamp(23px,5vw,28px);line-height:1.2;margin:8px 0 10px;font-weight:800;letter-spacing:-.7px}.home-login #homeLoginIntro{font-size:14px;line-height:1.55;color:#607b8b;margin:0 0 22px}.home-login label{display:block;font-size:13px;font-weight:700;margin-bottom:8px}.home-login input:not([type=hidden]){width:100%;min-width:0;border:1px solid #d0e2ec;background:#f8fbfd;border-radius:12px;padding:13px 14px;font:inherit;font-size:16px;color:#12364b;min-height:48px}.home-login input:focus{outline:2px solid #0077b6;outline-offset:2px}.home-login-label{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:18px}.home-login a{color:#0077b6;font-weight:700;text-decoration:none}.home-login-label a{font-size:12px}.home-login-password{position:relative}.home-login-password input{padding-right:52px!important}.home-login-password button{position:absolute;right:2px;top:2px;width:44px;height:44px;border:0;background:transparent;color:#527184;cursor:pointer}.home-login-submit{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;border:0;border-radius:12px;background:#0077b6;color:white;font-family:inherit;font-size:15px;font-weight:700;cursor:pointer;margin-top:20px;padding:13px}.home-login-submit:disabled{opacity:.65;cursor:wait}.home-login #homeLoginMessage{padding:10px 12px;background:#fff1ee;color:#a23824;border-radius:10px;font-size:13px;line-height:1.5;margin:14px 0 0}.home-login-register{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 12px;border-top:1px solid #e1edf3;margin-top:22px;padding-top:20px;font-size:13px}.home-login-register span{color:#607b8b}.home-login-foot{text-align:center;font-size:11px;color:#78909e;margin:18px 0 0}.home-login :focus-visible{outline:2px solid #0077b6;outline-offset:3px}body.home-login-open{overflow:hidden}@media(max-width:480px){.home-login{padding:24px 20px;border-radius:22px}.home-login-label{gap:6px}.home-login-label a{font-size:11px}.home-login-mark{margin-bottom:14px}.home-login #homeLoginIntro{margin-bottom:18px}}@media(max-height:580px){.home-login{padding:20px}.home-login-mark,.home-login-foot{display:none}.home-login-register{margin-top:14px;padding-top:14px}.home-login-label{margin-top:12px}}.home-login-trigger{display:inline-flex;align-items:center;gap:7px;color:#0077b6;text-decoration:none;font-weight:700;min-height:44px;white-space:nowrap;font-size:14px}
/* Explicit positioning overrides the site-wide margin reset on dialog. */
dialog.home-login{position:fixed;inset:0;margin:auto;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
