/* The think-aloud recorder's consent card, "Recording" pill and toast on the onboarding (29 Sep 2026).
   The app draws these from its own modal.css, button.css and tokens; the onboarding has its own .btn and
   tokens, so this sheet is self-contained and scoped to the recorder's own elements. Same look as the app. */
#testrec-consent {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; background: var(--modal-scrim, rgba(0, 0, 0, .12));
  font-family: inherit;
}
#testrec-consent .testrec-card {
  width: 440px; max-width: 100%; box-sizing: border-box;
  padding: 32px; border-radius: 16px; background: #fff; color: #2c2c2c;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
  display: flex; flex-direction: column; gap: 16px; text-align: left;
}
#testrec-consent .testrec-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: #f5f5f5; color: #2c2c2c;
}
#testrec-consent .testrec-card__icon > svg { width: 22px; height: 22px; }
#testrec-consent .testrec-card__text { margin: 0; font-size: 16px; line-height: 1.5; color: #2c2c2c; }
#testrec-consent .testrec-card__actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 8px; }
#testrec-consent .btn {
  width: auto; min-width: 0; height: 44px; padding: 0 18px; margin: 0;
  border-radius: 999px; border: 1px solid #d8d8da; background: #fff; color: #2c2c2c;
  font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
}
#testrec-consent .btn--primary { background: #2c2c2c; border-color: #2c2c2c; color: #fff; }
#testrec-consent .btn:focus-visible { outline: 2px solid #2c2c2c; outline-offset: 2px; }

.testrec-pill {
  position: fixed; left: 16px; bottom: 16px; z-index: 9000;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid #e4e4e6; box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  font-size: 14px; color: #2c2c2c; white-space: nowrap;
}
.testrec-pill[hidden] { display: none; }
.testrec-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #e11d48; animation: testrecPulse 1.6s ease-in-out infinite; }
.testrec-pill__stop { border: none; background: #f5f5f5; color: #2c2c2c; font: inherit; font-weight: 500; padding: 4px 12px; border-radius: 999px; cursor: pointer; }
.testrec-pill__stop:hover { background: #e4e4e6; }
.testrec-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 10001;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px;
  background: #2c2c2c; color: #fff; font-size: 14px; line-height: 1.4;
}
@keyframes testrecPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .testrec-pill__dot { animation: none; } }
@media (max-width: 640px) { #testrec-consent .testrec-card { padding: 24px; } }
