/* Sign-in screens (Sam, 5 Oct 2026: "polish the login page. The colors are all messed up. The text is unreadable").
   The old screens used the dark theme's colours on top of the light page ground (3 Oct), so the title and hints
   were white-on-pale. One shared look now for hub, Maintenance hub, Fleet and punch: the forest frame fills the
   screen, the Turner logo sits on it as in the header, and the form is a light card with dark, readable text —
   the same frame as the two-factor step (mfa.mjs), so sign-in and the code read as one flow.
   Fixed colours on purpose: these screens sit outside the light content area, before any page tokens apply. */
.auth{position:fixed;inset:0;z-index:50;overflow-y:auto;-webkit-overflow-scrolling:touch;
  background:radial-gradient(120% 90% at 50% 0%,#14402A 0%,#0B2416 55%,#08190F 100%);color:#17221B;
  display:flex;flex-direction:column;align-items:center;padding:max(7vh,28px) 16px calc(28px + env(safe-area-inset-bottom,0px));
  font:16px/1.5 "Avenir Next","Avenir","Nunito Sans",system-ui,-apple-system,"Segoe UI",sans-serif}
.auth *{box-sizing:border-box}
.auth-logo{display:block;height:38px;width:auto;margin:0 0 22px}
.auth-card{width:100%;max-width:400px;background:#F7F9F7;border-top:4px solid #2E6B47;padding:26px 24px 22px;box-shadow:0 18px 50px rgba(0,0,0,.35)}
.auth h1{margin:0 0 6px;font-size:23px;line-height:1.2;letter-spacing:-.01em;color:#17221B}
.auth .auth-sub{margin:0 0 18px;font-size:14.5px;color:#4F5D54}
.auth label{display:block;margin:14px 0 6px;font-size:13.5px;font-weight:700;color:#17221B;letter-spacing:0;text-transform:none}
.auth input{display:block;width:100%;min-height:50px;padding:11px 12px;font:inherit;font-size:16px;color:#17221B;background:#fff;
  border:1px solid #02341B;border-radius:0;-webkit-appearance:none;appearance:none;color-scheme:light}
.auth input::placeholder{color:#6B776F}
.auth input:focus-visible,.auth button:focus-visible,.auth a:focus-visible{outline:2px solid #045229;outline-offset:2px}
.auth input:-webkit-autofill{-webkit-box-shadow:0 0 0 40px #fff inset;-webkit-text-fill-color:#17221B}
.auth .auth-go{display:block;width:100%;min-height:52px;margin:20px 0 0;border:0;border-radius:0;background:#02341B;color:#fff;
  font:inherit;font-size:16px;font-weight:700;cursor:pointer;letter-spacing:0;text-transform:none}
.auth .auth-go:hover{background:#045229}
.auth .auth-go[disabled]{opacity:.65;cursor:wait}
.auth .auth-alt{display:block;width:100%;min-height:48px;margin:10px 0 0;background:#fff;border:1px solid #C3CCC5;border-radius:0;color:#045229;
  font:inherit;font-size:15px;font-weight:700;cursor:pointer;letter-spacing:0;text-transform:none}
.auth .auth-alt:hover{border-color:#045229}
.auth .err{margin:0 0 6px;padding:10px 12px;background:#FBE9E7;border:1px solid #E7B4AE;color:#8E1D17;font-size:14.5px;line-height:1.4}
.auth .ok{margin:0 0 6px;padding:10px 12px;background:#E2EEE6;border:1px solid #9CC3AC;color:#045229;font-size:14.5px;line-height:1.4}
.auth-foot{margin:18px 0 0;font-size:13px;color:#B9D3C2;text-align:center}
.auth-foot a{color:#E2EEE6;text-decoration:underline;text-underline-offset:3px;display:inline-block;padding:8px 4px}
@media (max-width:420px){.auth-card{padding:22px 18px 18px}.auth h1{font-size:21px}}
@media (prefers-reduced-motion:no-preference){.auth-card{animation:authIn .3s cubic-bezier(.2,.8,.2,1) both}@keyframes authIn{from{transform:translateY(10px)}}}
/* Code sign-in (signin-code.mjs, 5 Oct 2026): the code box opens under the form once a code is sent. */
.auth .auth-code{margin:16px 0 0;padding:14px 0 0;border-top:1px solid #C3CCC5}
.auth .auth-code label{margin-top:0}
.auth #otp{font-size:26px;letter-spacing:.35em;text-align:center;font-variant-numeric:tabular-nums;font-weight:700;min-height:58px}
.auth #otp::placeholder{letter-spacing:.2em}
.auth .auth-note{margin:10px 0 0;font-size:13.5px;line-height:1.45;color:#4F5D54}
