/* Editorial surfaces: keep text and background paired, including form controls. */
html[data-pil-app-appearance=light]{--pil-editorial-paper:#fff;--pil-editorial-ink:#182342;--pil-editorial-muted:#46566d;--pil-editorial-line:#a7b5ca;--pil-editorial-link:#182764;color-scheme:light}
html[data-pil-app-appearance=dark]{--pil-editorial-paper:#19243b;--pil-editorial-ink:#f1f5ff;--pil-editorial-muted:#c2cde0;--pil-editorial-line:#71829f;--pil-editorial-link:#c3d8ff;color-scheme:dark}
html[data-pil-app-appearance] body :is(.entry-content,.cs-entry__content) :is(table,.wp-block-table table){background:var(--pil-editorial-paper)!important;color:var(--pil-editorial-ink)!important;border-color:var(--pil-editorial-line)!important}
html[data-pil-app-appearance] body :is(.entry-content,.cs-entry__content) :is(table,.wp-block-table table) :is(th,td,tr,thead,tbody,tfoot){background:var(--pil-editorial-paper)!important;color:var(--pil-editorial-ink)!important;border-color:var(--pil-editorial-line)!important}
html[data-pil-app-appearance] body :is(.entry-content,.cs-entry__content) :is(th,td) :is(p,span,strong,em,li){color:var(--pil-editorial-ink)!important}
html[data-pil-app-appearance] body :is(.entry-content,.cs-entry__content) :is(th,td) a{color:var(--pil-editorial-link)!important;text-decoration:underline}
html[data-pil-app-appearance] body :is(.entry-content,.cs-entry__content) :is(input:not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]),textarea,select){background:var(--pil-editorial-paper);color:var(--pil-editorial-ink);border-color:var(--pil-editorial-line)}
html[data-pil-app-appearance] body :is(.entry-content,.cs-entry__content) :is(input,textarea)::placeholder{color:var(--pil-editorial-muted);opacity:1}
