/* Manager analytics — learner coaching list */
.an-list { padding: 20px 0 0; }
.an-list > .an-card-title, .an-list > .an-card-sub, .an-list-toolbar, .an-list-foot { margin-left: 24px; margin-right: 24px; }
.an-list-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; margin-bottom: 16px; }
.an-list-search { position: relative; flex: 0 1 260px; min-width: 180px; display: block; }
.an-list-search-icon { position: absolute; left: 12px; top: 12px; color: var(--fg-muted); pointer-events: none; }
.an-list-search input {
  width: 100%; height: 40px; padding: 0 12px 0 36px; border: 1px solid var(--border-default); border-radius: var(--radius-default);
  background: var(--bg-surface); color: var(--fg-default); font: inherit; font-size: 14px; box-sizing: border-box;
}
.an-list-search input:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-color: var(--border-brand); }
.an-list-filter-btn {
  height: 40px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border-default);
  border-radius: var(--radius-default); background: var(--bg-surface); color: var(--fg-default); font: inherit; font-size: 14px; font-weight: 500; cursor: default;
}
.an-list-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 12px; border-radius: 16px; background: var(--bg-brand-subtle); color: var(--fg-brand); font-size: 13px; font-weight: 500; }
.an-list-chip-x { width: 18px; height: 18px; border: 0; border-radius: 50%; background: rgba(0,0,0,0.08); color: inherit; font-size: 14px; line-height: 1; cursor: pointer; padding: 0; }
.an-list-chip-x:hover { background: rgba(0,0,0,0.16); }
.an-list-download { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.an-btn-sm { height: 32px; padding: 0 12px; font-size: 13px; white-space: nowrap; }

.an-list-scroll { overflow-x: auto; }
.an-list-table { width: 100%; min-width: 1000px; border-collapse: collapse; font-size: 13px; color: var(--fg-default); }
.an-list-table th { text-align: left; font-weight: 500; font-size: 13px; color: var(--fg-subtle); padding: 10px 8px; white-space: nowrap; }
.an-list-table th:first-child, .an-list-table td:first-child { padding-left: 24px; }
.an-list-table th:last-child, .an-list-table td:last-child { padding-right: 24px; text-align: right; }
.an-list-table td { padding: 10px 8px; border-top: 1px solid var(--border-subtle); vertical-align: middle; }
.an-list-sort { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.an-list-sort:hover, .an-list-sort.is-active { color: var(--fg-default); }
.an-list-sort.is-active { font-weight: 600; }
.an-list-learner { display: flex; align-items: center; gap: 10px; min-width: 130px; }
.an-list-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--bg-subtle); }
.an-list-avatar-ini { display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--fg-subtle); }
.an-list-name { font-weight: 600; }
.an-list-team { min-width: 100px; }
.an-list-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-width: 160px; }
.an-list-mode { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-muted); }
.an-list-nowrap { white-space: nowrap; }
.an-list-score { display: inline-block; padding: 3px 10px; border-radius: 12px; font-weight: 600; white-space: nowrap; background: var(--bg-subtle); }
.an-list-score-support { background: var(--grey-200); }
.an-list-score-developing { background: var(--green-100); }
.an-list-score-ready { background: var(--green-200); }
.an-list-score-high { background: var(--green-500); color: #fff; }
.an-list-missed-cell { max-width: 200px; }
.an-list-missed { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
.an-list-me td { background: var(--bg-brand-subtle); }
.an-list-empty { margin: 24px; color: var(--fg-muted); font-size: 14px; }

.an-list-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 14px 0; border-top: 1px solid var(--border-subtle); margin-left: 0; margin-right: 24px; font-size: 13px; color: var(--fg-muted); }
.an-list-range { margin-right: 4px; }
.an-list-page { min-width: 28px; height: 28px; padding: 0 6px; border: 1px solid var(--border-default); border-radius: 6px; background: var(--bg-surface); color: var(--fg-default); font: inherit; font-size: 13px; cursor: pointer; }
.an-list-page.is-current { background: var(--green-700); border-color: var(--green-700); color: #fff; font-weight: 600; }
.an-list-page:disabled { opacity: 0.4; cursor: default; }
.an-list-perpage { margin-left: 8px; padding: 4px 10px; border: 1px solid var(--border-default); border-radius: 6px; color: var(--fg-default); }

/* narrow layouts (~800px) */
@media (max-width: 860px) {
  .an-list-table { min-width: 0; }
  .an-list-table th:nth-child(2), .an-list-table td:nth-child(2),
  .an-list-table th:nth-child(4), .an-list-table td:nth-child(4),
  .an-list-table th:nth-child(8), .an-list-table td:nth-child(8) { display: none; }
  .an-list-table th, .an-list-table td { padding-left: 6px; padding-right: 6px; }
  .an-list-table th:first-child, .an-list-table td:first-child { padding-left: 16px; }
  .an-list-table th:last-child, .an-list-table td:last-child { padding-right: 16px; }
  .an-list-clamp { min-width: 0; }
  .an-list-learner { min-width: 0; }
}
