:root { color-scheme: light; font-family: "Segoe UI", Roboto, Arial, sans-serif; color: #17384e; background: #f3f6fa; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #9e1721; text-underline-offset: 4px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:is(a, button, input):focus-visible { outline: 3px solid #287eb5; outline-offset: 4px; }
.login-shell { width: 100%; max-width: none; min-height: 100vh; min-height: 100svh; margin: 0; padding: 26px 24px 18px; display: flex; flex-direction: column; }
.login-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.login-brand { display: inline-flex; align-items: center; min-height: 48px; border-radius: 8px; }
.login-brand img { display: block; width: 215px; max-width: 100%; height: auto; }
.login-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; border-radius: 8px; color: #40566a; font-size: 13px; font-weight: 600; text-decoration: none; }
.login-back:hover { color: #a3101b; text-decoration: underline; }
.login-back span { font-size: 20px; }
.login-layout { display: grid; grid-template-columns: 1.04fr 1fr; min-height: 650px; flex: 1; background: #fff; border: 1px solid #e0e7ef; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 60px rgba(7, 35, 57, .07); }
.login-story { position: relative; isolation: isolate; min-width: 0; min-height: 650px; background: #eaf3f9; }
.login-story-image { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: center 46%; z-index: -2; }
.login-story::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(245, 250, 254, .98), rgba(245, 250, 254, .87) 17%, rgba(245, 250, 254, 0) 48%, rgba(2, 25, 44, .08) 75%, rgba(2, 25, 44, .8)); z-index: -1; }
.login-story-copy { padding: 36px 36px 0; }
.login-eyebrow { margin: 0 0 14px; font-size: 10px; line-height: 1.6; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: #a31621; }
.login-story h2 { margin: 0 0 14px; font-size: clamp(26px, 2.7vw, 40px); line-height: 1.17; letter-spacing: -.035em; font-weight: 700; color: #07334d; }
.login-story-copy > p:last-child { margin: 0; font-size: 13px; line-height: 1.6; color: #405b70; }
.login-story-caption { position: absolute; bottom: 32px; left: 36px; right: 36px; color: #fff; }
.login-caption-line { display: block; width: 36px; height: 3px; border-radius: 3px; background: #ef4651; margin-bottom: 13px; }
.login-story-caption p { font-size: 18px; font-weight: 600; margin: 0; letter-spacing: .01em; }
.login-form-panel { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 48px clamp(30px, 4.5vw, 72px); }
.login-form-inner { width: 100%; max-width: 390px; }
.login-access-label { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 6px; background: #f2f6fa; color: #4a6173; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.login-access-label > span { width: 6px; height: 6px; border-radius: 50%; background: #a11621; }
h1 { margin: 22px 0 12px; color: #07334d; font-size: clamp(28px, 2.7vw, 36px); line-height: 1.15; letter-spacing: -.035em; }
.login-description { margin: 0 0 30px; color: #637487; font-size: 14px; line-height: 1.75; }
.login-field { margin-bottom: 22px; }
.login-field label { display: block; color: #253f53; font-size: 13px; font-weight: 600; margin-bottom: 9px; }
.login-field input { display: block; width: 100%; min-height: 52px; border: 1px solid #cfd9e4; border-radius: 10px; background: #fbfcfe; padding: 14px 15px; font-size: 16px; color: #17384e; transition: border-color .15s ease, box-shadow .15s ease; }
.login-field input::placeholder { color: #8290a0; font-size: 14px; }
.login-field input:focus { border-color: #547d9c; box-shadow: 0 0 0 3px rgba(40, 126, 181, .1); }
.login-label-row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.login-label-row a { font-size: 12px; font-weight: 600; text-decoration: none; margin-bottom: 9px; }
.login-label-row a:hover { text-decoration: underline; }
.login-password-wrap { position: relative; }
.login-password-wrap input { padding-right: 76px; }
.login-password-toggle { position: absolute; right: 5px; top: 4px; bottom: 4px; min-width: 60px; min-height: 44px; border: 0; border-radius: 7px; color: #52697c; background: transparent; font-size: 12px; font-weight: 600; cursor: pointer; }
.login-password-toggle:hover { color: #9e1721; background: #f3f5f8; }
.login-caps-lock { font-size: 12px; color: #925c08; margin: 9px 0 0; }
.login-submit { display: flex; align-items: center; justify-content: center; gap: 18px; width: 100%; min-height: 52px; padding: 14px 20px; border: 1px solid #a31621; border-radius: 10px; background: #a31621; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 5px 14px rgba(163, 22, 33, .14); transition: background .15s ease, box-shadow .15s ease; }
.login-submit:hover { background: #84121b; box-shadow: 0 7px 20px rgba(163, 22, 33, .22); }
.login-submit:disabled { opacity: .7; cursor: wait; }
.login-submit-icon { font-size: 20px; line-height: 1; }
.login-staff-note { font-size: 11px; line-height: 1.6; color: #7c8999; text-align: center; margin: 15px 0 28px; }
.login-member-help { padding-top: 24px; border-top: 1px solid #e8edf3; }
.login-member-help p { color: #6c7b8e; font-size: 12px; margin: 0 0 9px; }
.login-member-help a { display: inline-block; color: #173f59; font-size: 12px; font-weight: 600; text-decoration: none; line-height: 1.6; }
.login-member-help a:hover { color: #9e1721; text-decoration: underline; }
.login-member-help a span { margin-left: 8px; }
.login-notice { border: 1px solid; border-radius: 10px; padding: 12px 14px; margin-bottom: 20px; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.login-notice-warning { color: #7c4d0a; background: #fffbeb; border-color: #f2dda4; }
.login-notice-error { color: #941824; background: #fff2f3; border-color: #efc4c9; }
.login-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 20px; color: #7c8999; font-size: 11px; }
.login-footer p { margin: 0; line-height: 1.6; }
.login-footer a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: #566b7e; font-weight: 600; text-decoration: none; }
.login-footer a:hover { color: #9e1721; text-decoration: underline; }
@media (min-width: 1600px) { .login-shell { padding-top: 40px; padding-bottom: 24px; } }
@media (max-width: 900px) {
    .login-shell { padding: 20px 24px 16px; }
    .login-layout { grid-template-columns: 1fr 1fr; min-height: 620px; }
    .login-story { min-height: 620px; }
    .login-story-copy { padding: 30px 26px 0; }
    .login-story-caption { left: 26px; right: 26px; }
    .login-form-panel { padding: 32px 26px; }
}
@media (max-width: 700px) {
    .login-shell { padding: 16px 16px 12px; }
    .login-header { margin-bottom: 16px; gap: 12px; }
    .login-brand img { width: 165px; }
    .login-back { font-size: 11px; gap: 5px; }
    .login-back span { font-size: 17px; }
    .login-layout { grid-template-columns: 1fr; min-height: 0; border-radius: 18px; flex: 0 0 auto; }
    .login-form-panel { order: -1; padding: 30px 24px; }
    .login-form-inner { max-width: 420px; }
    h1 { margin-top: 18px; font-size: 30px; }
    .login-description { margin-bottom: 24px; }
    .login-staff-note { margin-bottom: 22px; }
    .login-member-help { padding-top: 20px; }
    .login-story { min-height: 280px; }
    .login-story-image { width: 66%; left: auto; object-position: center 40%; }
    .login-story::before { background: linear-gradient(90deg, #eaf3f9 5%, #eaf3f9 30%, rgba(234, 243, 249, .65) 50%, rgba(234, 243, 249, 0) 70%); }
    .login-story-copy { max-width: 63%; padding: 24px 20px 0; }
    .login-eyebrow { font-size: 8px; letter-spacing: .1em; margin-bottom: 10px; }
    .login-story h2 { font-size: 23px; }
    .login-story-copy > p:last-child { font-size: 11px; }
    .login-story-caption { left: 20px; right: auto; bottom: 24px; color: #17384e; }
    .login-story-caption p { font-size: 12px; }
    .login-caption-line { width: 28px; margin-bottom: 10px; }
    .login-footer { font-size: 10px; padding-top: 14px; gap: 4px 12px; }
}
@media (max-width: 360px) {
    .login-shell { padding-left: 10px; padding-right: 10px; }
    .login-brand img { width: 145px; }
    .login-back { font-size: 10px; }
    .login-form-panel { padding: 26px 18px; }
    .login-story h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .login-field input, .login-submit { transition: none; } }
