/* V6.0 — professional heading, original project palette, readable light/dark themes. */
html[data-scroll-theme='student-performance'] .sp-page-head{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;padding:2px 0 8px!important;margin-bottom:22px!important;}
html[data-scroll-theme='student-performance'] .sp-page-head::before,html[data-scroll-theme='student-performance'] .sp-page-head::after{display:none!important;}
html[data-scroll-theme='student-performance'] .sp-chart,html[data-scroll-theme='student-performance'] svg,html[data-scroll-theme='student-performance'] canvas{filter:none!important;}
html[data-scroll-theme='student-performance'][data-apu-theme='dark']{--bg:#07111f;--panel:#0d1a2e;--panel-2:#111f36;--panel-3:#152640;--line:rgba(148,163,184,.18);--text:#f3f7fb;--muted:#95a5ba;--brand:#7c5cff;--brand-2:#14b8a6;--cyan:#22d3ee;--green:#34d399;--amber:#fbbf24;--red:#fb7185;}
html[data-scroll-theme='student-performance'][data-apu-theme='light']{--bg:#f5f7ff;--panel:#ffffff;--panel-2:#f1f4ff;--panel-3:#e9edfb;--line:rgba(30,41,59,.14);--text:#111827;--muted:#5d687a;--brand:#6d4aff;--brand-2:#0f9f91;--cyan:#0891b2;--green:#059669;--amber:#d97706;--red:#e11d48;--shadow:0 18px 48px rgba(42,54,86,.12);}
html[data-scroll-theme='student-performance'][data-apu-theme='light'] :where(.sp-app,.sp-main){background:linear-gradient(180deg,#f7f8ff,#eef2ff)!important;color:var(--text)!important;}
html[data-scroll-theme='student-performance'][data-apu-theme='light'] .sp-sidebar{background:linear-gradient(180deg,#ffffff,#f1f4ff)!important;color:var(--text)!important;border-color:var(--line)!important;}
html[data-scroll-theme='student-performance'][data-apu-theme='light'] :where(.sp-card,.sp-card--soft,.sp-table-wrap,.sp-output,.sp-detail,.sp-list-item,.sp-modal,.sp-modal-head){background:var(--panel)!important;color:var(--text)!important;border-color:var(--line)!important;}
html[data-scroll-theme='student-performance'][data-apu-theme='light'] :where(.sp-control,.sp-form input,.sp-form select,.sp-form textarea,.sp-table th,.sp-btn){background:var(--panel-2)!important;color:var(--text)!important;border-color:var(--line)!important;}
html[data-scroll-theme='student-performance'][data-apu-theme='light'] :where(.sp-page-head p,.sp-card p,.sp-section-head p,.sp-form-hint,.sp-side-foot,.sp-table small){color:var(--muted)!important;}
html[data-scroll-theme='student-performance'][data-apu-theme='light'] .sp-btn--primary{background:linear-gradient(135deg,var(--brand),#4f8cff)!important;color:#fff!important;}
html[data-scroll-theme='student-performance'] .sp-fill--low{background:linear-gradient(90deg,#10b981,#6ee7b7)!important}.sp-fill--medium{background:linear-gradient(90deg,#f59e0b,#fde68a)!important}.sp-fill--high{background:linear-gradient(90deg,#ef4444,#fda4af)!important}
html[data-scroll-theme='student-performance'] .sp-score--good{color:#10b981!important}.sp-score--mid{color:#d97706!important}.sp-score--bad{color:#e11d48!important}
