:root { font-family: "Noto Sans JP", system-ui, sans-serif; color: #10243c; background: #eef4f7; }
* { box-sizing: border-box; }
html, body { min-height: 100%; max-width: 100%; overflow-x: hidden; }
body { min-height: 100vh; margin: 0; }
.login-shell { display: grid; min-height: 100vh; padding: 24px; place-items: center; background: linear-gradient(145deg, #0d2748 0 34%, #eef4f7 34%); }
.login-card { width: min(440px, 100%); padding: 34px; border: 1px solid #d6e2e8; border-radius: 22px; background: #fff; box-shadow: 0 24px 70px rgba(8,31,56,.18); }
.login-card > img { display: block; width: min(268px, 80%); height: 82px; margin: 0 auto 22px; object-fit: contain; }
.login-heading { text-align: center; }
.login-heading span { display: block; color: #0d2748; font-size: 24px; font-weight: 900; letter-spacing: .04em; line-height: 1.25; overflow-wrap: anywhere; }
.login-heading h1 { margin: 4px 0 10px; color: #0d2748; font-size: 22px; font-weight: 900; letter-spacing: .04em; line-height: 1.35; }
.login-heading p { margin: 0 0 22px; color: #6d7c89; font-size: 13px; }
.login-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: #edf2f5; }
.login-tabs button { min-height: 44px; border: 0; border-radius: 9px; color: #687783; background: transparent; font-weight: 800; }
.login-tabs button.active { color: #fff; background: #0d2748; }
.login-error { margin: 14px 0 0; padding: 11px; border-radius: 9px; color: #9b2c2c; background: #fff0f0; font-size: 12px; font-weight: 700; }
.invite-fallback { display: grid; gap: 10px; margin-top: 18px; padding: 16px; border: 1px solid #f0d1c8; border-radius: 12px; color: #714234; background: #fff5ef; text-align: left; }
.invite-fallback[hidden] { display: none; }
.invite-fallback strong { font-size: 15px; }
.invite-fallback p { margin: 0; color: #7d5b50; font-size: 12px; font-weight: 700; line-height: 1.7; }
.invite-fallback a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: 10px; color: #fff; background: #0d2748; font-size: 13px; font-weight: 800; text-decoration: none; }
form { display: grid; gap: 15px; margin-top: 20px; }
form[hidden] { display: none; }
label { display: grid; gap: 7px; color: #475867; font-size: 12px; font-weight: 700; }
input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #cbd8df; border-radius: 10px; color: #10243c; background: #fff; font-size: 16px; outline: 0; }
input:focus { border-color: #00a89d; box-shadow: 0 0 0 3px rgba(0,168,157,.12); }
form button { min-height: 52px; margin-top: 3px; border: 0; border-radius: 11px; color: #fff; background: #0d2748; font-size: 15px; font-weight: 800; }
button:disabled, input:disabled { opacity: .6; }
@media (max-width: 520px) { .login-shell { padding: 14px; background: #eef4f7; } .login-card { padding: 26px 20px; border-radius: 17px; } .login-card > img { width: min(230px, 82%); height: 70px; margin-bottom: 18px; } .login-heading span { font-size: 21px; } .login-heading h1 { font-size: 20px; } }
