.teaching-toggle{width:18px;height:18px;accent-color:#012b28;cursor:pointer}.teaching-toggle:disabled{cursor:default}.teaching-admin>details{margin-top:24px}.teaching-admin summary{cursor:pointer}.teaching-admin #invite{margin-top:18px}

.student-groups a{display:block;max-width:180px;margin:5px 0;font-size:12px}.directory-view{display:flex;align-items:center;gap:8px;font-size:12px}.directory-view select{width:auto;margin:0}.cohort-filter{font-size:13px}.cohort-filter a{margin-left:12px}.archive-student{font-size:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Compact directory: reserve width for identities/cohorts, not row actions. */
main:has(.students-table){max-width:1280px}
.students-table{table-layout:fixed;min-width:1000px}
.students-table .col-student{width:19%}.students-table .col-groups{width:21%}
.students-table .col-teaching{width:7%}.students-table .col-free{width:8%}
.students-table .col-completed{width:9%}.students-table .col-access{width:10%}
.students-table .col-average{width:8%}.students-table .col-latest{width:14%}
.students-table .col-archive{width:4%}
.students-table th,.students-table td{padding:14px 8px;overflow-wrap:anywhere}
.students-table th{font-size:10px;letter-spacing:.25px;line-height:1.5;overflow-wrap:normal}
.students-table td:last-child{min-width:0}
.students-table td:first-child,.students-table th:first-child{padding-left:0}
.students-table .person small{max-width:none}
.students-table .student-groups a{max-width:none;font-size:12px;line-height:1.5;margin:5px 0}
.students-table th:nth-child(3),.students-table td:nth-child(3),
.students-table th:nth-child(4),.students-table td:nth-child(4),
.students-table th:nth-child(7),.students-table td:nth-child(7){text-align:center}
.students-table .archive-student{width:32px;height:32px;min-height:32px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;color:var(--muted)}
.students-table .archive-student:hover{color:var(--green);background:var(--soft)}
.students-table .archive-student:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
#search-form.toolbar{align-items:center;gap:12px}
#search-form label{margin:0}
#search-form .search input,#search-form>.btn,#search-form .directory-view select{height:44px;min-height:44px;box-sizing:border-box}
#search-form .search{min-width:220px}
#search-form .search span{top:50%;transform:translateY(-50%)}
#search-form .directory-view{gap:8px;white-space:nowrap}
#search-form .directory-view select{width:auto}

.cohort-navigation{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 18px;font-size:12px}
.cohort-navigation label{color:var(--muted)}.cohort-navigation select{height:36px;min-width:180px;max-width:100%;width:auto;padding:6px 28px 6px 10px}
.cohort-navigation a{color:var(--green);text-underline-offset:3px}.cohort-navigation a:last-child{margin-left:auto}
.cohort-navigation .signup-sort{height:36px;min-height:36px;white-space:nowrap}
.students-table td:nth-child(5){font-variant-numeric:tabular-nums}


.group-heading,.group-actions{display:flex;justify-content:space-between;gap:16px;align-items:center}.group-actions{justify-content:flex-start}.member-picker{border:0;padding:0;margin:24px 0 10px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.member-picker legend{font-size:13px;margin-bottom:12px}.member-picker label{display:flex;align-items:center;gap:10px;margin:0}.member-picker input{width:17px;height:17px;margin:0;accent-color:var(--green)}#group-form{max-width:720px}.group-heading h1{margin:0}#assignment-recipients:empty{display:none}
.member-search{max-width:400px;margin-top:22px}.member-picker{display:block;margin:22px 0}.member-picker legend{font-weight:600;margin-bottom:12px}.member-picker label{padding:8px 0}.member-picker + .member-picker{border-top:1px solid var(--line);padding-top:16px}.member-email{display:block;margin-top:3px}
#group-form label{display:block}#group-form input:not([type=checkbox]){display:block;width:100%;padding:10px;border:1px solid var(--line);margin:8px 0 16px}#group-form .member-picker label{display:flex}#group-form button,.group-heading button,.edit-group,.archive-group{padding:9px 12px;border:1px solid var(--line);background:white;color:var(--green);cursor:pointer}.group-heading{margin-bottom:16px}.group-view{display:flex;gap:8px;align-items:center;margin-bottom:20px}.group-view select{width:auto}#group-editor{border-top:1px solid var(--line);margin-top:25px;padding-top:20px}.meta{color:var(--muted);font-size:12px}#main:has(#group-form){max-width:1280px}#group-form .member-picker[hidden],#group-form [data-member-row][hidden]{display:none!important}@media(max-width:720px){.students-table{min-width:0;table-layout:auto}}
