/* NPC INTELLECT | Verified contrast system: only #000 / #fff for readable text. */
:root{--text:#fff!important;--muted:#fff!important;--green:#635bff;--green-700:#3b68f5}
/* Keep existing responsive shell intact; normalize dashboard surfaces to one dark system. */
body .npc-app-layout #dashboard,
body .npc-app-layout #dashboard .card-header,
body .npc-app-layout #dashboard .dash-body,
body .npc-app-layout #dashboard .summary-cards>.mini-card,
body .npc-app-layout #dashboard .summary-cards>.mini-card:nth-child(n),
body .npc-app-layout #dashboard .panel,
body .npc-app-layout #dashboard .chart-wrap,
body .npc-app-layout #dashboard .table-wrap,
body .npc-app-layout #dashboard .progress-wrap{background:#121e36!important;background-image:none!important;color:#fff!important;border-color:#344462!important}
body .npc-app-layout #dashboard .card-header{background:#1a2946!important}
body .npc-app-layout #dashboard .summary-cards>.mini-card{border-top:3px solid #6864ff!important;box-shadow:0 8px 24px #0003!important}
/* Specificity deliberately exceeds legacy design-system rules, including inherited green typography. */
body .npc-app-layout #dashboard :is(h1,h2,h3,h4,h5,h6,p,span,strong,b,em,small,label,div,td,th,a,.k,.v,.s,.muted,.meta,.panel-title,.meter-label,.meter-value),
body .npc-app-layout #dashboard .summary-cards>.mini-card :is(.k,.v,.s,.rating-pill),
body .npc-app-layout #dashboard .card-header :is(h1,p),
body .npc-app-layout #dashboard .actions .left,
body .npc-app-layout #dashboard .field label,
body .npc-app-layout #dashboard .panel-title .meta{color:#fff!important;opacity:1!important;text-shadow:none!important}
body .npc-app-layout #dashboard .rating-pill,
body .npc-app-layout #dashboard .badge,
body .npc-app-layout #dashboard .mini-badge{background:#25385e!important;color:#fff!important;border-color:#52658e!important}
body .npc-app-layout #dashboard :is(input,select,textarea){background:#0d1930!important;color:#fff!important;border-color:#65769a!important}
body .npc-app-layout #dashboard :is(input,textarea)::placeholder{color:#fff!important;opacity:1!important}
body .npc-app-layout #dashboard :is(table,tbody,tr,td){background-color:#121e36!important;color:#fff!important}
body .npc-app-layout #dashboard thead th{background:#25385e!important;color:#fff!important}
body .npc-app-layout #dashboard tbody tr:nth-child(even) td{background:#1b2945!important}
/* Buttons: white on dark, BLACK on yellow or white. Disabled buttons remain legible. */
body .npc-app-layout :is(.btn,.btn-ghost,button),
body .npc-app-layout #dashboard :is(.btn,.btn-ghost,button){background:#26395d!important;color:#fff!important;border:1px solid #52658e!important;opacity:1!important;text-shadow:none!important}
body .npc-app-layout :is(.btn,.btn-ghost,button) :is(span,b,strong),
body .npc-app-layout #dashboard :is(.btn,.btn-ghost,button) :is(span,b,strong){color:inherit!important}
body .npc-app-layout :is(.btn,.btn-ghost,button):disabled{background:#26395d!important;color:#fff!important;opacity:.65!important;cursor:not-allowed}
body .npc-app-layout #dashboard .btn-accent,
body .npc-app-layout #dashboard #pdfBtn{background:#f2c541!important;color:#000!important;border-color:#f2c541!important}
body .npc-app-layout #dashboard #pdfBtn:disabled{background:#6b5831!important;color:#fff!important;border-color:#6b5831!important}
body .npc-app-layout #loginContainer,
body .npc-app-layout #loginContainer .card-header,
body .npc-app-layout #loginContainer .login-grid{background:#121e36!important;color:#fff!important}
body .npc-app-layout #loginContainer :is(h1,h2,h3,p,label,span,small,strong){color:#fff!important;opacity:1!important}
body .npc-app-layout #loginContainer :is(input,textarea){background:#0d1930!important;color:#fff!important}
body .npc-app-layout #loginContainer input::placeholder{color:#fff!important;opacity:1!important}
body .npc-app-layout #loginContainer #loginBtn{background:#435bea!important;color:#fff!important}
body .npc-app-layout .npc-welcome,
body .npc-app-layout .npc-welcome :is(h1,h2,h3,p,span,strong,small){color:#fff!important}
body .npc-app-layout .footer,
body .npc-app-layout .footer :is(a,span,p,small,strong,div){color:#fff!important;opacity:1!important}
body .npc-app-layout .footer :is(.btn,.btn-ghost,button){background:#26395d!important;color:#fff!important}
/* Privacy dialog is WHITE with BLACK text, including title and action buttons. */
body #privacyModal .modal-card,
body #privacyModal .modal-head,
body #privacyModal .modal-body,
body #privacyModal .modal-foot{background:#fff!important;color:#000!important}
body #privacyModal .modal-card :is(h1,h2,h3,h4,p,span,small,strong,div,li,a){color:#000!important;opacity:1!important}
body #privacyModal :is(button,.btn,.btn-ghost){background:#fff!important;color:#000!important;border:1px solid #344462!important;opacity:1!important}
/* No green text anywhere in the admin workspace; preserve accent colors in borders/icons only. */
body .npc-app-layout #dashboard #npcPortalHeading{color:#fff!important}
