:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; color: #172d3a; background: #f1f4f6; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 20px; }
.login-card { width: min(100%, 440px); padding: 38px; border: 1px solid #dbe2e7; border-radius: 20px; background: #fff; box-shadow: 0 16px 56px #142d3b08; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; background: #173e4b; color: #fff; font-size: 25px; border-radius: 12px; font-family: serif; }
.eyebrow { color: #57737d; letter-spacing: .16em; font-size: 10px; font-weight: 750; margin: 25px 0 8px; }
h1 { margin: 0; font-size: 30px; letter-spacing: .04em; }
.intro { color: #6a7a86; font-size: 14px; line-height: 1.9; margin-bottom: 28px; }
form { display: grid; gap: 10px; }
label { font-size: 12px; font-weight: 700; margin-top: 8px; }
input { width: 100%; padding: 13px 12px; border: 1px solid #cbd5dc; border-radius: 8px; font-size: 16px; color: #1d3544; background: #fff; }
input[readonly] { background: #f5f7f8; color: #627482; }
input:focus, button:focus-visible { outline: 3px solid #bed7e5; outline-offset: 2px; }
.password-field { position: relative; }
.password-field input { padding-right: 52px; }
.eye-button { position: absolute; top: 3px; right: 3px; width: 44px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; cursor: pointer; color: #5e7582; }
.eye-button:hover { background: #edf3f6; }
.eye-hide, .eye-button[aria-pressed="true"] .eye-show { display: none; }
.eye-button[aria-pressed="true"] .eye-hide { display: block; }
.error { min-height: 18px; font-size: 12px; line-height: 1.7; color: #a23c40; margin: 3px 0; }
.notice { color: #3a7861; background: #eef7f1; border-radius: 7px; padding: 12px; font-size: 12px; line-height: 1.8; }
.notice:empty { display: none; }
.back-link { margin: 24px 0 0; font-size: 12px; }.back-link a { color: #4a7185; }
.submit-button { display: flex; justify-content: space-between; align-items: center; border: 0; border-radius: 9px; padding: 15px 17px; background: #173e4b; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.submit-button:hover { background: #0e303d; }
.private-note { font-size: 11px; color: #7c8b96; line-height: 1.9; margin: 24px 0 0; }
.footer-note { font-size: 9px; letter-spacing: .12em; color: #93a1ab; margin-top: 24px; }
@media (max-width: 440px) { .login-card { padding: 30px 24px; } }

.notice { color: #215c46; background: #eef7f2; border-radius: 8px; padding: 11px 13px; font-size: 12px; line-height: 1.8; margin: 0 0 16px; }
.notice:empty { display: none; }
.field-help { color: #6a7a86; font-size: 11px; line-height: 1.8; margin: 0 0 6px; }
.setup-message { color: #526c79; font-size: 13px; line-height: 1.9; }
.setup-message.error { color: #a23c40; }
.setup-link { font-size: 12px; line-height: 1.8; margin: 16px 0 0; }
.setup-link a { color: #245b71; text-underline-offset: 3px; }
