/* Dedicated testing controls, matching the existing my Roster Reach interface. */
.rr-test-panel { border-color: #dcd0ff; }
.rr-test-badge { margin-inline: .3rem; font-size: .68rem; letter-spacing: .09em; vertical-align: middle; }
.rr-test-intro { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.rr-test-intro p { max-width: 48rem; margin: .6rem 0; }
.rr-test-intro .button { flex-shrink: 0; }
.rr-test-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; margin: 1.1rem 0; }
.rr-test-meta span { color: #566583; font-size: .85rem; }
.rr-test-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 1rem 0; }
.rr-test-cards section { border: 1px solid #e2e5f0; border-radius: 14px; background: #fbfaff; padding: 1.4rem; display: flex; flex-direction: column; align-items: flex-start; }
.rr-test-cards h3 { margin: .85rem 0 .4rem; }
.rr-test-cards p { line-height: 1.65; margin-bottom: 1.2rem; flex: 1; }
.rr-test-cards .circle-icon { width: 2.6rem; height: 2.6rem; }
.rr-test-panel .notice ul { margin: .6rem 0; padding-left: 1.25rem; }
.rr-test-panel .notice li + li { margin-top: .4rem; }
.rr-test-counts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .7rem; }
.rr-test-counts span { border: 1px solid #e2e5f0; border-radius: 10px; padding: .8rem; color: #566583; font-size: .8rem; }
.rr-test-counts strong { display: block; font-size: 1.2rem; color: #1c2945; }
.rr-test-snapshot { max-height: 24rem; white-space: pre-wrap; overflow: auto; overflow-wrap: anywhere; background: #f7f8fc; border-radius: 10px; padding: 1rem; font-size: .8rem; }
.rr-athlete-filters { justify-content: flex-start; }
.rr-athlete-filters label { flex: 0 1 17rem; }
.rr-test-account-banner { margin: .75rem 1.5rem; display: flex; flex-wrap: wrap; gap: .45rem 1rem; }
.rr-test-account-banner span { line-height: 1.6; }
.rr-reset-summary p { line-height: 1.65; }
@media(max-width: 680px) {
  .rr-test-cards { grid-template-columns: 1fr; }
  .rr-test-intro { align-items: stretch; flex-direction: column; gap: .5rem; }
  .rr-test-intro .button,.rr-test-cards .button { width: 100%; }
  .rr-test-meta { align-items: flex-start; flex-direction: column; }
  .rr-test-counts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rr-test-account-banner { margin: .6rem .8rem; }
  .rr-test-panel .notice { overflow-wrap: anywhere; }
}

/* Invitation lifecycle test action and explicit post-reset handoff. */
.rr-test-preregistration { border-color: #c6b0ff !important; }
.rr-test-registration { scroll-margin-top: 6rem; padding: 1.2rem; margin: 1rem 0; border: 1px solid #c6b0ff; border-radius: 14px; background: #f7f3ff; overflow-wrap: anywhere; }
.rr-test-registration h3 { margin: 0 0 .5rem; }
.rr-test-registration p,.rr-prereg-warning p { line-height: 1.65; }
.rr-test-registration .actions { flex-wrap: wrap; }
@media (max-width: 1100px) { .rr-test-cards { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .rr-test-registration .button { width: 100%; } }

/* Permanent account removal is deliberately separate from reversible test resets. */
.rr-delete-athlete-panel{border-color:#e5a5aa;margin-top:28px}
.rr-delete-athlete-panel p{max-width:78ch;line-height:1.65}
.rr-delete-identity{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;overflow-wrap:anywhere}
.rr-delete-identity strong{font-size:18px}
.rr-deletion-counts{display:grid;grid-template-columns:1fr 1fr;gap:6px 20px;margin:0}
.rr-deletion-counts>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #e4e7f0;padding:7px 0}
.rr-deletion-counts dt{font-size:13px}.rr-deletion-counts dd{font-weight:700;margin:0}
.rr-deletion-cleanup{padding:16px 0;border-top:1px solid #e4e7f0}.rr-delete-cleanup-panel .notice{overflow-wrap:anywhere}
@media(max-width:600px){.rr-deletion-counts{grid-template-columns:1fr}.rr-delete-athlete-panel .button{width:100%;min-height:44px}.rr-delete-identity{align-items:flex-start;flex-direction:column}}
