/* RPM (C3) two-factor sign-in (Item 4) bolt-on styles.
   Entry points (2026-11-15): the floating launcher is gone — two-factor
   is reached from the member bar's session actions (the app's own
   .session-button styling) and from a card on the Profile tab of My Shop
   (the app's .panel language); only the card's spacing needs rules here. */
.tf2-profile-card { margin: 0 0 18px; }
.tf2-profile-open { margin-top: 12px; }
.tf2-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(15, 23, 42, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.tf2-card {
  background: #fff;
  border-radius: 14px;
  max-width: 380px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  font: 14px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #0f172a;
}
.tf2-card h2 { margin: 0 0 8px; font-size: 20px; }
.tf2-note { color: #334155; margin: 6px 0 12px; }
.tf2-small { font-size: 12px; word-break: break-all; }
.tf2-msg { color: #b91c1c; min-height: 20px; margin: 8px 0; }
.tf2-code {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  font-size: 20px;
  letter-spacing: 4px;
  text-align: center;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
}
.tf2-code-inline { font-size: 16px; letter-spacing: 2px; margin: 4px 0 10px; }
.tf2-primary {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 11px;
  border: 0;
  border-radius: 9px;
  background: #b91c1c;
  color: #fff;
  font: 600 14px system-ui, sans-serif;
  cursor: pointer;
}
.tf2-danger {
  display: block;
  width: 100%;
  padding: 11px;
  border: 0;
  border-radius: 9px;
  background: #7f1d1d;
  color: #fff;
  font: 600 14px system-ui, sans-serif;
  cursor: pointer;
}
.tf2-link {
  display: block;
  margin: 12px auto 0;
  background: none;
  border: 0;
  color: #1d4ed8;
  font: 13px system-ui, sans-serif;
  cursor: pointer;
  text-decoration: underline;
}
.tf2-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(430px, 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;
}
.tf2-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 6px;
}
.tf2-panel-head h2 { margin: 0; font-size: 19px; }
.tf2-close {
  background: none;
  border: 0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #475569;
}
.tf2-panel-body { padding: 4px 20px 24px; }
.tf2-secret {
  font: 700 17px/1.5 ui-monospace, Menlo, monospace;
  letter-spacing: 2px;
  background: #f1f5f9;
  border: 1px dashed #94a3b8;
  border-radius: 9px;
  padding: 10px 12px;
  margin: 6px 0 10px;
  word-break: break-all;
  text-align: center;
}
.tf2-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;
}
.tf2-toast-error { background: #7f1d1d; }

.tf2-qr{background:#fff;padding:10px;display:inline-block;border-radius:8px;line-height:0;margin:6px 0}
.tf2-qr svg{width:180px;height:180px}
