/* Sign-in gate, account menu and Users page for the FOXHEAT Chart Reader website */
.fxgate{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:20px;background:
  linear-gradient(90deg,var(--grid) 1px,transparent 1px) 0 0/40px 100%,
  linear-gradient(0deg,var(--grid) 1px,transparent 1px) 0 0/100% 40px,var(--bg);overflow:auto}
.fxgate[hidden]{display:none}
.fxcard{width:min(420px,100%);background:var(--card);border:1px solid var(--line);border-top:4px solid var(--red);border-radius:12px;padding:28px 24px;box-shadow:0 8px 30px rgba(0,0,0,.12)}
.fxcard h1{font-size:30px;margin:14px 0 6px}
.fxlogo{height:40px}
.fxform{display:grid;gap:12px;margin:14px 0}
.fxl{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--mute);font-weight:500}
.fxpri{background:var(--red);border:1px solid var(--red);color:#fff;font:inherit;font-weight:600;min-height:46px;border-radius:8px;cursor:pointer}
.fxpri:disabled{opacity:.6}
.fxlink{background:none;border:0;color:var(--redink);font:inherit;font-weight:600;padding:8px 0;min-height:44px;cursor:pointer;text-decoration:underline}
.fxrow{display:flex;gap:14px;flex-wrap:wrap;align-items:center;justify-content:space-between}
.fxnote{font-size:14px;margin:8px 0;color:var(--mute)}
.fxnote.bad{color:var(--redink);font-weight:600}
.fxnote.ok{color:var(--ok);font-weight:600}
.fxcredit{display:flex;gap:6px;align-items:center;justify-content:center;margin:18px 0 0;font-size:11px;color:var(--mute);opacity:.75}
.fxcredit img{height:10px}
:root[data-theme=dark] .fxcredit img{filter:invert(1)}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .fxcredit img{filter:invert(1)}}
.fxwho{font-size:13px;color:var(--mute);align-self:center;max-width:16ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:600px){.fxwho{display:none}}
.fxadmin{width:min(900px,96vw)}
.fxtable{width:100%;border-collapse:collapse;margin:10px 0}
.fxtable th,.fxtable td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line);vertical-align:middle}
.fxtable select{min-width:150px}
.fxpending{background:color-mix(in srgb,var(--warn) 10%,transparent)}
.fxmute{color:var(--mute);font-size:13px}
.fxchk{flex-direction:row;align-items:center;gap:6px;color:var(--ink);font-size:14px}
@media(max-width:600px){.fxtable thead{display:none}.fxtable tr{display:grid;padding:8px 0;border-bottom:1px solid var(--line)}.fxtable td{border:0;padding:4px 0}}
.fxchk input{width:auto;min-height:0;margin:0}
