/* NPC INTELLECT 2.3 — final, page-wide theme layer. Loaded LAST on every page. */
:root{color-scheme:light}
body.npc-intellect-page{--green:#4338ca;--green-700:#3730a3;--gold:#6366f1;--gold-700:#4338ca;--text:#0e1830;--muted:#18253e;--bg:#f2f5fa;--border:#d8e1ef;--white:#fff;--field-bg:#fff;--soft-bg:#eef2ff;--chip-bg:#e9edff;--grad-bg:linear-gradient(180deg,#f3f6fd,#edf1f9);background:#f2f5fa!important;color:#0e1830!important}
/* The old navigation stylesheet contains green/yellow hardcoded colors. Replace at the source of the cascade. */
body.npc-intellect-page #npc-unified-nav{background:#0e1830!important;border-bottom:1px solid #33476b!important;box-shadow:0 8px 24px #0b122526!important;color:#fff!important}
body.npc-intellect-page #npc-unified-nav :is(.npc-nav-system,.npc-nav-system strong,.npc-nav-system small,.npc-nav-role,.npc-nav-pending-inner span){color:#fff!important}
body.npc-intellect-page #npc-unified-nav :is(.npc-nav-menu>a,.npc-nav-right>a,.npc-nav-dropdown>summary){color:#fff!important;background:transparent!important}
body.npc-intellect-page #npc-unified-nav :is(.npc-nav-menu>a,.npc-nav-right>a,.npc-nav-dropdown>summary):hover{background:#24345c!important;color:#fff!important}
body.npc-intellect-page #npc-unified-nav :is(.npc-nav-menu>a[aria-current="page"],.npc-nav-section-active>summary,.npc-nav-dropdown[open]>summary){background:#4338ca!important;color:#fff!important}
body.npc-intellect-page #npc-unified-nav .npc-nav-panel{background:#fff!important;color:#0e1830!important;border-color:#cdd6e6!important}
body.npc-intellect-page #npc-unified-nav .npc-nav-panel a{color:#0e1830!important;background:transparent!important}
body.npc-intellect-page #npc-unified-nav .npc-nav-panel a:hover,body.npc-intellect-page #npc-unified-nav .npc-nav-panel a[aria-current="page"]{background:#e9edff!important;color:#0e1830!important}
body.npc-intellect-page #npc-unified-nav .npc-nav-logout{background:#4338ca!important;color:#fff!important;border-color:#6366f1!important}
body.npc-intellect-page #npc-unified-nav .npc-nav-logout:hover{background:#3730a3!important}
body.npc-intellect-page #npc-unified-nav :is(.npc-nav-brand,.npc-nav-brand img){background:none!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important}
/* Page headers are a LIGHT page title area on the legacy screens; don't force white onto them. */
body.npc-intellect-page.npc-nav-ready>header{background:transparent!important;border:0!important;color:#0e1830!important}
body.npc-intellect-page.npc-nav-ready>header :is(h1,h2,h3,p,span,small,strong){color:#0e1830!important}
body.npc-intellect-page :is(.panel,.card,.section,.mini-card,.summary-card,.stat-card){background-color:#fff;color:#0e1830}
body.npc-intellect-page :is(.panel,.card,.section,.mini-card,.summary-card,.stat-card) :is(h1,h2,h3,h4,p,label,small,strong){color:#0e1830}
body.npc-intellect-page :is(.muted,.hint,.subtle,.help,.caption,.note){color:#18253e!important;opacity:1!important}
body.npc-intellect-page :is(.note,.warning,.notice){border-left-color:#6366f1!important;background:#eef2ff!important;color:#0e1830!important}
body.npc-intellect-page :is(.note,.warning,.notice) *{color:#0e1830!important}
body.npc-intellect-page :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#fff!important;color:#0e1830!important;border-color:#a8b5cc!important}
body.npc-intellect-page :is(input,textarea)::placeholder{color:#34445e!important;opacity:1!important}
body.npc-intellect-page :is(.panel,.card) :is(button,.btn,input[type=submit]):not(.secondary):not(.btn-ghost):not(.star):not(.acc-btn):not([class*=outline]){background:#4338ca!important;color:#fff!important;border-color:#6366f1!important}
body.npc-intellect-page :is(.panel,.card) :is(button,.btn):is(.secondary,.btn-ghost){background:#e9edff!important;color:#0e1830!important;border-color:#a8b5cc!important}
body.npc-intellect-page :is(.panel,.card) :is(button,.btn):disabled{opacity:.6!important}
body.npc-intellect-page :is(table,td){color:#0e1830}
body.npc-intellect-page th{background:#1d2e50!important;color:#fff!important}
body.npc-intellect-page :is(.pill,.badge,.chip){color:#0e1830}
/* White/light chips inside dark headers must have DARK text, not inherited white. */
body.npc-intellect-page :is(header,.topbar) :is(.pill,.badge,.chip,.privacy-badge,.privacy-chip,[class*=confidential]){color:#0e1830!important;background:#eef2ff!important;border-color:#a8b5cc!important}
body.npc-intellect-page :is(header,.topbar) :is(.pill,.badge,.chip,.privacy-badge,.privacy-chip,[class*=confidential]) *{color:#0e1830!important}
/* Local student form masthead is DARK and requires white text. */
body.npc-intellect-form .topbar{background:#0e1830!important;color:#fff!important;border-color:#33476b!important}
body.npc-intellect-form .topbar :is(h1,h2,h3,p,span,small,strong){color:#fff!important}
body.npc-intellect-form .topbar :is(.pill,.badge,.chip,[class*=confidential]){color:#0e1830!important}
body.npc-intellect-form .topbar :is(.pill,.badge,.chip,[class*=confidential]) *{color:#0e1830!important}
body.npc-intellect-page :is(.logo,.logo img,.brand-mark,.brand-mark img){box-shadow:none!important}
@media(prefers-reduced-motion:reduce){body.npc-intellect-page *,body.npc-intellect-page *::before,body.npc-intellect-page *::after{animation:none!important;transition:none!important}}
