/* Academic Excellence light theme. Every rule is restricted to light mode. */
html:not([data-theme="dark"]) { color-scheme:light; background:#faf8ff; color:#131b2e; }
html:not([data-theme="dark"]) body { --surface:#fff!important; --surface-raised:#f2f3ff!important; --edge:#e2e7f3!important; --text:#131b2e!important; --muted:#4c5b65!important; --accent:#006948!important; }
html:not([data-theme="dark"]) .app-page,html:not([data-theme="dark"]) .login-page { background:#faf8ff; color:#131b2e; }
html:not([data-theme="dark"]) .sidebar,html:not([data-theme="dark"]) .app-topbar { background:#fff; color:#131b2e; border-color:#e2e7f3; box-shadow:0 2px 8px #333f7010; }
html:not([data-theme="dark"]) .app-brand { color:#131b2e; }
html:not([data-theme="dark"]) .brand-mark { background:linear-gradient(135deg,#00855d,#006948); color:white; box-shadow:none; }
html:not([data-theme="dark"]) .profile { background:#f2f3ff; border:1px solid #e6e8fb; }
html:not([data-theme="dark"]) .avatar { background:#006948; color:white; }
html:not([data-theme="dark"]) .sidebar nav a { color:#263b32; }
html:not([data-theme="dark"]) .sidebar nav a:hover { background:#ecfdf5; color:#006948; }
html:not([data-theme="dark"]) .sidebar nav a[aria-current] { background:#00855d; color:white; box-shadow:none; }
html:not([data-theme="dark"]) .sidebar-note { background:#d7fbeb; border:1px solid #8ce5bc; color:#005137; }
html:not([data-theme="dark"]) .sidebar-note small { color:#345345; }
html:not([data-theme="dark"]) .sidebar-logout button { background:#fff; color:#ba1a1a; border:1px solid #f3d5d6; }
html:not([data-theme="dark"]) .theme-toggle { background:white; border-color:#dce2f5; color:#1f3b31; }
html:not([data-theme="dark"]) .theme-toggle:hover { background:#f2f3ff; }
html:not([data-theme="dark"]) .top-user { color:#005137; background:#d8f8e9; }
html:not([data-theme="dark"]) .card,html:not([data-theme="dark"]) .premium-panel,html:not([data-theme="dark"]) .assessment-panel,html:not([data-theme="dark"]) .monitor-guidance section,html:not([data-theme="dark"]) .master-box { background:#fff; border-color:#e2e7f3; box-shadow:0 3px 10px #28304404; color:#131b2e; }
html:not([data-theme="dark"]) a { color:#006948; }
html:not([data-theme="dark"]) .muted,html:not([data-theme="dark"]) .intro,html:not([data-theme="dark"]) .profile small,html:not([data-theme="dark"]) .app-topbar small { color:#52616a; }
html:not([data-theme="dark"]) input,html:not([data-theme="dark"]) select,html:not([data-theme="dark"]) textarea,html:not([data-theme="dark"]) .journal-form input,html:not([data-theme="dark"]) .journal-form select,html:not([data-theme="dark"]) .journal-form textarea { color:#131b2e; background:#fff; border-color:#dce2f0; }
html:not([data-theme="dark"]) input::placeholder,html:not([data-theme="dark"]) textarea::placeholder { color:#6d7c86; opacity:1; }
html:not([data-theme="dark"]) button,html:not([data-theme="dark"]) .button { background:#00855d; color:#fff; }
html:not([data-theme="dark"]) .button:hover { background:#006948; }
html:not([data-theme="dark"]) th,html:not([data-theme="dark"]) .attendance-history th,html:not([data-theme="dark"]) .assessment-ledger th { background:#f2f3ff!important; color:#3d4a42!important; }
html:not([data-theme="dark"]) td { border-color:#e7eaf3; }
html:not([data-theme="dark"]) .notice { background:#dff9ec; color:#005137; }
html:not([data-theme="dark"]) .notice.error { background:#ffdad6; color:#93000a; }
html:not([data-theme="dark"]) .empty-state { background:#f7f8ff; border-color:#dce2f0; color:#52616a; }
html:not([data-theme="dark"]) .history-progress,html:not([data-theme="dark"]) .history-heading > span { background:#dcf9eb; color:#006948; border-color:#b3e7cf; }
html:not([data-theme="dark"]) .history-state,html:not([data-theme="dark"]) .detected-badge,html:not([data-theme="dark"]) .risk-badge { background:#fff0d6; color:#8d4b00; border-color:#efcda1; }
html:not([data-theme="dark"]) .history-state.complete { background:#e9edff; color:#28375f; }
html:not([data-theme="dark"]) .risk-badge.combined { background:#ffe4e6; color:#a1183c; }
html:not([data-theme="dark"]) .history-open,html:not([data-theme="dark"]) .history a { background:#f2f3ff; border-color:#e0e6f4; color:#005137; }
html:not([data-theme="dark"]) .record-actions summary { color:#006948; background:#e8f9ef; border-color:#c9e9da; }
html:not([data-theme="dark"]) .record-actions .delete-details summary { color:#a51c36; background:#fff0f1; border-color:#f4d1d6; }
html:not([data-theme="dark"]) .record-form { background:#f8f9ff; color:#131b2e; }
html:not([data-theme="dark"]) .record-form .danger-button { background:#ba1a1a; color:white; }
html:not([data-theme="dark"]) .dashboard-home .premium-welcome { background:linear-gradient(110deg,#006948,#00855d); border-color:#007956; padding:30px 32px; color:white; }
html:not([data-theme="dark"]) .dashboard-home .premium-welcome h1 { font-size:30px; }
html:not([data-theme="dark"]) .dashboard-home .premium-welcome h1 span { color:white; }
html:not([data-theme="dark"]) .dashboard-home .premium-welcome p { color:#e4fff0; }
html:not([data-theme="dark"]) .dashboard-home .premium-pill { background:#ffffff26; border-color:#ffffff20; color:white; }
html:not([data-theme="dark"]) .dashboard-home a.premium-primary { background:white; color:#005137; }
html:not([data-theme="dark"]) .dashboard-home a.premium-module { background:white; border-color:#eff0f8; box-shadow:0 2px 4px #28304405; display:grid; grid-template-columns:1fr auto; padding:20px; gap:10px; min-height:155px; }
html:not([data-theme="dark"]) .dashboard-home .premium-module .premium-icon { width:45px; height:45px; background:#d9fbed; color:#006948; border:0; }
html:not([data-theme="dark"]) .dashboard-home .premium-module h3 { grid-column:1/-1; font-size:17px; }
html:not([data-theme="dark"]) .dashboard-home .premium-module p { display:block; grid-column:1/-1; margin:0; font-size:12px; }
html:not([data-theme="dark"]) .dashboard-home .premium-module small { grid-column:2; grid-row:1; max-width:125px; font-size:10px; padding:4px 8px; background:#dcf9ec; }
html:not([data-theme="dark"]) .dashboard-home .premium-module.amber small { background:#ffdad6; color:#93000a; border-color:#ffd0c9; }
html:not([data-theme="dark"]) .dashboard-home .premium-module.cyan small { background:#ffdcc3; color:#6e3900; border-color:#ffd3b6; }
html:not([data-theme="dark"]) .dashboard-home .premium-module.blue small { background:#e2e7ff; color:#283044; border-color:#e2e7ff; }
html:not([data-theme="dark"]) .dashboard-home .premium-stat-grid { background:transparent; border:0; padding:0; }
html:not([data-theme="dark"]) .dashboard-home .premium-stat { background:white; border-color:#e2e7f3; }
html:not([data-theme="dark"]) .dashboard-home .premium-notification { background:#fcf0ed; border-color:#f9ece7; }
html:not([data-theme="dark"]) .dashboard-home .premium-notification > a { background:#8d4b00; color:white!important; }
html:not([data-theme="dark"]) .premium-journal,html:not([data-theme="dark"]) .premium-class-list a { background:#f2f3ff; }
html:not([data-theme="dark"]) .attention-issue,html:not([data-theme="dark"]) .remedial-items article,html:not([data-theme="dark"]) .master-class-list > article,html:not([data-theme="dark"]) .master-subject-list > article { background:#f2f3ff; border-color:#e5e8f6; }
html:not([data-theme="dark"]) .monitor-metrics section,html:not([data-theme="dark"]) .assessment-metrics section,html:not([data-theme="dark"]) .settings-summary section { background:#fff; border-color:#edf0f8; }
html:not([data-theme="dark"]) .monitor-tabs button,html:not([data-theme="dark"]) .attendance-filter-tabs button { background:transparent; color:#4c5b65; }
html:not([data-theme="dark"]) .monitor-tabs button[aria-pressed="true"],html:not([data-theme="dark"]) .attendance-filter-tabs button[aria-pressed="true"] { background:#e0f7eb; color:#006948; }
html:not([data-theme="dark"]) .settings-navigation { background:#fff; border-color:#eff0f8; }
html:not([data-theme="dark"]) .settings-navigation a[aria-current] { background:#ddf9eb; color:#006948!important; }
html:not([data-theme="dark"]) .settings-account,html:not([data-theme="dark"]) .master-box-heading { background:#f2f3ff; }
html:not([data-theme="dark"]) .settings-panel input,html:not([data-theme="dark"]) .settings-panel select { background:#fff; }
html:not([data-theme="dark"]) .modern-attendance-hero { background:transparent; color:#131b2e; }
html:not([data-theme="dark"]) .modern-presence-list .presence-options { background:#f2f3ff; }
html:not([data-theme="dark"]) .modern-presence-list .attendance-student { background:#fff; color:#131b2e; }
html:not([data-theme="dark"]) .modern-presence-list .attendance-student[data-status="Alpa"] { background:#fff1f3; }
html:not([data-theme="dark"]) .status-picker input:checked + span { color:white; }
html:not([data-theme="dark"]) .attendance-filter-tabs,html:not([data-theme="dark"]) .presence-list-heading { background:#f2f3ff; }
html:not([data-theme="dark"]) .attendance-save button { background:#006948; color:white; }
html:not([data-theme="dark"]) .assessment-page-heading .button,html:not([data-theme="dark"]) .ledger-toolbar .button { background:#006948; color:white!important; }
html:not([data-theme="dark"]) a.ledger-score { background:#f2f3ff; color:#131b2e!important; }
html:not([data-theme="dark"]) a.ledger-score.below-kktp { background:#ffdcc3; color:#6e3900!important; }
html:not([data-theme="dark"]) .password-toggle { background:transparent; color:#4c5b65; }
html:not([data-theme="dark"]) .report-paper { background:white; color:black; }
html:not([data-theme="dark"]) .report-paper th { background:#eee!important; color:black!important; }
html:not([data-theme="dark"]) :focus-visible { outline:3px solid #006948; outline-offset:3px; }
@media(max-width:650px) {
html:not([data-theme="dark"]) .dashboard-home .premium-welcome { padding:22px; }
html:not([data-theme="dark"]) .dashboard-home .premium-welcome h1 { font-size:25px; }
}
