/* RPM (C3) referral credits (Item 6) bolt-on styles. */
.rf-launcher {
  position: fixed;
  left: 16px;
  bottom: 256px;
  z-index: 1200;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: #7c3aed;
  color: #fff;
  font: 600 13px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.35);
  cursor: pointer;
}
.rf-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(450px, 94vw);
  z-index: 2500;
  background: #fff;
  box-shadow: -12px 0 34px rgba(15, 23, 42, 0.3);
  font: 14px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #0f172a;
  overflow-y: auto;
}
.rf-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 6px; }
.rf-panel-head h2 { margin: 0; font-size: 19px; }
.rf-close { background: none; border: 0; font-size: 24px; line-height: 1; cursor: pointer; color: #475569; }
.rf-panel-body { padding: 4px 20px 24px; }
.rf-note { color: #334155; margin: 6px 0 12px; }
.rf-h3 { font-size: 15px; margin: 14px 0 8px; }
.rf-box { border: 1px solid #e2e8f0; border-radius: 11px; padding: 12px; margin-bottom: 14px; }
.rf-admin { border-color: #ddd6fe; background: #faf9ff; }
.rf-input {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: 14px system-ui, sans-serif;
  margin-bottom: 8px;
  background: #fff;
}
.rf-amt { width: 130px; margin-bottom: 0; }
.rf-primary {
  display: block;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  background: #7c3aed;
  color: #fff;
  font: 600 14px system-ui, sans-serif;
  cursor: pointer;
}
.rf-mini {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 10px;
  font: 600 12px system-ui, sans-serif;
  cursor: pointer;
}
.rf-danger-text { color: #b91c1c; }
.rf-inline { display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.rf-inline .rf-input { margin-bottom: 0; }
.rf-lab { display: block; font: 600 12px system-ui, sans-serif; color: #475569; margin: 6px 0 3px; }
.rf-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  margin-bottom: 7px;
}
.rf-col { display: block; }
.rf-row-top { display: flex; align-items: center; gap: 8px; }
.rf-row-name { font-weight: 600; flex: 1; }
.rf-row-amt { font-weight: 700; color: #5b21b6; }
.rf-chip { font: 700 11px system-ui, sans-serif; text-transform: uppercase; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 999px; }
.rf-chip-pending { background: #fef3c7; color: #92400e; }
.rf-chip-earned { background: #dcfce7; color: #166534; }
.rf-chip-applied { background: #dbeafe; color: #1e40af; }
.rf-chip-void { background: #f1f5f9; color: #64748b; }
.rf-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 4000;
  background: #14532d;
  color: #fff;
  padding: 11px 18px;
  border-radius: 999px;
  font: 600 13px system-ui, sans-serif;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  max-width: 92vw;
  text-align: center;
}
.rf-toast-error { background: #7f1d1d; }
