.course-insights-page{max-width:1600px;margin-inline:auto;min-width:0}
.course-insights-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
.course-insights-head h1{margin:6px 0 10px;font-size:clamp(26px,3vw,36px)}
.course-insights-head p,.course-insights-scope,.course-insights-method p,.course-insights-section>p{color:var(--text-secondary);line-height:1.65}
.course-insights-scope{padding:12px 16px;border:1px solid var(--border);border-radius:12px;background:var(--surface-1)}
.course-insights-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin-block:18px}
.course-insights-filters label,.course-insights-section form label{display:grid;gap:6px;min-width:150px;font-size:13px;font-weight:600;color:var(--text-secondary)}
.course-insights-filters input,.course-insights-filters select,.course-insights-section form input{min-width:0;width:100%;height:42px;border:1px solid var(--border);border-radius:9px;padding:8px 10px;background:var(--surface-2);color:var(--text-primary)}
.course-insights-filters label:has(select){max-width:360px;flex:1}
.course-insights-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-block:20px}
.course-insights-metrics>div{display:grid;gap:6px;padding:18px;background:var(--surface-2);border:1px solid var(--border);border-radius:14px}
.course-insights-metrics strong{font-size:24px;color:var(--text-primary)}
.course-insights-metrics span{font-size:12px;color:var(--text-secondary)}
.course-insights-method{padding:14px 18px;border:1px solid var(--border);border-radius:12px}
.course-insights-method summary{cursor:pointer;font-weight:650}
.course-insights-section{padding:20px;margin-block:20px;background:var(--surface-2);border:1px solid var(--border);border-radius:16px;min-width:0}
.course-insights-section h2{margin:0 0 12px;font-size:22px}
.course-insights-section summary{cursor:pointer;font-weight:650}
.course-insights-table{overflow-x:auto;max-width:100%;margin-block:18px;border:1px solid var(--border);border-radius:10px}
.course-insights-table table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}
.course-insights-table th,.course-insights-table td{padding:12px;text-align:left;border-bottom:1px solid var(--border)}
.course-insights-table th{background:var(--bg);color:var(--text-secondary);font-size:12px}
.course-insights-table th button,.course-insights-name{border:0;background:transparent;color:var(--text-primary);padding:5px;cursor:pointer;font:inherit;text-align:left}
.course-insights-name{color:var(--accent);font-weight:650}
.course-insights-table button:hover,.course-insights-table button:focus-visible{background:var(--bg);color:var(--text-primary);text-decoration:underline}
.course-insights-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:14px;font-size:13px;color:var(--text-secondary)}
.course-insights-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:8px;background:var(--surface-2);border:1px solid var(--border);border-radius:14px;margin-block:22px}
.course-insights-tabs .is-selected{background:var(--accent-bg);color:var(--accent-text);border-color:var(--accent-border)}
.course-insights-tabs .is-selected:hover,.course-insights-tabs .is-selected:focus-visible{background:var(--accent-bg);color:var(--accent-text);text-decoration:underline}
.course-insights-actions{display:flex;flex-wrap:wrap;gap:10px;margin-block:18px}
.course-engagement-panel[hidden]{display:none!important}
.course-insights-section form{display:flex;gap:12px;flex-wrap:wrap;align-items:end}
.course-insights-section form h3,.course-insights-section form p{flex-basis:100%}
.course-engagement-panel .aero-student-controls{margin:0}
.course-insights-page .aero-learning-instructor{margin-block:20px}
@media(max-width:760px){.course-insights-head{flex-direction:column}.course-insights-section{padding:14px}.course-insights-filters label{flex:1 1 160px}.course-insights-tabs{gap:4px}.course-insights-tabs button{font-size:12px}.course-insights-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
