* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; padding: clamp(20px, 8vh, 80px) 12px; background: #101c2d; }
#staff-access { color-scheme: dark; width: min(100%, 370px); margin: 0 auto; background: #101c2d; color: #edf2fa; border: 1px solid #344760; border-radius: 28px; overflow: hidden; font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; box-shadow: 0 12px 32px #0b172532; }
#staff-access [hidden] { display: none; }
.access-brand { display: flex; align-items: center; gap: 12px; padding: 19px 24px; background: #142338; border-bottom: 1px solid #2b3d55; font-size: 13px; font-weight: 650; letter-spacing: .11em; }
.access-brand small { display: block; margin-top: 2px; color: #aabdd6; font-size: 11px; font-weight: 550; letter-spacing: .14em; }
.access-brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #213854; color: #9bc6ff; }
#staff-access svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.access-content { padding: 27px 24px 30px; }
.access-content h1 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.035em; }
.access-content p { margin: 4px 0 0; color: #b9c7d9; }
.access-user { display: flex; gap: 12px; align-items: center; margin: 22px 0 18px; padding: 10px 13px; border: 1px solid #384c64; border-radius: 14px; background: #17273d; }
.access-avatar { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; background: #27466c; color: #d0e6ff; font-weight: 650; }
.access-user-fields { flex: 1; min-width: 0; }
.access-user-fields span { display: block; color: #b9c7d9; font-size: 12px; }
.access-user select { width: 100%; background: #17273d; color: #edf2fa; border: 0; font: 600 16px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.access-actions, .access-pin-form { display: grid; gap: 9px; }
.access-pin-form, .access-enroll { margin-top: 16px; }
.access-actions button, .access-actions a, .access-pin-form button { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 9px 12px; border-radius: 12px; font: 650 15px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-decoration: none; cursor: pointer; }
.access-primary { background: #2b70dc; color: #fff; border: 1px solid #4b8dee; }
.access-secondary { background: #192b43; color: #edf2fa; border: 1px solid #405b7c; }
.access-link { background: transparent; color: #9bc6ff; border: 1px solid transparent; }
.access-content button:disabled { opacity: .65; cursor: default; }
.access-pin-form input { width: 100%; min-height: 44px; border-radius: 8px; padding: 0 12px; border: 1px solid #405b7c; background: #101c2d; color: #edf2fa; font: 16px system-ui, sans-serif; }
.access-content #face-id-help { margin-top: 14px; }
.access-content #error { margin: 12px 0 0; color: #ffc7c7; }
.access-content #error:empty { display: none; }
