/* ==========================================================================
   Portal Editorial Finance — ajustes específicos do modo noturno
   As cores principais vêm das variáveis do Personalizar (html[data-theme="dark"]).
   Aqui ficam apenas os detalhes que não são cor de componente.
   ========================================================================== */
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] ::selection{background:var(--btn-bg);color:#fff}
html[data-theme="dark"] .pef-media__img,html[data-theme="dark"] .pef-ad__img{filter:brightness(.92) contrast(1.02)}
html[data-theme="dark"] .pef-media--empty{background:var(--surface-secondary)}
html[data-theme="dark"] .pef-media__ph{color:var(--muted);opacity:.7}
html[data-theme="dark"] .pef-menu .sub-menu{box-shadow:none;border-color:var(--border-strong)}
html[data-theme="dark"] .pef-drawer-overlay{background:rgba(0,0,0,.72)}
html[data-theme="dark"] .pef-nl__msg--ok,html[data-theme="dark"] .pef-nl__status.is-ok,html[data-theme="dark"] .pef-nl__msg--ok{color:#7BD99A}
html[data-theme="dark"] .pef-nl__msg--error,html[data-theme="dark"] .pef-nl__status.is-error,html[data-theme="dark"] .pef-calc__error,html[data-theme="dark"] .wpcf7 .wpcf7-not-valid-tip{color:#FFB4AB}
html[data-theme="dark"] .pef-nl [aria-invalid="true"]{outline-color:#FFB4AB}
html[data-theme="dark"] .wpcf7 form.sent .wpcf7-response-output{border-color:#7BD99A}
html[data-theme="dark"] .wpcf7 form.invalid .wpcf7-response-output,html[data-theme="dark"] .wpcf7 form.failed .wpcf7-response-output{border-color:#FFB4AB}
html[data-theme="dark"] .pef-share__btn:hover,html[data-theme="dark"] .pef-share__btn:focus-visible{background:var(--btn-bg);color:#fff}
html[data-theme="dark"] .pef-authorbox__link{background:var(--surface-secondary);color:var(--text)}
html[data-theme="dark"] .pef-authorbox__link:hover{background:var(--btn-bg);color:#fff}
html[data-theme="dark"] .entry-content pre{background:var(--surface)}
html[data-theme="dark"] .pef-tool{box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{color-scheme:dark}
