/* NPC INTELLECT: accessibility/contrast corrections — black or white text only. */
.aether-brand-mark{display:grid!important;place-items:center!important;width:46px!important;height:46px!important;flex:0 0 46px!important;background:linear-gradient(135deg,#5145ed,#245ce8)!important;color:#fff!important;border-radius:13px!important}
.npc-brain-icon{width:33px;height:33px;display:block;color:#fff}
.aether-brand strong,.aether-brand small{color:#fff!important;opacity:1!important}
/* Dark workspace surfaces must never inherit green or dark type. */
.npc-app-layout .npc-welcome,.npc-app-layout .npc-welcome *,
.npc-app-layout #dashboard>.card-header,.npc-app-layout #dashboard>.card-header *,
.npc-app-layout #loginContainer>.card-header,.npc-app-layout #loginContainer>.card-header *{color:#fff!important;text-shadow:none!important;opacity:1!important}
.npc-app-layout #dashboard>.card-header h1,.npc-app-layout #dashboard>.card-header p{color:#fff!important}
.npc-app-layout #loginContainer .card-header{background:#1a2a4a!important}
.npc-app-layout #loginContainer .card-header :is(h1,p){color:#fff!important}
/* Normalize cards: dark cards + white type, avoiding white-on-white. */
.npc-app-layout #dashboard :is(.mini-card,.summary-card,.stat-card,.chart-wrap,.panel,.card,.dash-body){background:#121e36!important;color:#fff!important}
.npc-app-layout #dashboard :is(.mini-card,.summary-card,.stat-card,.chart-wrap,.panel,.card,.dash-body) :is(h1,h2,h3,h4,h5,p,small,strong,span,label,div,em,b,td,th,.k,.v,.s,.muted,.meta){color:#fff!important;opacity:1!important}
.npc-app-layout #dashboard .mini-card :is(.rating-pill,.badge,.mini-badge){background:#26395d!important;color:#fff!important}
.npc-app-layout #dashboard :is(button,.btn,.badge){color:#fff!important}
.npc-app-layout #dashboard :is(input,select,textarea){background:#101b33!important;color:#fff!important}
.npc-app-layout #dashboard :is(input,textarea)::placeholder{color:#fff!important;opacity:1!important}
/* Legacy green titles and decorative labels on dark areas. */
.npc-app-layout #dashboard :is(.card-header,.chart-head,.section-head,.section-title){background:#1a2a4a!important;color:#fff!important}
.npc-app-layout #dashboard :is(.card-header,.chart-head,.section-head,.section-title) *{color:#fff!important}
/* Light overlays, dialogs and notices: solid white background + black typography. */
#privacyModal .modal-card,#privacyModal .modal-head,#privacyModal .modal-body,#privacyModal .modal-foot,
#privacyModal .modal-content,#privacyModal .modal-actions{background:#fff!important;color:#000!important}
#privacyModal .modal-card *,#privacyModal .modal-head *,#privacyModal .modal-body *,#privacyModal .modal-foot *,#privacyModal .modal-content *,#privacyModal .modal-actions *{color:#000!important;opacity:1!important;text-shadow:none!important}
#privacyModal :is(button,.btn,.icon-btn){background:#fff!important;color:#000!important;border:1px solid #243451!important}
#privacyModal .modal-card{border:1px solid #26354e!important}
/* The header/footer and button surfaces are navy; force white labels. */
.npc-app-layout .footer,.npc-app-layout .footer *{color:#fff!important;opacity:1!important}
.npc-app-layout .footer .mini-badge{background:#26395d!important}
.npc-app-layout .footer :is(.btn,.btn-ghost,button){background:#26395d!important;color:#fff!important;border:1px solid #52658e!important}
.npc-app-layout .btn-primary,.npc-app-layout .btn-primary *{color:#fff!important}
/* If native alert/toast surfaces use white backgrounds, use black text. */
.npc-app-layout :is(.toast,.alert,.notice)[style*="background: white"],.npc-app-layout :is(.toast,.alert,.notice)[style*="background:#fff"]{color:#000!important}
