/* NPC INTELLECT 2.2 | Shared interface skin. Deliberately excludes admin.html layout. */
:root {--npc-ink:#0e1830;--npc-deep:#0b1225;--npc-panel:#14213b;--npc-panel2:#1d2e50;--npc-indigo:#4338ca;--npc-indigo-light:#6257e8;--npc-outline:#33476b;--npc-paper:#fff;--npc-glow:#4e8aff}
html{color-scheme:light}
body.npc-intellect-page{--green:#4338ca;--green-700:#3730a3;--gold:#6257e8;--gold-700:#4338ca;--text:#0e1830;--muted:#0e1830;--bg:#f1f4fa;--white:#fff;--border:#d9e0ec;--focus:rgba(99,102,241,.2);--grad-primary:linear-gradient(135deg,#4338ca,#2563eb);--grad-accent:linear-gradient(135deg,#4338ca,#2563eb);--grad-bg:linear-gradient(180deg,#f4f6fb,#edf1f8);--shadow:0 16px 40px rgba(15,23,42,.09);--shadow-soft:0 8px 22px rgba(15,23,42,.07);--field-bg:#fff;--soft-bg:#f4f6fb;--chip-bg:#eef2ff;background:#f2f5fa;color:#0e1830}
body.npc-intellect-page :is(header,.topbar){background:#0e1830;color:#fff;border-color:#33476b}
body.npc-intellect-page :is(header,.topbar) :is(h1,h2,h3,p,small,span,strong,a){color:#fff}
body.npc-intellect-page :is(header,.topbar) a:hover{color:#fff;text-decoration:underline}
body.npc-intellect-page :is(.panel,.card,.mini-card,.modal-card,.dialog,.section,.summary-card,.stat-card){border-radius:16px;border-color:#dce3ef;box-shadow:0 10px 30px rgba(15,23,42,.055)}
body.npc-intellect-page :is(main,.shell,.content,.workspace){min-width:0;max-width:100%}
body.npc-intellect-page :is(h1,h2,h3,h4){letter-spacing:-.025em}
body.npc-intellect-page main :is(h1,h2,h3,h4),body.npc-intellect-page .shell :is(h1,h2,h3,h4){color:#0e1830}
body.npc-intellect-page :is(.muted,.hint,.subtle,.help,.caption,.note,.login-subtitle){color:#253149;opacity:1}
body.npc-intellect-page :is(input,select,textarea){color:#0e1830;background:#fff;border:1px solid #9aaac3;border-radius:10px;max-width:100%;min-height:40px}
body.npc-intellect-page :is(input,select,textarea)::placeholder{color:#45536c;opacity:1}
body.npc-intellect-page :is(button,.btn,input[type=submit]){transition:background-color .2s ease,box-shadow .2s ease,transform .2s ease;cursor:pointer}
body.npc-intellect-page :is(button,.btn,input[type=submit]):not(:disabled):hover{transform:translateY(-1px)}
body.npc-intellect-page :is(button,.btn,input[type=submit]):focus-visible,body.npc-intellect-page :is(a,input,select,textarea):focus-visible{outline:3px solid #6366f1;outline-offset:3px}
body.npc-intellect-page :is(button,.btn,input[type=submit]):disabled{opacity:.58;cursor:not-allowed;transform:none}
body.npc-intellect-page :is(button,.btn,input[type=submit]):not(.secondary):not(.btn-ghost):not(.acc-btn):not(.star):not(.nav-toggle):not([class*=outline]){background:#4338ca;color:#fff;border-color:#6257e8}
body.npc-intellect-page :is(button,.btn,input[type=submit]):not(.secondary):not(.btn-ghost):not(.acc-btn):not(.star):not(.nav-toggle):not([class*=outline]):hover{background:#3730a3;color:#fff}
body.npc-intellect-page :is(.secondary,.btn-ghost){background:#e9edff;color:#0e1830;border-color:#9da9df}
body.npc-intellect-page :is(.secondary,.btn-ghost):hover{background:#dbe2ff;color:#0e1830}
body.npc-intellect-page :is(table,th,td){border-color:#dce3ef}
body.npc-intellect-page th{background:#1b2b4b;color:#fff}
body.npc-intellect-page td{color:#0e1830}
body.npc-intellect-page :is(.badge,.pill,.chip){color:#0e1830}
body.npc-intellect-page :is(.panel,.card,.mini-card){animation:npc22-enter .38s ease both}
@keyframes npc22-enter{from{opacity:.4;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){body.npc-intellect-page *,body.npc-intellect-page *::before,body.npc-intellect-page *::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* Academic/administrative pages retain existing layouts, but share the command-center navigation. */
body.npc-intellect-page #npc-unified-nav{color:#fff}
body.npc-intellect-page #npc-unified-nav .npc-nav-brand{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important}
body.npc-intellect-page #npc-unified-nav .npc-nav-brand img{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.npc-intellect-page #npc-unified-nav .npc-nav-logout{background:#4338ca!important;color:#fff!important;border-color:#6257e8!important}
/* Evaluation form: rich dark masthead, clear white reading surface, indigo accents. */
body.npc-intellect-form{background:linear-gradient(180deg,#eaf0fa 0,#f4f6fb 50%,#f4f6fb 100%);color:#0e1830}
body.npc-intellect-form .topbar{background:linear-gradient(110deg,#0b1225,#192b52);color:#fff;border:1px solid #34476c;border-radius:16px}
body.npc-intellect-form .topbar :is(h1,h2,h3,span,p,strong,small){color:#fff}
body.npc-intellect-form :is(.shell,.form-container,.question-card,.q-item,.acc-panel){min-width:0}
body.npc-intellect-form :is(.acc-btn,.accordion-header){background:#1b2b4b!important;color:#fff!important;border-color:#34476c!important}
body.npc-intellect-form :is(.acc-btn,.accordion-header) *{color:#fff!important}
body.npc-intellect-form :is(.star,.stars button){transition:transform .16s ease,filter .16s ease}
body.npc-intellect-form :is(.star,.stars button):hover{transform:scale(1.08)}
body.npc-intellect-form .logo{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.npc-intellect-form .logo img{background:transparent!important;border:0!important;border-radius:0!important}
body.npc-intellect-form :is(.success,.success-message){color:#0e1830}
@media(max-width:720px){body.npc-intellect-page :is(main,.shell){width:100%;padding-left:12px;padding-right:12px}body.npc-intellect-page :is(.panel,.card){max-width:100%}}
