.boss-auth-form { gap: 18px; }
.boss-auth-form input:not([type=radio]):not([type=hidden]) { border-radius: 8px; padding: 13px 14px; min-height: 46px; box-sizing: border-box; }
.boss-auth-form input[readonly] { background: #e9e6df; color: #424951; }
.boss-auth-form .auth-eye { margin-top: 6px; padding: 6px 10px; border: 1px solid #b7bbc2; border-radius: 6px; background: #fff; color: #20252b; font: 14px system-ui,sans-serif; cursor: pointer; }
.auth-methods { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 4px 0; }
.auth-methods legend { font: 600 14px system-ui,sans-serif; margin-bottom: 8px; }
.auth-methods label { display: flex; flex-direction: row; align-items: center; gap: 8px; padding: 12px; border: 1px solid #b7bbc2; border-radius: 8px; cursor: pointer; font: 15px system-ui,sans-serif; letter-spacing: normal; }
.auth-methods label:has(input:checked) { border-color: #c82c25; background: #fff1ed; }
.auth-methods input[type=radio] { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: #c82c25; }
.auth-status { padding: 14px; border: 1px solid #d3d0c8; border-radius: 8px; background: #fff; color: #303944; font: 15px/1.5 system-ui,sans-serif; }
.login-panel button { border-radius: 8px; }
.login-panel [hidden],.boss-auth-form [hidden] { display: none !important; }
/* Keep the login immediately reachable, including on phones. */
body.public:has(.boss-auth-form) .access-shell { min-height: 100dvh; }
body.public:has(.boss-auth-form) .access-intro { padding: 32px; }
body.public:has(.boss-auth-form) .access-intro .eyebrow,
body.public:has(.boss-auth-form) .access-intro .scope-box,
body.public:has(.boss-auth-form) .access-intro .lead { display: none; }
body.public:has(.boss-auth-form) .access-intro h1 { font: 650 clamp(28px,4vw,46px)/1.15 system-ui,sans-serif; letter-spacing: -.035em; }
body.public:has(.boss-auth-form) .login-panel { padding: 32px; font-family: system-ui,sans-serif; }
body.public:has(.boss-auth-form) .login-panel h2 { font: 650 32px/1.2 system-ui,sans-serif; }
body.public:has(.boss-auth-form) .hardware-login button { width: 100%; background: #c82c25; border-color: #c82c25; color: white; box-shadow: none; padding: 16px; }
body.public:has(.boss-auth-form) .login-links { margin-top: 20px; }
@media(max-width: 720px) {
 body.public:has(.boss-auth-form) .access-intro { padding: 18px 24px; }
 body.public:has(.boss-auth-form) .access-intro .wordmark,
 body.public:has(.boss-auth-form) .access-intro .domain { display: none; }
 body.public:has(.boss-auth-form) .access-intro h1 { margin: 0; font-size: 25px; }
 body.public:has(.boss-auth-form) .login-panel { padding: 24px; border-top: 3px solid #c82c25; }
 body.public:has(.boss-auth-form) .login-panel .eyebrow { display: none; }
}
