.theme-toggle-button { flex:0 0 44px; width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; }
.theme-toggle-button img { display:block; flex:0 0 auto; }
.theme-toggle-button img[hidden] { display:none; }
.group-head-controls { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr)); gap:16px; margin-block:20px; }
.group-head-summary { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr)); gap:12px; margin-bottom:20px; }
.group-head-summary article { padding:18px; border:1px solid var(--border); background:var(--surface); border-radius:var(--radius-md); }
.group-head-summary strong { display:block; font-size:calc(24px * var(--font-scale)); }
.group-head-table { width:100%; border-collapse:collapse; }
.group-head-table :is(th,td) { text-align:left; vertical-align:top; padding:14px; border-bottom:1px solid var(--border); }
.group-head-table th { font-size:calc(13px * var(--font-scale)); color:var(--muted); }
.group-head-table td:first-child { min-width:160px; }
.group-head-table progress { width:140px; max-width:100%; }
.group-head-table small { display:block; color:var(--muted); margin-top:6px; }
.group-head-pagination { display:flex; gap:12px; align-items:center; justify-content:space-between; margin-top:16px; }
#group-head-workspace { min-width:0; }
#group-head-workspace .table-scroll { max-width:100%; }
@media (min-width:1001px) {
  .sidebar .navigation { align-items:center; }
  .sidebar .navigation > #security-navigation { margin:0; padding:10px 12px; align-self:center; }
}
@media (max-width:600px) {
  .theme-toggle-button { flex-basis:40px; width:40px; height:40px; }
  .group-head-table :is(th,td) { padding:10px; }
}

.group-head-table caption.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
/* The long criterion names stay inside the existing review window. */
.review-criterion-picker { display: grid; gap: 10px; min-width: 0; }
.review-criterion-picker select { width: 100%; min-width: 0; max-width: 100%; }
.review-criterion-picker .notice { overflow-wrap: anywhere; }
