* { box-sizing: border-box; }
body.staff-login-page { margin: 0; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 32px; background: radial-gradient(ellipse at 15% 10%, #e6eff7 0, transparent 55%), #f4f7fb; color: #183049; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.staff-login-shell { display: grid; grid-template-columns: .95fr 1.05fr; width: min(1040px,100%); min-height: 600px; background: white; border: 1px solid #dce5ee; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 80px #18304912; }
.staff-login-brand { padding: 40px; background: linear-gradient(145deg,#17334c,#102538); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 44px; position: relative; overflow: hidden; }
.staff-login-brand::after { content: ""; position: absolute; border: 1px solid #ffffff12; border-radius: 50%; width: 450px; height: 450px; bottom: -220px; right: -160px; pointer-events: none; }
.staff-login-identity { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 650; }
.staff-login-logo { max-width: 76px; max-height: 52px; object-fit: contain; }
.staff-login-monogram { width: 44px; height: 44px; border-radius: 12px; border: 1px solid #ffffff25; background: #ffffff12; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; }
.staff-login-eyebrow { display: block; font-size: 10px; font-weight: 700; letter-spacing: .16em; color: #5b7085; }
.staff-login-brand .staff-login-eyebrow { color: #a8c8db; }
.staff-login-brand h2 { font-size: clamp(30px,4vw,44px); line-height: 1.15; letter-spacing: -.045em; font-weight: 650; margin: 20px 0; }
.staff-login-brand-copy > p { font-size: 15px; line-height: 1.8; color: #b6c9d8; }
.staff-login-apps { display: flex; gap: 10px; margin-top: 30px; }
.staff-login-apps span { font-size: 11px; letter-spacing: .05em; border: 1px solid #ffffff25; border-radius: 20px; padding: 7px 13px; color: #d3e3ee; }
.staff-login-brand-footer { font-size: 11px; color: #8faabc; }
.staff-login-content { padding: 64px 48px 28px; display: flex; flex-direction: column; justify-content: center; }
.staff-login-content-inner { margin: auto 0; }
.staff-login-content h1 { font-size: 30px; letter-spacing: -.04em; line-height: 1.2; margin: 18px 0; font-weight: 650; }
.staff-login-description { font-size: 14px; color: #65788a; line-height: 1.8; margin: 0 0 28px; }
.staff-login-microsoft { display: flex; justify-content: center; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 12px 20px; border: 1px solid #8c8c8c; border-radius: 8px; background: white; color: #273b4c; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .15s,border-color .15s; }
.staff-login-microsoft:hover { background: #f6f9fc; border-color: #607a92; }
.staff-login-microsoft:focus-visible { outline: 3px solid #2c6baf; outline-offset: 4px; }
.microsoft-mark { display: grid; grid-template-columns: 9px 9px; grid-template-rows: 9px 9px; gap: 2px; flex-shrink: 0; }
.microsoft-mark i:nth-child(1) { background: #f25022; }.microsoft-mark i:nth-child(2) { background: #7fba00; }.microsoft-mark i:nth-child(3) { background: #00a4ef; }.microsoft-mark i:nth-child(4) { background: #ffb900; }
.staff-login-hint { font-size: 11px; color: #627487; line-height: 1.7; margin: 16px 0 0; }
.staff-login-progress { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #486b89; margin: 0 0 18px; }
.staff-login-spinner { width: 14px; height: 14px; border: 2px solid #dce6ef; border-top-color: #3c739b; border-radius: 50%; animation: staff-login-spin 1s linear infinite; }
.staff-login-error { padding: 15px; background: #fff4f1; border: 1px solid #f2d4cb; border-radius: 8px; margin: 0 0 22px; color: #873b2b; font-size: 12px; line-height: 1.7; }
.staff-login-error p { margin: 6px 0 0; }
.staff-login-footer { padding-top: 48px; color: #627487; font-size: 10px; text-align: center; }
@keyframes staff-login-spin { to { transform: rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { .staff-login-spinner { animation: none; } }
@media(max-width:700px) { body.staff-login-page { padding: 16px; } .staff-login-shell { grid-template-columns: 1fr; min-height: 0; border-radius: 18px; } .staff-login-brand { padding: 24px; gap: 24px; } .staff-login-brand-copy { display: none; } .staff-login-brand-footer { display: none; } .staff-login-content { padding: 36px 24px 24px; } .staff-login-content h1 { font-size: 26px; } .staff-login-footer { padding-top: 36px; } }

.staff-login-identity > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.staff-login-logo, .staff-login-monogram { flex-shrink: 0; }
