/* Venture Investment Group 1.9.8 — page-wide surface/ink contrast repair.
   Intentionally component-scoped: white reading cards never inherit dark-section colors.
   Loaded after the historic palette and editorial-grid rules. */
:root { --vig98-navy:#08192e; --vig98-ink:#10243b; --vig98-copy:#42566b; --vig98-white:#fff; --vig98-light:#e3ebf4; --vig98-soft:#c5d3e2; }
/* Remove the inherited transparent/gradient ink effects within real dark surfaces only. */
html body :is(.vig-method-panel,.vig-workflow-band,.operator-section,.cap-public-section.cap-dark) {
  background-color:var(--vig98-navy)!important;
  color:var(--vig98-white)!important;
  color-scheme:dark;
}
html body :is(.vig-method-panel,.vig-workflow-band,.operator-section,.cap-public-section.cap-dark)
:is(h1,h2,h3,h4,h5,h6,.vig-method-title,.large-title,.vig-workflow-title){
  color:var(--vig98-white)!important; -webkit-text-fill-color:var(--vig98-white)!important;
  background-image:none!important; opacity:1!important; text-shadow:none!important;
}
html body :is(.vig-method-panel,.vig-workflow-band,.operator-section,.cap-public-section.cap-dark)
:is(p,li,dd,.large-copy,.vig-group-scope,.vig-group-positioning-copy,.vig-method-intro,.cap-two p){
  color:var(--vig98-light)!important; -webkit-text-fill-color:var(--vig98-light)!important;
  opacity:1!important; background-image:none!important;
}
html body :is(.vig-method-panel,.vig-workflow-band,.operator-section,.cap-public-section.cap-dark)
:is(.eyebrow,.vig-mini-label,.cap-kicker,.panel-kicker,.vig-workflow-grid span,.vig-method-steps span){
  color:var(--vig98-soft)!important; -webkit-text-fill-color:var(--vig98-soft)!important; opacity:1!important;
}
html body .vig-method-panel .vig-method-steps :is(strong,h3),
html body .vig-workflow-band .vig-workflow-grid :is(h3,strong){
  color:#fff!important;-webkit-text-fill-color:#fff!important; opacity:1!important;
}
html body .vig-method-panel .vig-method-steps :is(p,li),
html body .vig-workflow-band .vig-workflow-grid p{
  color:var(--vig98-light)!important; -webkit-text-fill-color:var(--vig98-light)!important;
}
html body :is(.vig-method-panel,.vig-workflow-band,.operator-section,.cap-public-section.cap-dark) a:not(.cap-btn):not(.btn){color:#fff!important;-webkit-text-fill-color:#fff!important;}
/* Editorial whites: every visible card receives explicitly readable navy and slate ink. */
html body :is(.research-card,.vig-service-card,.vig-output-item,.vig-hub-tile,.vig-editorial-essay,.legal-content,.vig-contact-card){color:var(--vig98-ink);color-scheme:light;}
html body :is(.research-card,.vig-service-card,.vig-output-item,.vig-hub-tile,.vig-editorial-essay,.legal-content,.vig-contact-card)
:is(h1,h2,h3,h4,strong){color:var(--vig98-ink)!important;-webkit-text-fill-color:var(--vig98-ink)!important;opacity:1!important;}
html body :is(.research-card,.vig-service-card,.vig-output-item,.vig-hub-tile,.vig-editorial-essay,.legal-content,.vig-contact-card)
:is(p,li,small){color:var(--vig98-copy)!important;-webkit-text-fill-color:var(--vig98-copy)!important;opacity:1!important;}
html body .research-card :is(.card-meta,.card-kicker,.research-card-category,.research-card-date){color:#3e556d!important;-webkit-text-fill-color:#3e556d!important;}
/* Portal/client gateway: parent rules must not force dark text inside nested navy panels. */
html body .cap-login-shell .cap-login-brand{background:var(--vig98-navy)!important;color:#fff!important;color-scheme:dark;}
html body .cap-login-shell .cap-login-brand :is(h1,h2,h3,h4,strong){color:#fff!important;-webkit-text-fill-color:#fff!important;background-image:none!important;opacity:1!important;}
html body .cap-login-shell .cap-login-brand :is(p,li,.cap-security-note){color:var(--vig98-light)!important;-webkit-text-fill-color:var(--vig98-light)!important;opacity:1!important;}
html body .cap-login-shell .cap-login-brand :is(.cap-kicker,small,.cap-login-proof-grid span){color:var(--vig98-soft)!important;-webkit-text-fill-color:var(--vig98-soft)!important;opacity:1!important;}
html body .cap-login-shell .cap-login-card{background:#fff!important;color:var(--vig98-ink)!important;color-scheme:light;}
html body .cap-login-shell .cap-login-card :is(h2,h3,strong){color:var(--vig98-ink)!important;-webkit-text-fill-color:var(--vig98-ink)!important;}
html body .cap-login-shell .cap-login-card :is(p,small,label){color:var(--vig98-copy)!important;-webkit-text-fill-color:var(--vig98-copy)!important;}
html body .cap-login-shell .cap-login-card .cap-btn-dark{color:#fff!important;-webkit-text-fill-color:#fff!important;}
/* Dashboards: dark-card rules higher specificity than historic generic .cap-portal-main heading/text overrides. */
html body .cap-portal-main .cap-panel.cap-dark-panel,
html body .cap-workspace-main .cap-panel.cap-dark-panel,
html body .cap-portal-main .cap-dark-panel{background:var(--vig98-navy)!important;color:#fff!important;color-scheme:dark;}
html body .cap-portal-main .cap-panel.cap-dark-panel :is(h1,h2,h3,h4,strong),
html body .cap-workspace-main .cap-panel.cap-dark-panel :is(h1,h2,h3,h4,strong),
html body .cap-portal-main .cap-dark-panel :is(h1,h2,h3,h4,strong){color:#fff!important;-webkit-text-fill-color:#fff!important;background-image:none!important;opacity:1!important;}
html body .cap-portal-main .cap-panel.cap-dark-panel :is(p,li,.cap-panel-copy),
html body .cap-workspace-main .cap-panel.cap-dark-panel :is(p,li,.cap-panel-copy),
html body .cap-portal-main .cap-dark-panel :is(p,li,.cap-panel-copy){color:var(--vig98-light)!important;-webkit-text-fill-color:var(--vig98-light)!important;opacity:1!important;}
html body .cap-portal-main .cap-panel.cap-dark-panel :is(span,small,.cap-kicker),
html body .cap-workspace-main .cap-panel.cap-dark-panel :is(span,small,.cap-kicker),
html body .cap-portal-main .cap-dark-panel :is(span,small,.cap-kicker){color:var(--vig98-soft)!important;-webkit-text-fill-color:var(--vig98-soft)!important;opacity:1!important;}
/* White CTA is a light surface, including its text, despite being nested in dark panel. */
html body .cap-portal-main .cap-dark-panel .cap-btn-light,
html body .cap-portal-main .cap-dark-panel a.cap-btn-light,
html body .cap-workspace-main .cap-dark-panel .cap-btn-light{
  background:#fff!important;border-color:#fff!important;color:var(--vig98-ink)!important;-webkit-text-fill-color:var(--vig98-ink)!important;
}
html body .cap-portal-main .cap-dark-panel .cap-btn-light:hover{background:#edf2f7!important;}
/* Preserve normal ink inside white cards, forms, records and data-tables. */
html body .cap-portal-main :is(.cap-panel:not(.cap-dark-panel),.cap-result-card,.cap-report-row,.cap-room-card,.cap-collection-card){color:var(--vig98-ink)!important;color-scheme:light;}
html body .cap-portal-main :is(.cap-panel:not(.cap-dark-panel),.cap-result-card,.cap-report-row,.cap-room-card,.cap-collection-card)
:is(h2,h3,h4,strong){color:var(--vig98-ink)!important;-webkit-text-fill-color:var(--vig98-ink)!important;}
html body .cap-portal-main :is(.cap-panel:not(.cap-dark-panel),.cap-result-card,.cap-report-row,.cap-room-card,.cap-collection-card)
:is(p,small,li){color:var(--vig98-copy)!important;-webkit-text-fill-color:var(--vig98-copy)!important;}
/* Inputs have explicit white background and dark content regardless of parent color-scheme. */
html body :is(.cap-login-shell,.cap-portal-main,.cap-search-app)
:is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#fff!important;color:var(--vig98-ink)!important;-webkit-text-fill-color:var(--vig98-ink)!important;color-scheme:light;}
html body :is(.cap-login-shell,.cap-portal-main,.cap-search-app) :is(input,textarea)::placeholder{color:#52677c!important;opacity:1;}
@media(max-width:700px){html body .cap-login-shell .cap-login-brand{padding:clamp(30px,6vw,54px)!important}}
/* The featured navy editorial canvas is embedded in otherwise white sections. */
html body .vig-feature-canvas-label{background:#08192e!important;color:#fff!important;color-scheme:dark;}
html body .vig-feature-canvas-label :is(h1,h2,h3,h4,strong){color:#fff!important;-webkit-text-fill-color:#fff!important;background-image:none!important;opacity:1!important;}
html body .vig-feature-canvas-label :is(p,li,.large-copy){color:#e3ebf4!important;-webkit-text-fill-color:#e3ebf4!important;opacity:1!important;}
html body .vig-feature-canvas-label :is(span,.vig-mini-label,.eyebrow){color:#c5d3e2!important;-webkit-text-fill-color:#c5d3e2!important;opacity:1!important;}
/* Footer is always on a white surface, including its legal headings. */
html body .site-footer{background:#fff!important;color:#10243b!important;color-scheme:light;}
html body .site-footer :is(.footer-wordmark,h2,h3,strong){color:#10243b!important;-webkit-text-fill-color:#10243b!important;}
html body .site-footer :is(.footer-bottom,.footer-positioning,.vig-footer-operator,p,small){color:#42566b!important;-webkit-text-fill-color:#42566b!important;}
html body .site-footer :is(a,a:visited){color:#163e67!important;-webkit-text-fill-color:#163e67!important;}
/* Links on navy branding panels should never inherit light-section link ink. */
html body .cap-login-shell .cap-login-brand a:not(.cap-btn),
html body .cap-portal-main .cap-dark-panel a:not(.cap-btn){color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration-color:#c5d3e2!important;}
/* Guard against an outer light .section overriding its embedded navy image label. */
html body :is(.section,.institutional-page-section,.institutional-content,.page-content) .vig-feature-canvas-label :is(p,li,.large-copy),
html body .vig-feature-canvas .vig-feature-canvas-inner .vig-feature-canvas-label :is(p,li,.large-copy){color:#e3ebf4!important;-webkit-text-fill-color:#e3ebf4!important;opacity:1!important;}
html body :is(.section,.institutional-page-section,.institutional-content,.page-content) .vig-feature-canvas-label :is(h1,h2,h3,h4,strong){color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;}
