/* RD37 — auth gate + user chip styles */
#rd37-auth-gate {
  position: fixed; inset: 0; z-index: 5000;
  background: #1a3d2b;
  display: flex; align-items: center; justify-content: center;
  font-family: system-ui, sans-serif;
}
.rd37-gate-card {
  background: #fff; border-radius: 18px; padding: 36px 40px; width: 360px; max-width: 90vw;
  text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.rd37-gate-badge { display: flex; justify-content: center; margin-bottom: 14px; }
.rd37-gate-title { font-family: 'DM Sans', sans-serif; font-size: 22px; font-weight: 700; color: #1a3d2b; }
.rd37-gate-sub   { font-size: 13px; color: #6b6b63; margin: 4px 0 22px; }
.rd37-gate-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; background: #fff; border: 1px solid #d7d7cd; border-radius: 10px;
  padding: 12px 16px; font-size: 14px; font-weight: 600; color: #1a1a18; cursor: pointer;
}
.rd37-gate-btn:hover { background: #f6f7f3; border-color: #2d6a4f; }
.rd37-gate-foot { font-size: 11px; color: #9a9a90; margin-top: 18px; line-height: 1.5; }
#rd37-gate-err { display: none; color: #dc2626; font-size: 12px; margin-top: 12px; }

/* user chip */
.rd37-user-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: system-ui, sans-serif; font-size: 12px;
}
.rd37-user-name { color: #fff; opacity: .9; }
.rd37-user-out {
  background: rgba(255,255,255,.14); color: #fff; border: none;
  border-radius: 7px; padding: 4px 10px; font-size: 12px; cursor: pointer;
}
.rd37-user-out:hover { background: rgba(255,255,255,.26); }
/* on light headers (livestock/fence until restyle) */
.fs-on-light .rd37-user-name { color: #1a3d2b; }
.fs-on-light .rd37-user-out { background: #e8f5ee; color: #1a3d2b; }
