/* Shared list header in ordinary screens and report shadow roots. */
.student-list-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;box-sizing:border-box;width:100%;margin:24px 0 8px;padding:0 4px;flex:none}
.student-list-header .student-list-label{display:flex;flex-wrap:wrap;gap:0 4px;min-width:0;margin:0;color:rgb(var(--muted-rgb));font:700 10px/1.5 Poppins,Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;text-align:left;overflow-wrap:normal;word-break:normal}
.student-list-label>span{white-space:nowrap;font-variant-numeric:tabular-nums}
.student-list-header .student-list-pill{display:flex;flex:none;border-radius:9999px;padding:2px;background:rgb(var(--brand-rgb)/.06)}
.student-list-header button.student-list-choice{box-sizing:border-box;height:28px;min-height:28px;min-width:0;flex:none;padding:0 12px;border:0;border-radius:9999px;margin:0;background:transparent;color:rgb(var(--muted-rgb));box-shadow:none;font:700 10px/1.5 Poppins,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;cursor:pointer;transition:color .15s,background-color .15s}
.student-list-header button.student-list-choice[aria-pressed=true]{background:rgb(var(--surface-rgb));color:rgb(var(--action-ink-dark-rgb));box-shadow:0 1px 2px rgb(var(--shadow-rgb,28 20 36)/.06),0 2px 8px -2px rgb(var(--shadow-rgb,28 20 36)/.08)}
.student-list-header button.student-list-choice:focus-visible{outline:2px solid rgb(var(--brand-rgb)/.3);outline-offset:0}
@media(prefers-reduced-motion:reduce){.student-list-header button.student-list-choice{transition:none}}

body.compact-journey-app main .student-list-header .student-list-label,body.compact-journey-app main .student-list-header .student-list-label *{text-align:left!important}

/* Evaluate keeps its original row controls in one Results-style card. */
body.stage-path-preview main:is(.eval-list-view,.eval-checking-view,.eval-local-checking-view) .saved-results-list.student-grouped-list{display:block;position:relative;gap:0;width:100%;max-width:680px;padding:0;margin:0 auto 16px;overflow:hidden;border-radius:20px;background:var(--surface);box-shadow:var(--shadow-tile),0 0 0 1px rgb(var(--brand-rgb)/.08)}
body.stage-path-preview main:is(.eval-list-view,.eval-checking-view,.eval-local-checking-view) .student-grouped-list>.eval-student-tile{display:flex;position:relative;min-height:64px;align-items:center;gap:12px;margin:0;padding:10px 16px;width:100%;border:0;border-bottom:1px solid rgb(var(--brand-rgb)/.06);border-radius:0;background:transparent;box-shadow:none;justify-content:flex-start}
body.stage-path-preview main:is(.eval-list-view,.eval-checking-view,.eval-local-checking-view) .student-grouped-list>.eval-student-tile.student-row-last{border-bottom:0}
body.stage-path-preview main:is(.eval-list-view,.eval-checking-view,.eval-local-checking-view) .student-grouped-list>.eval-student-tile strong{font:700 14.5px/1.25 var(--font);text-align:left;word-break:normal;overflow-wrap:normal}
.student-grouped-list .eval-tile-trailing{display:flex;flex:none;align-items:center;gap:8px;margin-left:auto}.student-grouped-list .ds-tile-copy{text-align:left}
.student-grouped-list>.eval-filter-empty{margin:0;border-radius:0;padding:40px 16px;background:transparent;font-size:14px;line-height:1.5}.student-grouped-list>.eval-filter-empty[hidden]{display:none!important}
body .eval-list-view>.student-list-header{max-width:680px;margin-left:auto;margin-right:auto}

body.compact-journey-app main:is(.eval-list-view,.eval-checking-view,.eval-local-checking-view) .student-grouped-list>.eval-student-tile:not([hidden]){display:flex!important;padding-inline:16px!important;gap:12px;justify-content:flex-start}
body.compact-journey-app main:is(.eval-list-view,.eval-checking-view,.eval-local-checking-view) .student-grouped-list>.eval-student-tile :is(.ds-tile-copy,.flex-col){align-items:flex-start!important;text-align:left!important}
body.compact-journey-app main:is(.eval-list-view,.eval-checking-view,.eval-local-checking-view) .student-grouped-list>.eval-student-tile strong{display:block;text-align:left!important;word-break:normal;overflow-wrap:normal}
body.compact-journey-app main:is(.eval-list-view,.eval-checking-view,.eval-local-checking-view) .student-grouped-list>.eval-student-tile>.eval-tile-trailing{flex:none;width:auto;min-width:0;margin-left:auto;justify-content:flex-end!important}

/* Reserve a shrinking name/chip column; the score and chevron never share it. */
body.compact-journey-app main:is(.eval-list-view,.eval-checking-view,.eval-local-checking-view) .student-grouped-list>.eval-student-tile>:is(.ds-tile-copy,.flex-col){flex:1 1 0%;width:auto;min-width:0;max-width:100%}
body.compact-journey-app main:is(.eval-list-view,.eval-checking-view,.eval-local-checking-view) .student-grouped-list>.eval-student-tile :is(.ds-wrap,.flex-wrap){max-width:100%;min-width:0;justify-content:flex-start!important;row-gap:4px}
body.compact-journey-app main:is(.eval-list-view,.eval-checking-view,.eval-local-checking-view) .student-grouped-list>.eval-student-tile :is(.ds-wrap,.flex-wrap)>*{max-width:100%;white-space:normal;word-break:normal;overflow-wrap:normal}
body.compact-journey-app main:is(.eval-list-view,.eval-checking-view,.eval-local-checking-view) .student-grouped-list>.eval-student-tile>.eval-tile-trailing>*{flex:none;white-space:nowrap}
.student-list-label>[data-label-separator]::after{content:' ·'}
/* Keep the fixed-size pill at the right edge while giving the atomic label
 * groups a little more room on the narrowest phones. */
@media(max-width:340px){.student-list-header{column-gap:4px}}
