.registry-tasks>article,.registry-students>article{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid #eee}.registry-tasks p,.registry-students p{margin:6px 0;color:#777;font-size:12px}.registry-students small{color:#888}.registry-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.registry-groups article{padding:18px;border:1px solid #eee;border-radius:10px}.registry-review{display:grid;gap:12px;max-height:60vh;overflow:auto}.registry-review article{padding:16px;border:1px solid #e8e8e8;border-radius:10px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.registry-review article>label.checkbox-row{grid-column:1/-1;font-size:12px}.registry-review p{font-size:12px;color:#777;margin:6px 0}.registry-checklist{max-height:40vh;overflow:auto;border:1px solid #eee;border-radius:8px;padding:14px;margin:14px 0}.registry-code{font-size:26px;letter-spacing:3px;font-weight:700;color:#c22;text-align:center;padding:24px;background:#fff5f5}.registry-tasks .heading-actions{flex-wrap:wrap}.registry-students [hidden]{display:none}
@media(max-width:600px){.registry-review article{grid-template-columns:1fr;padding:12px}.registry-students>article,.registry-tasks>article{align-items:flex-start;flex-direction:column}.registry-review select,.registry-review input{font-size:16px}.registry-checklist{max-height:35vh}.registry-code{font-size:20px;letter-spacing:2px}.registry-groups{grid-template-columns:1fr}.registry-students .heading-actions{flex-wrap:wrap}}
dialog:has(.registry-review),dialog:has(#moveStudents),dialog:has(#mergeConfirm){width:min(900px,calc(100vw - 32px))}.registry-review .checkbox-row{justify-content:flex-start;gap:10px}.registry-review .checkbox-row input{width:auto;flex:none}

dialog:has(#completeClassForm),dialog:has(#completionCandidate),dialog:has(#completionConfirm){width:min(680px,calc(100vw - 32px))}#completionConfirm .checkbox-row{display:flex;align-items:flex-start;flex-wrap:nowrap;gap:10px}#completionConfirm .checkbox-row input{width:auto;flex:none;margin-top:5px}#completionCandidate select{max-width:100%}
