/* Keep control foreground/background paired in every portal module. */
.app,body[data-dashboard-style]{--theme-input:var(--theme-surface);}
html body :is(.app,dialog,[role="dialog"],.wwfm-overlay,.ww-modal,.adm-modal) :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]),textarea,select){
  background-color:var(--theme-input,var(--theme-surface))!important;
  color:var(--theme-text)!important;
  border-color:var(--theme-border)!important;
  caret-color:currentColor;
  -webkit-text-fill-color:currentColor!important;
}
html body [data-dbn-readable]{color:var(--dbn-readable-ink)!important;}
html body :is(input,textarea)[data-dbn-readable]{-webkit-text-fill-color:var(--dbn-readable-ink)!important;}
html body :is(input,textarea)::placeholder{color:currentColor;opacity:.7;-webkit-text-fill-color:currentColor;}
html body select option{background:var(--theme-input,var(--theme-surface));color:var(--theme-text);}
html body :is(input,textarea):autofill{box-shadow:inset 0 0 0 1000px var(--theme-input,var(--theme-surface));-webkit-text-fill-color:var(--dbn-readable-ink,var(--theme-text));}
