#student-recovery-root[hidden] { display: none; }
.student-recovery {
  position: sticky; top: 76px; z-index: 40; box-sizing: border-box;
  max-width: 100%; max-height: 46vh; overflow: auto;
  margin: 12px 0 20px; padding: 18px; border: 2px solid #fbbf24;
  border-radius: 14px; background: #142238; color: #f8fafc;
  font: inherit; line-height: 1.5; box-shadow: 0 6px 24px #0005;
}
.student-recovery h2 { font-size: 1.2rem; margin: 0 0 10px; color: #fef3c7; }
.student-recovery p { margin: 8px 0; color: #f1f5f9; }
.student-recovery [role=status] { font-weight: 600; }
.student-recovery a { color: #bfdbfe; text-decoration: underline; }
.student-recovery__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.student-recovery button {
  min-height: 44px; padding: 10px 14px; border: 1px solid #94a3b8;
  border-radius: 8px; background: #1e40af; color: #fff; font: inherit; cursor: pointer;
}
.student-recovery button:disabled { opacity: .55; cursor: default; }
.student-recovery :is(button,input,summary,a):focus-visible { outline: 3px solid #fbbf24; outline-offset: 3px; }
.student-recovery label { display: block; margin: 12px 0; }
.student-recovery input:not([type=checkbox]) { display: block; box-sizing: border-box; width: 100%; max-width: 480px; padding: 10px; min-height: 44px; border: 1px solid #94a3b8; border-radius: 6px; background: #0f172a; color: #fff; font: inherit; }
.student-recovery input[type=checkbox] { width: 20px; height: 20px; vertical-align: middle; }
.student-recovery details { border-top: 1px solid #64748b; padding: 10px 0; }
.student-recovery summary { cursor: pointer; padding: 8px 0; }
body[data-study-neutral] > :not(#student-recovery-root) { display: none !important; }
.student-recovery--neutral { position: relative; top: 0; max-width: 720px; max-height: none; margin: 24px auto; }
@media (max-width: 600px) {
  .student-recovery { top: 66px; padding: 14px; max-height: 50vh; }
  .student-recovery__actions { display: grid; grid-template-columns: 1fr; }
  .student-recovery button { width: 100%; }
  .student-recovery--neutral { top: 0; margin: 12px; max-height: none; }
}
