/* The sign-in page at night (Oct 26, Richard): Day the first time, then whichever of Day or Night was last used in
   PAS on this computer (theme.js sets html.dark from the saved choice before the page draws). Same night colours as
   look.css; the drawings and the logo turn light, as on the signed-in pages. */
html.dark { color-scheme: dark; --text: #e9f2fc; --muted: #a3b6cb; --faint: #6f849c; --border: rgba(255, 255, 255, .1); }
html.dark body { background: #050a13 !important; color: #e9f2fc; }
html.dark .signin { background: #050a13;
  background-image: radial-gradient(900px 520px at 8% -12%, rgba(43, 140, 255, .26), transparent 62%),
    radial-gradient(700px 520px at 104% 108%, rgba(22, 193, 212, .14), transparent 60%),
    radial-gradient(520px 420px at 62% 8%, rgba(124, 92, 255, .12), transparent 62%); }
html.dark .signin-plan, html.dark .signin-garden { filter: invert(1) hue-rotate(185deg) saturate(1.5) brightness(.95);
  mix-blend-mode: screen; opacity: .35; }
html.dark .signin-logo { filter: brightness(0) invert(1); opacity: .95; }
html.dark .signin-brand .name { color: #e9f2fc; }
html.dark .signin-card { background: #101b2d; border-color: rgba(255, 255, 255, .09); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
html.dark .signin-card header { background: #13243d; color: #9fcbff; }
html.dark .signin-card header h1, html.dark .signin-card label > span:first-child { color: #9fcbff; }
html.dark .signin-card .muted, html.dark .login-foot { color: #a3b6cb; }
html.dark .signin-card input { background: #0b1422; color: #e9f2fc; border-color: rgba(255, 255, 255, .14); }
html.dark .signin-card .errors { background: rgba(239, 85, 121, .15); color: #ff8fa8; border-color: rgba(239, 85, 121, .3); }
/* Oct 27 (Richard, Build 2 A2): the "signed out after ... minutes" note: a clean box with a teal clock, no amber.
   (Here, not in look.css: the sign-in page loads styles.css and this file only.) */
.signin-card .signin-note { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 10px 14px; border-radius: 14px;
  border: 1px solid rgba(13, 31, 54, .12); background: rgba(255, 255, 255, .65); box-shadow: 0 6px 18px -12px rgba(10, 30, 60, .35);
  color: #0d1f36; font-size: 13.5px; line-height: 1.4; }
html.dark .signin-card .signin-note { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #cbd5e1; }

/* Oct 27 (Richard): a username and password the browser fills in show in parchment yellow (not the browser's olive),
   day and night. Typed ones look as before. */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:autofill {
  -webkit-box-shadow: 0 0 0 40px #f4ead0 inset !important; box-shadow: 0 0 0 40px #f4ead0 inset !important;
  -webkit-text-fill-color: #2b2414 !important; caret-color: #2b2414; border-color: #d9c89a !important; }
html.dark input:-webkit-autofill, html.dark input:-webkit-autofill:hover, html.dark input:-webkit-autofill:focus, html.dark input:autofill {
  -webkit-box-shadow: 0 0 0 40px #efe2bf inset !important; box-shadow: 0 0 0 40px #efe2bf inset !important; border-color: #c9b37a !important; }

/* Nov 22, 2026 (Richard, phone Build 2; GBC Design Guide 8.3): the phone sign-in and change-password card: boxes and
   buttons at least 44 px tall, 16 px text in the boxes (the phone doesn't zoom the page) */
@media (max-width: 760px), (pointer: coarse) {
  html body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, button, .btn) { min-height: 44px !important; box-sizing: border-box; }
  html body :is(input:not([type=checkbox]):not([type=radio]), select, textarea) { font-size: max(16px, 1em) !important; }
}
