/* All public contact/application forms: color never enables or disables sending. */
/* The theme's important submit rules live in the components cascade layer. */
@layer components {
html body.wp-theme-kancelaria :is(form.wpcf7-form, form[data-ccka-lead-form]) :is(input[type=submit], button[type=submit]) {
    background:#0a0a0a!important;color:#fff!important;border-color:#0a0a0a!important;opacity:1!important;
}
html body.wp-theme-kancelaria :is(form.wpcf7-form, form[data-ccka-lead-form])[data-ccka-ready=true] :is(input[type=submit], button[type=submit]) {
    background:#d6d6d6!important;color:#111!important;border-color:#d6d6d6!important;
}
body :is(form.wpcf7-form, form[data-ccka-lead-form]) :is(input[type=submit], button[type=submit]):focus-visible {
    outline:2px solid #777!important;outline-offset:4px;
}
}
/* Grayscale only proposal illustrations; dedicated team portraits retain color. */
#ccka-proposal img:not(:where(.lp-team-wrap img)) {
    filter:grayscale(1)!important;
}
/* Alternate editorial white sections with a dominant black composition. */
#ccka-proposal :is(.lp-role-section,.lp-split-photo,.lp-dossier,.lp-summary-section,.lp-work-section,.lp-detail-section,.lp-contact,.lp-dark,#proces,#wazne) {
    background:#0a0a0a!important;color:#f4f4f4;--muted:#bdbdbd;--line:#424242;
}
#ccka-proposal :is(.lp-role-section,.lp-split-photo,.lp-dossier,.lp-summary-section,.lp-work-section,.lp-detail-section,.lp-contact,.lp-dark,#proces,#wazne) :is(p,li,td,dd,.lp-source-copy,.lp-detail-body,.lp-intro-copy,.lp-icon,.lp-fine,.lp-step-no):not(:where(.lp-contact-form *)) {
    color:#c9c9c9!important;
}
#ccka-proposal :is(.lp-role-section,.lp-split-photo,.lp-dossier,.lp-summary-section,.lp-work-section,.lp-detail-section,.lp-contact,.lp-dark,#proces,#wazne) :is(h2,h3,h4,strong,summary,.lp-kicker,.lp-link):not(:where(.lp-contact-form *)) {
    color:#f4f4f4!important;
}
#ccka-proposal :is(.lp-role-section,.lp-split-photo,.lp-dossier,.lp-summary-section,.lp-work-section,.lp-detail-section,.lp-contact,.lp-dark,#proces,#wazne) .lp-btn {
    background:#f4f4f4;color:#111;border-color:#f4f4f4;
}
#ccka-proposal :is(.lp-role-panel,.lp-warning) {background:#191919;color:#f4f4f4;border-color:#555}
#ccka-proposal .lp-role-panel :is(p,li){color:#c9c9c9}
#ccka-proposal .lp-role-buttons button{color:#c9c9c9}
#ccka-proposal .lp-role-buttons button[aria-pressed=true]{color:#fff;border-color:#fff}
#ccka-proposal :is(.lp-summary-section,.lp-work-section,.lp-detail-section) th{background:#262626;color:#fff}
#ccka-proposal .lp-contact-form{--muted:#646464;--line:#bdbdbd;background:#fff;color:#111}
#ccka-proposal .lp-contact-links a{color:inherit}
#ccka-proposal .lp-detail-section .lp-accordion summary:after{color:#ccc}
/* Existing native service templates already use inverse text. */
body.single-service main :is(section.bg-grey-800,section.bg-grey-900){background-color:#0a0a0a}
body.single-service main .bg-grey-800{background-color:#0a0a0a}
/* Existing audit landings: preserve light scope/FAQ sections and form panels. */
main.awm :is(.awm-section:not(.awm-section--white),.awm-proof){background:#0a0a0a;color:#f4f4f4;--line:#4a4a4a}
main.awm .awm-section:not(.awm-section--white) :is(.awm-copy,.awm-step p,.awm-step h3,.awm-step span){color:#c9c9c9}
main.awm .awm-inline-cta{background:#191919;color:#f4f4f4;border-color:#555}
main.awm .awm-inline-cta .awm-btn{border-color:#fff}
main.b2b-landing :is(#ryzyka,#diagnoza,#proces,#formularz){background:#0a0a0a;color:#f4f4f4;--b2b-200:#484848}
main.b2b-landing :is(#ryzyka,#diagnoza,#proces,#formularz) :is(p,li,.b2b-note,.b2b-copy-lg):not(:where(form *, .b2b-contact__form *, .b2b-form-panel *)){color:#c9c9c9}
main.b2b-landing :is(#ryzyka,#diagnoza,#proces,#formularz) :is(h2,h3,strong){color:#f4f4f4}
main.b2b-landing #formularz .b2b-form{color:#111}
main.b2b-landing #formularz .b2b-form :is(h2,h3,strong){color:#111}
