/* SMART POS — sign-in gate, user chip, team logins */

.gate {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: center; padding: 16px;
  background: radial-gradient(900px 600px at 50% 20%, #0c2240 0%, transparent 60%), rgba(3, 7, 13, .97);
}
.gate[hidden] { display: none; }
.gate-card { width: min(420px, 100%); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.gate-brand { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 26px var(--f-head); letter-spacing: .1em; }
.gate-brand b { color: var(--cyan); margin-left: 4px; text-shadow: var(--glow); }
.gate h2 { margin: 6px 0 0; font: 700 22px var(--f-head); letter-spacing: .04em; }
.gate-p { margin: 0; color: var(--muted); font-size: 14px; }
.gate-form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.gate-err { margin: 0; padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(255, 79, 109, .5); background: rgba(255, 79, 109, .1); color: #ffc2cd; font-size: 13px; text-align: center; }
.gate-err[hidden] { display: none; }
.gate-names { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.gate-names .btn { padding: 16px 10px; font-size: 17px; }

.pin-dots { display: flex; justify-content: center; gap: 12px; padding: 6px 0; }
.pin-dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-hi); }
.pin-dots i.on { background: var(--cyan); border-color: var(--cyan); box-shadow: var(--glow); }
.pad-msg { min-height: 36px; display: flex; align-items: center; justify-content: center; }
.pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pad button {
  height: 60px; border-radius: 12px; border: 1px solid var(--line); background: rgba(16, 32, 54, .7);
  font: 600 24px var(--f-mono);
}
.pad button:hover { border-color: var(--line-hi); background: rgba(59, 227, 255, .1); }
.pad button:active { transform: scale(.97); }
.btn.wide { width: 100%; padding: 13px; font-size: 16px; }

/* signed-in chip in the top bar */
.who {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(10, 22, 38, .6);
  font: 600 13px var(--f-head); letter-spacing: .06em; white-space: nowrap;
}
.who small { font: 500 10px var(--f-mono); color: var(--dim); letter-spacing: .04em; }
.who:hover { border-color: var(--line-hi); }
.who:hover small { color: var(--muted); }
.who[hidden] { display: none; }

/* team logins (Channels view) */
.team { margin-top: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.team p { margin: 0; }
.team-row { display: flex; gap: 8px; flex-wrap: wrap; }
.team-row .field { flex: 1 1 160px; width: auto; }
.team-row select.field { flex: 0 0 120px; }

@media (max-width: 760px) {
  .who small { display: none; }
}

.table-scroll { overflow-x: auto; }
.team select.field.sm { padding: 6px 10px; min-width: 160px; width: auto; }
.team .row-act { flex-wrap: wrap; justify-content: flex-end; }
