:root { --navy: #183f68; --orange: #e49536; --muted: #596b80; --line: #e2e7ed; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; font-family: 'Poppins', sans-serif; font-size: 15px; color: var(--navy); background: #fff; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
button, input { font: inherit; }
.login-header { width: min(1160px, calc(100% - 64px)); margin: 0 auto; padding: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.login-header img { display: block; max-width: 100%; height: auto; }
.home-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; white-space: nowrap; }
.login-main { display: grid; place-items: center; flex: 1; width: 100%; padding: 28px 32px 40px; }
.login-card { display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 1000px); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 16px 50px #183f6808; }
.login-intro { padding: 52px 44px; background: #f5f7fa; display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { font-size: 10px; letter-spacing: 1.5px; font-weight: 600; margin: 0 0 28px; }
.eyebrow::before { content: ''; display: inline-block; width: 18px; height: 3px; margin: 0 9px 3px 0; background: var(--orange); }
.login-intro h2 { font-size: clamp(34px, 3.7vw, 46px); line-height: 1.15; letter-spacing: -1.8px; margin: 0 0 22px; font-weight: 600; }
.login-intro>p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.8; margin: 0 0 30px; max-width: 330px; }
.intro-summary { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; width: 100%; font-size: 12px; }
.intro-summary [aria-hidden] { color: #657181; }
.intro-note { margin-top: auto; padding-top: 36px; color: var(--muted); font-size: 11px; display: flex; gap: 8px; align-items: center; }
.intro-note span { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.login-form-panel { padding: 48px 44px; }
h1 { font-size: 30px; line-height: 1.3; letter-spacing: -1px; margin: 0 0 9px; font-weight: 600; }
.form-intro { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0 0 30px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 9px; }
.field input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #cbd4df; border-radius: 6px; color: var(--navy); background: #fff; font-size: 15px; }
.field input::placeholder { color: #6f7b8b; opacity: 1; }
.field input[aria-invalid] { border-color: #af3030; }
.label-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.label-row a { font-size: 12px; }
.password-field { position: relative; }
.password-field input { padding-right: 66px; }
.password-toggle { position: absolute; right: 4px; top: 4px; bottom: 4px; border: 0; border-radius: 4px; padding: 0 10px; background: transparent; color: var(--navy); font-size: 12px; cursor: pointer; }
.password-toggle:hover { background: #f1f3f5; }
.remember { display: flex; gap: 9px; align-items: center; font-size: 12px; color: var(--muted); margin: 0 0 24px; cursor: pointer; }
.remember input { accent-color: var(--navy); width: 16px; height: 16px; margin: 0; }
.submit-button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 18px; min-height: 48px; background: var(--navy); color: #fff; border: 0; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; }
.submit-button:hover { background: #245681; }
.submit-button span { font-size: 20px; line-height: 1; }
.account-help { margin: 24px 0 0; font-size: 12px; color: var(--muted); line-height: 1.7; text-align: center; }
.notice { background: #f1f5fa; border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; font-size: 13px; line-height: 1.6; margin-bottom: 20px; }
.notice-error { background: #fff6f5; border-color: #edccca; color: #922b27; }
.notice ul { margin: 6px 0 0; padding-left: 18px; }
.field-error { color: #922b27; font-size: 12px; margin: 7px 0 0; }
.login-footer { padding: 20px 24px; text-align: center; color: var(--muted); font-size: 11px; }
.skip-link { position: absolute; top: -60px; left: 20px; padding: 12px; background: var(--navy); color: #fff; z-index: 10; }
.skip-link:focus { top: 10px; }
@media (max-width: 850px) {
    .login-intro { padding: 36px 28px; }
    .login-form-panel { padding: 36px 28px; }
    .label-row { flex-wrap: wrap; gap: 0 12px; margin-bottom: 9px; }
    .label-row label { margin-bottom: 0; }
}
@media (max-width: 650px) {
    .login-header { width: calc(100% - 40px); padding: 22px 0; gap: 16px; }
    .login-header img { width: 180px; }
    .home-link { font-size: 11px; gap: 5px; }
    .login-main { padding: 20px 20px 28px; }
    .login-card { grid-template-columns: 1fr; max-width: 440px; }
    .login-intro { display: none; }
    .login-form-panel { padding: 32px 24px; }
    .field input { font-size: 16px; }
    h1 { font-size: 28px; }
}
@media (max-width: 360px) {
    .login-header { flex-wrap: wrap; }
    .login-form-panel { padding: 26px 20px; }
}
